SyntaxFactory.Literal Método

Definição

Sobrecargas

Literal(String, UInt64)

Cria um token com o tipo NumericLiteralToken do texto e o valor inteiro sem sinal de 8 bytes correspondente.

Literal(SyntaxTriviaList, String, Char, SyntaxTriviaList)

Cria um token com o tipo CharacterLiteralToken do texto e do valor de caractere correspondente.

Literal(String, String)

Cria um token com o tipo StringLiteralToken do texto e do valor de cadeia de caracteres correspondente.

Literal(String, UInt32)

Cria um token com o tipo NumericLiteralToken do texto e o valor inteiro sem sinal de 4 bytes correspondente.

Literal(SyntaxTriviaList, String, Decimal, SyntaxTriviaList)

Cria um token com o tipo NumericLiteralToken do texto e o valor decimal correspondente.

Literal(String, Single)

Cria um token com o tipo NumericLiteralToken do texto e o valor de ponto flutuante de 4 bytes correspondente.

Literal(SyntaxTriviaList, String, Int32, SyntaxTriviaList)

Cria um token com o tipo NumericLiteralToken do texto e o valor inteiro com sinal de 4 bytes correspondente.

Literal(SyntaxTriviaList, String, Int64, SyntaxTriviaList)

Cria um token com o tipo NumericLiteralToken do texto e o valor inteiro com sinal de 8 bytes correspondente.

Literal(SyntaxTriviaList, String, Single, SyntaxTriviaList)

Cria um token com o tipo NumericLiteralToken do texto e o valor de ponto flutuante de 4 bytes correspondente.

Literal(SyntaxTriviaList, String, String, SyntaxTriviaList)

Cria um token com o tipo StringLiteralToken do texto e do valor de cadeia de caracteres correspondente.

Literal(SyntaxTriviaList, String, UInt64, SyntaxTriviaList)

Cria um token com o tipo NumericLiteralToken do texto e o valor inteiro sem sinal de 8 bytes correspondente.

Literal(SyntaxTriviaList, String, Double, SyntaxTriviaList)

Cria um token com o tipo NumericLiteralToken do texto e o valor de ponto flutuante correspondente de 8 bytes.

Literal(String, Int64)

Cria um token com o tipo NumericLiteralToken do texto e o valor inteiro com sinal de 8 bytes correspondente.

Literal(SyntaxTriviaList, String, UInt32, SyntaxTriviaList)

Cria um token com o tipo NumericLiteralToken do texto e o valor inteiro sem sinal de 4 bytes correspondente.

Literal(String, Double)

Cria um token com o tipo NumericLiteralToken do texto e o valor de ponto flutuante correspondente de 8 bytes.

Literal(String, Int32)

Cria um token com o tipo NumericLiteralToken do texto e o valor inteiro com sinal de 4 bytes correspondente.

Literal(Decimal)

Cria um token com o tipo NumericLiteralToken de um valor decimal.

Literal(Double)

Cria um token com o tipo NumericLiteralToken de um valor de ponto flutuante de 8 bytes.

Literal(Int32)

Cria um token com o tipo NumericLiteralToken de um valor inteiro com sinal de 4 bytes.

Literal(Int64)

Cria um token com o tipo NumericLiteralToken com base em um valor inteiro com sinal de 8 bytes.

Literal(Char)

Cria um token com o tipo CharacterLiteralToken de um valor de caractere.

Literal(String)

Cria um token com o tipo StringLiteralToken de um valor de cadeia de caracteres.

Literal(UInt32)

Cria um token com o tipo NumericLiteralToken de um valor inteiro sem sinal de 4 bytes.

Literal(UInt64)

Cria um token com o tipo NumericLiteralToken de um valor inteiro sem sinal de 8 bytes.

Literal(String, Char)

Cria um token com o tipo CharacterLiteralToken do texto e do valor de caractere correspondente.

Literal(String, Decimal)

Cria um token com o tipo NumericLiteralToken do texto e o valor decimal correspondente.

Literal(Single)

Cria um token com o tipo NumericLiteralToken de um valor de ponto flutuante de 4 bytes.

