17 references to StartsWithUncPatternMatchLength
Microsoft.Build (4)
FileUtilitiesRegex.cs (2)
86
return
StartsWithUncPatternMatchLength
(pattern) == pattern.Length;
97
return
StartsWithUncPatternMatchLength
(pattern) != -1;
Modifiers.cs (2)
473
length = FileUtilitiesRegex.
StartsWithUncPatternMatchLength
(modifiedItemSpec);
622
int uncMatchLength = FileUtilitiesRegex.
StartsWithUncPatternMatchLength
(path);
Microsoft.Build.Engine.UnitTests (13)
FileUtilitiesRegex_Tests.cs (13)
189
FileUtilitiesRegex.
StartsWithUncPatternMatchLength
(winDirectory).ShouldBe(13);
190
FileUtilitiesRegex.
StartsWithUncPatternMatchLength
(unixDirectory).ShouldBe(13);
255
FileUtilitiesRegex.
StartsWithUncPatternMatchLength
(winDirectory).ShouldBe(13);
256
FileUtilitiesRegex.
StartsWithUncPatternMatchLength
(unixDirectory).ShouldBe(13);
335
FileUtilitiesRegex.
StartsWithUncPatternMatchLength
(winDirectory).ShouldBe(9);
336
FileUtilitiesRegex.
StartsWithUncPatternMatchLength
(unixDirectory).ShouldBe(9);
400
FileUtilitiesRegex.
StartsWithUncPatternMatchLength
(winDirectory).ShouldBe(9);
401
FileUtilitiesRegex.
StartsWithUncPatternMatchLength
(unixDirectory).ShouldBe(9);
463
FileUtilitiesRegex.
StartsWithUncPatternMatchLength
(winDirectory).ShouldBe(-1);
464
FileUtilitiesRegex.
StartsWithUncPatternMatchLength
(unixDirectory).ShouldBe(-1);
526
FileUtilitiesRegex.
StartsWithUncPatternMatchLength
(winDirectory).ShouldBe(-1);
527
FileUtilitiesRegex.
StartsWithUncPatternMatchLength
(unixDirectory).ShouldBe(-1);
543
FileUtilitiesRegex.
StartsWithUncPatternMatchLength
(string.Empty).ShouldBe(-1);