LiteralString Constructor (Char[]) |
Initializes a new LiteralString
from an array of characters.
Namespace: PostSharp.Sdk.CodeModel
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public LiteralString( char[] chars )
Parameters
- chars
- Type: System.Char[]
An array of characters, or null to construct a null LiteralString.
For performance reasons, the current constructor stores a reference
to chars, i.e. does not take a copy of the array.