There is no direct equivalent in Metalama, but individual methods may have.
Namespace: PostSharp.Reflection
Assembly: Metalama.Migration.dll
Syntax
[Obsolete("There is no direct equivalent in Metalama, but individual methods may have.", false)]
public static class ReflectionExtensions
Methods
Name | Description |
---|---|
GetAutomaticProperty(FieldInfo) | In Metalama, backing field of automatic properties are not exposed to the code model. |
GetAutomaticProperty(FieldInfo, bool) | In Metalama, backing field of automatic properties are not exposed to the code model. |
GetBackingField(PropertyInfo) | Not supported in Metalama. |
GetStateMachineKind(MethodInfo) | In Metalama, use IMethod.GetAsyncInfo(IMethod) at compile time. There is no equivalent at run time. |
GetStateMachinePublicMethod(MethodInfo) | In Metalama, use IMethod.GetAsyncInfo(IMethod) at compile time. There is no equivalent at run time. |
IsAutomaticProperty(PropertyInfo) | In Metalama, use IsAutoPropertyOrField. |