1 implementation of BlockBody
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
8663public IBlockOperation? BlockBody { get; }
13 references to BlockBody
Microsoft.AspNetCore.App.Analyzers (1)
RouteHandlers\RouteHandlerAnalyzer.cs (1)
150methodBody.BlockBody ?? methodBody.ExpressionBody,
Microsoft.CodeAnalysis (1)
Operations\ControlFlowGraphBuilder.cs (1)
1508VisitMethodBodies(operation.BlockBody, operation.ExpressionBody);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (2)
86methodSymbol, methodOperation.BlockBody ?? methodOperation.ExpressionBody); 1123=> body.BlockBody ?? body.ExpressionBody;
Microsoft.CodeAnalysis.CSharp.Features (2)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (2)
86methodSymbol, methodOperation.BlockBody ?? methodOperation.ExpressionBody); 1123=> body.BlockBody ?? body.ExpressionBody;
Microsoft.CodeAnalysis.Test.Utilities (7)
Compilation\OperationTreeVerifier.cs (2)
2097Visit(operation.BlockBody, "BlockBody"); 2105Visit(operation.BlockBody, "BlockBody");
Compilation\TestOperationVisitor.cs (5)
1643if (operation.BlockBody != null) 1645builder.Add(operation.BlockBody); 1662if (operation.BlockBody != null) 1666AssertEx.Equal(new[] { operation.BlockBody, operation.ExpressionBody }, operation.ChildOperations); 1670Assert.Same(operation.BlockBody, operation.ChildOperations.Single());