2 interfaces inheriting from IMethodBodyBaseOperation
Microsoft.CodeAnalysis (2)
Generated\Operations.Generated.cs (2)
3028public interface IMethodBodyOperation : IMethodBodyBaseOperation 3049public interface IConstructorBodyOperation : IMethodBodyBaseOperation
1 implementation of IMethodBodyBaseOperation
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
8655internal abstract partial class BaseMethodBodyBaseOperation : Operation, IMethodBodyBaseOperation
12 references to IMethodBodyBaseOperation
ILLink.RoslynAnalyzer (2)
IOperationExtensions.cs (1)
263 case IMethodBodyBaseOperation:
RequiresAnalyzerBase.cs (1)
213 case IMethodBodyBaseOperation when targets.HasFlag (DiagnosticTargets.MethodOrConstructor):
Microsoft.AspNetCore.Mvc.Api.Analyzers (5)
ActualApiResponseMetadataFactory.cs (3)
17/// Given an <see cref="IMethodBodyBaseOperation"/> for an action, this method inspects return statements in the body. 24IMethodBodyBaseOperation methodBody, 293private static IEnumerable<IReturnOperation> GetReturnStatements(IMethodBodyBaseOperation method)
AddResponseTypeAttributeCodeFixAction.cs (2)
171var operation = (IMethodBodyBaseOperation)context.SemanticModel.GetOperation(context.MethodSyntax, context.CancellationToken);
Microsoft.CodeAnalysis (1)
Operations\ControlFlowGraphBuilder.cs (1)
1505private void VisitMethodBodyBaseOperation(IMethodBodyBaseOperation operation)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (1)
1121private static IBlockOperation? GetBlockOfMethodBody(IMethodBodyBaseOperation body)
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (1)
1121private static IBlockOperation? GetBlockOfMethodBody(IMethodBodyBaseOperation body)
Mvc.Api.Analyzers.Test (2)
ActualApiResponseMetadataFactoryTest.cs (2)
375var methodOperation = (IMethodBodyBaseOperation)compilation.GetSemanticModel(syntaxTree).GetOperation(methodSyntax);