Skip to content

Commit

Permalink
remove:
Browse files Browse the repository at this point in the history
            nullableWarnings.Add(GetId(ErrorCode.WRN_SwitchExpressionNotExhaustiveForNull));
            nullableWarnings.Add(GetId(ErrorCode.WRN_SwitchExpressionNotExhaustiveForNullWithWhen));
  • Loading branch information
bernd5 committed Apr 19, 2021
1 parent f692461 commit 04ffc99
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Compilers/CSharp/Portable/Errors/ErrorFacts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ static ErrorFacts()
nullableWarnings.Add(GetId(ErrorCode.WRN_NullabilityMismatchInTypeParameterNotNullConstraint));
nullableWarnings.Add(GetId(ErrorCode.WRN_ThrowPossibleNull));
nullableWarnings.Add(GetId(ErrorCode.WRN_UnboxPossibleNull));
nullableWarnings.Add(GetId(ErrorCode.WRN_SwitchExpressionNotExhaustiveForNull));
nullableWarnings.Add(GetId(ErrorCode.WRN_SwitchExpressionNotExhaustiveForNullWithWhen));

nullableWarnings.Add(GetId(ErrorCode.WRN_ConvertingNullableToNonNullable));
nullableWarnings.Add(GetId(ErrorCode.WRN_DisallowNullAttributeForbidsMaybeNullAssignment));
Expand Down

0 comments on commit 04ffc99

Please sign in to comment.