LiteralString Implicit Conversion (String to LiteralString) |
Converts a String to a LiteralString.
Namespace: PostSharp.Sdk.CodeModel
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public static implicit operator LiteralString ( string text )
Parameters
- text
- Type: System.String
A string, or null to construct a null LiteralString.
Return Value
Type: LiteralStringA LiteralString.