WarnOnWithoutNullArgumentAttribute Type
When used in a compilation with null-checking enabled, indicates that a function is meant to be used only with potentially-nullable values and warns accordingly.
Constructors
Constructor | Description |
Full Usage: WarnOnWithoutNullArgumentAttribute(warningMessage) Parameters:
string - The message displayed when the annotated function is used with a value known to be without null Returns: WarnOnWithoutNullArgumentAttribute WarnOnWithoutNullArgumentAttribute |
Creates an instance of the attribute
|
Instance members
Instance member | Description |
|
Warning message displayed when the annotated function is used with a value known to be without null
|