PublicApiSymbolDifferences Enum

The parts of a declaration that differ between the variants of an aggregated symbol.

[Flags]
public enum PublicApiSymbolDifferences

Fields

NameValueDescription
None0
Kind1The kind of symbol differs (e.g. a class and a struct, or a method and an operator).
Accessibility2
Modifiers4Modifiers such as static, abstract, virtual, sealed, new, readonly, required or unsafe differ.
Signature8Types, ref kinds, parameter modifiers, accessors or generic parameters differ, ignoring nullable annotations.
Nullability16Only the nullable annotations of the types differ.
Constraints32The generic constraints differ.
Attributes64The attributes of the symbol, of its parameters, of its return value or of its generic parameters differ. Attributes that encode other parts of the declaration, such as nullable annotations, tuple element names, ref kinds or the required modifier, are not compared.
Inheritance128The base type or the implemented interfaces differ.
Value256The value of a constant or the default value of a parameter differs.
ParameterNames512The names of the parameters differ.