Click or drag to resize

TypeRefBase  Conversion (TypeDecl to TypeRefBase)

Implicit conversion of a TypeDecl to a TypeRefBase (actually, a TypeRef).

Namespace:  Nova.CodeDOM
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public static implicit operator TypeRefBase (
	TypeDecl typeDecl
)

Parameters

typeDecl
Type: Nova.CodeDOMTypeDecl
The TypeDecl to be converted.

Return Value

Type: TypeRefBase
A generated TypeRef to the specified TypeDecl.
Remarks
This allows type declarations to be passed directly to any method expecting a TypeRefBase type without having to create a reference first.
See Also