8 references to IsThrowStatement
Microsoft.CodeAnalysis.Features (8)
AbstractUseCoalesceExpressionForIfNullCheckDiagnosticAnalyzer.cs (3)
84if (syntaxFacts.IsThrowStatement(whenTrueStatement)) 197if (syntaxFacts.IsThrowStatement(whenTrueStatement)) 243if (syntaxFacts.IsThrowStatement(whenTrueStatement))
InlineMethod\AbstractInlineMethodRefactoringProvider.cs (3)
165if (_syntaxFacts.IsThrowStatement(inlineExpression.Parent) || _syntaxFacts.IsThrowExpression(inlineExpression)) 440if (_syntaxFacts.IsThrowStatement(rawInlineExpression.Parent) 504if (_syntaxFacts.IsThrowStatement(rawInlineExpression.Parent))
ReplaceConditionalWithStatements\AbstractReplaceConditionalWithStatementsCodeRefactoringProvider.cs (1)
51syntaxFacts.IsThrowStatement(statement) ||
UseCoalesceExpressionForIfNullStatementCheckCodeFixProvider.cs (1)
70else if (syntaxFacts.IsThrowStatement(whenTrueStatement))