PostSharp SDK 6.9 / / Class Reference / Post­Sharp.​Sdk.​Extensibility.​Platforms Namespace / Platform­Info Class

PlatformInfo Class

Encapsulates information about the target platform (not the hosting platform). For instance, tail calls are not implemented on Windows Phone. The target platform name must be passed to the project property TargetPlatform. The only supported platform currently is the default one (property not defined) or WindowsPhone7.
Inheritance Hierarchy
System.Object
  PostSharp.Sdk.Extensibility.Platforms.PlatformInfo
    PostSharp.Sdk.Extensibility.Platforms.UwpPlatformInfo

Namespace:  PostSharp.Sdk.Extensibility.Platforms
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.9.7.0 (6.9.7.0)
Syntax
C#
public abstract class PlatformInfo

The PlatformInfo type exposes the following members.

Constructors
  NameDescription
Protected methodPlatformInfo(PlatformInfoFactory, FrameworkName, AssemblyProcessorArchitecture)
Initializes a new instance of the PlatformInfo class
Protected methodPlatformInfo(PlatformInfoFactory, FrameworkName, FrameworkName, AssemblyProcessorArchitecture)
Initializes a new instance of the PlatformInfo class
Properties
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasReferenceAssemblies
Public methodInitialize
Public methodIsAssemblyCompatible
Protected methodIsAssemblyCompatibleCore
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString (Overrides Object.ToString().)
Protected methodToStringCore
Fields
  NameDescription
Public fieldStatic memberUnknown
See Also