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