GenericMethodReference Class |
Reference to a MethodDefDeclaration combined with a GenericMap specifying
the generic arguments of this method with respect to the context that returned
the GenericMethodReference.
System.Object
PostSharp.Sdk.CodeModel.GenericMemberReference
PostSharp.Sdk.CodeModel.GenericMethodReference
PostSharp.Sdk.CodeModel.GenericMemberReference
PostSharp.Sdk.CodeModel.GenericMethodReference
Namespace: PostSharp.Sdk.CodeModel
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public sealed class GenericMethodReference : GenericMemberReference
The GenericMethodReference type exposes the following members.
Name | Description | |
---|---|---|
GenericMethodReference |
Initializes a new GenericMethodReference.
|
Name | Description | |
---|---|---|
DeclaringType | (Overrides GenericMemberReference.DeclaringType.) | |
GenericMap |
Gets the generic arguments of Method.
| |
Member | (Overrides GenericMemberReference.Member.) | |
MemberType | (Overrides GenericMemberReference.MemberType.) | |
Method |
Gets the MethodDefDeclaration.
|
Name | Description | |
---|---|---|
Apply | ||
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetInstance(ITypeSignature) |
Gets a generic instance of the Method by mapping the generic arguments in GenericMap
with the generic arguments of a given type.
| |
GetInstance(ModuleDeclaration, GenericMap) |
Gets a generic instance of the Method by mapping the generic arguments in GenericMap
with a given GenericMap.
| |
GetMemberType(ITypeSignature) |
Gets the type of [!:Event] after generic arguments in GenericMap
have been mapped with the generic arguments of a given type.
(Inherited from GenericMemberReference.) | |
GetMemberType(ModuleDeclaration, GenericMap) |
Gets the type of Member after generic arguments in GenericMap
have been mapped with a given GenericMap.
(Inherited from GenericMemberReference.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |