dotnet / roslyn

The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
https://docs.microsoft.com/dotnet/csharp/roslyn-sdk/
MIT License
19.05k stars 4.04k forks source link

De-duplicate loc strings across Roslyn #56585

Open jmarolf opened 3 years ago

jmarolf commented 3 years ago

I wrote a simple tool to list duplicate resource strings in a solution.

this is near total duplication between CodeStyleResources.resx and WorkspacesResources.resx

Full list of duplicate loc strings here:

The following resx files have duplicate values 'Implements':
  P:Microsoft.CodeAnalysis.Editor.EditorFeaturesResources.Implements_
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Implements_
The following resx files have duplicate values 'Implemented By':
  P:Microsoft.CodeAnalysis.Editor.EditorFeaturesResources.Implemented_By
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Implemented_By
The following resx files have duplicate values 'Overrides':
  P:Microsoft.CodeAnalysis.Editor.EditorFeaturesResources.Overrides_
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Overrides_
The following resx files have duplicate values 'Overridden By':
  P:Microsoft.CodeAnalysis.Editor.EditorFeaturesResources.Overridden_By
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Overridden_By
The following resx files have duplicate values 'Inherits':
  P:Microsoft.CodeAnalysis.Editor.EditorFeaturesResources.Inherits_
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Inherits_
The following resx files have duplicate values 'Inherited By':
  P:Microsoft.CodeAnalysis.Editor.EditorFeaturesResources.Inherited_By
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Inherited_By
The following resx files have duplicate values 'Rename '{0}' to '{1}'':
  P:Microsoft.CodeAnalysis.Editor.EditorFeaturesResources.Rename_0_to_1
  P:Microsoft.CodeAnalysis.WorkspacesResources.Rename_0_to_1
The following resx files have duplicate values 'Extract Method':
  P:Microsoft.CodeAnalysis.Editor.EditorFeaturesResources.Extract_Method
  P:Microsoft.VisualStudio.LanguageServices.CSharp.CSharpVSResources.Extract_Method
The following resx files have duplicate values 'Rename':
  P:Microsoft.CodeAnalysis.Editor.EditorFeaturesResources.Rename
  P:Microsoft.CodeAnalysis.Remote.RemoteWorkspacesResources.FeatureName_Renamer
The following resx files have duplicate values 'Apply':
  P:Microsoft.CodeAnalysis.Editor.EditorFeaturesResources.Apply2
  P:Microsoft.CodeAnalysis.Editor.EditorFeaturesResources.Apply3
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Apply
The following resx files have duplicate values 'Change Signature':
  P:Microsoft.CodeAnalysis.Editor.EditorFeaturesResources.Change_Signature
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Change_Signature
The following resx files have duplicate values 'Cancel':
  P:Microsoft.CodeAnalysis.Editor.EditorFeaturesResources.Cancel
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Cancel
The following resx files have duplicate values 'IntelliSense':
  P:Microsoft.CodeAnalysis.Editor.EditorFeaturesResources.IntelliSense
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.IntelliSense
The following resx files have duplicate values 'Extract Interface':
  P:Microsoft.CodeAnalysis.Editor.EditorFeaturesResources.Extract_Interface
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Extract_Interface
The following resx files have duplicate values 'Outlining':
  P:Microsoft.CodeAnalysis.Editor.EditorFeaturesResources.Outlining
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Outlining
The following resx files have duplicate values 'Warning':
  P:Microsoft.CodeAnalysis.Editor.EditorFeaturesResources.Warning_image_element
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Warning
  P:Microsoft.CodeAnalysis.WorkspacesResources.Warning
  P:Microsoft.VisualStudio.LanguageServices.Implementation.SolutionExplorerShim.Warning
  P:Microsoft.CodeAnalysis.CodeStyleResources.Warning
The following resx files have duplicate values 'Invalid assembly name':
  P:Microsoft.CodeAnalysis.Editor.EditorFeaturesResources.Invalid_assembly_name
  P:Microsoft.CodeAnalysis.Scripting.ScriptingResources.InvalidAssemblyName
The following resx files have duplicate values 'Invalid characters in assembly name':
  P:Microsoft.CodeAnalysis.Editor.EditorFeaturesResources.Invalid_characters_in_assembly_name
  P:Microsoft.CodeAnalysis.CodeAnalysisResources.InvalidCharactersInAssemblyName
The following resx files have duplicate values 'Inline Hints':
  P:Microsoft.CodeAnalysis.Editor.EditorFeaturesResources.Inline_Hints
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Inline_Hints
The following resx files have duplicate values 'No':
  P:Microsoft.CodeAnalysis.Editor.EditorFeaturesResources.No
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.No
The following resx files have duplicate values 'Yes':
  P:Microsoft.CodeAnalysis.Editor.EditorFeaturesResources.Yes
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Yes
The following resx files have duplicate values 'Prefer 'is null' for reference equality checks':
  P:Microsoft.CodeAnalysis.Editor.EditorFeaturesResources.Prefer_is_null_for_reference_equality_checks
  P:Microsoft.VisualStudio.LanguageServices.CSharp.CSharpVSResources.Prefer_is_null_for_reference_equality_checks
The following resx files have duplicate values 'anonymous method':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.IDS_AnonMethod
  P:Microsoft.CodeAnalysis.CSharp.CSharpFeaturesResources.anonymous_method
The following resx files have duplicate values 'lambda expression':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.IDS_Lambda
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.IDS_FeatureLambda
The following resx files have duplicate values 'extern alias':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.IDS_FeatureExternAlias
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.IDS_SK_EXTERNALIAS
  P:Microsoft.CodeAnalysis.CSharp.CSharpFeaturesResources.extern_alias
The following resx files have duplicate values 'method':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.IDS_SK_METHOD
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.NamingSpecification_CSharp_Method
  P:Microsoft.CodeAnalysis.FeaturesResources.method
  P:Microsoft.VisualStudio.LanguageServices.CodeLens.CodeLensVSResources.method
  P:Microsoft.CodeAnalysis.CodeAnalysisResources.Method
The following resx files have duplicate values 'type':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.IDS_SK_TYPE
  P:Microsoft.CodeAnalysis.FeaturesResources.type
  P:Microsoft.VisualStudio.LanguageServices.CodeLens.CodeLensVSResources.type
The following resx files have duplicate values 'namespace':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.IDS_SK_NAMESPACE
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.NamingSpecification_CSharp_Namespace
  P:Microsoft.CodeAnalysis.FeaturesResources.namespace_
The following resx files have duplicate values 'field':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.IDS_SK_FIELD
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.NamingSpecification_CSharp_Field
  P:Microsoft.CodeAnalysis.FeaturesResources.field
  P:Microsoft.CodeAnalysis.CodeAnalysisResources.Field
The following resx files have duplicate values 'property':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.IDS_SK_PROPERTY
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.NamingSpecification_CSharp_Property
  P:Microsoft.CodeAnalysis.FeaturesResources.property_
  P:Microsoft.VisualStudio.LanguageServices.CodeLens.CodeLensVSResources.property
The following resx files have duplicate values 'label':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.IDS_SK_LABEL
  P:Microsoft.CodeAnalysis.FeaturesResources.label
The following resx files have duplicate values 'event':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.IDS_SK_EVENT
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.NamingSpecification_CSharp_Event
  P:Microsoft.CodeAnalysis.FeaturesResources.event_
  P:Microsoft.CodeAnalysis.CodeAnalysisResources.Event1
The following resx files have duplicate values 'type parameter':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.IDS_SK_TYVAR
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.NamingSpecification_CSharp_TypeParameter
  P:Microsoft.CodeAnalysis.FeaturesResources.type_parameter
  P:Microsoft.CodeAnalysis.CodeAnalysisResources.TypeParameter
The following resx files have duplicate values 'constructor':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.IDS_SK_CONSTRUCTOR
  P:Microsoft.CodeAnalysis.FeaturesResources.constructor
  P:Microsoft.CodeAnalysis.CodeAnalysisResources.Constructor
The following resx files have duplicate values 'parameter':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.IDS_Parameter
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.NamingSpecification_CSharp_Parameter
  P:Microsoft.CodeAnalysis.FeaturesResources.parameter
  P:Microsoft.CodeAnalysis.CodeAnalysisResources.Parameter
The following resx files have duplicate values 'return':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.IDS_Return
  P:Microsoft.CodeAnalysis.CodeAnalysisResources.Return1
The following resx files have duplicate values 'Duplicate '{0}' attribute':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.XML_DuplicateAttribute
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.ERR_DuplicateAttribute
The following resx files have duplicate values 'Unreachable code detected':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_UnreachableCode
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_UnreachableCode_Title
  P:Microsoft.CodeAnalysis.CSharp.CSharpAnalyzersResources.Unreachable_code_detected
