Fix code example in notes (#5215)

This commit is contained in:
Alireza Habibi 2021-09-23 19:01:23 +03:30 committed by GitHub
parent 38794f2c5b
commit 138765d6b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -101,8 +101,8 @@ of the LDM misinterpreted it as modifying the nested instance, rather than doing
if multiple properties on a nested instance need to be set. We have a couple of initial ideas:
```cs
methodCallExpression { Method with { Name = "MethodName", BaseType = "C" } }
methodCallExpression { Method = { Name = "MethodName", BaseType = "C" } } // more similar to nested object initializer?
methodCallExpression with { Method with { Name = "MethodName", BaseType = "C" } }
methodCallExpression with { Method = { Name = "MethodName", BaseType = "C" } } // more similar to nested object initializer?
```