Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
CyrusNajmabadi committed Sep 25, 2024
1 parent c69c5c5 commit 788d7e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public override bool TrySimplify(
replacementNode = null;
issueSpan = default;

if (expression is MemberAccessExpressionSyntax { Expression.RawKind: (int)SyntaxKind.ThisExpression } memberAccessExpression)
if (expression is MemberAccessExpressionSyntax { Expression: ThisExpressionSyntax } memberAccessExpression)
{
if (!MemberAccessExpressionSimplifier.Instance.ShouldSimplifyThisMemberAccessExpression(
memberAccessExpression, semanticModel, options, out _, out _, cancellationToken))
Expand Down

0 comments on commit 788d7e6

Please sign in to comment.