1 override of LocalDeclarationStatement
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
3558
public override SyntaxNode
LocalDeclarationStatement
(SyntaxNode? type, string name, SyntaxNode? initializer, bool isConst)
3 references to LocalDeclarationStatement
Microsoft.CodeAnalysis.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Runtime\PreferConstCharOverConstUnitString.Fixer.cs (1)
85
SyntaxNode charSyntaxNode = generator.
LocalDeclarationStatement
(charTypeNode, localName, charLiteralExpressionNode, isConst: true);
Microsoft.CodeAnalysis.Workspaces (2)
Editing\SyntaxGenerator.cs (2)
1685
=>
LocalDeclarationStatement
(TypeExpression(type), name, initializer, isConst);
1691
=>
LocalDeclarationStatement
(type: (SyntaxNode?)null, name, initializer);