MetalamaAPI documentationAspect APIMetalama.​Framework.​Code.​ComparersICompilation­Comparers
Open sandboxFocus

ICompilationComparers Interface

Exposes comparers of different characteristics.

Namespace: Metalama.Framework.Code.Comparers
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public interface ICompilationComparers

Properties

Name Description
Default

Gets an System.Collections.Generic.IEqualityComparer<> allowing to compare types and declarations considers equal two instances that represent the same type or declaration even if they belong to different compilation versions. This comparer ignores the nullability annotations of reference types.

IncludeNullability

Gets an System.Collections.Generic.IEqualityComparer<> allowing to compare types and declarations considers equal two instances that represent the same type or declaration even if they belong to different compilation versions. This comparer takes the nullability annotations of reference types into account.

Methods

Name Description
GetTypeComparer(TypeComparison)