Literal(String, UInt64)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Cria um token com o tipo NumericLiteralToken do texto e o valor inteiro sem sinal de 8 bytes correspondente.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Literal(System::String ^ text, System::UInt64 value);
public static Microsoft.CodeAnalysis.SyntaxToken Literal (string text, ulong value);
static member Literal : string * uint64 -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Literal (text As String, value As ULong) As SyntaxToken

Parâmetros

text
String

O texto bruto do literal.

value
UInt64

O valor inteiro sem sinal de 8 bytes a ser representado pelo token retornado.

Retornos

Aplica-se a

Literal(SyntaxTriviaList, String, Char, SyntaxTriviaList)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Cria um token com o tipo CharacterLiteralToken do texto e do valor de caractere correspondente.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Literal(Microsoft::CodeAnalysis::SyntaxTriviaList leading, System::String ^ text, char value, Microsoft::CodeAnalysis::SyntaxTriviaList trailing);
public static Microsoft.CodeAnalysis.SyntaxToken Literal (Microsoft.CodeAnalysis.SyntaxTriviaList leading, string text, char value, Microsoft.CodeAnalysis.SyntaxTriviaList trailing);
static member Literal : Microsoft.CodeAnalysis.SyntaxTriviaList * string * char * Microsoft.CodeAnalysis.SyntaxTriviaList -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Literal (leading As SyntaxTriviaList, text As String, value As Char, trailing As SyntaxTriviaList) As SyntaxToken

Parâmetros

leading
SyntaxTriviaList

Uma lista de curiosidades imediatamente anteriores ao token.

text
String

O texto bruto do literal, incluindo aspas e sequências de escape.

value
Char

O valor do caractere a ser representado pelo token retornado.

trailing
SyntaxTriviaList

Uma lista de curiosidades imediatamente após o token.

Retornos

Aplica-se a

Literal(String, String)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Cria um token com o tipo StringLiteralToken do texto e do valor de cadeia de caracteres correspondente.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Literal(System::String ^ text, System::String ^ value);
public static Microsoft.CodeAnalysis.SyntaxToken Literal (string text, string value);
static member Literal : string * string -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Literal (text As String, value As String) As SyntaxToken

Parâmetros

text
String

O texto bruto do literal, incluindo aspas e sequências de escape.

value
String

O valor da cadeia de caracteres a ser representado pelo token retornado.

Retornos

Aplica-se a

Literal(String, UInt32)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Cria um token com o tipo NumericLiteralToken do texto e o valor inteiro sem sinal de 4 bytes correspondente.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Literal(System::String ^ text, System::UInt32 value);
public static Microsoft.CodeAnalysis.SyntaxToken Literal (string text, uint value);
static member Literal : string * uint32 -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Literal (text As String, value As UInteger) As SyntaxToken

Parâmetros

text
String

O texto bruto do literal.

value
UInt32

O valor inteiro sem sinal de 4 bytes a ser representado pelo token retornado.

Retornos

Aplica-se a

Literal(SyntaxTriviaList, String, Decimal, SyntaxTriviaList)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Cria um token com o tipo NumericLiteralToken do texto e o valor decimal correspondente.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Literal(Microsoft::CodeAnalysis::SyntaxTriviaList leading, System::String ^ text, System::Decimal value, Microsoft::CodeAnalysis::SyntaxTriviaList trailing);
public static Microsoft.CodeAnalysis.SyntaxToken Literal (Microsoft.CodeAnalysis.SyntaxTriviaList leading, string text, decimal value, Microsoft.CodeAnalysis.SyntaxTriviaList trailing);
static member Literal : Microsoft.CodeAnalysis.SyntaxTriviaList * string * decimal * Microsoft.CodeAnalysis.SyntaxTriviaList -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Literal (leading As SyntaxTriviaList, text As String, value As Decimal, trailing As SyntaxTriviaList) As SyntaxToken

Parâmetros

leading
SyntaxTriviaList

Uma lista de curiosidades imediatamente anteriores ao token.

text
String

O texto bruto do literal.

value
Decimal

