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