4 instantiations of SdkReferenceInfo
Microsoft.Build.Tasks.Core (2)
GetSDKReferenceFiles.cs (2)
1145var referenceInfo = new SdkReferenceInfo(fusionName, imageRuntimeVersion, isWinMDFile, isManagedWinMD); 1258info ??= new SdkReferenceInfo(null, null, false, false);
Microsoft.Build.Tasks.UnitTests (2)
GetSDKReference_Tests.cs (2)
268pathToReferenceMetadata.Add("first", new("dat", "dat2", true, false)); 269pathToReferenceMetadata.Add("second", new("inf", "inf2", false, false));
13 references to SdkReferenceInfo
Microsoft.Build.Tasks.Core (12)
GetSDKReferenceFiles.cs (12)
475if (sdkInfo.PathToReferenceMetadata != null && sdkInfo.PathToReferenceMetadata.TryGetValue(reference.AssemblyLocation, out SdkReferenceInfo referenceInfo)) 995var references = new ConcurrentDictionary<string, SdkReferenceInfo>(StringComparer.OrdinalIgnoreCase); 1025private void PopulateReferencesDictionaryFromManifestPaths(ConcurrentDictionary<string, List<string>> referencesByDirectory, ConcurrentDictionary<string, SdkReferenceInfo> references, string[] sdkManifestReferences) 1043private void PopulateReferencesDictionaryFromPaths(ConcurrentDictionary<string, List<string>> referencesByDirectory, ConcurrentDictionary<string, SdkReferenceInfo> references, IEnumerable<string> referenceDirectories) 1119private SdkReferenceInfo GetSDKReferenceInfo(string referencePath) 1145var referenceInfo = new SdkReferenceInfo(fusionName, imageRuntimeVersion, isWinMDFile, isManagedWinMD); 1219private IDictionary<string, SdkReferenceInfo> _pathToReferenceMetadata; 1225_pathToReferenceMetadata = new Dictionary<string, SdkReferenceInfo>(StringComparer.OrdinalIgnoreCase); 1235public SDKInfo(IDictionary<string, SdkReferenceInfo> pathToReferenceMetadata, IDictionary<string, List<string>> directoryToFileList, int cacheHash) 1245public IDictionary<string, SdkReferenceInfo> PathToReferenceMetadata { get { return _pathToReferenceMetadata; } } 1256translator.TranslateDictionary(ref _pathToReferenceMetadata, (ITranslator t, ref string s) => t.Translate(ref s), (ITranslator t, ref SdkReferenceInfo info) => 1271}, count => new Dictionary<string, SdkReferenceInfo>(count, StringComparer.OrdinalIgnoreCase));
Microsoft.Build.Tasks.UnitTests (1)
GetSDKReference_Tests.cs (1)
267Dictionary<string, GetSDKReferenceFiles.SdkReferenceInfo> pathToReferenceMetadata = new();