Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public static class ReflectionExtensions
Methods
Name | Description |
---|---|
AsExpression(MemberInfo) | Returns the IExpression representation of the given MemberInfo, when available, or null. |
AsExpression(ParameterInfo) | Returns the IExpression representation of the given ParameterInfo, when available, or null. |
ToExpression(MemberInfo) | Returns the IExpression representation of the given MemberInfo, when available, or throws an exception. |
ToExpression(ParameterInfo) | Returns the IExpression representation of the given ParameterInfo, when available, or throws an exception. |