TypeSpecDeclaration.MatchesReference Method |
Namespace: PostSharp.Sdk.CodeModel
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
public bool MatchesReference( ITypeSignature reference )
Parameters
- reference
- Type: PostSharp.Sdk.CodeModel.ITypeSignature
The type reference.
Return Value
Type: Booleantrue if the current type signature matches reference, otherwise false.