Click or drag to resize

Expression  Conversion (MethodReference to Expression)

Implicit conversion of a MethodReference to an Expression (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 Expression (
	MethodReference methodReference
)

Parameters

methodReference
Type: Mono.CecilMethodReference
The MethodReference to be converted.

Return Value

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