@@ -10334,21 +10334,11 @@ public FrameworkName(string identifier, System.Version version, string? profile)
10334
10334
public static bool operator !=(System.Runtime.Versioning.FrameworkName? left, System.Runtime.Versioning.FrameworkName? right) { throw null; }
10335
10335
public override string ToString() { throw null; }
10336
10336
}
10337
- [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Enum | System.AttributeTargets.Event | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Module | System.AttributeTargets.Property | System.AttributeTargets.Struct, AllowMultiple = true, Inherited = false)]
10338
- public sealed class SupportedOSPlatformAttribute : System.Runtime.Versioning.OSPlatformAttribute
10339
- {
10340
- public SupportedOSPlatformAttribute(string platformName) : base(platformName) { }
10341
- }
10342
10337
public abstract class OSPlatformAttribute : System.Attribute
10343
10338
{
10344
10339
private protected OSPlatformAttribute(string platformName) { }
10345
10340
public string PlatformName { get; }
10346
10341
}
10347
- [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Enum | System.AttributeTargets.Event | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Module | System.AttributeTargets.Property | System.AttributeTargets.Struct, AllowMultiple = true, Inherited = false)]
10348
- public sealed class UnsupportedOSPlatformAttribute : System.Runtime.Versioning.OSPlatformAttribute
10349
- {
10350
- public UnsupportedOSPlatformAttribute(string platformName) : base(platformName) { }
10351
- }
10352
10342
[System.AttributeUsageAttribute(System.AttributeTargets.Constructor | System.AttributeTargets.Method | System.AttributeTargets.Property, Inherited=false)]
10353
10343
[System.Diagnostics.ConditionalAttribute("RESOURCE_ANNOTATION_WORK")]
10354
10344
public sealed partial class ResourceConsumptionAttribute : System.Attribute
@@ -10376,6 +10366,16 @@ public enum ResourceScope
10376
10366
Private = 16,
10377
10367
Assembly = 32,
10378
10368
}
10369
+ [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Enum | System.AttributeTargets.Event | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Module | System.AttributeTargets.Property | System.AttributeTargets.Struct, AllowMultiple = true, Inherited = false)]
10370
+ public sealed class SupportedOSPlatformAttribute : System.Runtime.Versioning.OSPlatformAttribute
10371
+ {
10372
+ public SupportedOSPlatformAttribute(string platformName) : base(platformName) { }
10373
+ }
10374
+ [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple = true, Inherited = false)]
10375
+ public sealed class SupportedOSPlatformGuardAttribute : System.Runtime.Versioning.OSPlatformAttribute
10376
+ {
10377
+ public SupportedOSPlatformGuardAttribute(string platformName) : base(platformName) { }
10378
+ }
10379
10379
[System.AttributeUsageAttribute(System.AttributeTargets.Assembly, AllowMultiple=false, Inherited=false)]
10380
10380
public sealed partial class TargetFrameworkAttribute : System.Attribute
10381
10381
{
@@ -10388,6 +10388,16 @@ public sealed class TargetPlatformAttribute : System.Runtime.Versioning.OSPlatfo
10388
10388
{
10389
10389
public TargetPlatformAttribute(string platformName) : base(platformName) { }
10390
10390
}
10391
+ [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Enum | System.AttributeTargets.Event | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Module | System.AttributeTargets.Property | System.AttributeTargets.Struct, AllowMultiple = true, Inherited = false)]
10392
+ public sealed class UnsupportedOSPlatformAttribute : System.Runtime.Versioning.OSPlatformAttribute
10393
+ {
10394
+ public UnsupportedOSPlatformAttribute(string platformName) : base(platformName) { }
10395
+ }
10396
+ [System.AttributeUsageAttribute(System.AttributeTargets.Field |System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple = true, Inherited = false)]
10397
+ public sealed class UnsupportedOSPlatformGuardAttribute : System.Runtime.Versioning.OSPlatformAttribute
10398
+ {
10399
+ public UnsupportedOSPlatformGuardAttribute(string platformName) : base(platformName) { }
10400
+ }
10391
10401
public static partial class VersioningHelper
10392
10402
{
10393
10403
public static string MakeVersionSafeName(string? name, System.Runtime.Versioning.ResourceScope from, System.Runtime.Versioning.ResourceScope to) { throw null; }
0 commit comments