-
Notifications
You must be signed in to change notification settings - Fork 152
Closed
Labels
Milestone
Description
Bug description
The Analyzer Configuration documentation contains mismatches between the line format provided and the sample. For example, in the "Methods that assert the main thread" section, it defines the line format as [Namespace.TypeName]::MethodName but the sample is Microsoft.VisualStudio.Shell.ThreadHelper.ThrowIfNotOnUIThread (i.e. no square brackets or double colons).
From my testing, I've found that things only work if you use the format given by the sample; adding the square brackets and double colons makes the setting unrecognized.
Interestingly, in the last section, "Legacy thread switching members", the line format does match the sample.