Update LDM-2019-05-15.md (#2814)
This commit is contained in:
parent
33c84007b6
commit
aa314cce43
|
@ -32,8 +32,8 @@ Internally to the member, the preconditions may affect the initial null-state of
|
|||
|
||||
These apply to anything that yields output: out parameters, return values, fields, properties, indexers, etc:
|
||||
|
||||
- `[MaybeNull]`: The output may be null, even if the type disallows it
|
||||
- `[NotNull]`: The output will not be null, even if the type allows it
|
||||
- `[MaybeNull]`: The output may be null, even if the type disallows it
|
||||
- `[NotNull]`: For outputs (`ref`/`out` parameters, return values), the output will not be null, even if the type allows it. For inputs (by-value/`in` parameters) the value passed is known not to be null when we return.
|
||||
|
||||
On invocation, postconditions are applied after generic substitution, and affect the null state of the output. `[MaybeNull]` changes the null state of the output to “may be null”, whereas `[NotNull]` changes it to “not null”.
|
||||
|
||||
|
|
Loading…
Reference in a new issue