The following resx files have duplicate values 'This label has not been referenced':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_UnreferencedLabel
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_UnreferencedLabel_Title
The following resx files have duplicate values 'Use of unassigned local variable '{0}'':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.ERR_UseDefViolation
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_UseDefViolation
The following resx files have duplicate values 'Use of possibly unassigned field '{0}'':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.ERR_UseDefViolationField
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_UseDefViolationField
The following resx files have duplicate values 'Use of possibly unassigned auto-implemented property '{0}'':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.ERR_UseDefViolationProperty
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_UseDefViolationProperty
The following resx files have duplicate values 'Field '{0}' must be fully assigned before control is returned to the caller':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.ERR_UnassignedThis
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_UnassignedThis
The following resx files have duplicate values 'The out parameter '{0}' must be assigned to before control leaves the current method':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.ERR_ParamUnassigned
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_ParamUnassigned
The following resx files have duplicate values 'The 'this' object cannot be used before all of its fields have been assigned':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.ERR_UseDefViolationThis
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_UseDefViolationThis
The following resx files have duplicate values 'Use of unassigned out parameter '{0}'':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.ERR_UseDefViolationOut
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_UseDefViolationOut
The following resx files have duplicate values 'Type '{0}' cannot be used in this context because it cannot be represented in metadata.':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_AttrDependentTypeNotAllowed
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.ERR_AttrDependentTypeNotAllowed
The following resx files have duplicate values 'The result of the expression is always '{0}' since a value of type '{1}' is never equal to 'null' of type '{2}'':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_NubExprIsConstBool
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_NubExprIsConstBool2
The following resx files have duplicate values 'The result of the expression is always the same since a value of this type is never equal to 'null'':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_NubExprIsConstBool_Title
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_NubExprIsConstBool2_Title
The following resx files have duplicate values 'Predefined type '{0}' is not defined or imported':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.ERR_PredefinedTypeNotFound
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.ERR_PredefinedValueTupleTypeNotFound
The following resx files have duplicate values 'Type or member is obsolete':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_DeprecatedSymbol_Title
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_DeprecatedSymbolStr_Title
The following resx files have duplicate values ''{0}' is obsolete: '{1}'':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_DeprecatedSymbolStr
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.ERR_DeprecatedSymbolStr
The following resx files have duplicate values 'Possible mistaken empty statement':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_PossibleMistakenNullStatement
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_PossibleMistakenNullStatement_Title
The following resx files have duplicate values ''{0}': static types cannot be used as parameters':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.ERR_ParameterIsStaticClass
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_ParameterIsStaticClass
The following resx files have duplicate values ''{0}': static types cannot be used as return types':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.ERR_ReturnTypeIsStaticClass
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_ReturnTypeIsStaticClass
The following resx files have duplicate values 'Assembly reference '{0}' is invalid and cannot be resolved':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.ERR_InvalidAssemblyName
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_InvalidAssemblyName
The following resx files have duplicate values 'Auto-implemented property '{0}' must be fully assigned before control is returned to the caller.':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.ERR_UnassignedThisAutoProperty
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_UnassignedThisAutoProperty
The following resx files have duplicate values 'Invalid number':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.ERR_InvalidNumber
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_InvalidNumber
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_InvalidNumber_Title
The following resx files have duplicate values 'Single-line comment or end-of-line expected':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.ERR_EndOfPPLineExpected
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_EndOfPPLineExpected
The following resx files have duplicate values 'Empty switch block':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_EmptySwitch
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_EmptySwitch_Title
The following resx files have duplicate values 'Invalid return type in XML comment cref attribute':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_BadXMLRefReturnType
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_BadXMLRefReturnType_Title
The following resx files have duplicate values 'XML comment is not placed on a valid language element':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_UnprocessedXMLComment
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_UnprocessedXMLComment_Title
The following resx files have duplicate values 'Unrecognized #pragma directive':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_IllegalPragma
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_IllegalPragma_Title
The following resx files have duplicate values 'Source file has exceeded the limit of 16,707,565 lines representable in the PDB; debug information will be incorrect':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_TooManyLinesForDebugger
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_TooManyLinesForDebugger_Title
The following resx files have duplicate values 'Assuming assembly reference '{0}' used by '{1}' matches identity '{2}' of '{3}', you may need to supply runtime policy':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_UnifyReferenceMajMin
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_UnifyReferenceBldRev
The following resx files have duplicate values 'Assuming assembly reference matches identity':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_UnifyReferenceMajMin_Title
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_UnifyReferenceBldRev_Title
The following resx files have duplicate values 'The two assemblies differ in release and/or version number. For unification to occur, you must specify directives in the application's .config file, and you must provide the correct strong name of an assembly.':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_UnifyReferenceMajMin_Description
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_UnifyReferenceBldRev_Description
The following resx files have duplicate values 'Ignoring /win32manifest for module because it only applies to assemblies':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_CantHaveManifestForModule
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_CantHaveManifestForModule_Title
The following resx files have duplicate values 'Ignoring /noconfig option because it was specified in a response file':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_NoConfigNotOnCommandLine
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_NoConfigNotOnCommandLine_Title
The following resx files have duplicate values 'Invalid name for a preprocessing symbol; '{0}' is not a valid identifier':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_DefineIdentifierRequired
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.ERR_InvalidPreprocessingSymbol
The following resx files have duplicate values 'Methods with variable arguments are not CLS-compliant':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_CLS_NoVarArgs
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_CLS_NoVarArgs_Title
The following resx files have duplicate values 'You must specify the CLSCompliant attribute on the assembly, not the module, to enable CLS compliance checking':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_CLS_NotOnModules
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_CLS_NotOnModules_Title
The following resx files have duplicate values 'Added modules must be marked with the CLSCompliant attribute to match the assembly':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_CLS_ModuleMissingCLS
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_CLS_ModuleMissingCLS_Title
The following resx files have duplicate values 'Arrays as attribute arguments is not CLS-compliant':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_CLS_ArrayArgumentToAttribute
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_CLS_ArrayArgumentToAttribute_Title
The following resx files have duplicate values 'You cannot specify the CLSCompliant attribute on a module that differs from the CLSCompliant attribute on the assembly':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_CLS_NotOnModules2
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_CLS_NotOnModules2_Title
The following resx files have duplicate values 'Delay signing was specified and requires a public key, but no public key was specified':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_DelaySignButNoKey
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_DelaySignButNoKey_Title
The following resx files have duplicate values 'The specified version string does not conform to the recommended format - major.minor.build.revision':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_InvalidVersionFormat
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_InvalidVersionFormat_Title
The following resx files have duplicate values 'The best overloaded Add method for the collection initializer element is obsolete':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_DeprecatedCollectionInitAdd_Title
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_DeprecatedCollectionInitAddStr_Title
The following resx files have duplicate values 'The best overloaded Add method '{0}' for the collection initializer element is obsolete. {1}':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_DeprecatedCollectionInitAddStr
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.ERR_DeprecatedCollectionInitAddStr
The following resx files have duplicate values 'Copyright (C) Microsoft Corporation. All rights reserved.':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.IDS_LogoLine2
  P:Microsoft.CodeAnalysis.CSharp.Scripting.CSharpScriptingResources.LogoLine2
