PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Weaving­Symbols Namespace / Sym­Annotation Class / Sym­Annotation Constructor

SymAnnotation Constructor

Initializes a new instance of the SymAnnotation class

Namespace:  PostSharp.Sdk.WeavingSymbols
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public SymAnnotation(
	MetadataDeclaration targetDeclaration,
	TypeDefDeclaration annotationClass,
	string arguments,
	string description,
	int linesOfCodeAvoided
)

Parameters

targetDeclaration
Type: PostSharp.Sdk.CodeModel.MetadataDeclaration

[Missing <param name="targetDeclaration"/> documentation for "M:PostSharp.Sdk.WeavingSymbols.SymAnnotation.#ctor(PostSharp.Sdk.CodeModel.MetadataDeclaration,PostSharp.Sdk.CodeModel.TypeDefDeclaration,System.String,System.String,System.Int32)"]

annotationClass
Type: PostSharp.Sdk.CodeModel.TypeDefDeclaration

[Missing <param name="annotationClass"/> documentation for "M:PostSharp.Sdk.WeavingSymbols.SymAnnotation.#ctor(PostSharp.Sdk.CodeModel.MetadataDeclaration,PostSharp.Sdk.CodeModel.TypeDefDeclaration,System.String,System.String,System.Int32)"]

arguments
Type: System.String

[Missing <param name="arguments"/> documentation for "M:PostSharp.Sdk.WeavingSymbols.SymAnnotation.#ctor(PostSharp.Sdk.CodeModel.MetadataDeclaration,PostSharp.Sdk.CodeModel.TypeDefDeclaration,System.String,System.String,System.Int32)"]

description
Type: System.String

[Missing <param name="description"/> documentation for "M:PostSharp.Sdk.WeavingSymbols.SymAnnotation.#ctor(PostSharp.Sdk.CodeModel.MetadataDeclaration,PostSharp.Sdk.CodeModel.TypeDefDeclaration,System.String,System.String,System.Int32)"]

linesOfCodeAvoided
Type: System.Int32

[Missing <param name="linesOfCodeAvoided"/> documentation for "M:PostSharp.Sdk.WeavingSymbols.SymAnnotation.#ctor(PostSharp.Sdk.CodeModel.MetadataDeclaration,PostSharp.Sdk.CodeModel.TypeDefDeclaration,System.String,System.String,System.Int32)"]

See Also