dev.xaine.AmongUsPatchAnalyzer 2026.6.5

dotnet add package dev.xaine.AmongUsPatchAnalyzer --version 2026.6.5
                    
NuGet\Install-Package dev.xaine.AmongUsPatchAnalyzer -Version 2026.6.5
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="dev.xaine.AmongUsPatchAnalyzer" Version="2026.6.5">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="dev.xaine.AmongUsPatchAnalyzer" Version="2026.6.5" />
                    
Directory.Packages.props
<PackageReference Include="dev.xaine.AmongUsPatchAnalyzer">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add dev.xaine.AmongUsPatchAnalyzer --version 2026.6.5
                    
#r "nuget: dev.xaine.AmongUsPatchAnalyzer, 2026.6.5"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package dev.xaine.AmongUsPatchAnalyzer@2026.6.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=dev.xaine.AmongUsPatchAnalyzer&version=2026.6.5
                    
Install as a Cake Addin
#tool nuget:?package=dev.xaine.AmongUsPatchAnalyzer&version=2026.6.5
                    
Install as a Cake Tool

dev.xaine.AmongUsPatchAnalyzer

A Roslyn analyzer that warns when a Harmony patch targets an Among Us method that IL2CPP stripped or inlined away — on PC, on mobile, or both. The package version is the Among Us version its data covers.

<PackageReference Include="dev.xaine.AmongUsPatchAnalyzer" Version="2026.6.5" PrivateAssets="all" />

Diagnostics

ID Severity Fires when
AU0001 Warning Stripped on both PC and mobile — the patch can never run.
AU0002 Warning Stripped on the platform you build for.
AU0003 Info Stripped on the other platform.
AU0011 Warning Potentially inlined on both PC and mobile.
AU0012 Warning Potentially inlined on the platform you build for.
AU0013 Info Potentially inlined on the other platform.
AU0004 Info Still exists, but inlined into some callers, which bypass the patch.

stripped is certain — no body, no call sites. inlined is inferred from the binary having fewer call sites than the reference assembly declares, so the AU001x rules are the ones worth confirming.

Configuration

Which platform counts as "yours" decides whether a one-platform miss is AU0002 or AU0003. Both treats any single-platform miss as AU0002.

<AmongUsPatchTargetPlatform>Steam</AmongUsPatchTargetPlatform> 
# .editorconfig
dotnet_diagnostic.AU0011.severity = suggestion

Not checked

  • Runtime-resolved targets — [HarmonyTargetMethod], [HarmonyTargetMethods], [HarmonyPatchAll].
  • [HarmonyReversePatch], which still dispatches virtually through the instance.
  • Constructors and compiler-generated state machines, which the dump does not cover.
  • Overloads an attribute's argumentTypes cannot pin down, unless every candidate agrees.

Updating for a new game version

./tools/Update-MethodData.ps1 -Version 2026.8.18

Pulls the PC and mobile method analyses from allofus.dev, rewrites the embedded table, and bumps the package version to match.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2026.6.5 115 8/27/2026