8 references to IsExpressionStatement
Microsoft.CodeAnalysis.CodeStyle (7)
src\Analyzers\Core\Analyzers\UseCollectionInitializer\UpdateExpressionState.cs (4)
337if (SyntaxFacts.IsExpressionStatement(statement)) 379@this.SyntaxFacts.IsExpressionStatement(childStatement) && 413@this.SyntaxFacts.IsExpressionStatement(trueChildStatement) && 432@this.SyntaxFacts.IsExpressionStatement(falseChildStatement) &&
src\Analyzers\Core\Analyzers\UseCollectionInitializer\UseCollectionInitializerHelpers.cs (1)
28if (syntaxFacts.IsExpressionStatement(match))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\RefactoringHelpers\AbstractRefactoringHelpers.cs (2)
482if (syntaxFacts.IsExpressionStatement(node)) 489if (syntaxFacts.IsExpressionStatement(node.Parent))
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Analyzers\Core\CodeFixes\RemoveUnusedParametersAndValues\AbstractRemoveUnusedValuesCodeFixProvider.cs (1)
173!syntaxFacts.IsExpressionStatement(node.Parent))