Skip to content

Commit

Permalink
Fix duplicate error code and address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
RikkiGibson committed Jul 8, 2021
1 parent 77c3300 commit 73ce00b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 3 additions & 4 deletions src/Compilers/CSharp/Portable/Errors/ErrorCode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1964,10 +1964,9 @@ internal enum ErrorCode
ERR_LineSpanDirectiveEndLessThanStart = 8939,
ERR_WrongArityAsyncReturn = 8940,

ERR_MultipleFileScopedNamespace = 8940,
ERR_FileScopedAndNormalNamespace = 8941,
ERR_FileScopedNamespaceNotBeforeAllMembers = 8942,

ERR_MultipleFileScopedNamespace = 8954,
ERR_FileScopedAndNormalNamespace = 8955,
ERR_FileScopedNamespaceNotBeforeAllMembers = 8956,

#endregion

Expand Down
3 changes: 2 additions & 1 deletion src/Compilers/CSharp/Portable/Errors/MessageID.cs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,8 @@ internal enum MessageID
IDS_AsyncMethodBuilderOverride = MessageBase + 12805,
IDS_FeatureImplicitImplementationOfNonPublicMemebers = MessageBase + 12806,
IDS_FeatureLineSpanDirective = MessageBase + 12807,
IDS_FeatureFileScopedNamespace = MessageBase + 12808,

IDS_FeatureFileScopedNamespace = MessageBase + 12809,
}

// Message IDs may refer to strings that need to be localized.
Expand Down

0 comments on commit 73ce00b

Please sign in to comment.