3 instantiations of ObsoletedOSPlatformAttribute
Microsoft.Private.Windows.Polyfills.Tests (3)
System\Runtime\Versioning\PlatformAttributeTests.cs (3)
47ObsoletedOSPlatformAttribute attr = new("windows6.0"); 54ObsoletedOSPlatformAttribute attr = new("windows6.0", "Use newer version"); 62ObsoletedOSPlatformAttribute attr = new("windows6.0") { Url = "https://example.com" };
7 references to ObsoletedOSPlatformAttribute
Microsoft.Private.Windows.Polyfills.Tests (4)
System\Runtime\Versioning\PlatformAttributeTests.cs (4)
47ObsoletedOSPlatformAttribute attr = new("windows6.0"); 54ObsoletedOSPlatformAttribute attr = new("windows6.0", "Use newer version"); 62ObsoletedOSPlatformAttribute attr = new("windows6.0") { Url = "https://example.com" }; 86typeof(ObsoletedOSPlatformAttribute).IsSubclassOf(typeof(OSPlatformAttribute)).Should().BeTrue();
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\PlatformAttributes.cs (2)
138/// Initializes a new instance of the <see cref="ObsoletedOSPlatformAttribute"/> class with the specified platform name. 146/// Initializes a new instance of the <see cref="ObsoletedOSPlatformAttribute"/> class with the specified platform name and message.
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net11.0\System.Runtime.Forwards.cs (1)
728[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.Versioning.ObsoletedOSPlatformAttribute))]