37 references to TargetFrameworkId
mscorlib (37)
system\runtime\versioning\binarycompatibility.cs (37)
115
internal static
TargetFrameworkId
AppWasBuiltForFramework {
118
Contract.Ensures(Contract.Result<
TargetFrameworkId
>() >
TargetFrameworkId
.NotYetChecked);
120
if (s_AppWasBuiltForFramework ==
TargetFrameworkId
.NotYetChecked)
132
Contract.Ensures(Contract.Result<int>() > 0 || s_AppWasBuiltForFramework ==
TargetFrameworkId
.Unspecified);
134
if (s_AppWasBuiltForFramework ==
TargetFrameworkId
.NotYetChecked)
137
Contract.Assert(s_AppWasBuiltForFramework !=
TargetFrameworkId
.Unrecognized);
144
private static
TargetFrameworkId
s_AppWasBuiltForFramework;
186
private void AddQuirksForFramework(
TargetFrameworkId
builtAgainstFramework, int buildAgainstVersion)
188
Contract.Requires(buildAgainstVersion > 0 || builtAgainstFramework ==
TargetFrameworkId
.Unspecified);
192
case
TargetFrameworkId
.NetFramework:
193
case
TargetFrameworkId
.NetCore: // Treat Windows 8 tailored apps as normal desktop apps - same product
212
AddQuirksForFramework(
TargetFrameworkId
.Phone, 70100);
214
AddQuirksForFramework(
TargetFrameworkId
.Silverlight, 50000);
218
case
TargetFrameworkId
.Phone:
236
case
TargetFrameworkId
.Silverlight:
251
case
TargetFrameworkId
.Unspecified:
254
case
TargetFrameworkId
.NotYetChecked:
255
case
TargetFrameworkId
.Unrecognized:
268
private static bool ParseTargetFrameworkMonikerIntoEnum(String targetFrameworkMoniker, out
TargetFrameworkId
targetFramework, out int targetFrameworkVersion)
272
targetFramework =
TargetFrameworkId
.NotYetChecked;
282
targetFramework =
TargetFrameworkId
.NetFramework;
286
targetFramework =
TargetFrameworkId
.Portable;
290
targetFramework =
TargetFrameworkId
.NetCore;
298
targetFramework =
TargetFrameworkId
.Phone;
303
targetFramework =
TargetFrameworkId
.Unspecified;
308
targetFramework =
TargetFrameworkId
.Phone;
312
targetFramework =
TargetFrameworkId
.Silverlight;
319
targetFramework =
TargetFrameworkId
.Phone;
324
targetFramework =
TargetFrameworkId
.Phone;
329
targetFramework =
TargetFrameworkId
.Phone;
335
targetFramework =
TargetFrameworkId
.Unrecognized;
341
targetFramework =
TargetFrameworkId
.Unrecognized;
348
targetFramework =
TargetFrameworkId
.Unrecognized;
501
TargetFrameworkId
fxId;
514
fxId =
TargetFrameworkId
.Unspecified;
517
fxId =
TargetFrameworkId
.Unrecognized;