共用方式為


NullableContextExtensions Class

Definition

public static class NullableContextExtensions
type NullableContextExtensions = class
Public Module NullableContextExtensions
Inheritance
NullableContextExtensions

Methods

AnnotationsEnabled(NullableContext)

Returns whether nullable annotations are enabled for this context.

AnnotationsInherited(NullableContext)

Returns whether the nullable annotation state was inherited from the project default for this file type.

WarningsEnabled(NullableContext)

Returns whether nullable warnings are enabled for this context.

WarningsInherited(NullableContext)

Returns whether the nullable warning state was inherited from the project default for this file type.

Applies to