The following resx files have duplicate values 'The assembly {0} does not contain any analyzers.':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_NoAnalyzerInAssembly
  P:Microsoft.CodeAnalysis.FeaturesResources.The_assembly_0_does_not_contain_any_analyzers
The following resx files have duplicate values 'Feature '{0}' is not available in C# 8.0. Please use language version {1} or greater.':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.ERR_FeatureNotAvailableInVersion8
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.ERR_FeatureNotAvailableInVersion8_0
The following resx files have duplicate values 'Converting null literal or possible null value to non-nullable type.':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_ConvertingNullableToNonNullable
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_ConvertingNullableToNonNullable_Title
The following resx files have duplicate values 'Possible null reference assignment.':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_NullReferenceAssignment
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_NullReferenceAssignment_Title
The following resx files have duplicate values 'Dereference of a possibly null reference.':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_NullReferenceReceiver
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_NullReferenceReceiver_Title
The following resx files have duplicate values 'Possible null reference return.':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_NullReferenceReturn
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_NullReferenceReturn_Title
The following resx files have duplicate values 'Thrown value may be null.':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_ThrowPossibleNull
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_ThrowPossibleNull_Title
The following resx files have duplicate values 'Unboxing a possibly null value.':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_UnboxPossibleNull
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_UnboxPossibleNull_Title
The following resx files have duplicate values 'Nullability of reference types in type doesn't match overridden member.':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_NullabilityMismatchInTypeOnOverride
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_NullabilityMismatchInTypeOnOverride_Title
The following resx files have duplicate values 'Nullability of reference types in return type doesn't match overridden member.':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_NullabilityMismatchInReturnTypeOnOverride
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_NullabilityMismatchInReturnTypeOnOverride_Title
The following resx files have duplicate values 'Nullability of return type doesn't match overridden member (possibly because of nullability attributes).':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_TopLevelNullabilityMismatchInReturnTypeOnOverride
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_TopLevelNullabilityMismatchInReturnTypeOnOverride_Title
The following resx files have duplicate values 'Nullability of reference types in return type doesn't match partial method declaration.':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_NullabilityMismatchInReturnTypeOnPartial
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_NullabilityMismatchInReturnTypeOnPartial_Title
The following resx files have duplicate values 'A possible null value may not be used for a type marked with [NotNull] or [DisallowNull]':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_DisallowNullAttributeForbidsMaybeNullAssignment
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_DisallowNullAttributeForbidsMaybeNullAssignment_Title
The following resx files have duplicate values 'A method marked [DoesNotReturn] should not return.':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_ShouldNotReturn
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_ShouldNotReturn_Title
The following resx files have duplicate values 'Cannot convert null literal to non-nullable reference type.':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_NullAsNonNullable
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_NullAsNonNullable_Title
The following resx files have duplicate values 'Nullable value type may be null.':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_NullableValueTypeMayBeNull
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_NullableValueTypeMayBeNull_Title
The following resx files have duplicate values 'The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_MissingNonNullTypesContextForAnnotation
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_MissingNonNullTypesContextForAnnotation_Title
The following resx files have duplicate values 'The switch expression does not handle all possible values of its input type (it is not exhaustive).':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_SwitchExpressionNotExhaustive_Title
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_SwitchExpressionNotExhaustiveWithWhen_Title
The following resx files have duplicate values 'The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. Auto-generated code requires an explicit '#nullable' directive in source.':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_MissingNonNullTypesContextForAnnotationInGeneratedCode
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_MissingNonNullTypesContextForAnnotationInGeneratedCode_Title
The following resx files have duplicate values 'The given expression never matches the provided pattern.':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_GivenExpressionNeverMatchesPattern
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_GivenExpressionNeverMatchesPattern_Title
The following resx files have duplicate values 'The given expression always matches the provided constant.':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_GivenExpressionAlwaysMatchesConstant
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_GivenExpressionAlwaysMatchesConstant_Title
The following resx files have duplicate values 'The given expression always matches the provided pattern.':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_GivenExpressionAlwaysMatchesPattern
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_GivenExpressionAlwaysMatchesPattern_Title
The following resx files have duplicate values 'Nullability of reference types in explicit interface specifier doesn't match interface implemented by the type.':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_NullabilityMismatchInExplicitlyImplementedInterface
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_NullabilityMismatchInExplicitlyImplementedInterface_Title
The following resx files have duplicate values 'The switch expression does not handle some null inputs.':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_SwitchExpressionNotExhaustiveForNull_Title
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_SwitchExpressionNotExhaustiveForNullWithWhen_Title
The following resx files have duplicate values 'Types and aliases should not be named 'record'.':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_RecordNamedDisallowed
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_RecordNamedDisallowed_Title
The following resx files have duplicate values 'The assembly '{0}' containing type '{1}' references .NET Framework, which is not supported.':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_AnalyzerReferencesFramework
  P:Microsoft.CodeAnalysis.FeaturesResources.The_assembly_0_containing_type_1_references_NET_Framework
The following resx files have duplicate values 'InterpolatedStringHandlerArgument has no effect when applied to lambda parameters and will be ignored at the call site.':
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_InterpolatedStringHandlerArgumentAttributeIgnoredOnLambdaParameters
  P:Microsoft.CodeAnalysis.CSharp.CSharpResources.WRN_InterpolatedStringHandlerArgumentAttributeIgnoredOnLambdaParameters_Title
