PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Type­Spec­Declaration Class / Type­Spec­Declaration Methods / Type­Spec­Declaration.​Matches­Reference Method

TypeSpecDeclaration.MatchesReference Method

Determines whether the current type signature matches a given type signature.

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 bool MatchesReference(
	ITypeSignature reference
)

Parameters

reference
Type: PostSharp.Sdk.CodeModel.ITypeSignature
The type reference.

Return Value

Type: Boolean
true if the current type signature matches reference, otherwise false.

Implements

ITypeSignature.MatchesReference(ITypeSignature)
See Also