PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Literal­String Structure / Literal­String Methods / Literal­String.​Get­Hash­Code Method

LiteralString.GetHashCode Method

Returns the hash code for this instance.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public override int GetHashCode()

Return Value

Type: Int32
A 32-bit signed integer that is the hash code for this instance.
See Also