O valor decimal a ser representado pelo token retornado.

trailing
SyntaxTriviaList

Uma lista de curiosidades imediatamente após o token.

Retornos

Aplica-se a

Literal(String, Single)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Cria um token com o tipo NumericLiteralToken do texto e o valor de ponto flutuante de 4 bytes correspondente.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Literal(System::String ^ text, float value);
public static Microsoft.CodeAnalysis.SyntaxToken Literal (string text, float value);
static member Literal : string * single -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Literal (text As String, value As Single) As SyntaxToken

Parâmetros

text
String

O texto bruto do literal.

value
Single

O valor de ponto flutuante de 4 bytes a ser representado pelo token retornado.

Retornos

Aplica-se a

Literal(SyntaxTriviaList, String, Int32, SyntaxTriviaList)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Cria um token com o tipo NumericLiteralToken do texto e o valor inteiro com sinal de 4 bytes correspondente.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Literal(Microsoft::CodeAnalysis::SyntaxTriviaList leading, System::String ^ text, int value, Microsoft::CodeAnalysis::SyntaxTriviaList trailing);
public static Microsoft.CodeAnalysis.SyntaxToken Literal (Microsoft.CodeAnalysis.SyntaxTriviaList leading, string text, int value, Microsoft.CodeAnalysis.SyntaxTriviaList trailing);
static member Literal : Microsoft.CodeAnalysis.SyntaxTriviaList * string * int * Microsoft.CodeAnalysis.SyntaxTriviaList -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Literal (leading As SyntaxTriviaList, text As String, value As Integer, trailing As SyntaxTriviaList) As SyntaxToken

Parâmetros

leading
SyntaxTriviaList

Uma lista de curiosidades imediatamente anteriores ao token.

text
String

O texto bruto do literal.

value
Int32

O valor inteiro com sinal de 4 bytes a ser representado pelo token retornado.

trailing
SyntaxTriviaList

Uma lista de curiosidades imediatamente após o token.

Retornos

Aplica-se a

Literal(SyntaxTriviaList, String, Int64, SyntaxTriviaList)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Cria um token com o tipo NumericLiteralToken do texto e o valor inteiro com sinal de 8 bytes correspondente.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Literal(Microsoft::CodeAnalysis::SyntaxTriviaList leading, System::String ^ text, long value, Microsoft::CodeAnalysis::SyntaxTriviaList trailing);
public static Microsoft.CodeAnalysis.SyntaxToken Literal (Microsoft.CodeAnalysis.SyntaxTriviaList leading, string text, long value, Microsoft.CodeAnalysis.SyntaxTriviaList trailing);
static member Literal : Microsoft.CodeAnalysis.SyntaxTriviaList * string * int64 * Microsoft.CodeAnalysis.SyntaxTriviaList -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Literal (leading As SyntaxTriviaList, text As String, value As Long, trailing As SyntaxTriviaList) As SyntaxToken

Parâmetros

leading
SyntaxTriviaList

Uma lista de curiosidades imediatamente anteriores ao token.

text
String

O texto bruto do literal.

value
Int64

O valor inteiro com sinal de 8 bytes a ser representado pelo token retornado.

trailing
SyntaxTriviaList

Uma lista de curiosidades imediatamente após o token.

Retornos

Aplica-se a

Literal(SyntaxTriviaList, String, Single, SyntaxTriviaList)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Cria um token com o tipo NumericLiteralToken do texto e o valor de ponto flutuante de 4 bytes correspondente.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Literal(Microsoft::CodeAnalysis::SyntaxTriviaList leading, System::String ^ text, float value, Microsoft::CodeAnalysis::SyntaxTriviaList trailing);
public static Microsoft.CodeAnalysis.SyntaxToken Literal (Microsoft.CodeAnalysis.SyntaxTriviaList leading, string text, float value, Microsoft.CodeAnalysis.SyntaxTriviaList trailing);
static member Literal : Microsoft.CodeAnalysis.SyntaxTriviaList * string * single * Microsoft.CodeAnalysis.SyntaxTriviaList -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Literal (leading As SyntaxTriviaList, text As String, value As Single, trailing As SyntaxTriviaList) As SyntaxToken

