45 references to TryCreateSectionNameMatcher
Microsoft.CodeAnalysis (1)
CommandLine\AnalyzerConfigSet.cs (1)
149SectionNameMatcher? matcher = AnalyzerConfig.TryCreateSectionNameMatcher(section.Name);
Microsoft.CodeAnalysis.UnitTests (44)
Analyzers\AnalyzerConfigTests.cs (44)
342SectionNameMatcher matcher = TryCreateSectionNameMatcher("abc").Value; 354SectionNameMatcher matcher = TryCreateSectionNameMatcher("*").Value; 365SectionNameMatcher matcher = TryCreateSectionNameMatcher("*.cs").Value; 382SectionNameMatcher matcher = TryCreateSectionNameMatcher("**.cs").Value; 392SectionNameMatcher matcher = TryCreateSectionNameMatcher("...").Value; 405SectionNameMatcher? matcher = TryCreateSectionNameMatcher("abc\\"); 412SectionNameMatcher matcher = TryCreateSectionNameMatcher("ab?def").Value; 425SectionNameMatcher matcher = TryCreateSectionNameMatcher("ab\\\\c").Value; 436SectionNameMatcher matcher = TryCreateSectionNameMatcher("\\***\\*\\**").Value; 448SectionNameMatcher matcher = TryCreateSectionNameMatcher("\\??\\?*\\??").Value; 462SectionNameMatcher matcher = TryCreateSectionNameMatcher("abc\\{\\}def").Value; 474SectionNameMatcher matcher = TryCreateSectionNameMatcher("abc\\,def").Value; 487SectionNameMatcher matcher = TryCreateSectionNameMatcher("*.{cs,vb,fs}").Value; 508SectionNameMatcher matcher = TryCreateSectionNameMatcher("{*.cs,subdir/test.vb}").Value; 531SectionNameMatcher matcher = TryCreateSectionNameMatcher("{}").Value; 543SectionNameMatcher matcher = TryCreateSectionNameMatcher("{*.cs}").Value; 555SectionNameMatcher? matcher = TryCreateSectionNameMatcher("{{{{}}"); 562SectionNameMatcher? matcher = TryCreateSectionNameMatcher("abc,def"); 569SectionNameMatcher matcher = TryCreateSectionNameMatcher("{test{.cs,.vb},other.{a{bb,cc}}}").Value; 589SectionNameMatcher matcher = TryCreateSectionNameMatcher("ab{-}cd{-,}ef").Value; 603SectionNameMatcher matcher = TryCreateSectionNameMatcher("ab{cs,vb,fs}cd").Value; 626var matcher = TryCreateSectionNameMatcher($"{{{i1}..{i2}}}").Value; 643var matcher = TryCreateSectionNameMatcher($"{{{i1}..{i2}}}").Value; 659var matcher = TryCreateSectionNameMatcher($"{{{i1}..{i2}}}").Value; 677var matcher = TryCreateSectionNameMatcher(matchString).Value; 697var matcherOpt = TryCreateSectionNameMatcher("{0.."); 701var matcher = TryCreateSectionNameMatcher("{0..}").Value; 708matcher = TryCreateSectionNameMatcher("{0..A}").Value; 715matcherOpt = TryCreateSectionNameMatcher($"{{0..{UInt32.MaxValue}}}"); 723var matcher = TryCreateSectionNameMatcher("*.[cf]s").Value; 734var matcher = TryCreateSectionNameMatcher("*.[!cf]s").Value; 747var matcher = TryCreateSectionNameMatcher("*.[^cf]s").Value; 761var matcher = TryCreateSectionNameMatcher("[0-9]x").Value; 774var matcher = TryCreateSectionNameMatcher("[!0-9]x").Value; 787var matcher = TryCreateSectionNameMatcher("[ab0-9]x").Value; 802var matcher = TryCreateSectionNameMatcher("["); 809var matcher = TryCreateSectionNameMatcher(@"[\]"); 816var matcher = TryCreateSectionNameMatcher(@"[\"); 823var matcher = TryCreateSectionNameMatcher(@"[[a]bc").Value; 839var matcher = TryCreateSectionNameMatcher(@"[-ac]bd").Value; 854var matcher = TryCreateSectionNameMatcher(@"[ac-]bd").Value; 869var matcher = TryCreateSectionNameMatcher(@"[ab]]cd").Value; 883var matcher = TryCreateSectionNameMatcher(@"[ab\\]cd").Value; 898var matcher = TryCreateSectionNameMatcher(@"ab\[cd").Value;