The following resx files have duplicate values 'Assembly':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Assembly
  P:Microsoft.CodeAnalysis.FeaturesResources.Assembly
The following resx files have duplicate values 'Exceptions:':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Exceptions_colon
  P:Microsoft.CodeAnalysis.FeaturesResources.Exceptions_colon
  P:Microsoft.CodeAnalysis.WorkspacesResources.Exceptions_colon
The following resx files have duplicate values 'Parameters:':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Parameters_colon1
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Parameters_colon2
  P:Microsoft.CodeAnalysis.FeaturesResources.Parameters_colon
The following resx files have duplicate values 'Project':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Project
  P:Microsoft.CodeAnalysis.FeaturesResources.Project
The following resx files have duplicate values 'Remarks:':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Remarks_colon
  P:Microsoft.CodeAnalysis.FeaturesResources.Remarks_colon
The following resx files have duplicate values 'Returns:':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Returns_colon
  P:Microsoft.CodeAnalysis.FeaturesResources.Returns_colon
The following resx files have duplicate values 'Summary:':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Summary_colon
  P:Microsoft.CodeAnalysis.FeaturesResources.Summary_colon
The following resx files have duplicate values 'Default':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Default_
  P:Microsoft.VisualStudio.LanguageServices.Implementation.SolutionExplorerShim.Default_
The following resx files have duplicate values 'Name:':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Name_colon1
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Name_colon2
The following resx files have duplicate values 'Parameter':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Parameter
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.NamingSpecification_VisualBasic_Parameter
The following resx files have duplicate values '<Unknown>':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Unknown1
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Unknown2
The following resx files have duplicate values '{0} references':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources._0_references
  P:Microsoft.VisualStudio.LanguageServices.CodeLens.CodeLensVSResources._0_references
The following resx files have duplicate values ''{0}' encountered an error and has been disabled.':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources._0_encountered_an_error_and_has_been_disabled
  P:Microsoft.CodeAnalysis.WorkspacesResources._0_encountered_an_error_and_has_been_disabled
The following resx files have duplicate values 'Enable':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Enable
  P:Microsoft.CodeAnalysis.WorkspacesResources.Enable
The following resx files have duplicate values 'Enable and ignore future errors':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Enable_and_ignore_future_errors
  P:Microsoft.CodeAnalysis.WorkspacesResources.Enable_and_ignore_future_errors
The following resx files have duplicate values 'Use expression body for methods':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Use_expression_body_for_methods
  P:Microsoft.CodeAnalysis.CSharp.CSharpAnalyzersResources.Use_expression_body_for_methods
The following resx files have duplicate values 'Use expression body for accessors':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Use_expression_body_for_accessors
  P:Microsoft.CodeAnalysis.CSharp.CSharpAnalyzersResources.Use_expression_body_for_accessors
The following resx files have duplicate values 'Use expression body for constructors':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Use_expression_body_for_constructors
  P:Microsoft.CodeAnalysis.CSharp.CSharpAnalyzersResources.Use_expression_body_for_constructors
The following resx files have duplicate values 'Use expression body for indexers':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Use_expression_body_for_indexers
  P:Microsoft.CodeAnalysis.CSharp.CSharpAnalyzersResources.Use_expression_body_for_indexers
The following resx files have duplicate values 'Use expression body for operators':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Use_expression_body_for_operators
  P:Microsoft.CodeAnalysis.CSharp.CSharpAnalyzersResources.Use_expression_body_for_operators
The following resx files have duplicate values 'Use expression body for properties':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Use_expression_body_for_properties
  P:Microsoft.CodeAnalysis.CSharp.CSharpAnalyzersResources.Use_expression_body_for_properties
The following resx files have duplicate values 'Description':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Description
  P:Microsoft.VisualStudio.LanguageServices.Implementation.SolutionExplorerShim.Description
The following resx files have duplicate values 'Use expression body for local functions':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Use_expression_body_for_local_functions
  P:Microsoft.CodeAnalysis.CSharp.CSharpAnalyzersResources.Use_expression_body_for_local_functions
The following resx files have duplicate values 'Namespace':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Namespace
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.NamingSpecification_VisualBasic_Namespace
The following resx files have duplicate values 'class':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.NamingSpecification_CSharp_Class
  P:Microsoft.CodeAnalysis.FeaturesResources.class_
  P:Microsoft.CodeAnalysis.CodeAnalysisResources.Class1
The following resx files have duplicate values 'delegate':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.NamingSpecification_CSharp_Delegate
  P:Microsoft.CodeAnalysis.FeaturesResources.delegate_
  P:Microsoft.CodeAnalysis.CodeAnalysisResources.Delegate1
The following resx files have duplicate values 'enum':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.NamingSpecification_CSharp_Enum
  P:Microsoft.CodeAnalysis.FeaturesResources.enum_
  P:Microsoft.CodeAnalysis.CodeAnalysisResources.Enum1
The following resx files have duplicate values 'interface':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.NamingSpecification_CSharp_Interface
  P:Microsoft.CodeAnalysis.FeaturesResources.interface_
  P:Microsoft.CodeAnalysis.CodeAnalysisResources.Interface1
The following resx files have duplicate values 'local function':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.NamingSpecification_CSharp_LocalFunction
  P:Microsoft.CodeAnalysis.FeaturesResources.local_function
  P:Microsoft.CodeAnalysis.CSharp.CSharpFeaturesResources.local_function
