11 references to _methodSymbol
Microsoft.CodeAnalysis.Features (11)
IntroduceParameter\IntroduceParameterDocumentRewriter.cs (11)
141
foreach (var parameterSymbol in
_methodSymbol
.Parameters)
229
var validParameters =
_methodSymbol
.Parameters.Intersect(expressionParameterMap.Values).ToImmutableArray();
423
var arguments = generator.CreateArguments(
_methodSymbol
.Parameters);
427
var memberName =
_methodSymbol
.IsGenericMethod
428
? generator.GenericName(
_methodSymbol
.Name,
_methodSymbol
.TypeArguments)
429
: generator.IdentifierName(
_methodSymbol
.Name);
432
var newStatement =
_methodSymbol
.ReturnsVoid
447
? CodeGenerationSymbolFactory.CreateMethodSymbol(
_methodSymbol
, name: newMethodIdentifier, parameters: validParameters, statements: [newStatement], returnType: typeSymbol)
448
: CodeGenerationSymbolFactory.CreateMethodSymbol(
_methodSymbol
, statements: [newStatement], containingType:
_methodSymbol
.ContainingType);