PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Custom­Attribute­Declaration Class / Custom­Attribute­Declaration Methods / Custom­Attribute­Declaration.​Invalidate­Serialization Method

CustomAttributeDeclaration.InvalidateSerialization Method

Invalidates the original serialization. Indicates that the serialization should be computed again, if requested.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public void InvalidateSerialization()
Remarks
Use the current method if you change a value in the custom attribute.
See Also