Skip to content

Mismatch in line format documentation #353

@mthalman

Description

@mthalman

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions