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