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