Skip to content

Commit 41df0c8

Browse files
committed
More MS.CA.CSharp resource cleanup
1 parent a2075fd commit 41df0c8

14 files changed

+0
-1564
lines changed

src/Compilers/CSharp/Portable/CSharpResources.resx

Lines changed: 0 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1326,9 +1326,6 @@
13261326
<data name="ERR_AttrTypeArgCannotBeTypeVar" xml:space="preserve">
13271327
<value>'{0}': an attribute type argument cannot use type parameters</value>
13281328
</data>
1329-
<data name="ERR_AttrDependentTypeNotAllowed" xml:space="preserve">
1330-
<value>Type '{0}' cannot be used in this context because it cannot be represented in metadata.</value>
1331-
</data>
13321329
<data name="ERR_NewTyvarWithArgs" xml:space="preserve">
13331330
<value>'{0}': cannot provide arguments when creating an instance of a variable type</value>
13341331
</data>
@@ -3376,9 +3373,6 @@ A catch() block after a catch (System.Exception e) block can catch non-CLS excep
33763373
<data name="ERR_CollectionInitRequiresIEnumerable" xml:space="preserve">
33773374
<value>Cannot initialize type '{0}' with a collection initializer because it does not implement 'System.Collections.IEnumerable'</value>
33783375
</data>
3379-
<data name="ERR_CantSetWin32Manifest" xml:space="preserve">
3380-
<value>Error reading Win32 manifest file '{0}' -- '{1}'</value>
3381-
</data>
33823376
<data name="WRN_CantHaveManifestForModule" xml:space="preserve">
33833377
<value>Ignoring /win32manifest for module because it only applies to assemblies</value>
33843378
</data>
@@ -3920,9 +3914,6 @@ You should consider suppressing the warning only if you're sure that you don't w
39203914
<data name="ERR_NamedArgumentForArray" xml:space="preserve">
39213915
<value>An array access may not have a named argument specifier</value>
39223916
</data>
3923-
<data name="ERR_NotYetImplementedInRoslyn" xml:space="preserve">
3924-
<value>This language feature ('{0}') is not yet implemented.</value>
3925-
</data>
39263917
<data name="ERR_DefaultValueNotAllowed" xml:space="preserve">
39273918
<value>Default values are not valid in this context.</value>
39283919
</data>
@@ -4265,24 +4256,6 @@ You should consider suppressing the warning only if you're sure that you don't w
42654256
<data name="ERR_MixingWinRTEventWithRegular" xml:space="preserve">
42664257
<value>'{0}' cannot implement '{1}' because '{2}' is a Windows Runtime event and '{3}' is a regular .NET event.</value>
42674258
</data>
4268-
<data name="WRN_CA2000_DisposeObjectsBeforeLosingScope1" xml:space="preserve">
4269-
<value>Call System.IDisposable.Dispose() on allocated instance of {0} before all references to it are out of scope.</value>
4270-
</data>
4271-
<data name="WRN_CA2000_DisposeObjectsBeforeLosingScope1_Title" xml:space="preserve">
4272-
<value>Call System.IDisposable.Dispose() on allocated instance before all references to it are out of scope</value>
4273-
</data>
4274-
<data name="WRN_CA2000_DisposeObjectsBeforeLosingScope2" xml:space="preserve">
4275-
<value>Allocated instance of {0} is not disposed along all exception paths. Call System.IDisposable.Dispose() before all references to it are out of scope.</value>
4276-
</data>
4277-
<data name="WRN_CA2000_DisposeObjectsBeforeLosingScope2_Title" xml:space="preserve">
4278-
<value>Allocated instance is not disposed along all exception paths</value>
4279-
</data>
4280-
<data name="WRN_CA2202_DoNotDisposeObjectsMultipleTimes" xml:space="preserve">
4281-
<value>Object '{0}' can be disposed more than once.</value>
4282-
</data>
4283-
<data name="WRN_CA2202_DoNotDisposeObjectsMultipleTimes_Title" xml:space="preserve">
4284-
<value>Object can be disposed more than once</value>
4285-
</data>
42864259
<data name="ERR_NewCoClassOnLink" xml:space="preserve">
42874260
<value>Interop type '{0}' cannot be embedded. Use the applicable interface instead.</value>
42884261
</data>
@@ -4879,9 +4852,6 @@ To remove the warning, you can use /reference instead (set the Embed Interop Typ
48794852
<data name="ERR_AutoPropertyMustOverrideSet" xml:space="preserve">
48804853
<value>Auto-implemented properties must override all accessors of the overridden property.</value>
48814854
</data>
4882-
<data name="ERR_InitializerInStructWithoutExplicitConstructor" xml:space="preserve">
4883-
<value>Structs without explicit constructors cannot contain members with initializers.</value>
4884-
</data>
48854855
<data name="ERR_EncodinglessSyntaxTree" xml:space="preserve">
48864856
<value>Cannot emit debug information for a source text without encoding.</value>
48874857
</data>
@@ -4891,9 +4861,6 @@ To remove the warning, you can use /reference instead (set the Embed Interop Typ
48914861
<data name="ERR_SwitchFallOut" xml:space="preserve">
48924862
<value>Control cannot fall out of switch from final case label ('{0}')</value>
48934863
</data>
4894-
<data name="ERR_UnexpectedBoundGenericName" xml:space="preserve">
4895-
<value>Type arguments are not allowed in the nameof operator.</value>
4896-
</data>
48974864
<data name="ERR_NullPropagatingOpInExpressionTree" xml:space="preserve">
48984865
<value>An expression tree lambda may not contain a null propagating operator.</value>
48994866
</data>
@@ -5084,15 +5051,9 @@ To remove the warning, you can use /reference instead (set the Embed Interop Typ
50845051
<data name="WRN_RefReturnNonreturnableLocal2_Title" xml:space="preserve">
50855052
<value>A member is returned by reference but was initialized to a value that cannot be returned by reference</value>
50865053
</data>
5087-
<data name="ERR_RefReturnReadonlyLocal" xml:space="preserve">
5088-
<value>Cannot return '{0}' by reference because it is read-only</value>
5089-
</data>
50905054
<data name="ERR_RefReturnRangeVariable" xml:space="preserve">
50915055
<value>Cannot return the range variable '{0}' by reference</value>
50925056
</data>
5093-
<data name="ERR_RefReturnReadonlyLocalCause" xml:space="preserve">
5094-
<value>Cannot return '{0}' by reference because it is a '{1}'</value>
5095-
</data>
50965057
<data name="ERR_RefReturnReadonly" xml:space="preserve">
50975058
<value>A readonly field cannot be returned by writable reference</value>
50985059
</data>
@@ -5204,27 +5165,9 @@ To remove the warning, you can use /reference instead (set the Embed Interop Typ
52045165
<data name="ERR_EscapeCall2" xml:space="preserve">
52055166
<value>Cannot use a member of result of '{0}' in this context because it may expose variables referenced by parameter '{1}' outside of their declaration scope</value>
52065167
</data>
5207-
<data name="WRN_EscapeCall" xml:space="preserve">
5208-
<value>Use of result of '{0}' in this context may expose variables referenced by parameter '{1}' outside of their declaration scope</value>
5209-
</data>
5210-
<data name="WRN_EscapeCall_Title" xml:space="preserve">
5211-
<value>Use of result in this context may expose variables referenced by parameter outside of their declaration scope</value>
5212-
</data>
5213-
<data name="WRN_EscapeCall2" xml:space="preserve">
5214-
<value>Use of member of result of '{0}' in this context may expose variables referenced by parameter '{1}' outside of their declaration scope</value>
5215-
</data>
5216-
<data name="WRN_EscapeCall2_Title" xml:space="preserve">
5217-
<value>Use of member of result in this context may expose variables referenced by parameter outside of their declaration scope</value>
5218-
</data>
52195168
<data name="ERR_CallArgMixing" xml:space="preserve">
52205169
<value>This combination of arguments to '{0}' is disallowed because it may expose variables referenced by parameter '{1}' outside of their declaration scope</value>
52215170
</data>
5222-
<data name="WRN_CallArgMixing" xml:space="preserve">
5223-
<value>This combination of arguments to '{0}' may expose variables referenced by parameter '{1}' outside of their declaration scope</value>
5224-
</data>
5225-
<data name="WRN_CallArgMixing_Title" xml:space="preserve">
5226-
<value>This combination of arguments may expose variables referenced by parameter outside of their declaration scope</value>
5227-
</data>
52285171
<data name="ERR_MismatchedRefEscapeInTernary" xml:space="preserve">
52295172
<value>Branches of a ref conditional operator cannot refer to variables with incompatible declaration scopes</value>
52305173
</data>
@@ -6035,9 +5978,6 @@ To remove the warning, you can use /reference instead (set the Embed Interop Typ
60355978
<data name="ERR_LambdaExplicitReturnTypeVar" xml:space="preserve">
60365979
<value>The contextual keyword 'var' cannot be used as an explicit lambda return type</value>
60375980
</data>
6038-
<data name="ERR_SingleElementPositionalPatternRequiresDisambiguation" xml:space="preserve">
6039-
<value>A single-element deconstruct pattern requires some other syntax for disambiguation. It is recommended to add a discard designator '_' after the close paren ')'.</value>
6040-
</data>
60415981
<data name="ERR_VarMayNotBindToType" xml:space="preserve">
60425982
<value>The syntax 'var' for a pattern is not permitted to refer to a type, but '{0}' is in scope here.</value>
60435983
</data>
@@ -6209,9 +6149,6 @@ To remove the warning, you can use /reference instead (set the Embed Interop Typ
62096149
<data name="WRN_GivenExpressionAlwaysMatchesPattern_Title" xml:space="preserve">
62106150
<value>The given expression always matches the provided pattern.</value>
62116151
</data>
6212-
<data name="ERR_FeatureNotAvailableInVersion8_0" xml:space="preserve">
6213-
<value>Feature '{0}' is not available in C# 8.0. Please use language version {1} or greater.</value>
6214-
</data>
62156152
<data name="ERR_PointerTypeInPatternMatching" xml:space="preserve">
62166153
<value>Pattern-matching is not permitted for pointer types.</value>
62176154
</data>
@@ -7098,9 +7035,6 @@ To remove the warning, you can use /reference instead (set the Embed Interop Typ
70987035
<data name="WRN_UseDefViolationPropertyUnsupportedVersion_Title" xml:space="preserve">
70997036
<value>Use of possibly unassigned auto-implemented property. Consider updating the language version to auto-default the property.</value>
71007037
</data>
7101-
<data name="ERR_UnsupportedTypeForSlicePattern" xml:space="preserve">
7102-
<value>Slice patterns may not be used for a value of type '{0}'.</value>
7103-
</data>
71047038
<data name="ERR_MisplacedSlicePattern" xml:space="preserve">
71057039
<value>Slice patterns may only be used once and directly inside a list pattern.</value>
71067040
</data>
@@ -7384,9 +7318,6 @@ To remove the warning, you can use /reference instead (set the Embed Interop Typ
73847318
<data name="IDS_FeatureUtf8StringLiterals" xml:space="preserve">
73857319
<value>UTF-8 string literals</value>
73867320
</data>
7387-
<data name="ERR_ExpressionTreeContainsUtf8StringLiterals" xml:space="preserve">
7388-
<value>An expression tree may not contain UTF-8 string conversion or literal.</value>
7389-
</data>
73907321
<data name="ERR_ChainingToSetsRequiredMembersRequiresSetsRequiredMembers" xml:space="preserve">
73917322
<value>This constructor must add 'SetsRequiredMembers' because it chains to a constructor that has that attribute.</value>
73927323
</data>

0 commit comments

Comments
 (0)