7 references to WithInvariant
Microsoft.Build.Engine.UnitTests (1)
ProjectCache\ProjectCacheTests.cs (1)
37
_env.
WithInvariant
(new CustomConditionInvariant(() => BuildManager.ProjectCacheDescriptors.IsEmpty));
Microsoft.Build.UnitTests.Shared (6)
TestEnvironment.cs (6)
53
env.
WithInvariant
(new BuildFailureLogInvariant());
142
WithInvariant
(new StringInvariant("Path.GetTempPath()", Path.GetTempPath));
145
WithInvariant
(new StringInvariant("Directory.GetCurrentDirectory", Directory.GetCurrentDirectory));
156
return
WithInvariant
(new StringInvariant(environmentVariableName,
164
return
WithInvariant
(new EnvironmentInvariant());
174
return
WithInvariant
(new StringInvariant(name, value));