CanonicalMethodMapping Constructor (AspectInfrastructureTask, ITypeSignature, IMethodSignature, GenericMap, MethodDefDeclaration) |
Initializes a new CanonicalMethodMapping by specifying it completely.
Namespace: PostSharp.Sdk.AspectInfrastructure
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public CanonicalMethodMapping( AspectInfrastructureTask task, ITypeSignature declaringType, IMethodSignature methodSignature, GenericMap genericMap, MethodDefDeclaration prototypeMethodDef )
Parameters
- task
- Type: PostSharp.Sdk.AspectInfrastructure.AspectInfrastructureTask
Parent AspectInfrastructureTask. - declaringType
- Type: PostSharp.Sdk.CodeModel.ITypeSignature
Declaring type of the method. - methodSignature
- Type: PostSharp.Sdk.CodeModel.IMethodSignature
Signature of the method. - genericMap
- Type: PostSharp.Sdk.CodeModel.GenericMap
GenericMap with which the generic arguments of declaringType and methodSignature are transformed. - prototypeMethodDef
- Type: PostSharp.Sdk.CodeModel.MethodDefDeclaration
Method from which the MethodMappingInformation is constructed.