Open sandboxFocus

Property DeterministicDeclarationOrder

DeterministicDeclarationOrder

Gets a deterministic ordering comparer for IDeclaration. The specific order produced by the comparer is an implementation detail — it is guaranteed to be stable across builds of the same compilation but the exact ordering is not part of the public contract. Sort key: depth, then containing declaration (recursively), then name, then signature (for overloadable members).

Declaration
IComparer<IDeclaration> DeterministicDeclarationOrder { get; }
Property Value
Type Description
IComparer<IDeclaration>