public static int OverwriteBody(BlockSyntax body, StringBuilder sb) { if (body.HasStatements()) { sb.Remove(body.Span.Start, body.Span.Length); sb.Insert(body.Span.Start, " => throw new System.NotImplementedException();"); return(1); } return(0); }