Fix example in LDM-2020-01-06.md (#3090)
This commit is contained in:
Родитель
064e3b810a
Коммит
b750272482
|
@ -17,7 +17,7 @@ Examples:
|
|||
1.
|
||||
|
||||
```C#
|
||||
bool TryGetValue<T>([MaybeNullWhen(true)]out T t)
|
||||
bool TryGetValue<T>([MaybeNullWhen(false)]out T t)
|
||||
{
|
||||
return other.TryGetValue(out t); // currently warns
|
||||
}
|
||||
|
@ -125,4 +125,4 @@ don't block a future generalization to all expressions. We need to find a genera
|
|||
like, reject a generalization and accept this syntax, or put these improvements on the
|
||||
back-burner if we think that a generalization is possible, we just haven't found it.
|
||||
|
||||
Accepted for C# 9.0 investigation.
|
||||
Accepted for C# 9.0 investigation.
|
||||
|
|
Загрузка…
Ссылка в новой задаче