We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6d1d4e commit cca26deCopy full SHA for cca26de
test/TestAssets/dotnet-format/for_code_formatter/suppressor_project/Program.cs
@@ -5,7 +5,10 @@ namespace for_code_formatter
5
{
6
class Program : MonoBehaviour
7
8
- // Update is called once per frame
+ // This method should trigger IDE0051 (remove unused private member) in a regular project.
9
+ // But given we simulate a Unity MonoBehavior and we include Microsoft.Unity.Analyzers nuget,
10
+ // given Update is a well-known Unity message, this IDE0051 should be suppressed by USP0003.
11
+ // see https://github.com/microsoft/Microsoft.Unity.Analyzers/blob/main/doc/USP0003.md
12
void Update()
13
14
0 commit comments