Metalama Documentation
Getting started
Video tutorials
Conceptual documentation
Commented examples
API documentation
Aspect API
Metalama.Framework.Advising
Metalama.Framework.Aspects
Metalama.Framework.Code
Metalama.Framework.Code.Collections
Metalama.Framework.Code.Comparers
Metalama.Framework.Code.DeclarationBuilders
Metalama.Framework.Code.Invokers
Metalama.Framework.Code.SyntaxBuilders
Metalama.Framework.Code.Types
Metalama.Framework.CodeFixes
Metalama.Framework.Diagnostics
Metalama.Framework.Eligibility
Metalama.Framework.Fabrics
Metalama.Framework.Metrics
Metalama.Framework.Options
Metalama.Framework.Project
Metalama.Framework.RunTime
AsyncEnumerableList<T>2
AsyncEnumerableList<T>.AsyncEnumerator
FieldOrPropertyInfo2
FieldOrPropertyInfo
AsField
AsPropertyOrIndexer
DeclaringType
MemberType
Name
ReflectedType
UnderlyingMemberInfo
ValueType
GetCustomAttributes
GetValue
IsDefined
SetValue
ReflectionHelper
RunTimeAspectHelper
Metalama.Framework.Serialization
Metalama.Framework.Services
Metalama.Framework.Utilities
Metalama.Framework.Validation
Extensions API
Patterns API
Flashtrace API
Introspection API
Advanced API
PostSharp API migration
Gets the FieldInfo if this represents a field, otherwise returns null.
public FieldInfo? AsField { get; }