783
783
<data name =" ERR_V6SwitchGoverningTypeValueExpected" xml : space =" preserve" >
784
784
<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 >
785
785
</data >
786
- <data name =" ERR_IntegralTypeValueExpected" xml : space =" preserve" >
787
- <value >A value of an integral type expected</value >
788
- </data >
789
786
<data name =" ERR_DuplicateCaseLabel" xml : space =" preserve" >
790
787
<value >The switch statement contains multiple cases with the label value '{0}'</value >
791
788
</data >
1329
1326
<data name =" ERR_AttrTypeArgCannotBeTypeVar" xml : space =" preserve" >
1330
1327
<value >'{0}': an attribute type argument cannot use type parameters</value >
1331
1328
</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 >
1338
1329
<data name =" ERR_AttrDependentTypeNotAllowed" xml : space =" preserve" >
1339
1330
<value >Type '{0}' cannot be used in this context because it cannot be represented in metadata.</value >
1340
1331
</data >
@@ -2677,9 +2668,6 @@ A catch() block after a catch (System.Exception e) block can catch non-CLS excep
2677
2668
<data name =" ERR_NoMainInClass" xml : space =" preserve" >
2678
2669
<value >'{0}' does not have a suitable static 'Main' method</value >
2679
2670
</data >
2680
- <data name =" ERR_MainClassIsImport" xml : space =" preserve" >
2681
- <value >Cannot use '{0}' for Main method because it is imported</value >
2682
- </data >
2683
2671
<data name =" ERR_OutputNeedsName" xml : space =" preserve" >
2684
2672
<value >Outputs without source must have the /out option specified</value >
2685
2673
</data >
@@ -3193,27 +3181,12 @@ A catch() block after a catch (System.Exception e) block can catch non-CLS excep
3193
3181
<data name =" WRN_CallOnNonAgileField_Description" xml : space =" preserve" >
3194
3182
<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 >
3195
3183
</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 >
3205
3184
<data name =" WRN_InvalidNumber" xml : space =" preserve" >
3206
3185
<value >Invalid number</value >
3207
3186
</data >
3208
3187
<data name =" WRN_InvalidNumber_Title" xml : space =" preserve" >
3209
3188
<value >Invalid number</value >
3210
3189
</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 >
3217
3190
<data name =" WRN_IllegalPPChecksum" xml : space =" preserve" >
3218
3191
<value >Invalid #pragma checksum syntax; should be #pragma checksum "filename" "{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}" "XXXX..."</value >
3219
3192
</data >
@@ -3481,9 +3454,6 @@ A catch() block after a catch (System.Exception e) block can catch non-CLS excep
3481
3454
<data name =" ERR_VarArgsInExpressionTree" xml : space =" preserve" >
3482
3455
<value >An expression tree lambda may not contain a method with variable arguments</value >
3483
3456
</data >
3484
- <data name =" ERR_MemGroupInExpressionTree" xml : space =" preserve" >
3485
- <value >An expression tree lambda may not contain a method group</value >
3486
- </data >
3487
3457
<data name =" ERR_InitializerAddHasParamModifiers" xml : space =" preserve" >
3488
3458
<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 >
3489
3459
</data >
@@ -4945,9 +4915,6 @@ To remove the warning, you can use /reference instead (set the Embed Interop Typ
4945
4915
<data name =" ERR_UnclosedExpressionHole" xml : space =" preserve" >
4946
4916
<value >Missing close delimiter '}' for interpolated expression started with '{'.</value >
4947
4917
</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 >
4951
4918
<data name =" ERR_InsufficientStack" xml : space =" preserve" >
4952
4919
<value >An expression is too long or complex to compile</value >
4953
4920
</data >
@@ -7666,9 +7633,6 @@ To remove the warning, you can use /reference instead (set the Embed Interop Typ
7666
7633
<data name =" ERR_InterceptorPathNotInCompilationWithCandidate" xml : space =" preserve" >
7667
7634
<value >Cannot intercept: compilation does not contain a file with path '{0}'. Did you mean to use path '{1}'?</value >
7668
7635
</data >
7669
- <data name =" ERR_InterceptorPathNotInCompilationWithUnmappedCandidate" xml : space =" preserve" >
7670
- <value >Cannot intercept: Path '{0}' is unmapped. Expected mapped path '{1}'.</value >
7671
- </data >
7672
7636
<data name =" ERR_InterceptorLineOutOfRange" xml : space =" preserve" >
7673
7637
<value >The given file has '{0}' lines, which is fewer than the provided line number '{1}'.</value >
7674
7638
</data >
@@ -8232,4 +8196,4 @@ To remove the warning, you can use /reference instead (set the Embed Interop Typ
8232
8196
<value >'MethodImplAttribute.Async' cannot be manually applied to methods. Mark the method 'async'.</value >
8233
8197
<remarks >'MethodImplAttribute.Async' and 'async' are not localizable.</remarks >
8234
8198
</data >
8235
- </root >
8199
+ </root >
0 commit comments