File tree Expand file tree Collapse file tree
src/ImmutableObjectGraph.Generation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -570,13 +570,13 @@ protected MethodDeclarationSyntax CreateGetHashCodeMethod()
570570 . WithBody ( SyntaxFactory . Block (
571571 // return this.greenNode?.GetHashCode() ?? 0;
572572 SyntaxFactory . ReturnStatement ( SyntaxFactory . BinaryExpression (
573- SyntaxKind . CoalesceExpression ,
574- SyntaxFactory . InvocationExpression (
575- SyntaxFactory . ConditionalAccessExpression (
576- Syntax . ThisDot ( GreenNodeFieldName ) ,
577- SyntaxFactory . MemberBindingExpression ( SyntaxFactory . IdentifierName ( nameof ( GetHashCode ) ) ) ) ,
578- SyntaxFactory . ArgumentList ( ) ) ,
579- SyntaxFactory . LiteralExpression ( SyntaxKind . NumericLiteralExpression , SyntaxFactory . Literal ( 0 ) ) ) ) ) ) ;
573+ SyntaxKind . CoalesceExpression ,
574+ SyntaxFactory . ConditionalAccessExpression (
575+ Syntax . ThisDot ( GreenNodeFieldName ) ,
576+ SyntaxFactory . InvocationExpression (
577+ SyntaxFactory . MemberBindingExpression (
578+ SyntaxFactory . IdentifierName ( nameof ( GetHashCode ) ) ) ) ) ,
579+ SyntaxFactory . LiteralExpression ( SyntaxKind . NumericLiteralExpression , SyntaxFactory . Literal ( 0 ) ) ) ) ) ) ;
580580 }
581581
582582 protected MethodDeclarationSyntax CreateEqualsRootedStructMethod ( )
You can’t perform that action at this time.
0 commit comments