Skip to content

Incorrect example for CS0163 compiler error #48944

@StuartMosquera

Description

@StuartMosquera

Type of issue

Outdated article

Description

The example code provided for compiler error CS0163 appears to be incorrect. Omitting a jump statement in the final default case actually generates the compiler error CS8070.

Page URL

https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs0163

Content source URL

https://github.com/dotnet/docs/blob/main/docs/csharp/language-reference/compiler-messages/cs0163.md

Document Version Independent Id

59d317d4-7296-8fbd-da45-e53222dc73d8

Platform Id

8c575d29-eed0-dff2-e209-dd5bbba20de1

Article author

@BillWagner

Metadata

  • ID: 77b688ff-8319-3988-35cb-babec14b8363
  • PlatformId: 8c575d29-eed0-dff2-e209-dd5bbba20de1
  • Service: dotnet-csharp
  • Sub-service: errors-warnings

Related Issues

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions