Show / Hide Table of Contents

Class CecilUtils

Inheritance
Object
CecilUtils
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Unity.CecilTools
Assembly: Unity.CecilTools.dll
Syntax
public static class CecilUtils

Methods

| Improve this Doc View Source

AllInterfacesImplementedBy(TypeDefinition)

Declaration
public static IEnumerable<TypeDefinition> AllInterfacesImplementedBy(TypeDefinition typeDefinition)
Parameters
Type Name Description
Mono.Cecil.TypeDefinition typeDefinition
Returns
Type Description
IEnumerable<Mono.Cecil.TypeDefinition>
| Improve this Doc View Source

BaseTypesOf(TypeReference)

Declaration
public static IEnumerable<TypeDefinition> BaseTypesOf(TypeReference typeReference)
Parameters
Type Name Description
Mono.Cecil.TypeReference typeReference
Returns
Type Description
IEnumerable<Mono.Cecil.TypeDefinition>
| Improve this Doc View Source

ElementTypeOfCollection(TypeReference)

Declaration
public static TypeReference ElementTypeOfCollection(TypeReference type)
Parameters
Type Name Description
Mono.Cecil.TypeReference type
Returns
Type Description
Mono.Cecil.TypeReference
| Improve this Doc View Source

FindInTypeExplicitImplementationFor(MethodDefinition, TypeDefinition)

Declaration
public static MethodDefinition FindInTypeExplicitImplementationFor(MethodDefinition interfaceMethod, TypeDefinition typeDefinition)
Parameters
Type Name Description
Mono.Cecil.MethodDefinition interfaceMethod
Mono.Cecil.TypeDefinition typeDefinition
Returns
Type Description
Mono.Cecil.MethodDefinition
| Improve this Doc View Source

IsGenericDictionary(TypeReference)

Declaration
public static bool IsGenericDictionary(TypeReference type)
Parameters
Type Name Description
Mono.Cecil.TypeReference type
Returns
Type Description
Boolean
| Improve this Doc View Source

IsGenericList(TypeReference)

Declaration
public static bool IsGenericList(TypeReference type)
Parameters
Type Name Description
Mono.Cecil.TypeReference type
Returns
Type Description
Boolean
| Improve this Doc View Source

TypeAndBaseTypesOf(TypeReference)

Declaration
public static IEnumerable<TypeDefinition> TypeAndBaseTypesOf(TypeReference typeReference)
Parameters
Type Name Description
Mono.Cecil.TypeReference typeReference
Returns
Type Description
IEnumerable<Mono.Cecil.TypeDefinition>
  • Improve this Doc
  • View Source
Back to top Generated by DocFX