Parâmetros

leading
SyntaxTriviaList

Uma lista de curiosidades imediatamente anteriores ao token.

text
String

O texto bruto do literal.

value
Single

O valor de ponto flutuante de 4 bytes a ser representado pelo token retornado.

trailing
SyntaxTriviaList

Uma lista de curiosidades imediatamente após o token.

Retornos

Aplica-se a

Literal(SyntaxTriviaList, String, String, SyntaxTriviaList)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Cria um token com o tipo StringLiteralToken do texto e do valor de cadeia de caracteres correspondente.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Literal(Microsoft::CodeAnalysis::SyntaxTriviaList leading, System::String ^ text, System::String ^ value, Microsoft::CodeAnalysis::SyntaxTriviaList trailing);
public static Microsoft.CodeAnalysis.SyntaxToken Literal (Microsoft.CodeAnalysis.SyntaxTriviaList leading, string text, string value, Microsoft.CodeAnalysis.SyntaxTriviaList trailing);
static member Literal : Microsoft.CodeAnalysis.SyntaxTriviaList * string * string * Microsoft.CodeAnalysis.SyntaxTriviaList -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Literal (leading As SyntaxTriviaList, text As String, value As String, trailing As SyntaxTriviaList) As SyntaxToken

Parâmetros

leading
SyntaxTriviaList

Uma lista de curiosidades imediatamente anteriores ao token.

text
String

O texto bruto do literal, incluindo aspas e sequências de escape.

value
String

O valor da cadeia de caracteres a ser representado pelo token retornado.

trailing
SyntaxTriviaList

Uma lista de curiosidades imediatamente após o token.

Retornos

Aplica-se a

Literal(SyntaxTriviaList, String, UInt64, SyntaxTriviaList)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Cria um token com o tipo NumericLiteralToken do texto e o valor inteiro sem sinal de 8 bytes correspondente.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Literal(Microsoft::CodeAnalysis::SyntaxTriviaList leading, System::String ^ text, System::UInt64 value, Microsoft::CodeAnalysis::SyntaxTriviaList trailing);
public static Microsoft.CodeAnalysis.SyntaxToken Literal (Microsoft.CodeAnalysis.SyntaxTriviaList leading, string text, ulong value, Microsoft.CodeAnalysis.SyntaxTriviaList trailing);
static member Literal : Microsoft.CodeAnalysis.SyntaxTriviaList * string * uint64 * Microsoft.CodeAnalysis.SyntaxTriviaList -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Literal (leading As SyntaxTriviaList, text As String, value As ULong, trailing As SyntaxTriviaList) As SyntaxToken

Parâmetros

leading
SyntaxTriviaList

Uma lista de curiosidades imediatamente anteriores ao token.

text
String

O texto bruto do literal.

value
UInt64

O valor inteiro sem sinal de 8 bytes a ser representado pelo token retornado.

trailing
SyntaxTriviaList

Uma lista de curiosidades imediatamente após o token.

Retornos

Aplica-se a

Literal(SyntaxTriviaList, String, Double, SyntaxTriviaList)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Cria um token com o tipo NumericLiteralToken do texto e o valor correspondente de ponto flutuante de 8 bytes.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Literal(Microsoft::CodeAnalysis::SyntaxTriviaList leading, System::String ^ text, double value, Microsoft::CodeAnalysis::SyntaxTriviaList trailing);
public static Microsoft.CodeAnalysis.SyntaxToken Literal (Microsoft.CodeAnalysis.SyntaxTriviaList leading, string text, double value, Microsoft.CodeAnalysis.SyntaxTriviaList trailing);
static member Literal : Microsoft.CodeAnalysis.SyntaxTriviaList * string * double * Microsoft.CodeAnalysis.SyntaxTriviaList -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Literal (leading As SyntaxTriviaList, text As String, value As Double, trailing As SyntaxTriviaList) As SyntaxToken

Parâmetros

leading
SyntaxTriviaList

Uma lista de curiosidades imediatamente anteriores ao token.

