Skip to content

Commit

Permalink
Remove a few unused error codes (#54663)
Browse files Browse the repository at this point in the history
  • Loading branch information
RikkiGibson authored Jul 7, 2021
1 parent 6917705 commit 37ea522
Show file tree
Hide file tree
Showing 16 changed files with 11 additions and 149 deletions.
6 changes: 0 additions & 6 deletions src/Compilers/CSharp/Portable/CSharpResources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -4178,9 +4178,6 @@ You should consider suppressing the warning only if you're sure that you don't w
<data name="ERR_DeprecatedCollectionInitAddStr" xml:space="preserve">
<value>The best overloaded Add method '{0}' for the collection initializer element is obsolete. {1}</value>
</data>
<data name="ERR_IteratorInInteractive" xml:space="preserve">
<value>Yield statements may not appear at the top level in interactive code.</value>
</data>
<data name="ERR_SecurityAttributeInvalidTarget" xml:space="preserve">
<value>Security attribute '{0}' is not valid on this declaration type. Security attributes are only valid on assembly, type and method declarations.</value>
</data>
Expand Down Expand Up @@ -5323,9 +5320,6 @@ To remove the warning, you can use /reference instead (set the Embed Interop Typ
<data name="ERR_BadAsyncMethodBuilderTaskProperty" xml:space="preserve">
<value>For type '{0}' to be used as an AsyncMethodBuilder for type '{1}', its Task property should return type '{1}' instead of type '{2}'.</value>
</data>
<data name="ERR_AttributesInLocalFuncDecl" xml:space="preserve">
<value>Attributes are not allowed on local function parameters or type parameters</value>
</data>
<data name="ERR_TypeForwardedToMultipleAssemblies" xml:space="preserve">
<value>Module '{0}' in assembly '{1}' is forwarding the type '{2}' to multiple assemblies: '{3}' and '{4}'.</value>
</data>
Expand Down
4 changes: 2 additions & 2 deletions src/Compilers/CSharp/Portable/Errors/ErrorCode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1207,7 +1207,7 @@ internal enum ErrorCode
//WRN_PDBConstantStringValueTooLong = 7063, gave up on this warning
ERR_CantOpenIcon = 7064,
ERR_ErrorBuildingWin32Resources = 7065,
ERR_IteratorInInteractive = 7066,
// ERR_IteratorInInteractive = 7066,
ERR_BadAttributeParamDefaultArgument = 7067,
ERR_MissingTypeInSource = 7068,
ERR_MissingTypeInAssembly = 7069,
Expand Down Expand Up @@ -1468,7 +1468,7 @@ internal enum ErrorCode
ERR_PublicSignNetModule = 8202,
ERR_BadAssemblyName = 8203,
ERR_BadAsyncMethodBuilderTaskProperty = 8204,
ERR_AttributesInLocalFuncDecl = 8205,
// ERR_AttributesInLocalFuncDecl = 8205,
ERR_TypeForwardedToMultipleAssemblies = 8206,
ERR_ExpressionTreeContainsDiscard = 8207,
ERR_PatternDynamicType = 8208,
Expand Down
10 changes: 0 additions & 10 deletions src/Compilers/CSharp/Portable/xlf/CSharpResources.cs.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions src/Compilers/CSharp/Portable/xlf/CSharpResources.de.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions src/Compilers/CSharp/Portable/xlf/CSharpResources.es.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions src/Compilers/CSharp/Portable/xlf/CSharpResources.fr.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions src/Compilers/CSharp/Portable/xlf/CSharpResources.it.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions src/Compilers/CSharp/Portable/xlf/CSharpResources.ja.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions src/Compilers/CSharp/Portable/xlf/CSharpResources.ko.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions src/Compilers/CSharp/Portable/xlf/CSharpResources.pl.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 37ea522

Please sign in to comment.