Provides methods to obtain IType instances from reflection types, special types, or by constructing new types.
Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public static class TypeFactoryRemarks
Use GetType(Type) or GetNamedType(Type) to convert a typeof expression to
IType or INamedType. Use GetType(SpecialType) for efficient access to well-known types
like string or int.
To create derived types from existing types, use methods on IType such as MakeArrayType(int), MakePointerType(), and ToNullable().
To create tuple types, use CreateTupleType(params IEnumerable<IType>) or its overloads.