4 references to UnwrapEmbeddedStatement
Microsoft.CodeAnalysis.CSharp.Features (4)
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpCollectionExpressionRewriter.cs (4)
507var trueStatement = (ExpressionStatementSyntax)UnwrapEmbeddedStatement(ifStatement.Statement); 522var falseStatement = (ExpressionStatementSyntax)UnwrapEmbeddedStatement(ifStatement.Else.Statement); 787yield return UnwrapEmbeddedStatement(ifStatement.Statement); 789yield return UnwrapEmbeddedStatement(ifStatement.Else.Statement);