2 types derived from DotNetFrameworkSpec
Microsoft.Build.Utilities.Core (2)
FrameworkLocationHelper.cs (2)
1607
private class DotNetFrameworkSpecLegacy :
DotNetFrameworkSpec
1678
private class DotNetFrameworkSpecV3 :
DotNetFrameworkSpec
1 instantiation of DotNetFrameworkSpec
Microsoft.Build.Utilities.Core (1)
FrameworkLocationHelper.cs (1)
1138
return new
DotNetFrameworkSpec
(
10 references to DotNetFrameworkSpec
Microsoft.Build.Utilities.Core (10)
FrameworkLocationHelper.cs (10)
151
private static
DotNetFrameworkSpec
[] DotNetFrameworkSpecs() =>
398
private static readonly Lazy<IReadOnlyDictionary<Version,
DotNetFrameworkSpec
>> DotNetFrameworkSpecDict = new(() => DotNetFrameworkSpecs().ToDictionary(spec => spec.Version));
633
var
dotNetFrameworkSpec = GetDotNetFrameworkSpec(dotNetFrameworkVersion);
643
var
dotNetFrameworkSpec = GetDotNetFrameworkSpec(dotNetFrameworkVersion);
668
var
dotNetFrameworkSpec = GetDotNetFrameworkSpec(dotNetFrameworkVersion);
678
var
dotNetFrameworkSpec = GetDotNetFrameworkSpec(dotNetFrameworkVersion);
1123
private static
DotNetFrameworkSpec
GetDotNetFrameworkSpec(Version version)
1125
ErrorUtilities.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,
1136
private static
DotNetFrameworkSpec
CreateDotNetFrameworkSpecForV4(Version version, Version visualStudioVersion)