PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Compare­Extensions Class / Compare­Extensions Methods / Compare­Extensions.​Definition­Matches­Reference­Resolved Method

CompareExtensions.DefinitionMatchesReferenceResolved Method

[Missing <summary> documentation for "M:PostSharp.Sdk.CodeModel.CompareExtensions.DefinitionMatchesReferenceResolved(PostSharp.Reflection.IAssemblyName,PostSharp.Reflection.IAssemblyName,PostSharp.Sdk.CodeModel.BindingOptions)"]

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public static bool DefinitionMatchesReferenceResolved(
	this IAssemblyName canonicalDefinition,
	IAssemblyName canonicalReference,
	BindingOptions options = BindingOptions.Default
)

Parameters

canonicalDefinition
Type: IAssemblyName

[Missing <param name="canonicalDefinition"/> documentation for "M:PostSharp.Sdk.CodeModel.CompareExtensions.DefinitionMatchesReferenceResolved(PostSharp.Reflection.IAssemblyName,PostSharp.Reflection.IAssemblyName,PostSharp.Sdk.CodeModel.BindingOptions)"]

canonicalReference
Type: IAssemblyName

[Missing <param name="canonicalReference"/> documentation for "M:PostSharp.Sdk.CodeModel.CompareExtensions.DefinitionMatchesReferenceResolved(PostSharp.Reflection.IAssemblyName,PostSharp.Reflection.IAssemblyName,PostSharp.Sdk.CodeModel.BindingOptions)"]

options (Optional)
Type: PostSharp.Sdk.CodeModel.BindingOptions

[Missing <param name="options"/> documentation for "M:PostSharp.Sdk.CodeModel.CompareExtensions.DefinitionMatchesReferenceResolved(PostSharp.Reflection.IAssemblyName,PostSharp.Reflection.IAssemblyName,PostSharp.Sdk.CodeModel.BindingOptions)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:PostSharp.Sdk.CodeModel.CompareExtensions.DefinitionMatchesReferenceResolved(PostSharp.Reflection.IAssemblyName,PostSharp.Reflection.IAssemblyName,PostSharp.Sdk.CodeModel.BindingOptions)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IAssemblyName. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also