16 references to IsExpressionStatement
Microsoft.CodeAnalysis.Features (14)
InlineMethod\AbstractInlineMethodRefactoringProvider.cs (5)
204&& !_syntaxFacts.IsExpressionStatement(calleeInvocationNode.Parent)) 440&& _syntaxFacts.IsExpressionStatement(calleeInvocationNode.Parent)) 448&& _syntaxFacts.IsExpressionStatement(calleeInvocationNode.Parent)) 463if (_syntaxFacts.IsExpressionStatement(calleeInvocationNode.Parent) 523if (!_syntaxFacts.IsExpressionStatement(calleeInvocationNode.Parent)
InlineMethod\AbstractInlineMethodRefactoringProvider.MethodParametersInfo.cs (1)
487&& _syntaxFacts.IsExpressionStatement(calleInvocationNode.Parent)
IntroduceUsingStatement\AbstractIntroduceUsingStatementCodeRefactoringProvider.cs (1)
290if (!syntaxFacts.IsExpressionStatement(finallyStatement))
ReplaceConditionalWithStatements\AbstractReplaceConditionalWithStatementsCodeRefactoringProvider.cs (1)
46syntaxFacts.IsExpressionStatement(statement) ||
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\Analyzers\Core\CodeFixes\RemoveUnusedParametersAndValues\AbstractRemoveUnusedValuesCodeFixProvider.cs (1)
173!syntaxFacts.IsExpressionStatement(node.Parent))
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\RefactoringHelpers\AbstractRefactoringHelpers.cs (2)
482if (syntaxFacts.IsExpressionStatement(node)) 489if (syntaxFacts.IsExpressionStatement(node.Parent))