Open sandboxFocus

Class NamedTypeExtensions

Extension methods for the INamedType interface.

Inheritance
NamedTypeExtensions
Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public static class NamedTypeExtensions

Methods

Name Description
AllMembers(INamedType)

Gets all members of the current type and members inherited from the base type, except nested types.

GetFullMetadataName(INamedType)

Gets the full name of a named type in metadata format, i.e. with + as the nested type separator and the 1</code>, <code>2, ... suffixes for generic types.

GetMetadataName(INamedType)

Gets the name of a named type in metadata format, i.e. the 1</code>, <code>2, ... suffixes for generic types.

Members(INamedType)

Gets all members of the current type, except nested types.

MethodsAndAccessors(INamedType)

Gets all methods of a named type, including the accessors of properties and events.

NestedTypes(INamedType)

Gets all nested types of the current type, and all recursively all nested types of those nested types, but not the current type.

NestedTypesAndSelf(INamedType)

Gets all nested types of the current type, and all recursively all nested types of those nested types, including the current type.