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