Class SharedUtilities
Inheritance
SharedUtilities
Assembly: Neon.Roslyn.dll
Syntax
public static class SharedUtilities
Methods
ComputeBindingFlags(MemberInfo)
Declaration
public static BindingFlags ComputeBindingFlags(MemberInfo member)
Parameters
Returns
GetActualConstuctorParams(AttributeData)
Declaration
public static IEnumerable<object> GetActualConstuctorParams(this AttributeData attributeData)
Parameters
Type |
Name |
Description |
AttributeData |
attributeData |
|
Returns
GetActualConstuctorParams(CustomAttributeData)
Declaration
public static IEnumerable<object> GetActualConstuctorParams(this CustomAttributeData attributeData)
Parameters
Returns
GetCustomAttributes(Type, bool)
Declaration
public static object[] GetCustomAttributes(Type type, bool inherit)
Parameters
Type |
Name |
Description |
Type |
type |
|
bool |
inherit |
|
Returns
GetCustomAttributes(Type, Type, bool)
Declaration
public static object[] GetCustomAttributes(Type attributeType, Type type, bool inherit)
Parameters
Type |
Name |
Description |
Type |
attributeType |
|
Type |
type |
|
bool |
inherit |
|
Returns
GetCustomAttributesData(ISymbol, MetadataLoadContext)
Declaration
public static IList<CustomAttributeData> GetCustomAttributesData(ISymbol symbol, MetadataLoadContext metadataLoadContext)
Parameters
Returns
GetMethodAttributes(IMethodSymbol)
Declaration
public static MethodAttributes GetMethodAttributes(IMethodSymbol method)
Parameters
Type |
Name |
Description |
IMethodSymbol |
method |
|
Returns
MatchBindingFlags(BindingFlags, ITypeSymbol, ISymbol)
Declaration
public static bool MatchBindingFlags(BindingFlags bindingFlags, ITypeSymbol thisType, ISymbol symbol)
Parameters
Type |
Name |
Description |
BindingFlags |
bindingFlags |
|
ITypeSymbol |
thisType |
|
ISymbol |
symbol |
|
Returns