1 write to _syntaxFacts
Microsoft.CodeAnalysis.Features (1)
InlineMethod\AbstractInlineMethodRefactoringProvider.cs (1)
78_syntaxFacts = syntaxFacts;
19 references to _syntaxFacts
Microsoft.CodeAnalysis.Features (19)
InlineMethod\AbstractInlineMethodRefactoringProvider.cs (19)
134if (_syntaxFacts.IsAwaitExpression(inlineExpression)) 156inlineExpression = _syntaxFacts.GetExpressionOfAwaitExpression(inlineExpression) as TExpressionSyntax; 165if (_syntaxFacts.IsThrowStatement(inlineExpression.Parent) || _syntaxFacts.IsThrowExpression(inlineExpression)) 204&& !_syntaxFacts.IsExpressionStatement(calleeInvocationNode.Parent)) 317.TakeWhile(node => !_syntaxFacts.IsAnonymousFunctionExpression(node) && !_syntaxFacts.IsLocalFunctionStatement(node)) 400statement.WithAppendedTrailingTrivia(_syntaxFacts.ElasticCarriageReturnLineFeed)); 433var rightHandSideValue = _syntaxFacts.GetRightHandSideOfAssignment(inlineMethodContext.InlineExpression); 440if (_syntaxFacts.IsThrowStatement(rawInlineExpression.Parent) 441&& _syntaxFacts.IsExpressionStatement(calleeInvocationNode.Parent)) 448if (_syntaxFacts.IsThrowExpression(rawInlineExpression) 449&& _syntaxFacts.IsExpressionStatement(calleeInvocationNode.Parent)) 460.ThrowStatement(_syntaxFacts.GetExpressionOfThrowExpression(inlineMethodContext.InlineExpression)); 464if (_syntaxFacts.IsExpressionStatement(calleeInvocationNode.Parent) 504if (_syntaxFacts.IsThrowStatement(rawInlineExpression.Parent)) 524if (!_syntaxFacts.IsExpressionStatement(calleeInvocationNode.Parent) 526&& !_syntaxFacts.IsThrowExpression(inlineMethodContext.InlineExpression)) 590if (_syntaxFacts.IsAnonymousFunctionExpression(node))