1 instantiation of FrameworkInfo
dotnet-svcutil-lib (1)
Shared\FrameworkInfo.cs (1)
106var fxInfo = new FrameworkInfo();
34 references to FrameworkInfo
dotnet-svcutil-lib (34)
AppSettings.cs (1)
13internal static void Initialize(FrameworkInfo frameworkInfo)
Bootstrapper\SvcutilBootstrapper.cs (3)
45internal static bool RequiresBootstrapping(FrameworkInfo targetFramework, IEnumerable<ProjectDependency> references) 110bool isSupportedTFM = TargetFrameworkHelper.IsSupportedFramework(this.Options.TargetFramework.FullName, out var frameworkInfo); 127if (isSupportedTFM && frameworkInfo.Name != FrameworkInfo.Netstandard && frameworkInfo.Version.CompareTo(new Version(6, 0)) >= 0)
Shared\FrameworkInfo.cs (3)
29public static FrameworkInfo Parse(string fullFrameworkName) 106var fxInfo = new FrameworkInfo(); 116internal static bool TryParse(string fullFrameworkName, out FrameworkInfo frameworkInfo)
Shared\MSBuildProj.cs (5)
201if (TargetFrameworkHelper.IsSupportedFramework(targetFramework, out FrameworkInfo fxInfo)) 230if(!string.IsNullOrEmpty(tfMoniker) && FrameworkInfo.TryParse(tfMoniker, out FrameworkInfo fxInfo)) 243FrameworkInfo frameworkInfo = TargetFrameworkHelper.GetValidFrameworkInfo(msbuildProj.TargetFramework); 763if (_targetFrameworks.Count >= 1 && TargetFrameworkHelper.IsSupportedFramework(this.TargetFramework, out var frameworkInfo) && frameworkInfo.IsDnx)
Shared\Options\OptionValueParser.cs (4)
66else if (valueType == typeof(FrameworkInfo)) 68value = CreateValue<FrameworkInfo>(() => TargetFrameworkHelper.GetValidFrameworkInfo(stringValue), option, stringValue); 124else if (value is FrameworkInfo fx) 192else if (value is FrameworkInfo fx)
Shared\Options\UpdateOptions.cs (3)
45public FrameworkInfo TargetFramework { get { return GetValue<FrameworkInfo>(TargetFrameworkKey); } set { SetValue(TargetFrameworkKey, value); } } 65new SingleValueOption<FrameworkInfo>(TargetFrameworkKey),
Shared\TargetFrameworkHelper.cs (15)
60if (!targetFrameworks.Any(targetFramework => IsSupportedFramework(targetFramework, out var frameworkInfo) && frameworkInfo.IsDnx)) 88FrameworkInfo fxInfo = null; 112if (TargetFrameworkHelper.IsSupportedFramework(targetFramework, out var frameworkInfo) && frameworkInfo.IsDnx && frameworkInfo.Name != FrameworkInfo.Netstandard) 124public static FrameworkInfo GetValidFrameworkInfo(string targetFramework) 126if (!IsSupportedFramework(targetFramework, out FrameworkInfo frameworkInfo)) 134public static bool IsSupportedFramework(string fullFrameworkName, out FrameworkInfo frameworkInfo) 138if (FrameworkInfo.TryParse(fullFrameworkName, out frameworkInfo)) 140isSupported = (frameworkInfo.Name == FrameworkInfo.Netstandard && frameworkInfo.Version >= MinSupportedNetStandardVersion) || 141(frameworkInfo.Name == FrameworkInfo.Netcoreapp && frameworkInfo.Version >= MinSupportedNetCoreAppVersion) || 142(frameworkInfo.Name == FrameworkInfo.Netfx && frameworkInfo.Version >= MinSupportedNetFxVersionForDotNet); 150if (FrameworkInfo.TryParse(fullFrameworkName, out FrameworkInfo frameworkInfo)) 154&& !frameworkInfo.Name.Equals(FrameworkInfo.Netstandard, StringComparison.OrdinalIgnoreCase) 166if (TargetFrameworkHelper.IsSupportedFramework(targetFramework, out var frameworkInfo) && !frameworkInfo.IsDnx)