Skip to content

Throw exceptions for unsupported NullableAnnotation values in public API #37278

@cston

Description

@cston

Throw exceptions for unsupported NullableAnnotation values in the public API.

For instance:

  • A value type with NullableAnnotation.Annotated
  • Any type with Annotated or NotAnnotated in VB

Applies to:

Compilation.CreateAnonymousTypeSymbol()
Compilation.CreateArrayTypeSymbol()
Compilation.CreateTupleTypeSymbol()
INamedTypeSymbol.Construct()
IMethodSymbol.Construct()

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions