SuppressNonNullableFieldMustContainValue(IAdviser, IFieldOrProperty)
Suppresses the warning CS8618 ("Non-nullable variable must contain a non-null value when exiting constructor.") for a member that is being introduced, if necessary. This is useful for design-time diagnostics.
Declaration
protected static void SuppressNonNullableFieldMustContainValue(IAdviser adviser, IFieldOrProperty introducedMember)
Parameters
Type | Name | Description |
---|---|---|
IAdviser | adviser | |
IFieldOrProperty | introducedMember |