The following resx files have duplicate values 'struct':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.NamingSpecification_CSharp_Struct
  P:Microsoft.CodeAnalysis.CSharp.CSharpFeaturesResources.struct_
  P:Microsoft.CodeAnalysis.CodeAnalysisResources.Struct1
The following resx files have duplicate values 'Class':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.NamingSpecification_VisualBasic_Class
  P:Microsoft.CodeAnalysis.CompilerExtensionsResources.Class
The following resx files have duplicate values 'Delegate':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.NamingSpecification_VisualBasic_Delegate
  P:Microsoft.CodeAnalysis.CompilerExtensionsResources.Delegate
The following resx files have duplicate values 'Enum':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.NamingSpecification_VisualBasic_Enum
  P:Microsoft.CodeAnalysis.CompilerExtensionsResources.Enum
The following resx files have duplicate values 'Event':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.NamingSpecification_VisualBasic_Event
  P:Microsoft.CodeAnalysis.CompilerExtensionsResources.Event
The following resx files have duplicate values 'Interface':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.NamingSpecification_VisualBasic_Interface
  P:Microsoft.CodeAnalysis.CompilerExtensionsResources.Interface
The following resx files have duplicate values 'Local':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.NamingSpecification_VisualBasic_Local
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Local
The following resx files have duplicate values 'Method':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.NamingSpecification_VisualBasic_Method
  P:Microsoft.CodeAnalysis.CompilerExtensionsResources.Method
The following resx files have duplicate values 'Property':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.NamingSpecification_VisualBasic_Property
  P:Microsoft.CodeAnalysis.CompilerExtensionsResources.Property
The following resx files have duplicate values 'Naming rules':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Naming_rules
  P:Microsoft.CodeAnalysis.CompilerExtensionsResources.Naming_rules
The following resx files have duplicate values 'Value:':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Value_colon
  P:Microsoft.CodeAnalysis.FeaturesResources.Value_colon
The following resx files have duplicate values 'None':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.None
  P:Microsoft.CodeAnalysis.WorkspacesResources.None
  P:Microsoft.CodeAnalysis.CodeStyleResources.None
The following resx files have duplicate values 'Format document':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Format_document
  P:Microsoft.CodeAnalysis.FeaturesResources.Format_document
The following resx files have duplicate values 'Analyzers':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Analyzers
  P:Microsoft.VisualStudio.LanguageServices.Implementation.SolutionExplorerShim.Analyzers
The following resx files have duplicate values 'Category':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Category
  P:Microsoft.VisualStudio.LanguageServices.Implementation.SolutionExplorerShim.Category
The following resx files have duplicate values 'Error':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Error
  P:Microsoft.CodeAnalysis.ExpressionEvaluator.Resources.ErrorName
  P:Microsoft.CodeAnalysis.WorkspacesResources.Error
  P:Microsoft.VisualStudio.LanguageServices.Implementation.SolutionExplorerShim.Error_
  P:Microsoft.CodeAnalysis.CodeStyleResources.Error
The following resx files have duplicate values 'Refactoring Only':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Refactoring_Only
  P:Microsoft.CodeAnalysis.WorkspacesResources.Refactoring_Only
  P:Microsoft.CodeAnalysis.CodeStyleResources.Refactoring_Only
The following resx files have duplicate values 'Suggestion':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Suggestion
  P:Microsoft.CodeAnalysis.WorkspacesResources.Suggestion
  P:Microsoft.CodeAnalysis.CodeStyleResources.Suggestion
The following resx files have duplicate values 'Title':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Title
  P:Microsoft.VisualStudio.LanguageServices.Implementation.SolutionExplorerShim.Title
The following resx files have duplicate values 'Value Tracking':
  P:Microsoft.VisualStudio.LanguageServices.ServicesVSResources.Value_Tracking
  P:Microsoft.CodeAnalysis.Remote.RemoteWorkspacesResources.FeatureName_ValueTracking
The following resx files have duplicate values 'Edit and Continue':
  P:Microsoft.CodeAnalysis.Remote.RemoteWorkspacesResources.FeatureName_EditAndContinue
  P:Microsoft.CodeAnalysis.FeaturesResources.EditAndContinue
The following resx files have duplicate values 'Type "#help" for more information.':
  P:Microsoft.CodeAnalysis.Scripting.ScriptingResources.HelpPrompt
  P:Microsoft.CodeAnalysis.Interactive.InteractiveHostResources.Type_Sharphelp_for_more_information
The following resx files have duplicate values '{0} - {1}':
  P:Microsoft.CodeAnalysis.FeaturesResources._0_1
  P:Microsoft.CodeAnalysis.FeaturesResources._0_dash_1
The following resx files have duplicate values 'Argument cannot have a null element.':
  P:Microsoft.CodeAnalysis.FeaturesResources.Argument_cannot_have_a_null_element
  P:Microsoft.CodeAnalysis.CodeAnalysisResources.ArgumentElementCannotBeNull
The following resx files have duplicate values 'Argument cannot be empty.':
  P:Microsoft.CodeAnalysis.FeaturesResources.Argument_cannot_be_empty
  P:Microsoft.CodeAnalysis.CodeAnalysisResources.ArgumentCannotBeEmpty
