C# Class CecilExtensions, PropertyChanged

Mostrar archivo Open project: Fody/PropertyChanged Class Usage Examples

Public Methods

Method Description
ContainsAttribute ( this attributes, string attributeName ) : bool
GetAllCustomAttributes ( this typeDefinition ) : IEnumerable
GetAttribute ( this attributes, string attributeName ) : CustomAttribute
GetAttributes ( this attributes, string attributeName ) : IEnumerable
GetGeneric ( this definition ) : FieldReference
GetGeneric ( this reference ) : MethodReference
GetName ( this propertyDefinition ) : string
IsCall ( this opCode ) : bool
IsCallToMethod ( this instruction, string methodName, int &propertyNameIndex ) : bool

Method Details

ContainsAttribute() public static method

public static ContainsAttribute ( this attributes, string attributeName ) : bool
attributes this
attributeName string
return bool

GetAllCustomAttributes() public static method

public static GetAllCustomAttributes ( this typeDefinition ) : IEnumerable
typeDefinition this
return IEnumerable

GetAttribute() public static method

public static GetAttribute ( this attributes, string attributeName ) : CustomAttribute
attributes this
attributeName string
return CustomAttribute

GetAttributes() public static method

public static GetAttributes ( this attributes, string attributeName ) : IEnumerable
attributes this
attributeName string
return IEnumerable

GetGeneric() public static method

public static GetGeneric ( this definition ) : FieldReference
definition this
return Mono.Cecil.FieldReference

GetGeneric() public static method

public static GetGeneric ( this reference ) : MethodReference
reference this
return Mono.Cecil.MethodReference

GetName() public static method

public static GetName ( this propertyDefinition ) : string
propertyDefinition this
return string

IsCall() public static method

public static IsCall ( this opCode ) : bool
opCode this
return bool

IsCallToMethod() public static method

public static IsCallToMethod ( this instruction, string methodName, int &propertyNameIndex ) : bool
instruction this
methodName string
propertyNameIndex int
return bool