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)
134
if (
_syntaxFacts
.IsAwaitExpression(inlineExpression))
156
inlineExpression =
_syntaxFacts
.GetExpressionOfAwaitExpression(inlineExpression) as TExpressionSyntax;
165
if (
_syntaxFacts
.IsThrowStatement(inlineExpression.Parent) ||
_syntaxFacts
.IsThrowExpression(inlineExpression))
204
&& !
_syntaxFacts
.IsExpressionStatement(calleeInvocationNode.Parent))
317
.TakeWhile(node => !
_syntaxFacts
.IsAnonymousFunctionExpression(node) && !
_syntaxFacts
.IsLocalFunctionStatement(node))
400
statement.WithAppendedTrailingTrivia(
_syntaxFacts
.ElasticCarriageReturnLineFeed));
433
var rightHandSideValue =
_syntaxFacts
.GetRightHandSideOfAssignment(inlineMethodContext.InlineExpression);
440
if (
_syntaxFacts
.IsThrowStatement(rawInlineExpression.Parent)
441
&&
_syntaxFacts
.IsExpressionStatement(calleeInvocationNode.Parent))
448
if (
_syntaxFacts
.IsThrowExpression(rawInlineExpression)
449
&&
_syntaxFacts
.IsExpressionStatement(calleeInvocationNode.Parent))
460
.ThrowStatement(
_syntaxFacts
.GetExpressionOfThrowExpression(inlineMethodContext.InlineExpression));
464
if (
_syntaxFacts
.IsExpressionStatement(calleeInvocationNode.Parent)
504
if (
_syntaxFacts
.IsThrowStatement(rawInlineExpression.Parent))
524
if (!
_syntaxFacts
.IsExpressionStatement(calleeInvocationNode.Parent)
526
&& !
_syntaxFacts
.IsThrowExpression(inlineMethodContext.InlineExpression))
590
if (
_syntaxFacts
.IsAnonymousFunctionExpression(node))