MethodAdapter.HasMatchingSignature Method

Namespace
Kampute.DocToolkit.Metadata.Adapters
Assembly
  • Kampute.DocToolkit.dll

Definition

Determines whether the given method can be considered a base declaration of this method.
protected virtual bool HasMatchingSignature(IMethod baseCandidate)

Parameters

baseCandidate IMethod
The other method to compare against.

Returns

bool
true if the given method can be considered a base declaration; otherwise, false.

Remarks

This method compares only the signature of the methods. It assumes that the caller has already verified other necessary conditions, such as matching names and accessibility.