DevCase.Runtime.Attributes Namespace

 

Classes

ModuleInitializerAttribute This attribute class is solely intended to simulate and therefore preserve the 'System.Runtime.CompilerServices.ModuleInitializerAttribute' attribute class when migrating projects to .NET Core.

This attribute indicates to the compiler that a method should be called in its containing module's initializer.

ObsoletedOSPlatformAttribute This attribute class is solely intended to simulate and therefore preserve the 'System.Runtime.Versioning.ObsoletedOSPlatformAttribute' attribute class when migrating projects to .NET Core.

This attribute class marks APIs that were obsoleted in a given operating system version.

Multiple attributes can be applied to indicate obsoleted platforms or operating systems.

SkipLocalsInitAttribute This attribute class is solely intended to simulate and therefore preserve the 'System.Runtime.CompilerServices.SkipLocalsInitAttribute' attribute class when migrating projects to .NET Core.

This attribute indicates to the compiler that the .locals init flag should not be set in nested method headers when emitting to metadata.

SupportedOSPlatformAttribute This attribute class is solely intended to simulate and therefore preserve the 'System.Runtime.Versioning.SupportedOSPlatformAttribute' attribute class when migrating projects to .NET Core.

This attribute class marks APIs that are supported for a specified platform or operating system. If a version is specified, the API cannot be called from an earlier version.

Multiple attributes can be applied to indicate support for multiple platforms or operating systems.

TargetPlatformAttribute This attribute class is solely intended to simulate and therefore preserve the 'System.Runtime.Versioning.TargetPlatformAttribute' attribute class when migrating projects to .NET Core.

This attribute class specifies the operating system that a project targets, for example, Windows or iOS.

UnsupportedOSPlatformAttribute This attribute class is solely intended to simulate and therefore preserve the 'System.Runtime.Versioning.UnsupportedOSPlatformAttribute' attribute class when migrating projects to .NET Core.

This attribute class marks APIs that were removed or are unsupported in a given operating system version.

Multiple attributes can be applied to indicate unsupported platforms or operating systems.