text
String

O texto bruto do literal.

value
Double

O valor de ponto flutuante de 8 bytes a ser representado pelo token retornado.

trailing
SyntaxTriviaList

Uma lista de curiosidades imediatamente após o token.

Retornos

Aplica-se a

Literal(String, Int64)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Cria um token com o tipo NumericLiteralToken do texto e o valor inteiro com sinal de 8 bytes correspondente.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Literal(System::String ^ text, long value);
public static Microsoft.CodeAnalysis.SyntaxToken Literal (string text, long value);
static member Literal : string * int64 -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Literal (text As String, value As Long) As SyntaxToken

Parâmetros

text
String

O texto bruto do literal.

value
Int64

O valor inteiro com sinal de 8 bytes a ser representado pelo token retornado.

Retornos

Aplica-se a

Literal(SyntaxTriviaList, String, UInt32, SyntaxTriviaList)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Cria um token com o tipo NumericLiteralToken do texto e o valor inteiro sem sinal de 4 bytes correspondente.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Literal(Microsoft::CodeAnalysis::SyntaxTriviaList leading, System::String ^ text, System::UInt32 value, Microsoft::CodeAnalysis::SyntaxTriviaList trailing);
public static Microsoft.CodeAnalysis.SyntaxToken Literal (Microsoft.CodeAnalysis.SyntaxTriviaList leading, string text, uint value, Microsoft.CodeAnalysis.SyntaxTriviaList trailing);
static member Literal : Microsoft.CodeAnalysis.SyntaxTriviaList * string * uint32 * Microsoft.CodeAnalysis.SyntaxTriviaList -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Literal (leading As SyntaxTriviaList, text As String, value As UInteger, trailing As SyntaxTriviaList) As SyntaxToken

Parâmetros

leading
SyntaxTriviaList

Uma lista de curiosidades imediatamente anteriores ao token.

text
String

O texto bruto do literal.

value
UInt32

O valor inteiro sem sinal de 4 bytes a ser representado pelo token retornado.

trailing
SyntaxTriviaList

Uma lista de curiosidades imediatamente após o token.

Retornos

Aplica-se a

Literal(String, Double)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Cria um token com o tipo NumericLiteralToken do texto e o valor correspondente de ponto flutuante de 8 bytes.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Literal(System::String ^ text, double value);
public static Microsoft.CodeAnalysis.SyntaxToken Literal (string text, double value);
static member Literal : string * double -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Literal (text As String, value As Double) As SyntaxToken

Parâmetros

text
String

O texto bruto do literal.

value
Double

O valor de ponto flutuante de 8 bytes a ser representado pelo token retornado.

Retornos

Aplica-se a

Literal(String, Int32)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Cria um token com o tipo NumericLiteralToken do texto e o valor inteiro com sinal de 4 bytes correspondente.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Literal(System::String ^ text, int value);
public static Microsoft.CodeAnalysis.SyntaxToken Literal (string text, int value);
static member Literal : string * int -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Literal (text As String, value As Integer) As SyntaxToken

Parâmetros

text
String

O texto bruto do literal.

value
Int32

O valor inteiro com sinal de 4 bytes a ser representado pelo token retornado.

Retornos

Aplica-se a

Literal(Decimal)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Cria um token com o tipo NumericLiteralToken de um valor decimal.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Literal(System::Decimal value);
public static Microsoft.CodeAnalysis.SyntaxToken Literal (decimal value);
static member Literal : decimal -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Literal (value As Decimal) As SyntaxToken

Parâmetros

value
Decimal

O valor decimal a ser representado pelo token retornado.

Retornos

Aplica-se a

Literal(Double)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Cria um token com o tipo NumericLiteralToken de um valor de ponto flutuante de 8 bytes.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Literal(double value);
public static Microsoft.CodeAnalysis.SyntaxToken Literal (double value);
static member Literal : double -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Literal (value As Double) As SyntaxToken

Parâmetros

value
Double

O valor de ponto flutuante de 8 bytes a ser representado pelo token retornado.

Retornos

Aplica-se a

