Click or drag to resize

TypeRefBase  Conversion (MethodDeclBase to TypeRefBase)

Implicit conversion of a MethodDeclBase to a TypeRefBase (actually, a MethodRef or ConstructorRef).

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

Parameters

methodDeclBase
Type: Nova.CodeDOMMethodDeclBase
The MethodDeclBase to be converted.

Return Value

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