7 references to GetBlockOfMethodBody
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (7)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (7)
38
GetBlockOfMethodBody
(methodBodyOperation) is IBlockOperation
114
return
GetBlockOfMethodBody
(operation) is IBlockOperation
133
if (
GetBlockOfMethodBody
(operation) is not IBlockOperation
189
if (
GetBlockOfMethodBody
(operation) is not { Operations.Length: int opLength } ||
231
if (
GetBlockOfMethodBody
(operation) is not { Operations.Length: int opLength } ||
423
var body =
GetBlockOfMethodBody
(constructorOperation);
499
var body =
GetBlockOfMethodBody
(operation);