The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

CecilExtensions Class

Summary

Mono.Cecil extension methods.
Namespace
ReactiveUI.Fody
Base Types
  • object
graph BT Type-->Base0["object"] Type["CecilExtensions"] class Type type-node

Syntax

public static class CecilExtensions

Methods

Name Value Summary
Bind(MethodReference, GenericInstanceType) MethodReference
Binds the method to the specified generic type.
static
BindDefinition(FieldReference, TypeReference) FieldReference
Binds the generic type definition to a field.
static
CompareTo(TypeReference, TypeReference) bool
Compares two type references for equality.
static
Emit(MethodBody, Action<ILProcessor>) void
Emits the specified il.
static
FindAssembly(ModuleDefinition, string) AssemblyNameReference?
Finds an assembly in a module.
static
FindType(ModuleDefinition, string, string, IMetadataScope?, string[]) TypeReference
Finds a type reference in the module.
static
IsAssignableFrom(TypeDefinition, TypeDefinition, Action<string>) bool
Determines whether [is assignable from] [the specified type].
static
IsAssignableFrom(TypeReference, TypeReference, Action<string>) bool
Determines whether [is assignable from] [the specified type].
static
IsDefined(IMemberDefinition, TypeReference) bool
Determines whether the specified attribute type is defined.
static
MakeGenericMethod(MethodReference, TypeReference[]) GenericInstanceMethod
Makes the method generic.
static

Extension Methods

Name Value Summary
InvokeViewModelAction<T>(Action<T>) object
This is a thing I lifted from Prism.