PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / IMetadata­Declaration Interface / IMetadata­Declaration Methods / IMetadata­Declaration.​Get­Token­Type Method

IMetadataDeclaration.GetTokenType Method

Gets the metadata token type of the current declaration.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
TokenType GetTokenType()

Return Value

Type: TokenType
A TokenType.
See Also