Share via


SyntaxFactory.LiteralExpression Method

Definition

Overloads

LiteralExpression(SyntaxKind)

Creates a new LiteralExpressionSyntax instance.

LiteralExpression(SyntaxKind, SyntaxToken)

Creates a new LiteralExpressionSyntax instance.

LiteralExpression(SyntaxKind)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
LiteralExpressionSyntax.cs
Source:
LiteralExpressionSyntax.cs
Source:
LiteralExpressionSyntax.cs
Source:
LiteralExpressionSyntax.cs
Source:
LiteralExpressionSyntax.cs
Source:
LiteralExpressionSyntax.cs
Source:
LiteralExpressionSyntax.cs
Source:
LiteralExpressionSyntax.cs

Creates a new LiteralExpressionSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::LiteralExpressionSyntax ^ LiteralExpression(Microsoft::CodeAnalysis::CSharp::SyntaxKind kind);
public static Microsoft.CodeAnalysis.CSharp.Syntax.LiteralExpressionSyntax LiteralExpression (Microsoft.CodeAnalysis.CSharp.SyntaxKind kind);
static member LiteralExpression : Microsoft.CodeAnalysis.CSharp.SyntaxKind -> Microsoft.CodeAnalysis.CSharp.Syntax.LiteralExpressionSyntax
Public Shared Function LiteralExpression (kind As SyntaxKind) As LiteralExpressionSyntax

Parameters

kind
SyntaxKind

Returns

Applies to

LiteralExpression(SyntaxKind, SyntaxToken)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs

Creates a new LiteralExpressionSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::LiteralExpressionSyntax ^ LiteralExpression(Microsoft::CodeAnalysis::CSharp::SyntaxKind kind, Microsoft::CodeAnalysis::SyntaxToken token);
public static Microsoft.CodeAnalysis.CSharp.Syntax.LiteralExpressionSyntax LiteralExpression (Microsoft.CodeAnalysis.CSharp.SyntaxKind kind, Microsoft.CodeAnalysis.SyntaxToken token);
static member LiteralExpression : Microsoft.CodeAnalysis.CSharp.SyntaxKind * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.LiteralExpressionSyntax
Public Shared Function LiteralExpression (kind As SyntaxKind, token As SyntaxToken) As LiteralExpressionSyntax

Parameters

kind
SyntaxKind
token
SyntaxToken

Returns

Applies to