Open sandboxFocus

Method GetTypeSymbol

GetTypeSymbol(Type)

Gets the Roslyn ITypeSymbol corresponding to a .NET reflection Type.

Declaration
ITypeSymbol GetTypeSymbol(Type type)
Parameters
Type Name Description
Type type

The .NET reflection type.

Returns
Type Description
ITypeSymbol

The corresponding Roslyn type symbol.