16 references to _generator
Microsoft.CodeAnalysis.Features (16)
IntroduceParameter\IntroduceParameterDocumentRewriter.cs (16)
224var editor = new SyntaxEditor(root, _generator);
261? await ExtractMethodAsync(validParameters, newMethodIdentifier, _generator, cancellationToken).ConfigureAwait(false)
262: await GenerateNewMethodOverloadAsync(insertionIndex, _generator, cancellationToken).ConfigureAwait(false);
267var parameter = _generator.ParameterDeclaration(parameterName, _generator.TypeExpression(parameterType));
353var methodName = _generator.IdentifierName(newMethodIdentifier);
358methodName = _generator.MemberAccessExpression(receiverExpression, newMethodIdentifier);
362methodName = _generator.MemberBindingExpression(_generator.IdentifierName(newMethodIdentifier));
365return _generator.InvocationExpression(methodName, arguments);
485var editor = new SyntaxEditor(root, _generator);
492var expressionEditor = new SyntaxEditor(_expression, _generator);
528var parameter = _generator.ParameterDeclaration(name: parameterName, type:
529_generator.TypeExpression(parameterType));
576? (TArgumentSyntax)_generator.Argument(parameterName, RefKind.None, newArgumentExpression)
577: (TArgumentSyntax)_generator.Argument(newArgumentExpression);