1 write to SimpleName
Microsoft.Build.Tasks.Core (1)
ResolveSDKReference.cs (1)
734
SimpleName
= sdkName;
13 references to SimpleName
Microsoft.Build.Tasks.Core (11)
ResolveSDKReference.cs (11)
369
if (reference.SupportsMultipleVersions != MultipleVersionSupport.Allow && !reference.
SimpleName
.Equals("Microsoft.VCLibs", StringComparison.InvariantCultureIgnoreCase))
374
if (!sdkNameToSDK.TryGetValue(reference.
SimpleName
, out HashSet<SDKReference> sdksWithSimpleName))
376
sdkNameToSDK.Add(reference.
SimpleName
, new HashSet<SDKReference> { reference });
433
if (sdkNameToSDK.TryGetValue(notCompatibleReference.
SimpleName
, out HashSet<SDKReference> referenceWithSameName))
481
string sdkSimpleName = referenceItem.
SimpleName
;
531
var resolvedReference = sdkReferenceItems.Where(y => String.Equals(y.
SimpleName
, simpleName, StringComparison.OrdinalIgnoreCase) && String.Equals(y.Version, sdkVersion, StringComparison.OrdinalIgnoreCase)).DefaultIfEmpty(null).FirstOrDefault();
736
SDKName = String.Format(CultureInfo.InvariantCulture, "{0}, Version={1}",
SimpleName
, Version);
953
return
SimpleName
.GetHashCode() ^ Version.GetHashCode();
971
bool simpleNameMatches = String.Equals(
SimpleName
, other.
SimpleName
, StringComparison.OrdinalIgnoreCase);
1434
ResolvedItem.SetMetadata("SimpleName",
SimpleName
);
Microsoft.Build.Tasks.UnitTests (2)
ResolveSDKReference_Tests.cs (2)
340
if (reference.
SimpleName
.Equals("Microsoft.VCLibs") && reference.Version.Equals("11.0"))
554
Assert.Equal(simpleName, reference.
SimpleName
);