1 instantiation of CSharpSyntaxGeneratorInternal
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxGeneratorInternal.cs (1)
31
public static readonly SyntaxGeneratorInternal Instance = new
CSharpSyntaxGeneratorInternal
();
9 references to CSharpSyntaxGeneratorInternal
Microsoft.CodeAnalysis.CSharp.Workspaces (9)
CodeGeneration\CSharpSyntaxGenerator.cs (5)
45
=>
CSharpSyntaxGeneratorInternal
.Instance;
193
var modifiers =
CSharpSyntaxGeneratorInternal
.GetParameterModifiers(refKind);
3281
=>
CSharpSyntaxGeneratorInternal
.Parenthesize(expression, includeElasticTrivia, addSimplifierAnnotation);
3495
=>
CSharpSyntaxGeneratorInternal
.Instance.LocalDeclarationStatement(type, name.ToIdentifierToken(), initializer, isConst);
3500
CSharpSyntaxGeneratorInternal
.VariableDeclaration(type, name.ToIdentifierToken(), expression),
OrganizeImports\CSharpOrganizeImportsService.Rewriter.cs (1)
30
_newLineTrivia =
CSharpSyntaxGeneratorInternal
.Instance.EndOfLine(options.NewLine);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ParameterGenerator.cs (1)
79
var list =
CSharpSyntaxGeneratorInternal
.GetParameterModifiers(parameter.RefKind);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (2)
164
var parameters = symbol.Signature.Parameters.Select(p => (p.Type, RefKindModifiers:
CSharpSyntaxGeneratorInternal
.GetParameterModifiers(p.RefKind)))
167
RefKindModifiers:
CSharpSyntaxGeneratorInternal
.GetParameterModifiers(symbol.Signature.RefKind, forFunctionPointerReturnParameter: true))])