The following resx files have duplicate values 'Reported diagnostic with ID '{0}' is not supported by the analyzer.':
  P:Microsoft.CodeAnalysis.FeaturesResources.Reported_diagnostic_with_ID_0_is_not_supported_by_the_analyzer
  P:Microsoft.CodeAnalysis.CodeAnalysisResources.UnsupportedDiagnosticReported
The following resx files have duplicate values 'Properties':
  P:Microsoft.CodeAnalysis.FeaturesResources.Properties
  P:Microsoft.CodeAnalysis.CSharp.CSharpFeaturesResources.Properties
The following resx files have duplicate values 'Pascal Case':
  P:Microsoft.CodeAnalysis.FeaturesResources.Pascal_Case
  P:Microsoft.CodeAnalysis.CompilerExtensionsResources.Pascal_Case
The following resx files have duplicate values 'Reported diagnostic '{0}' has a source location in file '{1}', which is not part of the compilation being analyzed.':
  P:Microsoft.CodeAnalysis.FeaturesResources.Reported_diagnostic_0_has_a_source_location_in_file_1_which_is_not_part_of_the_compilation_being_analyzed
  P:Microsoft.CodeAnalysis.CodeAnalysisResources.InvalidDiagnosticLocationReported
The following resx files have duplicate values 'Reported diagnostic '{0}' has a source location '{1}' in file '{2}', which is outside of the given file.':
  P:Microsoft.CodeAnalysis.FeaturesResources.Reported_diagnostic_0_has_a_source_location_1_in_file_2_which_is_outside_of_the_given_file
  P:Microsoft.CodeAnalysis.CodeAnalysisResources.InvalidDiagnosticSpanReported
The following resx files have duplicate values 'Add accessibility modifiers':
  P:Microsoft.CodeAnalysis.FeaturesResources.Add_accessibility_modifiers
  P:Microsoft.CodeAnalysis.AnalyzersResources.Add_accessibility_modifiers
The following resx files have duplicate values 'indexer':
  P:Microsoft.CodeAnalysis.FeaturesResources.indexer_
  P:Microsoft.CodeAnalysis.CSharp.CSharpFeaturesResources.indexer
The following resx files have duplicate values 'Fix formatting':
  P:Microsoft.CodeAnalysis.FeaturesResources.Fix_formatting
  P:Microsoft.CodeAnalysis.CodeStyleResources.Fix_formatting
The following resx files have duplicate values 'Stream must support read and seek operations.':
  P:Microsoft.CodeAnalysis.FeaturesResources.StreamMustSupportReadAndSeek
  P:Microsoft.CodeAnalysis.CodeAnalysisResources.StreamMustSupportReadAndSeek
The following resx files have duplicate values 'match at least 'n' times (lazy)':
  P:Microsoft.CodeAnalysis.FeaturesResources.Regex_match_at_least_n_times_lazy_short
  P:Microsoft.CodeAnalysis.FeaturesResources.Regex_match_between_m_and_n_times_lazy_short
The following resx files have duplicate values 'Sort accessibility modifiers':
  P:Microsoft.CodeAnalysis.FeaturesResources.Sort_accessibility_modifiers
  P:Microsoft.CodeAnalysis.CSharp.CSharpFeaturesResources.Sort_accessibility_modifiers
The following resx files have duplicate values 'Invalid selection.':
  P:Microsoft.CodeAnalysis.FeaturesResources.Invalid_selection
  P:Microsoft.CodeAnalysis.CSharp.CSharpFeaturesResources.Invalid_selection
The following resx files have duplicate values 'Outside namespace':
  P:Microsoft.CodeAnalysis.Editor.CSharp.CSharpEditorResources.Outside_namespace
  P:Microsoft.VisualStudio.LanguageServices.CSharp.CSharpVSResources.Outside_namespace
The following resx files have duplicate values 'Prefer 'null' check over type check':
  P:Microsoft.CodeAnalysis.CSharp.CSharpAnalyzersResources.Prefer_null_check_over_type_check
  P:Microsoft.VisualStudio.LanguageServices.CSharp.CSharpVSResources.Prefer_null_check_over_type_check
The following resx files have duplicate values 'Remove this value when another is added.':
  P:Microsoft.CodeAnalysis.CodeStyleFixesResources.EmptyResource
  P:Microsoft.CodeAnalysis.CSharp.CSharpCodeStyleFixesResources.EmptyResource
  P:Microsoft.CodeAnalysis.CSharp.CSharpWorkspaceExtensionsResources.EmptyResource
The following resx files have duplicate values 'A language name cannot be specified for this option.':
  P:Microsoft.CodeAnalysis.WorkspacesResources.A_language_name_cannot_be_specified_for_this_option
  P:Microsoft.CodeAnalysis.CodeAnalysisResources.A_language_name_cannot_be_specified_for_this_option
  P:Microsoft.CodeAnalysis.CodeStyleResources.A_language_name_cannot_be_specified_for_this_option
The following resx files have duplicate values 'A language name must be specified for this option.':
  P:Microsoft.CodeAnalysis.WorkspacesResources.A_language_name_must_be_specified_for_this_option
  P:Microsoft.CodeAnalysis.CodeAnalysisResources.A_language_name_must_be_specified_for_this_option
  P:Microsoft.CodeAnalysis.CodeStyleResources.A_language_name_must_be_specified_for_this_option
