Click or drag to resize

Expression  Conversion (TypeParameter to Expression)

Implicit conversion of a TypeParameter to an Expression (actually, a TypeParameterRef).

Namespace:  Nova.CodeDOM
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public static implicit operator Expression (
	TypeParameter typeParameter
)

Parameters

typeParameter
Type: Nova.CodeDOMTypeParameter
The TypeParameter to be converted.

Return Value

Type: Expression
A generated TypeParameterRef to the specified TypeParameter.
Remarks
This allows TypeParameters to be passed directly to any method expecting an Expression type without having to create a reference first.
See Also