45 references to TryCreateSectionNameMatcher
Microsoft.CodeAnalysis (1)
CommandLine\AnalyzerConfigSet.cs (1)
150
SectionNameMatcher? matcher = AnalyzerConfig.
TryCreateSectionNameMatcher
(section.Name);
Microsoft.CodeAnalysis.UnitTests (44)
Analyzers\AnalyzerConfigTests.cs (44)
376
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("abc").Value;
388
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("*").Value;
399
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("*.cs").Value;
416
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("**.cs").Value;
426
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("...").Value;
439
SectionNameMatcher? matcher =
TryCreateSectionNameMatcher
("abc\\");
446
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("ab?def").Value;
459
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("ab\\\\c").Value;
470
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("\\***\\*\\**").Value;
482
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("\\??\\?*\\??").Value;
496
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("abc\\{\\}def").Value;
508
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("abc\\,def").Value;
521
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("*.{cs,vb,fs}").Value;
542
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("{*.cs,subdir/test.vb}").Value;
565
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("{}").Value;
577
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("{*.cs}").Value;
589
SectionNameMatcher? matcher =
TryCreateSectionNameMatcher
("{{{{}}");
596
SectionNameMatcher? matcher =
TryCreateSectionNameMatcher
("abc,def");
603
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("{test{.cs,.vb},other.{a{bb,cc}}}").Value;
623
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("ab{-}cd{-,}ef").Value;
637
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("ab{cs,vb,fs}cd").Value;
660
var matcher =
TryCreateSectionNameMatcher
($"{{{i1}..{i2}}}").Value;
677
var matcher =
TryCreateSectionNameMatcher
($"{{{i1}..{i2}}}").Value;
693
var matcher =
TryCreateSectionNameMatcher
($"{{{i1}..{i2}}}").Value;
711
var matcher =
TryCreateSectionNameMatcher
(matchString).Value;
731
var matcherOpt =
TryCreateSectionNameMatcher
("{0..");
735
var matcher =
TryCreateSectionNameMatcher
("{0..}").Value;
742
matcher =
TryCreateSectionNameMatcher
("{0..A}").Value;
749
matcherOpt =
TryCreateSectionNameMatcher
($"{{0..{UInt32.MaxValue}}}");
757
var matcher =
TryCreateSectionNameMatcher
("*.[cf]s").Value;
768
var matcher =
TryCreateSectionNameMatcher
("*.[!cf]s").Value;
781
var matcher =
TryCreateSectionNameMatcher
("*.[^cf]s").Value;
795
var matcher =
TryCreateSectionNameMatcher
("[0-9]x").Value;
808
var matcher =
TryCreateSectionNameMatcher
("[!0-9]x").Value;
821
var matcher =
TryCreateSectionNameMatcher
("[ab0-9]x").Value;
836
var matcher =
TryCreateSectionNameMatcher
("[");
843
var matcher =
TryCreateSectionNameMatcher
(@"[\]");
850
var matcher =
TryCreateSectionNameMatcher
(@"[\");
857
var matcher =
TryCreateSectionNameMatcher
(@"[[a]bc").Value;
873
var matcher =
TryCreateSectionNameMatcher
(@"[-ac]bd").Value;
888
var matcher =
TryCreateSectionNameMatcher
(@"[ac-]bd").Value;
903
var matcher =
TryCreateSectionNameMatcher
(@"[ab]]cd").Value;
917
var matcher =
TryCreateSectionNameMatcher
(@"[ab\\]cd").Value;
932
var matcher =
TryCreateSectionNameMatcher
(@"ab\[cd").Value;