PostSharp4.3/API Reference/Post­Sharp Namespace/Post Class
Post Class
Provides some methods that are transformed during post-compilation.
Inheritance Hierarchy
System.Object
  PostSharp.Post

Namespace: PostSharp
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
public static class Post

The Post type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberIsTransformed
Determines whether the calling program has been transformed by PostSharp.
Methods
  NameDescription
Public methodStatic memberCast<SourceType, TargetType>
At post-compile time, casts an instance of a type into another. A post-compile time error is reported if the source type cannot be assigned to the target type.
Public methodStatic memberGetValue<T>
When used to retrieve the value of a field, forces the compiler to retrieve a copy of the field value instead of an address to this field. This allows to call instance methods of value-type fields without loading the field address.
See Also