5 references to IsExpressionStatement
Microsoft.CodeAnalysis.CodeStyle (5)
src\Analyzers\Core\Analyzers\UseCollectionInitializer\UpdateExpressionState.cs (4)
348if (SyntaxFacts.IsExpressionStatement(statement)) 387@this.SyntaxFacts.IsExpressionStatement(childStatement) && 421@this.SyntaxFacts.IsExpressionStatement(trueChildStatement) && 440@this.SyntaxFacts.IsExpressionStatement(falseChildStatement) &&
src\Analyzers\Core\Analyzers\UseCollectionInitializer\UseCollectionInitializerHelpers.cs (1)
28if (syntaxFacts.IsExpressionStatement(match))