Share via


DocumentationProvider.GetHashCode Method

Definition

DocumentationProviders are compared when determining whether an AssemblySymbol can be reused. Hence, if multiple instances can represent the same documentation, it is imperative that GetHashCode (and Equals) be overridden to capture this fact. Otherwise, it is possible to end up with multiple AssemblySymbols for the same assembly, which plays havoc with the type hierarchy.

public:
 abstract int GetHashCode();
public abstract int GetHashCode ();
override this.GetHashCode : unit -> int
Public MustOverride Function GetHashCode () As Integer

Returns

Applies to