The following resx files have duplicate values 'Arrays with more than one dimension cannot be serialized.':
  P:Microsoft.CodeAnalysis.WorkspacesResources.Arrays_with_more_than_one_dimension_cannot_be_serialized
  P:Microsoft.CodeAnalysis.CodeAnalysisResources.Arrays_with_more_than_one_dimension_cannot_be_serialized
  P:Microsoft.CodeAnalysis.CodeStyleResources.Arrays_with_more_than_one_dimension_cannot_be_serialized
The following resx files have duplicate values 'Value too large to be represented as a 30 bit unsigned integer.':
  P:Microsoft.CodeAnalysis.WorkspacesResources.Value_too_large_to_be_represented_as_a_30_bit_unsigned_integer
  P:Microsoft.CodeAnalysis.CodeAnalysisResources.Value_too_large_to_be_represented_as_a_30_bit_unsigned_integer
  P:Microsoft.CodeAnalysis.CodeStyleResources.Value_too_large_to_be_represented_as_a_30_bit_unsigned_integer
The following resx files have duplicate values 'Cannot deserialize type '{0}'.':
  P:Microsoft.CodeAnalysis.WorkspacesResources.Cannot_deserialize_type_0
  P:Microsoft.CodeAnalysis.CodeAnalysisResources.Cannot_deserialize_type_0
The following resx files have duplicate values 'Cannot serialize type '{0}'.':
  P:Microsoft.CodeAnalysis.WorkspacesResources.Cannot_serialize_type_0
  P:Microsoft.CodeAnalysis.CodeAnalysisResources.Cannot_serialize_type_0
  P:Microsoft.CodeAnalysis.CodeStyleResources.Cannot_serialize_type_0
The following resx files have duplicate values 'The type '{0}' is not understood by the serialization binder.':
  P:Microsoft.CodeAnalysis.WorkspacesResources.The_type_0_is_not_understood_by_the_serialization_binder
  P:Microsoft.CodeAnalysis.CodeAnalysisResources.The_type_0_is_not_understood_by_the_serialization_binder
  P:Microsoft.CodeAnalysis.CodeStyleResources.The_type_0_is_not_understood_by_the_serialization_binder
The following resx files have duplicate values 'Stream is too long.':
  P:Microsoft.CodeAnalysis.WorkspacesResources.Stream_is_too_long
  P:Microsoft.CodeAnalysis.CodeAnalysisResources.StreamIsTooLong
  P:Microsoft.CodeAnalysis.CodeStyleResources.Stream_is_too_long
The following resx files have duplicate values 'Deserialization reader for '{0}' read incorrect number of values.':
  P:Microsoft.CodeAnalysis.WorkspacesResources.Deserialization_reader_for_0_read_incorrect_number_of_values
  P:Microsoft.CodeAnalysis.CodeAnalysisResources.Deserialization_reader_for_0_read_incorrect_number_of_values
  P:Microsoft.CodeAnalysis.CodeStyleResources.Deserialization_reader_for_0_read_incorrect_number_of_values
The following resx files have duplicate values 'Indentation and spacing':
  P:Microsoft.CodeAnalysis.WorkspacesResources.Indentation_and_spacing
  P:Microsoft.CodeAnalysis.CodeStyleResources.Indentation_and_spacing
The following resx files have duplicate values 'New line preferences':
  P:Microsoft.CodeAnalysis.WorkspacesResources.New_line_preferences
  P:Microsoft.CodeAnalysis.CompilerExtensionsResources.New_line_preferences
  P:Microsoft.CodeAnalysis.CodeStyleResources.New_line_preferences
The following resx files have duplicate values 'Absolute path expected.':
  P:Microsoft.CodeAnalysis.CompilerExtensionsResources.Absolute_path_expected
  P:Microsoft.CodeAnalysis.CodeAnalysisResources.AbsolutePathExpected
The following resx files have duplicate values 'Indentation preferences':
  P:Microsoft.CodeAnalysis.CSharp.CSharpCodeStyleResources.Indentation_preferences
  P:Microsoft.CodeAnalysis.CSharp.CSharpWorkspaceResources.Indentation_preferences
The following resx files have duplicate values 'Space preferences':
  P:Microsoft.CodeAnalysis.CSharp.CSharpCodeStyleResources.Space_preferences
  P:Microsoft.CodeAnalysis.CSharp.CSharpWorkspaceResources.Space_preferences
The following resx files have duplicate values 'Wrapping preferences':
  P:Microsoft.CodeAnalysis.CSharp.CSharpCodeStyleResources.Wrapping_preferences
  P:Microsoft.CodeAnalysis.CSharp.CSharpWorkspaceResources.Wrapping_preferences
The following resx files have duplicate values 'Insert space between method name and its opening parenthesis':
  P:Microsoft.VisualStudio.LanguageServices.CSharp.CSharpVSResources.Insert_space_between_method_name_and_its_opening_parenthesis1
  P:Microsoft.VisualStudio.LanguageServices.CSharp.CSharpVSResources.Insert_space_between_method_name_and_its_opening_parenthesis2
dotnet-issue-labeler[bot] commented 3 years ago

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

jmarolf commented 3 years ago

CC: @CyrusNajmabadi

CyrusNajmabadi commented 3 years ago

Can your tool remove them? :)

jmarolf commented 3 years ago

We could setup something in CI to fail the build if a new duplicate resource string is added once we get clean :)

jmarolf commented 3 years ago

@sharwell do you know why we duplicated these resource strings for code style?

Youssef1313 commented 3 years ago

Related to https://github.com/dotnet/roslyn/issues/52343