PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Generic­Helper Class

GenericHelper Class

Extension methods for generic types and methods.
Inheritance Hierarchy
System.Object
  PostSharp.Sdk.CodeModel.GenericHelper

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public static class GenericHelper

The GenericHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetCanonicalGenericInstance(FieldDefDeclaration)
Gets the canonical generic instance of a field.
Public methodStatic memberGetCanonicalGenericInstance(IGenericMethodDefinition)
Gets the canonical generic instance of a generic method.
Public methodStatic memberGetCanonicalGenericInstance(IGenericTypeDefinition)
Gets the canonical generic instance of a generic type.
Public methodStatic memberGetGenericInstance
See Also