We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The 3rd part of this is way past the printWidth but doesn't break.
var member = expression switch { MemberExpression { Expression: Expression target, Member: MemberInfo propertyOrField } => new Member( expression, propertyOrField, target ), MethodCallExpression { Method: var instanceMethod, Object: Expression target } => new Member( expression, instanceMethod, target ), MethodCallExpression { Method: var extensionMethod, Arguments: { Count: > 0 } arguments } when extensionMethod.Has<ExtensionAttribute>() => new Member( expression, extensionMethod, arguments[0] ), _ => default };
The text was updated successfully, but these errors were encountered:
I believe the problem is more with the IsPattern, see
if ( !(node is PrefixUnaryExpressionSyntax { Operand: ParenthesizedExpressionSyntax { Expression: IsPatternExpressionSyntax { Pattern: DeclarationPatternSyntax, } isPattern, }, } notExpression) ) { return; }
Sorry, something went wrong.
This will hopefully be resolved in #154
The original issue was resolved with #382
No branches or pull requests
The 3rd part of this is way past the printWidth but doesn't break.
The text was updated successfully, but these errors were encountered: