MetalamaAPI documentationAspect APIMetalama.​Framework.​CodeType­ExtensionsTo­Type­Of­Expression
Open sandboxFocus

TypeExtensions.ToTypeOfExpression Method

ToTypeOfExpression(IType)

Gets an IExpression representing 'typeof' expression for the given type.

Declaration
public static IExpression ToTypeOfExpression(this IType type)
Parameters
Type Name Description
IType type
Returns
Type Description
IExpression