PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Infrastructure Namespace / Enhanced­Location­Info Class / Enhanced­Location­Info Properties / Enhanced­Location­Info.​Field Property

EnhancedLocationInfo.Field Property

Gets the FieldDefDeclaration, or null. If the location is a field, this property is assigned to the field itself. If the location is an automatic property, this property is assigned to the backing field. If the location is a non-automatic property, this property equals to null.

Namespace:  PostSharp.Sdk.AspectInfrastructure
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
public FieldDefDeclaration Field { get; }

Property Value

Type: FieldDefDeclaration
See Also