8 references to IsExpressionStatement
Microsoft.CodeAnalysis.CodeStyle (7)
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))
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))