1 instantiation of FrameworkInfo
dotnet-svcutil-lib (1)
Shared\FrameworkInfo.cs (1)
97
var fxInfo = new
FrameworkInfo
();
38 references to FrameworkInfo
dotnet-svcutil-lib (38)
AppSettings.cs (1)
13
internal static void Initialize(
FrameworkInfo
frameworkInfo)
Bootstrapper\SvcutilBootstrapper.cs (3)
45
internal static bool RequiresBootstrapping(
FrameworkInfo
targetFramework, IEnumerable<ProjectDependency> references)
110
bool isSupportedTFM = TargetFrameworkHelper.IsSupportedFramework(this.Options.TargetFramework.FullName, out
var
frameworkInfo);
127
if (isSupportedTFM && frameworkInfo.Name !=
FrameworkInfo
.Netstandard && frameworkInfo.Version.CompareTo(new Version(6, 0)) >= 0)
CodeDomFixup\WcfCodeGenerationExtension.cs (1)
66
|| !_options.Project.TargetFrameworks.Any(t => TargetFrameworkHelper.IsSupportedFramework(t, out
FrameworkInfo
fxInfo) && fxInfo.Version.Major >= 6)))
Shared\FrameworkInfo.cs (3)
29
public static
FrameworkInfo
Parse(string fullFrameworkName)
97
var
fxInfo = new FrameworkInfo();
110
internal static bool TryParse(string fullFrameworkName, out
FrameworkInfo
frameworkInfo)
Shared\MSBuildProj.cs (9)
137
FrameworkInfo
netfxInfo = null;
138
FrameworkInfo
dnxInfo = null;
210
if (TargetFrameworkHelper.IsSupportedFramework(targetFramework, out
FrameworkInfo
fxInfo))
239
if(!string.IsNullOrEmpty(tfMoniker) &&
FrameworkInfo
.TryParse(tfMoniker, out
FrameworkInfo
fxInfo))
252
FrameworkInfo
frameworkInfo = TargetFrameworkHelper.GetValidFrameworkInfo(msbuildProj.TargetFramework);
544
FrameworkInfo
netfxInfo = null;
545
FrameworkInfo
dnxInfo = null;
780
if (_targetFrameworks.Count >= 1 && TargetFrameworkHelper.IsSupportedFramework(this.TargetFramework, out
var
frameworkInfo) && frameworkInfo.IsDnx)
Shared\Options\OptionValueParser.cs (4)
66
else if (valueType == typeof(
FrameworkInfo
))
68
value = CreateValue<
FrameworkInfo
>(() => TargetFrameworkHelper.GetValidFrameworkInfo(stringValue), option, stringValue);
124
else if (value is
FrameworkInfo
fx)
192
else if (value is
FrameworkInfo
fx)
Shared\Options\UpdateOptions.cs (3)
45
public
FrameworkInfo
TargetFramework { get { return GetValue<
FrameworkInfo
>(TargetFrameworkKey); } set { SetValue(TargetFrameworkKey, value); } }
65
new SingleValueOption<
FrameworkInfo
>(TargetFrameworkKey),
Shared\TargetFrameworkHelper.cs (12)
125
if (IsSupportedFramework(targetFramework, out
var
frameworkInfo))
153
FrameworkInfo
fxInfo = null;
181
if (TargetFrameworkHelper.IsSupportedFramework(targetFramework, out
var
frameworkInfo) && frameworkInfo.IsDnx)
187
netCoreVersion = frameworkInfo.Name ==
FrameworkInfo
.Netstandard ?
215
public static
FrameworkInfo
GetValidFrameworkInfo(string targetFramework)
217
if (!IsSupportedFramework(targetFramework, out
FrameworkInfo
frameworkInfo))
225
public static bool IsSupportedFramework(string fullFrameworkName, out
FrameworkInfo
frameworkInfo)
229
if (
FrameworkInfo
.TryParse(fullFrameworkName, out frameworkInfo))
231
isSupported = (frameworkInfo.Name ==
FrameworkInfo
.Netstandard && frameworkInfo.Version >= MinSupportedNetStandardVersion) ||
232
(frameworkInfo.Name ==
FrameworkInfo
.Netcoreapp && frameworkInfo.Version >= MinSupportedNetCoreAppVersion) ||
233
(frameworkInfo.Name ==
FrameworkInfo
.Netfx && frameworkInfo.Version >= MinSupportedNetFxVersion);
243
if (TargetFrameworkHelper.IsSupportedFramework(targetFramework, out
var
frameworkInfo) && !frameworkInfo.IsDnx)
Tool.cs (2)
289
if (project.TargetFrameworks.Count() > 1 && project.TargetFrameworks.Any(t => TargetFrameworkHelper.IsSupportedFramework(t, out
FrameworkInfo
fxInfo) && !fxInfo.IsDnx))
291
FrameworkInfo
fxInfo = null;