Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Code.​Comparers / ICompilation­Comparers

Interface ICompilationComparers

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 IEqualityComparer<T> 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 IEqualityComparer<T> 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)