1 override of PropertiesToAdd
Microsoft.DotNet.MSBuildSdkResolver.Tests (1)
GivenAnMSBuildSdkResolver.cs (1)
972
public override IDictionary<string, string>?
PropertiesToAdd
{ get; protected set; }
2 writes to PropertiesToAdd
Microsoft.Build (2)
BackEnd\Components\SdkResolution\SdkResult.cs (2)
41
PropertiesToAdd
= propertiesToAdd;
71
PropertiesToAdd
= propertiesToAdd;
11 references to PropertiesToAdd
Microsoft.Build (6)
Evaluation\Evaluator.cs (6)
1879
if ((sdkResult.
PropertiesToAdd
?.Any() == true) ||
1900
if (sdkResult.
PropertiesToAdd
?.ContainsKey("DOTNET_EXPERIMENTAL_HOST_PATH") == true)
1929
if (sdkResult.
PropertiesToAdd
!= null)
1931
foreach (var property in sdkResult.
PropertiesToAdd
)
1974
if (sdkResult.
PropertiesToAdd
?.Any() == true)
1977
foreach (var propertyNameAndValue in sdkResult.
PropertiesToAdd
)
Microsoft.Build.Engine.UnitTests (5)
BackEnd\SdkResolverService_Tests.cs (3)
431
result.
PropertiesToAdd
.Count.ShouldBe(1);
432
result.
PropertiesToAdd
["PropertyFromSdkResolver"].ShouldBe("ValueFromSdkResolver");
442
result.
PropertiesToAdd
.ShouldBeNull();
InternalEngineHelpers.cs (2)
125
sdkResult.
PropertiesToAdd
== null ? null : new Dictionary<string, string>(sdkResult.
PropertiesToAdd
, StringComparer.OrdinalIgnoreCase),