PublicApiSymbolDifferences Enum
The parts of a declaration that differ between the variants of an aggregated symbol.
[Flags]
public enum PublicApiSymbolDifferencesFields
| Name | Value | Description |
|---|---|---|
None | 0 | |
Kind | 1 | The kind of symbol differs (e.g. a class and a struct, or a method and an operator). |
Accessibility | 2 | |
Modifiers | 4 | Modifiers such as static, abstract, virtual, sealed, new, readonly, required or unsafe differ. |
Signature | 8 | Types, ref kinds, parameter modifiers, accessors or generic parameters differ, ignoring nullable annotations. |
Nullability | 16 | Only the nullable annotations of the types differ. |
Constraints | 32 | The generic constraints differ. |
Attributes | 64 | The 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. |
Inheritance | 128 | The base type or the implemented interfaces differ. |
Value | 256 | The value of a constant or the default value of a parameter differs. |
ParameterNames | 512 | The names of the parameters differ. |