SuppressNonNullableFieldMustContainValue(IAspectBuilder, 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(IAspectBuilder builder, IFieldOrProperty introducedMember)
Parameters
Type | Name | Description |
---|---|---|
IAspectBuilder | builder | |
IFieldOrProperty | introducedMember |