Base:
property
PropertiesToAdd
Microsoft.Build.Framework.SdkResult.PropertiesToAdd
2 writes to PropertiesToAdd
Microsoft.DotNet.MSBuildSdkResolver.Tests (2)
GivenAnMSBuildSdkResolver.cs (2)
942
PropertiesToAdd
= propertiesToAdd;
964
PropertiesToAdd
= propertiesToAdd;
17 references to PropertiesToAdd
Microsoft.DotNet.MSBuildSdkResolver.Tests (17)
GivenAnMSBuildSdkResolver.cs (17)
208
result.
PropertiesToAdd
.Should().NotBeNull().And.HaveCount(2);
209
result.
PropertiesToAdd
.Should().ContainKey(DotnetHostExperimentalKey);
213
result.
PropertiesToAdd
.Should().NotBeNull().And.HaveCount(1);
215
result.
PropertiesToAdd
.Should().ContainKey(MSBuildTaskHostRuntimeVersion);
216
result.
PropertiesToAdd
[MSBuildTaskHostRuntimeVersion].Should().Be("mockRuntimeVersion");
252
result.
PropertiesToAdd
.Should().NotBeNull().And.HaveCount(2);
253
result.
PropertiesToAdd
.Should().ContainKey(DotnetHostExperimentalKey);
254
result.
PropertiesToAdd
[DotnetHostExperimentalKey].Should().Be(localDotnetBinary);
288
result.
PropertiesToAdd
.Should().BeNull();
328
result.
PropertiesToAdd
.Should().NotBeNull().And.HaveCount(4);
329
result.
PropertiesToAdd
.Should().ContainKey(DotnetHostExperimentalKey);
333
result.
PropertiesToAdd
.Should().NotBeNull().And.HaveCount(3);
335
result.
PropertiesToAdd
.Should().ContainKey(MSBuildTaskHostRuntimeVersion);
336
result.
PropertiesToAdd
[MSBuildTaskHostRuntimeVersion].Should().Be("mockRuntimeVersion");
337
result.
PropertiesToAdd
.Should().ContainKey("SdkResolverHonoredGlobalJson");
338
result.
PropertiesToAdd
.Should().ContainKey("SdkResolverGlobalJsonPath");
339
result.
PropertiesToAdd
["SdkResolverHonoredGlobalJson"].Should().Be("false");