From bb0e8c0def3773850b5a5659a3790d5f7b09e1c3 Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Mon, 5 Apr 2021 09:26:46 -0700 Subject: [PATCH 1/5] Use ResxSourceGenerator for resource generation --- StyleCop.Analyzers/Directory.Build.props | 6 +- StyleCop.Analyzers/Directory.Build.targets | 16 +- .../DocumentationResources.Designer.cs | 1810 ----------------- .../Helpers/HelpersResources.Designer.cs | 91 - .../LayoutRules/LayoutResources.Designer.cs | 910 --------- ...onRules.DocumentationResources.Designer.cs | 406 ++++ ...yzers.Helpers.HelpersResources.Designer.cs | 24 + ...rs.LayoutRules.LayoutResources.Designer.cs | 206 ++ ...Rules.MaintainabilityResources.Designer.cs | 130 ++ ...rs.NamingRules.NamingResources.Designer.cs | 134 ++ ...rderingRules.OrderingResources.Designer.cs | 136 ++ ...lityRules.ReadabilityResources.Designer.cs | 322 +++ ...ers.Settings.SettingsResources.Designer.cs | 20 + ....SpacingRules.SpacingResources.Designer.cs | 248 +++ ....SpecialRules.SpecialResources.Designer.cs | 32 + .../MaintainabilityResources.Designer.cs | 568 ------ .../NamingRules/NamingResources.Designer.cs | 586 ------ .../OrderingResources.Designer.cs | 595 ------ .../ReadabilityResources.Designer.cs | 1432 ------------- .../Settings/SettingsResources.Designer.cs | 73 - .../SpacingRules/SpacingResources.Designer.cs | 1099 ---------- .../SpecialRules/SpecialResources.Designer.cs | 120 -- 22 files changed, 1673 insertions(+), 7291 deletions(-) delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/DocumentationRules/DocumentationResources.Designer.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/Helpers/HelpersResources.Designer.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/LayoutRules/LayoutResources.Designer.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.DocumentationRules.DocumentationResources.Designer.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.Helpers.HelpersResources.Designer.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.LayoutRules.LayoutResources.Designer.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.MaintainabilityRules.MaintainabilityResources.Designer.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.NamingRules.NamingResources.Designer.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.OrderingRules.OrderingResources.Designer.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.ReadabilityRules.ReadabilityResources.Designer.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.Settings.SettingsResources.Designer.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.SpacingRules.SpacingResources.Designer.cs create mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.SpecialRules.SpecialResources.Designer.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/MaintainabilityRules/MaintainabilityResources.Designer.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/NamingRules/NamingResources.Designer.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/OrderingRules/OrderingResources.Designer.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/ReadabilityRules/ReadabilityResources.Designer.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/Settings/SettingsResources.Designer.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/SpacingRules/SpacingResources.Designer.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/SpecialRules/SpecialResources.Designer.cs diff --git a/StyleCop.Analyzers/Directory.Build.props b/StyleCop.Analyzers/Directory.Build.props index a690246ef..46a5cbfd6 100644 --- a/StyleCop.Analyzers/Directory.Build.props +++ b/StyleCop.Analyzers/Directory.Build.props @@ -50,9 +50,13 @@ + + + + - + diff --git a/StyleCop.Analyzers/Directory.Build.targets b/StyleCop.Analyzers/Directory.Build.targets index 862c5c1c8..d71f2975b 100644 --- a/StyleCop.Analyzers/Directory.Build.targets +++ b/StyleCop.Analyzers/Directory.Build.targets @@ -1,17 +1,21 @@ + + true + + - + - + + + + - + - - - diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/DocumentationRules/DocumentationResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/DocumentationRules/DocumentationResources.Designer.cs deleted file mode 100644 index 0addd38d5..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers/DocumentationRules/DocumentationResources.Designer.cs +++ /dev/null @@ -1,1810 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace StyleCop.Analyzers.DocumentationRules { - using System; - using System.Reflection; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class DocumentationResources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal DocumentationResources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("StyleCop.Analyzers.DocumentationRules.DocumentationResources", typeof(DocumentationResources).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Generate constructor documentation. - /// - internal static string ConstructorDocumentationCodeFix { - get { - return ResourceManager.GetString("ConstructorDocumentationCodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Generate destructor documentation. - /// - internal static string DestructorDocumentationCodeFix { - get { - return ResourceManager.GetString("DestructorDocumentationCodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Finalizes an instance of the . - /// - internal static string DestructorStandardTextFirstPart { - get { - return ResourceManager.GetString("DestructorStandardTextFirstPart", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to class.. - /// - internal static string DestructorStandardTextSecondPart { - get { - return ResourceManager.GetString("DestructorStandardTextSecondPart", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Inherit documentation. - /// - internal static string InheritdocCodeFix { - get { - return ResourceManager.GetString("InheritdocCodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Generate method documentation. - /// - internal static string MethodDocumentationCodeFix { - get { - return ResourceManager.GetString("MethodDocumentationCodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Initializes a new instance of the . - /// - internal static string NonPrivateConstructorStandardTextFirstPart { - get { - return ResourceManager.GetString("NonPrivateConstructorStandardTextFirstPart", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {0}. - /// - internal static string NonPrivateConstructorStandardTextSecondPart { - get { - return ResourceManager.GetString("NonPrivateConstructorStandardTextSecondPart", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The parameter is not used.. - /// - internal static string ParameterNotUsed { - get { - return ResourceManager.GetString("ParameterNotUsed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Prevents a default instance of the . - /// - internal static string PrivateConstructorStandardTextFirstPart { - get { - return ResourceManager.GetString("PrivateConstructorStandardTextFirstPart", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {0} from being created. - /// - internal static string PrivateConstructorStandardTextSecondPart { - get { - return ResourceManager.GetString("PrivateConstructorStandardTextSecondPart", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Add standard text. - /// - internal static string PropertySummaryStartTextCodeFix { - get { - return ResourceManager.GetString("PropertySummaryStartTextCodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A C# code element is missing a documentation header.. - /// - internal static string SA1600Description { - get { - return ResourceManager.GetString("SA1600Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Elements should be documented. - /// - internal static string SA1600MessageFormat { - get { - return ResourceManager.GetString("SA1600MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Elements should be documented. - /// - internal static string SA1600Title { - get { - return ResourceManager.GetString("SA1600Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A C# partial element is missing a documentation header.. - /// - internal static string SA1601Description { - get { - return ResourceManager.GetString("SA1601Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Partial elements should be documented. - /// - internal static string SA1601MessageFormat { - get { - return ResourceManager.GetString("SA1601MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Partial elements should be documented. - /// - internal static string SA1601Title { - get { - return ResourceManager.GetString("SA1601Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An item within a C# enumeration is missing an Xml documentation header.. - /// - internal static string SA1602Description { - get { - return ResourceManager.GetString("SA1602Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Enumeration items should be documented. - /// - internal static string SA1602MessageFormat { - get { - return ResourceManager.GetString("SA1602MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Enumeration items should be documented. - /// - internal static string SA1602Title { - get { - return ResourceManager.GetString("SA1602Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The XML within a C# element’s document header is badly formed.. - /// - internal static string SA1603Description { - get { - return ResourceManager.GetString("SA1603Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The documentation header is composed of invalid XML: {0}. - /// - internal static string SA1603MessageFormat { - get { - return ResourceManager.GetString("SA1603MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Documentation should contain valid XML. - /// - internal static string SA1603Title { - get { - return ResourceManager.GetString("SA1603Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The XML header documentation for a C# element is missing a <summary> tag.. - /// - internal static string SA1604Description { - get { - return ResourceManager.GetString("SA1604Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Element documentation should have summary. - /// - internal static string SA1604MessageFormat { - get { - return ResourceManager.GetString("SA1604MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Element documentation should have summary. - /// - internal static string SA1604Title { - get { - return ResourceManager.GetString("SA1604Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The <summary> or <content> tag within the documentation header for a C# code element is missing or empty.. - /// - internal static string SA1605Description { - get { - return ResourceManager.GetString("SA1605Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Partial element documentation should have summary. - /// - internal static string SA1605MessageFormat { - get { - return ResourceManager.GetString("SA1605MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Partial element documentation should have summary. - /// - internal static string SA1605Title { - get { - return ResourceManager.GetString("SA1605Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The <summary> tag within the documentation header for a C# code element is empty.. - /// - internal static string SA1606Description { - get { - return ResourceManager.GetString("SA1606Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Element documentation should have summary text. - /// - internal static string SA1606MessageFormat { - get { - return ResourceManager.GetString("SA1606MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Element documentation should have summary text. - /// - internal static string SA1606Title { - get { - return ResourceManager.GetString("SA1606Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The <summary> or <content> tag within the documentation header for a C# code element is empty.. - /// - internal static string SA1607Description { - get { - return ResourceManager.GetString("SA1607Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Partial element documentation should have summary text. - /// - internal static string SA1607MessageFormat { - get { - return ResourceManager.GetString("SA1607MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Partial element documentation should have summary text. - /// - internal static string SA1607Title { - get { - return ResourceManager.GetString("SA1607Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The <summary> tag within an element's XML header documentation contains the default text generated by Visual Studio during the creation of the element.. - /// - internal static string SA1608Description { - get { - return ResourceManager.GetString("SA1608Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Element documentation should not have default summary. - /// - internal static string SA1608MessageFormat { - get { - return ResourceManager.GetString("SA1608MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Element documentation should not have default summary. - /// - internal static string SA1608Title { - get { - return ResourceManager.GetString("SA1608Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The XML header documentation for a C# property does not contain a <value> tag.. - /// - internal static string SA1609Description { - get { - return ResourceManager.GetString("SA1609Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Property documentation should have value. - /// - internal static string SA1609MessageFormat { - get { - return ResourceManager.GetString("SA1609MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Document value from summary. - /// - internal static string SA1609SA1610CodeFix { - get { - return ResourceManager.GetString("SA1609SA1610CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Property documentation should have value. - /// - internal static string SA1609Title { - get { - return ResourceManager.GetString("SA1609Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The XML header documentation for a C# property contains an empty <value> tag.. - /// - internal static string SA1610Description { - get { - return ResourceManager.GetString("SA1610Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Property documentation should have value text. - /// - internal static string SA1610MessageFormat { - get { - return ResourceManager.GetString("SA1610MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Property documentation should have value text. - /// - internal static string SA1610Title { - get { - return ResourceManager.GetString("SA1610Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A C# method, constructor, delegate or indexer element is missing documentation for one or more of its parameters.. - /// - internal static string SA1611Description { - get { - return ResourceManager.GetString("SA1611Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The documentation for parameter '{0}' is missing. - /// - internal static string SA1611MessageFormat { - get { - return ResourceManager.GetString("SA1611MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Element parameters should be documented. - /// - internal static string SA1611Title { - get { - return ResourceManager.GetString("SA1611Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The documentation describing the parameters to a C# method, constructor, delegate or indexer element does not match the actual parameters on the element.. - /// - internal static string SA1612Description { - get { - return ResourceManager.GetString("SA1612Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The parameter '{0}' does not exist. - /// - internal static string SA1612MissingParamForDocumentationMessageFormat { - get { - return ResourceManager.GetString("SA1612MissingParamForDocumentationMessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The parameter documentation for '{0}' should be at position {1}. - /// - internal static string SA1612ParamWrongOrderMessageFormat { - get { - return ResourceManager.GetString("SA1612ParamWrongOrderMessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Element parameter documentation should match element parameters. - /// - internal static string SA1612Title { - get { - return ResourceManager.GetString("SA1612Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A <param> tag within a C# element's documentation header is missing a name attribute containing the name of the parameter.. - /// - internal static string SA1613Description { - get { - return ResourceManager.GetString("SA1613Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Element parameter documentation should declare parameter name. - /// - internal static string SA1613MessageFormat { - get { - return ResourceManager.GetString("SA1613MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Element parameter documentation should declare parameter name. - /// - internal static string SA1613Title { - get { - return ResourceManager.GetString("SA1613Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A <param> tag within a C# element's documentation header is empty.. - /// - internal static string SA1614Description { - get { - return ResourceManager.GetString("SA1614Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Element parameter documentation should have text. - /// - internal static string SA1614MessageFormat { - get { - return ResourceManager.GetString("SA1614MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Element parameter documentation should have text. - /// - internal static string SA1614Title { - get { - return ResourceManager.GetString("SA1614Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A C# element is missing documentation for its return value.. - /// - internal static string SA1615Description { - get { - return ResourceManager.GetString("SA1615Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Element return value should be documented. - /// - internal static string SA1615MessageFormat { - get { - return ResourceManager.GetString("SA1615MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Document return value. - /// - internal static string SA1615SA1616CodeFix { - get { - return ResourceManager.GetString("SA1615SA1616CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Element return value should be documented. - /// - internal static string SA1615Title { - get { - return ResourceManager.GetString("SA1615Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The <returns> tag within a C# element's documentation header is empty.. - /// - internal static string SA1616Description { - get { - return ResourceManager.GetString("SA1616Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Element return value documentation should have text. - /// - internal static string SA1616MessageFormat { - get { - return ResourceManager.GetString("SA1616MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Element return value documentation should have text. - /// - internal static string SA1616Title { - get { - return ResourceManager.GetString("SA1616Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remove <returns> XML comment. - /// - internal static string SA1617CodeFix { - get { - return ResourceManager.GetString("SA1617CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A C# code element does not contain a return value, or returns void, but the documentation header for the element contains a <returns> tag.. - /// - internal static string SA1617Description { - get { - return ResourceManager.GetString("SA1617Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Void return value should not be documented. - /// - internal static string SA1617MessageFormat { - get { - return ResourceManager.GetString("SA1617MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Void return value should not be documented. - /// - internal static string SA1617Title { - get { - return ResourceManager.GetString("SA1617Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A generic C# element is missing documentation for one or more of its generic type parameters.. - /// - internal static string SA1618Description { - get { - return ResourceManager.GetString("SA1618Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The documentation for type parameter '{0}' is missing. - /// - internal static string SA1618MessageFormat { - get { - return ResourceManager.GetString("SA1618MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Generic type parameters should be documented. - /// - internal static string SA1618Title { - get { - return ResourceManager.GetString("SA1618Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A generic, partial C# element is missing documentation for one or more of its generic type parameters, and the documentation for the element contains a <summary> tag.. - /// - internal static string SA1619Description { - get { - return ResourceManager.GetString("SA1619Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The documentation for type parameter '{0}' is missing. - /// - internal static string SA1619MessageFormat { - get { - return ResourceManager.GetString("SA1619MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Generic type parameters should be documented partial class. - /// - internal static string SA1619Title { - get { - return ResourceManager.GetString("SA1619Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The <typeparam> tags within the Xml header documentation for a generic C# element do not match the generic type parameters on the element.. - /// - internal static string SA1620Description { - get { - return ResourceManager.GetString("SA1620Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The type parameter '{0}' does not exist.. - /// - internal static string SA1620MissingMessageFormat { - get { - return ResourceManager.GetString("SA1620MissingMessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Generic type parameter documentation should match type parameters. - /// - internal static string SA1620Title { - get { - return ResourceManager.GetString("SA1620Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The type parameter documentation for '{0}' should be at position {1}.. - /// - internal static string SA1620WrongOrderMessageFormat { - get { - return ResourceManager.GetString("SA1620WrongOrderMessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A <typeparam> tag within the XML header documentation for a generic C# element is missing a name attribute, or contains an empty name attribute.. - /// - internal static string SA1621Description { - get { - return ResourceManager.GetString("SA1621Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Generic type parameter documentation should declare parameter name.. - /// - internal static string SA1621MessageFormat { - get { - return ResourceManager.GetString("SA1621MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Generic type parameter documentation should declare parameter name. - /// - internal static string SA1621Title { - get { - return ResourceManager.GetString("SA1621Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A <typeparam> tag within the Xml header documentation for a generic C# element is empty.. - /// - internal static string SA1622Description { - get { - return ResourceManager.GetString("SA1622Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Generic type parameter documentation should have text.. - /// - internal static string SA1622MessageFormat { - get { - return ResourceManager.GetString("SA1622MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Generic type parameter documentation should have text. - /// - internal static string SA1622Title { - get { - return ResourceManager.GetString("SA1622Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The documentation text within a C# property’s <summary> tag does not match the accessors within the property.. - /// - internal static string SA1623Description { - get { - return ResourceManager.GetString("SA1623Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The property's documentation summary text should begin with: '{0}'. - /// - internal static string SA1623MessageFormat { - get { - return ResourceManager.GetString("SA1623MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Property summary documentation should match accessors. - /// - internal static string SA1623Title { - get { - return ResourceManager.GetString("SA1623Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The documentation text within a C# property’s <summary> tag takes into account all of the accessors within the property, but one of the accessors has limited access.. - /// - internal static string SA1624Description { - get { - return ResourceManager.GetString("SA1624Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Because the property only contains a visible {0} accessor, the documentation summary text should begin with '{1}'.. - /// - internal static string SA1624MessageFormat { - get { - return ResourceManager.GetString("SA1624MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Property summary documentation should omit accessor with restricted access. - /// - internal static string SA1624Title { - get { - return ResourceManager.GetString("SA1624Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The Xml documentation for a C# element contains two or more identical entries, indicating that the documentation has been copied and pasted. This can sometimes indicate invalid or poorly written documentation.. - /// - internal static string SA1625Description { - get { - return ResourceManager.GetString("SA1625Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Element documentation should not be copied and pasted. - /// - internal static string SA1625MessageFormat { - get { - return ResourceManager.GetString("SA1625MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Element documentation should not be copied and pasted. - /// - internal static string SA1625Title { - get { - return ResourceManager.GetString("SA1625Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Convert to line comment. - /// - internal static string SA1626CodeFix { - get { - return ResourceManager.GetString("SA1626CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The C# code contains a single-line comment which begins with three forward slashes in a row.. - /// - internal static string SA1626Description { - get { - return ResourceManager.GetString("SA1626Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Single-line comments should not use documentation style slashes. - /// - internal static string SA1626MessageFormat { - get { - return ResourceManager.GetString("SA1626MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Single-line comments should not use documentation style slashes. - /// - internal static string SA1626Title { - get { - return ResourceManager.GetString("SA1626Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The XML header documentation for a C# code element contains an empty tag.. - /// - internal static string SA1627Description { - get { - return ResourceManager.GetString("SA1627Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The documentation text within the '{0}' tag should not be empty. - /// - internal static string SA1627MessageFormat { - get { - return ResourceManager.GetString("SA1627MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Documentation text should not be empty. - /// - internal static string SA1627Title { - get { - return ResourceManager.GetString("SA1627Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A section of the XML header documentation for a C# element does not begin with a capital letter.. - /// - internal static string SA1628Description { - get { - return ResourceManager.GetString("SA1628Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to TODO: Message format. - /// - internal static string SA1628MessageFormat { - get { - return ResourceManager.GetString("SA1628MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Documentation text should begin with a capital letter. - /// - internal static string SA1628Title { - get { - return ResourceManager.GetString("SA1628Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Add period. - /// - internal static string SA1629CodeFix { - get { - return ResourceManager.GetString("SA1629CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A section of the XML header documentation for a C# element does not end with a period.. - /// - internal static string SA1629Description { - get { - return ResourceManager.GetString("SA1629Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Documentation text should end with a period. - /// - internal static string SA1629MessageFormat { - get { - return ResourceManager.GetString("SA1629MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Documentation text should end with a period. - /// - internal static string SA1629Title { - get { - return ResourceManager.GetString("SA1629Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A section of the XML header documentation for a C# element does not contain any whitespace between words.. - /// - internal static string SA1630Description { - get { - return ResourceManager.GetString("SA1630Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to TODO: Message format. - /// - internal static string SA1630MessageFormat { - get { - return ResourceManager.GetString("SA1630MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Documentation text should contain whitespace. - /// - internal static string SA1630Title { - get { - return ResourceManager.GetString("SA1630Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A section of the Xml header documentation for a C# element does not contain enough alphabetic characters.. - /// - internal static string SA1631Description { - get { - return ResourceManager.GetString("SA1631Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to TODO: Message format. - /// - internal static string SA1631MessageFormat { - get { - return ResourceManager.GetString("SA1631MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Documentation should meet character percentage. - /// - internal static string SA1631Title { - get { - return ResourceManager.GetString("SA1631Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A section of the Xml header documentation for a C# element is too short.. - /// - internal static string SA1632Description { - get { - return ResourceManager.GetString("SA1632Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to TODO: Message format. - /// - internal static string SA1632MessageFormat { - get { - return ResourceManager.GetString("SA1632MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Documentation text should meet minimum character length. - /// - internal static string SA1632Title { - get { - return ResourceManager.GetString("SA1632Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Add file header. - /// - internal static string SA1633CodeFix { - get { - return ResourceManager.GetString("SA1633CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A C# code file is missing a standard file header.. - /// - internal static string SA1633Description { - get { - return ResourceManager.GetString("SA1633Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The file header XML is invalid.. - /// - internal static string SA1633MessageFormatMalformed { - get { - return ResourceManager.GetString("SA1633MessageFormatMalformed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The file header is missing or not located at the top of the file.. - /// - internal static string SA1633MessageFormatMissing { - get { - return ResourceManager.GetString("SA1633MessageFormatMissing", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to File should have header. - /// - internal static string SA1633Title { - get { - return ResourceManager.GetString("SA1633Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The file header at the top of a C# code file is missing a copyright tag.. - /// - internal static string SA1634Description { - get { - return ResourceManager.GetString("SA1634Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The file header should contain a copyright tag.. - /// - internal static string SA1634MessageFormat { - get { - return ResourceManager.GetString("SA1634MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to File header should show copyright. - /// - internal static string SA1634Title { - get { - return ResourceManager.GetString("SA1634Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The file header at the top of a C# code file is missing copyright text.. - /// - internal static string SA1635Description { - get { - return ResourceManager.GetString("SA1635Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to File header should have copyright text. - /// - internal static string SA1635MessageFormat { - get { - return ResourceManager.GetString("SA1635MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to File header should have copyright text. - /// - internal static string SA1635Title { - get { - return ResourceManager.GetString("SA1635Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The file header at the top of a C# code file does not contain the appropriate copyright text.. - /// - internal static string SA1636Description { - get { - return ResourceManager.GetString("SA1636Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The file header copyright text should match the copyright text from the settings.. - /// - internal static string SA1636MessageFormat { - get { - return ResourceManager.GetString("SA1636MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to File header copyright text should match. - /// - internal static string SA1636Title { - get { - return ResourceManager.GetString("SA1636Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The file header at the top of a C# code file is missing the file name.. - /// - internal static string SA1637Description { - get { - return ResourceManager.GetString("SA1637Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to File header should contain file name.. - /// - internal static string SA1637MessageFormat { - get { - return ResourceManager.GetString("SA1637MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to File header should contain file name. - /// - internal static string SA1637Title { - get { - return ResourceManager.GetString("SA1637Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The file attribute within copyright tag of the file header at the top of a C# code file does not contain the name of the file.. - /// - internal static string SA1638Description { - get { - return ResourceManager.GetString("SA1638Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to File header file name documentation should match file name.. - /// - internal static string SA1638MessageFormat { - get { - return ResourceManager.GetString("SA1638MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to File header file name documentation should match file name. - /// - internal static string SA1638Title { - get { - return ResourceManager.GetString("SA1638Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The file header at the top of a C# code file does not contain a filled-in summary tag.. - /// - internal static string SA1639Description { - get { - return ResourceManager.GetString("SA1639Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to File header should have summary. - /// - internal static string SA1639MessageFormat { - get { - return ResourceManager.GetString("SA1639MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to File header should have summary. - /// - internal static string SA1639Title { - get { - return ResourceManager.GetString("SA1639Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The file header at the top of a C# code file does not contain company name text.. - /// - internal static string SA1640Description { - get { - return ResourceManager.GetString("SA1640Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The copyright tag should contain a non-empty company attribute.. - /// - internal static string SA1640MessageFormat { - get { - return ResourceManager.GetString("SA1640MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to File header should have valid company text. - /// - internal static string SA1640Title { - get { - return ResourceManager.GetString("SA1640Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The file header at the top of a C# code file does not contain the appropriate company name text.. - /// - internal static string SA1641Description { - get { - return ResourceManager.GetString("SA1641Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The file header company name should match the company name from the settings.. - /// - internal static string SA1641MessageFormat { - get { - return ResourceManager.GetString("SA1641MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to File header company name text should match. - /// - internal static string SA1641Title { - get { - return ResourceManager.GetString("SA1641Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The XML documentation header for a C# constructor does not contain the appropriate summary text.. - /// - internal static string SA1642Description { - get { - return ResourceManager.GetString("SA1642Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Constructor summary documentation should begin with standard text. - /// - internal static string SA1642MessageFormat { - get { - return ResourceManager.GetString("SA1642MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Add standard text. - /// - internal static string SA1642SA1643CodeFix { - get { - return ResourceManager.GetString("SA1642SA1643CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Constructor summary documentation should begin with standard text. - /// - internal static string SA1642Title { - get { - return ResourceManager.GetString("SA1642Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The XML documentation header for a C# finalizer does not contain the appropriate summary text.. - /// - internal static string SA1643Description { - get { - return ResourceManager.GetString("SA1643Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Destructor summary documentation should begin with standard text. - /// - internal static string SA1643MessageFormat { - get { - return ResourceManager.GetString("SA1643MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Destructor summary documentation should begin with standard text. - /// - internal static string SA1643Title { - get { - return ResourceManager.GetString("SA1643Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A section within the XML documentation header for a C# element contains blank lines.. - /// - internal static string SA1644Description { - get { - return ResourceManager.GetString("SA1644Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to TODO: Message format. - /// - internal static string SA1644MessageFormat { - get { - return ResourceManager.GetString("SA1644MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Documentation headers should not contain blank lines. - /// - internal static string SA1644Title { - get { - return ResourceManager.GetString("SA1644Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An included XML documentation file does not exist.. - /// - internal static string SA1645Description { - get { - return ResourceManager.GetString("SA1645Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to TODO: Message format. - /// - internal static string SA1645MessageFormat { - get { - return ResourceManager.GetString("SA1645MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Included documentation file does not exist. - /// - internal static string SA1645Title { - get { - return ResourceManager.GetString("SA1645Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An included XML documentation link contains an invalid path.. - /// - internal static string SA1646Description { - get { - return ResourceManager.GetString("SA1646Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to TODO: Message format. - /// - internal static string SA1646MessageFormat { - get { - return ResourceManager.GetString("SA1646MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Included documentation XPath does not exist. - /// - internal static string SA1646Title { - get { - return ResourceManager.GetString("SA1646Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An include tag within an XML documentation header does not contain valid file and path attribute.. - /// - internal static string SA1647Description { - get { - return ResourceManager.GetString("SA1647Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to TODO: Message format. - /// - internal static string SA1647MessageFormat { - get { - return ResourceManager.GetString("SA1647MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Include node does not contain valid file and path. - /// - internal static string SA1647Title { - get { - return ResourceManager.GetString("SA1647Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to <inheritdoc> has been used on an element that doesn't inherit from a base class or implement an interface.. - /// - internal static string SA1648Description { - get { - return ResourceManager.GetString("SA1648Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to inheritdoc should be used with inheriting class. - /// - internal static string SA1648MessageFormat { - get { - return ResourceManager.GetString("SA1648MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to inheritdoc should be used with inheriting class. - /// - internal static string SA1648Title { - get { - return ResourceManager.GetString("SA1648Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Rename file to match first type name. - /// - internal static string SA1649CodeFix { - get { - return ResourceManager.GetString("SA1649CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The file name of a C# code file does not match the first type declared in the file.. - /// - internal static string SA1649Description { - get { - return ResourceManager.GetString("SA1649Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to File name should match first type name. - /// - internal static string SA1649MessageFormat { - get { - return ResourceManager.GetString("SA1649MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to File name should match first type name. - /// - internal static string SA1649Title { - get { - return ResourceManager.GetString("SA1649Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The element documentation for the element contains one or more spelling mistakes or unrecognized words.. - /// - internal static string SA1650Description { - get { - return ResourceManager.GetString("SA1650Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to TODO: Message format. - /// - internal static string SA1650MessageFormat { - get { - return ResourceManager.GetString("SA1650MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Element documentation should be spelled correctly. - /// - internal static string SA1650Title { - get { - return ResourceManager.GetString("SA1650Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Finalize placeholder text. - /// - internal static string SA1651CodeFix { - get { - return ResourceManager.GetString("SA1651CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The element documentation contains a <placeholder> element.. - /// - internal static string SA1651Description { - get { - return ResourceManager.GetString("SA1651Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Do not use placeholder elements. - /// - internal static string SA1651MessageFormat { - get { - return ResourceManager.GetString("SA1651MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Do not use placeholder elements. - /// - internal static string SA1651Title { - get { - return ResourceManager.GetString("SA1651Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Gets. - /// - internal static string StartingTextGets { - get { - return ResourceManager.GetString("StartingTextGets", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Gets or sets. - /// - internal static string StartingTextGetsOrSets { - get { - return ResourceManager.GetString("StartingTextGetsOrSets", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Gets or sets a value indicating whether. - /// - internal static string StartingTextGetsOrSetsWhether { - get { - return ResourceManager.GetString("StartingTextGetsOrSetsWhether", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Gets a value indicating whether. - /// - internal static string StartingTextGetsWhether { - get { - return ResourceManager.GetString("StartingTextGetsWhether", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Returns. - /// - internal static string StartingTextReturns { - get { - return ResourceManager.GetString("StartingTextReturns", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Returns a value indicating whether. - /// - internal static string StartingTextReturnsWhether { - get { - return ResourceManager.GetString("StartingTextReturnsWhether", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Sets. - /// - internal static string StartingTextSets { - get { - return ResourceManager.GetString("StartingTextSets", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Sets a value indicating whether. - /// - internal static string StartingTextSetsWhether { - get { - return ResourceManager.GetString("StartingTextSetsWhether", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Initializes static members of the . - /// - internal static string StaticConstructorStandardTextFirstPart { - get { - return ResourceManager.GetString("StaticConstructorStandardTextFirstPart", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {0}. - /// - internal static string StaticConstructorStandardTextSecondPart { - get { - return ResourceManager.GetString("StaticConstructorStandardTextSecondPart", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A . - /// - internal static string TaskReturnElementFirstPart { - get { - return ResourceManager.GetString("TaskReturnElementFirstPart", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to representing the result of the asynchronous operation.. - /// - internal static string TaskReturnElementSecondPart { - get { - return ResourceManager.GetString("TaskReturnElementSecondPart", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to class. - /// - internal static string TypeTextClass { - get { - return ResourceManager.GetString("TypeTextClass", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to struct. - /// - internal static string TypeTextStruct { - get { - return ResourceManager.GetString("TypeTextStruct", resourceCulture); - } - } - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Helpers/HelpersResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Helpers/HelpersResources.Designer.cs deleted file mode 100644 index b9dd7db1e..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Helpers/HelpersResources.Designer.cs +++ /dev/null @@ -1,91 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace StyleCop.Analyzers.Helpers { - using System; - using System.Reflection; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class HelpersResources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal HelpersResources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("StyleCop.Analyzers.Helpers.HelpersResources", typeof(HelpersResources).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Fix all '{0}'. - /// - internal static string FixAllOccurrencesOfDiagnostic { - get { - return ResourceManager.GetString("FixAllOccurrencesOfDiagnostic", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Fix all '{0}' in '{1}'. - /// - internal static string FixAllOccurrencesOfDiagnosticInScope { - get { - return ResourceManager.GetString("FixAllOccurrencesOfDiagnosticInScope", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Fix all '{0}' in Solution. - /// - internal static string FixAllOccurrencesOfDiagnosticInSolution { - get { - return ResourceManager.GetString("FixAllOccurrencesOfDiagnosticInSolution", resourceCulture); - } - } - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/LayoutRules/LayoutResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/LayoutRules/LayoutResources.Designer.cs deleted file mode 100644 index 96825dab3..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers/LayoutRules/LayoutResources.Designer.cs +++ /dev/null @@ -1,910 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace StyleCop.Analyzers.LayoutRules { - using System; - using System.Reflection; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class LayoutResources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal LayoutResources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("StyleCop.Analyzers.LayoutRules.LayoutResources", typeof(LayoutResources).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Align braces. - /// - internal static string SA1500CodeFix { - get { - return ResourceManager.GetString("SA1500CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The opening or closing brace within a C# statement, element, or expression is not placed on its own line.. - /// - internal static string SA1500Description { - get { - return ResourceManager.GetString("SA1500Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Braces for multi-line statements should not share line. - /// - internal static string SA1500MessageFormat { - get { - return ResourceManager.GetString("SA1500MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Braces for multi-line statements should not share line. - /// - internal static string SA1500Title { - get { - return ResourceManager.GetString("SA1500Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Expand single line block. - /// - internal static string SA1501CodeFix { - get { - return ResourceManager.GetString("SA1501CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Expand all single line blocks. - /// - internal static string SA1501CodeFixAll { - get { - return ResourceManager.GetString("SA1501CodeFixAll", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A C# statement containing opening and closing braces is written completely on a single line.. - /// - internal static string SA1501Description { - get { - return ResourceManager.GetString("SA1501Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Statement should not be on a single line. - /// - internal static string SA1501MessageFormat { - get { - return ResourceManager.GetString("SA1501MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Statement should not be on a single line. - /// - internal static string SA1501Title { - get { - return ResourceManager.GetString("SA1501Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Expand element. - /// - internal static string SA1502CodeFix { - get { - return ResourceManager.GetString("SA1502CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A C# element containing opening and closing braces is written completely on a single line.. - /// - internal static string SA1502Description { - get { - return ResourceManager.GetString("SA1502Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Element should not be on a single line. - /// - internal static string SA1502MessageFormat { - get { - return ResourceManager.GetString("SA1502MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Element should not be on a single line. - /// - internal static string SA1502Title { - get { - return ResourceManager.GetString("SA1502Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Wrap with braces. - /// - internal static string SA1503CodeFix { - get { - return ResourceManager.GetString("SA1503CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The opening and closing braces for a C# statement have been omitted.. - /// - internal static string SA1503Description { - get { - return ResourceManager.GetString("SA1503Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Braces should not be omitted. - /// - internal static string SA1503MessageFormat { - get { - return ResourceManager.GetString("SA1503MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Braces should not be omitted. - /// - internal static string SA1503Title { - get { - return ResourceManager.GetString("SA1503Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Reformat accessors to multiple lines style. - /// - internal static string SA1504CodeFixMultipleLines { - get { - return ResourceManager.GetString("SA1504CodeFixMultipleLines", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Reformat accessors to single line style. - /// - internal static string SA1504CodeFixSingleLine { - get { - return ResourceManager.GetString("SA1504CodeFixSingleLine", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Within a C# property, indexer or event, at least one of the child accessors is written on a single line, and at least one of the child accessors is written across multiple lines.. - /// - internal static string SA1504Description { - get { - return ResourceManager.GetString("SA1504Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to All accessors should be single-line or multi-line. - /// - internal static string SA1504MessageFormat { - get { - return ResourceManager.GetString("SA1504MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to All accessors should be single-line or multi-line. - /// - internal static string SA1504Title { - get { - return ResourceManager.GetString("SA1504Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remove blank lines following this brace. - /// - internal static string SA1505CodeFix { - get { - return ResourceManager.GetString("SA1505CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An opening brace within a C# element, statement, or expression is followed by a blank line.. - /// - internal static string SA1505Description { - get { - return ResourceManager.GetString("SA1505Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An opening brace should not be followed by a blank line. - /// - internal static string SA1505MessageFormat { - get { - return ResourceManager.GetString("SA1505MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Opening braces should not be followed by blank line. - /// - internal static string SA1505Title { - get { - return ResourceManager.GetString("SA1505Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remove blank line(s) after documentation header. - /// - internal static string SA1506CodeFix { - get { - return ResourceManager.GetString("SA1506CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An element documentation header above a C# element is followed by a blank line.. - /// - internal static string SA1506Description { - get { - return ResourceManager.GetString("SA1506Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Element documentation headers should not be followed by blank line. - /// - internal static string SA1506MessageFormat { - get { - return ResourceManager.GetString("SA1506MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Element documentation headers should not be followed by blank line. - /// - internal static string SA1506Title { - get { - return ResourceManager.GetString("SA1506Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remove multiple blank lines. - /// - internal static string SA1507CodeFix { - get { - return ResourceManager.GetString("SA1507CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The C# code contains multiple blank lines in a row.. - /// - internal static string SA1507Description { - get { - return ResourceManager.GetString("SA1507Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Code should not contain multiple blank lines in a row. - /// - internal static string SA1507MessageFormat { - get { - return ResourceManager.GetString("SA1507MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Code should not contain multiple blank lines in a row. - /// - internal static string SA1507Title { - get { - return ResourceManager.GetString("SA1507Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remove blank lines preceding this brace. - /// - internal static string SA1508CodeFix { - get { - return ResourceManager.GetString("SA1508CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A closing brace within a C# element, statement, or expression is preceded by a blank line.. - /// - internal static string SA1508Description { - get { - return ResourceManager.GetString("SA1508Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A closing brace should not be preceded by a blank line. - /// - internal static string SA1508MessageFormat { - get { - return ResourceManager.GetString("SA1508MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Closing braces should not be preceded by blank line. - /// - internal static string SA1508Title { - get { - return ResourceManager.GetString("SA1508Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remove blank lines preceding this brace. - /// - internal static string SA1509CodeFix { - get { - return ResourceManager.GetString("SA1509CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An opening brace within a C# element, statement, or expression is preceded by a blank line.. - /// - internal static string SA1509Description { - get { - return ResourceManager.GetString("SA1509Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Opening braces should not be preceded by blank line. - /// - internal static string SA1509MessageFormat { - get { - return ResourceManager.GetString("SA1509MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Opening braces should not be preceded by blank line. - /// - internal static string SA1509Title { - get { - return ResourceManager.GetString("SA1509Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remove blank line before chained statement. - /// - internal static string SA1510CodeFix { - get { - return ResourceManager.GetString("SA1510CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Chained C# statements are separated by a blank line.. - /// - internal static string SA1510Description { - get { - return ResourceManager.GetString("SA1510Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to '{0}' statement should not be preceded by a blank line. - /// - internal static string SA1510MessageFormat { - get { - return ResourceManager.GetString("SA1510MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Chained statement blocks should not be preceded by blank line. - /// - internal static string SA1510Title { - get { - return ResourceManager.GetString("SA1510Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remove blank line before while. - /// - internal static string SA1511CodeFix { - get { - return ResourceManager.GetString("SA1511CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The while footer at the bottom of a do-while statement is separated from the statement by a blank line.. - /// - internal static string SA1511Description { - get { - return ResourceManager.GetString("SA1511Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to While-do footer should not be preceded by blank line. - /// - internal static string SA1511MessageFormat { - get { - return ResourceManager.GetString("SA1511MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to While-do footer should not be preceded by blank line. - /// - internal static string SA1511Title { - get { - return ResourceManager.GetString("SA1511Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remove blank line after comment. - /// - internal static string SA1512CodeFix { - get { - return ResourceManager.GetString("SA1512CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A single-line comment within C# code is followed by a blank line.. - /// - internal static string SA1512Description { - get { - return ResourceManager.GetString("SA1512Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Single-line comments should not be followed by blank line. - /// - internal static string SA1512MessageFormat { - get { - return ResourceManager.GetString("SA1512MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Single-line comments should not be followed by blank line. - /// - internal static string SA1512Title { - get { - return ResourceManager.GetString("SA1512Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Insert blank line after brace. - /// - internal static string SA1513CodeFix { - get { - return ResourceManager.GetString("SA1513CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A closing brace within a C# element, statement, or expression is not followed by a blank line.. - /// - internal static string SA1513Description { - get { - return ResourceManager.GetString("SA1513Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Closing brace should be followed by blank line. - /// - internal static string SA1513MessageFormat { - get { - return ResourceManager.GetString("SA1513MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Closing brace should be followed by blank line. - /// - internal static string SA1513Title { - get { - return ResourceManager.GetString("SA1513Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Insert blank line before documentation header. - /// - internal static string SA1514CodeFix { - get { - return ResourceManager.GetString("SA1514CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An element documentation header above a C# element is not preceded by a blank line.. - /// - internal static string SA1514Description { - get { - return ResourceManager.GetString("SA1514Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Element documentation header should be preceded by blank line. - /// - internal static string SA1514MessageFormat { - get { - return ResourceManager.GetString("SA1514MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Element documentation header should be preceded by blank line. - /// - internal static string SA1514Title { - get { - return ResourceManager.GetString("SA1514Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Insert blank line before comment. - /// - internal static string SA1515CodeFix { - get { - return ResourceManager.GetString("SA1515CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A single-line comment within C# code is not preceded by a blank line.. - /// - internal static string SA1515Description { - get { - return ResourceManager.GetString("SA1515Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Single-line comment should be preceded by blank line. - /// - internal static string SA1515MessageFormat { - get { - return ResourceManager.GetString("SA1515MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Single-line comment should be preceded by blank line. - /// - internal static string SA1515Title { - get { - return ResourceManager.GetString("SA1515Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Fix blank lines. - /// - internal static string SA1516CodeFixAll { - get { - return ResourceManager.GetString("SA1516CodeFixAll", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Insert new line. - /// - internal static string SA1516CodeFixInsert { - get { - return ResourceManager.GetString("SA1516CodeFixInsert", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remove blank line. - /// - internal static string SA1516CodeFixRemove { - get { - return ResourceManager.GetString("SA1516CodeFixRemove", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Adjacent C# elements are not separated by a blank line.. - /// - internal static string SA1516Description { - get { - return ResourceManager.GetString("SA1516Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Adjacent using directives should not be separated by a blank line.. - /// - internal static string SA1516DescriptionOmit { - get { - return ResourceManager.GetString("SA1516DescriptionOmit", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Adjacent using directives should be separated by a blank line.. - /// - internal static string SA1516DescriptionRequire { - get { - return ResourceManager.GetString("SA1516DescriptionRequire", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Elements should be separated by blank line. - /// - internal static string SA1516MessageFormat { - get { - return ResourceManager.GetString("SA1516MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Using directives should not be separated by blank line. - /// - internal static string SA1516MessageFormatOmit { - get { - return ResourceManager.GetString("SA1516MessageFormatOmit", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Using directives should be separated by blank line. - /// - internal static string SA1516MessageFormatRequire { - get { - return ResourceManager.GetString("SA1516MessageFormatRequire", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Elements should be separated by blank line. - /// - internal static string SA1516Title { - get { - return ResourceManager.GetString("SA1516Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remove blank lines at the start of the file. - /// - internal static string SA1517CodeFix { - get { - return ResourceManager.GetString("SA1517CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The code file has blank lines at the start.. - /// - internal static string SA1517Description { - get { - return ResourceManager.GetString("SA1517Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Code should not contain blank lines at start of file. - /// - internal static string SA1517MessageFormat { - get { - return ResourceManager.GetString("SA1517MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Code should not contain blank lines at start of file. - /// - internal static string SA1517Title { - get { - return ResourceManager.GetString("SA1517Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Fix whitespace at the end of the file. - /// - internal static string SA1518CodeFix { - get { - return ResourceManager.GetString("SA1518CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Code should not contain blank lines at the end of the file.. - /// - internal static string SA1518DescriptionAllow { - get { - return ResourceManager.GetString("SA1518DescriptionAllow", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to File may not end with a newline character.. - /// - internal static string SA1518DescriptionOmit { - get { - return ResourceManager.GetString("SA1518DescriptionOmit", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to File is required to end with a single newline character.. - /// - internal static string SA1518DescriptionRequire { - get { - return ResourceManager.GetString("SA1518DescriptionRequire", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Code should not contain blank lines at the end of the file. - /// - internal static string SA1518MessageFormatAllow { - get { - return ResourceManager.GetString("SA1518MessageFormatAllow", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to File may not end with a newline character. - /// - internal static string SA1518MessageFormatOmit { - get { - return ResourceManager.GetString("SA1518MessageFormatOmit", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to File is required to end with a single newline character. - /// - internal static string SA1518MessageFormatRequire { - get { - return ResourceManager.GetString("SA1518MessageFormatRequire", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use line endings correctly at end of file. - /// - internal static string SA1518Title { - get { - return ResourceManager.GetString("SA1518Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The opening and closing braces for a multi-line C# statement have been omitted.. - /// - internal static string SA1519Description { - get { - return ResourceManager.GetString("SA1519Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Braces should not be omitted from multi-line child statement. - /// - internal static string SA1519MessageFormat { - get { - return ResourceManager.GetString("SA1519MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Braces should not be omitted from multi-line child statement. - /// - internal static string SA1519Title { - get { - return ResourceManager.GetString("SA1519Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The opening and closing braces of a chained if/else if/else construct were included for some clauses, but omitted for others.. - /// - internal static string SA1520Description { - get { - return ResourceManager.GetString("SA1520Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use braces consistently. - /// - internal static string SA1520MessageFormat { - get { - return ResourceManager.GetString("SA1520MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use braces consistently. - /// - internal static string SA1520Title { - get { - return ResourceManager.GetString("SA1520Title", resourceCulture); - } - } - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.DocumentationRules.DocumentationResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.DocumentationRules.DocumentationResources.Designer.cs new file mode 100644 index 000000000..20e53159b --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.DocumentationRules.DocumentationResources.Designer.cs @@ -0,0 +1,406 @@ +// + +#nullable enable +using System.Reflection; + + +namespace StyleCop.Analyzers.DocumentationRules +{ + internal static partial class DocumentationResources + { + private static global::System.Resources.ResourceManager? s_resourceManager; + internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(DocumentationResources))); + internal static global::System.Globalization.CultureInfo? Culture { get; set; } + [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + internal static string? GetResourceString(string resourceKey, string? defaultValue = null) => ResourceManager.GetString(resourceKey, Culture) ?? defaultValue; + /// Generate constructor documentation + internal static string? @ConstructorDocumentationCodeFix => GetResourceString("ConstructorDocumentationCodeFix"); + /// Generate destructor documentation + internal static string? @DestructorDocumentationCodeFix => GetResourceString("DestructorDocumentationCodeFix"); + /// Finalizes an instance of the + internal static string? @DestructorStandardTextFirstPart => GetResourceString("DestructorStandardTextFirstPart"); + /// class. + internal static string? @DestructorStandardTextSecondPart => GetResourceString("DestructorStandardTextSecondPart"); + /// Inherit documentation + internal static string? @InheritdocCodeFix => GetResourceString("InheritdocCodeFix"); + /// Generate method documentation + internal static string? @MethodDocumentationCodeFix => GetResourceString("MethodDocumentationCodeFix"); + /// Initializes a new instance of the + internal static string? @NonPrivateConstructorStandardTextFirstPart => GetResourceString("NonPrivateConstructorStandardTextFirstPart"); + /// {0} + internal static string? @NonPrivateConstructorStandardTextSecondPart => GetResourceString("NonPrivateConstructorStandardTextSecondPart"); + /// The parameter is not used. + internal static string? @ParameterNotUsed => GetResourceString("ParameterNotUsed"); + /// Prevents a default instance of the + internal static string? @PrivateConstructorStandardTextFirstPart => GetResourceString("PrivateConstructorStandardTextFirstPart"); + /// {0} from being created + internal static string? @PrivateConstructorStandardTextSecondPart => GetResourceString("PrivateConstructorStandardTextSecondPart"); + /// Add standard text + internal static string? @PropertySummaryStartTextCodeFix => GetResourceString("PropertySummaryStartTextCodeFix"); + /// A C# code element is missing a documentation header. + internal static string? @SA1600Description => GetResourceString("SA1600Description"); + /// Elements should be documented + internal static string? @SA1600MessageFormat => GetResourceString("SA1600MessageFormat"); + /// Elements should be documented + internal static string? @SA1600Title => GetResourceString("SA1600Title"); + /// A C# partial element is missing a documentation header. + internal static string? @SA1601Description => GetResourceString("SA1601Description"); + /// Partial elements should be documented + internal static string? @SA1601MessageFormat => GetResourceString("SA1601MessageFormat"); + /// Partial elements should be documented + internal static string? @SA1601Title => GetResourceString("SA1601Title"); + /// An item within a C# enumeration is missing an Xml documentation header. + internal static string? @SA1602Description => GetResourceString("SA1602Description"); + /// Enumeration items should be documented + internal static string? @SA1602MessageFormat => GetResourceString("SA1602MessageFormat"); + /// Enumeration items should be documented + internal static string? @SA1602Title => GetResourceString("SA1602Title"); + /// The XML within a C# element’s document header is badly formed. + internal static string? @SA1603Description => GetResourceString("SA1603Description"); + /// The documentation header is composed of invalid XML: {0} + internal static string? @SA1603MessageFormat => GetResourceString("SA1603MessageFormat"); + /// Documentation should contain valid XML + internal static string? @SA1603Title => GetResourceString("SA1603Title"); + /// The XML header documentation for a C# element is missing a <summary> tag. + internal static string? @SA1604Description => GetResourceString("SA1604Description"); + /// Element documentation should have summary + internal static string? @SA1604MessageFormat => GetResourceString("SA1604MessageFormat"); + /// Element documentation should have summary + internal static string? @SA1604Title => GetResourceString("SA1604Title"); + /// The <summary> or <content> tag within the documentation header for a C# code element is missing or empty. + internal static string? @SA1605Description => GetResourceString("SA1605Description"); + /// Partial element documentation should have summary + internal static string? @SA1605MessageFormat => GetResourceString("SA1605MessageFormat"); + /// Partial element documentation should have summary + internal static string? @SA1605Title => GetResourceString("SA1605Title"); + /// The <summary> tag within the documentation header for a C# code element is empty. + internal static string? @SA1606Description => GetResourceString("SA1606Description"); + /// Element documentation should have summary text + internal static string? @SA1606MessageFormat => GetResourceString("SA1606MessageFormat"); + /// Element documentation should have summary text + internal static string? @SA1606Title => GetResourceString("SA1606Title"); + /// The <summary> or <content> tag within the documentation header for a C# code element is empty. + internal static string? @SA1607Description => GetResourceString("SA1607Description"); + /// Partial element documentation should have summary text + internal static string? @SA1607MessageFormat => GetResourceString("SA1607MessageFormat"); + /// Partial element documentation should have summary text + internal static string? @SA1607Title => GetResourceString("SA1607Title"); + /// The <summary> tag within an element's XML header documentation contains the default text generated by Visual Studio during the creation of the element. + internal static string? @SA1608Description => GetResourceString("SA1608Description"); + /// Element documentation should not have default summary + internal static string? @SA1608MessageFormat => GetResourceString("SA1608MessageFormat"); + /// Element documentation should not have default summary + internal static string? @SA1608Title => GetResourceString("SA1608Title"); + /// The XML header documentation for a C# property does not contain a <value> tag. + internal static string? @SA1609Description => GetResourceString("SA1609Description"); + /// Property documentation should have value + internal static string? @SA1609MessageFormat => GetResourceString("SA1609MessageFormat"); + /// Document value from summary + internal static string? @SA1609SA1610CodeFix => GetResourceString("SA1609SA1610CodeFix"); + /// Property documentation should have value + internal static string? @SA1609Title => GetResourceString("SA1609Title"); + /// The XML header documentation for a C# property contains an empty <value> tag. + internal static string? @SA1610Description => GetResourceString("SA1610Description"); + /// Property documentation should have value text + internal static string? @SA1610MessageFormat => GetResourceString("SA1610MessageFormat"); + /// Property documentation should have value text + internal static string? @SA1610Title => GetResourceString("SA1610Title"); + /// A C# method, constructor, delegate or indexer element is missing documentation for one or more of its parameters. + internal static string? @SA1611Description => GetResourceString("SA1611Description"); + /// The documentation for parameter '{0}' is missing + internal static string? @SA1611MessageFormat => GetResourceString("SA1611MessageFormat"); + /// Element parameters should be documented + internal static string? @SA1611Title => GetResourceString("SA1611Title"); + /// The documentation describing the parameters to a C# method, constructor, delegate or indexer element does not match the actual parameters on the element. + internal static string? @SA1612Description => GetResourceString("SA1612Description"); + /// The parameter '{0}' does not exist + internal static string? @SA1612MissingParamForDocumentationMessageFormat => GetResourceString("SA1612MissingParamForDocumentationMessageFormat"); + /// The parameter documentation for '{0}' should be at position {1} + internal static string? @SA1612ParamWrongOrderMessageFormat => GetResourceString("SA1612ParamWrongOrderMessageFormat"); + /// Element parameter documentation should match element parameters + internal static string? @SA1612Title => GetResourceString("SA1612Title"); + /// A <param> tag within a C# element's documentation header is missing a name attribute containing the name of the parameter. + internal static string? @SA1613Description => GetResourceString("SA1613Description"); + /// Element parameter documentation should declare parameter name + internal static string? @SA1613MessageFormat => GetResourceString("SA1613MessageFormat"); + /// Element parameter documentation should declare parameter name + internal static string? @SA1613Title => GetResourceString("SA1613Title"); + /// A <param> tag within a C# element's documentation header is empty. + internal static string? @SA1614Description => GetResourceString("SA1614Description"); + /// Element parameter documentation should have text + internal static string? @SA1614MessageFormat => GetResourceString("SA1614MessageFormat"); + /// Element parameter documentation should have text + internal static string? @SA1614Title => GetResourceString("SA1614Title"); + /// A C# element is missing documentation for its return value. + internal static string? @SA1615Description => GetResourceString("SA1615Description"); + /// Element return value should be documented + internal static string? @SA1615MessageFormat => GetResourceString("SA1615MessageFormat"); + /// Document return value + internal static string? @SA1615SA1616CodeFix => GetResourceString("SA1615SA1616CodeFix"); + /// Element return value should be documented + internal static string? @SA1615Title => GetResourceString("SA1615Title"); + /// The <returns> tag within a C# element's documentation header is empty. + internal static string? @SA1616Description => GetResourceString("SA1616Description"); + /// Element return value documentation should have text + internal static string? @SA1616MessageFormat => GetResourceString("SA1616MessageFormat"); + /// Element return value documentation should have text + internal static string? @SA1616Title => GetResourceString("SA1616Title"); + /// Remove <returns> XML comment + internal static string? @SA1617CodeFix => GetResourceString("SA1617CodeFix"); + /// A C# code element does not contain a return value, or returns void, but the documentation header for the element contains a <returns> tag. + internal static string? @SA1617Description => GetResourceString("SA1617Description"); + /// Void return value should not be documented + internal static string? @SA1617MessageFormat => GetResourceString("SA1617MessageFormat"); + /// Void return value should not be documented + internal static string? @SA1617Title => GetResourceString("SA1617Title"); + /// A generic C# element is missing documentation for one or more of its generic type parameters. + internal static string? @SA1618Description => GetResourceString("SA1618Description"); + /// The documentation for type parameter '{0}' is missing + internal static string? @SA1618MessageFormat => GetResourceString("SA1618MessageFormat"); + /// Generic type parameters should be documented + internal static string? @SA1618Title => GetResourceString("SA1618Title"); + /// A generic, partial C# element is missing documentation for one or more of its generic type parameters, and the documentation for the element contains a <summary> tag. + internal static string? @SA1619Description => GetResourceString("SA1619Description"); + /// The documentation for type parameter '{0}' is missing + internal static string? @SA1619MessageFormat => GetResourceString("SA1619MessageFormat"); + /// Generic type parameters should be documented partial class + internal static string? @SA1619Title => GetResourceString("SA1619Title"); + /// The <typeparam> tags within the Xml header documentation for a generic C# element do not match the generic type parameters on the element. + internal static string? @SA1620Description => GetResourceString("SA1620Description"); + /// The type parameter '{0}' does not exist. + internal static string? @SA1620MissingMessageFormat => GetResourceString("SA1620MissingMessageFormat"); + /// Generic type parameter documentation should match type parameters + internal static string? @SA1620Title => GetResourceString("SA1620Title"); + /// The type parameter documentation for '{0}' should be at position {1}. + internal static string? @SA1620WrongOrderMessageFormat => GetResourceString("SA1620WrongOrderMessageFormat"); + /// A <typeparam> tag within the XML header documentation for a generic C# element is missing a name attribute, or contains an empty name attribute. + internal static string? @SA1621Description => GetResourceString("SA1621Description"); + /// Generic type parameter documentation should declare parameter name. + internal static string? @SA1621MessageFormat => GetResourceString("SA1621MessageFormat"); + /// Generic type parameter documentation should declare parameter name + internal static string? @SA1621Title => GetResourceString("SA1621Title"); + /// A <typeparam> tag within the Xml header documentation for a generic C# element is empty. + internal static string? @SA1622Description => GetResourceString("SA1622Description"); + /// Generic type parameter documentation should have text. + internal static string? @SA1622MessageFormat => GetResourceString("SA1622MessageFormat"); + /// Generic type parameter documentation should have text + internal static string? @SA1622Title => GetResourceString("SA1622Title"); + /// The documentation text within a C# property’s <summary> tag does not match the accessors within the property. + internal static string? @SA1623Description => GetResourceString("SA1623Description"); + /// The property's documentation summary text should begin with: '{0}' + internal static string? @SA1623MessageFormat => GetResourceString("SA1623MessageFormat"); + /// Property summary documentation should match accessors + internal static string? @SA1623Title => GetResourceString("SA1623Title"); + /// The documentation text within a C# property’s <summary> tag takes into account all of the accessors within the property, but one of the accessors has limited access. + internal static string? @SA1624Description => GetResourceString("SA1624Description"); + /// Because the property only contains a visible {0} accessor, the documentation summary text should begin with '{1}'. + internal static string? @SA1624MessageFormat => GetResourceString("SA1624MessageFormat"); + /// Property summary documentation should omit accessor with restricted access + internal static string? @SA1624Title => GetResourceString("SA1624Title"); + /// The Xml documentation for a C# element contains two or more identical entries, indicating that the documentation has been copied and pasted. This can sometimes indicate invalid or poorly written documentation. + internal static string? @SA1625Description => GetResourceString("SA1625Description"); + /// Element documentation should not be copied and pasted + internal static string? @SA1625MessageFormat => GetResourceString("SA1625MessageFormat"); + /// Element documentation should not be copied and pasted + internal static string? @SA1625Title => GetResourceString("SA1625Title"); + /// Convert to line comment + internal static string? @SA1626CodeFix => GetResourceString("SA1626CodeFix"); + /// The C# code contains a single-line comment which begins with three forward slashes in a row. + internal static string? @SA1626Description => GetResourceString("SA1626Description"); + /// Single-line comments should not use documentation style slashes + internal static string? @SA1626MessageFormat => GetResourceString("SA1626MessageFormat"); + /// Single-line comments should not use documentation style slashes + internal static string? @SA1626Title => GetResourceString("SA1626Title"); + /// The XML header documentation for a C# code element contains an empty tag. + internal static string? @SA1627Description => GetResourceString("SA1627Description"); + /// The documentation text within the '{0}' tag should not be empty + internal static string? @SA1627MessageFormat => GetResourceString("SA1627MessageFormat"); + /// Documentation text should not be empty + internal static string? @SA1627Title => GetResourceString("SA1627Title"); + /// A section of the XML header documentation for a C# element does not begin with a capital letter. + internal static string? @SA1628Description => GetResourceString("SA1628Description"); + /// TODO: Message format + internal static string? @SA1628MessageFormat => GetResourceString("SA1628MessageFormat"); + /// Documentation text should begin with a capital letter + internal static string? @SA1628Title => GetResourceString("SA1628Title"); + /// Add period + internal static string? @SA1629CodeFix => GetResourceString("SA1629CodeFix"); + /// A section of the XML header documentation for a C# element does not end with a period. + internal static string? @SA1629Description => GetResourceString("SA1629Description"); + /// Documentation text should end with a period + internal static string? @SA1629MessageFormat => GetResourceString("SA1629MessageFormat"); + /// Documentation text should end with a period + internal static string? @SA1629Title => GetResourceString("SA1629Title"); + /// A section of the XML header documentation for a C# element does not contain any whitespace between words. + internal static string? @SA1630Description => GetResourceString("SA1630Description"); + /// TODO: Message format + internal static string? @SA1630MessageFormat => GetResourceString("SA1630MessageFormat"); + /// Documentation text should contain whitespace + internal static string? @SA1630Title => GetResourceString("SA1630Title"); + /// A section of the Xml header documentation for a C# element does not contain enough alphabetic characters. + internal static string? @SA1631Description => GetResourceString("SA1631Description"); + /// TODO: Message format + internal static string? @SA1631MessageFormat => GetResourceString("SA1631MessageFormat"); + /// Documentation should meet character percentage + internal static string? @SA1631Title => GetResourceString("SA1631Title"); + /// A section of the Xml header documentation for a C# element is too short. + internal static string? @SA1632Description => GetResourceString("SA1632Description"); + /// TODO: Message format + internal static string? @SA1632MessageFormat => GetResourceString("SA1632MessageFormat"); + /// Documentation text should meet minimum character length + internal static string? @SA1632Title => GetResourceString("SA1632Title"); + /// Add file header + internal static string? @SA1633CodeFix => GetResourceString("SA1633CodeFix"); + /// A C# code file is missing a standard file header. + internal static string? @SA1633Description => GetResourceString("SA1633Description"); + /// The file header XML is invalid. + internal static string? @SA1633MessageFormatMalformed => GetResourceString("SA1633MessageFormatMalformed"); + /// The file header is missing or not located at the top of the file. + internal static string? @SA1633MessageFormatMissing => GetResourceString("SA1633MessageFormatMissing"); + /// File should have header + internal static string? @SA1633Title => GetResourceString("SA1633Title"); + /// The file header at the top of a C# code file is missing a copyright tag. + internal static string? @SA1634Description => GetResourceString("SA1634Description"); + /// The file header should contain a copyright tag. + internal static string? @SA1634MessageFormat => GetResourceString("SA1634MessageFormat"); + /// File header should show copyright + internal static string? @SA1634Title => GetResourceString("SA1634Title"); + /// The file header at the top of a C# code file is missing copyright text. + internal static string? @SA1635Description => GetResourceString("SA1635Description"); + /// File header should have copyright text + internal static string? @SA1635MessageFormat => GetResourceString("SA1635MessageFormat"); + /// File header should have copyright text + internal static string? @SA1635Title => GetResourceString("SA1635Title"); + /// The file header at the top of a C# code file does not contain the appropriate copyright text. + internal static string? @SA1636Description => GetResourceString("SA1636Description"); + /// The file header copyright text should match the copyright text from the settings. + internal static string? @SA1636MessageFormat => GetResourceString("SA1636MessageFormat"); + /// File header copyright text should match + internal static string? @SA1636Title => GetResourceString("SA1636Title"); + /// The file header at the top of a C# code file is missing the file name. + internal static string? @SA1637Description => GetResourceString("SA1637Description"); + /// File header should contain file name. + internal static string? @SA1637MessageFormat => GetResourceString("SA1637MessageFormat"); + /// File header should contain file name + internal static string? @SA1637Title => GetResourceString("SA1637Title"); + /// The file attribute within copyright tag of the file header at the top of a C# code file does not contain the name of the file. + internal static string? @SA1638Description => GetResourceString("SA1638Description"); + /// File header file name documentation should match file name. + internal static string? @SA1638MessageFormat => GetResourceString("SA1638MessageFormat"); + /// File header file name documentation should match file name + internal static string? @SA1638Title => GetResourceString("SA1638Title"); + /// The file header at the top of a C# code file does not contain a filled-in summary tag. + internal static string? @SA1639Description => GetResourceString("SA1639Description"); + /// File header should have summary + internal static string? @SA1639MessageFormat => GetResourceString("SA1639MessageFormat"); + /// File header should have summary + internal static string? @SA1639Title => GetResourceString("SA1639Title"); + /// The file header at the top of a C# code file does not contain company name text. + internal static string? @SA1640Description => GetResourceString("SA1640Description"); + /// The copyright tag should contain a non-empty company attribute. + internal static string? @SA1640MessageFormat => GetResourceString("SA1640MessageFormat"); + /// File header should have valid company text + internal static string? @SA1640Title => GetResourceString("SA1640Title"); + /// The file header at the top of a C# code file does not contain the appropriate company name text. + internal static string? @SA1641Description => GetResourceString("SA1641Description"); + /// The file header company name should match the company name from the settings. + internal static string? @SA1641MessageFormat => GetResourceString("SA1641MessageFormat"); + /// File header company name text should match + internal static string? @SA1641Title => GetResourceString("SA1641Title"); + /// The XML documentation header for a C# constructor does not contain the appropriate summary text. + internal static string? @SA1642Description => GetResourceString("SA1642Description"); + /// Constructor summary documentation should begin with standard text + internal static string? @SA1642MessageFormat => GetResourceString("SA1642MessageFormat"); + /// Add standard text + internal static string? @SA1642SA1643CodeFix => GetResourceString("SA1642SA1643CodeFix"); + /// Constructor summary documentation should begin with standard text + internal static string? @SA1642Title => GetResourceString("SA1642Title"); + /// The XML documentation header for a C# finalizer does not contain the appropriate summary text. + internal static string? @SA1643Description => GetResourceString("SA1643Description"); + /// Destructor summary documentation should begin with standard text + internal static string? @SA1643MessageFormat => GetResourceString("SA1643MessageFormat"); + /// Destructor summary documentation should begin with standard text + internal static string? @SA1643Title => GetResourceString("SA1643Title"); + /// A section within the XML documentation header for a C# element contains blank lines. + internal static string? @SA1644Description => GetResourceString("SA1644Description"); + /// TODO: Message format + internal static string? @SA1644MessageFormat => GetResourceString("SA1644MessageFormat"); + /// Documentation headers should not contain blank lines + internal static string? @SA1644Title => GetResourceString("SA1644Title"); + /// An included XML documentation file does not exist. + internal static string? @SA1645Description => GetResourceString("SA1645Description"); + /// TODO: Message format + internal static string? @SA1645MessageFormat => GetResourceString("SA1645MessageFormat"); + /// Included documentation file does not exist + internal static string? @SA1645Title => GetResourceString("SA1645Title"); + /// An included XML documentation link contains an invalid path. + internal static string? @SA1646Description => GetResourceString("SA1646Description"); + /// TODO: Message format + internal static string? @SA1646MessageFormat => GetResourceString("SA1646MessageFormat"); + /// Included documentation XPath does not exist + internal static string? @SA1646Title => GetResourceString("SA1646Title"); + /// An include tag within an XML documentation header does not contain valid file and path attribute. + internal static string? @SA1647Description => GetResourceString("SA1647Description"); + /// TODO: Message format + internal static string? @SA1647MessageFormat => GetResourceString("SA1647MessageFormat"); + /// Include node does not contain valid file and path + internal static string? @SA1647Title => GetResourceString("SA1647Title"); + /// <inheritdoc> has been used on an element that doesn't inherit from a base class or implement an interface. + internal static string? @SA1648Description => GetResourceString("SA1648Description"); + /// inheritdoc should be used with inheriting class + internal static string? @SA1648MessageFormat => GetResourceString("SA1648MessageFormat"); + /// inheritdoc should be used with inheriting class + internal static string? @SA1648Title => GetResourceString("SA1648Title"); + /// Rename file to match first type name + internal static string? @SA1649CodeFix => GetResourceString("SA1649CodeFix"); + /// The file name of a C# code file does not match the first type declared in the file. + internal static string? @SA1649Description => GetResourceString("SA1649Description"); + /// File name should match first type name + internal static string? @SA1649MessageFormat => GetResourceString("SA1649MessageFormat"); + /// File name should match first type name + internal static string? @SA1649Title => GetResourceString("SA1649Title"); + /// The element documentation for the element contains one or more spelling mistakes or unrecognized words. + internal static string? @SA1650Description => GetResourceString("SA1650Description"); + /// TODO: Message format + internal static string? @SA1650MessageFormat => GetResourceString("SA1650MessageFormat"); + /// Element documentation should be spelled correctly + internal static string? @SA1650Title => GetResourceString("SA1650Title"); + /// Finalize placeholder text + internal static string? @SA1651CodeFix => GetResourceString("SA1651CodeFix"); + /// The element documentation contains a <placeholder> element. + internal static string? @SA1651Description => GetResourceString("SA1651Description"); + /// Do not use placeholder elements + internal static string? @SA1651MessageFormat => GetResourceString("SA1651MessageFormat"); + /// Do not use placeholder elements + internal static string? @SA1651Title => GetResourceString("SA1651Title"); + /// Gets + internal static string? @StartingTextGets => GetResourceString("StartingTextGets"); + /// Gets or sets + internal static string? @StartingTextGetsOrSets => GetResourceString("StartingTextGetsOrSets"); + /// Gets or sets a value indicating whether + internal static string? @StartingTextGetsOrSetsWhether => GetResourceString("StartingTextGetsOrSetsWhether"); + /// Gets a value indicating whether + internal static string? @StartingTextGetsWhether => GetResourceString("StartingTextGetsWhether"); + /// Returns + internal static string? @StartingTextReturns => GetResourceString("StartingTextReturns"); + /// Returns a value indicating whether + internal static string? @StartingTextReturnsWhether => GetResourceString("StartingTextReturnsWhether"); + /// Sets + internal static string? @StartingTextSets => GetResourceString("StartingTextSets"); + /// Sets a value indicating whether + internal static string? @StartingTextSetsWhether => GetResourceString("StartingTextSetsWhether"); + /// Initializes static members of the + internal static string? @StaticConstructorStandardTextFirstPart => GetResourceString("StaticConstructorStandardTextFirstPart"); + /// {0} + internal static string? @StaticConstructorStandardTextSecondPart => GetResourceString("StaticConstructorStandardTextSecondPart"); + /// A + internal static string? @TaskReturnElementFirstPart => GetResourceString("TaskReturnElementFirstPart"); + /// representing the result of the asynchronous operation. + internal static string? @TaskReturnElementSecondPart => GetResourceString("TaskReturnElementSecondPart"); + /// class + internal static string? @TypeTextClass => GetResourceString("TypeTextClass"); + /// struct + internal static string? @TypeTextStruct => GetResourceString("TypeTextStruct"); + + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.Helpers.HelpersResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.Helpers.HelpersResources.Designer.cs new file mode 100644 index 000000000..92cb8c9dd --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.Helpers.HelpersResources.Designer.cs @@ -0,0 +1,24 @@ +// + +#nullable enable +using System.Reflection; + + +namespace StyleCop.Analyzers.Helpers +{ + internal static partial class HelpersResources + { + private static global::System.Resources.ResourceManager? s_resourceManager; + internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(HelpersResources))); + internal static global::System.Globalization.CultureInfo? Culture { get; set; } + [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + internal static string? GetResourceString(string resourceKey, string? defaultValue = null) => ResourceManager.GetString(resourceKey, Culture) ?? defaultValue; + /// Fix all '{0}' + internal static string? @FixAllOccurrencesOfDiagnostic => GetResourceString("FixAllOccurrencesOfDiagnostic"); + /// Fix all '{0}' in '{1}' + internal static string? @FixAllOccurrencesOfDiagnosticInScope => GetResourceString("FixAllOccurrencesOfDiagnosticInScope"); + /// Fix all '{0}' in Solution + internal static string? @FixAllOccurrencesOfDiagnosticInSolution => GetResourceString("FixAllOccurrencesOfDiagnosticInSolution"); + + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.LayoutRules.LayoutResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.LayoutRules.LayoutResources.Designer.cs new file mode 100644 index 000000000..111f83341 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.LayoutRules.LayoutResources.Designer.cs @@ -0,0 +1,206 @@ +// + +#nullable enable +using System.Reflection; + + +namespace StyleCop.Analyzers.LayoutRules +{ + internal static partial class LayoutResources + { + private static global::System.Resources.ResourceManager? s_resourceManager; + internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(LayoutResources))); + internal static global::System.Globalization.CultureInfo? Culture { get; set; } + [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + internal static string? GetResourceString(string resourceKey, string? defaultValue = null) => ResourceManager.GetString(resourceKey, Culture) ?? defaultValue; + /// Align braces + internal static string? @SA1500CodeFix => GetResourceString("SA1500CodeFix"); + /// The opening or closing brace within a C# statement, element, or expression is not placed on its own line. + internal static string? @SA1500Description => GetResourceString("SA1500Description"); + /// Braces for multi-line statements should not share line + internal static string? @SA1500MessageFormat => GetResourceString("SA1500MessageFormat"); + /// Braces for multi-line statements should not share line + internal static string? @SA1500Title => GetResourceString("SA1500Title"); + /// Expand single line block + internal static string? @SA1501CodeFix => GetResourceString("SA1501CodeFix"); + /// Expand all single line blocks + internal static string? @SA1501CodeFixAll => GetResourceString("SA1501CodeFixAll"); + /// A C# statement containing opening and closing braces is written completely on a single line. + internal static string? @SA1501Description => GetResourceString("SA1501Description"); + /// Statement should not be on a single line + internal static string? @SA1501MessageFormat => GetResourceString("SA1501MessageFormat"); + /// Statement should not be on a single line + internal static string? @SA1501Title => GetResourceString("SA1501Title"); + /// Expand element + internal static string? @SA1502CodeFix => GetResourceString("SA1502CodeFix"); + /// A C# element containing opening and closing braces is written completely on a single line. + internal static string? @SA1502Description => GetResourceString("SA1502Description"); + /// Element should not be on a single line + internal static string? @SA1502MessageFormat => GetResourceString("SA1502MessageFormat"); + /// Element should not be on a single line + internal static string? @SA1502Title => GetResourceString("SA1502Title"); + /// Wrap with braces + internal static string? @SA1503CodeFix => GetResourceString("SA1503CodeFix"); + /// The opening and closing braces for a C# statement have been omitted. + internal static string? @SA1503Description => GetResourceString("SA1503Description"); + /// Braces should not be omitted + internal static string? @SA1503MessageFormat => GetResourceString("SA1503MessageFormat"); + /// Braces should not be omitted + internal static string? @SA1503Title => GetResourceString("SA1503Title"); + /// Reformat accessors to multiple lines style + internal static string? @SA1504CodeFixMultipleLines => GetResourceString("SA1504CodeFixMultipleLines"); + /// Reformat accessors to single line style + internal static string? @SA1504CodeFixSingleLine => GetResourceString("SA1504CodeFixSingleLine"); + /// Within a C# property, indexer or event, at least one of the child accessors is written on a single line, and at least one of the child accessors is written across multiple lines. + internal static string? @SA1504Description => GetResourceString("SA1504Description"); + /// All accessors should be single-line or multi-line + internal static string? @SA1504MessageFormat => GetResourceString("SA1504MessageFormat"); + /// All accessors should be single-line or multi-line + internal static string? @SA1504Title => GetResourceString("SA1504Title"); + /// Remove blank lines following this brace + internal static string? @SA1505CodeFix => GetResourceString("SA1505CodeFix"); + /// An opening brace within a C# element, statement, or expression is followed by a blank line. + internal static string? @SA1505Description => GetResourceString("SA1505Description"); + /// An opening brace should not be followed by a blank line + internal static string? @SA1505MessageFormat => GetResourceString("SA1505MessageFormat"); + /// Opening braces should not be followed by blank line + internal static string? @SA1505Title => GetResourceString("SA1505Title"); + /// Remove blank line(s) after documentation header + internal static string? @SA1506CodeFix => GetResourceString("SA1506CodeFix"); + /// An element documentation header above a C# element is followed by a blank line. + internal static string? @SA1506Description => GetResourceString("SA1506Description"); + /// Element documentation headers should not be followed by blank line + internal static string? @SA1506MessageFormat => GetResourceString("SA1506MessageFormat"); + /// Element documentation headers should not be followed by blank line + internal static string? @SA1506Title => GetResourceString("SA1506Title"); + /// Remove multiple blank lines + internal static string? @SA1507CodeFix => GetResourceString("SA1507CodeFix"); + /// The C# code contains multiple blank lines in a row. + internal static string? @SA1507Description => GetResourceString("SA1507Description"); + /// Code should not contain multiple blank lines in a row + internal static string? @SA1507MessageFormat => GetResourceString("SA1507MessageFormat"); + /// Code should not contain multiple blank lines in a row + internal static string? @SA1507Title => GetResourceString("SA1507Title"); + /// Remove blank lines preceding this brace + internal static string? @SA1508CodeFix => GetResourceString("SA1508CodeFix"); + /// A closing brace within a C# element, statement, or expression is preceded by a blank line. + internal static string? @SA1508Description => GetResourceString("SA1508Description"); + /// A closing brace should not be preceded by a blank line + internal static string? @SA1508MessageFormat => GetResourceString("SA1508MessageFormat"); + /// Closing braces should not be preceded by blank line + internal static string? @SA1508Title => GetResourceString("SA1508Title"); + /// Remove blank lines preceding this brace + internal static string? @SA1509CodeFix => GetResourceString("SA1509CodeFix"); + /// An opening brace within a C# element, statement, or expression is preceded by a blank line. + internal static string? @SA1509Description => GetResourceString("SA1509Description"); + /// Opening braces should not be preceded by blank line + internal static string? @SA1509MessageFormat => GetResourceString("SA1509MessageFormat"); + /// Opening braces should not be preceded by blank line + internal static string? @SA1509Title => GetResourceString("SA1509Title"); + /// Remove blank line before chained statement + internal static string? @SA1510CodeFix => GetResourceString("SA1510CodeFix"); + /// Chained C# statements are separated by a blank line. + internal static string? @SA1510Description => GetResourceString("SA1510Description"); + /// '{0}' statement should not be preceded by a blank line + internal static string? @SA1510MessageFormat => GetResourceString("SA1510MessageFormat"); + /// Chained statement blocks should not be preceded by blank line + internal static string? @SA1510Title => GetResourceString("SA1510Title"); + /// Remove blank line before while + internal static string? @SA1511CodeFix => GetResourceString("SA1511CodeFix"); + /// The while footer at the bottom of a do-while statement is separated from the statement by a blank line. + internal static string? @SA1511Description => GetResourceString("SA1511Description"); + /// While-do footer should not be preceded by blank line + internal static string? @SA1511MessageFormat => GetResourceString("SA1511MessageFormat"); + /// While-do footer should not be preceded by blank line + internal static string? @SA1511Title => GetResourceString("SA1511Title"); + /// Remove blank line after comment + internal static string? @SA1512CodeFix => GetResourceString("SA1512CodeFix"); + /// A single-line comment within C# code is followed by a blank line. + internal static string? @SA1512Description => GetResourceString("SA1512Description"); + /// Single-line comments should not be followed by blank line + internal static string? @SA1512MessageFormat => GetResourceString("SA1512MessageFormat"); + /// Single-line comments should not be followed by blank line + internal static string? @SA1512Title => GetResourceString("SA1512Title"); + /// Insert blank line after brace + internal static string? @SA1513CodeFix => GetResourceString("SA1513CodeFix"); + /// A closing brace within a C# element, statement, or expression is not followed by a blank line. + internal static string? @SA1513Description => GetResourceString("SA1513Description"); + /// Closing brace should be followed by blank line + internal static string? @SA1513MessageFormat => GetResourceString("SA1513MessageFormat"); + /// Closing brace should be followed by blank line + internal static string? @SA1513Title => GetResourceString("SA1513Title"); + /// Insert blank line before documentation header + internal static string? @SA1514CodeFix => GetResourceString("SA1514CodeFix"); + /// An element documentation header above a C# element is not preceded by a blank line. + internal static string? @SA1514Description => GetResourceString("SA1514Description"); + /// Element documentation header should be preceded by blank line + internal static string? @SA1514MessageFormat => GetResourceString("SA1514MessageFormat"); + /// Element documentation header should be preceded by blank line + internal static string? @SA1514Title => GetResourceString("SA1514Title"); + /// Insert blank line before comment + internal static string? @SA1515CodeFix => GetResourceString("SA1515CodeFix"); + /// A single-line comment within C# code is not preceded by a blank line. + internal static string? @SA1515Description => GetResourceString("SA1515Description"); + /// Single-line comment should be preceded by blank line + internal static string? @SA1515MessageFormat => GetResourceString("SA1515MessageFormat"); + /// Single-line comment should be preceded by blank line + internal static string? @SA1515Title => GetResourceString("SA1515Title"); + /// Fix blank lines + internal static string? @SA1516CodeFixAll => GetResourceString("SA1516CodeFixAll"); + /// Insert new line + internal static string? @SA1516CodeFixInsert => GetResourceString("SA1516CodeFixInsert"); + /// Remove blank line + internal static string? @SA1516CodeFixRemove => GetResourceString("SA1516CodeFixRemove"); + /// Adjacent C# elements are not separated by a blank line. + internal static string? @SA1516Description => GetResourceString("SA1516Description"); + /// Adjacent using directives should not be separated by a blank line. + internal static string? @SA1516DescriptionOmit => GetResourceString("SA1516DescriptionOmit"); + /// Adjacent using directives should be separated by a blank line. + internal static string? @SA1516DescriptionRequire => GetResourceString("SA1516DescriptionRequire"); + /// Elements should be separated by blank line + internal static string? @SA1516MessageFormat => GetResourceString("SA1516MessageFormat"); + /// Using directives should not be separated by blank line + internal static string? @SA1516MessageFormatOmit => GetResourceString("SA1516MessageFormatOmit"); + /// Using directives should be separated by blank line + internal static string? @SA1516MessageFormatRequire => GetResourceString("SA1516MessageFormatRequire"); + /// Elements should be separated by blank line + internal static string? @SA1516Title => GetResourceString("SA1516Title"); + /// Remove blank lines at the start of the file + internal static string? @SA1517CodeFix => GetResourceString("SA1517CodeFix"); + /// The code file has blank lines at the start. + internal static string? @SA1517Description => GetResourceString("SA1517Description"); + /// Code should not contain blank lines at start of file + internal static string? @SA1517MessageFormat => GetResourceString("SA1517MessageFormat"); + /// Code should not contain blank lines at start of file + internal static string? @SA1517Title => GetResourceString("SA1517Title"); + /// Fix whitespace at the end of the file + internal static string? @SA1518CodeFix => GetResourceString("SA1518CodeFix"); + /// Code should not contain blank lines at the end of the file. + internal static string? @SA1518DescriptionAllow => GetResourceString("SA1518DescriptionAllow"); + /// File may not end with a newline character. + internal static string? @SA1518DescriptionOmit => GetResourceString("SA1518DescriptionOmit"); + /// File is required to end with a single newline character. + internal static string? @SA1518DescriptionRequire => GetResourceString("SA1518DescriptionRequire"); + /// Code should not contain blank lines at the end of the file + internal static string? @SA1518MessageFormatAllow => GetResourceString("SA1518MessageFormatAllow"); + /// File may not end with a newline character + internal static string? @SA1518MessageFormatOmit => GetResourceString("SA1518MessageFormatOmit"); + /// File is required to end with a single newline character + internal static string? @SA1518MessageFormatRequire => GetResourceString("SA1518MessageFormatRequire"); + /// Use line endings correctly at end of file + internal static string? @SA1518Title => GetResourceString("SA1518Title"); + /// The opening and closing braces for a multi-line C# statement have been omitted. + internal static string? @SA1519Description => GetResourceString("SA1519Description"); + /// Braces should not be omitted from multi-line child statement + internal static string? @SA1519MessageFormat => GetResourceString("SA1519MessageFormat"); + /// Braces should not be omitted from multi-line child statement + internal static string? @SA1519Title => GetResourceString("SA1519Title"); + /// The opening and closing braces of a chained if/else if/else construct were included for some clauses, but omitted for others. + internal static string? @SA1520Description => GetResourceString("SA1520Description"); + /// Use braces consistently + internal static string? @SA1520MessageFormat => GetResourceString("SA1520MessageFormat"); + /// Use braces consistently + internal static string? @SA1520Title => GetResourceString("SA1520Title"); + + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.MaintainabilityRules.MaintainabilityResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.MaintainabilityRules.MaintainabilityResources.Designer.cs new file mode 100644 index 000000000..3a1a31f18 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.MaintainabilityRules.MaintainabilityResources.Designer.cs @@ -0,0 +1,130 @@ +// + +#nullable enable +using System.Reflection; + + +namespace StyleCop.Analyzers.MaintainabilityRules +{ + internal static partial class MaintainabilityResources + { + private static global::System.Resources.ResourceManager? s_resourceManager; + internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(MaintainabilityResources))); + internal static global::System.Globalization.CultureInfo? Culture { get; set; } + [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + internal static string? GetResourceString(string resourceKey, string? defaultValue = null) => ResourceManager.GetString(resourceKey, Culture) ?? defaultValue; + /// Remove parentheses + internal static string? @SA1119CodeFix => GetResourceString("SA1119CodeFix"); + /// A C# statement contains parenthesis which are unnecessary and should be removed. + internal static string? @SA1119Description => GetResourceString("SA1119Description"); + /// Statement should not use unnecessary parenthesis + internal static string? @SA1119MessageFormat => GetResourceString("SA1119MessageFormat"); + /// Statement should not use unnecessary parenthesis + internal static string? @SA1119Title => GetResourceString("SA1119Title"); + /// Declare accessibility + internal static string? @SA1400CodeFix => GetResourceString("SA1400CodeFix"); + /// The access modifier for a C# element has not been explicitly defined. + internal static string? @SA1400Description => GetResourceString("SA1400Description"); + /// Element '{0}' should declare an access modifier + internal static string? @SA1400MessageFormat => GetResourceString("SA1400MessageFormat"); + /// Access modifier should be declared + internal static string? @SA1400Title => GetResourceString("SA1400Title"); + /// A field within a C# class has an access modifier other than private. + internal static string? @SA1401Description => GetResourceString("SA1401Description"); + /// Field should be private + internal static string? @SA1401MessageFormat => GetResourceString("SA1401MessageFormat"); + /// Fields should be private + internal static string? @SA1401Title => GetResourceString("SA1401Title"); + /// Move type to new file + internal static string? @SA1402CodeFix => GetResourceString("SA1402CodeFix"); + /// A C# code file contains more than one unique type. + internal static string? @SA1402Description => GetResourceString("SA1402Description"); + /// File may only contain a single type + internal static string? @SA1402MessageFormat => GetResourceString("SA1402MessageFormat"); + /// File may only contain a single type + internal static string? @SA1402Title => GetResourceString("SA1402Title"); + /// A C# code file contains more than one namespace. + internal static string? @SA1403Description => GetResourceString("SA1403Description"); + /// File may only contain a single namespace + internal static string? @SA1403MessageFormat => GetResourceString("SA1403MessageFormat"); + /// File may only contain a single namespace + internal static string? @SA1403Title => GetResourceString("SA1403Title"); + /// Fix justification + internal static string? @SA1404CodeFix => GetResourceString("SA1404CodeFix"); + /// A Code Analysis SuppressMessage attribute does not include a justification. + internal static string? @SA1404Description => GetResourceString("SA1404Description"); + /// Code analysis suppression should have justification + internal static string? @SA1404MessageFormat => GetResourceString("SA1404MessageFormat"); + /// Code analysis suppression should have justification + internal static string? @SA1404Title => GetResourceString("SA1404Title"); + /// A call to Debug.Assert in C# code does not include a descriptive message. + internal static string? @SA1405Description => GetResourceString("SA1405Description"); + /// Debug.Assert should provide message text + internal static string? @SA1405MessageFormat => GetResourceString("SA1405MessageFormat"); + /// Debug.Assert should provide message text + internal static string? @SA1405Title => GetResourceString("SA1405Title"); + /// A call to Debug.Fail in C# code does not include a descriptive message. + internal static string? @SA1406Description => GetResourceString("SA1406Description"); + /// Debug.Fail should provide message text + internal static string? @SA1406MessageFormat => GetResourceString("SA1406MessageFormat"); + /// Debug.Fail should provide message text + internal static string? @SA1406Title => GetResourceString("SA1406Title"); + /// A C# statement contains a complex arithmetic expression which omits parenthesis around operators. + internal static string? @SA1407Description => GetResourceString("SA1407Description"); + /// Arithmetic expressions should declare precedence + internal static string? @SA1407MessageFormat => GetResourceString("SA1407MessageFormat"); + /// Add parentheses + internal static string? @SA1407SA1408CodeFix => GetResourceString("SA1407SA1408CodeFix"); + /// Arithmetic expressions should declare precedence + internal static string? @SA1407Title => GetResourceString("SA1407Title"); + /// A C# statement contains a complex conditional expression which omits parenthesis around operators. + internal static string? @SA1408Description => GetResourceString("SA1408Description"); + /// Conditional expressions should declare precedence + internal static string? @SA1408MessageFormat => GetResourceString("SA1408MessageFormat"); + /// Conditional expressions should declare precedence + internal static string? @SA1408Title => GetResourceString("SA1408Title"); + /// A C# file contains code which is unnecessary and can be removed without changing the overall logic of the code. + internal static string? @SA1409Description => GetResourceString("SA1409Description"); + /// TODO: Message format + internal static string? @SA1409MessageFormat => GetResourceString("SA1409MessageFormat"); + /// Remove unnecessary code + internal static string? @SA1409Title => GetResourceString("SA1409Title"); + /// A call to a C# anonymous method does not contain any method parameters, yet the statement still includes parenthesis. + internal static string? @SA1410Description => GetResourceString("SA1410Description"); + /// Remove delegate parenthesis when possible + internal static string? @SA1410MessageFormat => GetResourceString("SA1410MessageFormat"); + /// Remove parentheses + internal static string? @SA1410SA1411CodeFix => GetResourceString("SA1410SA1411CodeFix"); + /// Remove delegate parenthesis when possible + internal static string? @SA1410Title => GetResourceString("SA1410Title"); + /// TODO. + internal static string? @SA1411Description => GetResourceString("SA1411Description"); + /// Attribute constructor should not use unnecessary parenthesis + internal static string? @SA1411MessageFormat => GetResourceString("SA1411MessageFormat"); + /// Attribute constructor should not use unnecessary parenthesis + internal static string? @SA1411Title => GetResourceString("SA1411Title"); + /// Change encoding from '{0}' to UTF-8 with byte order mark + internal static string? @SA1412CodeFix => GetResourceString("SA1412CodeFix"); + /// Source files should be saved using the UTF-8 encoding with a byte order mark. + internal static string? @SA1412Description => GetResourceString("SA1412Description"); + /// Store files as UTF-8 with byte order mark + internal static string? @SA1412MessageFormat => GetResourceString("SA1412MessageFormat"); + /// Store files as UTF-8 with byte order mark + internal static string? @SA1412Title => GetResourceString("SA1412Title"); + /// Add trailing comma + internal static string? @SA1413CodeFix => GetResourceString("SA1413CodeFix"); + /// A multi-line initializer in a C# code file should use a comma on the last line. + internal static string? @SA1413Description => GetResourceString("SA1413Description"); + /// Use trailing comma in multi-line initializers + internal static string? @SA1413MessageFormat => GetResourceString("SA1413MessageFormat"); + /// Use trailing comma in multi-line initializers + internal static string? @SA1413Title => GetResourceString("SA1413Title"); + /// Tuple types appearing in member declarations should have explicitly named tuple elements. + internal static string? @SA1414Description => GetResourceString("SA1414Description"); + /// Tuple types in signatures should have element names + internal static string? @SA1414MessageFormat => GetResourceString("SA1414MessageFormat"); + /// Tuple types in signatures should have element names + internal static string? @SA1414Title => GetResourceString("SA1414Title"); + + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.NamingRules.NamingResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.NamingRules.NamingResources.Designer.cs new file mode 100644 index 000000000..71dd1ec23 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.NamingRules.NamingResources.Designer.cs @@ -0,0 +1,134 @@ +// + +#nullable enable +using System.Reflection; + + +namespace StyleCop.Analyzers.NamingRules +{ + internal static partial class NamingResources + { + private static global::System.Resources.ResourceManager? s_resourceManager; + internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(NamingResources))); + internal static global::System.Globalization.CultureInfo? Culture { get; set; } + [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + internal static string? GetResourceString(string resourceKey, string? defaultValue = null) => ResourceManager.GetString(resourceKey, Culture) ?? defaultValue; + /// Rename To '{0}' + internal static string? @RenameToCodeFix => GetResourceString("RenameToCodeFix"); + /// The name of a C# element does not begin with an upper-case letter. + internal static string? @SA1300Description => GetResourceString("SA1300Description"); + /// Element '{0}' should begin with an uppercase letter + internal static string? @SA1300MessageFormat => GetResourceString("SA1300MessageFormat"); + /// Element should begin with upper-case letter + internal static string? @SA1300Title => GetResourceString("SA1300Title"); + /// There are currently no situations in which this rule will fire. + internal static string? @SA1301Description => GetResourceString("SA1301Description"); + /// Element should begin with lower-case letter + internal static string? @SA1301MessageFormat => GetResourceString("SA1301MessageFormat"); + /// Element should begin with lower-case letter + internal static string? @SA1301Title => GetResourceString("SA1301Title"); + /// Prefix interface name with 'I' + internal static string? @SA1302CodeFix => GetResourceString("SA1302CodeFix"); + /// The name of a C# interface does not begin with the capital letter I. + internal static string? @SA1302Description => GetResourceString("SA1302Description"); + /// Interface names should begin with I + internal static string? @SA1302MessageFormat => GetResourceString("SA1302MessageFormat"); + /// Interface names should begin with I + internal static string? @SA1302Title => GetResourceString("SA1302Title"); + /// The name of a constant C# field should begin with an upper-case letter. + internal static string? @SA1303Description => GetResourceString("SA1303Description"); + /// Const field names should begin with upper-case letter + internal static string? @SA1303MessageFormat => GetResourceString("SA1303MessageFormat"); + /// Const field names should begin with upper-case letter + internal static string? @SA1303Title => GetResourceString("SA1303Title"); + /// The name of a non-private readonly C# field should being with an upper-case letter. + internal static string? @SA1304Description => GetResourceString("SA1304Description"); + /// Non-private readonly fields should begin with upper-case letter + internal static string? @SA1304MessageFormat => GetResourceString("SA1304MessageFormat"); + /// Non-private readonly fields should begin with upper-case letter + internal static string? @SA1304Title => GetResourceString("SA1304Title"); + /// The name of a field or variable in C# uses Hungarian notation. + internal static string? @SA1305Description => GetResourceString("SA1305Description"); + /// {0} '{1}' should not use Hungarian notation + internal static string? @SA1305MessageFormat => GetResourceString("SA1305MessageFormat"); + /// Field names should not use Hungarian notation + internal static string? @SA1305Title => GetResourceString("SA1305Title"); + /// The name of a field in C# does not begin with a lower-case letter. + internal static string? @SA1306Description => GetResourceString("SA1306Description"); + /// Field '{0}' should begin with lower-case letter + internal static string? @SA1306MessageFormat => GetResourceString("SA1306MessageFormat"); + /// Field names should begin with lower-case letter + internal static string? @SA1306Title => GetResourceString("SA1306Title"); + /// The name of a public or internal field in C# does not begin with an upper-case letter. + internal static string? @SA1307Description => GetResourceString("SA1307Description"); + /// Field '{0}' should begin with upper-case letter + internal static string? @SA1307MessageFormat => GetResourceString("SA1307MessageFormat"); + /// Accessible fields should begin with upper-case letter + internal static string? @SA1307Title => GetResourceString("SA1307Title"); + /// A field name in C# is prefixed with 'm_', 's_', or 't_'. + internal static string? @SA1308Description => GetResourceString("SA1308Description"); + /// Field '{0}' should not begin with the prefix '{1}' + internal static string? @SA1308MessageFormat => GetResourceString("SA1308MessageFormat"); + /// Variable names should not be prefixed + internal static string? @SA1308Title => GetResourceString("SA1308Title"); + /// A field name in C# begins with an underscore. + internal static string? @SA1309Description => GetResourceString("SA1309Description"); + /// Field '{0}' should not begin with an underscore + internal static string? @SA1309MessageFormat => GetResourceString("SA1309MessageFormat"); + /// Field names should not begin with underscore + internal static string? @SA1309Title => GetResourceString("SA1309Title"); + /// A field name in C# contains an underscore. + internal static string? @SA1310Description => GetResourceString("SA1310Description"); + /// Field '{0}' should not contain an underscore + internal static string? @SA1310MessageFormat => GetResourceString("SA1310MessageFormat"); + /// Field names should not contain underscore + internal static string? @SA1310Title => GetResourceString("SA1310Title"); + /// The name of a static readonly field does not begin with an upper-case letter. + internal static string? @SA1311Description => GetResourceString("SA1311Description"); + /// Static readonly fields should begin with upper-case letter + internal static string? @SA1311MessageFormat => GetResourceString("SA1311MessageFormat"); + /// Static readonly fields should begin with upper-case letter + internal static string? @SA1311Title => GetResourceString("SA1311Title"); + /// The name of a variable in C# does not begin with a lower-case letter. + internal static string? @SA1312Description => GetResourceString("SA1312Description"); + /// Variable '{0}' should begin with lower-case letter + internal static string? @SA1312MessageFormat => GetResourceString("SA1312MessageFormat"); + /// Variable names should begin with lower-case letter + internal static string? @SA1312Title => GetResourceString("SA1312Title"); + /// The name of a parameter in C# does not begin with a lower-case letter. + internal static string? @SA1313Description => GetResourceString("SA1313Description"); + /// Parameter '{0}' should begin with lower-case letter + internal static string? @SA1313MessageFormat => GetResourceString("SA1313MessageFormat"); + /// Parameter names should begin with lower-case letter + internal static string? @SA1313Title => GetResourceString("SA1313Title"); + /// Prefix type parameter name with 'T' + internal static string? @SA1314CodeFix => GetResourceString("SA1314CodeFix"); + /// The name of a C# type parameter does not begin with the capital letter T. + internal static string? @SA1314Description => GetResourceString("SA1314Description"); + /// Type parameter names should begin with T + internal static string? @SA1314MessageFormat => GetResourceString("SA1314MessageFormat"); + /// Type parameter names should begin with T + internal static string? @SA1314Title => GetResourceString("SA1314Title"); + /// Correct tuple element name casing + internal static string? @SA1316CodeFix => GetResourceString("SA1316CodeFix"); + /// Element names within a tuple type should have the correct casing. + internal static string? @SA1316Description => GetResourceString("SA1316Description"); + /// Tuple element names should use correct casing + internal static string? @SA1316MessageFormat => GetResourceString("SA1316MessageFormat"); + /// Tuple element names should use correct casing + internal static string? @SA1316Title => GetResourceString("SA1316Title"); + /// A field name in C# does not begin with an underscore. + internal static string? @SX1309Description => GetResourceString("SX1309Description"); + /// Field '{0}' should begin with an underscore + internal static string? @SX1309MessageFormat => GetResourceString("SX1309MessageFormat"); + /// A static field name in C# does not begin with an underscore. + internal static string? @SX1309SDescription => GetResourceString("SX1309SDescription"); + /// Static field '{0}' should begin with an underscore + internal static string? @SX1309SMessageFormat => GetResourceString("SX1309SMessageFormat"); + /// Static field names should begin with underscore + internal static string? @SX1309STitle => GetResourceString("SX1309STitle"); + /// Field names should begin with underscore + internal static string? @SX1309Title => GetResourceString("SX1309Title"); + + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.OrderingRules.OrderingResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.OrderingRules.OrderingResources.Designer.cs new file mode 100644 index 000000000..c3c1f3f95 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.OrderingRules.OrderingResources.Designer.cs @@ -0,0 +1,136 @@ +// + +#nullable enable +using System.Reflection; + + +namespace StyleCop.Analyzers.OrderingRules +{ + internal static partial class OrderingResources + { + private static global::System.Resources.ResourceManager? s_resourceManager; + internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(OrderingResources))); + internal static global::System.Globalization.CultureInfo? Culture { get; set; } + [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + internal static string? GetResourceString(string resourceKey, string? defaultValue = null) => ResourceManager.GetString(resourceKey, Culture) ?? defaultValue; + /// Fix element order + internal static string? @ElementOrderCodeFix => GetResourceString("ElementOrderCodeFix"); + /// Fix modifier order + internal static string? @ModifierOrderCodeFix => GetResourceString("ModifierOrderCodeFix"); + /// A C# using directive is placed outside of a namespace element. + internal static string? @SA1200DescriptionInside => GetResourceString("SA1200DescriptionInside"); + /// A C# using directive is placed inside of a namespace declaration. + internal static string? @SA1200DescriptionOutside => GetResourceString("SA1200DescriptionOutside"); + /// Using directive should appear within a namespace declaration + internal static string? @SA1200MessageFormatInside => GetResourceString("SA1200MessageFormatInside"); + /// Using directive should appear outside a namespace declaration + internal static string? @SA1200MessageFormatOutside => GetResourceString("SA1200MessageFormatOutside"); + /// Using directives should be placed correctly + internal static string? @SA1200Title => GetResourceString("SA1200Title"); + /// An element within a C# code file is out of order in relation to the other elements in the code. + internal static string? @SA1201Description => GetResourceString("SA1201Description"); + /// A {0} should not follow a {1} + internal static string? @SA1201MessageFormat => GetResourceString("SA1201MessageFormat"); + /// Elements should appear in the correct order + internal static string? @SA1201Title => GetResourceString("SA1201Title"); + /// An element within a C# code file is out of order in relation to other elements in the code. + internal static string? @SA1202Description => GetResourceString("SA1202Description"); + /// '{0}' members should come before '{1}' members + internal static string? @SA1202MessageFormat => GetResourceString("SA1202MessageFormat"); + /// Elements should be ordered by access + internal static string? @SA1202Title => GetResourceString("SA1202Title"); + /// A constant field is placed beneath a non-constant field. + internal static string? @SA1203Description => GetResourceString("SA1203Description"); + /// Constant fields should appear before non-constant fields + internal static string? @SA1203MessageFormat => GetResourceString("SA1203MessageFormat"); + /// Constants should appear before fields + internal static string? @SA1203Title => GetResourceString("SA1203Title"); + /// A static element is positioned beneath an instance element. + internal static string? @SA1204Description => GetResourceString("SA1204Description"); + /// Static members should appear before non-static members + internal static string? @SA1204MessageFormat => GetResourceString("SA1204MessageFormat"); + /// Static elements should appear before instance elements + internal static string? @SA1204Title => GetResourceString("SA1204Title"); + /// Add access modifier + internal static string? @SA1205CodeFix => GetResourceString("SA1205CodeFix"); + /// The partial element does not have an access modifier defined. + internal static string? @SA1205Description => GetResourceString("SA1205Description"); + /// Partial elements should declare an access modifier + internal static string? @SA1205MessageFormat => GetResourceString("SA1205MessageFormat"); + /// Partial elements should declare access + internal static string? @SA1205Title => GetResourceString("SA1205Title"); + /// The keywords within the declaration of an element do not follow a standard ordering scheme. + internal static string? @SA1206Description => GetResourceString("SA1206Description"); + /// The '{0}' modifier should appear before '{1}' + internal static string? @SA1206MessageFormat => GetResourceString("SA1206MessageFormat"); + /// Declaration keywords should follow order + internal static string? @SA1206Title => GetResourceString("SA1206Title"); + /// Place keyword 'protected' before keyword 'internal' + internal static string? @SA1207CodeFix => GetResourceString("SA1207CodeFix"); + /// The keyword '{0}' is positioned after the keyword '{1}' within the declaration of a {0} {1} C# element. + internal static string? @SA1207Description => GetResourceString("SA1207Description"); + /// The keyword '{0}' should come before '{1}' + internal static string? @SA1207MessageFormat => GetResourceString("SA1207MessageFormat"); + /// Protected should come before internal + internal static string? @SA1207Title => GetResourceString("SA1207Title"); + /// A using directive which declares a member of the 'System' namespace appears after a using directive which declares a member of a different namespace, within a C# code file. + internal static string? @SA1208Description => GetResourceString("SA1208Description"); + /// Using directive for '{0}' should appear before directive for '{1}' + internal static string? @SA1208MessageFormat => GetResourceString("SA1208MessageFormat"); + /// System using directives should be placed before other using directives + internal static string? @SA1208Title => GetResourceString("SA1208Title"); + /// A using-alias directive is positioned before a regular using directive. + internal static string? @SA1209Description => GetResourceString("SA1209Description"); + /// Using alias directives should be placed after all using namespace directives + internal static string? @SA1209MessageFormat => GetResourceString("SA1209MessageFormat"); + /// Using alias directives should be placed after other using directives + internal static string? @SA1209Title => GetResourceString("SA1209Title"); + /// The using directives within a C# code file are not sorted alphabetically by namespace. + internal static string? @SA1210Description => GetResourceString("SA1210Description"); + /// Using directives should be ordered alphabetically by the namespaces + internal static string? @SA1210MessageFormat => GetResourceString("SA1210MessageFormat"); + /// Using directives should be ordered alphabetically by namespace + internal static string? @SA1210Title => GetResourceString("SA1210Title"); + /// The using-alias directives within a C# code file are not sorted alphabetically by alias name. + internal static string? @SA1211Description => GetResourceString("SA1211Description"); + /// Using alias directive for '{0}' should appear before using alias directive for '{1}' + internal static string? @SA1211MessageFormat => GetResourceString("SA1211MessageFormat"); + /// Using alias directives should be ordered alphabetically by alias name + internal static string? @SA1211Title => GetResourceString("SA1211Title"); + /// A get accessor appears after a set accessor within a property or indexer. + internal static string? @SA1212Description => GetResourceString("SA1212Description"); + /// A get accessor appears after a set accessor within a property or indexer + internal static string? @SA1212MessageFormat => GetResourceString("SA1212MessageFormat"); + /// Property accessors should follow order + internal static string? @SA1212Title => GetResourceString("SA1212Title"); + /// Fix accessor order + internal static string? @SA1213CodeFix => GetResourceString("SA1213CodeFix"); + /// An add accessor appears after a remove accessor within an event. + internal static string? @SA1213Description => GetResourceString("SA1213Description"); + /// Event accessors should follow order + internal static string? @SA1213MessageFormat => GetResourceString("SA1213MessageFormat"); + /// Event accessors should follow order + internal static string? @SA1213Title => GetResourceString("SA1213Title"); + /// A readonly field is positioned beneath a non-readonly field. + internal static string? @SA1214Description => GetResourceString("SA1214Description"); + /// Readonly fields should appear before non-readonly fields + internal static string? @SA1214MessageFormat => GetResourceString("SA1214MessageFormat"); + /// Readonly fields should appear before non-readonly fields + internal static string? @SA1214Title => GetResourceString("SA1214Title"); + /// A using static directive is positioned before a regular or after an alias using directive. + internal static string? @SA1216Description => GetResourceString("SA1216Description"); + /// Using static directives should be placed at the correct location + internal static string? @SA1216MessageFormat => GetResourceString("SA1216MessageFormat"); + /// Using static directives should be placed at the correct location + internal static string? @SA1216Title => GetResourceString("SA1216Title"); + /// All using static directives should be ordered alphabetically. + internal static string? @SA1217Description => GetResourceString("SA1217Description"); + /// The using static directive for '{0}' should appear after the using static directive for '{1}' + internal static string? @SA1217MessageFormat => GetResourceString("SA1217MessageFormat"); + /// Using static directives should be ordered alphabetically + internal static string? @SA1217Title => GetResourceString("SA1217Title"); + /// Reorder using statements + internal static string? @UsingCodeFix => GetResourceString("UsingCodeFix"); + + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.ReadabilityRules.ReadabilityResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.ReadabilityRules.ReadabilityResources.Designer.cs new file mode 100644 index 000000000..66c0e87c7 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.ReadabilityRules.ReadabilityResources.Designer.cs @@ -0,0 +1,322 @@ +// + +#nullable enable +using System.Reflection; + + +namespace StyleCop.Analyzers.ReadabilityRules +{ + internal static partial class ReadabilityResources + { + private static global::System.Resources.ResourceManager? s_resourceManager; + internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(ReadabilityResources))); + internal static global::System.Globalization.CultureInfo? Culture { get; set; } + [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + internal static string? GetResourceString(string resourceKey, string? defaultValue = null) => ResourceManager.GetString(resourceKey, Culture) ?? defaultValue; + /// Fix indentation + internal static string? @IndentationCodeFix => GetResourceString("IndentationCodeFix"); + /// Remove region + internal static string? @RemoveRegionCodeFix => GetResourceString("RemoveRegionCodeFix"); + /// Replace 'base.' with 'this.' + internal static string? @SA1100CodeFix => GetResourceString("SA1100CodeFix"); + /// A call to a member from an inherited class begins with 'base.', and the local class does not contain an override or implementation of the member. + internal static string? @SA1100Description => GetResourceString("SA1100Description"); + /// Do not prefix calls with base unless local implementation exists + internal static string? @SA1100MessageFormat => GetResourceString("SA1100MessageFormat"); + /// Do not prefix calls with base unless local implementation exists + internal static string? @SA1100Title => GetResourceString("SA1100Title"); + /// Prefix reference with 'this.' + internal static string? @SA1101CodeFix => GetResourceString("SA1101CodeFix"); + /// A call to an instance member of the local class or a base class is not prefixed with 'this.', within a C# code file. + internal static string? @SA1101Description => GetResourceString("SA1101Description"); + /// Prefix local calls with this + internal static string? @SA1101MessageFormat => GetResourceString("SA1101MessageFormat"); + /// Prefix local calls with this + internal static string? @SA1101Title => GetResourceString("SA1101Title"); + /// Remove separating lines + internal static string? @SA1102CodeFix => GetResourceString("SA1102CodeFix"); + /// A C# query clause does not begin on the same line as the previous clause, or on the next line. + internal static string? @SA1102Description => GetResourceString("SA1102Description"); + /// Query clause should follow previous clause. + internal static string? @SA1102MessageFormat => GetResourceString("SA1102MessageFormat"); + /// Query clause should follow previous clause + internal static string? @SA1102Title => GetResourceString("SA1102Title"); + /// Place on multiple lines + internal static string? @SA1103CodeFixMultipleLines => GetResourceString("SA1103CodeFixMultipleLines"); + /// Place on single line + internal static string? @SA1103CodeFixSingleLine => GetResourceString("SA1103CodeFixSingleLine"); + /// The clauses within a C# query expression are not all placed on the same line, and each clause is not placed on its own line. + internal static string? @SA1103Description => GetResourceString("SA1103Description"); + /// Query clauses should be on separate lines or all on one line + internal static string? @SA1103MessageFormat => GetResourceString("SA1103MessageFormat"); + /// Query clauses should be on separate lines or all on one line + internal static string? @SA1103Title => GetResourceString("SA1103Title"); + /// A clause within a C# query expression begins on the same line as the previous clause, when the previous clause spans across multiple lines. + internal static string? @SA1104Description => GetResourceString("SA1104Description"); + /// Query clause should begin on new line when previous clause spans multiple lines + internal static string? @SA1104MessageFormat => GetResourceString("SA1104MessageFormat"); + /// Insert new line + internal static string? @SA1104SA1105CodeFix => GetResourceString("SA1104SA1105CodeFix"); + /// Query clause should begin on new line when previous clause spans multiple lines + internal static string? @SA1104Title => GetResourceString("SA1104Title"); + /// A clause within a C# query expression spans across multiple lines, and does not begin on its own line. + internal static string? @SA1105Description => GetResourceString("SA1105Description"); + /// Query clauses spanning multiple lines should begin on own line + internal static string? @SA1105MessageFormat => GetResourceString("SA1105MessageFormat"); + /// Query clauses spanning multiple lines should begin on own line + internal static string? @SA1105Title => GetResourceString("SA1105Title"); + /// Remove empty statement + internal static string? @SA1106CodeFix => GetResourceString("SA1106CodeFix"); + /// The C# code contains an extra semicolon. + internal static string? @SA1106Description => GetResourceString("SA1106Description"); + /// Code should not contain empty statements + internal static string? @SA1106MessageFormat => GetResourceString("SA1106MessageFormat"); + /// Code should not contain empty statements + internal static string? @SA1106Title => GetResourceString("SA1106Title"); + /// Enter new line + internal static string? @SA1107CodeFix => GetResourceString("SA1107CodeFix"); + /// The C# code contains more than one statement on a single line. + internal static string? @SA1107Description => GetResourceString("SA1107Description"); + /// Code should not contain multiple statements on one line + internal static string? @SA1107MessageFormat => GetResourceString("SA1107MessageFormat"); + /// Code should not contain multiple statements on one line + internal static string? @SA1107Title => GetResourceString("SA1107Title"); + /// A C# statement contains a comment between the declaration of the statement and the opening brace of the statement. + internal static string? @SA1108Description => GetResourceString("SA1108Description"); + /// Block statements should not contain embedded comments + internal static string? @SA1108MessageFormat => GetResourceString("SA1108MessageFormat"); + /// Block statements should not contain embedded comments + internal static string? @SA1108Title => GetResourceString("SA1108Title"); + /// A C# statement contains a region tag between the declaration of the statement and the opening brace of the statement. + internal static string? @SA1109Description => GetResourceString("SA1109Description"); + /// + internal static string? @SA1109MessageFormat => GetResourceString("SA1109MessageFormat"); + /// Block statements should not contain embedded regions + internal static string? @SA1109Title => GetResourceString("SA1109Title"); + /// The opening parenthesis or bracket is not placed on the same line as the method/indexer/attribute/array name. + internal static string? @SA1110Description => GetResourceString("SA1110Description"); + /// Opening parenthesis or bracket should be on declaration line + internal static string? @SA1110MessageFormat => GetResourceString("SA1110MessageFormat"); + /// Opening parenthesis or bracket should be on declaration line + internal static string? @SA1110Title => GetResourceString("SA1110Title"); + /// The closing parenthesis or bracket in a call to or declaration of a C# method/indexer/attribute/array/constructor/delegate is not placed on the same line as the last parameter. + internal static string? @SA1111Description => GetResourceString("SA1111Description"); + /// Closing parenthesis should be on line of last parameter + internal static string? @SA1111MessageFormat => GetResourceString("SA1111MessageFormat"); + /// Closing parenthesis should be on line of last parameter + internal static string? @SA1111Title => GetResourceString("SA1111Title"); + /// The closing parenthesis or bracket in a call to a C# method or indexer, or the declaration of a method or indexer, is not placed on the same line as the opening bracket when the element does not take any parameters. + internal static string? @SA1112Description => GetResourceString("SA1112Description"); + /// Closing parenthesis should be on line of opening parenthesis + internal static string? @SA1112MessageFormat => GetResourceString("SA1112MessageFormat"); + /// Closing parenthesis should be on line of opening parenthesis + internal static string? @SA1112Title => GetResourceString("SA1112Title"); + /// A comma between two parameters in a call to a C# method or indexer, or in the declaration of a method or indexer, is not placed on the same line as the previous parameter. + internal static string? @SA1113Description => GetResourceString("SA1113Description"); + /// Comma should be on the same line as previous parameter + internal static string? @SA1113MessageFormat => GetResourceString("SA1113MessageFormat"); + /// Comma should be on the same line as previous parameter + internal static string? @SA1113Title => GetResourceString("SA1113Title"); + /// The start of the parameter list for a method/constructor/indexer/array/operator call or declaration does not begin on the same line as the opening bracket, or on the line after the opening bracket. + internal static string? @SA1114Description => GetResourceString("SA1114Description"); + /// Parameter list should follow declaration + internal static string? @SA1114MessageFormat => GetResourceString("SA1114MessageFormat"); + /// Parameter list should follow declaration + internal static string? @SA1114Title => GetResourceString("SA1114Title"); + /// A parameter within a C# method or indexer call or declaration does not begin on the same line as the previous parameter, or on the next line. + internal static string? @SA1115Description => GetResourceString("SA1115Description"); + /// The parameter should begin on the line after the previous parameter + internal static string? @SA1115MessageFormat => GetResourceString("SA1115MessageFormat"); + /// Parameter should follow comma + internal static string? @SA1115Title => GetResourceString("SA1115Title"); + /// Move first argument to next line + internal static string? @SA1116CodeFix => GetResourceString("SA1116CodeFix"); + /// The parameters to a C# method or indexer call or declaration span across multiple lines, but the first parameter does not start on the line after the opening bracket. + internal static string? @SA1116Description => GetResourceString("SA1116Description"); + /// The parameters should begin on the line after the declaration, whenever the parameter span across multiple lines + internal static string? @SA1116MessageFormat => GetResourceString("SA1116MessageFormat"); + /// Split parameters should start on line after declaration + internal static string? @SA1116Title => GetResourceString("SA1116Title"); + /// The parameters to a C# method or indexer call or declaration are not all on the same line or each on a separate line. + internal static string? @SA1117Description => GetResourceString("SA1117Description"); + /// The parameters should all be placed on the same line or each parameter should be placed on its own line + internal static string? @SA1117MessageFormat => GetResourceString("SA1117MessageFormat"); + /// Parameters should be on same line or separate lines + internal static string? @SA1117Title => GetResourceString("SA1117Title"); + /// A parameter to a C# method/indexer/attribute/array, other than the first parameter, spans across multiple lines. If the parameter is short, place the entire parameter on a single line. Otherwise, save the contents of the parameter in a temporary variable a ... + internal static string? @SA1118Description => GetResourceString("SA1118Description"); + /// The parameter spans multiple lines + internal static string? @SA1118MessageFormat => GetResourceString("SA1118MessageFormat"); + /// Parameter should not span multiple lines + internal static string? @SA1118Title => GetResourceString("SA1118Title"); + /// Remove empty comment + internal static string? @SA1120CodeFix => GetResourceString("SA1120CodeFix"); + /// The C# comment does not contain any comment text. + internal static string? @SA1120Description => GetResourceString("SA1120Description"); + /// Comments should contain text + internal static string? @SA1120MessageFormat => GetResourceString("SA1120MessageFormat"); + /// Comments should contain text + internal static string? @SA1120Title => GetResourceString("SA1120Title"); + /// Replace with built-in type + internal static string? @SA1121CodeFix => GetResourceString("SA1121CodeFix"); + /// The code uses one of the basic C# types, but does not use the built-in alias for the type. + internal static string? @SA1121Description => GetResourceString("SA1121Description"); + /// Use built-in type alias + internal static string? @SA1121MessageFormat => GetResourceString("SA1121MessageFormat"); + /// Use built-in type alias + internal static string? @SA1121Title => GetResourceString("SA1121Title"); + /// Replace with string.Empty + internal static string? @SA1122CodeFix => GetResourceString("SA1122CodeFix"); + /// The C# code includes an empty string, written as "". + internal static string? @SA1122Description => GetResourceString("SA1122Description"); + /// Use string.Empty for empty strings + internal static string? @SA1122MessageFormat => GetResourceString("SA1122MessageFormat"); + /// Use string.Empty for empty strings + internal static string? @SA1122Title => GetResourceString("SA1122Title"); + /// The C# code contains a region within the body of a code element. + internal static string? @SA1123Description => GetResourceString("SA1123Description"); + /// Region should not be located within a code element + internal static string? @SA1123MessageFormat => GetResourceString("SA1123MessageFormat"); + /// Do not place regions within elements + internal static string? @SA1123Title => GetResourceString("SA1123Title"); + /// The C# code contains a region. + internal static string? @SA1124Description => GetResourceString("SA1124Description"); + /// Do not use regions + internal static string? @SA1124MessageFormat => GetResourceString("SA1124MessageFormat"); + /// Do not use regions + internal static string? @SA1124Title => GetResourceString("SA1124Title"); + /// The Nullable<T> type has been defined not using the C# shorthand. For example, Nullable<DateTime> has been used instead of the preferred DateTime? + internal static string? @SA1125Description => GetResourceString("SA1125Description"); + /// Use shorthand for nullable types + internal static string? @SA1125MessageFormat => GetResourceString("SA1125MessageFormat"); + /// Use shorthand for nullable types + internal static string? @SA1125Title => GetResourceString("SA1125Title"); + /// A call to a member is not prefixed with the 'this.', 'base.', 'object.' or 'typename.' prefix to indicate the intended method call, within a C# code file. + internal static string? @SA1126Description => GetResourceString("SA1126Description"); + /// + internal static string? @SA1126MessageFormat => GetResourceString("SA1126MessageFormat"); + /// Prefix calls correctly + internal static string? @SA1126Title => GetResourceString("SA1126Title"); + /// Place each type constraint on a new line + internal static string? @SA1127CodeFix => GetResourceString("SA1127CodeFix"); + /// Each type constraint clause for a generic type parameter should be listed on a line of code by itself. + internal static string? @SA1127Description => GetResourceString("SA1127Description"); + /// Generic type constraints should be on their own line + internal static string? @SA1127MessageFormat => GetResourceString("SA1127MessageFormat"); + /// Generic type constraints should be on their own line + internal static string? @SA1127Title => GetResourceString("SA1127Title"); + /// Place constructor initializer on own line + internal static string? @SA1128CodeFix => GetResourceString("SA1128CodeFix"); + /// A constructor initializer, including the colon character, should be on its own line. + internal static string? @SA1128Description => GetResourceString("SA1128Description"); + /// Put constructor initializers on their own line + internal static string? @SA1128MessageFormat => GetResourceString("SA1128MessageFormat"); + /// Put constructor initializers on their own line + internal static string? @SA1128Title => GetResourceString("SA1128Title"); + /// Replace with default(T) + internal static string? @SA1129CodeFix => GetResourceString("SA1129CodeFix"); + /// When creating a new instance of a value type T, the syntax 'default(T)' is functionally equivalent to the syntax 'new T()'. To avoid confusion regarding the behavior of the resulting instance, the first form is preferred. + internal static string? @SA1129Description => GetResourceString("SA1129Description"); + /// Do not use default value type constructor + internal static string? @SA1129MessageFormat => GetResourceString("SA1129MessageFormat"); + /// Do not use default value type constructor + internal static string? @SA1129Title => GetResourceString("SA1129Title"); + /// Replace with lambda. + internal static string? @SA1130CodeFix => GetResourceString("SA1130CodeFix"); + /// Lambda expressions are more succinct and easier to read than anonymous methods, so they should are preferred whenever the two are functionally equivalent. + internal static string? @SA1130Description => GetResourceString("SA1130Description"); + /// Use lambda syntax + internal static string? @SA1130MessageFormat => GetResourceString("SA1130MessageFormat"); + /// Use lambda syntax + internal static string? @SA1130Title => GetResourceString("SA1130Title"); + /// Swap operands + internal static string? @SA1131CodeFix => GetResourceString("SA1131CodeFix"); + /// When a comparison is made between a variable and a literal, the variable should be placed on the left-hand-side to maximize readability. + internal static string? @SA1131Description => GetResourceString("SA1131Description"); + /// Constant values should appear on the right-hand side of comparisons + internal static string? @SA1131MessageFormat => GetResourceString("SA1131MessageFormat"); + /// Use readable conditions + internal static string? @SA1131Title => GetResourceString("SA1131Title"); + /// Place each field on a new line + internal static string? @SA1132CodeFix => GetResourceString("SA1132CodeFix"); + /// Each field should be declared on its own line, in order to clearly see each field of a type and allow for proper documentation of the behavior of each field. + internal static string? @SA1132Description => GetResourceString("SA1132Description"); + /// Each field should be declared on its own line + internal static string? @SA1132MessageFormat => GetResourceString("SA1132MessageFormat"); + /// Do not combine fields + internal static string? @SA1132Title => GetResourceString("SA1132Title"); + /// Give each attribute its own square brackets + internal static string? @SA1133CodeFix => GetResourceString("SA1133CodeFix"); + /// Each attribute usage should be placed in its own set of square brackets for maximum readability. + internal static string? @SA1133Description => GetResourceString("SA1133Description"); + /// Each attribute should be placed in its own set of square brackets + internal static string? @SA1133MessageFormat => GetResourceString("SA1133MessageFormat"); + /// Do not combine attributes + internal static string? @SA1133Title => GetResourceString("SA1133Title"); + /// Place attribute on own line. + internal static string? @SA1134CodeFix => GetResourceString("SA1134CodeFix"); + /// Each attribute should be placed on its own line of code. + internal static string? @SA1134Description => GetResourceString("SA1134Description"); + /// Each attribute should be placed on its own line of code + internal static string? @SA1134MessageFormat => GetResourceString("SA1134MessageFormat"); + /// Attributes should not share line + internal static string? @SA1134Title => GetResourceString("SA1134Title"); + /// Qualify using directive + internal static string? @SA1135CodeFix => GetResourceString("SA1135CodeFix"); + /// All using directives should be qualified. + internal static string? @SA1135Description => GetResourceString("SA1135Description"); + /// Using directive for namespace '{0}' should be qualified + internal static string? @SA1135MessageFormatNamespace => GetResourceString("SA1135MessageFormatNamespace"); + /// Using directive for type '{0}' should be qualified + internal static string? @SA1135MessageFormatType => GetResourceString("SA1135MessageFormatType"); + /// Using directives should be qualified + internal static string? @SA1135Title => GetResourceString("SA1135Title"); + /// Place enum values own their own lines + internal static string? @SA1136CodeFix => GetResourceString("SA1136CodeFix"); + /// Enum values should be placed on their own lines for maximum readability. + internal static string? @SA1136Description => GetResourceString("SA1136Description"); + /// Enum values should be on separate lines + internal static string? @SA1136MessageFormat => GetResourceString("SA1136MessageFormat"); + /// Enum values should be on separate lines + internal static string? @SA1136Title => GetResourceString("SA1136Title"); + /// Elements at the same level in the syntax tree should have the same indentation. + internal static string? @SA1137Description => GetResourceString("SA1137Description"); + /// Elements should have the same indentation + internal static string? @SA1137MessageFormat => GetResourceString("SA1137MessageFormat"); + /// Elements should have the same indentation + internal static string? @SA1137Title => GetResourceString("SA1137Title"); + /// Use literal suffix notation instead of casting + internal static string? @SA1139CodeFix => GetResourceString("SA1139CodeFix"); + /// Use literal suffix notation instead of casting, in order to improve readability, avoid bugs related to illegal casts and ensure that optimal IL is produced. + internal static string? @SA1139Description => GetResourceString("SA1139Description"); + /// Use literal suffix notation instead of casting + internal static string? @SA1139MessageFormat => GetResourceString("SA1139MessageFormat"); + /// Use literal suffix notation instead of casting + internal static string? @SA1139Title => GetResourceString("SA1139Title"); + /// Replace with tuple syntax + internal static string? @SA1141CodeFix => GetResourceString("SA1141CodeFix"); + /// Use tuple syntax instead of the underlying ValueTuple implementation type. + internal static string? @SA1141Description => GetResourceString("SA1141Description"); + /// Use tuple syntax + internal static string? @SA1141MessageFormat => GetResourceString("SA1141MessageFormat"); + /// Use tuple syntax + internal static string? @SA1141Title => GetResourceString("SA1141Title"); + /// Use tuple field name + internal static string? @SA1142CodeFix => GetResourceString("SA1142CodeFix"); + /// A field of a tuple was referenced by its metadata name when a field name is available. + internal static string? @SA1142Description => GetResourceString("SA1142Description"); + /// Refer to tuple fields by name + internal static string? @SA1142MessageFormat => GetResourceString("SA1142MessageFormat"); + /// Refer to tuple fields by name + internal static string? @SA1142Title => GetResourceString("SA1142Title"); + /// Remove 'this.' prefix + internal static string? @SX1101CodeFix => GetResourceString("SX1101CodeFix"); + /// A call to an instance member of the local class or a base class is prefixed with `this.`. + internal static string? @SX1101Description => GetResourceString("SX1101Description"); + /// Do not prefix local calls with 'this.' + internal static string? @SX1101MessageFormat => GetResourceString("SX1101MessageFormat"); + /// Do not prefix local calls with 'this.' + internal static string? @SX1101Title => GetResourceString("SX1101Title"); + + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.Settings.SettingsResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.Settings.SettingsResources.Designer.cs new file mode 100644 index 000000000..2db61ce2c --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.Settings.SettingsResources.Designer.cs @@ -0,0 +1,20 @@ +// + +#nullable enable +using System.Reflection; + + +namespace StyleCop.Analyzers.Settings +{ + internal static partial class SettingsResources + { + private static global::System.Resources.ResourceManager? s_resourceManager; + internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(SettingsResources))); + internal static global::System.Globalization.CultureInfo? Culture { get; set; } + [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + internal static string? GetResourceString(string resourceKey, string? defaultValue = null) => ResourceManager.GetString(resourceKey, Culture) ?? defaultValue; + /// Add StyleCop settings file to the project + internal static string? @SettingsFileCodeFix => GetResourceString("SettingsFileCodeFix"); + + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.SpacingRules.SpacingResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.SpacingRules.SpacingResources.Designer.cs new file mode 100644 index 000000000..b68cc02d5 --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.SpacingRules.SpacingResources.Designer.cs @@ -0,0 +1,248 @@ +// + +#nullable enable +using System.Reflection; + + +namespace StyleCop.Analyzers.SpacingRules +{ + internal static partial class SpacingResources + { + private static global::System.Resources.ResourceManager? s_resourceManager; + internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(SpacingResources))); + internal static global::System.Globalization.CultureInfo? Culture { get; set; } + [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + internal static string? GetResourceString(string resourceKey, string? defaultValue = null) => ResourceManager.GetString(resourceKey, Culture) ?? defaultValue; + /// The spacing around a C# keyword is incorrect. + internal static string? @SA1000Description => GetResourceString("SA1000Description"); + /// The keyword '{0}' should{1} be followed by a space + internal static string? @SA1000MessageFormat => GetResourceString("SA1000MessageFormat"); + /// Keywords should be spaced correctly + internal static string? @SA1000Title => GetResourceString("SA1000Title"); + /// The spacing around a comma is incorrect, within a C# code file. + internal static string? @SA1001Description => GetResourceString("SA1001Description"); + /// Commas should{0} be {1} by whitespace + internal static string? @SA1001MessageFormat => GetResourceString("SA1001MessageFormat"); + /// Commas should be spaced correctly + internal static string? @SA1001Title => GetResourceString("SA1001Title"); + /// The spacing around a semicolon is incorrect, within a C# code file. + internal static string? @SA1002Description => GetResourceString("SA1002Description"); + /// Semicolons should{0} be {1} by a space + internal static string? @SA1002MessageFormat => GetResourceString("SA1002MessageFormat"); + /// Semicolons should be spaced correctly + internal static string? @SA1002Title => GetResourceString("SA1002Title"); + /// Fix spacing + internal static string? @SA1003CodeFix => GetResourceString("SA1003CodeFix"); + /// The spacing around an operator symbol is incorrect, within a C# code file. + internal static string? @SA1003Description => GetResourceString("SA1003Description"); + /// Operator '{0}' should be followed by whitespace. + internal static string? @SA1003MessageFormatFollowedByWhitespace => GetResourceString("SA1003MessageFormatFollowedByWhitespace"); + /// Operator '{0}' should not appear at the end of a line. + internal static string? @SA1003MessageFormatNotAtEndOfLine => GetResourceString("SA1003MessageFormatNotAtEndOfLine"); + /// Operator '{0}' should not be followed by a comment. + internal static string? @SA1003MessageFormatNotFollowedByComment => GetResourceString("SA1003MessageFormatNotFollowedByComment"); + /// Operator '{0}' should not be followed by whitespace. + internal static string? @SA1003MessageFormatNotFollowedByWhitespace => GetResourceString("SA1003MessageFormatNotFollowedByWhitespace"); + /// Operator '{0}' should not be preceded by whitespace. + internal static string? @SA1003MessageFormatNotPrecededByWhitespace => GetResourceString("SA1003MessageFormatNotPrecededByWhitespace"); + /// Operator '{0}' should be preceded by whitespace. + internal static string? @SA1003MessageFormatPrecededByWhitespace => GetResourceString("SA1003MessageFormatPrecededByWhitespace"); + /// Symbols should be spaced correctly + internal static string? @SA1003Title => GetResourceString("SA1003Title"); + /// Fix spacing + internal static string? @SA1004CodeFix => GetResourceString("SA1004CodeFix"); + /// A line within a documentation header above a C# element does not begin with a single space. + internal static string? @SA1004Description => GetResourceString("SA1004Description"); + /// Documentation line should begin with a space + internal static string? @SA1004MessageFormat => GetResourceString("SA1004MessageFormat"); + /// Documentation lines should begin with single space + internal static string? @SA1004Title => GetResourceString("SA1004Title"); + /// Fix spacing + internal static string? @SA1005CodeFix => GetResourceString("SA1005CodeFix"); + /// A single-line comment within a C# code file does not begin with a single space. + internal static string? @SA1005Description => GetResourceString("SA1005Description"); + /// Single line comment should begin with a space + internal static string? @SA1005MessageFormat => GetResourceString("SA1005MessageFormat"); + /// Single line comments should begin with single space + internal static string? @SA1005Title => GetResourceString("SA1005Title"); + /// A C# preprocessor-type keyword is preceded by space. + internal static string? @SA1006Description => GetResourceString("SA1006Description"); + /// Preprocessor keyword '{0}' should not be preceded by a space + internal static string? @SA1006MessageFormat => GetResourceString("SA1006MessageFormat"); + /// Preprocessor keywords should not be preceded by space + internal static string? @SA1006Title => GetResourceString("SA1006Title"); + /// The operator keyword within a C# operator overload method is not followed by any whitespace. + internal static string? @SA1007Description => GetResourceString("SA1007Description"); + /// Operator keyword should be followed by a space + internal static string? @SA1007MessageFormat => GetResourceString("SA1007MessageFormat"); + /// Operator keyword should be followed by space + internal static string? @SA1007Title => GetResourceString("SA1007Title"); + /// Fix spacing + internal static string? @SA1008CodeFix => GetResourceString("SA1008CodeFix"); + /// An opening parenthesis within a C# statement is not spaced correctly. + internal static string? @SA1008Description => GetResourceString("SA1008Description"); + /// Opening parenthesis should not be followed by a space. + internal static string? @SA1008MessageNotFollowed => GetResourceString("SA1008MessageNotFollowed"); + /// Opening parenthesis should not be preceded by a space. + internal static string? @SA1008MessageNotPreceded => GetResourceString("SA1008MessageNotPreceded"); + /// Opening parenthesis should be preceded by a space. + internal static string? @SA1008MessagePreceded => GetResourceString("SA1008MessagePreceded"); + /// Opening parenthesis should be spaced correctly + internal static string? @SA1008Title => GetResourceString("SA1008Title"); + /// A closing parenthesis within a C# statement is not spaced correctly. + internal static string? @SA1009Description => GetResourceString("SA1009Description"); + /// Closing parenthesis should be followed by a space + internal static string? @SA1009MessageFollowed => GetResourceString("SA1009MessageFollowed"); + /// Closing parenthesis should not be followed by a space + internal static string? @SA1009MessageNotFollowed => GetResourceString("SA1009MessageNotFollowed"); + /// Closing parenthesis should not be preceded by a space + internal static string? @SA1009MessageNotPreceded => GetResourceString("SA1009MessageNotPreceded"); + /// Closing parenthesis should be spaced correctly + internal static string? @SA1009Title => GetResourceString("SA1009Title"); + /// An opening square bracket within a C# statement is not spaced correctly. + internal static string? @SA1010Description => GetResourceString("SA1010Description"); + /// Opening square brackets should not be followed by a space + internal static string? @SA1010MessageNotFollowed => GetResourceString("SA1010MessageNotFollowed"); + /// Opening square brackets should not be preceded by a space + internal static string? @SA1010MessageNotPreceded => GetResourceString("SA1010MessageNotPreceded"); + /// Opening square brackets should be spaced correctly + internal static string? @SA1010Title => GetResourceString("SA1010Title"); + /// A closing square bracket within a C# statement is not spaced correctly. + internal static string? @SA1011Description => GetResourceString("SA1011Description"); + /// Closing square bracket should{0} be {1} by a space + internal static string? @SA1011MessageFormat => GetResourceString("SA1011MessageFormat"); + /// Closing square brackets should be spaced correctly + internal static string? @SA1011Title => GetResourceString("SA1011Title"); + /// An opening brace within a C# element is not spaced correctly. + internal static string? @SA1012Description => GetResourceString("SA1012Description"); + /// Opening brace should{0} be {1} by a space + internal static string? @SA1012MessageFormat => GetResourceString("SA1012MessageFormat"); + /// Opening braces should be spaced correctly + internal static string? @SA1012Title => GetResourceString("SA1012Title"); + /// A closing brace within a C# element is not spaced correctly. + internal static string? @SA1013Description => GetResourceString("SA1013Description"); + /// Closing brace should{0} be {1} by a space + internal static string? @SA1013MessageFormat => GetResourceString("SA1013MessageFormat"); + /// Closing braces should be spaced correctly + internal static string? @SA1013Title => GetResourceString("SA1013Title"); + /// An opening generic bracket within a C# element is not spaced correctly. + internal static string? @SA1014Description => GetResourceString("SA1014Description"); + /// Opening generic brackets should not be {0} by a space + internal static string? @SA1014MessageFormat => GetResourceString("SA1014MessageFormat"); + /// Opening generic brackets should be spaced correctly + internal static string? @SA1014Title => GetResourceString("SA1014Title"); + /// A closing generic bracket within a C# element is not spaced correctly. + internal static string? @SA1015Description => GetResourceString("SA1015Description"); + /// Closing generic bracket should be followed by a space + internal static string? @SA1015MessageFollowed => GetResourceString("SA1015MessageFollowed"); + /// Closing generic bracket should not be followed by a space + internal static string? @SA1015MessageNotFollowed => GetResourceString("SA1015MessageNotFollowed"); + /// Closing generic bracket should not be preceded by a space + internal static string? @SA1015MessageNotPreceded => GetResourceString("SA1015MessageNotPreceded"); + /// Closing generic brackets should be spaced correctly + internal static string? @SA1015Title => GetResourceString("SA1015Title"); + /// An opening attribute bracket within a C# element is not spaced correctly. + internal static string? @SA1016Description => GetResourceString("SA1016Description"); + /// Opening attribute brackets should not be followed by a space + internal static string? @SA1016MessageFormat => GetResourceString("SA1016MessageFormat"); + /// Opening attribute brackets should be spaced correctly + internal static string? @SA1016Title => GetResourceString("SA1016Title"); + /// A closing attribute bracket within a C# element is not spaced correctly. + internal static string? @SA1017Description => GetResourceString("SA1017Description"); + /// Closing attribute brackets should not be preceded by a space + internal static string? @SA1017MessageFormat => GetResourceString("SA1017MessageFormat"); + /// Closing attribute brackets should be spaced correctly + internal static string? @SA1017Title => GetResourceString("SA1017Title"); + /// Fix spacing + internal static string? @SA1018CodeFix => GetResourceString("SA1018CodeFix"); + /// A nullable type symbol within a C# element is not spaced correctly. + internal static string? @SA1018Description => GetResourceString("SA1018Description"); + /// Nullable type symbol should not be preceded by a space + internal static string? @SA1018MessageFormat => GetResourceString("SA1018MessageFormat"); + /// Nullable type symbols should be spaced correctly + internal static string? @SA1018Title => GetResourceString("SA1018Title"); + /// The spacing around a member access symbol is incorrect, within a C# code file. + internal static string? @SA1019Description => GetResourceString("SA1019Description"); + /// Member access symbol '{0}' should not be followed by a space + internal static string? @SA1019MessageNotFollowed => GetResourceString("SA1019MessageNotFollowed"); + /// Member access symbol '{0}' should not be preceded by a space + internal static string? @SA1019MessageNotPreceded => GetResourceString("SA1019MessageNotPreceded"); + /// Member access symbols should be spaced correctly + internal static string? @SA1019Title => GetResourceString("SA1019Title"); + /// An increment or decrement symbol within a C# element is not spaced correctly. + internal static string? @SA1020Description => GetResourceString("SA1020Description"); + /// {0} symbol '{1}' should not be {2} by a space + internal static string? @SA1020MessageFormat => GetResourceString("SA1020MessageFormat"); + /// Increment decrement symbols should be spaced correctly + internal static string? @SA1020Title => GetResourceString("SA1020Title"); + /// A negative sign within a C# element is not spaced correctly. + internal static string? @SA1021Description => GetResourceString("SA1021Description"); + /// Negative sign should{0} be {1} by a space + internal static string? @SA1021MessageFormat => GetResourceString("SA1021MessageFormat"); + /// Negative signs should be spaced correctly + internal static string? @SA1021Title => GetResourceString("SA1021Title"); + /// A positive sign within a C# element is not spaced correctly. + internal static string? @SA1022Description => GetResourceString("SA1022Description"); + /// Positive sign should{0} be {1} by a space + internal static string? @SA1022MessageFormat => GetResourceString("SA1022MessageFormat"); + /// Positive signs should be spaced correctly + internal static string? @SA1022Title => GetResourceString("SA1022Title"); + /// A dereference symbol or an access-of symbol within a C# element is not spaced correctly. + internal static string? @SA1023Description => GetResourceString("SA1023Description"); + /// Dereference symbol '*' should be followed by a space + internal static string? @SA1023MessageFollowed => GetResourceString("SA1023MessageFollowed"); + /// Dereference symbol '*' should not appear at the beginning of a line + internal static string? @SA1023MessageNotAtBeginningOfLine => GetResourceString("SA1023MessageNotAtBeginningOfLine"); + /// Dereference symbol '*' should not appear at the end of a line + internal static string? @SA1023MessageNotAtEndOfLine => GetResourceString("SA1023MessageNotAtEndOfLine"); + /// Dereference symbol '*' should not be followed by a space + internal static string? @SA1023MessageNotFollowed => GetResourceString("SA1023MessageNotFollowed"); + /// Dereference symbol '*' should not be preceded by a space + internal static string? @SA1023MessageNotPreceded => GetResourceString("SA1023MessageNotPreceded"); + /// Dereference and access of symbols should be spaced correctly + internal static string? @SA1023Title => GetResourceString("SA1023Title"); + /// A colon within a C# element is not spaced correctly. + internal static string? @SA1024Description => GetResourceString("SA1024Description"); + /// Colon should be followed by a space + internal static string? @SA1024MessageFollowed => GetResourceString("SA1024MessageFollowed"); + /// Colon should not be preceded by a space + internal static string? @SA1024MessageNotPreceded => GetResourceString("SA1024MessageNotPreceded"); + /// Colon should be preceded by a space + internal static string? @SA1024MessagePreceded => GetResourceString("SA1024MessagePreceded"); + /// Colons Should Be Spaced Correctly + internal static string? @SA1024Title => GetResourceString("SA1024Title"); + /// Fix spacing + internal static string? @SA1025CodeFix => GetResourceString("SA1025CodeFix"); + /// The code contains multiple whitespace characters in a row. + internal static string? @SA1025Description => GetResourceString("SA1025Description"); + /// Code should not contain multiple whitespace characters in a row + internal static string? @SA1025MessageFormat => GetResourceString("SA1025MessageFormat"); + /// Code should not contain multiple whitespace in a row + internal static string? @SA1025Title => GetResourceString("SA1025Title"); + /// An implicitly typed array allocation within a C# code file is not spaced correctly. + internal static string? @SA1026Description => GetResourceString("SA1026Description"); + /// The keyword '{0}' should not be followed by a space or a blank line + internal static string? @SA1026MessageFormat => GetResourceString("SA1026MessageFormat"); + /// Code should not contain space after new or stackalloc keyword in implicitly typed array allocation + internal static string? @SA1026Title => GetResourceString("SA1026Title"); + /// Replace tabs with spaces + internal static string? @SA1027CodeFix => GetResourceString("SA1027CodeFix"); + /// The code contains a tab or space character which is not consistent with the current project settings. + internal static string? @SA1027Description => GetResourceString("SA1027Description"); + /// Tabs and spaces should be used correctly + internal static string? @SA1027MessageFormat => GetResourceString("SA1027MessageFormat"); + /// Use tabs correctly + internal static string? @SA1027Title => GetResourceString("SA1027Title"); + /// Remove trailing whitespace + internal static string? @SA1028CodeFix => GetResourceString("SA1028CodeFix"); + /// There should not be any whitespace at the end of a line of code. + internal static string? @SA1028Description => GetResourceString("SA1028Description"); + /// Code should not contain trailing whitespace + internal static string? @SA1028MessageFormat => GetResourceString("SA1028MessageFormat"); + /// Code should not contain trailing whitespace + internal static string? @SA1028Title => GetResourceString("SA1028Title"); + /// Fix spacing + internal static string? @TokenSpacingCodeFix => GetResourceString("TokenSpacingCodeFix"); + + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.SpecialRules.SpecialResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.SpecialRules.SpecialResources.Designer.cs new file mode 100644 index 000000000..fc2e8569a --- /dev/null +++ b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.SpecialRules.SpecialResources.Designer.cs @@ -0,0 +1,32 @@ +// + +#nullable enable +using System.Reflection; + + +namespace StyleCop.Analyzers.SpecialRules +{ + internal static partial class SpecialResources + { + private static global::System.Resources.ResourceManager? s_resourceManager; + internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(SpecialResources))); + internal static global::System.Globalization.CultureInfo? Culture { get; set; } + [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + internal static string? GetResourceString(string resourceKey, string? defaultValue = null) => ResourceManager.GetString(resourceKey, Culture) ?? defaultValue; + /// XML comment analysis can only be performed when the project is configured to parse documentation comments. To enable this functionality, update the project to produce an XML documentation file as part of the build. + internal static string? @SA0001Description => GetResourceString("SA0001Description"); + /// XML comment analysis is disabled due to project configuration + internal static string? @SA0001MessageFormat => GetResourceString("SA0001MessageFormat"); + /// XML comment analysis disabled + internal static string? @SA0001Title => GetResourceString("SA0001Title"); + /// Various errors in the stylecop.json file can prevent the file from being loaded by the analyzers. In this case, the default settings are used instead. + /// + /// {0} + internal static string? @SA0002Description => GetResourceString("SA0002Description"); + /// The stylecop.json settings file could not be loaded + internal static string? @SA0002MessageFormat => GetResourceString("SA0002MessageFormat"); + /// Invalid settings file + internal static string? @SA0002Title => GetResourceString("SA0002Title"); + + } +} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/MaintainabilityRules/MaintainabilityResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/MaintainabilityRules/MaintainabilityResources.Designer.cs deleted file mode 100644 index 20e2fa00f..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers/MaintainabilityRules/MaintainabilityResources.Designer.cs +++ /dev/null @@ -1,568 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace StyleCop.Analyzers.MaintainabilityRules { - using System; - using System.Reflection; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class MaintainabilityResources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal MaintainabilityResources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("StyleCop.Analyzers.MaintainabilityRules.MaintainabilityResources", typeof(MaintainabilityResources).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Remove parentheses. - /// - internal static string SA1119CodeFix { - get { - return ResourceManager.GetString("SA1119CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A C# statement contains parenthesis which are unnecessary and should be removed.. - /// - internal static string SA1119Description { - get { - return ResourceManager.GetString("SA1119Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Statement should not use unnecessary parenthesis. - /// - internal static string SA1119MessageFormat { - get { - return ResourceManager.GetString("SA1119MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Statement should not use unnecessary parenthesis. - /// - internal static string SA1119Title { - get { - return ResourceManager.GetString("SA1119Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Declare accessibility. - /// - internal static string SA1400CodeFix { - get { - return ResourceManager.GetString("SA1400CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The access modifier for a C# element has not been explicitly defined.. - /// - internal static string SA1400Description { - get { - return ResourceManager.GetString("SA1400Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Element '{0}' should declare an access modifier. - /// - internal static string SA1400MessageFormat { - get { - return ResourceManager.GetString("SA1400MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Access modifier should be declared. - /// - internal static string SA1400Title { - get { - return ResourceManager.GetString("SA1400Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A field within a C# class has an access modifier other than private.. - /// - internal static string SA1401Description { - get { - return ResourceManager.GetString("SA1401Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Field should be private. - /// - internal static string SA1401MessageFormat { - get { - return ResourceManager.GetString("SA1401MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Fields should be private. - /// - internal static string SA1401Title { - get { - return ResourceManager.GetString("SA1401Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Move type to new file. - /// - internal static string SA1402CodeFix { - get { - return ResourceManager.GetString("SA1402CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A C# code file contains more than one unique type.. - /// - internal static string SA1402Description { - get { - return ResourceManager.GetString("SA1402Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to File may only contain a single type. - /// - internal static string SA1402MessageFormat { - get { - return ResourceManager.GetString("SA1402MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to File may only contain a single type. - /// - internal static string SA1402Title { - get { - return ResourceManager.GetString("SA1402Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A C# code file contains more than one namespace.. - /// - internal static string SA1403Description { - get { - return ResourceManager.GetString("SA1403Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to File may only contain a single namespace. - /// - internal static string SA1403MessageFormat { - get { - return ResourceManager.GetString("SA1403MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to File may only contain a single namespace. - /// - internal static string SA1403Title { - get { - return ResourceManager.GetString("SA1403Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Fix justification. - /// - internal static string SA1404CodeFix { - get { - return ResourceManager.GetString("SA1404CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A Code Analysis SuppressMessage attribute does not include a justification.. - /// - internal static string SA1404Description { - get { - return ResourceManager.GetString("SA1404Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Code analysis suppression should have justification. - /// - internal static string SA1404MessageFormat { - get { - return ResourceManager.GetString("SA1404MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Code analysis suppression should have justification. - /// - internal static string SA1404Title { - get { - return ResourceManager.GetString("SA1404Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A call to Debug.Assert in C# code does not include a descriptive message.. - /// - internal static string SA1405Description { - get { - return ResourceManager.GetString("SA1405Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Debug.Assert should provide message text. - /// - internal static string SA1405MessageFormat { - get { - return ResourceManager.GetString("SA1405MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Debug.Assert should provide message text. - /// - internal static string SA1405Title { - get { - return ResourceManager.GetString("SA1405Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A call to Debug.Fail in C# code does not include a descriptive message.. - /// - internal static string SA1406Description { - get { - return ResourceManager.GetString("SA1406Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Debug.Fail should provide message text. - /// - internal static string SA1406MessageFormat { - get { - return ResourceManager.GetString("SA1406MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Debug.Fail should provide message text. - /// - internal static string SA1406Title { - get { - return ResourceManager.GetString("SA1406Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A C# statement contains a complex arithmetic expression which omits parenthesis around operators.. - /// - internal static string SA1407Description { - get { - return ResourceManager.GetString("SA1407Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Arithmetic expressions should declare precedence. - /// - internal static string SA1407MessageFormat { - get { - return ResourceManager.GetString("SA1407MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Add parentheses. - /// - internal static string SA1407SA1408CodeFix { - get { - return ResourceManager.GetString("SA1407SA1408CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Arithmetic expressions should declare precedence. - /// - internal static string SA1407Title { - get { - return ResourceManager.GetString("SA1407Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A C# statement contains a complex conditional expression which omits parenthesis around operators.. - /// - internal static string SA1408Description { - get { - return ResourceManager.GetString("SA1408Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Conditional expressions should declare precedence. - /// - internal static string SA1408MessageFormat { - get { - return ResourceManager.GetString("SA1408MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Conditional expressions should declare precedence. - /// - internal static string SA1408Title { - get { - return ResourceManager.GetString("SA1408Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A C# file contains code which is unnecessary and can be removed without changing the overall logic of the code.. - /// - internal static string SA1409Description { - get { - return ResourceManager.GetString("SA1409Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to TODO: Message format. - /// - internal static string SA1409MessageFormat { - get { - return ResourceManager.GetString("SA1409MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remove unnecessary code. - /// - internal static string SA1409Title { - get { - return ResourceManager.GetString("SA1409Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A call to a C# anonymous method does not contain any method parameters, yet the statement still includes parenthesis.. - /// - internal static string SA1410Description { - get { - return ResourceManager.GetString("SA1410Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remove delegate parenthesis when possible. - /// - internal static string SA1410MessageFormat { - get { - return ResourceManager.GetString("SA1410MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remove parentheses. - /// - internal static string SA1410SA1411CodeFix { - get { - return ResourceManager.GetString("SA1410SA1411CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remove delegate parenthesis when possible. - /// - internal static string SA1410Title { - get { - return ResourceManager.GetString("SA1410Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to TODO.. - /// - internal static string SA1411Description { - get { - return ResourceManager.GetString("SA1411Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Attribute constructor should not use unnecessary parenthesis. - /// - internal static string SA1411MessageFormat { - get { - return ResourceManager.GetString("SA1411MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Attribute constructor should not use unnecessary parenthesis. - /// - internal static string SA1411Title { - get { - return ResourceManager.GetString("SA1411Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Change encoding from '{0}' to UTF-8 with byte order mark. - /// - internal static string SA1412CodeFix { - get { - return ResourceManager.GetString("SA1412CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Source files should be saved using the UTF-8 encoding with a byte order mark.. - /// - internal static string SA1412Description { - get { - return ResourceManager.GetString("SA1412Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Store files as UTF-8 with byte order mark. - /// - internal static string SA1412MessageFormat { - get { - return ResourceManager.GetString("SA1412MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Store files as UTF-8 with byte order mark. - /// - internal static string SA1412Title { - get { - return ResourceManager.GetString("SA1412Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Add trailing comma. - /// - internal static string SA1413CodeFix { - get { - return ResourceManager.GetString("SA1413CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A multi-line initializer in a C# code file should use a comma on the last line.. - /// - internal static string SA1413Description { - get { - return ResourceManager.GetString("SA1413Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use trailing comma in multi-line initializers. - /// - internal static string SA1413MessageFormat { - get { - return ResourceManager.GetString("SA1413MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use trailing comma in multi-line initializers. - /// - internal static string SA1413Title { - get { - return ResourceManager.GetString("SA1413Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Tuple types appearing in member declarations should have explicitly named tuple elements.. - /// - internal static string SA1414Description { - get { - return ResourceManager.GetString("SA1414Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Tuple types in signatures should have element names. - /// - internal static string SA1414MessageFormat { - get { - return ResourceManager.GetString("SA1414MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Tuple types in signatures should have element names. - /// - internal static string SA1414Title { - get { - return ResourceManager.GetString("SA1414Title", resourceCulture); - } - } - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/NamingRules/NamingResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/NamingRules/NamingResources.Designer.cs deleted file mode 100644 index 869edd879..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers/NamingRules/NamingResources.Designer.cs +++ /dev/null @@ -1,586 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace StyleCop.Analyzers.NamingRules { - using System; - using System.Reflection; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class NamingResources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal NamingResources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("StyleCop.Analyzers.NamingRules.NamingResources", typeof(NamingResources).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Rename To '{0}'. - /// - internal static string RenameToCodeFix { - get { - return ResourceManager.GetString("RenameToCodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The name of a C# element does not begin with an upper-case letter.. - /// - internal static string SA1300Description { - get { - return ResourceManager.GetString("SA1300Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Element '{0}' should begin with an uppercase letter. - /// - internal static string SA1300MessageFormat { - get { - return ResourceManager.GetString("SA1300MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Element should begin with upper-case letter. - /// - internal static string SA1300Title { - get { - return ResourceManager.GetString("SA1300Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to There are currently no situations in which this rule will fire.. - /// - internal static string SA1301Description { - get { - return ResourceManager.GetString("SA1301Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Element should begin with lower-case letter. - /// - internal static string SA1301MessageFormat { - get { - return ResourceManager.GetString("SA1301MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Element should begin with lower-case letter. - /// - internal static string SA1301Title { - get { - return ResourceManager.GetString("SA1301Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Prefix interface name with 'I'. - /// - internal static string SA1302CodeFix { - get { - return ResourceManager.GetString("SA1302CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The name of a C# interface does not begin with the capital letter I.. - /// - internal static string SA1302Description { - get { - return ResourceManager.GetString("SA1302Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Interface names should begin with I. - /// - internal static string SA1302MessageFormat { - get { - return ResourceManager.GetString("SA1302MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Interface names should begin with I. - /// - internal static string SA1302Title { - get { - return ResourceManager.GetString("SA1302Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The name of a constant C# field should begin with an upper-case letter.. - /// - internal static string SA1303Description { - get { - return ResourceManager.GetString("SA1303Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Const field names should begin with upper-case letter. - /// - internal static string SA1303MessageFormat { - get { - return ResourceManager.GetString("SA1303MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Const field names should begin with upper-case letter. - /// - internal static string SA1303Title { - get { - return ResourceManager.GetString("SA1303Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The name of a non-private readonly C# field should being with an upper-case letter.. - /// - internal static string SA1304Description { - get { - return ResourceManager.GetString("SA1304Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Non-private readonly fields should begin with upper-case letter. - /// - internal static string SA1304MessageFormat { - get { - return ResourceManager.GetString("SA1304MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Non-private readonly fields should begin with upper-case letter. - /// - internal static string SA1304Title { - get { - return ResourceManager.GetString("SA1304Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The name of a field or variable in C# uses Hungarian notation.. - /// - internal static string SA1305Description { - get { - return ResourceManager.GetString("SA1305Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {0} '{1}' should not use Hungarian notation. - /// - internal static string SA1305MessageFormat { - get { - return ResourceManager.GetString("SA1305MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Field names should not use Hungarian notation. - /// - internal static string SA1305Title { - get { - return ResourceManager.GetString("SA1305Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The name of a field in C# does not begin with a lower-case letter.. - /// - internal static string SA1306Description { - get { - return ResourceManager.GetString("SA1306Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Field '{0}' should begin with lower-case letter. - /// - internal static string SA1306MessageFormat { - get { - return ResourceManager.GetString("SA1306MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Field names should begin with lower-case letter. - /// - internal static string SA1306Title { - get { - return ResourceManager.GetString("SA1306Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The name of a internal or internal field in C# does not begin with an upper-case letter.. - /// - internal static string SA1307Description { - get { - return ResourceManager.GetString("SA1307Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Field '{0}' should begin with upper-case letter. - /// - internal static string SA1307MessageFormat { - get { - return ResourceManager.GetString("SA1307MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Accessible fields should begin with upper-case letter. - /// - internal static string SA1307Title { - get { - return ResourceManager.GetString("SA1307Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A field name in C# is prefixed with 'm_', 's_', or 't_'.. - /// - internal static string SA1308Description { - get { - return ResourceManager.GetString("SA1308Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Field '{0}' should not begin with the prefix '{1}'. - /// - internal static string SA1308MessageFormat { - get { - return ResourceManager.GetString("SA1308MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Variable names should not be prefixed. - /// - internal static string SA1308Title { - get { - return ResourceManager.GetString("SA1308Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A field name in C# begins with an underscore.. - /// - internal static string SA1309Description { - get { - return ResourceManager.GetString("SA1309Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Field '{0}' should not begin with an underscore. - /// - internal static string SA1309MessageFormat { - get { - return ResourceManager.GetString("SA1309MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Field names should not begin with underscore. - /// - internal static string SA1309Title { - get { - return ResourceManager.GetString("SA1309Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A field name in C# contains an underscore.. - /// - internal static string SA1310Description { - get { - return ResourceManager.GetString("SA1310Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Field '{0}' should not contain an underscore. - /// - internal static string SA1310MessageFormat { - get { - return ResourceManager.GetString("SA1310MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Field names should not contain underscore. - /// - internal static string SA1310Title { - get { - return ResourceManager.GetString("SA1310Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The name of a static readonly field does not begin with an upper-case letter.. - /// - internal static string SA1311Description { - get { - return ResourceManager.GetString("SA1311Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Static readonly fields should begin with upper-case letter. - /// - internal static string SA1311MessageFormat { - get { - return ResourceManager.GetString("SA1311MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Static readonly fields should begin with upper-case letter. - /// - internal static string SA1311Title { - get { - return ResourceManager.GetString("SA1311Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The name of a variable in C# does not begin with a lower-case letter.. - /// - internal static string SA1312Description { - get { - return ResourceManager.GetString("SA1312Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Variable '{0}' should begin with lower-case letter. - /// - internal static string SA1312MessageFormat { - get { - return ResourceManager.GetString("SA1312MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Variable names should begin with lower-case letter. - /// - internal static string SA1312Title { - get { - return ResourceManager.GetString("SA1312Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The name of a parameter in C# does not begin with a lower-case letter.. - /// - internal static string SA1313Description { - get { - return ResourceManager.GetString("SA1313Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Parameter '{0}' should begin with lower-case letter. - /// - internal static string SA1313MessageFormat { - get { - return ResourceManager.GetString("SA1313MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Parameter names should begin with lower-case letter. - /// - internal static string SA1313Title { - get { - return ResourceManager.GetString("SA1313Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Prefix type parameter name with 'T'. - /// - internal static string SA1314CodeFix { - get { - return ResourceManager.GetString("SA1314CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The name of a C# type parameter does not begin with the capital letter T.. - /// - internal static string SA1314Description { - get { - return ResourceManager.GetString("SA1314Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Type parameter names should begin with T. - /// - internal static string SA1314MessageFormat { - get { - return ResourceManager.GetString("SA1314MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Type parameter names should begin with T. - /// - internal static string SA1314Title { - get { - return ResourceManager.GetString("SA1314Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Correct tuple element name casing. - /// - internal static string SA1316CodeFix { - get { - return ResourceManager.GetString("SA1316CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Element names within a tuple type should have the correct casing.. - /// - internal static string SA1316Description { - get { - return ResourceManager.GetString("SA1316Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Tuple element names should use correct casing. - /// - internal static string SA1316MessageFormat { - get { - return ResourceManager.GetString("SA1316MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Tuple element names should use correct casing. - /// - internal static string SA1316Title { - get { - return ResourceManager.GetString("SA1316Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A field name in C# does not begin with an underscore.. - /// - internal static string SX1309Description { - get { - return ResourceManager.GetString("SX1309Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Field '{0}' should begin with an underscore. - /// - internal static string SX1309MessageFormat { - get { - return ResourceManager.GetString("SX1309MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A static field name in C# does not begin with an underscore.. - /// - internal static string SX1309SDescription { - get { - return ResourceManager.GetString("SX1309SDescription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Static field '{0}' should begin with an underscore. - /// - internal static string SX1309SMessageFormat { - get { - return ResourceManager.GetString("SX1309SMessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Static field names should begin with underscore. - /// - internal static string SX1309STitle { - get { - return ResourceManager.GetString("SX1309STitle", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Field names should begin with underscore. - /// - internal static string SX1309Title { - get { - return ResourceManager.GetString("SX1309Title", resourceCulture); - } - } - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/OrderingRules/OrderingResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/OrderingRules/OrderingResources.Designer.cs deleted file mode 100644 index 64c19d577..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers/OrderingRules/OrderingResources.Designer.cs +++ /dev/null @@ -1,595 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace StyleCop.Analyzers.OrderingRules { - using System; - using System.Reflection; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class OrderingResources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal OrderingResources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("StyleCop.Analyzers.OrderingRules.OrderingResources", typeof(OrderingResources).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Fix element order. - /// - internal static string ElementOrderCodeFix { - get { - return ResourceManager.GetString("ElementOrderCodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Fix modifier order. - /// - internal static string ModifierOrderCodeFix { - get { - return ResourceManager.GetString("ModifierOrderCodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A C# using directive is placed outside of a namespace element.. - /// - internal static string SA1200DescriptionInside { - get { - return ResourceManager.GetString("SA1200DescriptionInside", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A C# using directive is placed inside of a namespace declaration.. - /// - internal static string SA1200DescriptionOutside { - get { - return ResourceManager.GetString("SA1200DescriptionOutside", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Using directive should appear within a namespace declaration. - /// - internal static string SA1200MessageFormatInside { - get { - return ResourceManager.GetString("SA1200MessageFormatInside", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Using directive should appear outside a namespace declaration. - /// - internal static string SA1200MessageFormatOutside { - get { - return ResourceManager.GetString("SA1200MessageFormatOutside", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Using directives should be placed correctly. - /// - internal static string SA1200Title { - get { - return ResourceManager.GetString("SA1200Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An element within a C# code file is out of order in relation to the other elements in the code.. - /// - internal static string SA1201Description { - get { - return ResourceManager.GetString("SA1201Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A {0} should not follow a {1}. - /// - internal static string SA1201MessageFormat { - get { - return ResourceManager.GetString("SA1201MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Elements should appear in the correct order. - /// - internal static string SA1201Title { - get { - return ResourceManager.GetString("SA1201Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An element within a C# code file is out of order in relation to other elements in the code.. - /// - internal static string SA1202Description { - get { - return ResourceManager.GetString("SA1202Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to '{0}' members should come before '{1}' members. - /// - internal static string SA1202MessageFormat { - get { - return ResourceManager.GetString("SA1202MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Elements should be ordered by access. - /// - internal static string SA1202Title { - get { - return ResourceManager.GetString("SA1202Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A constant field is placed beneath a non-constant field.. - /// - internal static string SA1203Description { - get { - return ResourceManager.GetString("SA1203Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Constant fields should appear before non-constant fields. - /// - internal static string SA1203MessageFormat { - get { - return ResourceManager.GetString("SA1203MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Constants should appear before fields. - /// - internal static string SA1203Title { - get { - return ResourceManager.GetString("SA1203Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A static element is positioned beneath an instance element.. - /// - internal static string SA1204Description { - get { - return ResourceManager.GetString("SA1204Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Static members should appear before non-static members. - /// - internal static string SA1204MessageFormat { - get { - return ResourceManager.GetString("SA1204MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Static elements should appear before instance elements. - /// - internal static string SA1204Title { - get { - return ResourceManager.GetString("SA1204Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Add access modifier. - /// - internal static string SA1205CodeFix { - get { - return ResourceManager.GetString("SA1205CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The partial element does not have an access modifier defined.. - /// - internal static string SA1205Description { - get { - return ResourceManager.GetString("SA1205Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Partial elements should declare an access modifier. - /// - internal static string SA1205MessageFormat { - get { - return ResourceManager.GetString("SA1205MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Partial elements should declare access. - /// - internal static string SA1205Title { - get { - return ResourceManager.GetString("SA1205Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The keywords within the declaration of an element do not follow a standard ordering scheme.. - /// - internal static string SA1206Description { - get { - return ResourceManager.GetString("SA1206Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The '{0}' modifier should appear before '{1}'. - /// - internal static string SA1206MessageFormat { - get { - return ResourceManager.GetString("SA1206MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Declaration keywords should follow order. - /// - internal static string SA1206Title { - get { - return ResourceManager.GetString("SA1206Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Place keyword 'protected' before keyword 'internal'. - /// - internal static string SA1207CodeFix { - get { - return ResourceManager.GetString("SA1207CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The keyword '{0}' is positioned after the keyword '{1}' within the declaration of a {0} {1} C# element.. - /// - internal static string SA1207Description { - get { - return ResourceManager.GetString("SA1207Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The keyword '{0}' should come before '{1}'. - /// - internal static string SA1207MessageFormat { - get { - return ResourceManager.GetString("SA1207MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Protected should come before internal. - /// - internal static string SA1207Title { - get { - return ResourceManager.GetString("SA1207Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A using directive which declares a member of the 'System' namespace appears after a using directive which declares a member of a different namespace, within a C# code file.. - /// - internal static string SA1208Description { - get { - return ResourceManager.GetString("SA1208Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Using directive for '{0}' should appear before directive for '{1}'. - /// - internal static string SA1208MessageFormat { - get { - return ResourceManager.GetString("SA1208MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to System using directives should be placed before other using directives. - /// - internal static string SA1208Title { - get { - return ResourceManager.GetString("SA1208Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A using-alias directive is positioned before a regular using directive.. - /// - internal static string SA1209Description { - get { - return ResourceManager.GetString("SA1209Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Using alias directives should be placed after all using namespace directives. - /// - internal static string SA1209MessageFormat { - get { - return ResourceManager.GetString("SA1209MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Using alias directives should be placed after other using directives. - /// - internal static string SA1209Title { - get { - return ResourceManager.GetString("SA1209Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The using directives within a C# code file are not sorted alphabetically by namespace.. - /// - internal static string SA1210Description { - get { - return ResourceManager.GetString("SA1210Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Using directives should be ordered alphabetically by the namespaces. - /// - internal static string SA1210MessageFormat { - get { - return ResourceManager.GetString("SA1210MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Using directives should be ordered alphabetically by namespace. - /// - internal static string SA1210Title { - get { - return ResourceManager.GetString("SA1210Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The using-alias directives within a C# code file are not sorted alphabetically by alias name.. - /// - internal static string SA1211Description { - get { - return ResourceManager.GetString("SA1211Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Using alias directive for '{0}' should appear before using alias directive for '{1}'. - /// - internal static string SA1211MessageFormat { - get { - return ResourceManager.GetString("SA1211MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Using alias directives should be ordered alphabetically by alias name. - /// - internal static string SA1211Title { - get { - return ResourceManager.GetString("SA1211Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A get accessor appears after a set accessor within a property or indexer.. - /// - internal static string SA1212Description { - get { - return ResourceManager.GetString("SA1212Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A get accessor appears after a set accessor within a property or indexer. - /// - internal static string SA1212MessageFormat { - get { - return ResourceManager.GetString("SA1212MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Property accessors should follow order. - /// - internal static string SA1212Title { - get { - return ResourceManager.GetString("SA1212Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Fix accessor order. - /// - internal static string SA1213CodeFix { - get { - return ResourceManager.GetString("SA1213CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An add accessor appears after a remove accessor within an event.. - /// - internal static string SA1213Description { - get { - return ResourceManager.GetString("SA1213Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Event accessors should follow order. - /// - internal static string SA1213MessageFormat { - get { - return ResourceManager.GetString("SA1213MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Event accessors should follow order. - /// - internal static string SA1213Title { - get { - return ResourceManager.GetString("SA1213Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A readonly field is positioned beneath a non-readonly field.. - /// - internal static string SA1214Description { - get { - return ResourceManager.GetString("SA1214Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Readonly fields should appear before non-readonly fields. - /// - internal static string SA1214MessageFormat { - get { - return ResourceManager.GetString("SA1214MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Readonly fields should appear before non-readonly fields. - /// - internal static string SA1214Title { - get { - return ResourceManager.GetString("SA1214Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A using static directive is positioned before a regular or after an alias using directive.. - /// - internal static string SA1216Description { - get { - return ResourceManager.GetString("SA1216Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Using static directives should be placed at the correct location. - /// - internal static string SA1216MessageFormat { - get { - return ResourceManager.GetString("SA1216MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Using static directives should be placed at the correct location. - /// - internal static string SA1216Title { - get { - return ResourceManager.GetString("SA1216Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to All using static directives should be ordered alphabetically.. - /// - internal static string SA1217Description { - get { - return ResourceManager.GetString("SA1217Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The using static directive for '{0}' should appear after the using static directive for '{1}'. - /// - internal static string SA1217MessageFormat { - get { - return ResourceManager.GetString("SA1217MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Using static directives should be ordered alphabetically. - /// - internal static string SA1217Title { - get { - return ResourceManager.GetString("SA1217Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Reorder using statements. - /// - internal static string UsingCodeFix { - get { - return ResourceManager.GetString("UsingCodeFix", resourceCulture); - } - } - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/ReadabilityRules/ReadabilityResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/ReadabilityRules/ReadabilityResources.Designer.cs deleted file mode 100644 index 03d750098..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers/ReadabilityRules/ReadabilityResources.Designer.cs +++ /dev/null @@ -1,1432 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace StyleCop.Analyzers.ReadabilityRules { - using System; - using System.Reflection; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class ReadabilityResources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal ReadabilityResources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("StyleCop.Analyzers.ReadabilityRules.ReadabilityResources", typeof(ReadabilityResources).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Fix indentation. - /// - internal static string IndentationCodeFix { - get { - return ResourceManager.GetString("IndentationCodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remove region. - /// - internal static string RemoveRegionCodeFix { - get { - return ResourceManager.GetString("RemoveRegionCodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Replace 'base.' with 'this.'. - /// - internal static string SA1100CodeFix { - get { - return ResourceManager.GetString("SA1100CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A call to a member from an inherited class begins with 'base.', and the local class does not contain an override or implementation of the member.. - /// - internal static string SA1100Description { - get { - return ResourceManager.GetString("SA1100Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Do not prefix calls with base unless local implementation exists. - /// - internal static string SA1100MessageFormat { - get { - return ResourceManager.GetString("SA1100MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Do not prefix calls with base unless local implementation exists. - /// - internal static string SA1100Title { - get { - return ResourceManager.GetString("SA1100Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Prefix reference with 'this.'. - /// - internal static string SA1101CodeFix { - get { - return ResourceManager.GetString("SA1101CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A call to an instance member of the local class or a base class is not prefixed with 'this.', within a C# code file.. - /// - internal static string SA1101Description { - get { - return ResourceManager.GetString("SA1101Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Prefix local calls with this. - /// - internal static string SA1101MessageFormat { - get { - return ResourceManager.GetString("SA1101MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Prefix local calls with this. - /// - internal static string SA1101Title { - get { - return ResourceManager.GetString("SA1101Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remove separating lines. - /// - internal static string SA1102CodeFix { - get { - return ResourceManager.GetString("SA1102CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A C# query clause does not begin on the same line as the previous clause, or on the next line.. - /// - internal static string SA1102Description { - get { - return ResourceManager.GetString("SA1102Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Query clause should follow previous clause.. - /// - internal static string SA1102MessageFormat { - get { - return ResourceManager.GetString("SA1102MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Query clause should follow previous clause. - /// - internal static string SA1102Title { - get { - return ResourceManager.GetString("SA1102Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Place on multiple lines. - /// - internal static string SA1103CodeFixMultipleLines { - get { - return ResourceManager.GetString("SA1103CodeFixMultipleLines", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Place on single line. - /// - internal static string SA1103CodeFixSingleLine { - get { - return ResourceManager.GetString("SA1103CodeFixSingleLine", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The clauses within a C# query expression are not all placed on the same line, and each clause is not placed on its own line.. - /// - internal static string SA1103Description { - get { - return ResourceManager.GetString("SA1103Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Query clauses should be on separate lines or all on one line. - /// - internal static string SA1103MessageFormat { - get { - return ResourceManager.GetString("SA1103MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Query clauses should be on separate lines or all on one line. - /// - internal static string SA1103Title { - get { - return ResourceManager.GetString("SA1103Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A clause within a C# query expression begins on the same line as the previous clause, when the previous clause spans across multiple lines.. - /// - internal static string SA1104Description { - get { - return ResourceManager.GetString("SA1104Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Query clause should begin on new line when previous clause spans multiple lines. - /// - internal static string SA1104MessageFormat { - get { - return ResourceManager.GetString("SA1104MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Insert new line. - /// - internal static string SA1104SA1105CodeFix { - get { - return ResourceManager.GetString("SA1104SA1105CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Query clause should begin on new line when previous clause spans multiple lines. - /// - internal static string SA1104Title { - get { - return ResourceManager.GetString("SA1104Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A clause within a C# query expression spans across multiple lines, and does not begin on its own line.. - /// - internal static string SA1105Description { - get { - return ResourceManager.GetString("SA1105Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Query clauses spanning multiple lines should begin on own line. - /// - internal static string SA1105MessageFormat { - get { - return ResourceManager.GetString("SA1105MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Query clauses spanning multiple lines should begin on own line. - /// - internal static string SA1105Title { - get { - return ResourceManager.GetString("SA1105Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remove empty statement. - /// - internal static string SA1106CodeFix { - get { - return ResourceManager.GetString("SA1106CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The C# code contains an extra semicolon.. - /// - internal static string SA1106Description { - get { - return ResourceManager.GetString("SA1106Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Code should not contain empty statements. - /// - internal static string SA1106MessageFormat { - get { - return ResourceManager.GetString("SA1106MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Code should not contain empty statements. - /// - internal static string SA1106Title { - get { - return ResourceManager.GetString("SA1106Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Enter new line. - /// - internal static string SA1107CodeFix { - get { - return ResourceManager.GetString("SA1107CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The C# code contains more than one statement on a single line.. - /// - internal static string SA1107Description { - get { - return ResourceManager.GetString("SA1107Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Code should not contain multiple statements on one line. - /// - internal static string SA1107MessageFormat { - get { - return ResourceManager.GetString("SA1107MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Code should not contain multiple statements on one line. - /// - internal static string SA1107Title { - get { - return ResourceManager.GetString("SA1107Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A C# statement contains a comment between the declaration of the statement and the opening brace of the statement.. - /// - internal static string SA1108Description { - get { - return ResourceManager.GetString("SA1108Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Block statements should not contain embedded comments. - /// - internal static string SA1108MessageFormat { - get { - return ResourceManager.GetString("SA1108MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Block statements should not contain embedded comments. - /// - internal static string SA1108Title { - get { - return ResourceManager.GetString("SA1108Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A C# statement contains a region tag between the declaration of the statement and the opening brace of the statement.. - /// - internal static string SA1109Description { - get { - return ResourceManager.GetString("SA1109Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to . - /// - internal static string SA1109MessageFormat { - get { - return ResourceManager.GetString("SA1109MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Block statements should not contain embedded regions. - /// - internal static string SA1109Title { - get { - return ResourceManager.GetString("SA1109Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The opening parenthesis or bracket is not placed on the same line as the method/indexer/attribute/array name.. - /// - internal static string SA1110Description { - get { - return ResourceManager.GetString("SA1110Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Opening parenthesis or bracket should be on declaration line. - /// - internal static string SA1110MessageFormat { - get { - return ResourceManager.GetString("SA1110MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Opening parenthesis or bracket should be on declaration line. - /// - internal static string SA1110Title { - get { - return ResourceManager.GetString("SA1110Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The closing parenthesis or bracket in a call to or declaration of a C# method/indexer/attribute/array/constructor/delegate is not placed on the same line as the last parameter.. - /// - internal static string SA1111Description { - get { - return ResourceManager.GetString("SA1111Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Closing parenthesis should be on line of last parameter. - /// - internal static string SA1111MessageFormat { - get { - return ResourceManager.GetString("SA1111MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Closing parenthesis should be on line of last parameter. - /// - internal static string SA1111Title { - get { - return ResourceManager.GetString("SA1111Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The closing parenthesis or bracket in a call to a C# method or indexer, or the declaration of a method or indexer, is not placed on the same line as the opening bracket when the element does not take any parameters.. - /// - internal static string SA1112Description { - get { - return ResourceManager.GetString("SA1112Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Closing parenthesis should be on line of opening parenthesis. - /// - internal static string SA1112MessageFormat { - get { - return ResourceManager.GetString("SA1112MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Closing parenthesis should be on line of opening parenthesis. - /// - internal static string SA1112Title { - get { - return ResourceManager.GetString("SA1112Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A comma between two parameters in a call to a C# method or indexer, or in the declaration of a method or indexer, is not placed on the same line as the previous parameter.. - /// - internal static string SA1113Description { - get { - return ResourceManager.GetString("SA1113Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Comma should be on the same line as previous parameter. - /// - internal static string SA1113MessageFormat { - get { - return ResourceManager.GetString("SA1113MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Comma should be on the same line as previous parameter. - /// - internal static string SA1113Title { - get { - return ResourceManager.GetString("SA1113Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The start of the parameter list for a method/constructor/indexer/array/operator call or declaration does not begin on the same line as the opening bracket, or on the line after the opening bracket.. - /// - internal static string SA1114Description { - get { - return ResourceManager.GetString("SA1114Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Parameter list should follow declaration. - /// - internal static string SA1114MessageFormat { - get { - return ResourceManager.GetString("SA1114MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Parameter list should follow declaration. - /// - internal static string SA1114Title { - get { - return ResourceManager.GetString("SA1114Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A parameter within a C# method or indexer call or declaration does not begin on the same line as the previous parameter, or on the next line.. - /// - internal static string SA1115Description { - get { - return ResourceManager.GetString("SA1115Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The parameter should begin on the line after the previous parameter. - /// - internal static string SA1115MessageFormat { - get { - return ResourceManager.GetString("SA1115MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Parameter should follow comma. - /// - internal static string SA1115Title { - get { - return ResourceManager.GetString("SA1115Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Move first argument to next line. - /// - internal static string SA1116CodeFix { - get { - return ResourceManager.GetString("SA1116CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The parameters to a C# method or indexer call or declaration span across multiple lines, but the first parameter does not start on the line after the opening bracket.. - /// - internal static string SA1116Description { - get { - return ResourceManager.GetString("SA1116Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The parameters should begin on the line after the declaration, whenever the parameter span across multiple lines. - /// - internal static string SA1116MessageFormat { - get { - return ResourceManager.GetString("SA1116MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Split parameters should start on line after declaration. - /// - internal static string SA1116Title { - get { - return ResourceManager.GetString("SA1116Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The parameters to a C# method or indexer call or declaration are not all on the same line or each on a separate line.. - /// - internal static string SA1117Description { - get { - return ResourceManager.GetString("SA1117Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The parameters should all be placed on the same line or each parameter should be placed on its own line. - /// - internal static string SA1117MessageFormat { - get { - return ResourceManager.GetString("SA1117MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Parameters should be on same line or separate lines. - /// - internal static string SA1117Title { - get { - return ResourceManager.GetString("SA1117Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A parameter to a C# method/indexer/attribute/array, other than the first parameter, spans across multiple lines. If the parameter is short, place the entire parameter on a single line. Otherwise, save the contents of the parameter in a temporary variable and pass the temporary variable as a parameter.. - /// - internal static string SA1118Description { - get { - return ResourceManager.GetString("SA1118Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The parameter spans multiple lines. - /// - internal static string SA1118MessageFormat { - get { - return ResourceManager.GetString("SA1118MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Parameter should not span multiple lines. - /// - internal static string SA1118Title { - get { - return ResourceManager.GetString("SA1118Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remove empty comment. - /// - internal static string SA1120CodeFix { - get { - return ResourceManager.GetString("SA1120CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The C# comment does not contain any comment text.. - /// - internal static string SA1120Description { - get { - return ResourceManager.GetString("SA1120Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Comments should contain text. - /// - internal static string SA1120MessageFormat { - get { - return ResourceManager.GetString("SA1120MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Comments should contain text. - /// - internal static string SA1120Title { - get { - return ResourceManager.GetString("SA1120Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Replace with built-in type. - /// - internal static string SA1121CodeFix { - get { - return ResourceManager.GetString("SA1121CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The code uses one of the basic C# types, but does not use the built-in alias for the type.. - /// - internal static string SA1121Description { - get { - return ResourceManager.GetString("SA1121Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use built-in type alias. - /// - internal static string SA1121MessageFormat { - get { - return ResourceManager.GetString("SA1121MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use built-in type alias. - /// - internal static string SA1121Title { - get { - return ResourceManager.GetString("SA1121Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Replace with string.Empty. - /// - internal static string SA1122CodeFix { - get { - return ResourceManager.GetString("SA1122CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The C# code includes an empty string, written as "".. - /// - internal static string SA1122Description { - get { - return ResourceManager.GetString("SA1122Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use string.Empty for empty strings. - /// - internal static string SA1122MessageFormat { - get { - return ResourceManager.GetString("SA1122MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use string.Empty for empty strings. - /// - internal static string SA1122Title { - get { - return ResourceManager.GetString("SA1122Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The C# code contains a region within the body of a code element.. - /// - internal static string SA1123Description { - get { - return ResourceManager.GetString("SA1123Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Region should not be located within a code element. - /// - internal static string SA1123MessageFormat { - get { - return ResourceManager.GetString("SA1123MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Do not place regions within elements. - /// - internal static string SA1123Title { - get { - return ResourceManager.GetString("SA1123Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The C# code contains a region.. - /// - internal static string SA1124Description { - get { - return ResourceManager.GetString("SA1124Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Do not use regions. - /// - internal static string SA1124MessageFormat { - get { - return ResourceManager.GetString("SA1124MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Do not use regions. - /// - internal static string SA1124Title { - get { - return ResourceManager.GetString("SA1124Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The Nullable<T> type has been defined not using the C# shorthand. For example, Nullable<DateTime> has been used instead of the preferred DateTime?. - /// - internal static string SA1125Description { - get { - return ResourceManager.GetString("SA1125Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use shorthand for nullable types. - /// - internal static string SA1125MessageFormat { - get { - return ResourceManager.GetString("SA1125MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use shorthand for nullable types. - /// - internal static string SA1125Title { - get { - return ResourceManager.GetString("SA1125Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A call to a member is not prefixed with the 'this.', 'base.', 'object.' or 'typename.' prefix to indicate the intended method call, within a C# code file.. - /// - internal static string SA1126Description { - get { - return ResourceManager.GetString("SA1126Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to . - /// - internal static string SA1126MessageFormat { - get { - return ResourceManager.GetString("SA1126MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Prefix calls correctly. - /// - internal static string SA1126Title { - get { - return ResourceManager.GetString("SA1126Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Place each type constraint on a new line. - /// - internal static string SA1127CodeFix { - get { - return ResourceManager.GetString("SA1127CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Each type constraint clause for a generic type parameter should be listed on a line of code by itself.. - /// - internal static string SA1127Description { - get { - return ResourceManager.GetString("SA1127Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Generic type constraints should be on their own line. - /// - internal static string SA1127MessageFormat { - get { - return ResourceManager.GetString("SA1127MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Generic type constraints should be on their own line. - /// - internal static string SA1127Title { - get { - return ResourceManager.GetString("SA1127Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Place constructor initializer on own line. - /// - internal static string SA1128CodeFix { - get { - return ResourceManager.GetString("SA1128CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A constructor initializer, including the colon character, should be on its own line.. - /// - internal static string SA1128Description { - get { - return ResourceManager.GetString("SA1128Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Put constructor initializers on their own line. - /// - internal static string SA1128MessageFormat { - get { - return ResourceManager.GetString("SA1128MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Put constructor initializers on their own line. - /// - internal static string SA1128Title { - get { - return ResourceManager.GetString("SA1128Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Replace with default(T). - /// - internal static string SA1129CodeFix { - get { - return ResourceManager.GetString("SA1129CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to When creating a new instance of a value type T, the syntax 'default(T)' is functionally equivalent to the syntax 'new T()'. To avoid confusion regarding the behavior of the resulting instance, the first form is preferred.. - /// - internal static string SA1129Description { - get { - return ResourceManager.GetString("SA1129Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Do not use default value type constructor. - /// - internal static string SA1129MessageFormat { - get { - return ResourceManager.GetString("SA1129MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Do not use default value type constructor. - /// - internal static string SA1129Title { - get { - return ResourceManager.GetString("SA1129Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Replace with lambda.. - /// - internal static string SA1130CodeFix { - get { - return ResourceManager.GetString("SA1130CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Lambda expressions are more succinct and easier to read than anonymous methods, so they should are preferred whenever the two are functionally equivalent.. - /// - internal static string SA1130Description { - get { - return ResourceManager.GetString("SA1130Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use lambda syntax. - /// - internal static string SA1130MessageFormat { - get { - return ResourceManager.GetString("SA1130MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use lambda syntax. - /// - internal static string SA1130Title { - get { - return ResourceManager.GetString("SA1130Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Swap operands. - /// - internal static string SA1131CodeFix { - get { - return ResourceManager.GetString("SA1131CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to When a comparison is made between a variable and a literal, the variable should be placed on the left-hand-side to maximize readability.. - /// - internal static string SA1131Description { - get { - return ResourceManager.GetString("SA1131Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Constant values should appear on the right-hand side of comparisons. - /// - internal static string SA1131MessageFormat { - get { - return ResourceManager.GetString("SA1131MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use readable conditions. - /// - internal static string SA1131Title { - get { - return ResourceManager.GetString("SA1131Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Place each field on a new line. - /// - internal static string SA1132CodeFix { - get { - return ResourceManager.GetString("SA1132CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Each field should be declared on its own line, in order to clearly see each field of a type and allow for proper documentation of the behavior of each field.. - /// - internal static string SA1132Description { - get { - return ResourceManager.GetString("SA1132Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Each field should be declared on its own line. - /// - internal static string SA1132MessageFormat { - get { - return ResourceManager.GetString("SA1132MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Do not combine fields. - /// - internal static string SA1132Title { - get { - return ResourceManager.GetString("SA1132Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Give each attribute its own square brackets. - /// - internal static string SA1133CodeFix { - get { - return ResourceManager.GetString("SA1133CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Each attribute usage should be placed in its own set of square brackets for maximum readability.. - /// - internal static string SA1133Description { - get { - return ResourceManager.GetString("SA1133Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Each attribute should be placed in its own set of square brackets. - /// - internal static string SA1133MessageFormat { - get { - return ResourceManager.GetString("SA1133MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Do not combine attributes. - /// - internal static string SA1133Title { - get { - return ResourceManager.GetString("SA1133Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Place attribute on own line.. - /// - internal static string SA1134CodeFix { - get { - return ResourceManager.GetString("SA1134CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Each attribute should be placed on its own line of code.. - /// - internal static string SA1134Description { - get { - return ResourceManager.GetString("SA1134Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Each attribute should be placed on its own line of code. - /// - internal static string SA1134MessageFormat { - get { - return ResourceManager.GetString("SA1134MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Attributes should not share line. - /// - internal static string SA1134Title { - get { - return ResourceManager.GetString("SA1134Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Qualify using directive. - /// - internal static string SA1135CodeFix { - get { - return ResourceManager.GetString("SA1135CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to All using directives should be qualified.. - /// - internal static string SA1135Description { - get { - return ResourceManager.GetString("SA1135Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Using directive for namespace '{0}' should be qualified. - /// - internal static string SA1135MessageFormatNamespace { - get { - return ResourceManager.GetString("SA1135MessageFormatNamespace", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Using directive for type '{0}' should be qualified. - /// - internal static string SA1135MessageFormatType { - get { - return ResourceManager.GetString("SA1135MessageFormatType", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Using directives should be qualified. - /// - internal static string SA1135Title { - get { - return ResourceManager.GetString("SA1135Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Place enum values own their own lines. - /// - internal static string SA1136CodeFix { - get { - return ResourceManager.GetString("SA1136CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Enum values should be placed on their own lines for maximum readability.. - /// - internal static string SA1136Description { - get { - return ResourceManager.GetString("SA1136Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Enum values should be on separate lines. - /// - internal static string SA1136MessageFormat { - get { - return ResourceManager.GetString("SA1136MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Enum values should be on separate lines. - /// - internal static string SA1136Title { - get { - return ResourceManager.GetString("SA1136Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Elements at the same level in the syntax tree should have the same indentation.. - /// - internal static string SA1137Description { - get { - return ResourceManager.GetString("SA1137Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Elements should have the same indentation. - /// - internal static string SA1137MessageFormat { - get { - return ResourceManager.GetString("SA1137MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Elements should have the same indentation. - /// - internal static string SA1137Title { - get { - return ResourceManager.GetString("SA1137Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use literal suffix notation instead of casting. - /// - internal static string SA1139CodeFix { - get { - return ResourceManager.GetString("SA1139CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use literal suffix notation instead of casting, in order to improve readability, avoid bugs related to illegal casts and ensure that optimal IL is produced.. - /// - internal static string SA1139Description { - get { - return ResourceManager.GetString("SA1139Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use literal suffix notation instead of casting. - /// - internal static string SA1139MessageFormat { - get { - return ResourceManager.GetString("SA1139MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use literal suffix notation instead of casting. - /// - internal static string SA1139Title { - get { - return ResourceManager.GetString("SA1139Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Replace with tuple syntax. - /// - internal static string SA1141CodeFix { - get { - return ResourceManager.GetString("SA1141CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use tuple syntax instead of the underlying ValueTuple implementation type.. - /// - internal static string SA1141Description { - get { - return ResourceManager.GetString("SA1141Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use tuple syntax. - /// - internal static string SA1141MessageFormat { - get { - return ResourceManager.GetString("SA1141MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use tuple syntax. - /// - internal static string SA1141Title { - get { - return ResourceManager.GetString("SA1141Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use tuple field name. - /// - internal static string SA1142CodeFix { - get { - return ResourceManager.GetString("SA1142CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A field of a tuple was referenced by its metadata name when a field name is available.. - /// - internal static string SA1142Description { - get { - return ResourceManager.GetString("SA1142Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Refer to tuple fields by name. - /// - internal static string SA1142MessageFormat { - get { - return ResourceManager.GetString("SA1142MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Refer to tuple fields by name. - /// - internal static string SA1142Title { - get { - return ResourceManager.GetString("SA1142Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remove 'this.' prefix. - /// - internal static string SX1101CodeFix { - get { - return ResourceManager.GetString("SX1101CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A call to an instance member of the local class or a base class is prefixed with `this.`.. - /// - internal static string SX1101Description { - get { - return ResourceManager.GetString("SX1101Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Do not prefix local calls with 'this.'. - /// - internal static string SX1101MessageFormat { - get { - return ResourceManager.GetString("SX1101MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Do not prefix local calls with 'this.'. - /// - internal static string SX1101Title { - get { - return ResourceManager.GetString("SX1101Title", resourceCulture); - } - } - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Settings/SettingsResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Settings/SettingsResources.Designer.cs deleted file mode 100644 index d75297373..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Settings/SettingsResources.Designer.cs +++ /dev/null @@ -1,73 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace StyleCop.Analyzers.Settings { - using System; - using System.Reflection; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class SettingsResources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal SettingsResources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("StyleCop.Analyzers.Settings.SettingsResources", typeof(SettingsResources).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Add StyleCop settings file to the project. - /// - internal static string SettingsFileCodeFix { - get { - return ResourceManager.GetString("SettingsFileCodeFix", resourceCulture); - } - } - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/SpacingRules/SpacingResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/SpacingRules/SpacingResources.Designer.cs deleted file mode 100644 index b615f1090..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers/SpacingRules/SpacingResources.Designer.cs +++ /dev/null @@ -1,1099 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace StyleCop.Analyzers.SpacingRules { - using System; - using System.Reflection; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class SpacingResources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal SpacingResources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("StyleCop.Analyzers.SpacingRules.SpacingResources", typeof(SpacingResources).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to The spacing around a C# keyword is incorrect.. - /// - internal static string SA1000Description { - get { - return ResourceManager.GetString("SA1000Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The keyword '{0}' should{1} be followed by a space. - /// - internal static string SA1000MessageFormat { - get { - return ResourceManager.GetString("SA1000MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Keywords should be spaced correctly. - /// - internal static string SA1000Title { - get { - return ResourceManager.GetString("SA1000Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The spacing around a comma is incorrect, within a C# code file.. - /// - internal static string SA1001Description { - get { - return ResourceManager.GetString("SA1001Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Commas should{0} be {1} by whitespace. - /// - internal static string SA1001MessageFormat { - get { - return ResourceManager.GetString("SA1001MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Commas should be spaced correctly. - /// - internal static string SA1001Title { - get { - return ResourceManager.GetString("SA1001Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The spacing around a semicolon is incorrect, within a C# code file.. - /// - internal static string SA1002Description { - get { - return ResourceManager.GetString("SA1002Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Semicolons should{0} be {1} by a space. - /// - internal static string SA1002MessageFormat { - get { - return ResourceManager.GetString("SA1002MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Semicolons should be spaced correctly. - /// - internal static string SA1002Title { - get { - return ResourceManager.GetString("SA1002Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Fix spacing. - /// - internal static string SA1003CodeFix { - get { - return ResourceManager.GetString("SA1003CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The spacing around an operator symbol is incorrect, within a C# code file.. - /// - internal static string SA1003Description { - get { - return ResourceManager.GetString("SA1003Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Operator '{0}' should be followed by whitespace.. - /// - internal static string SA1003MessageFormatFollowedByWhitespace { - get { - return ResourceManager.GetString("SA1003MessageFormatFollowedByWhitespace", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Operator '{0}' should not appear at the end of a line.. - /// - internal static string SA1003MessageFormatNotAtEndOfLine { - get { - return ResourceManager.GetString("SA1003MessageFormatNotAtEndOfLine", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Operator '{0}' should not be followed by a comment.. - /// - internal static string SA1003MessageFormatNotFollowedByComment { - get { - return ResourceManager.GetString("SA1003MessageFormatNotFollowedByComment", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Operator '{0}' should not be followed by whitespace.. - /// - internal static string SA1003MessageFormatNotFollowedByWhitespace { - get { - return ResourceManager.GetString("SA1003MessageFormatNotFollowedByWhitespace", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Operator '{0}' should not be preceded by whitespace.. - /// - internal static string SA1003MessageFormatNotPrecededByWhitespace { - get { - return ResourceManager.GetString("SA1003MessageFormatNotPrecededByWhitespace", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Operator '{0}' should be preceded by whitespace.. - /// - internal static string SA1003MessageFormatPrecededByWhitespace { - get { - return ResourceManager.GetString("SA1003MessageFormatPrecededByWhitespace", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Symbols should be spaced correctly. - /// - internal static string SA1003Title { - get { - return ResourceManager.GetString("SA1003Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Fix spacing. - /// - internal static string SA1004CodeFix { - get { - return ResourceManager.GetString("SA1004CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A line within a documentation header above a C# element does not begin with a single space.. - /// - internal static string SA1004Description { - get { - return ResourceManager.GetString("SA1004Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Documentation line should begin with a space. - /// - internal static string SA1004MessageFormat { - get { - return ResourceManager.GetString("SA1004MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Documentation lines should begin with single space. - /// - internal static string SA1004Title { - get { - return ResourceManager.GetString("SA1004Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Fix spacing. - /// - internal static string SA1005CodeFix { - get { - return ResourceManager.GetString("SA1005CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A single-line comment within a C# code file does not begin with a single space.. - /// - internal static string SA1005Description { - get { - return ResourceManager.GetString("SA1005Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Single line comment should begin with a space. - /// - internal static string SA1005MessageFormat { - get { - return ResourceManager.GetString("SA1005MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Single line comments should begin with single space. - /// - internal static string SA1005Title { - get { - return ResourceManager.GetString("SA1005Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A C# preprocessor-type keyword is preceded by space.. - /// - internal static string SA1006Description { - get { - return ResourceManager.GetString("SA1006Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Preprocessor keyword '{0}' should not be preceded by a space. - /// - internal static string SA1006MessageFormat { - get { - return ResourceManager.GetString("SA1006MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Preprocessor keywords should not be preceded by space. - /// - internal static string SA1006Title { - get { - return ResourceManager.GetString("SA1006Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The operator keyword within a C# operator overload method is not followed by any whitespace.. - /// - internal static string SA1007Description { - get { - return ResourceManager.GetString("SA1007Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Operator keyword should be followed by a space. - /// - internal static string SA1007MessageFormat { - get { - return ResourceManager.GetString("SA1007MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Operator keyword should be followed by space. - /// - internal static string SA1007Title { - get { - return ResourceManager.GetString("SA1007Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Fix spacing. - /// - internal static string SA1008CodeFix { - get { - return ResourceManager.GetString("SA1008CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An opening parenthesis within a C# statement is not spaced correctly.. - /// - internal static string SA1008Description { - get { - return ResourceManager.GetString("SA1008Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Opening parenthesis should not be followed by a space.. - /// - internal static string SA1008MessageNotFollowed { - get { - return ResourceManager.GetString("SA1008MessageNotFollowed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Opening parenthesis should not be preceded by a space.. - /// - internal static string SA1008MessageNotPreceded { - get { - return ResourceManager.GetString("SA1008MessageNotPreceded", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Opening parenthesis should be preceded by a space.. - /// - internal static string SA1008MessagePreceded { - get { - return ResourceManager.GetString("SA1008MessagePreceded", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Opening parenthesis should be spaced correctly. - /// - internal static string SA1008Title { - get { - return ResourceManager.GetString("SA1008Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A closing parenthesis within a C# statement is not spaced correctly.. - /// - internal static string SA1009Description { - get { - return ResourceManager.GetString("SA1009Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Closing parenthesis should be followed by a space. - /// - internal static string SA1009MessageFollowed { - get { - return ResourceManager.GetString("SA1009MessageFollowed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Closing parenthesis should not be followed by a space. - /// - internal static string SA1009MessageNotFollowed { - get { - return ResourceManager.GetString("SA1009MessageNotFollowed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Closing parenthesis should not be preceded by a space. - /// - internal static string SA1009MessageNotPreceded { - get { - return ResourceManager.GetString("SA1009MessageNotPreceded", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Closing parenthesis should be spaced correctly. - /// - internal static string SA1009Title { - get { - return ResourceManager.GetString("SA1009Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An opening square bracket within a C# statement is not spaced correctly.. - /// - internal static string SA1010Description { - get { - return ResourceManager.GetString("SA1010Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Opening square brackets should not be followed by a space. - /// - internal static string SA1010MessageNotFollowed { - get { - return ResourceManager.GetString("SA1010MessageNotFollowed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Opening square brackets should not be preceded by a space. - /// - internal static string SA1010MessageNotPreceded { - get { - return ResourceManager.GetString("SA1010MessageNotPreceded", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Opening square brackets should be spaced correctly. - /// - internal static string SA1010Title { - get { - return ResourceManager.GetString("SA1010Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A closing square bracket within a C# statement is not spaced correctly.. - /// - internal static string SA1011Description { - get { - return ResourceManager.GetString("SA1011Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Closing square bracket should{0} be {1} by a space. - /// - internal static string SA1011MessageFormat { - get { - return ResourceManager.GetString("SA1011MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Closing square brackets should be spaced correctly. - /// - internal static string SA1011Title { - get { - return ResourceManager.GetString("SA1011Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An opening brace within a C# element is not spaced correctly.. - /// - internal static string SA1012Description { - get { - return ResourceManager.GetString("SA1012Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Opening brace should{0} be {1} by a space. - /// - internal static string SA1012MessageFormat { - get { - return ResourceManager.GetString("SA1012MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Opening braces should be spaced correctly. - /// - internal static string SA1012Title { - get { - return ResourceManager.GetString("SA1012Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A closing brace within a C# element is not spaced correctly.. - /// - internal static string SA1013Description { - get { - return ResourceManager.GetString("SA1013Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Closing brace should{0} be {1} by a space. - /// - internal static string SA1013MessageFormat { - get { - return ResourceManager.GetString("SA1013MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Closing braces should be spaced correctly. - /// - internal static string SA1013Title { - get { - return ResourceManager.GetString("SA1013Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An opening generic bracket within a C# element is not spaced correctly.. - /// - internal static string SA1014Description { - get { - return ResourceManager.GetString("SA1014Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Opening generic brackets should not be {0} by a space. - /// - internal static string SA1014MessageFormat { - get { - return ResourceManager.GetString("SA1014MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Opening generic brackets should be spaced correctly. - /// - internal static string SA1014Title { - get { - return ResourceManager.GetString("SA1014Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A closing generic bracket within a C# element is not spaced correctly.. - /// - internal static string SA1015Description { - get { - return ResourceManager.GetString("SA1015Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Closing generic bracket should be followed by a space. - /// - internal static string SA1015MessageFollowed { - get { - return ResourceManager.GetString("SA1015MessageFollowed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Closing generic bracket should not be followed by a space. - /// - internal static string SA1015MessageNotFollowed { - get { - return ResourceManager.GetString("SA1015MessageNotFollowed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Closing generic bracket should not be preceded by a space. - /// - internal static string SA1015MessageNotPreceded { - get { - return ResourceManager.GetString("SA1015MessageNotPreceded", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Closing generic brackets should be spaced correctly. - /// - internal static string SA1015Title { - get { - return ResourceManager.GetString("SA1015Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An opening attribute bracket within a C# element is not spaced correctly.. - /// - internal static string SA1016Description { - get { - return ResourceManager.GetString("SA1016Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Opening attribute brackets should not be followed by a space. - /// - internal static string SA1016MessageFormat { - get { - return ResourceManager.GetString("SA1016MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Opening attribute brackets should be spaced correctly. - /// - internal static string SA1016Title { - get { - return ResourceManager.GetString("SA1016Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A closing attribute bracket within a C# element is not spaced correctly.. - /// - internal static string SA1017Description { - get { - return ResourceManager.GetString("SA1017Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Closing attribute brackets should not be preceded by a space. - /// - internal static string SA1017MessageFormat { - get { - return ResourceManager.GetString("SA1017MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Closing attribute brackets should be spaced correctly. - /// - internal static string SA1017Title { - get { - return ResourceManager.GetString("SA1017Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Fix spacing. - /// - internal static string SA1018CodeFix { - get { - return ResourceManager.GetString("SA1018CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A nullable type symbol within a C# element is not spaced correctly.. - /// - internal static string SA1018Description { - get { - return ResourceManager.GetString("SA1018Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Nullable type symbol should not be preceded by a space. - /// - internal static string SA1018MessageFormat { - get { - return ResourceManager.GetString("SA1018MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Nullable type symbols should be spaced correctly. - /// - internal static string SA1018Title { - get { - return ResourceManager.GetString("SA1018Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The spacing around a member access symbol is incorrect, within a C# code file.. - /// - internal static string SA1019Description { - get { - return ResourceManager.GetString("SA1019Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Member access symbol '{0}' should not be followed by a space. - /// - internal static string SA1019MessageNotFollowed { - get { - return ResourceManager.GetString("SA1019MessageNotFollowed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Member access symbol '{0}' should not be preceded by a space. - /// - internal static string SA1019MessageNotPreceded { - get { - return ResourceManager.GetString("SA1019MessageNotPreceded", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Member access symbols should be spaced correctly. - /// - internal static string SA1019Title { - get { - return ResourceManager.GetString("SA1019Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An increment or decrement symbol within a C# element is not spaced correctly.. - /// - internal static string SA1020Description { - get { - return ResourceManager.GetString("SA1020Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {0} symbol '{1}' should not be {2} by a space. - /// - internal static string SA1020MessageFormat { - get { - return ResourceManager.GetString("SA1020MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Increment decrement symbols should be spaced correctly. - /// - internal static string SA1020Title { - get { - return ResourceManager.GetString("SA1020Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A negative sign within a C# element is not spaced correctly.. - /// - internal static string SA1021Description { - get { - return ResourceManager.GetString("SA1021Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Negative sign should{0} be {1} by a space. - /// - internal static string SA1021MessageFormat { - get { - return ResourceManager.GetString("SA1021MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Negative signs should be spaced correctly. - /// - internal static string SA1021Title { - get { - return ResourceManager.GetString("SA1021Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A positive sign within a C# element is not spaced correctly.. - /// - internal static string SA1022Description { - get { - return ResourceManager.GetString("SA1022Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Positive sign should{0} be {1} by a space. - /// - internal static string SA1022MessageFormat { - get { - return ResourceManager.GetString("SA1022MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Positive signs should be spaced correctly. - /// - internal static string SA1022Title { - get { - return ResourceManager.GetString("SA1022Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A dereference symbol or an access-of symbol within a C# element is not spaced correctly.. - /// - internal static string SA1023Description { - get { - return ResourceManager.GetString("SA1023Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Dereference symbol '*' should be followed by a space. - /// - internal static string SA1023MessageFollowed { - get { - return ResourceManager.GetString("SA1023MessageFollowed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Dereference symbol '*' should not appear at the beginning of a line. - /// - internal static string SA1023MessageNotAtBeginningOfLine { - get { - return ResourceManager.GetString("SA1023MessageNotAtBeginningOfLine", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Dereference symbol '*' should not appear at the end of a line. - /// - internal static string SA1023MessageNotAtEndOfLine { - get { - return ResourceManager.GetString("SA1023MessageNotAtEndOfLine", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Dereference symbol '*' should not be followed by a space. - /// - internal static string SA1023MessageNotFollowed { - get { - return ResourceManager.GetString("SA1023MessageNotFollowed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Dereference symbol '*' should not be preceded by a space. - /// - internal static string SA1023MessageNotPreceded { - get { - return ResourceManager.GetString("SA1023MessageNotPreceded", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Dereference and access of symbols should be spaced correctly. - /// - internal static string SA1023Title { - get { - return ResourceManager.GetString("SA1023Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A colon within a C# element is not spaced correctly.. - /// - internal static string SA1024Description { - get { - return ResourceManager.GetString("SA1024Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Colon should be followed by a space. - /// - internal static string SA1024MessageFollowed { - get { - return ResourceManager.GetString("SA1024MessageFollowed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Colon should not be preceded by a space. - /// - internal static string SA1024MessageNotPreceded { - get { - return ResourceManager.GetString("SA1024MessageNotPreceded", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Colon should be preceded by a space. - /// - internal static string SA1024MessagePreceded { - get { - return ResourceManager.GetString("SA1024MessagePreceded", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Colons Should Be Spaced Correctly. - /// - internal static string SA1024Title { - get { - return ResourceManager.GetString("SA1024Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Fix spacing. - /// - internal static string SA1025CodeFix { - get { - return ResourceManager.GetString("SA1025CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The code contains multiple whitespace characters in a row.. - /// - internal static string SA1025Description { - get { - return ResourceManager.GetString("SA1025Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Code should not contain multiple whitespace characters in a row. - /// - internal static string SA1025MessageFormat { - get { - return ResourceManager.GetString("SA1025MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Code should not contain multiple whitespace in a row. - /// - internal static string SA1025Title { - get { - return ResourceManager.GetString("SA1025Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An implicitly typed array allocation within a C# code file is not spaced correctly.. - /// - internal static string SA1026Description { - get { - return ResourceManager.GetString("SA1026Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The keyword '{0}' should not be followed by a space or a blank line. - /// - internal static string SA1026MessageFormat { - get { - return ResourceManager.GetString("SA1026MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Code should not contain space after new or stackalloc keyword in implicitly typed array allocation. - /// - internal static string SA1026Title { - get { - return ResourceManager.GetString("SA1026Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Replace tabs with spaces. - /// - internal static string SA1027CodeFix { - get { - return ResourceManager.GetString("SA1027CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The code contains a tab or space character which is not consistent with the current project settings.. - /// - internal static string SA1027Description { - get { - return ResourceManager.GetString("SA1027Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Tabs and spaces should be used correctly. - /// - internal static string SA1027MessageFormat { - get { - return ResourceManager.GetString("SA1027MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Use tabs correctly. - /// - internal static string SA1027Title { - get { - return ResourceManager.GetString("SA1027Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remove trailing whitespace. - /// - internal static string SA1028CodeFix { - get { - return ResourceManager.GetString("SA1028CodeFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to There should not be any whitespace at the end of a line of code.. - /// - internal static string SA1028Description { - get { - return ResourceManager.GetString("SA1028Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Code should not contain trailing whitespace. - /// - internal static string SA1028MessageFormat { - get { - return ResourceManager.GetString("SA1028MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Code should not contain trailing whitespace. - /// - internal static string SA1028Title { - get { - return ResourceManager.GetString("SA1028Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Fix spacing. - /// - internal static string TokenSpacingCodeFix { - get { - return ResourceManager.GetString("TokenSpacingCodeFix", resourceCulture); - } - } - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/SpecialRules/SpecialResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/SpecialRules/SpecialResources.Designer.cs deleted file mode 100644 index 0e2aeaa64..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers/SpecialRules/SpecialResources.Designer.cs +++ /dev/null @@ -1,120 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace StyleCop.Analyzers.SpecialRules { - using System; - using System.Reflection; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class SpecialResources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal SpecialResources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("StyleCop.Analyzers.SpecialRules.SpecialResources", typeof(SpecialResources).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to XML comment analysis can only be performed when the project is configured to parse documentation comments. To enable this functionality, update the project to produce an XML documentation file as part of the build.. - /// - internal static string SA0001Description { - get { - return ResourceManager.GetString("SA0001Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to XML comment analysis is disabled due to project configuration. - /// - internal static string SA0001MessageFormat { - get { - return ResourceManager.GetString("SA0001MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to XML comment analysis disabled. - /// - internal static string SA0001Title { - get { - return ResourceManager.GetString("SA0001Title", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Various errors in the stylecop.json file can prevent the file from being loaded by the analyzers. In this case, the default settings are used instead. - /// - ///{0}. - /// - internal static string SA0002Description { - get { - return ResourceManager.GetString("SA0002Description", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The stylecop.json settings file could not be loaded. - /// - internal static string SA0002MessageFormat { - get { - return ResourceManager.GetString("SA0002MessageFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Invalid settings file. - /// - internal static string SA0002Title { - get { - return ResourceManager.GetString("SA0002Title", resourceCulture); - } - } - } -} From f269ba9592a4d41e7790595a93fb1ea819978f9f Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Wed, 28 Apr 2021 11:25:04 -0700 Subject: [PATCH 2/5] Remove resx generated files from source control --- .gitignore | 1 + ...onRules.DocumentationResources.Designer.cs | 406 ------------------ ...yzers.Helpers.HelpersResources.Designer.cs | 24 -- ...rs.LayoutRules.LayoutResources.Designer.cs | 206 --------- ...Rules.MaintainabilityResources.Designer.cs | 130 ------ ...rs.NamingRules.NamingResources.Designer.cs | 134 ------ ...rderingRules.OrderingResources.Designer.cs | 136 ------ ...lityRules.ReadabilityResources.Designer.cs | 322 -------------- ...ers.Settings.SettingsResources.Designer.cs | 20 - ....SpacingRules.SpacingResources.Designer.cs | 248 ----------- ....SpecialRules.SpecialResources.Designer.cs | 32 -- 11 files changed, 1 insertion(+), 1658 deletions(-) delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.DocumentationRules.DocumentationResources.Designer.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.Helpers.HelpersResources.Designer.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.LayoutRules.LayoutResources.Designer.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.MaintainabilityRules.MaintainabilityResources.Designer.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.NamingRules.NamingResources.Designer.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.OrderingRules.OrderingResources.Designer.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.ReadabilityRules.ReadabilityResources.Designer.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.Settings.SettingsResources.Designer.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.SpacingRules.SpacingResources.Designer.cs delete mode 100644 StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.SpecialRules.SpecialResources.Designer.cs diff --git a/.gitignore b/.gitignore index 3fe9dd0d8..9b845092f 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,7 @@ OpenCover.Symbols/ .nuget/NuGet.exe build/nuget/ *.log +StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/ # Visual Studio performance tools *.psess diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.DocumentationRules.DocumentationResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.DocumentationRules.DocumentationResources.Designer.cs deleted file mode 100644 index 20e53159b..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.DocumentationRules.DocumentationResources.Designer.cs +++ /dev/null @@ -1,406 +0,0 @@ -// - -#nullable enable -using System.Reflection; - - -namespace StyleCop.Analyzers.DocumentationRules -{ - internal static partial class DocumentationResources - { - private static global::System.Resources.ResourceManager? s_resourceManager; - internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(DocumentationResources))); - internal static global::System.Globalization.CultureInfo? Culture { get; set; } - [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] - internal static string? GetResourceString(string resourceKey, string? defaultValue = null) => ResourceManager.GetString(resourceKey, Culture) ?? defaultValue; - /// Generate constructor documentation - internal static string? @ConstructorDocumentationCodeFix => GetResourceString("ConstructorDocumentationCodeFix"); - /// Generate destructor documentation - internal static string? @DestructorDocumentationCodeFix => GetResourceString("DestructorDocumentationCodeFix"); - /// Finalizes an instance of the - internal static string? @DestructorStandardTextFirstPart => GetResourceString("DestructorStandardTextFirstPart"); - /// class. - internal static string? @DestructorStandardTextSecondPart => GetResourceString("DestructorStandardTextSecondPart"); - /// Inherit documentation - internal static string? @InheritdocCodeFix => GetResourceString("InheritdocCodeFix"); - /// Generate method documentation - internal static string? @MethodDocumentationCodeFix => GetResourceString("MethodDocumentationCodeFix"); - /// Initializes a new instance of the - internal static string? @NonPrivateConstructorStandardTextFirstPart => GetResourceString("NonPrivateConstructorStandardTextFirstPart"); - /// {0} - internal static string? @NonPrivateConstructorStandardTextSecondPart => GetResourceString("NonPrivateConstructorStandardTextSecondPart"); - /// The parameter is not used. - internal static string? @ParameterNotUsed => GetResourceString("ParameterNotUsed"); - /// Prevents a default instance of the - internal static string? @PrivateConstructorStandardTextFirstPart => GetResourceString("PrivateConstructorStandardTextFirstPart"); - /// {0} from being created - internal static string? @PrivateConstructorStandardTextSecondPart => GetResourceString("PrivateConstructorStandardTextSecondPart"); - /// Add standard text - internal static string? @PropertySummaryStartTextCodeFix => GetResourceString("PropertySummaryStartTextCodeFix"); - /// A C# code element is missing a documentation header. - internal static string? @SA1600Description => GetResourceString("SA1600Description"); - /// Elements should be documented - internal static string? @SA1600MessageFormat => GetResourceString("SA1600MessageFormat"); - /// Elements should be documented - internal static string? @SA1600Title => GetResourceString("SA1600Title"); - /// A C# partial element is missing a documentation header. - internal static string? @SA1601Description => GetResourceString("SA1601Description"); - /// Partial elements should be documented - internal static string? @SA1601MessageFormat => GetResourceString("SA1601MessageFormat"); - /// Partial elements should be documented - internal static string? @SA1601Title => GetResourceString("SA1601Title"); - /// An item within a C# enumeration is missing an Xml documentation header. - internal static string? @SA1602Description => GetResourceString("SA1602Description"); - /// Enumeration items should be documented - internal static string? @SA1602MessageFormat => GetResourceString("SA1602MessageFormat"); - /// Enumeration items should be documented - internal static string? @SA1602Title => GetResourceString("SA1602Title"); - /// The XML within a C# element’s document header is badly formed. - internal static string? @SA1603Description => GetResourceString("SA1603Description"); - /// The documentation header is composed of invalid XML: {0} - internal static string? @SA1603MessageFormat => GetResourceString("SA1603MessageFormat"); - /// Documentation should contain valid XML - internal static string? @SA1603Title => GetResourceString("SA1603Title"); - /// The XML header documentation for a C# element is missing a <summary> tag. - internal static string? @SA1604Description => GetResourceString("SA1604Description"); - /// Element documentation should have summary - internal static string? @SA1604MessageFormat => GetResourceString("SA1604MessageFormat"); - /// Element documentation should have summary - internal static string? @SA1604Title => GetResourceString("SA1604Title"); - /// The <summary> or <content> tag within the documentation header for a C# code element is missing or empty. - internal static string? @SA1605Description => GetResourceString("SA1605Description"); - /// Partial element documentation should have summary - internal static string? @SA1605MessageFormat => GetResourceString("SA1605MessageFormat"); - /// Partial element documentation should have summary - internal static string? @SA1605Title => GetResourceString("SA1605Title"); - /// The <summary> tag within the documentation header for a C# code element is empty. - internal static string? @SA1606Description => GetResourceString("SA1606Description"); - /// Element documentation should have summary text - internal static string? @SA1606MessageFormat => GetResourceString("SA1606MessageFormat"); - /// Element documentation should have summary text - internal static string? @SA1606Title => GetResourceString("SA1606Title"); - /// The <summary> or <content> tag within the documentation header for a C# code element is empty. - internal static string? @SA1607Description => GetResourceString("SA1607Description"); - /// Partial element documentation should have summary text - internal static string? @SA1607MessageFormat => GetResourceString("SA1607MessageFormat"); - /// Partial element documentation should have summary text - internal static string? @SA1607Title => GetResourceString("SA1607Title"); - /// The <summary> tag within an element's XML header documentation contains the default text generated by Visual Studio during the creation of the element. - internal static string? @SA1608Description => GetResourceString("SA1608Description"); - /// Element documentation should not have default summary - internal static string? @SA1608MessageFormat => GetResourceString("SA1608MessageFormat"); - /// Element documentation should not have default summary - internal static string? @SA1608Title => GetResourceString("SA1608Title"); - /// The XML header documentation for a C# property does not contain a <value> tag. - internal static string? @SA1609Description => GetResourceString("SA1609Description"); - /// Property documentation should have value - internal static string? @SA1609MessageFormat => GetResourceString("SA1609MessageFormat"); - /// Document value from summary - internal static string? @SA1609SA1610CodeFix => GetResourceString("SA1609SA1610CodeFix"); - /// Property documentation should have value - internal static string? @SA1609Title => GetResourceString("SA1609Title"); - /// The XML header documentation for a C# property contains an empty <value> tag. - internal static string? @SA1610Description => GetResourceString("SA1610Description"); - /// Property documentation should have value text - internal static string? @SA1610MessageFormat => GetResourceString("SA1610MessageFormat"); - /// Property documentation should have value text - internal static string? @SA1610Title => GetResourceString("SA1610Title"); - /// A C# method, constructor, delegate or indexer element is missing documentation for one or more of its parameters. - internal static string? @SA1611Description => GetResourceString("SA1611Description"); - /// The documentation for parameter '{0}' is missing - internal static string? @SA1611MessageFormat => GetResourceString("SA1611MessageFormat"); - /// Element parameters should be documented - internal static string? @SA1611Title => GetResourceString("SA1611Title"); - /// The documentation describing the parameters to a C# method, constructor, delegate or indexer element does not match the actual parameters on the element. - internal static string? @SA1612Description => GetResourceString("SA1612Description"); - /// The parameter '{0}' does not exist - internal static string? @SA1612MissingParamForDocumentationMessageFormat => GetResourceString("SA1612MissingParamForDocumentationMessageFormat"); - /// The parameter documentation for '{0}' should be at position {1} - internal static string? @SA1612ParamWrongOrderMessageFormat => GetResourceString("SA1612ParamWrongOrderMessageFormat"); - /// Element parameter documentation should match element parameters - internal static string? @SA1612Title => GetResourceString("SA1612Title"); - /// A <param> tag within a C# element's documentation header is missing a name attribute containing the name of the parameter. - internal static string? @SA1613Description => GetResourceString("SA1613Description"); - /// Element parameter documentation should declare parameter name - internal static string? @SA1613MessageFormat => GetResourceString("SA1613MessageFormat"); - /// Element parameter documentation should declare parameter name - internal static string? @SA1613Title => GetResourceString("SA1613Title"); - /// A <param> tag within a C# element's documentation header is empty. - internal static string? @SA1614Description => GetResourceString("SA1614Description"); - /// Element parameter documentation should have text - internal static string? @SA1614MessageFormat => GetResourceString("SA1614MessageFormat"); - /// Element parameter documentation should have text - internal static string? @SA1614Title => GetResourceString("SA1614Title"); - /// A C# element is missing documentation for its return value. - internal static string? @SA1615Description => GetResourceString("SA1615Description"); - /// Element return value should be documented - internal static string? @SA1615MessageFormat => GetResourceString("SA1615MessageFormat"); - /// Document return value - internal static string? @SA1615SA1616CodeFix => GetResourceString("SA1615SA1616CodeFix"); - /// Element return value should be documented - internal static string? @SA1615Title => GetResourceString("SA1615Title"); - /// The <returns> tag within a C# element's documentation header is empty. - internal static string? @SA1616Description => GetResourceString("SA1616Description"); - /// Element return value documentation should have text - internal static string? @SA1616MessageFormat => GetResourceString("SA1616MessageFormat"); - /// Element return value documentation should have text - internal static string? @SA1616Title => GetResourceString("SA1616Title"); - /// Remove <returns> XML comment - internal static string? @SA1617CodeFix => GetResourceString("SA1617CodeFix"); - /// A C# code element does not contain a return value, or returns void, but the documentation header for the element contains a <returns> tag. - internal static string? @SA1617Description => GetResourceString("SA1617Description"); - /// Void return value should not be documented - internal static string? @SA1617MessageFormat => GetResourceString("SA1617MessageFormat"); - /// Void return value should not be documented - internal static string? @SA1617Title => GetResourceString("SA1617Title"); - /// A generic C# element is missing documentation for one or more of its generic type parameters. - internal static string? @SA1618Description => GetResourceString("SA1618Description"); - /// The documentation for type parameter '{0}' is missing - internal static string? @SA1618MessageFormat => GetResourceString("SA1618MessageFormat"); - /// Generic type parameters should be documented - internal static string? @SA1618Title => GetResourceString("SA1618Title"); - /// A generic, partial C# element is missing documentation for one or more of its generic type parameters, and the documentation for the element contains a <summary> tag. - internal static string? @SA1619Description => GetResourceString("SA1619Description"); - /// The documentation for type parameter '{0}' is missing - internal static string? @SA1619MessageFormat => GetResourceString("SA1619MessageFormat"); - /// Generic type parameters should be documented partial class - internal static string? @SA1619Title => GetResourceString("SA1619Title"); - /// The <typeparam> tags within the Xml header documentation for a generic C# element do not match the generic type parameters on the element. - internal static string? @SA1620Description => GetResourceString("SA1620Description"); - /// The type parameter '{0}' does not exist. - internal static string? @SA1620MissingMessageFormat => GetResourceString("SA1620MissingMessageFormat"); - /// Generic type parameter documentation should match type parameters - internal static string? @SA1620Title => GetResourceString("SA1620Title"); - /// The type parameter documentation for '{0}' should be at position {1}. - internal static string? @SA1620WrongOrderMessageFormat => GetResourceString("SA1620WrongOrderMessageFormat"); - /// A <typeparam> tag within the XML header documentation for a generic C# element is missing a name attribute, or contains an empty name attribute. - internal static string? @SA1621Description => GetResourceString("SA1621Description"); - /// Generic type parameter documentation should declare parameter name. - internal static string? @SA1621MessageFormat => GetResourceString("SA1621MessageFormat"); - /// Generic type parameter documentation should declare parameter name - internal static string? @SA1621Title => GetResourceString("SA1621Title"); - /// A <typeparam> tag within the Xml header documentation for a generic C# element is empty. - internal static string? @SA1622Description => GetResourceString("SA1622Description"); - /// Generic type parameter documentation should have text. - internal static string? @SA1622MessageFormat => GetResourceString("SA1622MessageFormat"); - /// Generic type parameter documentation should have text - internal static string? @SA1622Title => GetResourceString("SA1622Title"); - /// The documentation text within a C# property’s <summary> tag does not match the accessors within the property. - internal static string? @SA1623Description => GetResourceString("SA1623Description"); - /// The property's documentation summary text should begin with: '{0}' - internal static string? @SA1623MessageFormat => GetResourceString("SA1623MessageFormat"); - /// Property summary documentation should match accessors - internal static string? @SA1623Title => GetResourceString("SA1623Title"); - /// The documentation text within a C# property’s <summary> tag takes into account all of the accessors within the property, but one of the accessors has limited access. - internal static string? @SA1624Description => GetResourceString("SA1624Description"); - /// Because the property only contains a visible {0} accessor, the documentation summary text should begin with '{1}'. - internal static string? @SA1624MessageFormat => GetResourceString("SA1624MessageFormat"); - /// Property summary documentation should omit accessor with restricted access - internal static string? @SA1624Title => GetResourceString("SA1624Title"); - /// The Xml documentation for a C# element contains two or more identical entries, indicating that the documentation has been copied and pasted. This can sometimes indicate invalid or poorly written documentation. - internal static string? @SA1625Description => GetResourceString("SA1625Description"); - /// Element documentation should not be copied and pasted - internal static string? @SA1625MessageFormat => GetResourceString("SA1625MessageFormat"); - /// Element documentation should not be copied and pasted - internal static string? @SA1625Title => GetResourceString("SA1625Title"); - /// Convert to line comment - internal static string? @SA1626CodeFix => GetResourceString("SA1626CodeFix"); - /// The C# code contains a single-line comment which begins with three forward slashes in a row. - internal static string? @SA1626Description => GetResourceString("SA1626Description"); - /// Single-line comments should not use documentation style slashes - internal static string? @SA1626MessageFormat => GetResourceString("SA1626MessageFormat"); - /// Single-line comments should not use documentation style slashes - internal static string? @SA1626Title => GetResourceString("SA1626Title"); - /// The XML header documentation for a C# code element contains an empty tag. - internal static string? @SA1627Description => GetResourceString("SA1627Description"); - /// The documentation text within the '{0}' tag should not be empty - internal static string? @SA1627MessageFormat => GetResourceString("SA1627MessageFormat"); - /// Documentation text should not be empty - internal static string? @SA1627Title => GetResourceString("SA1627Title"); - /// A section of the XML header documentation for a C# element does not begin with a capital letter. - internal static string? @SA1628Description => GetResourceString("SA1628Description"); - /// TODO: Message format - internal static string? @SA1628MessageFormat => GetResourceString("SA1628MessageFormat"); - /// Documentation text should begin with a capital letter - internal static string? @SA1628Title => GetResourceString("SA1628Title"); - /// Add period - internal static string? @SA1629CodeFix => GetResourceString("SA1629CodeFix"); - /// A section of the XML header documentation for a C# element does not end with a period. - internal static string? @SA1629Description => GetResourceString("SA1629Description"); - /// Documentation text should end with a period - internal static string? @SA1629MessageFormat => GetResourceString("SA1629MessageFormat"); - /// Documentation text should end with a period - internal static string? @SA1629Title => GetResourceString("SA1629Title"); - /// A section of the XML header documentation for a C# element does not contain any whitespace between words. - internal static string? @SA1630Description => GetResourceString("SA1630Description"); - /// TODO: Message format - internal static string? @SA1630MessageFormat => GetResourceString("SA1630MessageFormat"); - /// Documentation text should contain whitespace - internal static string? @SA1630Title => GetResourceString("SA1630Title"); - /// A section of the Xml header documentation for a C# element does not contain enough alphabetic characters. - internal static string? @SA1631Description => GetResourceString("SA1631Description"); - /// TODO: Message format - internal static string? @SA1631MessageFormat => GetResourceString("SA1631MessageFormat"); - /// Documentation should meet character percentage - internal static string? @SA1631Title => GetResourceString("SA1631Title"); - /// A section of the Xml header documentation for a C# element is too short. - internal static string? @SA1632Description => GetResourceString("SA1632Description"); - /// TODO: Message format - internal static string? @SA1632MessageFormat => GetResourceString("SA1632MessageFormat"); - /// Documentation text should meet minimum character length - internal static string? @SA1632Title => GetResourceString("SA1632Title"); - /// Add file header - internal static string? @SA1633CodeFix => GetResourceString("SA1633CodeFix"); - /// A C# code file is missing a standard file header. - internal static string? @SA1633Description => GetResourceString("SA1633Description"); - /// The file header XML is invalid. - internal static string? @SA1633MessageFormatMalformed => GetResourceString("SA1633MessageFormatMalformed"); - /// The file header is missing or not located at the top of the file. - internal static string? @SA1633MessageFormatMissing => GetResourceString("SA1633MessageFormatMissing"); - /// File should have header - internal static string? @SA1633Title => GetResourceString("SA1633Title"); - /// The file header at the top of a C# code file is missing a copyright tag. - internal static string? @SA1634Description => GetResourceString("SA1634Description"); - /// The file header should contain a copyright tag. - internal static string? @SA1634MessageFormat => GetResourceString("SA1634MessageFormat"); - /// File header should show copyright - internal static string? @SA1634Title => GetResourceString("SA1634Title"); - /// The file header at the top of a C# code file is missing copyright text. - internal static string? @SA1635Description => GetResourceString("SA1635Description"); - /// File header should have copyright text - internal static string? @SA1635MessageFormat => GetResourceString("SA1635MessageFormat"); - /// File header should have copyright text - internal static string? @SA1635Title => GetResourceString("SA1635Title"); - /// The file header at the top of a C# code file does not contain the appropriate copyright text. - internal static string? @SA1636Description => GetResourceString("SA1636Description"); - /// The file header copyright text should match the copyright text from the settings. - internal static string? @SA1636MessageFormat => GetResourceString("SA1636MessageFormat"); - /// File header copyright text should match - internal static string? @SA1636Title => GetResourceString("SA1636Title"); - /// The file header at the top of a C# code file is missing the file name. - internal static string? @SA1637Description => GetResourceString("SA1637Description"); - /// File header should contain file name. - internal static string? @SA1637MessageFormat => GetResourceString("SA1637MessageFormat"); - /// File header should contain file name - internal static string? @SA1637Title => GetResourceString("SA1637Title"); - /// The file attribute within copyright tag of the file header at the top of a C# code file does not contain the name of the file. - internal static string? @SA1638Description => GetResourceString("SA1638Description"); - /// File header file name documentation should match file name. - internal static string? @SA1638MessageFormat => GetResourceString("SA1638MessageFormat"); - /// File header file name documentation should match file name - internal static string? @SA1638Title => GetResourceString("SA1638Title"); - /// The file header at the top of a C# code file does not contain a filled-in summary tag. - internal static string? @SA1639Description => GetResourceString("SA1639Description"); - /// File header should have summary - internal static string? @SA1639MessageFormat => GetResourceString("SA1639MessageFormat"); - /// File header should have summary - internal static string? @SA1639Title => GetResourceString("SA1639Title"); - /// The file header at the top of a C# code file does not contain company name text. - internal static string? @SA1640Description => GetResourceString("SA1640Description"); - /// The copyright tag should contain a non-empty company attribute. - internal static string? @SA1640MessageFormat => GetResourceString("SA1640MessageFormat"); - /// File header should have valid company text - internal static string? @SA1640Title => GetResourceString("SA1640Title"); - /// The file header at the top of a C# code file does not contain the appropriate company name text. - internal static string? @SA1641Description => GetResourceString("SA1641Description"); - /// The file header company name should match the company name from the settings. - internal static string? @SA1641MessageFormat => GetResourceString("SA1641MessageFormat"); - /// File header company name text should match - internal static string? @SA1641Title => GetResourceString("SA1641Title"); - /// The XML documentation header for a C# constructor does not contain the appropriate summary text. - internal static string? @SA1642Description => GetResourceString("SA1642Description"); - /// Constructor summary documentation should begin with standard text - internal static string? @SA1642MessageFormat => GetResourceString("SA1642MessageFormat"); - /// Add standard text - internal static string? @SA1642SA1643CodeFix => GetResourceString("SA1642SA1643CodeFix"); - /// Constructor summary documentation should begin with standard text - internal static string? @SA1642Title => GetResourceString("SA1642Title"); - /// The XML documentation header for a C# finalizer does not contain the appropriate summary text. - internal static string? @SA1643Description => GetResourceString("SA1643Description"); - /// Destructor summary documentation should begin with standard text - internal static string? @SA1643MessageFormat => GetResourceString("SA1643MessageFormat"); - /// Destructor summary documentation should begin with standard text - internal static string? @SA1643Title => GetResourceString("SA1643Title"); - /// A section within the XML documentation header for a C# element contains blank lines. - internal static string? @SA1644Description => GetResourceString("SA1644Description"); - /// TODO: Message format - internal static string? @SA1644MessageFormat => GetResourceString("SA1644MessageFormat"); - /// Documentation headers should not contain blank lines - internal static string? @SA1644Title => GetResourceString("SA1644Title"); - /// An included XML documentation file does not exist. - internal static string? @SA1645Description => GetResourceString("SA1645Description"); - /// TODO: Message format - internal static string? @SA1645MessageFormat => GetResourceString("SA1645MessageFormat"); - /// Included documentation file does not exist - internal static string? @SA1645Title => GetResourceString("SA1645Title"); - /// An included XML documentation link contains an invalid path. - internal static string? @SA1646Description => GetResourceString("SA1646Description"); - /// TODO: Message format - internal static string? @SA1646MessageFormat => GetResourceString("SA1646MessageFormat"); - /// Included documentation XPath does not exist - internal static string? @SA1646Title => GetResourceString("SA1646Title"); - /// An include tag within an XML documentation header does not contain valid file and path attribute. - internal static string? @SA1647Description => GetResourceString("SA1647Description"); - /// TODO: Message format - internal static string? @SA1647MessageFormat => GetResourceString("SA1647MessageFormat"); - /// Include node does not contain valid file and path - internal static string? @SA1647Title => GetResourceString("SA1647Title"); - /// <inheritdoc> has been used on an element that doesn't inherit from a base class or implement an interface. - internal static string? @SA1648Description => GetResourceString("SA1648Description"); - /// inheritdoc should be used with inheriting class - internal static string? @SA1648MessageFormat => GetResourceString("SA1648MessageFormat"); - /// inheritdoc should be used with inheriting class - internal static string? @SA1648Title => GetResourceString("SA1648Title"); - /// Rename file to match first type name - internal static string? @SA1649CodeFix => GetResourceString("SA1649CodeFix"); - /// The file name of a C# code file does not match the first type declared in the file. - internal static string? @SA1649Description => GetResourceString("SA1649Description"); - /// File name should match first type name - internal static string? @SA1649MessageFormat => GetResourceString("SA1649MessageFormat"); - /// File name should match first type name - internal static string? @SA1649Title => GetResourceString("SA1649Title"); - /// The element documentation for the element contains one or more spelling mistakes or unrecognized words. - internal static string? @SA1650Description => GetResourceString("SA1650Description"); - /// TODO: Message format - internal static string? @SA1650MessageFormat => GetResourceString("SA1650MessageFormat"); - /// Element documentation should be spelled correctly - internal static string? @SA1650Title => GetResourceString("SA1650Title"); - /// Finalize placeholder text - internal static string? @SA1651CodeFix => GetResourceString("SA1651CodeFix"); - /// The element documentation contains a <placeholder> element. - internal static string? @SA1651Description => GetResourceString("SA1651Description"); - /// Do not use placeholder elements - internal static string? @SA1651MessageFormat => GetResourceString("SA1651MessageFormat"); - /// Do not use placeholder elements - internal static string? @SA1651Title => GetResourceString("SA1651Title"); - /// Gets - internal static string? @StartingTextGets => GetResourceString("StartingTextGets"); - /// Gets or sets - internal static string? @StartingTextGetsOrSets => GetResourceString("StartingTextGetsOrSets"); - /// Gets or sets a value indicating whether - internal static string? @StartingTextGetsOrSetsWhether => GetResourceString("StartingTextGetsOrSetsWhether"); - /// Gets a value indicating whether - internal static string? @StartingTextGetsWhether => GetResourceString("StartingTextGetsWhether"); - /// Returns - internal static string? @StartingTextReturns => GetResourceString("StartingTextReturns"); - /// Returns a value indicating whether - internal static string? @StartingTextReturnsWhether => GetResourceString("StartingTextReturnsWhether"); - /// Sets - internal static string? @StartingTextSets => GetResourceString("StartingTextSets"); - /// Sets a value indicating whether - internal static string? @StartingTextSetsWhether => GetResourceString("StartingTextSetsWhether"); - /// Initializes static members of the - internal static string? @StaticConstructorStandardTextFirstPart => GetResourceString("StaticConstructorStandardTextFirstPart"); - /// {0} - internal static string? @StaticConstructorStandardTextSecondPart => GetResourceString("StaticConstructorStandardTextSecondPart"); - /// A - internal static string? @TaskReturnElementFirstPart => GetResourceString("TaskReturnElementFirstPart"); - /// representing the result of the asynchronous operation. - internal static string? @TaskReturnElementSecondPart => GetResourceString("TaskReturnElementSecondPart"); - /// class - internal static string? @TypeTextClass => GetResourceString("TypeTextClass"); - /// struct - internal static string? @TypeTextStruct => GetResourceString("TypeTextStruct"); - - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.Helpers.HelpersResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.Helpers.HelpersResources.Designer.cs deleted file mode 100644 index 92cb8c9dd..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.Helpers.HelpersResources.Designer.cs +++ /dev/null @@ -1,24 +0,0 @@ -// - -#nullable enable -using System.Reflection; - - -namespace StyleCop.Analyzers.Helpers -{ - internal static partial class HelpersResources - { - private static global::System.Resources.ResourceManager? s_resourceManager; - internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(HelpersResources))); - internal static global::System.Globalization.CultureInfo? Culture { get; set; } - [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] - internal static string? GetResourceString(string resourceKey, string? defaultValue = null) => ResourceManager.GetString(resourceKey, Culture) ?? defaultValue; - /// Fix all '{0}' - internal static string? @FixAllOccurrencesOfDiagnostic => GetResourceString("FixAllOccurrencesOfDiagnostic"); - /// Fix all '{0}' in '{1}' - internal static string? @FixAllOccurrencesOfDiagnosticInScope => GetResourceString("FixAllOccurrencesOfDiagnosticInScope"); - /// Fix all '{0}' in Solution - internal static string? @FixAllOccurrencesOfDiagnosticInSolution => GetResourceString("FixAllOccurrencesOfDiagnosticInSolution"); - - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.LayoutRules.LayoutResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.LayoutRules.LayoutResources.Designer.cs deleted file mode 100644 index 111f83341..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.LayoutRules.LayoutResources.Designer.cs +++ /dev/null @@ -1,206 +0,0 @@ -// - -#nullable enable -using System.Reflection; - - -namespace StyleCop.Analyzers.LayoutRules -{ - internal static partial class LayoutResources - { - private static global::System.Resources.ResourceManager? s_resourceManager; - internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(LayoutResources))); - internal static global::System.Globalization.CultureInfo? Culture { get; set; } - [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] - internal static string? GetResourceString(string resourceKey, string? defaultValue = null) => ResourceManager.GetString(resourceKey, Culture) ?? defaultValue; - /// Align braces - internal static string? @SA1500CodeFix => GetResourceString("SA1500CodeFix"); - /// The opening or closing brace within a C# statement, element, or expression is not placed on its own line. - internal static string? @SA1500Description => GetResourceString("SA1500Description"); - /// Braces for multi-line statements should not share line - internal static string? @SA1500MessageFormat => GetResourceString("SA1500MessageFormat"); - /// Braces for multi-line statements should not share line - internal static string? @SA1500Title => GetResourceString("SA1500Title"); - /// Expand single line block - internal static string? @SA1501CodeFix => GetResourceString("SA1501CodeFix"); - /// Expand all single line blocks - internal static string? @SA1501CodeFixAll => GetResourceString("SA1501CodeFixAll"); - /// A C# statement containing opening and closing braces is written completely on a single line. - internal static string? @SA1501Description => GetResourceString("SA1501Description"); - /// Statement should not be on a single line - internal static string? @SA1501MessageFormat => GetResourceString("SA1501MessageFormat"); - /// Statement should not be on a single line - internal static string? @SA1501Title => GetResourceString("SA1501Title"); - /// Expand element - internal static string? @SA1502CodeFix => GetResourceString("SA1502CodeFix"); - /// A C# element containing opening and closing braces is written completely on a single line. - internal static string? @SA1502Description => GetResourceString("SA1502Description"); - /// Element should not be on a single line - internal static string? @SA1502MessageFormat => GetResourceString("SA1502MessageFormat"); - /// Element should not be on a single line - internal static string? @SA1502Title => GetResourceString("SA1502Title"); - /// Wrap with braces - internal static string? @SA1503CodeFix => GetResourceString("SA1503CodeFix"); - /// The opening and closing braces for a C# statement have been omitted. - internal static string? @SA1503Description => GetResourceString("SA1503Description"); - /// Braces should not be omitted - internal static string? @SA1503MessageFormat => GetResourceString("SA1503MessageFormat"); - /// Braces should not be omitted - internal static string? @SA1503Title => GetResourceString("SA1503Title"); - /// Reformat accessors to multiple lines style - internal static string? @SA1504CodeFixMultipleLines => GetResourceString("SA1504CodeFixMultipleLines"); - /// Reformat accessors to single line style - internal static string? @SA1504CodeFixSingleLine => GetResourceString("SA1504CodeFixSingleLine"); - /// Within a C# property, indexer or event, at least one of the child accessors is written on a single line, and at least one of the child accessors is written across multiple lines. - internal static string? @SA1504Description => GetResourceString("SA1504Description"); - /// All accessors should be single-line or multi-line - internal static string? @SA1504MessageFormat => GetResourceString("SA1504MessageFormat"); - /// All accessors should be single-line or multi-line - internal static string? @SA1504Title => GetResourceString("SA1504Title"); - /// Remove blank lines following this brace - internal static string? @SA1505CodeFix => GetResourceString("SA1505CodeFix"); - /// An opening brace within a C# element, statement, or expression is followed by a blank line. - internal static string? @SA1505Description => GetResourceString("SA1505Description"); - /// An opening brace should not be followed by a blank line - internal static string? @SA1505MessageFormat => GetResourceString("SA1505MessageFormat"); - /// Opening braces should not be followed by blank line - internal static string? @SA1505Title => GetResourceString("SA1505Title"); - /// Remove blank line(s) after documentation header - internal static string? @SA1506CodeFix => GetResourceString("SA1506CodeFix"); - /// An element documentation header above a C# element is followed by a blank line. - internal static string? @SA1506Description => GetResourceString("SA1506Description"); - /// Element documentation headers should not be followed by blank line - internal static string? @SA1506MessageFormat => GetResourceString("SA1506MessageFormat"); - /// Element documentation headers should not be followed by blank line - internal static string? @SA1506Title => GetResourceString("SA1506Title"); - /// Remove multiple blank lines - internal static string? @SA1507CodeFix => GetResourceString("SA1507CodeFix"); - /// The C# code contains multiple blank lines in a row. - internal static string? @SA1507Description => GetResourceString("SA1507Description"); - /// Code should not contain multiple blank lines in a row - internal static string? @SA1507MessageFormat => GetResourceString("SA1507MessageFormat"); - /// Code should not contain multiple blank lines in a row - internal static string? @SA1507Title => GetResourceString("SA1507Title"); - /// Remove blank lines preceding this brace - internal static string? @SA1508CodeFix => GetResourceString("SA1508CodeFix"); - /// A closing brace within a C# element, statement, or expression is preceded by a blank line. - internal static string? @SA1508Description => GetResourceString("SA1508Description"); - /// A closing brace should not be preceded by a blank line - internal static string? @SA1508MessageFormat => GetResourceString("SA1508MessageFormat"); - /// Closing braces should not be preceded by blank line - internal static string? @SA1508Title => GetResourceString("SA1508Title"); - /// Remove blank lines preceding this brace - internal static string? @SA1509CodeFix => GetResourceString("SA1509CodeFix"); - /// An opening brace within a C# element, statement, or expression is preceded by a blank line. - internal static string? @SA1509Description => GetResourceString("SA1509Description"); - /// Opening braces should not be preceded by blank line - internal static string? @SA1509MessageFormat => GetResourceString("SA1509MessageFormat"); - /// Opening braces should not be preceded by blank line - internal static string? @SA1509Title => GetResourceString("SA1509Title"); - /// Remove blank line before chained statement - internal static string? @SA1510CodeFix => GetResourceString("SA1510CodeFix"); - /// Chained C# statements are separated by a blank line. - internal static string? @SA1510Description => GetResourceString("SA1510Description"); - /// '{0}' statement should not be preceded by a blank line - internal static string? @SA1510MessageFormat => GetResourceString("SA1510MessageFormat"); - /// Chained statement blocks should not be preceded by blank line - internal static string? @SA1510Title => GetResourceString("SA1510Title"); - /// Remove blank line before while - internal static string? @SA1511CodeFix => GetResourceString("SA1511CodeFix"); - /// The while footer at the bottom of a do-while statement is separated from the statement by a blank line. - internal static string? @SA1511Description => GetResourceString("SA1511Description"); - /// While-do footer should not be preceded by blank line - internal static string? @SA1511MessageFormat => GetResourceString("SA1511MessageFormat"); - /// While-do footer should not be preceded by blank line - internal static string? @SA1511Title => GetResourceString("SA1511Title"); - /// Remove blank line after comment - internal static string? @SA1512CodeFix => GetResourceString("SA1512CodeFix"); - /// A single-line comment within C# code is followed by a blank line. - internal static string? @SA1512Description => GetResourceString("SA1512Description"); - /// Single-line comments should not be followed by blank line - internal static string? @SA1512MessageFormat => GetResourceString("SA1512MessageFormat"); - /// Single-line comments should not be followed by blank line - internal static string? @SA1512Title => GetResourceString("SA1512Title"); - /// Insert blank line after brace - internal static string? @SA1513CodeFix => GetResourceString("SA1513CodeFix"); - /// A closing brace within a C# element, statement, or expression is not followed by a blank line. - internal static string? @SA1513Description => GetResourceString("SA1513Description"); - /// Closing brace should be followed by blank line - internal static string? @SA1513MessageFormat => GetResourceString("SA1513MessageFormat"); - /// Closing brace should be followed by blank line - internal static string? @SA1513Title => GetResourceString("SA1513Title"); - /// Insert blank line before documentation header - internal static string? @SA1514CodeFix => GetResourceString("SA1514CodeFix"); - /// An element documentation header above a C# element is not preceded by a blank line. - internal static string? @SA1514Description => GetResourceString("SA1514Description"); - /// Element documentation header should be preceded by blank line - internal static string? @SA1514MessageFormat => GetResourceString("SA1514MessageFormat"); - /// Element documentation header should be preceded by blank line - internal static string? @SA1514Title => GetResourceString("SA1514Title"); - /// Insert blank line before comment - internal static string? @SA1515CodeFix => GetResourceString("SA1515CodeFix"); - /// A single-line comment within C# code is not preceded by a blank line. - internal static string? @SA1515Description => GetResourceString("SA1515Description"); - /// Single-line comment should be preceded by blank line - internal static string? @SA1515MessageFormat => GetResourceString("SA1515MessageFormat"); - /// Single-line comment should be preceded by blank line - internal static string? @SA1515Title => GetResourceString("SA1515Title"); - /// Fix blank lines - internal static string? @SA1516CodeFixAll => GetResourceString("SA1516CodeFixAll"); - /// Insert new line - internal static string? @SA1516CodeFixInsert => GetResourceString("SA1516CodeFixInsert"); - /// Remove blank line - internal static string? @SA1516CodeFixRemove => GetResourceString("SA1516CodeFixRemove"); - /// Adjacent C# elements are not separated by a blank line. - internal static string? @SA1516Description => GetResourceString("SA1516Description"); - /// Adjacent using directives should not be separated by a blank line. - internal static string? @SA1516DescriptionOmit => GetResourceString("SA1516DescriptionOmit"); - /// Adjacent using directives should be separated by a blank line. - internal static string? @SA1516DescriptionRequire => GetResourceString("SA1516DescriptionRequire"); - /// Elements should be separated by blank line - internal static string? @SA1516MessageFormat => GetResourceString("SA1516MessageFormat"); - /// Using directives should not be separated by blank line - internal static string? @SA1516MessageFormatOmit => GetResourceString("SA1516MessageFormatOmit"); - /// Using directives should be separated by blank line - internal static string? @SA1516MessageFormatRequire => GetResourceString("SA1516MessageFormatRequire"); - /// Elements should be separated by blank line - internal static string? @SA1516Title => GetResourceString("SA1516Title"); - /// Remove blank lines at the start of the file - internal static string? @SA1517CodeFix => GetResourceString("SA1517CodeFix"); - /// The code file has blank lines at the start. - internal static string? @SA1517Description => GetResourceString("SA1517Description"); - /// Code should not contain blank lines at start of file - internal static string? @SA1517MessageFormat => GetResourceString("SA1517MessageFormat"); - /// Code should not contain blank lines at start of file - internal static string? @SA1517Title => GetResourceString("SA1517Title"); - /// Fix whitespace at the end of the file - internal static string? @SA1518CodeFix => GetResourceString("SA1518CodeFix"); - /// Code should not contain blank lines at the end of the file. - internal static string? @SA1518DescriptionAllow => GetResourceString("SA1518DescriptionAllow"); - /// File may not end with a newline character. - internal static string? @SA1518DescriptionOmit => GetResourceString("SA1518DescriptionOmit"); - /// File is required to end with a single newline character. - internal static string? @SA1518DescriptionRequire => GetResourceString("SA1518DescriptionRequire"); - /// Code should not contain blank lines at the end of the file - internal static string? @SA1518MessageFormatAllow => GetResourceString("SA1518MessageFormatAllow"); - /// File may not end with a newline character - internal static string? @SA1518MessageFormatOmit => GetResourceString("SA1518MessageFormatOmit"); - /// File is required to end with a single newline character - internal static string? @SA1518MessageFormatRequire => GetResourceString("SA1518MessageFormatRequire"); - /// Use line endings correctly at end of file - internal static string? @SA1518Title => GetResourceString("SA1518Title"); - /// The opening and closing braces for a multi-line C# statement have been omitted. - internal static string? @SA1519Description => GetResourceString("SA1519Description"); - /// Braces should not be omitted from multi-line child statement - internal static string? @SA1519MessageFormat => GetResourceString("SA1519MessageFormat"); - /// Braces should not be omitted from multi-line child statement - internal static string? @SA1519Title => GetResourceString("SA1519Title"); - /// The opening and closing braces of a chained if/else if/else construct were included for some clauses, but omitted for others. - internal static string? @SA1520Description => GetResourceString("SA1520Description"); - /// Use braces consistently - internal static string? @SA1520MessageFormat => GetResourceString("SA1520MessageFormat"); - /// Use braces consistently - internal static string? @SA1520Title => GetResourceString("SA1520Title"); - - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.MaintainabilityRules.MaintainabilityResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.MaintainabilityRules.MaintainabilityResources.Designer.cs deleted file mode 100644 index 3a1a31f18..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.MaintainabilityRules.MaintainabilityResources.Designer.cs +++ /dev/null @@ -1,130 +0,0 @@ -// - -#nullable enable -using System.Reflection; - - -namespace StyleCop.Analyzers.MaintainabilityRules -{ - internal static partial class MaintainabilityResources - { - private static global::System.Resources.ResourceManager? s_resourceManager; - internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(MaintainabilityResources))); - internal static global::System.Globalization.CultureInfo? Culture { get; set; } - [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] - internal static string? GetResourceString(string resourceKey, string? defaultValue = null) => ResourceManager.GetString(resourceKey, Culture) ?? defaultValue; - /// Remove parentheses - internal static string? @SA1119CodeFix => GetResourceString("SA1119CodeFix"); - /// A C# statement contains parenthesis which are unnecessary and should be removed. - internal static string? @SA1119Description => GetResourceString("SA1119Description"); - /// Statement should not use unnecessary parenthesis - internal static string? @SA1119MessageFormat => GetResourceString("SA1119MessageFormat"); - /// Statement should not use unnecessary parenthesis - internal static string? @SA1119Title => GetResourceString("SA1119Title"); - /// Declare accessibility - internal static string? @SA1400CodeFix => GetResourceString("SA1400CodeFix"); - /// The access modifier for a C# element has not been explicitly defined. - internal static string? @SA1400Description => GetResourceString("SA1400Description"); - /// Element '{0}' should declare an access modifier - internal static string? @SA1400MessageFormat => GetResourceString("SA1400MessageFormat"); - /// Access modifier should be declared - internal static string? @SA1400Title => GetResourceString("SA1400Title"); - /// A field within a C# class has an access modifier other than private. - internal static string? @SA1401Description => GetResourceString("SA1401Description"); - /// Field should be private - internal static string? @SA1401MessageFormat => GetResourceString("SA1401MessageFormat"); - /// Fields should be private - internal static string? @SA1401Title => GetResourceString("SA1401Title"); - /// Move type to new file - internal static string? @SA1402CodeFix => GetResourceString("SA1402CodeFix"); - /// A C# code file contains more than one unique type. - internal static string? @SA1402Description => GetResourceString("SA1402Description"); - /// File may only contain a single type - internal static string? @SA1402MessageFormat => GetResourceString("SA1402MessageFormat"); - /// File may only contain a single type - internal static string? @SA1402Title => GetResourceString("SA1402Title"); - /// A C# code file contains more than one namespace. - internal static string? @SA1403Description => GetResourceString("SA1403Description"); - /// File may only contain a single namespace - internal static string? @SA1403MessageFormat => GetResourceString("SA1403MessageFormat"); - /// File may only contain a single namespace - internal static string? @SA1403Title => GetResourceString("SA1403Title"); - /// Fix justification - internal static string? @SA1404CodeFix => GetResourceString("SA1404CodeFix"); - /// A Code Analysis SuppressMessage attribute does not include a justification. - internal static string? @SA1404Description => GetResourceString("SA1404Description"); - /// Code analysis suppression should have justification - internal static string? @SA1404MessageFormat => GetResourceString("SA1404MessageFormat"); - /// Code analysis suppression should have justification - internal static string? @SA1404Title => GetResourceString("SA1404Title"); - /// A call to Debug.Assert in C# code does not include a descriptive message. - internal static string? @SA1405Description => GetResourceString("SA1405Description"); - /// Debug.Assert should provide message text - internal static string? @SA1405MessageFormat => GetResourceString("SA1405MessageFormat"); - /// Debug.Assert should provide message text - internal static string? @SA1405Title => GetResourceString("SA1405Title"); - /// A call to Debug.Fail in C# code does not include a descriptive message. - internal static string? @SA1406Description => GetResourceString("SA1406Description"); - /// Debug.Fail should provide message text - internal static string? @SA1406MessageFormat => GetResourceString("SA1406MessageFormat"); - /// Debug.Fail should provide message text - internal static string? @SA1406Title => GetResourceString("SA1406Title"); - /// A C# statement contains a complex arithmetic expression which omits parenthesis around operators. - internal static string? @SA1407Description => GetResourceString("SA1407Description"); - /// Arithmetic expressions should declare precedence - internal static string? @SA1407MessageFormat => GetResourceString("SA1407MessageFormat"); - /// Add parentheses - internal static string? @SA1407SA1408CodeFix => GetResourceString("SA1407SA1408CodeFix"); - /// Arithmetic expressions should declare precedence - internal static string? @SA1407Title => GetResourceString("SA1407Title"); - /// A C# statement contains a complex conditional expression which omits parenthesis around operators. - internal static string? @SA1408Description => GetResourceString("SA1408Description"); - /// Conditional expressions should declare precedence - internal static string? @SA1408MessageFormat => GetResourceString("SA1408MessageFormat"); - /// Conditional expressions should declare precedence - internal static string? @SA1408Title => GetResourceString("SA1408Title"); - /// A C# file contains code which is unnecessary and can be removed without changing the overall logic of the code. - internal static string? @SA1409Description => GetResourceString("SA1409Description"); - /// TODO: Message format - internal static string? @SA1409MessageFormat => GetResourceString("SA1409MessageFormat"); - /// Remove unnecessary code - internal static string? @SA1409Title => GetResourceString("SA1409Title"); - /// A call to a C# anonymous method does not contain any method parameters, yet the statement still includes parenthesis. - internal static string? @SA1410Description => GetResourceString("SA1410Description"); - /// Remove delegate parenthesis when possible - internal static string? @SA1410MessageFormat => GetResourceString("SA1410MessageFormat"); - /// Remove parentheses - internal static string? @SA1410SA1411CodeFix => GetResourceString("SA1410SA1411CodeFix"); - /// Remove delegate parenthesis when possible - internal static string? @SA1410Title => GetResourceString("SA1410Title"); - /// TODO. - internal static string? @SA1411Description => GetResourceString("SA1411Description"); - /// Attribute constructor should not use unnecessary parenthesis - internal static string? @SA1411MessageFormat => GetResourceString("SA1411MessageFormat"); - /// Attribute constructor should not use unnecessary parenthesis - internal static string? @SA1411Title => GetResourceString("SA1411Title"); - /// Change encoding from '{0}' to UTF-8 with byte order mark - internal static string? @SA1412CodeFix => GetResourceString("SA1412CodeFix"); - /// Source files should be saved using the UTF-8 encoding with a byte order mark. - internal static string? @SA1412Description => GetResourceString("SA1412Description"); - /// Store files as UTF-8 with byte order mark - internal static string? @SA1412MessageFormat => GetResourceString("SA1412MessageFormat"); - /// Store files as UTF-8 with byte order mark - internal static string? @SA1412Title => GetResourceString("SA1412Title"); - /// Add trailing comma - internal static string? @SA1413CodeFix => GetResourceString("SA1413CodeFix"); - /// A multi-line initializer in a C# code file should use a comma on the last line. - internal static string? @SA1413Description => GetResourceString("SA1413Description"); - /// Use trailing comma in multi-line initializers - internal static string? @SA1413MessageFormat => GetResourceString("SA1413MessageFormat"); - /// Use trailing comma in multi-line initializers - internal static string? @SA1413Title => GetResourceString("SA1413Title"); - /// Tuple types appearing in member declarations should have explicitly named tuple elements. - internal static string? @SA1414Description => GetResourceString("SA1414Description"); - /// Tuple types in signatures should have element names - internal static string? @SA1414MessageFormat => GetResourceString("SA1414MessageFormat"); - /// Tuple types in signatures should have element names - internal static string? @SA1414Title => GetResourceString("SA1414Title"); - - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.NamingRules.NamingResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.NamingRules.NamingResources.Designer.cs deleted file mode 100644 index 71dd1ec23..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.NamingRules.NamingResources.Designer.cs +++ /dev/null @@ -1,134 +0,0 @@ -// - -#nullable enable -using System.Reflection; - - -namespace StyleCop.Analyzers.NamingRules -{ - internal static partial class NamingResources - { - private static global::System.Resources.ResourceManager? s_resourceManager; - internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(NamingResources))); - internal static global::System.Globalization.CultureInfo? Culture { get; set; } - [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] - internal static string? GetResourceString(string resourceKey, string? defaultValue = null) => ResourceManager.GetString(resourceKey, Culture) ?? defaultValue; - /// Rename To '{0}' - internal static string? @RenameToCodeFix => GetResourceString("RenameToCodeFix"); - /// The name of a C# element does not begin with an upper-case letter. - internal static string? @SA1300Description => GetResourceString("SA1300Description"); - /// Element '{0}' should begin with an uppercase letter - internal static string? @SA1300MessageFormat => GetResourceString("SA1300MessageFormat"); - /// Element should begin with upper-case letter - internal static string? @SA1300Title => GetResourceString("SA1300Title"); - /// There are currently no situations in which this rule will fire. - internal static string? @SA1301Description => GetResourceString("SA1301Description"); - /// Element should begin with lower-case letter - internal static string? @SA1301MessageFormat => GetResourceString("SA1301MessageFormat"); - /// Element should begin with lower-case letter - internal static string? @SA1301Title => GetResourceString("SA1301Title"); - /// Prefix interface name with 'I' - internal static string? @SA1302CodeFix => GetResourceString("SA1302CodeFix"); - /// The name of a C# interface does not begin with the capital letter I. - internal static string? @SA1302Description => GetResourceString("SA1302Description"); - /// Interface names should begin with I - internal static string? @SA1302MessageFormat => GetResourceString("SA1302MessageFormat"); - /// Interface names should begin with I - internal static string? @SA1302Title => GetResourceString("SA1302Title"); - /// The name of a constant C# field should begin with an upper-case letter. - internal static string? @SA1303Description => GetResourceString("SA1303Description"); - /// Const field names should begin with upper-case letter - internal static string? @SA1303MessageFormat => GetResourceString("SA1303MessageFormat"); - /// Const field names should begin with upper-case letter - internal static string? @SA1303Title => GetResourceString("SA1303Title"); - /// The name of a non-private readonly C# field should being with an upper-case letter. - internal static string? @SA1304Description => GetResourceString("SA1304Description"); - /// Non-private readonly fields should begin with upper-case letter - internal static string? @SA1304MessageFormat => GetResourceString("SA1304MessageFormat"); - /// Non-private readonly fields should begin with upper-case letter - internal static string? @SA1304Title => GetResourceString("SA1304Title"); - /// The name of a field or variable in C# uses Hungarian notation. - internal static string? @SA1305Description => GetResourceString("SA1305Description"); - /// {0} '{1}' should not use Hungarian notation - internal static string? @SA1305MessageFormat => GetResourceString("SA1305MessageFormat"); - /// Field names should not use Hungarian notation - internal static string? @SA1305Title => GetResourceString("SA1305Title"); - /// The name of a field in C# does not begin with a lower-case letter. - internal static string? @SA1306Description => GetResourceString("SA1306Description"); - /// Field '{0}' should begin with lower-case letter - internal static string? @SA1306MessageFormat => GetResourceString("SA1306MessageFormat"); - /// Field names should begin with lower-case letter - internal static string? @SA1306Title => GetResourceString("SA1306Title"); - /// The name of a public or internal field in C# does not begin with an upper-case letter. - internal static string? @SA1307Description => GetResourceString("SA1307Description"); - /// Field '{0}' should begin with upper-case letter - internal static string? @SA1307MessageFormat => GetResourceString("SA1307MessageFormat"); - /// Accessible fields should begin with upper-case letter - internal static string? @SA1307Title => GetResourceString("SA1307Title"); - /// A field name in C# is prefixed with 'm_', 's_', or 't_'. - internal static string? @SA1308Description => GetResourceString("SA1308Description"); - /// Field '{0}' should not begin with the prefix '{1}' - internal static string? @SA1308MessageFormat => GetResourceString("SA1308MessageFormat"); - /// Variable names should not be prefixed - internal static string? @SA1308Title => GetResourceString("SA1308Title"); - /// A field name in C# begins with an underscore. - internal static string? @SA1309Description => GetResourceString("SA1309Description"); - /// Field '{0}' should not begin with an underscore - internal static string? @SA1309MessageFormat => GetResourceString("SA1309MessageFormat"); - /// Field names should not begin with underscore - internal static string? @SA1309Title => GetResourceString("SA1309Title"); - /// A field name in C# contains an underscore. - internal static string? @SA1310Description => GetResourceString("SA1310Description"); - /// Field '{0}' should not contain an underscore - internal static string? @SA1310MessageFormat => GetResourceString("SA1310MessageFormat"); - /// Field names should not contain underscore - internal static string? @SA1310Title => GetResourceString("SA1310Title"); - /// The name of a static readonly field does not begin with an upper-case letter. - internal static string? @SA1311Description => GetResourceString("SA1311Description"); - /// Static readonly fields should begin with upper-case letter - internal static string? @SA1311MessageFormat => GetResourceString("SA1311MessageFormat"); - /// Static readonly fields should begin with upper-case letter - internal static string? @SA1311Title => GetResourceString("SA1311Title"); - /// The name of a variable in C# does not begin with a lower-case letter. - internal static string? @SA1312Description => GetResourceString("SA1312Description"); - /// Variable '{0}' should begin with lower-case letter - internal static string? @SA1312MessageFormat => GetResourceString("SA1312MessageFormat"); - /// Variable names should begin with lower-case letter - internal static string? @SA1312Title => GetResourceString("SA1312Title"); - /// The name of a parameter in C# does not begin with a lower-case letter. - internal static string? @SA1313Description => GetResourceString("SA1313Description"); - /// Parameter '{0}' should begin with lower-case letter - internal static string? @SA1313MessageFormat => GetResourceString("SA1313MessageFormat"); - /// Parameter names should begin with lower-case letter - internal static string? @SA1313Title => GetResourceString("SA1313Title"); - /// Prefix type parameter name with 'T' - internal static string? @SA1314CodeFix => GetResourceString("SA1314CodeFix"); - /// The name of a C# type parameter does not begin with the capital letter T. - internal static string? @SA1314Description => GetResourceString("SA1314Description"); - /// Type parameter names should begin with T - internal static string? @SA1314MessageFormat => GetResourceString("SA1314MessageFormat"); - /// Type parameter names should begin with T - internal static string? @SA1314Title => GetResourceString("SA1314Title"); - /// Correct tuple element name casing - internal static string? @SA1316CodeFix => GetResourceString("SA1316CodeFix"); - /// Element names within a tuple type should have the correct casing. - internal static string? @SA1316Description => GetResourceString("SA1316Description"); - /// Tuple element names should use correct casing - internal static string? @SA1316MessageFormat => GetResourceString("SA1316MessageFormat"); - /// Tuple element names should use correct casing - internal static string? @SA1316Title => GetResourceString("SA1316Title"); - /// A field name in C# does not begin with an underscore. - internal static string? @SX1309Description => GetResourceString("SX1309Description"); - /// Field '{0}' should begin with an underscore - internal static string? @SX1309MessageFormat => GetResourceString("SX1309MessageFormat"); - /// A static field name in C# does not begin with an underscore. - internal static string? @SX1309SDescription => GetResourceString("SX1309SDescription"); - /// Static field '{0}' should begin with an underscore - internal static string? @SX1309SMessageFormat => GetResourceString("SX1309SMessageFormat"); - /// Static field names should begin with underscore - internal static string? @SX1309STitle => GetResourceString("SX1309STitle"); - /// Field names should begin with underscore - internal static string? @SX1309Title => GetResourceString("SX1309Title"); - - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.OrderingRules.OrderingResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.OrderingRules.OrderingResources.Designer.cs deleted file mode 100644 index c3c1f3f95..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.OrderingRules.OrderingResources.Designer.cs +++ /dev/null @@ -1,136 +0,0 @@ -// - -#nullable enable -using System.Reflection; - - -namespace StyleCop.Analyzers.OrderingRules -{ - internal static partial class OrderingResources - { - private static global::System.Resources.ResourceManager? s_resourceManager; - internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(OrderingResources))); - internal static global::System.Globalization.CultureInfo? Culture { get; set; } - [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] - internal static string? GetResourceString(string resourceKey, string? defaultValue = null) => ResourceManager.GetString(resourceKey, Culture) ?? defaultValue; - /// Fix element order - internal static string? @ElementOrderCodeFix => GetResourceString("ElementOrderCodeFix"); - /// Fix modifier order - internal static string? @ModifierOrderCodeFix => GetResourceString("ModifierOrderCodeFix"); - /// A C# using directive is placed outside of a namespace element. - internal static string? @SA1200DescriptionInside => GetResourceString("SA1200DescriptionInside"); - /// A C# using directive is placed inside of a namespace declaration. - internal static string? @SA1200DescriptionOutside => GetResourceString("SA1200DescriptionOutside"); - /// Using directive should appear within a namespace declaration - internal static string? @SA1200MessageFormatInside => GetResourceString("SA1200MessageFormatInside"); - /// Using directive should appear outside a namespace declaration - internal static string? @SA1200MessageFormatOutside => GetResourceString("SA1200MessageFormatOutside"); - /// Using directives should be placed correctly - internal static string? @SA1200Title => GetResourceString("SA1200Title"); - /// An element within a C# code file is out of order in relation to the other elements in the code. - internal static string? @SA1201Description => GetResourceString("SA1201Description"); - /// A {0} should not follow a {1} - internal static string? @SA1201MessageFormat => GetResourceString("SA1201MessageFormat"); - /// Elements should appear in the correct order - internal static string? @SA1201Title => GetResourceString("SA1201Title"); - /// An element within a C# code file is out of order in relation to other elements in the code. - internal static string? @SA1202Description => GetResourceString("SA1202Description"); - /// '{0}' members should come before '{1}' members - internal static string? @SA1202MessageFormat => GetResourceString("SA1202MessageFormat"); - /// Elements should be ordered by access - internal static string? @SA1202Title => GetResourceString("SA1202Title"); - /// A constant field is placed beneath a non-constant field. - internal static string? @SA1203Description => GetResourceString("SA1203Description"); - /// Constant fields should appear before non-constant fields - internal static string? @SA1203MessageFormat => GetResourceString("SA1203MessageFormat"); - /// Constants should appear before fields - internal static string? @SA1203Title => GetResourceString("SA1203Title"); - /// A static element is positioned beneath an instance element. - internal static string? @SA1204Description => GetResourceString("SA1204Description"); - /// Static members should appear before non-static members - internal static string? @SA1204MessageFormat => GetResourceString("SA1204MessageFormat"); - /// Static elements should appear before instance elements - internal static string? @SA1204Title => GetResourceString("SA1204Title"); - /// Add access modifier - internal static string? @SA1205CodeFix => GetResourceString("SA1205CodeFix"); - /// The partial element does not have an access modifier defined. - internal static string? @SA1205Description => GetResourceString("SA1205Description"); - /// Partial elements should declare an access modifier - internal static string? @SA1205MessageFormat => GetResourceString("SA1205MessageFormat"); - /// Partial elements should declare access - internal static string? @SA1205Title => GetResourceString("SA1205Title"); - /// The keywords within the declaration of an element do not follow a standard ordering scheme. - internal static string? @SA1206Description => GetResourceString("SA1206Description"); - /// The '{0}' modifier should appear before '{1}' - internal static string? @SA1206MessageFormat => GetResourceString("SA1206MessageFormat"); - /// Declaration keywords should follow order - internal static string? @SA1206Title => GetResourceString("SA1206Title"); - /// Place keyword 'protected' before keyword 'internal' - internal static string? @SA1207CodeFix => GetResourceString("SA1207CodeFix"); - /// The keyword '{0}' is positioned after the keyword '{1}' within the declaration of a {0} {1} C# element. - internal static string? @SA1207Description => GetResourceString("SA1207Description"); - /// The keyword '{0}' should come before '{1}' - internal static string? @SA1207MessageFormat => GetResourceString("SA1207MessageFormat"); - /// Protected should come before internal - internal static string? @SA1207Title => GetResourceString("SA1207Title"); - /// A using directive which declares a member of the 'System' namespace appears after a using directive which declares a member of a different namespace, within a C# code file. - internal static string? @SA1208Description => GetResourceString("SA1208Description"); - /// Using directive for '{0}' should appear before directive for '{1}' - internal static string? @SA1208MessageFormat => GetResourceString("SA1208MessageFormat"); - /// System using directives should be placed before other using directives - internal static string? @SA1208Title => GetResourceString("SA1208Title"); - /// A using-alias directive is positioned before a regular using directive. - internal static string? @SA1209Description => GetResourceString("SA1209Description"); - /// Using alias directives should be placed after all using namespace directives - internal static string? @SA1209MessageFormat => GetResourceString("SA1209MessageFormat"); - /// Using alias directives should be placed after other using directives - internal static string? @SA1209Title => GetResourceString("SA1209Title"); - /// The using directives within a C# code file are not sorted alphabetically by namespace. - internal static string? @SA1210Description => GetResourceString("SA1210Description"); - /// Using directives should be ordered alphabetically by the namespaces - internal static string? @SA1210MessageFormat => GetResourceString("SA1210MessageFormat"); - /// Using directives should be ordered alphabetically by namespace - internal static string? @SA1210Title => GetResourceString("SA1210Title"); - /// The using-alias directives within a C# code file are not sorted alphabetically by alias name. - internal static string? @SA1211Description => GetResourceString("SA1211Description"); - /// Using alias directive for '{0}' should appear before using alias directive for '{1}' - internal static string? @SA1211MessageFormat => GetResourceString("SA1211MessageFormat"); - /// Using alias directives should be ordered alphabetically by alias name - internal static string? @SA1211Title => GetResourceString("SA1211Title"); - /// A get accessor appears after a set accessor within a property or indexer. - internal static string? @SA1212Description => GetResourceString("SA1212Description"); - /// A get accessor appears after a set accessor within a property or indexer - internal static string? @SA1212MessageFormat => GetResourceString("SA1212MessageFormat"); - /// Property accessors should follow order - internal static string? @SA1212Title => GetResourceString("SA1212Title"); - /// Fix accessor order - internal static string? @SA1213CodeFix => GetResourceString("SA1213CodeFix"); - /// An add accessor appears after a remove accessor within an event. - internal static string? @SA1213Description => GetResourceString("SA1213Description"); - /// Event accessors should follow order - internal static string? @SA1213MessageFormat => GetResourceString("SA1213MessageFormat"); - /// Event accessors should follow order - internal static string? @SA1213Title => GetResourceString("SA1213Title"); - /// A readonly field is positioned beneath a non-readonly field. - internal static string? @SA1214Description => GetResourceString("SA1214Description"); - /// Readonly fields should appear before non-readonly fields - internal static string? @SA1214MessageFormat => GetResourceString("SA1214MessageFormat"); - /// Readonly fields should appear before non-readonly fields - internal static string? @SA1214Title => GetResourceString("SA1214Title"); - /// A using static directive is positioned before a regular or after an alias using directive. - internal static string? @SA1216Description => GetResourceString("SA1216Description"); - /// Using static directives should be placed at the correct location - internal static string? @SA1216MessageFormat => GetResourceString("SA1216MessageFormat"); - /// Using static directives should be placed at the correct location - internal static string? @SA1216Title => GetResourceString("SA1216Title"); - /// All using static directives should be ordered alphabetically. - internal static string? @SA1217Description => GetResourceString("SA1217Description"); - /// The using static directive for '{0}' should appear after the using static directive for '{1}' - internal static string? @SA1217MessageFormat => GetResourceString("SA1217MessageFormat"); - /// Using static directives should be ordered alphabetically - internal static string? @SA1217Title => GetResourceString("SA1217Title"); - /// Reorder using statements - internal static string? @UsingCodeFix => GetResourceString("UsingCodeFix"); - - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.ReadabilityRules.ReadabilityResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.ReadabilityRules.ReadabilityResources.Designer.cs deleted file mode 100644 index 66c0e87c7..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.ReadabilityRules.ReadabilityResources.Designer.cs +++ /dev/null @@ -1,322 +0,0 @@ -// - -#nullable enable -using System.Reflection; - - -namespace StyleCop.Analyzers.ReadabilityRules -{ - internal static partial class ReadabilityResources - { - private static global::System.Resources.ResourceManager? s_resourceManager; - internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(ReadabilityResources))); - internal static global::System.Globalization.CultureInfo? Culture { get; set; } - [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] - internal static string? GetResourceString(string resourceKey, string? defaultValue = null) => ResourceManager.GetString(resourceKey, Culture) ?? defaultValue; - /// Fix indentation - internal static string? @IndentationCodeFix => GetResourceString("IndentationCodeFix"); - /// Remove region - internal static string? @RemoveRegionCodeFix => GetResourceString("RemoveRegionCodeFix"); - /// Replace 'base.' with 'this.' - internal static string? @SA1100CodeFix => GetResourceString("SA1100CodeFix"); - /// A call to a member from an inherited class begins with 'base.', and the local class does not contain an override or implementation of the member. - internal static string? @SA1100Description => GetResourceString("SA1100Description"); - /// Do not prefix calls with base unless local implementation exists - internal static string? @SA1100MessageFormat => GetResourceString("SA1100MessageFormat"); - /// Do not prefix calls with base unless local implementation exists - internal static string? @SA1100Title => GetResourceString("SA1100Title"); - /// Prefix reference with 'this.' - internal static string? @SA1101CodeFix => GetResourceString("SA1101CodeFix"); - /// A call to an instance member of the local class or a base class is not prefixed with 'this.', within a C# code file. - internal static string? @SA1101Description => GetResourceString("SA1101Description"); - /// Prefix local calls with this - internal static string? @SA1101MessageFormat => GetResourceString("SA1101MessageFormat"); - /// Prefix local calls with this - internal static string? @SA1101Title => GetResourceString("SA1101Title"); - /// Remove separating lines - internal static string? @SA1102CodeFix => GetResourceString("SA1102CodeFix"); - /// A C# query clause does not begin on the same line as the previous clause, or on the next line. - internal static string? @SA1102Description => GetResourceString("SA1102Description"); - /// Query clause should follow previous clause. - internal static string? @SA1102MessageFormat => GetResourceString("SA1102MessageFormat"); - /// Query clause should follow previous clause - internal static string? @SA1102Title => GetResourceString("SA1102Title"); - /// Place on multiple lines - internal static string? @SA1103CodeFixMultipleLines => GetResourceString("SA1103CodeFixMultipleLines"); - /// Place on single line - internal static string? @SA1103CodeFixSingleLine => GetResourceString("SA1103CodeFixSingleLine"); - /// The clauses within a C# query expression are not all placed on the same line, and each clause is not placed on its own line. - internal static string? @SA1103Description => GetResourceString("SA1103Description"); - /// Query clauses should be on separate lines or all on one line - internal static string? @SA1103MessageFormat => GetResourceString("SA1103MessageFormat"); - /// Query clauses should be on separate lines or all on one line - internal static string? @SA1103Title => GetResourceString("SA1103Title"); - /// A clause within a C# query expression begins on the same line as the previous clause, when the previous clause spans across multiple lines. - internal static string? @SA1104Description => GetResourceString("SA1104Description"); - /// Query clause should begin on new line when previous clause spans multiple lines - internal static string? @SA1104MessageFormat => GetResourceString("SA1104MessageFormat"); - /// Insert new line - internal static string? @SA1104SA1105CodeFix => GetResourceString("SA1104SA1105CodeFix"); - /// Query clause should begin on new line when previous clause spans multiple lines - internal static string? @SA1104Title => GetResourceString("SA1104Title"); - /// A clause within a C# query expression spans across multiple lines, and does not begin on its own line. - internal static string? @SA1105Description => GetResourceString("SA1105Description"); - /// Query clauses spanning multiple lines should begin on own line - internal static string? @SA1105MessageFormat => GetResourceString("SA1105MessageFormat"); - /// Query clauses spanning multiple lines should begin on own line - internal static string? @SA1105Title => GetResourceString("SA1105Title"); - /// Remove empty statement - internal static string? @SA1106CodeFix => GetResourceString("SA1106CodeFix"); - /// The C# code contains an extra semicolon. - internal static string? @SA1106Description => GetResourceString("SA1106Description"); - /// Code should not contain empty statements - internal static string? @SA1106MessageFormat => GetResourceString("SA1106MessageFormat"); - /// Code should not contain empty statements - internal static string? @SA1106Title => GetResourceString("SA1106Title"); - /// Enter new line - internal static string? @SA1107CodeFix => GetResourceString("SA1107CodeFix"); - /// The C# code contains more than one statement on a single line. - internal static string? @SA1107Description => GetResourceString("SA1107Description"); - /// Code should not contain multiple statements on one line - internal static string? @SA1107MessageFormat => GetResourceString("SA1107MessageFormat"); - /// Code should not contain multiple statements on one line - internal static string? @SA1107Title => GetResourceString("SA1107Title"); - /// A C# statement contains a comment between the declaration of the statement and the opening brace of the statement. - internal static string? @SA1108Description => GetResourceString("SA1108Description"); - /// Block statements should not contain embedded comments - internal static string? @SA1108MessageFormat => GetResourceString("SA1108MessageFormat"); - /// Block statements should not contain embedded comments - internal static string? @SA1108Title => GetResourceString("SA1108Title"); - /// A C# statement contains a region tag between the declaration of the statement and the opening brace of the statement. - internal static string? @SA1109Description => GetResourceString("SA1109Description"); - /// - internal static string? @SA1109MessageFormat => GetResourceString("SA1109MessageFormat"); - /// Block statements should not contain embedded regions - internal static string? @SA1109Title => GetResourceString("SA1109Title"); - /// The opening parenthesis or bracket is not placed on the same line as the method/indexer/attribute/array name. - internal static string? @SA1110Description => GetResourceString("SA1110Description"); - /// Opening parenthesis or bracket should be on declaration line - internal static string? @SA1110MessageFormat => GetResourceString("SA1110MessageFormat"); - /// Opening parenthesis or bracket should be on declaration line - internal static string? @SA1110Title => GetResourceString("SA1110Title"); - /// The closing parenthesis or bracket in a call to or declaration of a C# method/indexer/attribute/array/constructor/delegate is not placed on the same line as the last parameter. - internal static string? @SA1111Description => GetResourceString("SA1111Description"); - /// Closing parenthesis should be on line of last parameter - internal static string? @SA1111MessageFormat => GetResourceString("SA1111MessageFormat"); - /// Closing parenthesis should be on line of last parameter - internal static string? @SA1111Title => GetResourceString("SA1111Title"); - /// The closing parenthesis or bracket in a call to a C# method or indexer, or the declaration of a method or indexer, is not placed on the same line as the opening bracket when the element does not take any parameters. - internal static string? @SA1112Description => GetResourceString("SA1112Description"); - /// Closing parenthesis should be on line of opening parenthesis - internal static string? @SA1112MessageFormat => GetResourceString("SA1112MessageFormat"); - /// Closing parenthesis should be on line of opening parenthesis - internal static string? @SA1112Title => GetResourceString("SA1112Title"); - /// A comma between two parameters in a call to a C# method or indexer, or in the declaration of a method or indexer, is not placed on the same line as the previous parameter. - internal static string? @SA1113Description => GetResourceString("SA1113Description"); - /// Comma should be on the same line as previous parameter - internal static string? @SA1113MessageFormat => GetResourceString("SA1113MessageFormat"); - /// Comma should be on the same line as previous parameter - internal static string? @SA1113Title => GetResourceString("SA1113Title"); - /// The start of the parameter list for a method/constructor/indexer/array/operator call or declaration does not begin on the same line as the opening bracket, or on the line after the opening bracket. - internal static string? @SA1114Description => GetResourceString("SA1114Description"); - /// Parameter list should follow declaration - internal static string? @SA1114MessageFormat => GetResourceString("SA1114MessageFormat"); - /// Parameter list should follow declaration - internal static string? @SA1114Title => GetResourceString("SA1114Title"); - /// A parameter within a C# method or indexer call or declaration does not begin on the same line as the previous parameter, or on the next line. - internal static string? @SA1115Description => GetResourceString("SA1115Description"); - /// The parameter should begin on the line after the previous parameter - internal static string? @SA1115MessageFormat => GetResourceString("SA1115MessageFormat"); - /// Parameter should follow comma - internal static string? @SA1115Title => GetResourceString("SA1115Title"); - /// Move first argument to next line - internal static string? @SA1116CodeFix => GetResourceString("SA1116CodeFix"); - /// The parameters to a C# method or indexer call or declaration span across multiple lines, but the first parameter does not start on the line after the opening bracket. - internal static string? @SA1116Description => GetResourceString("SA1116Description"); - /// The parameters should begin on the line after the declaration, whenever the parameter span across multiple lines - internal static string? @SA1116MessageFormat => GetResourceString("SA1116MessageFormat"); - /// Split parameters should start on line after declaration - internal static string? @SA1116Title => GetResourceString("SA1116Title"); - /// The parameters to a C# method or indexer call or declaration are not all on the same line or each on a separate line. - internal static string? @SA1117Description => GetResourceString("SA1117Description"); - /// The parameters should all be placed on the same line or each parameter should be placed on its own line - internal static string? @SA1117MessageFormat => GetResourceString("SA1117MessageFormat"); - /// Parameters should be on same line or separate lines - internal static string? @SA1117Title => GetResourceString("SA1117Title"); - /// A parameter to a C# method/indexer/attribute/array, other than the first parameter, spans across multiple lines. If the parameter is short, place the entire parameter on a single line. Otherwise, save the contents of the parameter in a temporary variable a ... - internal static string? @SA1118Description => GetResourceString("SA1118Description"); - /// The parameter spans multiple lines - internal static string? @SA1118MessageFormat => GetResourceString("SA1118MessageFormat"); - /// Parameter should not span multiple lines - internal static string? @SA1118Title => GetResourceString("SA1118Title"); - /// Remove empty comment - internal static string? @SA1120CodeFix => GetResourceString("SA1120CodeFix"); - /// The C# comment does not contain any comment text. - internal static string? @SA1120Description => GetResourceString("SA1120Description"); - /// Comments should contain text - internal static string? @SA1120MessageFormat => GetResourceString("SA1120MessageFormat"); - /// Comments should contain text - internal static string? @SA1120Title => GetResourceString("SA1120Title"); - /// Replace with built-in type - internal static string? @SA1121CodeFix => GetResourceString("SA1121CodeFix"); - /// The code uses one of the basic C# types, but does not use the built-in alias for the type. - internal static string? @SA1121Description => GetResourceString("SA1121Description"); - /// Use built-in type alias - internal static string? @SA1121MessageFormat => GetResourceString("SA1121MessageFormat"); - /// Use built-in type alias - internal static string? @SA1121Title => GetResourceString("SA1121Title"); - /// Replace with string.Empty - internal static string? @SA1122CodeFix => GetResourceString("SA1122CodeFix"); - /// The C# code includes an empty string, written as "". - internal static string? @SA1122Description => GetResourceString("SA1122Description"); - /// Use string.Empty for empty strings - internal static string? @SA1122MessageFormat => GetResourceString("SA1122MessageFormat"); - /// Use string.Empty for empty strings - internal static string? @SA1122Title => GetResourceString("SA1122Title"); - /// The C# code contains a region within the body of a code element. - internal static string? @SA1123Description => GetResourceString("SA1123Description"); - /// Region should not be located within a code element - internal static string? @SA1123MessageFormat => GetResourceString("SA1123MessageFormat"); - /// Do not place regions within elements - internal static string? @SA1123Title => GetResourceString("SA1123Title"); - /// The C# code contains a region. - internal static string? @SA1124Description => GetResourceString("SA1124Description"); - /// Do not use regions - internal static string? @SA1124MessageFormat => GetResourceString("SA1124MessageFormat"); - /// Do not use regions - internal static string? @SA1124Title => GetResourceString("SA1124Title"); - /// The Nullable<T> type has been defined not using the C# shorthand. For example, Nullable<DateTime> has been used instead of the preferred DateTime? - internal static string? @SA1125Description => GetResourceString("SA1125Description"); - /// Use shorthand for nullable types - internal static string? @SA1125MessageFormat => GetResourceString("SA1125MessageFormat"); - /// Use shorthand for nullable types - internal static string? @SA1125Title => GetResourceString("SA1125Title"); - /// A call to a member is not prefixed with the 'this.', 'base.', 'object.' or 'typename.' prefix to indicate the intended method call, within a C# code file. - internal static string? @SA1126Description => GetResourceString("SA1126Description"); - /// - internal static string? @SA1126MessageFormat => GetResourceString("SA1126MessageFormat"); - /// Prefix calls correctly - internal static string? @SA1126Title => GetResourceString("SA1126Title"); - /// Place each type constraint on a new line - internal static string? @SA1127CodeFix => GetResourceString("SA1127CodeFix"); - /// Each type constraint clause for a generic type parameter should be listed on a line of code by itself. - internal static string? @SA1127Description => GetResourceString("SA1127Description"); - /// Generic type constraints should be on their own line - internal static string? @SA1127MessageFormat => GetResourceString("SA1127MessageFormat"); - /// Generic type constraints should be on their own line - internal static string? @SA1127Title => GetResourceString("SA1127Title"); - /// Place constructor initializer on own line - internal static string? @SA1128CodeFix => GetResourceString("SA1128CodeFix"); - /// A constructor initializer, including the colon character, should be on its own line. - internal static string? @SA1128Description => GetResourceString("SA1128Description"); - /// Put constructor initializers on their own line - internal static string? @SA1128MessageFormat => GetResourceString("SA1128MessageFormat"); - /// Put constructor initializers on their own line - internal static string? @SA1128Title => GetResourceString("SA1128Title"); - /// Replace with default(T) - internal static string? @SA1129CodeFix => GetResourceString("SA1129CodeFix"); - /// When creating a new instance of a value type T, the syntax 'default(T)' is functionally equivalent to the syntax 'new T()'. To avoid confusion regarding the behavior of the resulting instance, the first form is preferred. - internal static string? @SA1129Description => GetResourceString("SA1129Description"); - /// Do not use default value type constructor - internal static string? @SA1129MessageFormat => GetResourceString("SA1129MessageFormat"); - /// Do not use default value type constructor - internal static string? @SA1129Title => GetResourceString("SA1129Title"); - /// Replace with lambda. - internal static string? @SA1130CodeFix => GetResourceString("SA1130CodeFix"); - /// Lambda expressions are more succinct and easier to read than anonymous methods, so they should are preferred whenever the two are functionally equivalent. - internal static string? @SA1130Description => GetResourceString("SA1130Description"); - /// Use lambda syntax - internal static string? @SA1130MessageFormat => GetResourceString("SA1130MessageFormat"); - /// Use lambda syntax - internal static string? @SA1130Title => GetResourceString("SA1130Title"); - /// Swap operands - internal static string? @SA1131CodeFix => GetResourceString("SA1131CodeFix"); - /// When a comparison is made between a variable and a literal, the variable should be placed on the left-hand-side to maximize readability. - internal static string? @SA1131Description => GetResourceString("SA1131Description"); - /// Constant values should appear on the right-hand side of comparisons - internal static string? @SA1131MessageFormat => GetResourceString("SA1131MessageFormat"); - /// Use readable conditions - internal static string? @SA1131Title => GetResourceString("SA1131Title"); - /// Place each field on a new line - internal static string? @SA1132CodeFix => GetResourceString("SA1132CodeFix"); - /// Each field should be declared on its own line, in order to clearly see each field of a type and allow for proper documentation of the behavior of each field. - internal static string? @SA1132Description => GetResourceString("SA1132Description"); - /// Each field should be declared on its own line - internal static string? @SA1132MessageFormat => GetResourceString("SA1132MessageFormat"); - /// Do not combine fields - internal static string? @SA1132Title => GetResourceString("SA1132Title"); - /// Give each attribute its own square brackets - internal static string? @SA1133CodeFix => GetResourceString("SA1133CodeFix"); - /// Each attribute usage should be placed in its own set of square brackets for maximum readability. - internal static string? @SA1133Description => GetResourceString("SA1133Description"); - /// Each attribute should be placed in its own set of square brackets - internal static string? @SA1133MessageFormat => GetResourceString("SA1133MessageFormat"); - /// Do not combine attributes - internal static string? @SA1133Title => GetResourceString("SA1133Title"); - /// Place attribute on own line. - internal static string? @SA1134CodeFix => GetResourceString("SA1134CodeFix"); - /// Each attribute should be placed on its own line of code. - internal static string? @SA1134Description => GetResourceString("SA1134Description"); - /// Each attribute should be placed on its own line of code - internal static string? @SA1134MessageFormat => GetResourceString("SA1134MessageFormat"); - /// Attributes should not share line - internal static string? @SA1134Title => GetResourceString("SA1134Title"); - /// Qualify using directive - internal static string? @SA1135CodeFix => GetResourceString("SA1135CodeFix"); - /// All using directives should be qualified. - internal static string? @SA1135Description => GetResourceString("SA1135Description"); - /// Using directive for namespace '{0}' should be qualified - internal static string? @SA1135MessageFormatNamespace => GetResourceString("SA1135MessageFormatNamespace"); - /// Using directive for type '{0}' should be qualified - internal static string? @SA1135MessageFormatType => GetResourceString("SA1135MessageFormatType"); - /// Using directives should be qualified - internal static string? @SA1135Title => GetResourceString("SA1135Title"); - /// Place enum values own their own lines - internal static string? @SA1136CodeFix => GetResourceString("SA1136CodeFix"); - /// Enum values should be placed on their own lines for maximum readability. - internal static string? @SA1136Description => GetResourceString("SA1136Description"); - /// Enum values should be on separate lines - internal static string? @SA1136MessageFormat => GetResourceString("SA1136MessageFormat"); - /// Enum values should be on separate lines - internal static string? @SA1136Title => GetResourceString("SA1136Title"); - /// Elements at the same level in the syntax tree should have the same indentation. - internal static string? @SA1137Description => GetResourceString("SA1137Description"); - /// Elements should have the same indentation - internal static string? @SA1137MessageFormat => GetResourceString("SA1137MessageFormat"); - /// Elements should have the same indentation - internal static string? @SA1137Title => GetResourceString("SA1137Title"); - /// Use literal suffix notation instead of casting - internal static string? @SA1139CodeFix => GetResourceString("SA1139CodeFix"); - /// Use literal suffix notation instead of casting, in order to improve readability, avoid bugs related to illegal casts and ensure that optimal IL is produced. - internal static string? @SA1139Description => GetResourceString("SA1139Description"); - /// Use literal suffix notation instead of casting - internal static string? @SA1139MessageFormat => GetResourceString("SA1139MessageFormat"); - /// Use literal suffix notation instead of casting - internal static string? @SA1139Title => GetResourceString("SA1139Title"); - /// Replace with tuple syntax - internal static string? @SA1141CodeFix => GetResourceString("SA1141CodeFix"); - /// Use tuple syntax instead of the underlying ValueTuple implementation type. - internal static string? @SA1141Description => GetResourceString("SA1141Description"); - /// Use tuple syntax - internal static string? @SA1141MessageFormat => GetResourceString("SA1141MessageFormat"); - /// Use tuple syntax - internal static string? @SA1141Title => GetResourceString("SA1141Title"); - /// Use tuple field name - internal static string? @SA1142CodeFix => GetResourceString("SA1142CodeFix"); - /// A field of a tuple was referenced by its metadata name when a field name is available. - internal static string? @SA1142Description => GetResourceString("SA1142Description"); - /// Refer to tuple fields by name - internal static string? @SA1142MessageFormat => GetResourceString("SA1142MessageFormat"); - /// Refer to tuple fields by name - internal static string? @SA1142Title => GetResourceString("SA1142Title"); - /// Remove 'this.' prefix - internal static string? @SX1101CodeFix => GetResourceString("SX1101CodeFix"); - /// A call to an instance member of the local class or a base class is prefixed with `this.`. - internal static string? @SX1101Description => GetResourceString("SX1101Description"); - /// Do not prefix local calls with 'this.' - internal static string? @SX1101MessageFormat => GetResourceString("SX1101MessageFormat"); - /// Do not prefix local calls with 'this.' - internal static string? @SX1101Title => GetResourceString("SX1101Title"); - - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.Settings.SettingsResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.Settings.SettingsResources.Designer.cs deleted file mode 100644 index 2db61ce2c..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.Settings.SettingsResources.Designer.cs +++ /dev/null @@ -1,20 +0,0 @@ -// - -#nullable enable -using System.Reflection; - - -namespace StyleCop.Analyzers.Settings -{ - internal static partial class SettingsResources - { - private static global::System.Resources.ResourceManager? s_resourceManager; - internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(SettingsResources))); - internal static global::System.Globalization.CultureInfo? Culture { get; set; } - [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] - internal static string? GetResourceString(string resourceKey, string? defaultValue = null) => ResourceManager.GetString(resourceKey, Culture) ?? defaultValue; - /// Add StyleCop settings file to the project - internal static string? @SettingsFileCodeFix => GetResourceString("SettingsFileCodeFix"); - - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.SpacingRules.SpacingResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.SpacingRules.SpacingResources.Designer.cs deleted file mode 100644 index b68cc02d5..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.SpacingRules.SpacingResources.Designer.cs +++ /dev/null @@ -1,248 +0,0 @@ -// - -#nullable enable -using System.Reflection; - - -namespace StyleCop.Analyzers.SpacingRules -{ - internal static partial class SpacingResources - { - private static global::System.Resources.ResourceManager? s_resourceManager; - internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(SpacingResources))); - internal static global::System.Globalization.CultureInfo? Culture { get; set; } - [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] - internal static string? GetResourceString(string resourceKey, string? defaultValue = null) => ResourceManager.GetString(resourceKey, Culture) ?? defaultValue; - /// The spacing around a C# keyword is incorrect. - internal static string? @SA1000Description => GetResourceString("SA1000Description"); - /// The keyword '{0}' should{1} be followed by a space - internal static string? @SA1000MessageFormat => GetResourceString("SA1000MessageFormat"); - /// Keywords should be spaced correctly - internal static string? @SA1000Title => GetResourceString("SA1000Title"); - /// The spacing around a comma is incorrect, within a C# code file. - internal static string? @SA1001Description => GetResourceString("SA1001Description"); - /// Commas should{0} be {1} by whitespace - internal static string? @SA1001MessageFormat => GetResourceString("SA1001MessageFormat"); - /// Commas should be spaced correctly - internal static string? @SA1001Title => GetResourceString("SA1001Title"); - /// The spacing around a semicolon is incorrect, within a C# code file. - internal static string? @SA1002Description => GetResourceString("SA1002Description"); - /// Semicolons should{0} be {1} by a space - internal static string? @SA1002MessageFormat => GetResourceString("SA1002MessageFormat"); - /// Semicolons should be spaced correctly - internal static string? @SA1002Title => GetResourceString("SA1002Title"); - /// Fix spacing - internal static string? @SA1003CodeFix => GetResourceString("SA1003CodeFix"); - /// The spacing around an operator symbol is incorrect, within a C# code file. - internal static string? @SA1003Description => GetResourceString("SA1003Description"); - /// Operator '{0}' should be followed by whitespace. - internal static string? @SA1003MessageFormatFollowedByWhitespace => GetResourceString("SA1003MessageFormatFollowedByWhitespace"); - /// Operator '{0}' should not appear at the end of a line. - internal static string? @SA1003MessageFormatNotAtEndOfLine => GetResourceString("SA1003MessageFormatNotAtEndOfLine"); - /// Operator '{0}' should not be followed by a comment. - internal static string? @SA1003MessageFormatNotFollowedByComment => GetResourceString("SA1003MessageFormatNotFollowedByComment"); - /// Operator '{0}' should not be followed by whitespace. - internal static string? @SA1003MessageFormatNotFollowedByWhitespace => GetResourceString("SA1003MessageFormatNotFollowedByWhitespace"); - /// Operator '{0}' should not be preceded by whitespace. - internal static string? @SA1003MessageFormatNotPrecededByWhitespace => GetResourceString("SA1003MessageFormatNotPrecededByWhitespace"); - /// Operator '{0}' should be preceded by whitespace. - internal static string? @SA1003MessageFormatPrecededByWhitespace => GetResourceString("SA1003MessageFormatPrecededByWhitespace"); - /// Symbols should be spaced correctly - internal static string? @SA1003Title => GetResourceString("SA1003Title"); - /// Fix spacing - internal static string? @SA1004CodeFix => GetResourceString("SA1004CodeFix"); - /// A line within a documentation header above a C# element does not begin with a single space. - internal static string? @SA1004Description => GetResourceString("SA1004Description"); - /// Documentation line should begin with a space - internal static string? @SA1004MessageFormat => GetResourceString("SA1004MessageFormat"); - /// Documentation lines should begin with single space - internal static string? @SA1004Title => GetResourceString("SA1004Title"); - /// Fix spacing - internal static string? @SA1005CodeFix => GetResourceString("SA1005CodeFix"); - /// A single-line comment within a C# code file does not begin with a single space. - internal static string? @SA1005Description => GetResourceString("SA1005Description"); - /// Single line comment should begin with a space - internal static string? @SA1005MessageFormat => GetResourceString("SA1005MessageFormat"); - /// Single line comments should begin with single space - internal static string? @SA1005Title => GetResourceString("SA1005Title"); - /// A C# preprocessor-type keyword is preceded by space. - internal static string? @SA1006Description => GetResourceString("SA1006Description"); - /// Preprocessor keyword '{0}' should not be preceded by a space - internal static string? @SA1006MessageFormat => GetResourceString("SA1006MessageFormat"); - /// Preprocessor keywords should not be preceded by space - internal static string? @SA1006Title => GetResourceString("SA1006Title"); - /// The operator keyword within a C# operator overload method is not followed by any whitespace. - internal static string? @SA1007Description => GetResourceString("SA1007Description"); - /// Operator keyword should be followed by a space - internal static string? @SA1007MessageFormat => GetResourceString("SA1007MessageFormat"); - /// Operator keyword should be followed by space - internal static string? @SA1007Title => GetResourceString("SA1007Title"); - /// Fix spacing - internal static string? @SA1008CodeFix => GetResourceString("SA1008CodeFix"); - /// An opening parenthesis within a C# statement is not spaced correctly. - internal static string? @SA1008Description => GetResourceString("SA1008Description"); - /// Opening parenthesis should not be followed by a space. - internal static string? @SA1008MessageNotFollowed => GetResourceString("SA1008MessageNotFollowed"); - /// Opening parenthesis should not be preceded by a space. - internal static string? @SA1008MessageNotPreceded => GetResourceString("SA1008MessageNotPreceded"); - /// Opening parenthesis should be preceded by a space. - internal static string? @SA1008MessagePreceded => GetResourceString("SA1008MessagePreceded"); - /// Opening parenthesis should be spaced correctly - internal static string? @SA1008Title => GetResourceString("SA1008Title"); - /// A closing parenthesis within a C# statement is not spaced correctly. - internal static string? @SA1009Description => GetResourceString("SA1009Description"); - /// Closing parenthesis should be followed by a space - internal static string? @SA1009MessageFollowed => GetResourceString("SA1009MessageFollowed"); - /// Closing parenthesis should not be followed by a space - internal static string? @SA1009MessageNotFollowed => GetResourceString("SA1009MessageNotFollowed"); - /// Closing parenthesis should not be preceded by a space - internal static string? @SA1009MessageNotPreceded => GetResourceString("SA1009MessageNotPreceded"); - /// Closing parenthesis should be spaced correctly - internal static string? @SA1009Title => GetResourceString("SA1009Title"); - /// An opening square bracket within a C# statement is not spaced correctly. - internal static string? @SA1010Description => GetResourceString("SA1010Description"); - /// Opening square brackets should not be followed by a space - internal static string? @SA1010MessageNotFollowed => GetResourceString("SA1010MessageNotFollowed"); - /// Opening square brackets should not be preceded by a space - internal static string? @SA1010MessageNotPreceded => GetResourceString("SA1010MessageNotPreceded"); - /// Opening square brackets should be spaced correctly - internal static string? @SA1010Title => GetResourceString("SA1010Title"); - /// A closing square bracket within a C# statement is not spaced correctly. - internal static string? @SA1011Description => GetResourceString("SA1011Description"); - /// Closing square bracket should{0} be {1} by a space - internal static string? @SA1011MessageFormat => GetResourceString("SA1011MessageFormat"); - /// Closing square brackets should be spaced correctly - internal static string? @SA1011Title => GetResourceString("SA1011Title"); - /// An opening brace within a C# element is not spaced correctly. - internal static string? @SA1012Description => GetResourceString("SA1012Description"); - /// Opening brace should{0} be {1} by a space - internal static string? @SA1012MessageFormat => GetResourceString("SA1012MessageFormat"); - /// Opening braces should be spaced correctly - internal static string? @SA1012Title => GetResourceString("SA1012Title"); - /// A closing brace within a C# element is not spaced correctly. - internal static string? @SA1013Description => GetResourceString("SA1013Description"); - /// Closing brace should{0} be {1} by a space - internal static string? @SA1013MessageFormat => GetResourceString("SA1013MessageFormat"); - /// Closing braces should be spaced correctly - internal static string? @SA1013Title => GetResourceString("SA1013Title"); - /// An opening generic bracket within a C# element is not spaced correctly. - internal static string? @SA1014Description => GetResourceString("SA1014Description"); - /// Opening generic brackets should not be {0} by a space - internal static string? @SA1014MessageFormat => GetResourceString("SA1014MessageFormat"); - /// Opening generic brackets should be spaced correctly - internal static string? @SA1014Title => GetResourceString("SA1014Title"); - /// A closing generic bracket within a C# element is not spaced correctly. - internal static string? @SA1015Description => GetResourceString("SA1015Description"); - /// Closing generic bracket should be followed by a space - internal static string? @SA1015MessageFollowed => GetResourceString("SA1015MessageFollowed"); - /// Closing generic bracket should not be followed by a space - internal static string? @SA1015MessageNotFollowed => GetResourceString("SA1015MessageNotFollowed"); - /// Closing generic bracket should not be preceded by a space - internal static string? @SA1015MessageNotPreceded => GetResourceString("SA1015MessageNotPreceded"); - /// Closing generic brackets should be spaced correctly - internal static string? @SA1015Title => GetResourceString("SA1015Title"); - /// An opening attribute bracket within a C# element is not spaced correctly. - internal static string? @SA1016Description => GetResourceString("SA1016Description"); - /// Opening attribute brackets should not be followed by a space - internal static string? @SA1016MessageFormat => GetResourceString("SA1016MessageFormat"); - /// Opening attribute brackets should be spaced correctly - internal static string? @SA1016Title => GetResourceString("SA1016Title"); - /// A closing attribute bracket within a C# element is not spaced correctly. - internal static string? @SA1017Description => GetResourceString("SA1017Description"); - /// Closing attribute brackets should not be preceded by a space - internal static string? @SA1017MessageFormat => GetResourceString("SA1017MessageFormat"); - /// Closing attribute brackets should be spaced correctly - internal static string? @SA1017Title => GetResourceString("SA1017Title"); - /// Fix spacing - internal static string? @SA1018CodeFix => GetResourceString("SA1018CodeFix"); - /// A nullable type symbol within a C# element is not spaced correctly. - internal static string? @SA1018Description => GetResourceString("SA1018Description"); - /// Nullable type symbol should not be preceded by a space - internal static string? @SA1018MessageFormat => GetResourceString("SA1018MessageFormat"); - /// Nullable type symbols should be spaced correctly - internal static string? @SA1018Title => GetResourceString("SA1018Title"); - /// The spacing around a member access symbol is incorrect, within a C# code file. - internal static string? @SA1019Description => GetResourceString("SA1019Description"); - /// Member access symbol '{0}' should not be followed by a space - internal static string? @SA1019MessageNotFollowed => GetResourceString("SA1019MessageNotFollowed"); - /// Member access symbol '{0}' should not be preceded by a space - internal static string? @SA1019MessageNotPreceded => GetResourceString("SA1019MessageNotPreceded"); - /// Member access symbols should be spaced correctly - internal static string? @SA1019Title => GetResourceString("SA1019Title"); - /// An increment or decrement symbol within a C# element is not spaced correctly. - internal static string? @SA1020Description => GetResourceString("SA1020Description"); - /// {0} symbol '{1}' should not be {2} by a space - internal static string? @SA1020MessageFormat => GetResourceString("SA1020MessageFormat"); - /// Increment decrement symbols should be spaced correctly - internal static string? @SA1020Title => GetResourceString("SA1020Title"); - /// A negative sign within a C# element is not spaced correctly. - internal static string? @SA1021Description => GetResourceString("SA1021Description"); - /// Negative sign should{0} be {1} by a space - internal static string? @SA1021MessageFormat => GetResourceString("SA1021MessageFormat"); - /// Negative signs should be spaced correctly - internal static string? @SA1021Title => GetResourceString("SA1021Title"); - /// A positive sign within a C# element is not spaced correctly. - internal static string? @SA1022Description => GetResourceString("SA1022Description"); - /// Positive sign should{0} be {1} by a space - internal static string? @SA1022MessageFormat => GetResourceString("SA1022MessageFormat"); - /// Positive signs should be spaced correctly - internal static string? @SA1022Title => GetResourceString("SA1022Title"); - /// A dereference symbol or an access-of symbol within a C# element is not spaced correctly. - internal static string? @SA1023Description => GetResourceString("SA1023Description"); - /// Dereference symbol '*' should be followed by a space - internal static string? @SA1023MessageFollowed => GetResourceString("SA1023MessageFollowed"); - /// Dereference symbol '*' should not appear at the beginning of a line - internal static string? @SA1023MessageNotAtBeginningOfLine => GetResourceString("SA1023MessageNotAtBeginningOfLine"); - /// Dereference symbol '*' should not appear at the end of a line - internal static string? @SA1023MessageNotAtEndOfLine => GetResourceString("SA1023MessageNotAtEndOfLine"); - /// Dereference symbol '*' should not be followed by a space - internal static string? @SA1023MessageNotFollowed => GetResourceString("SA1023MessageNotFollowed"); - /// Dereference symbol '*' should not be preceded by a space - internal static string? @SA1023MessageNotPreceded => GetResourceString("SA1023MessageNotPreceded"); - /// Dereference and access of symbols should be spaced correctly - internal static string? @SA1023Title => GetResourceString("SA1023Title"); - /// A colon within a C# element is not spaced correctly. - internal static string? @SA1024Description => GetResourceString("SA1024Description"); - /// Colon should be followed by a space - internal static string? @SA1024MessageFollowed => GetResourceString("SA1024MessageFollowed"); - /// Colon should not be preceded by a space - internal static string? @SA1024MessageNotPreceded => GetResourceString("SA1024MessageNotPreceded"); - /// Colon should be preceded by a space - internal static string? @SA1024MessagePreceded => GetResourceString("SA1024MessagePreceded"); - /// Colons Should Be Spaced Correctly - internal static string? @SA1024Title => GetResourceString("SA1024Title"); - /// Fix spacing - internal static string? @SA1025CodeFix => GetResourceString("SA1025CodeFix"); - /// The code contains multiple whitespace characters in a row. - internal static string? @SA1025Description => GetResourceString("SA1025Description"); - /// Code should not contain multiple whitespace characters in a row - internal static string? @SA1025MessageFormat => GetResourceString("SA1025MessageFormat"); - /// Code should not contain multiple whitespace in a row - internal static string? @SA1025Title => GetResourceString("SA1025Title"); - /// An implicitly typed array allocation within a C# code file is not spaced correctly. - internal static string? @SA1026Description => GetResourceString("SA1026Description"); - /// The keyword '{0}' should not be followed by a space or a blank line - internal static string? @SA1026MessageFormat => GetResourceString("SA1026MessageFormat"); - /// Code should not contain space after new or stackalloc keyword in implicitly typed array allocation - internal static string? @SA1026Title => GetResourceString("SA1026Title"); - /// Replace tabs with spaces - internal static string? @SA1027CodeFix => GetResourceString("SA1027CodeFix"); - /// The code contains a tab or space character which is not consistent with the current project settings. - internal static string? @SA1027Description => GetResourceString("SA1027Description"); - /// Tabs and spaces should be used correctly - internal static string? @SA1027MessageFormat => GetResourceString("SA1027MessageFormat"); - /// Use tabs correctly - internal static string? @SA1027Title => GetResourceString("SA1027Title"); - /// Remove trailing whitespace - internal static string? @SA1028CodeFix => GetResourceString("SA1028CodeFix"); - /// There should not be any whitespace at the end of a line of code. - internal static string? @SA1028Description => GetResourceString("SA1028Description"); - /// Code should not contain trailing whitespace - internal static string? @SA1028MessageFormat => GetResourceString("SA1028MessageFormat"); - /// Code should not contain trailing whitespace - internal static string? @SA1028Title => GetResourceString("SA1028Title"); - /// Fix spacing - internal static string? @TokenSpacingCodeFix => GetResourceString("TokenSpacingCodeFix"); - - } -} diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.SpecialRules.SpecialResources.Designer.cs b/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.SpecialRules.SpecialResources.Designer.cs deleted file mode 100644 index fc2e8569a..000000000 --- a/StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp/Microsoft.CodeAnalysis.ResxSourceGenerator.CSharp.CSharpResxGenerator/StyleCop.Analyzers.SpecialRules.SpecialResources.Designer.cs +++ /dev/null @@ -1,32 +0,0 @@ -// - -#nullable enable -using System.Reflection; - - -namespace StyleCop.Analyzers.SpecialRules -{ - internal static partial class SpecialResources - { - private static global::System.Resources.ResourceManager? s_resourceManager; - internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(SpecialResources))); - internal static global::System.Globalization.CultureInfo? Culture { get; set; } - [global::System.Runtime.CompilerServices.MethodImpl(global::System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] - internal static string? GetResourceString(string resourceKey, string? defaultValue = null) => ResourceManager.GetString(resourceKey, Culture) ?? defaultValue; - /// XML comment analysis can only be performed when the project is configured to parse documentation comments. To enable this functionality, update the project to produce an XML documentation file as part of the build. - internal static string? @SA0001Description => GetResourceString("SA0001Description"); - /// XML comment analysis is disabled due to project configuration - internal static string? @SA0001MessageFormat => GetResourceString("SA0001MessageFormat"); - /// XML comment analysis disabled - internal static string? @SA0001Title => GetResourceString("SA0001Title"); - /// Various errors in the stylecop.json file can prevent the file from being loaded by the analyzers. In this case, the default settings are used instead. - /// - /// {0} - internal static string? @SA0002Description => GetResourceString("SA0002Description"); - /// The stylecop.json settings file could not be loaded - internal static string? @SA0002MessageFormat => GetResourceString("SA0002MessageFormat"); - /// Invalid settings file - internal static string? @SA0002Title => GetResourceString("SA0002Title"); - - } -} From d80801a32780b331c12e38ca492352ef8acf1da1 Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Wed, 29 Mar 2023 15:12:47 -0500 Subject: [PATCH 3/5] Do not emit compiler generated files during CI builds --- StyleCop.Analyzers/StyleCop.Analyzers/StyleCop.Analyzers.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StyleCop.Analyzers/StyleCop.Analyzers/StyleCop.Analyzers.csproj b/StyleCop.Analyzers/StyleCop.Analyzers/StyleCop.Analyzers.csproj index bafb2794e..ce6ba7684 100644 --- a/StyleCop.Analyzers/StyleCop.Analyzers/StyleCop.Analyzers.csproj +++ b/StyleCop.Analyzers/StyleCop.Analyzers/StyleCop.Analyzers.csproj @@ -24,7 +24,7 @@ - true + true $(MSBuildProjectDirectory)\Lightup\.generated From 6034a5f13d268c9dea5f4dd89d76b767c86e7ccb Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Sat, 8 Apr 2023 15:25:16 -0500 Subject: [PATCH 4/5] Update to Microsoft.CodeAnalysis.ResxSourceGenerator 3.3.5-beta1.23205.2 --- StyleCop.Analyzers/Directory.Build.props | 2 +- StyleCop.Analyzers/Directory.Build.targets | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/StyleCop.Analyzers/Directory.Build.props b/StyleCop.Analyzers/Directory.Build.props index f8a146eac..8974f6012 100644 --- a/StyleCop.Analyzers/Directory.Build.props +++ b/StyleCop.Analyzers/Directory.Build.props @@ -53,7 +53,7 @@ - + diff --git a/StyleCop.Analyzers/Directory.Build.targets b/StyleCop.Analyzers/Directory.Build.targets index d71f2975b..8a6c75700 100644 --- a/StyleCop.Analyzers/Directory.Build.targets +++ b/StyleCop.Analyzers/Directory.Build.targets @@ -1,17 +1,13 @@ - - true - - - + - + From d385cc9fd6b740ac4b02581c129be9f86a732d79 Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Mon, 24 Apr 2023 14:18:21 -0500 Subject: [PATCH 5/5] Update to Microsoft.CodeAnalysis.ResxSourceGenerator 3.3.5-beta1.23223.2 --- StyleCop.Analyzers/Directory.Build.props | 4 ++-- StyleCop.Analyzers/Directory.Build.targets | 15 --------------- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/StyleCop.Analyzers/Directory.Build.props b/StyleCop.Analyzers/Directory.Build.props index 8974f6012..0dfa64be9 100644 --- a/StyleCop.Analyzers/Directory.Build.props +++ b/StyleCop.Analyzers/Directory.Build.props @@ -48,12 +48,12 @@ - + - + diff --git a/StyleCop.Analyzers/Directory.Build.targets b/StyleCop.Analyzers/Directory.Build.targets index 8a6c75700..f3adcdfc6 100644 --- a/StyleCop.Analyzers/Directory.Build.targets +++ b/StyleCop.Analyzers/Directory.Build.targets @@ -1,21 +1,6 @@ - - - - - - - - - - - - - - -