203 references to BaseMethodDeclarationSyntax
ILLink.CodeFixProvider (1)
BaseAttributeCodeFixProvider.cs (1)
114 case LocalFunctionStatementSyntax or BaseMethodDeclarationSyntax or AccessorDeclarationSyntax when targets.HasFlag (AttributeableParentTargets.MethodOrConstructor):
Microsoft.Analyzers.Extra (1)
CallAnalysis\Fixers\LegacyLoggingFixer.cs (1)
45internal Func<SemanticModel, BaseMethodDeclarationSyntax, CancellationToken, IMethodSymbol?> GetDeclaredSymbol = (sm, m, t) => sm.GetDeclaredSymbol(m, t);
Microsoft.AspNetCore.App.CodeFixes (2)
RouteParameterUnusedParameterFixer.cs (2)
92BaseMethodDeclarationSyntax declaredMethodSyntax => AddParameter(declaredMethodSyntax, newParameter, routeParameterInsertIndex), 102private static SyntaxNode AddParameter(BaseMethodDeclarationSyntax syntax, ParameterSyntax parameterSyntax, int parameterIndex)
Microsoft.CodeAnalysis.CSharp (44)
Binder\Binder.CapturedParametersFinder.cs (1)
124case BaseMethodDeclarationSyntax s:
Binder\Binder_Statements.cs (2)
3551BaseMethodDeclarationSyntax => MessageID.IDS_FeatureExpressionBodiedMethod, 3626case BaseMethodDeclarationSyntax method:
Binder\BinderFactory.BinderFactoryVisitor.cs (4)
330private Binder VisitOperatorOrConversionDeclaration(BaseMethodDeclarationSyntax parent) 459private static string GetMethodName(BaseMethodDeclarationSyntax baseMethodDeclarationSyntax, Binder outerBinder) 507private SourceMemberMethodSymbol GetMethodSymbol(BaseMethodDeclarationSyntax baseMethodDeclarationSyntax, Binder outerBinder) 1240if (memberSyntax is BaseMethodDeclarationSyntax { ParameterList: { ParameterCount: > 0 } } baseMethodDeclSyntax)
Compilation\AttributeSemanticModel.cs (1)
158internal override bool TryGetSpeculativeSemanticModelForMethodBodyCore(SyntaxTreeSemanticModel parentModel, int position, BaseMethodDeclarationSyntax method, out PublicSemanticModel? speculativeModel)
Compilation\CSharpSemanticModel.cs (3)
2509public bool TryGetSpeculativeSemanticModelForMethodBody(int position, BaseMethodDeclarationSyntax method, out SemanticModel speculativeModel) 2517internal abstract bool TryGetSpeculativeSemanticModelForMethodBodyCore(SyntaxTreeSemanticModel parentModel, int position, BaseMethodDeclarationSyntax method, out PublicSemanticModel speculativeModel); 3006public abstract IMethodSymbol GetDeclaredSymbol(BaseMethodDeclarationSyntax declarationSyntax, CancellationToken cancellationToken = default(CancellationToken));
Compilation\InitializerSemanticModel.cs (1)
241internal override bool TryGetSpeculativeSemanticModelForMethodBodyCore(SyntaxTreeSemanticModel parentModel, int position, BaseMethodDeclarationSyntax method, out PublicSemanticModel speculativeModel)
Compilation\MemberSemanticModel.cs (1)
638public override IMethodSymbol GetDeclaredSymbol(BaseMethodDeclarationSyntax declarationSyntax, CancellationToken cancellationToken = default(CancellationToken))
Compilation\MemberSemanticModel.SpeculativeMemberSemanticModel.cs (1)
90internal override bool TryGetSpeculativeSemanticModelForMethodBodyCore(SyntaxTreeSemanticModel parentModel, int position, BaseMethodDeclarationSyntax method, out PublicSemanticModel speculativeModel)
Compilation\MethodBodySemanticModel.cs (1)
158internal override bool TryGetSpeculativeSemanticModelForMethodBodyCore(SyntaxTreeSemanticModel parentModel, int position, BaseMethodDeclarationSyntax method, out PublicSemanticModel speculativeModel)
Compilation\PublicSemanticModel.cs (1)
38BaseMethodDeclarationSyntax or
Compilation\SpeculativeSemanticModelWithMemberModel.cs (2)
295public override IMethodSymbol GetDeclaredSymbol(BaseMethodDeclarationSyntax declarationSyntax, CancellationToken cancellationToken = default(CancellationToken)) 545internal override bool TryGetSpeculativeSemanticModelForMethodBodyCore(SyntaxTreeSemanticModel parentModel, int position, BaseMethodDeclarationSyntax method, out PublicSemanticModel? speculativeModel)
Compilation\SyntaxTreeSemanticModel.cs (7)
178case BaseMethodDeclarationSyntax method: 644internal sealed override bool TryGetSpeculativeSemanticModelForMethodBodyCore(SyntaxTreeSemanticModel parentModel, int position, BaseMethodDeclarationSyntax method, out PublicSemanticModel speculativeModel) 822var methodDecl = (BaseMethodDeclarationSyntax)memberDecl; 856var methodDecl = (BaseMethodDeclarationSyntax)memberDecl; 1506public override IMethodSymbol GetDeclaredSymbol(BaseMethodDeclarationSyntax declarationSyntax, CancellationToken cancellationToken = default(CancellationToken))
Compiler\MethodCompiler.cs (2)
1986case BaseMethodDeclarationSyntax: 2007case BaseMethodDeclarationSyntax s:
Compiler\UnprocessedDocumentationCommentFinder.cs (1)
66node is BaseMethodDeclarationSyntax ||
CSharpExtensions.cs (2)
1112public static bool TryGetSpeculativeSemanticModelForMethodBody([NotNullWhen(true)] this SemanticModel? semanticModel, int position, BaseMethodDeclarationSyntax method, [NotNullWhen(true)] out SemanticModel? speculativeModel) 1409public static IMethodSymbol? GetDeclaredSymbol(this SemanticModel? semanticModel, BaseMethodDeclarationSyntax declarationSyntax, CancellationToken cancellationToken = default(CancellationToken))
Lowering\Instrumentation\DebugInfoInjector.cs (1)
200if (parent == null || !(parent.IsAnonymousFunction() || parent is BaseMethodDeclarationSyntax))
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (2)
278var t = (BaseMethodDeclarationSyntax)node;
Symbols\Source\SourceMemberMethodSymbol.cs (1)
715case BaseMethodDeclarationSyntax method:
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
49case BaseMethodDeclarationSyntax method:
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (2)
125protected static DeclarationModifiers MakeDeclarationModifiers(MethodKind methodKind, bool inInterface, BaseMethodDeclarationSyntax syntax, Location location, BindingDiagnosticBag diagnostics) 219protected (TypeWithAnnotations ReturnType, ImmutableArray<ParameterSymbol> Parameters) MakeParametersAndBindReturnType(BaseMethodDeclarationSyntax declarationSyntax, TypeSyntax returnTypeSyntax, BindingDiagnosticBag diagnostics)
Syntax\LookupPosition.cs (3)
77internal static bool IsInBody(int position, BaseMethodDeclarationSyntax method) 117internal static bool IsInParameterList(int position, BaseMethodDeclarationSyntax methodDecl) 126internal static bool IsInMethodDeclaration(int position, BaseMethodDeclarationSyntax methodDecl)
Syntax\SyntaxExtensions.cs (1)
36arrowExpr = ((BaseMethodDeclarationSyntax)node).ExpressionBody;
Syntax\SyntaxFacts.cs (3)
513internal static bool HasAnyBody(this BaseMethodDeclarationSyntax declaration) 518internal static bool IsExpressionBodied(this BaseMethodDeclarationSyntax declaration) 523internal static bool IsVarArg(this BaseMethodDeclarationSyntax declaration)
Microsoft.CodeAnalysis.CSharp.CodeStyle (18)
src\Analyzers\CSharp\Analyzers\RemoveUnusedParametersAndValues\CSharpRemoveUnusedParametersAndValuesDiagnosticAnalyzer.cs (1)
40if (node is not BaseMethodDeclarationSyntax methodSyntax)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.cs (4)
167=> memberDeclaration is BaseMethodDeclarationSyntax; 172BaseMethodDeclarationSyntax method => method.Body, 179BaseMethodDeclarationSyntax method => method.ExpressionBody, 186=> (memberDeclaration as BaseMethodDeclarationSyntax)?.WithBody(body);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (2)
148BaseMethodDeclarationSyntax methodDeclaration => methodDeclaration.ParameterList, 349case BaseMethodDeclarationSyntax or IndexerDeclarationSyntax or EventDeclarationSyntax:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\ElasticTriviaFormattingRule.cs (3)
236if (previousMember is BaseMethodDeclarationSyntax previousMethod) 238var nextMethod = (BaseMethodDeclarationSyntax)nextMember;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\WrappingFormattingRule.cs (1)
160if (node is BaseMethodDeclarationSyntax methodDeclaration && methodDeclaration.Body != null)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SemanticFacts\CSharpSemanticFacts.cs (2)
119if (oldNode is not BaseMethodDeclarationSyntax oldMethod || newNode is not BaseMethodDeclarationSyntax newMethod || oldMethod.Body == null)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (5)
258return node.Parent is BaseMethodDeclarationSyntax or 700=> GetContainingMemberDeclaration<BaseMethodDeclarationSyntax>(root, position, useFullSpan); 735return node is BaseMethodDeclarationSyntax or 960if (member is BaseMethodDeclarationSyntax method) 980case BaseMethodDeclarationSyntax method:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (4)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (4)
481if (destinationMember is BaseMethodDeclarationSyntax methodDeclaration) 568TDeclarationNode destinationMember, IEnumerable<SyntaxNode> statements, BaseMethodDeclarationSyntax baseMethodDeclaration) where TDeclarationNode : SyntaxNode 580var finalMember = baseMethodDeclaration 721BaseMethodDeclarationSyntax methodDeclaration => Cast<TDeclarationNode>(methodDeclaration.WithModifiers(computeNewModifiersList(methodDeclaration.Modifiers))),
Microsoft.CodeAnalysis.CSharp.EditorFeatures (10)
AutomaticCompletion\AutomaticLineEnderCommandHandler.cs (3)
180BaseMethodDeclarationSyntax => SyntaxFactory.ParseCompilationUnit(WrapInType(textToParse), options: (CSharpParseOptions)tree.Options), 327or BaseMethodDeclarationSyntax 403or BaseMethodDeclarationSyntax
AutomaticCompletion\AutomaticLineEnderCommandHandler_Helpers.cs (6)
466BaseMethodDeclarationSyntax baseMethodDeclarationNode => ShouldAddBraceForBaseMethodDeclaration(baseMethodDeclarationNode, caretPosition), 509private static bool ShouldAddBraceForBaseMethodDeclaration(BaseMethodDeclarationSyntax baseMethodDeclarationNode, int caretPosition) 747if (node is BaseMethodDeclarationSyntax { Body: { } baseMethodBody }) 876BaseMethodDeclarationSyntax baseMethodDeclarationNode => AddBlockToBaseMethodDeclaration(baseMethodDeclarationNode, formattingOptions), 903private static BaseMethodDeclarationSyntax AddBlockToBaseMethodDeclaration( 904BaseMethodDeclarationSyntax baseMethodDeclarationNode,
InlineRename\CSharpEditorInlineRenameService.cs (1)
82await TryGetSurroundingNodeSpanAsync<BaseMethodDeclarationSyntax>(renameLocation.Document, renameLocation.TextSpan, cancellationToken).ConfigureAwait(false) ??
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
SymbolKey\SymbolKeyTestBase.cs (2)
131if (node is BaseMethodDeclarationSyntax baseMethod) 299if (node is BaseMethodDeclarationSyntax baseMethod)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Diagnostics\GetDiagnosticsTests.cs (1)
1024else if (node.FirstAncestorOrSelf<BaseMethodDeclarationSyntax>() is { } baseMethodDecl)
Semantics\PatternMatchingTests3.cs (2)
1611var node1 = tree.GetRoot().DescendantNodes().OfType<BaseMethodDeclarationSyntax>().Single();
Microsoft.CodeAnalysis.CSharp.Features (23)
CodeRefactorings\InlineMethod\CSharpInlineMethodRefactoringProvider.cs (2)
20: AbstractInlineMethodRefactoringProvider<BaseMethodDeclarationSyntax, StatementSyntax, ExpressionSyntax, InvocationExpressionSyntax> 29protected override ExpressionSyntax? GetRawInlineExpression(BaseMethodDeclarationSyntax methodDeclarationSyntax)
Completion\CompletionProviders\DeclarationName\DeclarationNameRecommender.cs (2)
289if (parameterSyntax is not { Type: { } parameterType, Parent.Parent: BaseMethodDeclarationSyntax baseMethod }) 317static ImmutableArray<IMethodSymbol> GetOverloads(INamedTypeSymbol namedType, BaseMethodDeclarationSyntax baseMethod)
Copilot\CSharpCopilotCodeFixProvider.cs (1)
109if (memberDeclaration is null || memberDeclaration is not BaseMethodDeclarationSyntax baseMethodDeclaration || baseMethodDeclaration.GetDiagnostics().Count() > 3)
EditAndContinue\BreakpointSpans.cs (2)
177var methodDeclaration = (BaseMethodDeclarationSyntax)node;
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (2)
67/// <see cref="BaseMethodDeclarationSyntax"/> for methods, operators, constructors, destructors and accessors. 397BaseMethodDeclarationSyntax method => method.Body ?? (SyntaxNode?)method.ExpressionBody!,
EditAndContinue\SyntaxComparer.cs (1)
769case BaseMethodDeclarationSyntax baseMethodDeclarationSyntax: return baseMethodDeclarationSyntax.Body ?? (SyntaxNode?)baseMethodDeclarationSyntax.ExpressionBody?.Expression;
ExtractMethod\CSharpMethodExtractor.cs (1)
95if (currentNode is BaseMethodDeclarationSyntax)
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.cs (1)
732BaseMethodDeclarationSyntax _ => true,
ExtractMethod\CSharpSelectionResult.StatementResult.cs (1)
54BaseMethodDeclarationSyntax or
ExtractMethod\Extensions.cs (2)
45case BaseMethodDeclarationSyntax m: return m.Body; 67if (n is BaseMethodDeclarationSyntax or
InitializeParameter\InitializeParameterHelpers.cs (3)
27=> node is BaseMethodDeclarationSyntax 34BaseMethodDeclarationSyntax methodDeclaration => (SyntaxNode?)methodDeclaration.Body ?? methodDeclaration.ExpressionBody!, 43BaseMethodDeclarationSyntax methodDeclaration => methodDeclaration.SemicolonToken,
IntroduceVariable\CSharpIntroduceVariableService_IntroduceLocal.cs (1)
269case BaseMethodDeclarationSyntax baseMethod:
NavigationBar\CSharpNavigationBarItemService.cs (1)
151if (node is BaseMethodDeclarationSyntax or
src\Analyzers\CSharp\Analyzers\RemoveUnusedParametersAndValues\CSharpRemoveUnusedParametersAndValuesDiagnosticAnalyzer.cs (1)
40if (node is not BaseMethodDeclarationSyntax methodSyntax)
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (2)
278var t = (BaseMethodDeclarationSyntax)node;
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (3)
EditAndContinue\Helpers\EditingTestBase.cs (3)
207var declaration = (BaseMethodDeclarationSyntax)((ClassDeclarationSyntax)((CompilationUnitSyntax)root).Members[0]).Members[0]; 219? ((BaseMethodDeclarationSyntax)SyntaxFactory.SyntaxTree(declaration).GetRoot()).Body
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (44)
IOperation\IOperationTests_IMethodBodyOperation.cs (44)
35var node1 = tree.GetRoot().DescendantNodes().OfType<BaseMethodDeclarationSyntax>().Single(); 56var node1 = tree.GetRoot().DescendantNodes().OfType<BaseMethodDeclarationSyntax>().Single(); 109var node1 = tree.GetRoot().DescendantNodes().OfType<BaseMethodDeclarationSyntax>().Single(); 171var node1 = tree.GetRoot().DescendantNodes().OfType<BaseMethodDeclarationSyntax>().Single(); 243var node1 = tree.GetRoot().DescendantNodes().OfType<BaseMethodDeclarationSyntax>().Single(); 285var node1 = tree.GetRoot().DescendantNodes().OfType<BaseMethodDeclarationSyntax>().Single(); 333var node1 = tree.GetRoot().DescendantNodes().OfType<BaseMethodDeclarationSyntax>().Single(); 400var node1 = tree.GetRoot().DescendantNodes().OfType<BaseMethodDeclarationSyntax>().Single(); 444var node1 = tree.GetRoot().DescendantNodes().OfType<BaseMethodDeclarationSyntax>().First(); 506var node1 = tree.GetRoot().DescendantNodes().OfType<BaseMethodDeclarationSyntax>().First(); 562var node1 = tree.GetRoot().DescendantNodes().OfType<BaseMethodDeclarationSyntax>().Single(); 581var node1 = tree.GetRoot().DescendantNodes().OfType<BaseMethodDeclarationSyntax>().Single(); 613var node1 = tree.GetRoot().DescendantNodes().OfType<BaseMethodDeclarationSyntax>().Single(); 657var node1 = tree.GetRoot().DescendantNodes().OfType<BaseMethodDeclarationSyntax>().Single(); 704var node1 = tree.GetRoot().DescendantNodes().OfType<BaseMethodDeclarationSyntax>().Single(); 723var node1 = tree.GetRoot().DescendantNodes().OfType<BaseMethodDeclarationSyntax>().Single(); 755var node1 = tree.GetRoot().DescendantNodes().OfType<BaseMethodDeclarationSyntax>().Single(); 799var node1 = tree.GetRoot().DescendantNodes().OfType<BaseMethodDeclarationSyntax>().Single(); 846var node1 = tree.GetRoot().DescendantNodes().OfType<BaseMethodDeclarationSyntax>().Single(); 865var node1 = tree.GetRoot().DescendantNodes().OfType<BaseMethodDeclarationSyntax>().Single(); 897var node1 = tree.GetRoot().DescendantNodes().OfType<BaseMethodDeclarationSyntax>().Single(); 938var node1 = tree.GetRoot().DescendantNodes().OfType<BaseMethodDeclarationSyntax>().Single();
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
CompilationTestUtils.cs (2)
464var annotationsByMethod = allAnnotations.GroupBy(annotation => annotation.Expression.Ancestors().OfType<BaseMethodDeclarationSyntax>().First()).ToArray(); 467var methodSyntax = annotations.Key;
Microsoft.CodeAnalysis.CSharp.Workspaces (26)
CodeGeneration\CSharpSyntaxGenerator.cs (2)
652var method = (BaseMethodDeclarationSyntax)declaration;
SemanticModelReuse\CSharpSemanticModelReuseLanguageService.cs (3)
45if (current is BaseMethodDeclarationSyntax baseMethod) 57if (previousBodyNode is BaseMethodDeclarationSyntax previousBaseMethod && 58currentBodyNode is BaseMethodDeclarationSyntax currentBaseMethod &&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.cs (4)
167=> memberDeclaration is BaseMethodDeclarationSyntax; 172BaseMethodDeclarationSyntax method => method.Body, 179BaseMethodDeclarationSyntax method => method.ExpressionBody, 186=> (memberDeclaration as BaseMethodDeclarationSyntax)?.WithBody(body);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (2)
148BaseMethodDeclarationSyntax methodDeclaration => methodDeclaration.ParameterList, 349case BaseMethodDeclarationSyntax or IndexerDeclarationSyntax or EventDeclarationSyntax:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\ElasticTriviaFormattingRule.cs (3)
236if (previousMember is BaseMethodDeclarationSyntax previousMethod) 238var nextMethod = (BaseMethodDeclarationSyntax)nextMember;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\WrappingFormattingRule.cs (1)
160if (node is BaseMethodDeclarationSyntax methodDeclaration && methodDeclaration.Body != null)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SemanticFacts\CSharpSemanticFacts.cs (2)
119if (oldNode is not BaseMethodDeclarationSyntax oldMethod || newNode is not BaseMethodDeclarationSyntax newMethod || oldMethod.Body == null)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (5)
258return node.Parent is BaseMethodDeclarationSyntax or 700=> GetContainingMemberDeclaration<BaseMethodDeclarationSyntax>(root, position, useFullSpan); 735return node is BaseMethodDeclarationSyntax or 960if (member is BaseMethodDeclarationSyntax method) 980case BaseMethodDeclarationSyntax method:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationService.cs (4)
481if (destinationMember is BaseMethodDeclarationSyntax methodDeclaration) 568TDeclarationNode destinationMember, IEnumerable<SyntaxNode> statements, BaseMethodDeclarationSyntax baseMethodDeclaration) where TDeclarationNode : SyntaxNode 580var finalMember = baseMethodDeclaration 721BaseMethodDeclarationSyntax methodDeclaration => Cast<TDeclarationNode>(methodDeclaration.WithModifiers(computeNewModifiersList(methodDeclaration.Modifiers))),
Microsoft.CodeAnalysis.UnitTests (2)
Diagnostics\OperationTests.cs (2)
277var methodBodySyntax = tree.GetCompilationUnitRoot().DescendantNodes().OfType<BaseMethodDeclarationSyntax>().Last();
Microsoft.VisualStudio.LanguageServices.CSharp (18)
CodeModel\CSharpCodeModelService.CodeModelEventCollector.cs (5)
250else if (oldMember is BaseMethodDeclarationSyntax baseMethod) 252return CompareMethodDeclarations(baseMethod, (BaseMethodDeclarationSyntax)newMember, newNodeParent, eventQueue); 410BaseMethodDeclarationSyntax oldMethod, 411BaseMethodDeclarationSyntax newMethod, 828private static TypeSyntax GetReturnType(BaseMethodDeclarationSyntax method)
CodeModel\CSharpCodeModelService.cs (6)
311else if (parent is BaseMethodDeclarationSyntax baseMethod) 1114BaseMethodDeclarationSyntax or 1452if (parentNode is BaseMethodDeclarationSyntax baseMethod) 2416Debug.Assert(memberNode is BaseMethodDeclarationSyntax or 2457Debug.Assert(memberNode is BaseMethodDeclarationSyntax or 3472if (container is BaseMethodDeclarationSyntax method)
CodeModel\CSharpCodeModelService.NodeLocator.cs (4)
55return GetStartPoint(text, options, (BaseMethodDeclarationSyntax)node, part); 106return GetEndPoint(text, (BaseMethodDeclarationSyntax)node, part); 353private static VirtualTreePoint GetStartPoint(SourceText text, LineFormattingOptions options, BaseMethodDeclarationSyntax node, EnvDTE.vsCMPart part) 921private static VirtualTreePoint GetEndPoint(SourceText text, BaseMethodDeclarationSyntax node, EnvDTE.vsCMPart part)
CodeModel\CSharpCodeModelService_Prototype.cs (2)
55case BaseMethodDeclarationSyntax methodDeclaration: 160private string GetFunctionPrototype(BaseMethodDeclarationSyntax node, IMethodSymbol symbol, PrototypeFlags flags)
CodeModel\SyntaxNodeExtensions.cs (1)
26else if (node is BaseMethodDeclarationSyntax baseMethod)