79 references to GetGenerator
ILLink.CodeFixProvider (1)
BaseAttributeCodeFixProvider.cs (1)
70 var attributeArguments = GetAttributeArguments (attributableSymbol, targetSymbol, SyntaxGenerator.GetGenerator (document), diagnostic);
Microsoft.CodeAnalysis.CodeStyle.Fixes (5)
src\Analyzers\Core\CodeFixes\MakeMemberStatic\AbstractMakeMemberStaticCodeFixProvider.cs (1)
41var generator = SyntaxGenerator.GetGenerator(document);
src\Analyzers\Core\CodeFixes\SimplifyBooleanExpression\SimplifyConditionalCodeFixProvider.cs (1)
43var generator = SyntaxGenerator.GetGenerator(document);
src\Analyzers\Core\CodeFixes\UseConditionalExpression\AbstractUseConditionalExpressionCodeFixProvider.cs (1)
90var generator = SyntaxGenerator.GetGenerator(document);
src\Analyzers\Core\CodeFixes\UseSystemHashCode\UseSystemHashCodeCodeFixProvider.cs (1)
39var generator = SyntaxGenerator.GetGenerator(document);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (1)
324var gen = SyntaxGenerator.GetGenerator(document);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (5)
src\Analyzers\CSharp\CodeFixes\FixIncorrectConstraint\CSharpFixIncorrectConstraintCodeFixProvider.cs (1)
80var generator = SyntaxGenerator.GetGenerator(document);
src\Analyzers\CSharp\CodeFixes\MakeRefStruct\MakeRefStructCodeFixProvider.cs (1)
69var generator = SyntaxGenerator.GetGenerator(document);
src\Analyzers\CSharp\CodeFixes\ReplaceDefaultLiteral\CSharpReplaceDefaultLiteralCodeFixProvider.cs (1)
82var generator = SyntaxGenerator.GetGenerator(document);
src\Analyzers\CSharp\CodeFixes\UseIndexOrRangeOperator\CSharpUseRangeOperatorCodeFixProvider.cs (1)
52var syntaxGenerator = SyntaxGenerator.GetGenerator(document);
src\Analyzers\CSharp\CodeFixes\UseLocalFunction\CSharpUseLocalFunctionCodeFixProvider.cs (1)
193return SyntaxGenerator.GetGenerator(document).CastExpression(delegateType, reference);
Microsoft.CodeAnalysis.CSharp.Features (15)
AddImport\CSharpAddImportFeatureService.cs (3)
377var generator = SyntaxGenerator.GetGenerator(document); 394var generator = SyntaxGenerator.GetGenerator(document); 440var generator = SyntaxGenerator.GetGenerator(document);
ReplacePropertyWithMethods\CSharpReplacePropertyWithMethodsService.cs (1)
57SyntaxGenerator.GetGenerator(document), property,
Snippets\AbstractCSharpAutoPropertySnippetProvider.cs (1)
46var generator = SyntaxGenerator.GetGenerator(document);
Snippets\CSharpClassSnippetProvider.cs (1)
47var generator = SyntaxGenerator.GetGenerator(document);
Snippets\CSharpConstructorSnippetProvider.cs (1)
70var generator = SyntaxGenerator.GetGenerator(document);
Snippets\CSharpEnumSnippetProvider.cs (1)
44var generator = SyntaxGenerator.GetGenerator(document);
Snippets\CSharpInterfaceSnippetProvider.cs (1)
43var generator = SyntaxGenerator.GetGenerator(document);
Snippets\CSharpStructSnippetProvider.cs (1)
45var generator = SyntaxGenerator.GetGenerator(document);
src\Analyzers\CSharp\CodeFixes\FixIncorrectConstraint\CSharpFixIncorrectConstraintCodeFixProvider.cs (1)
80var generator = SyntaxGenerator.GetGenerator(document);
src\Analyzers\CSharp\CodeFixes\MakeRefStruct\MakeRefStructCodeFixProvider.cs (1)
69var generator = SyntaxGenerator.GetGenerator(document);
src\Analyzers\CSharp\CodeFixes\ReplaceDefaultLiteral\CSharpReplaceDefaultLiteralCodeFixProvider.cs (1)
82var generator = SyntaxGenerator.GetGenerator(document);
src\Analyzers\CSharp\CodeFixes\UseIndexOrRangeOperator\CSharpUseRangeOperatorCodeFixProvider.cs (1)
52var syntaxGenerator = SyntaxGenerator.GetGenerator(document);
src\Analyzers\CSharp\CodeFixes\UseLocalFunction\CSharpUseLocalFunctionCodeFixProvider.cs (1)
193return SyntaxGenerator.GetGenerator(document).CastExpression(delegateType, reference);
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
Formatting\FormattingTreeEditTests.cs (1)
38var g = SyntaxGenerator.GetGenerator(document);
Microsoft.CodeAnalysis.Features (44)
AddImport\References\Reference.cs (1)
89var generator = SyntaxGenerator.GetGenerator(document);
CodeRefactorings\AddAwait\AbstractAddAwaitCodeRefactoringProvider.cs (1)
114var generator = SyntaxGenerator.GetGenerator(document);
CodeRefactorings\SyncNamespace\AbstractChangeNamespaceService.cs (2)
402var generator = SyntaxGenerator.GetGenerator(document); 692var generator = SyntaxGenerator.GetGenerator(document);
CodeRefactorings\SyncNamespace\AbstractSyncNamespaceCodeRefactoringProvider.State.cs (1)
118var syntaxGenerator = SyntaxGenerator.GetGenerator(document);
Completion\Providers\AbstractAwaitCompletionProvider.cs (1)
107var makeContainerAsync = declaration is not null && !SyntaxGenerator.GetGenerator(document).GetModifiers(declaration).IsAsync;
Completion\Providers\ImportCompletionProvider\AbstractImportCompletionProvider.cs (1)
242var syntaxGenerator = SyntaxGenerator.GetGenerator(document);
ConvertAnonymousType\AbstractConvertAnonymousTypeToClassCodeRefactoringProvider.cs (2)
107var generator = SyntaxGenerator.GetGenerator(document); 247var generator = SyntaxGenerator.GetGenerator(document);
ConvertAnonymousType\AbstractConvertAnonymousTypeToTupleCodeRefactoringProvider.cs (1)
110var editor = new SyntaxEditor(root, SyntaxGenerator.GetGenerator(document));
ConvertForToForEach\AbstractConvertForToForEachCodeRefactoringProvider.cs (1)
321var generator = SyntaxGenerator.GetGenerator(document);
ConvertIfToSwitch\AbstractConvertIfToSwitchCodeRefactoringProvider.Rewriting.cs (1)
38var generator = SyntaxGenerator.GetGenerator(document);
ConvertNumericLiteral\AbstractConvertNumericLiteralCodeRefactoringProvider.cs (1)
123var generator = SyntaxGenerator.GetGenerator(document);
ConvertToInterpolatedString\AbstractConvertConcatenationToInterpolatedStringRefactoringProvider.cs (1)
126var generator = SyntaxGenerator.GetGenerator(document);
ConvertToInterpolatedString\ConvertRegularStringToInterpolatedStringRefactoringProvider.cs (1)
92var generator = SyntaxGenerator.GetGenerator(document);
ConvertTupleToStruct\AbstractConvertTupleToStructCodeRefactoringProvider.cs (2)
562var generator = SyntaxGenerator.GetGenerator(document); 815var generator = SyntaxGenerator.GetGenerator(document);
ExtractInterface\AbstractExtractInterfaceService.cs (1)
338var syntaxGenerator = SyntaxGenerator.GetGenerator(document);
GenerateOverrides\GenerateOverridesWithDialogCodeAction.cs (1)
66var generator = SyntaxGenerator.GetGenerator(_document);
InitializeParameter\AbstractAddParameterCheckCodeRefactoringProvider.cs (2)
143var generator = SyntaxGenerator.GetGenerator(document); 519var generator = SyntaxGenerator.GetGenerator(document);
InlineMethod\AbstractInlineMethodRefactoringProvider.cs (1)
376var syntaxGenerator = SyntaxGenerator.GetGenerator(document);
InlineMethod\AbstractInlineMethodRefactoringProvider.InlineContext.cs (1)
52var syntaxGenerator = SyntaxGenerator.GetGenerator(document);
InlineMethod\AbstractInlineMethodRefactoringProvider.MethodParametersInfo.cs (1)
165var syntaxGenerator = SyntaxGenerator.GetGenerator(document);
IntroduceVariable\AbstractIntroduceLocalForExpressionCodeRefactoringProvider.cs (1)
87var generator = SyntaxGenerator.GetGenerator(document);
IntroduceVariable\AbstractIntroduceVariableService.cs (1)
385var generator = SyntaxGenerator.GetGenerator(originalDocument.Document);
IntroduceVariable\AbstractIntroduceVariableService.State.cs (1)
211var generator = SyntaxGenerator.GetGenerator(document.Document);
InvertLogical\AbstractInvertLogicalCodeRefactoringProvider.cs (2)
105var generator = SyntaxGenerator.GetGenerator(document); 130var generator = SyntaxGenerator.GetGenerator(document);
ReplaceConditionalWithStatements\AbstractReplaceConditionalWithStatementsCodeRefactoringProvider.cs (2)
204var generator = SyntaxGenerator.GetGenerator(document); 229var generator = SyntaxGenerator.GetGenerator(document);
Shared\Utilities\ExtractTypeHelpers.cs (1)
125var syntaxGenerator = SyntaxGenerator.GetGenerator(document);
Snippets\SnippetProviders\AbstractConsoleSnippetProvider.cs (1)
42var generator = SyntaxGenerator.GetGenerator(document);
Snippets\SnippetProviders\AbstractInlineStatementSnippetProvider.cs (1)
68var statement = GenerateStatement(SyntaxGenerator.GetGenerator(document), syntaxContext, inlineExpressionInfo);
Snippets\SnippetProviders\AbstractLockSnippetProvider.cs (1)
17var generator = SyntaxGenerator.GetGenerator(document);
Snippets\SnippetProviders\AbstractMainMethodSnippetProvider.cs (1)
26var generator = SyntaxGenerator.GetGenerator(document);
src\Analyzers\Core\CodeFixes\MakeMemberStatic\AbstractMakeMemberStaticCodeFixProvider.cs (1)
41var generator = SyntaxGenerator.GetGenerator(document);
src\Analyzers\Core\CodeFixes\SimplifyBooleanExpression\SimplifyConditionalCodeFixProvider.cs (1)
43var generator = SyntaxGenerator.GetGenerator(document);
src\Analyzers\Core\CodeFixes\UseConditionalExpression\AbstractUseConditionalExpressionCodeFixProvider.cs (1)
90var generator = SyntaxGenerator.GetGenerator(document);
src\Analyzers\Core\CodeFixes\UseSystemHashCode\UseSystemHashCodeCodeFixProvider.cs (1)
39var generator = SyntaxGenerator.GetGenerator(document);
Wrapping\AbstractCodeActionComputer.cs (1)
74var generator = SyntaxGenerator.GetGenerator(document);
Wrapping\BinaryExpression\BinaryExpressionCodeActionComputer.cs (1)
57var generator = SyntaxGenerator.GetGenerator(document);
Wrapping\ChainedExpression\ChainedExpressionCodeActionComputer.cs (1)
77var generator = SyntaxGenerator.GetGenerator(document);
Wrapping\SeparatedSyntaxList\SeparatedSyntaxListCodeActionComputer.cs (1)
89var generator = SyntaxGenerator.GetGenerator(OriginalDocument);
Microsoft.CodeAnalysis.VisualBasic.Features (4)
AddImport\VisualBasicAddImportFeatureService.vb (2)
197Dim generator = SyntaxGenerator.GetGenerator(document) 297Dim generator = SyntaxGenerator.GetGenerator(document)
RemoveSharedFromModuleMembers\VisualBasicRemoveSharedFromModuleMembersCodeFixProvider.vb (1)
73Dim generator = SyntaxGenerator.GetGenerator(document)
ReplacePropertyWithMethods\VisualBasicReplacePropertyWithMethods.vb (1)
41SyntaxGenerator.GetGenerator(document), [property],
Microsoft.CodeAnalysis.Workspaces (2)
Editing\SymbolEditorExtensions.cs (1)
42var gen = SyntaxGenerator.GetGenerator(doc);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (1)
324var gen = SyntaxGenerator.GetGenerator(document);
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
VisualStudioMSBuildWorkspaceTests.cs (1)
2883var gen = Editing.SyntaxGenerator.GetGenerator(document);
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
SyntaxNodeTests.cs (1)
102var gen = SyntaxGenerator.GetGenerator(doc);