17 references to CreateMethodSymbol
Microsoft.CodeAnalysis.Features (10)
Completion\Providers\AbstractOverrideCompletionProvider.cs (1)
48
overriddenMember = CodeGenerationSymbolFactory.
CreateMethodSymbol
(methodSymbol, returnType: methodSymbol.ReturnType.WithNullableAnnotation(NullableAnnotation.NotAnnotated));
IntroduceParameter\IntroduceParameterDocumentRewriter.cs (2)
447
? CodeGenerationSymbolFactory.
CreateMethodSymbol
(_methodSymbol, name: newMethodIdentifier, parameters: validParameters, statements: [newStatement], returnType: typeSymbol)
448
: CodeGenerationSymbolFactory.
CreateMethodSymbol
(_methodSymbol, statements: [newStatement], containingType: _methodSymbol.ContainingType);
PullMemberUp\MembersPuller.cs (3)
88
: CodeGenerationSymbolFactory.
CreateMethodSymbol
(getterOrSetter, accessibility: Accessibility.Public);
180
return CodeGenerationSymbolFactory.
CreateMethodSymbol
(methodSymbol, modifiers: modifier);
452
return CodeGenerationSymbolFactory.
CreateMethodSymbol
(methodSymbol, modifiers: modifier);
src\Analyzers\Core\CodeFixes\ImplementAbstractClass\ImplementAbstractClassData.cs (1)
181
return CodeGenerationSymbolFactory.
CreateMethodSymbol
(
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_DisposePattern.cs (2)
168
return CodeGenerationSymbolFactory.
CreateMethodSymbol
(
217
var result = CodeGenerationSymbolFactory.
CreateMethodSymbol
(
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_Method.cs (1)
36
return CodeGenerationSymbolFactory.
CreateMethodSymbol
(
Microsoft.CodeAnalysis.Workspaces (7)
Shared\Extensions\SyntaxGeneratorExtensions.cs (4)
144
accessorGet = CodeGenerationSymbolFactory.
CreateMethodSymbol
(
156
accessorSet = CodeGenerationSymbolFactory.
CreateMethodSymbol
(
247
return CodeGenerationSymbolFactory.
CreateMethodSymbol
(
269
return CodeGenerationSymbolFactory.
CreateMethodSymbol
(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IMethodSymbolExtensions.cs (1)
160
return CodeGenerationSymbolFactory.
CreateMethodSymbol
(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (2)
87
return CodeGenerationSymbolFactory.
CreateMethodSymbol
(
96
return CodeGenerationSymbolFactory.
CreateMethodSymbol
(