C# Class Shaspect.Builder.Tools.TypeTools

Mostra file Open project: mshmelev/Shaspect

Public Methods

Method Description
FindField ( this type, string name ) : FieldDefinition
FindProperty ( this type, string name ) : Mono.Cecil.PropertyDefinition
GetPropertyNameByMethod ( Mono.Cecil.MethodDefinition method ) : string
IsCompilerGenerated ( this type ) : bool
IsInheritedFrom ( this childType, TypeReference baseType ) : bool
IsPropertyMethod ( this method ) : bool

Method Details

FindField() public static method

public static FindField ( this type, string name ) : FieldDefinition
type this
name string
return Mono.Cecil.FieldDefinition

FindProperty() public static method

public static FindProperty ( this type, string name ) : Mono.Cecil.PropertyDefinition
type this
name string
return Mono.Cecil.PropertyDefinition

GetPropertyNameByMethod() public static method

public static GetPropertyNameByMethod ( Mono.Cecil.MethodDefinition method ) : string
method Mono.Cecil.MethodDefinition
return string

IsCompilerGenerated() public static method

public static IsCompilerGenerated ( this type ) : bool
type this
return bool

IsInheritedFrom() public static method

public static IsInheritedFrom ( this childType, TypeReference baseType ) : bool
childType this
baseType Mono.Cecil.TypeReference
return bool

IsPropertyMethod() public static method

public static IsPropertyMethod ( this method ) : bool
method this
return bool