Enum ParametersNullabilityType
Provides information when function or expression could return null.
public enum ParametersNullabilityType
- Extension Methods
Fields
IfAllParametersNullable = 9Expression could return NULL if all parameters of expression could contain NULL.
IfAnyParameterNullable = 3Expression could return NULL if at least one parameter of expression could contain NULL.
NotNullable = 2Expression never returns NULL.
Nullable = 1Expression could always return NULL.
SameAsFirstOrSecondParameter = 8Expression could return NULL if first or second parameters of expression could contain NULL.
SameAsFirstParameter = 4Expression could return NULL if first parameter of expression could contain NULL.
SameAsLastParameter = 7Expression could return NULL if last parameter of expression could contain NULL.
SameAsSecondParameter = 5Expression could return NULL if second parameter of expression could contain NULL.
SameAsThirdParameter = 6Expression could return NULL if third parameter of expression could contain NULL.
Undefined = 0Nullability not specified, and other sources (like CanBeNull or return type) will be used to identify nullability.