Open sandboxFocus

Enum DerivedTypesOptions

Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public enum DerivedTypesOptions

Fields

Name Description
All

Returns all types declared in the current compilation that derive from the given type, directly or indirectly.

Default

Equivalent to All.

DirectOnly

Only returns types declared in the current compilation that directly derive from the given type.

FirstLevelWithinCompilationOnly

Only returns types of the current compilation that derive from the given type or from an intermediate derived type of the given type, only if the derived type is an external type. That is, does not return types of the current compilation that derive from another type in the current compilation that derives from the given type.

IncludingExternalTypesDangerous

Returns types of the current compilation and of any referenced project or assembly. This setting is dangerous because not all types referenced by the current compilation are returned: only types declared or used as attributes in the current compilation and all their base types are indexed.