Class MethodBuildInfo
Contains information about the construction of a method.
Inherited Members
Namespace: TheXDS.MCART.Types
Assembly: MCART.TypeFactory.dll
Syntax
public class MethodBuildInfo : MemberBuildInfo<MethodBuilder>
Properties
| Edit this page View SourceIl
Reference to the IL generator of the method.
Declaration
public ILGenerator Il { get; }
Property Value
| Type | Description |
|---|---|
| ILGenerator |
IsFunction
Gets a value indicating whether the method described by this instance is a function (i.e., its return type is not null).
Declaration
public bool IsFunction { get; }
Property Value
| Type | Description |
|---|---|
| bool | true if the method has a return type, false if the method’s return type is void. |
ReturnType
Gets the return type of the method.
Declaration
public Type? ReturnType { get; }
Property Value
| Type | Description |
|---|---|
| Type | The type returned by the method, or null if the method does not return a value (i.e., its return type is void). |