2 types derived from DotNetFrameworkSpec
Microsoft.Build (2)
FrameworkLocationHelper.cs (2)
1607private class DotNetFrameworkSpecLegacy : DotNetFrameworkSpec 1678private class DotNetFrameworkSpecV3 : DotNetFrameworkSpec
1 instantiation of DotNetFrameworkSpec
Microsoft.Build (1)
FrameworkLocationHelper.cs (1)
1138return new DotNetFrameworkSpec(
10 references to DotNetFrameworkSpec
Microsoft.Build (10)
FrameworkLocationHelper.cs (10)
151private static DotNetFrameworkSpec[] DotNetFrameworkSpecs() => 398private static readonly Lazy<IReadOnlyDictionary<Version, DotNetFrameworkSpec>> DotNetFrameworkSpecDict = new(() => DotNetFrameworkSpecs().ToDictionary(spec => spec.Version)); 633var dotNetFrameworkSpec = GetDotNetFrameworkSpec(dotNetFrameworkVersion); 643var dotNetFrameworkSpec = GetDotNetFrameworkSpec(dotNetFrameworkVersion); 668var dotNetFrameworkSpec = GetDotNetFrameworkSpec(dotNetFrameworkVersion); 678var dotNetFrameworkSpec = GetDotNetFrameworkSpec(dotNetFrameworkVersion); 1123private static DotNetFrameworkSpec GetDotNetFrameworkSpec(Version version) 1125ErrorUtilities.VerifyThrowArgument(DotNetFrameworkSpecDict.Value.TryGetValue(version, out DotNetFrameworkSpec spec), "FrameworkLocationHelper.UnsupportedFrameworkVersion", version); 1130/// Helper method to create an instance of <see cref="DotNetFrameworkSpec"/> for .net v4.x, 1136private static DotNetFrameworkSpec CreateDotNetFrameworkSpecForV4(Version version, Version visualStudioVersion)