AnnotationValueExtensions.ToObjectConstruction Method |
Converts an IAnnotationValue into an ObjectConstruction.
Namespace: PostSharp.Sdk.Extensibility
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public static ObjectConstruction ToObjectConstruction( this IAnnotationValue annotationValue )
Parameters
- annotationValue
- Type: PostSharp.Sdk.CodeModel.IAnnotationValue
Annotation value to be converted.
Return Value
Type: ObjectConstructionAn ObjectConstruction corresponding to annotationValue.