21 references to Parse
Microsoft.Build (4)
BackEnd\Shared\BuildRequestConfiguration.cs (1)
841
.Select(s => MSBuildGlob.
Parse
(Project.Directory, s)));
Evaluation\ItemSpec.cs (1)
497
return MSBuildGlob.
Parse
(ProjectDirectory, EscapingUtilities.UnescapeAll(TextFragment));
Globbing\MSBuildGlob.cs (2)
245
/// See <see cref="
Parse
(string,string)" />.
252
return
Parse
(string.Empty, fileSpec);
Microsoft.Build.Engine.UnitTests (17)
Globbing\MSBuildGlob_Tests.cs (17)
31
var glob = MSBuildGlob.
Parse
(globRoot, "*");
40
var glob = MSBuildGlob.
Parse
(globRoot, "*");
49
var glob = MSBuildGlob.
Parse
(string.Empty, "*");
57
Assert.Throws<ArgumentNullException>(() => MSBuildGlob.
Parse
(null, "*"));
64
var glob = MSBuildGlob.
Parse
(globRoot, "*");
75
Assert.Throws<ArgumentException>(() => MSBuildGlob.
Parse
(invalidPathChar.ToString(), "*"));
94
var glob = MSBuildGlob.
Parse
(globRoot, filespec);
114
var glob = MSBuildGlob.
Parse
(globRoot, fileSpec);
135
var glob = MSBuildGlob.
Parse
(globRoot, illegalFileSpec);
155
var glob1 = MSBuildGlob.
Parse
(globRoot, fileSpec);
156
var glob2 = MSBuildGlob.
Parse
(globRoot, fileSpec);
255
var glob = MSBuildGlob.
Parse
(globRoot, string.Empty);
265
var glob = MSBuildGlob.
Parse
(globRoot, "*");
275
var glob = MSBuildGlob.
Parse
(globRoot, "*a*");
298
var glob = MSBuildGlob.
Parse
(globRoot, fileSpec);
318
var glob = MSBuildGlob.
Parse
("u/x", "../../u/x/d11/d21/../d22/../../d12/a.cs");
343
var glob = MSBuildGlob.
Parse
(globRoot, fileSpec);