Literal(Int32)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Cria um token com o tipo NumericLiteralToken de um valor inteiro com sinal de 4 bytes.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Literal(int value);
public static Microsoft.CodeAnalysis.SyntaxToken Literal (int value);
static member Literal : int -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Literal (value As Integer) As SyntaxToken

Parâmetros

value
Int32

O valor inteiro com sinal de 4 bytes a ser representado pelo token retornado.

Retornos

Aplica-se a

Literal(Int64)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Cria um token com o tipo NumericLiteralToken de um valor inteiro com sinal de 8 bytes.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Literal(long value);
public static Microsoft.CodeAnalysis.SyntaxToken Literal (long value);
static member Literal : int64 -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Literal (value As Long) As SyntaxToken

Parâmetros

value
Int64

O valor inteiro com sinal de 8 bytes a ser representado pelo token retornado.

Retornos

Aplica-se a

Literal(Char)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Cria um token com o tipo CharacterLiteralToken de um valor de caractere.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Literal(char value);
public static Microsoft.CodeAnalysis.SyntaxToken Literal (char value);
static member Literal : char -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Literal (value As Char) As SyntaxToken

Parâmetros

value
Char

O valor do caractere a ser representado pelo token retornado.

Retornos

Aplica-se a

Literal(String)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Cria um token com o tipo StringLiteralToken de um valor de cadeia de caracteres.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Literal(System::String ^ value);
public static Microsoft.CodeAnalysis.SyntaxToken Literal (string value);
static member Literal : string -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Literal (value As String) As SyntaxToken

Parâmetros

value
String

O valor da cadeia de caracteres a ser representado pelo token retornado.

Retornos

Aplica-se a

Literal(UInt32)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Cria um token com o tipo NumericLiteralToken de um valor inteiro sem sinal de 4 bytes.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Literal(System::UInt32 value);
public static Microsoft.CodeAnalysis.SyntaxToken Literal (uint value);
static member Literal : uint32 -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Literal (value As UInteger) As SyntaxToken

Parâmetros

value
UInt32

O valor inteiro sem sinal de 4 bytes a ser representado pelo token retornado.

Retornos

Aplica-se a

Literal(UInt64)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Cria um token com o tipo NumericLiteralToken de um valor inteiro sem sinal de 8 bytes.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Literal(System::UInt64 value);
public static Microsoft.CodeAnalysis.SyntaxToken Literal (ulong value);
static member Literal : uint64 -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Literal (value As ULong) As SyntaxToken

Parâmetros

value
UInt64

O valor inteiro sem sinal de 8 bytes a ser representado pelo token retornado.

Retornos

Aplica-se a

Literal(String, Char)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Cria um token com o tipo CharacterLiteralToken do texto e do valor de caractere correspondente.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Literal(System::String ^ text, char value);
public static Microsoft.CodeAnalysis.SyntaxToken Literal (string text, char value);
static member Literal : string * char -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Literal (text As String, value As Char) As SyntaxToken

Parâmetros

text
String

O texto bruto do literal, incluindo aspas e sequências de escape.

value
Char

O valor do caractere a ser representado pelo token retornado.

Retornos

Aplica-se a

Literal(String, Decimal)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Cria um token com o tipo NumericLiteralToken do texto e o valor decimal correspondente.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Literal(System::String ^ text, System::Decimal value);
public static Microsoft.CodeAnalysis.SyntaxToken Literal (string text, decimal value);
static member Literal : string * decimal -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Literal (text As String, value As Decimal) As SyntaxToken

Parâmetros

text
String

O texto bruto do literal.

value
Decimal

O valor decimal a ser representado pelo token retornado.

Retornos

Aplica-se a

Literal(Single)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Cria um token com o tipo NumericLiteralToken de um valor de ponto flutuante de 4 bytes.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Literal(float value);
public static Microsoft.CodeAnalysis.SyntaxToken Literal (float value);
static member Literal : single -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Literal (value As Single) As SyntaxToken

Parâmetros

value
Single

O valor de ponto flutuante de 4 bytes a ser representado pelo token retornado.

Retornos

Aplica-se a