Skip to content

Commit a2075fd

Browse files
Cleanup some unused resources in MS.CA and MS.CA.CSharp (#80097)
2 parents 2eaa098 + 08c3e8b commit a2075fd

28 files changed

+1
-2449
lines changed

src/Compilers/CSharp/Portable/CSharpResources.resx

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -783,9 +783,6 @@
783783
<data name="ERR_V6SwitchGoverningTypeValueExpected" xml:space="preserve">
784784
<value>A switch expression or case label must be a bool, char, string, integral, enum, or corresponding nullable type in C# 6 and earlier.</value>
785785
</data>
786-
<data name="ERR_IntegralTypeValueExpected" xml:space="preserve">
787-
<value>A value of an integral type expected</value>
788-
</data>
789786
<data name="ERR_DuplicateCaseLabel" xml:space="preserve">
790787
<value>The switch statement contains multiple cases with the label value '{0}'</value>
791788
</data>
@@ -1329,12 +1326,6 @@
13291326
<data name="ERR_AttrTypeArgCannotBeTypeVar" xml:space="preserve">
13301327
<value>'{0}': an attribute type argument cannot use type parameters</value>
13311328
</data>
1332-
<data name="WRN_AttrDependentTypeNotAllowed" xml:space="preserve">
1333-
<value>Type '{0}' cannot be used in this context because it cannot be represented in metadata.</value>
1334-
</data>
1335-
<data name="WRN_AttrDependentTypeNotAllowed_Title" xml:space="preserve">
1336-
<value>Type cannot be used in this context because it cannot be represented in metadata.</value>
1337-
</data>
13381329
<data name="ERR_AttrDependentTypeNotAllowed" xml:space="preserve">
13391330
<value>Type '{0}' cannot be used in this context because it cannot be represented in metadata.</value>
13401331
</data>
@@ -2677,9 +2668,6 @@ A catch() block after a catch (System.Exception e) block can catch non-CLS excep
26772668
<data name="ERR_NoMainInClass" xml:space="preserve">
26782669
<value>'{0}' does not have a suitable static 'Main' method</value>
26792670
</data>
2680-
<data name="ERR_MainClassIsImport" xml:space="preserve">
2681-
<value>Cannot use '{0}' for Main method because it is imported</value>
2682-
</data>
26832671
<data name="ERR_OutputNeedsName" xml:space="preserve">
26842672
<value>Outputs without source must have the /out option specified</value>
26852673
</data>
@@ -3193,27 +3181,12 @@ A catch() block after a catch (System.Exception e) block can catch non-CLS excep
31933181
<data name="WRN_CallOnNonAgileField_Description" xml:space="preserve">
31943182
<value>This warning occurs when you try to call a method, property, or indexer on a member of a class that derives from MarshalByRefObject, and the member is a value type. Objects that inherit from MarshalByRefObject are typically intended to be marshaled by reference across an application domain. If any code ever attempts to directly access the value-type member of such an object across an application domain, a runtime exception will occur. To resolve the warning, first copy the member into a local variable and call the method on that variable.</value>
31953183
</data>
3196-
<data name="WRN_BadWarningNumber" xml:space="preserve">
3197-
<value>'{0}' is not a valid warning number</value>
3198-
</data>
3199-
<data name="WRN_BadWarningNumber_Title" xml:space="preserve">
3200-
<value>Not a valid warning number</value>
3201-
</data>
3202-
<data name="WRN_BadWarningNumber_Description" xml:space="preserve">
3203-
<value>A number that was passed to the #pragma warning preprocessor directive was not a valid warning number. Verify that the number represents a warning, not an error.</value>
3204-
</data>
32053184
<data name="WRN_InvalidNumber" xml:space="preserve">
32063185
<value>Invalid number</value>
32073186
</data>
32083187
<data name="WRN_InvalidNumber_Title" xml:space="preserve">
32093188
<value>Invalid number</value>
32103189
</data>
3211-
<data name="WRN_FileNameTooLong" xml:space="preserve">
3212-
<value>Invalid filename specified for preprocessor directive. Filename is too long or not a valid filename.</value>
3213-
</data>
3214-
<data name="WRN_FileNameTooLong_Title" xml:space="preserve">
3215-
<value>Invalid filename specified for preprocessor directive</value>
3216-
</data>
32173190
<data name="WRN_IllegalPPChecksum" xml:space="preserve">
32183191
<value>Invalid #pragma checksum syntax; should be #pragma checksum "filename" "{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}" "XXXX..."</value>
32193192
</data>
@@ -3481,9 +3454,6 @@ A catch() block after a catch (System.Exception e) block can catch non-CLS excep
34813454
<data name="ERR_VarArgsInExpressionTree" xml:space="preserve">
34823455
<value>An expression tree lambda may not contain a method with variable arguments</value>
34833456
</data>
3484-
<data name="ERR_MemGroupInExpressionTree" xml:space="preserve">
3485-
<value>An expression tree lambda may not contain a method group</value>
3486-
</data>
34873457
<data name="ERR_InitializerAddHasParamModifiers" xml:space="preserve">
34883458
<value>The best overloaded method match '{0}' for the collection initializer element cannot be used. Collection initializer 'Add' methods cannot have ref or out parameters.</value>
34893459
</data>
@@ -4945,9 +4915,6 @@ To remove the warning, you can use /reference instead (set the Embed Interop Typ
49454915
<data name="ERR_UnclosedExpressionHole" xml:space="preserve">
49464916
<value>Missing close delimiter '}' for interpolated expression started with '{'.</value>
49474917
</data>
4948-
<data name="ERR_SingleLineCommentInExpressionHole" xml:space="preserve">
4949-
<value>A single-line comment may not be used in an interpolated string.</value>
4950-
</data>
49514918
<data name="ERR_InsufficientStack" xml:space="preserve">
49524919
<value>An expression is too long or complex to compile</value>
49534920
</data>
@@ -7666,9 +7633,6 @@ To remove the warning, you can use /reference instead (set the Embed Interop Typ
76667633
<data name="ERR_InterceptorPathNotInCompilationWithCandidate" xml:space="preserve">
76677634
<value>Cannot intercept: compilation does not contain a file with path '{0}'. Did you mean to use path '{1}'?</value>
76687635
</data>
7669-
<data name="ERR_InterceptorPathNotInCompilationWithUnmappedCandidate" xml:space="preserve">
7670-
<value>Cannot intercept: Path '{0}' is unmapped. Expected mapped path '{1}'.</value>
7671-
</data>
76727636
<data name="ERR_InterceptorLineOutOfRange" xml:space="preserve">
76737637
<value>The given file has '{0}' lines, which is fewer than the provided line number '{1}'.</value>
76747638
</data>
@@ -8232,4 +8196,4 @@ To remove the warning, you can use /reference instead (set the Embed Interop Typ
82328196
<value>'MethodImplAttribute.Async' cannot be manually applied to methods. Mark the method 'async'.</value>
82338197
<remarks>'MethodImplAttribute.Async' and 'async' are not localizable.</remarks>
82348198
</data>
8235-
</root>
8199+
</root>

src/Compilers/CSharp/Portable/xlf/CSharpResources.cs.xlf

Lines changed: 0 additions & 60 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)