AnalyzerConfig.TryCreateSectionNameMatcher(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Takes a Name and creates a matcher that matches the the given language. Returns null if the section name is invalid.
public static Microsoft.CodeAnalysis.AnalyzerConfig.SectionNameMatcher? TryCreateSectionNameMatcher (string sectionName);
static member TryCreateSectionNameMatcher : string -> Nullable<Microsoft.CodeAnalysis.AnalyzerConfig.SectionNameMatcher>
Public Shared Function TryCreateSectionNameMatcher (sectionName As String) As Nullable(Of AnalyzerConfig.SectionNameMatcher)
Parameters
- sectionName
- String