45 references to TryCreateSectionNameMatcher
Microsoft.Build (1)
BuildCheck\Infrastructure\EditorConfig\EditorConfigParser.cs (1)
86
SectionNameMatcher? sectionNameMatcher =
TryCreateSectionNameMatcher
(section.Name);
Microsoft.Build.BuildCheck.UnitTests (44)
EditorConfig_Tests.cs (44)
123
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("abc").Value;
135
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("*").Value;
146
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("*.cs").Value;
163
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("**.cs").Value;
173
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("...").Value;
186
SectionNameMatcher? matcher =
TryCreateSectionNameMatcher
("abc\\");
193
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("ab?def").Value;
206
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("ab\\\\c").Value;
217
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("\\***\\*\\**").Value;
229
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("\\??\\?*\\??").Value;
243
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("abc\\{\\}def").Value;
255
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("abc\\,def").Value;
268
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("*.{cs,vb,fs}").Value;
289
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("{*.cs,subdir/test.vb}").Value;
312
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("{}").Value;
324
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("{*.cs}").Value;
336
SectionNameMatcher? matcher =
TryCreateSectionNameMatcher
("{{{{}}");
343
SectionNameMatcher? matcher =
TryCreateSectionNameMatcher
("abc,def");
350
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("{test{.cs,.vb},other.{a{bb,cc}}}").Value;
370
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("ab{-}cd{-,}ef").Value;
384
SectionNameMatcher matcher =
TryCreateSectionNameMatcher
("ab{cs,vb,fs}cd").Value;
407
var matcher =
TryCreateSectionNameMatcher
($"{{{i1}..{i2}}}").Value;
424
var matcher =
TryCreateSectionNameMatcher
($"{{{i1}..{i2}}}").Value;
440
var matcher =
TryCreateSectionNameMatcher
($"{{{i1}..{i2}}}").Value;
458
var matcher =
TryCreateSectionNameMatcher
(matchString).Value;
478
var matcherOpt =
TryCreateSectionNameMatcher
("{0..");
482
var matcher =
TryCreateSectionNameMatcher
("{0..}").Value;
489
matcher =
TryCreateSectionNameMatcher
("{0..A}").Value;
496
matcherOpt =
TryCreateSectionNameMatcher
($"{{0..{UInt32.MaxValue}}}");
504
var matcher =
TryCreateSectionNameMatcher
("*.[cf]s").Value;
515
var matcher =
TryCreateSectionNameMatcher
("*.[!cf]s").Value;
528
var matcher =
TryCreateSectionNameMatcher
("*.[^cf]s").Value;
542
var matcher =
TryCreateSectionNameMatcher
("[0-9]x").Value;
555
var matcher =
TryCreateSectionNameMatcher
("[!0-9]x").Value;
568
var matcher =
TryCreateSectionNameMatcher
("[ab0-9]x").Value;
583
var matcher =
TryCreateSectionNameMatcher
("[");
590
var matcher =
TryCreateSectionNameMatcher
(@"[\]");
597
var matcher =
TryCreateSectionNameMatcher
(@"[\");
604
var matcher =
TryCreateSectionNameMatcher
(@"[[a]bc").Value;
620
var matcher =
TryCreateSectionNameMatcher
(@"[-ac]bd").Value;
635
var matcher =
TryCreateSectionNameMatcher
(@"[ac-]bd").Value;
650
var matcher =
TryCreateSectionNameMatcher
(@"[ab]]cd").Value;
664
var matcher =
TryCreateSectionNameMatcher
(@"[ab\\]cd").Value;
679
var matcher =
TryCreateSectionNameMatcher
(@"ab\[cd").Value;