Skip to content

Commit cca26de

Browse files
committed
Improve comments
1 parent c6d1d4e commit cca26de

File tree

1 file changed

+4
-1
lines changed
  • test/TestAssets/dotnet-format/for_code_formatter/suppressor_project

1 file changed

+4
-1
lines changed

test/TestAssets/dotnet-format/for_code_formatter/suppressor_project/Program.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ namespace for_code_formatter
55
{
66
class Program : MonoBehaviour
77
{
8-
// Update is called once per frame
8+
// 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
912
void Update()
1013
{
1114

0 commit comments

Comments
 (0)