FieldRefDeclaration.GetSystemField Method (Type[], Type[], BindingOptions) |
Gets the system runtime field corresponding to the current field.
Namespace: PostSharp.Sdk.CodeModel
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public FieldInfo GetSystemField( Type[] genericTypeArguments, Type[] genericMethodArguments, BindingOptions options )
Parameters
- genericTypeArguments
- Type: System.Type[]
Array of generic type arguments valid in the current context. - genericMethodArguments
- Type: System.Type[]
Array of generic method arguments valid in the current context. - options
- Type: PostSharp.Sdk.CodeModel.BindingOptions
Options.
Return Value
Type: FieldInfoThe system runtime FieldInfo, or null if the current field could not be bound.