Created
November 15, 2020 10:00
-
-
Save cezarypiatek/e288d392b665646f90d535df09851272 to your computer and use it in GitHub Desktop.
Disposable analyzers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# CC0095: Use string interpolation instead of arguments on Console.WriteLine | |
dotnet_diagnostic.CC0095.severity = none | |
# CC0118: Unnecessary '.ToString()' call in string concatenation. | |
dotnet_diagnostic.CC0118.severity = none | |
# CC0088: Consider use "" | |
dotnet_diagnostic.CC0088.severity = none | |
# CC0084: Consider use 'String.Empty' | |
dotnet_diagnostic.CC0084.severity = none | |
# CC0001: You should use 'var' whenever possible. | |
dotnet_diagnostic.CC0001.severity = none | |
# CC0105: You should use 'var' whenever possible. | |
dotnet_diagnostic.CC0105.severity = none | |
# CC0020: You should remove the lambda expression when it only invokes a method with the same signature | |
dotnet_diagnostic.CC0020.severity = none | |
# CC0072: Remove Async termination when method is not asynchronous. | |
dotnet_diagnostic.CC0072.severity = none | |
# CC0017: Use auto property | |
dotnet_diagnostic.CC0017.severity = none | |
# CC0061: Asynchronous method can be terminated with the 'Async' keyword. | |
dotnet_diagnostic.CC0061.severity = none | |
# CC0047: You should change to 'private set' whenever possible. | |
dotnet_diagnostic.CC0047.severity = none | |
# CC0037: Remove commented code. | |
dotnet_diagnostic.CC0037.severity = none | |
# CC0065: Remove trailing whitespace | |
dotnet_diagnostic.CC0065.severity = none | |
# CC0038: You should use expression bodied members whenever possible. | |
dotnet_diagnostic.CC0038.severity = none | |
# CC0019: Use 'switch' | |
dotnet_diagnostic.CC0019.severity = none | |
# CC0018: Use the existence operator | |
dotnet_diagnostic.CC0018.severity = none | |
# CC0048: Use string interpolation instead of String.Format | |
dotnet_diagnostic.CC0048.severity = none | |
# CC0062: You should add letter 'I' before interface name. | |
dotnet_diagnostic.CC0062.severity = none | |
# CC0005: Empty Object Initializer | |
dotnet_diagnostic.CC0005.severity = none | |
# CC0006: Use foreach | |
dotnet_diagnostic.CC0006.severity = none | |
# CC0008: Use object initializer | |
dotnet_diagnostic.CC0008.severity = none | |
# CC0009: Use object initializer | |
dotnet_diagnostic.CC0009.severity = none | |
# CC0013: Use ternary operator | |
dotnet_diagnostic.CC0013.severity = none | |
# CC0014: Use ternary operator | |
dotnet_diagnostic.CC0014.severity = none | |
# CC0015: Unnecessary Parenthesis | |
dotnet_diagnostic.CC0015.severity = none | |
# CC0070: Use ConfigureAwait(false) on awaited task. | |
dotnet_diagnostic.CC0070.severity = none | |
# CC0090: You have missing/unexistent parameters in Xml Docs | |
dotnet_diagnostic.CC0090.severity = none | |
# CC0097: You have missing/unexistent parameters in Xml Docs | |
dotnet_diagnostic.CC0097.severity = none | |
# CC0073: Add braces to switch sections. | |
dotnet_diagnostic.CC0073.severity = none | |
# CC0035: Ordering member inside this type. | |
dotnet_diagnostic.CC0035.severity = none | |
# CC0075: Merge nested ifs | |
dotnet_diagnostic.CC0075.severity = none | |
# CC0082: Change for expression value | |
dotnet_diagnostic.CC0082.severity = none | |
# CC0043: Change Any to All | |
dotnet_diagnostic.CC0043.severity = none | |
# CC0092: Change All to Any | |
dotnet_diagnostic.CC0092.severity = none | |
# CC0125: Property can be simplified by using an getter-only auto-property. | |
dotnet_diagnostic.CC0125.severity = none | |
# CC0106: PropertyChangedEventArgs unnecessary allocation | |
dotnet_diagnostic.CC0106.severity = none | |
# CC0076: Split into nested if | |
dotnet_diagnostic.CC0076.severity = none | |
# CC0071: Consider introduce field for constructor parameters. | |
dotnet_diagnostic.CC0071.severity = none | |
# CC0044: You should use a class | |
dotnet_diagnostic.CC0044.severity = none | |
# CC0079: Change numeric literal expression | |
dotnet_diagnostic.CC0079.severity = none | |
# CC0045: Regular string | |
dotnet_diagnostic.CC0045.severity = none | |
# CC0046: Verbatim string | |
dotnet_diagnostic.CC0046.severity = none | |
# CC0042: Invert the for loop counting. | |
dotnet_diagnostic.CC0042.severity = none | |
# CC0039: Don't concatenate strings in loops | |
dotnet_diagnostic.CC0039.severity = none | |
# CC0060: Abstract class should not have public constructors. | |
dotnet_diagnostic.CC0060.severity = none | |
# CC0002: Invalid argument name | |
dotnet_diagnostic.CC0002.severity = none | |
# CC0026: Call Extension Method As Extension | |
dotnet_diagnostic.CC0026.severity = none | |
# CC0022: Should dispose object | |
dotnet_diagnostic.CC0022.severity = none | |
# CC0029: Disposables Should Call Suppress Finalize | |
dotnet_diagnostic.CC0029.severity = none | |
# CC0033: Dispose Fields Properly | |
dotnet_diagnostic.CC0033.severity = none | |
# CC0032: Dispose Fields Properly | |
dotnet_diagnostic.CC0032.severity = none | |
# CC0121: Complex fields must be readonly | |
dotnet_diagnostic.CC0121.severity = none | |
# CC0089: Remove redundant else. | |
dotnet_diagnostic.CC0089.severity = none | |
# CC0068: Unused Method | |
dotnet_diagnostic.CC0068.severity = none | |
# CC0074: Make field readonly | |
dotnet_diagnostic.CC0074.severity = none | |
# CC0034: Redundant field assignment | |
dotnet_diagnostic.CC0034.severity = none | |
# CC0111: Incorrect String.Format usage | |
dotnet_diagnostic.CC0111.severity = none | |
# CC0056: Incorrect String.Format usage | |
dotnet_diagnostic.CC0056.severity = none | |
# CC0057: Unused parameters | |
dotnet_diagnostic.CC0057.severity = none | |
# CC0064: Your IP Address syntax is incorrect. | |
dotnet_diagnostic.CC0064.severity = none | |
# CC0054: Your Json syntax is wrong | |
dotnet_diagnostic.CC0054.severity = none | |
# CC0052: Make field readonly | |
dotnet_diagnostic.CC0052.severity = none | |
# CC0010: Your regex expression is incorrect | |
dotnet_diagnostic.CC0010.severity = none | |
# CC0007: Return Condition directly | |
dotnet_diagnostic.CC0007.severity = none | |
# CC0012: Your throw does nothing | |
dotnet_diagnostic.CC0012.severity = none | |
# CC0049: Simplify expression | |
dotnet_diagnostic.CC0049.severity = none | |
# CC0063: Your Uri syntax is wrong. | |
dotnet_diagnostic.CC0063.severity = none | |
# CC0067: Virtual Method Called On Constructor | |
dotnet_diagnostic.CC0067.severity = none | |
# CC0081: Use of Regex.IsMatch might be improved | |
dotnet_diagnostic.CC0081.severity = none | |
# CC0025: Remove Empty Finalizers | |
dotnet_diagnostic.CC0025.severity = none | |
# CC0030: Make Local Variable Constant. | |
dotnet_diagnostic.CC0030.severity = none | |
# CC0011: You should remove the 'Where' invocation when it is possible. | |
dotnet_diagnostic.CC0011.severity = none | |
# CC0023: Unsealed Attribute | |
dotnet_diagnostic.CC0023.severity = none | |
# CC0091: Use static method | |
dotnet_diagnostic.CC0091.severity = none | |
# CC0120: Your Switch maybe include default clause | |
dotnet_diagnostic.CC0120.severity = none | |
# CC0021: Use nameof | |
dotnet_diagnostic.CC0021.severity = none | |
# CC0108: Use nameof | |
dotnet_diagnostic.CC0108.severity = none | |
# CC0004: Catch block cannot be empty | |
dotnet_diagnostic.CC0004.severity = none | |
# CC0003: Your catch should include an Exception | |
dotnet_diagnostic.CC0003.severity = none | |
# CC0024: Don't throw exceptions inside static constructors. | |
dotnet_diagnostic.CC0024.severity = none | |
# CC0031: Check for null before calling a delegate | |
dotnet_diagnostic.CC0031.severity = none | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# DF0000: Marks undisposed anonymous objects from object creations. | |
dotnet_diagnostic.DF0000.severity = none | |
# DF0001: Marks undisposed anonymous objects from method invocations. | |
dotnet_diagnostic.DF0001.severity = none | |
# DF0010: Marks undisposed local variables. | |
dotnet_diagnostic.DF0010.severity = none | |
# DF0020: Marks undisposed objects assinged to a field, originated in an object creation. | |
dotnet_diagnostic.DF0020.severity = none | |
# DF0022: Marks undisposed objects assinged to a property, originated in an object creation. | |
dotnet_diagnostic.DF0022.severity = none | |
# DF0021: Marks undisposed objects assinged to a field, originated from method invocation. | |
dotnet_diagnostic.DF0021.severity = none | |
# DF0023: Marks undisposed objects assinged to a property, originated from a method invocation. | |
dotnet_diagnostic.DF0023.severity = none | |
# DF0024: Marks undisposed objects assinged to a field, originated in an object creation. | |
dotnet_diagnostic.DF0024.severity = none | |
# DF0026: Marks undisposed objects assinged to a property, originated in an object creation. | |
dotnet_diagnostic.DF0026.severity = none | |
# DF0025: Marks undisposed objects assinged to a field, originated from method invocation. | |
dotnet_diagnostic.DF0025.severity = none | |
# DF0027: Marks undisposed objects assinged to a property, originated from a method invocation. | |
dotnet_diagnostic.DF0027.severity = none | |
# DF0030: Marks undisposed objects assinged to a field, originated in an object creation. | |
dotnet_diagnostic.DF0030.severity = none | |
# DF0032: Marks undisposed objects assinged to a property, originated in an object creation. | |
dotnet_diagnostic.DF0032.severity = none | |
# DF0031: Marks undisposed objects assinged to a field, originated from method invocation. | |
dotnet_diagnostic.DF0031.severity = none | |
# DF0033: Marks undisposed objects assinged to a property, originated from a method invocation. | |
dotnet_diagnostic.DF0033.severity = none | |
# DF0034: Marks undisposed objects assinged to a field, originated in an object creation. | |
dotnet_diagnostic.DF0034.severity = none | |
# DF0036: Marks undisposed objects assinged to a property, originated in an object creation. | |
dotnet_diagnostic.DF0036.severity = none | |
# DF0035: Marks undisposed objects assinged to a field, originated from method invocation. | |
dotnet_diagnostic.DF0035.severity = none | |
# DF0037: Marks undisposed objects assinged to a property, originated from a method invocation. | |
dotnet_diagnostic.DF0037.severity = none | |
# DF0028: Marks undisposed factory properties. | |
dotnet_diagnostic.DF0028.severity = none | |
# DF0029: Marks undisposed static factory properties. | |
dotnet_diagnostic.DF0029.severity = none | |
# DF0100: Marks return values that hides the IDisposable implementation of return value. | |
dotnet_diagnostic.DF0100.severity = none | |
# DF0110: Marks an Dispose implementation that is not in use. | |
dotnet_diagnostic.DF0110.severity = none | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# CA9999: Analyzer version mismatch | |
dotnet_diagnostic.CA9999.severity = none | |
# CA2246: Assigning symbol and its member in the same statement | |
dotnet_diagnostic.CA2246.severity = none | |
# CA2244: Do not duplicate indexed element initializations | |
dotnet_diagnostic.CA2244.severity = none | |
# CA2011: Avoid infinite recursion | |
dotnet_diagnostic.CA2011.severity = none | |
# CA2245: Do not assign a property to itself | |
dotnet_diagnostic.CA2245.severity = none | |
# CA2214: Do not call overridable methods in constructors | |
dotnet_diagnostic.CA2214.severity = none | |
# CA1070: Do not declare event fields as virtual | |
dotnet_diagnostic.CA1070.severity = none | |
# CA1805: Do not initialize unnecessarily | |
dotnet_diagnostic.CA1805.severity = none | |
# CA2219: Do not raise exceptions in finally clauses | |
dotnet_diagnostic.CA2219.severity = none | |
# CA1822: Mark members as static | |
dotnet_diagnostic.CA1822.severity = none | |
# CA1814: Prefer jagged arrays over multidimensional | |
dotnet_diagnostic.CA1814.severity = none | |
# CA1821: Remove empty Finalizers | |
dotnet_diagnostic.CA1821.severity = none | |
# CA2200: Rethrow to preserve stack details | |
dotnet_diagnostic.CA2200.severity = none | |
# CA2109: Review visible event handlers | |
dotnet_diagnostic.CA2109.severity = none | |
# CA2119: Seal methods that satisfy private interfaces | |
dotnet_diagnostic.CA2119.severity = none | |
# CA1802: Use literals where appropriate | |
dotnet_diagnostic.CA1802.severity = none | |
# CA1062: Validate arguments of public methods | |
dotnet_diagnostic.CA1062.severity = none | |
# CA1508: Avoid dead conditional code | |
dotnet_diagnostic.CA1508.severity = none | |
# CA1823: Avoid unused private fields | |
dotnet_diagnostic.CA1823.severity = none | |
# CA1806: Do not ignore method results | |
dotnet_diagnostic.CA1806.severity = none | |
# CA1801: Review unused parameters | |
dotnet_diagnostic.CA1801.severity = none | |
# CA1501: Avoid excessive inheritance | |
dotnet_diagnostic.CA1501.severity = none | |
# CA1502: Avoid excessive complexity | |
dotnet_diagnostic.CA1502.severity = none | |
# CA1505: Avoid unmaintainable code | |
dotnet_diagnostic.CA1505.severity = none | |
# CA1506: Avoid excessive class coupling | |
dotnet_diagnostic.CA1506.severity = none | |
# CA1509: Invalid entry in code metrics rule specification file | |
dotnet_diagnostic.CA1509.severity = none | |
# CA1012: Abstract types should not have public constructors | |
dotnet_diagnostic.CA1012.severity = none | |
# CA1040: Avoid empty interfaces | |
dotnet_diagnostic.CA1040.severity = none | |
# CA1005: Avoid excessive parameters on generic types | |
dotnet_diagnostic.CA1005.severity = none | |
# CA1021: Avoid out parameters | |
dotnet_diagnostic.CA1021.severity = none | |
# CA1068: CancellationToken parameters must come last | |
dotnet_diagnostic.CA1068.severity = none | |
# CA2227: Collection properties should be read only | |
dotnet_diagnostic.CA2227.severity = none | |
# CA1010: Generic interface should also be implemented | |
dotnet_diagnostic.CA1010.severity = none | |
# CA1050: Declare types in namespaces | |
dotnet_diagnostic.CA1050.severity = none | |
# CA1031: Do not catch general exception types | |
dotnet_diagnostic.CA1031.severity = none | |
# CA1047: Do not declare protected member in sealed type | |
dotnet_diagnostic.CA1047.severity = none | |
# CA1000: Do not declare static members on generic types | |
dotnet_diagnostic.CA1000.severity = none | |
# CA1051: Do not declare visible instance fields | |
dotnet_diagnostic.CA1051.severity = none | |
# CA2007: Consider calling ConfigureAwait on the awaited task | |
dotnet_diagnostic.CA2007.severity = none | |
# CA1002: Do not expose generic lists | |
dotnet_diagnostic.CA1002.severity = none | |
# CA1061: Do not hide base class methods | |
dotnet_diagnostic.CA1061.severity = none | |
# CA1700: Do not name enum values 'Reserved' | |
dotnet_diagnostic.CA1700.severity = none | |
# CA1046: Do not overload equality operator on reference types | |
dotnet_diagnostic.CA1046.severity = none | |
# CA1045: Do not pass types by reference | |
dotnet_diagnostic.CA1045.severity = none | |
# CA1712: Do not prefix enum values with type name | |
dotnet_diagnostic.CA1712.severity = none | |
# CA1069: Enums values should not be duplicated | |
dotnet_diagnostic.CA1069.severity = none | |
# CA1714: Flags enums should have plural names | |
dotnet_diagnostic.CA1714.severity = none | |
# CA1717: Only FlagsAttribute enums should have plural names | |
dotnet_diagnostic.CA1717.severity = none | |
# CA1008: Enums should have zero value | |
dotnet_diagnostic.CA1008.severity = none | |
# CA1028: Enum Storage should be Int32 | |
dotnet_diagnostic.CA1028.severity = none | |
# CA1027: Mark enums with FlagsAttribute | |
dotnet_diagnostic.CA1027.severity = none | |
# CA2217: Do not mark enums with FlagsAttribute | |
dotnet_diagnostic.CA2217.severity = none | |
# CA1066: Implement IEquatable when overriding Object.Equals | |
dotnet_diagnostic.CA1066.severity = none | |
# CA1067: Override Object.Equals(object) when implementing IEquatable<T> | |
dotnet_diagnostic.CA1067.severity = none | |
# CA1713: Events should not have 'Before' or 'After' prefix | |
dotnet_diagnostic.CA1713.severity = none | |
# CA1064: Exceptions should be public | |
dotnet_diagnostic.CA1064.severity = none | |
# CA1708: Identifiers should differ by more than case | |
dotnet_diagnostic.CA1708.severity = none | |
# CA1715: Identifiers should have correct prefix | |
dotnet_diagnostic.CA1715.severity = none | |
# CA1710: Identifiers should have correct suffix | |
dotnet_diagnostic.CA1710.severity = none | |
# CA1720: Identifier contains type name | |
dotnet_diagnostic.CA1720.severity = none | |
# CA1707: Identifiers should not contain underscores | |
dotnet_diagnostic.CA1707.severity = none | |
# CA1711: Identifiers should not have incorrect suffix | |
dotnet_diagnostic.CA1711.severity = none | |
# CA1716: Identifiers should not match keywords | |
dotnet_diagnostic.CA1716.severity = none | |
# CA1063: Implement IDisposable Correctly | |
dotnet_diagnostic.CA1063.severity = none | |
# CA1033: Interface methods should be callable by child types | |
dotnet_diagnostic.CA1033.severity = none | |
# CA1016: Mark assemblies with assembly version | |
dotnet_diagnostic.CA1016.severity = none | |
# CA1014: Mark assemblies with CLSCompliant | |
dotnet_diagnostic.CA1014.severity = none | |
# CA1017: Mark assemblies with ComVisible | |
dotnet_diagnostic.CA1017.severity = none | |
# CA1018: Mark attributes with AttributeUsageAttribute | |
dotnet_diagnostic.CA1018.severity = none | |
# CA1060: Move pinvokes to native methods class | |
dotnet_diagnostic.CA1060.severity = none | |
# CA1034: Nested types should not be visible | |
dotnet_diagnostic.CA1034.severity = none | |
# CA2211: Non-constant fields should not be visible | |
dotnet_diagnostic.CA2211.severity = none | |
# CA2225: Operator overloads have named alternates | |
dotnet_diagnostic.CA2225.severity = none | |
# CA2226: Operators should have symmetrical overloads | |
dotnet_diagnostic.CA2226.severity = none | |
# CA2231: Overload operator equals on overriding value type Equals | |
dotnet_diagnostic.CA2231.severity = none | |
# CA1815: Override equals and operator equals on value types | |
dotnet_diagnostic.CA1815.severity = none | |
# CA1036: Override methods on comparable types | |
dotnet_diagnostic.CA1036.severity = none | |
# CA1725: Parameter names should match base declaration | |
dotnet_diagnostic.CA1725.severity = none | |
# CA1044: Properties should not be write only | |
dotnet_diagnostic.CA1044.severity = none | |
# CA1819: Properties should not return arrays | |
dotnet_diagnostic.CA1819.severity = none | |
# CA1721: Property names should not match get methods | |
dotnet_diagnostic.CA1721.severity = none | |
# CA1041: Provide ObsoleteAttribute message | |
dotnet_diagnostic.CA1041.severity = none | |
# CA1052: Static holder types should be Static or NotInheritable | |
dotnet_diagnostic.CA1052.severity = none | |
# CA1724: Type names should not match namespaces | |
dotnet_diagnostic.CA1724.severity = none | |
# CA1054: URI-like parameters should not be strings | |
dotnet_diagnostic.CA1054.severity = none | |
# CA1056: URI-like properties should not be strings | |
dotnet_diagnostic.CA1056.severity = none | |
# CA1055: URI-like return values should not be strings | |
dotnet_diagnostic.CA1055.severity = none | |
# CA1030: Use events where appropriate | |
dotnet_diagnostic.CA1030.severity = none | |
# CA1003: Use generic event handler instances | |
dotnet_diagnostic.CA1003.severity = none | |
# CA1043: Use Integral Or String Argument For Indexers | |
dotnet_diagnostic.CA1043.severity = none | |
# CA1024: Use properties where appropriate | |
dotnet_diagnostic.CA1024.severity = none | |
# CA1812: Avoid uninstantiated internal classes | |
dotnet_diagnostic.CA1812.severity = none | |
# CA1507: Use nameof to express symbol names | |
dotnet_diagnostic.CA1507.severity = none | |
# CA1200: Avoid using cref tags with a prefix | |
dotnet_diagnostic.CA1200.severity = none | |
# CA1019: Define accessors for attribute arguments | |
dotnet_diagnostic.CA1019.severity = none | |
# CA1065: Do not raise exceptions in unexpected locations | |
dotnet_diagnostic.CA1065.severity = none | |
# CA1032: Implement standard exception constructors | |
dotnet_diagnostic.CA1032.severity = none | |
# CA2234: Pass system uri objects instead of strings | |
dotnet_diagnostic.CA2234.severity = none | |
# CA1001: Types that own disposable fields should be disposable | |
dotnet_diagnostic.CA1001.severity = none | |
# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' | |
dotnet_diagnostic.CA2248.severity = none | |
# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum | |
dotnet_diagnostic.CA2247.severity = none | |
# CA2008: Do not create tasks without passing a TaskScheduler | |
dotnet_diagnostic.CA2008.severity = none | |
# CA2012: Use ValueTasks correctly | |
dotnet_diagnostic.CA2012.severity = none | |
# CA5358: Review cipher mode usage with cryptography experts | |
dotnet_diagnostic.CA5358.severity = none | |
# CA2354: Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attacks | |
dotnet_diagnostic.CA2354.severity = none | |
# CA2355: Unsafe DataSet or DataTable type found in deserializable object graph | |
dotnet_diagnostic.CA2355.severity = none | |
# CA2352: Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks | |
dotnet_diagnostic.CA2352.severity = none | |
# CA2353: Unsafe DataSet or DataTable in serializable type | |
dotnet_diagnostic.CA2353.severity = none | |
# CA2362: Unsafe DataSet or DataTable in auto-generated serializable type can be vulnerable to remote code execution attacks | |
dotnet_diagnostic.CA2362.severity = none | |
# CA2356: Unsafe DataSet or DataTable type in web deserializable object graph | |
dotnet_diagnostic.CA2356.severity = none | |
# CA5389: Do Not Add Archive Item's Path To The Target File System Path | |
dotnet_diagnostic.CA5389.severity = none | |
# CA3061: Do Not Add Schema By URL | |
dotnet_diagnostic.CA3061.severity = none | |
# CA5360: Do Not Call Dangerous Methods In Deserialization | |
dotnet_diagnostic.CA5360.severity = none | |
# CA5359: Do Not Disable Certificate Validation | |
dotnet_diagnostic.CA5359.severity = none | |
# CA5399: HttpClients should enable certificate revocation list checks | |
dotnet_diagnostic.CA5399.severity = none | |
# CA5400: Ensure HttpClient certificate revocation list check is not disabled | |
dotnet_diagnostic.CA5400.severity = none | |
# CA5365: Do Not Disable HTTP Header Checking | |
dotnet_diagnostic.CA5365.severity = none | |
# CA5363: Do Not Disable Request Validation | |
dotnet_diagnostic.CA5363.severity = none | |
# CA5403: Do not hard-code certificate | |
dotnet_diagnostic.CA5403.severity = none | |
# CA5390: Do not hard-code encryption key | |
dotnet_diagnostic.CA5390.severity = none | |
# CA5380: Do Not Add Certificates To Root Store | |
dotnet_diagnostic.CA5380.severity = none | |
# CA5381: Ensure Certificates Are Not Added To Root Store | |
dotnet_diagnostic.CA5381.severity = none | |
# CA5367: Do Not Serialize Types With Pointer Fields | |
dotnet_diagnostic.CA5367.severity = none | |
# CA5361: Do Not Disable SChannel Use of Strong Crypto | |
dotnet_diagnostic.CA5361.severity = none | |
# CA5378: Do not disable ServicePointManagerSecurityProtocols | |
dotnet_diagnostic.CA5378.severity = none | |
# CA5375: Do Not Use Account Shared Access Signature | |
dotnet_diagnostic.CA5375.severity = none | |
# CA5401: Do not use CreateEncryptor with non-default IV | |
dotnet_diagnostic.CA5401.severity = none | |
# CA5402: Use CreateEncryptor with the default IV | |
dotnet_diagnostic.CA5402.severity = none | |
# CA2351: Do not use DataSet.ReadXml() with untrusted data | |
dotnet_diagnostic.CA2351.severity = none | |
# CA2361: Ensure auto-generated class containing DataSet.ReadXml() is not used with untrusted data | |
dotnet_diagnostic.CA2361.severity = none | |
# CA2350: Do not use DataTable.ReadXml() with untrusted data | |
dotnet_diagnostic.CA2350.severity = none | |
# CA5364: Do Not Use Deprecated Security Protocols | |
dotnet_diagnostic.CA5364.severity = none | |
# CA5386: Avoid hardcoding SecurityProtocolType value | |
dotnet_diagnostic.CA5386.severity = none | |
# CA5384: Do Not Use Digital Signature Algorithm (DSA) | |
dotnet_diagnostic.CA5384.severity = none | |
# CA5351: Do Not Use Broken Cryptographic Algorithms | |
dotnet_diagnostic.CA5351.severity = none | |
# CA5350: Do Not Use Weak Cryptographic Algorithms | |
dotnet_diagnostic.CA5350.severity = none | |
# CA2300: Do not use insecure deserializer BinaryFormatter | |
dotnet_diagnostic.CA2300.severity = none | |
# CA2301: Do not call BinaryFormatter.Deserialize without first setting BinaryFormatter.Binder | |
dotnet_diagnostic.CA2301.severity = none | |
# CA2302: Ensure BinaryFormatter.Binder is set before calling BinaryFormatter.Deserialize | |
dotnet_diagnostic.CA2302.severity = none | |
# CA2321: Do not deserialize with JavaScriptSerializer using a SimpleTypeResolver | |
dotnet_diagnostic.CA2321.severity = none | |
# CA2322: Ensure JavaScriptSerializer is not initialized with SimpleTypeResolver before deserializing | |
dotnet_diagnostic.CA2322.severity = none | |
# CA2329: Do not deserialize with JsonSerializer using an insecure configuration | |
dotnet_diagnostic.CA2329.severity = none | |
# CA2330: Ensure that JsonSerializer has a secure configuration when deserializing | |
dotnet_diagnostic.CA2330.severity = none | |
# CA2305: Do not use insecure deserializer LosFormatter | |
dotnet_diagnostic.CA2305.severity = none | |
# CA2310: Do not use insecure deserializer NetDataContractSerializer | |
dotnet_diagnostic.CA2310.severity = none | |
# CA2311: Do not deserialize without first setting NetDataContractSerializer.Binder | |
dotnet_diagnostic.CA2311.severity = none | |
# CA2312: Ensure NetDataContractSerializer.Binder is set before deserializing | |
dotnet_diagnostic.CA2312.severity = none | |
# CA2315: Do not use insecure deserializer ObjectStateFormatter | |
dotnet_diagnostic.CA2315.severity = none | |
# CA5394: Do not use insecure randomness | |
dotnet_diagnostic.CA5394.severity = none | |
# CA2327: Do not use insecure JsonSerializerSettings | |
dotnet_diagnostic.CA2327.severity = none | |
# CA2328: Ensure that JsonSerializerSettings are secure | |
dotnet_diagnostic.CA2328.severity = none | |
# CA5373: Do not use obsolete key derivation function | |
dotnet_diagnostic.CA5373.severity = none | |
# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong | |
dotnet_diagnostic.CA5379.severity = none | |
# CA5387: Do Not Use Weak Key Derivation Function With Insufficient Iteration Count | |
dotnet_diagnostic.CA5387.severity = none | |
# CA5388: Ensure Sufficient Iteration Count When Using Weak Key Derivation Function | |
dotnet_diagnostic.CA5388.severity = none | |
# CA5374: Do Not Use XslTransform | |
dotnet_diagnostic.CA5374.severity = none | |
# CA2326: Do not use TypeNameHandling values other than None | |
dotnet_diagnostic.CA2326.severity = none | |
# CA5362: Potential reference cycle in deserialized object graph | |
dotnet_diagnostic.CA5362.severity = none | |
# CA3006: Review code for process command injection vulnerabilities | |
dotnet_diagnostic.CA3006.severity = none | |
# CA3011: Review code for DLL injection vulnerabilities | |
dotnet_diagnostic.CA3011.severity = none | |
# CA3003: Review code for file path injection vulnerabilities | |
dotnet_diagnostic.CA3003.severity = none | |
# CA3004: Review code for information disclosure vulnerabilities | |
dotnet_diagnostic.CA3004.severity = none | |
# CA3005: Review code for LDAP injection vulnerabilities | |
dotnet_diagnostic.CA3005.severity = none | |
# CA3007: Review code for open redirect vulnerabilities | |
dotnet_diagnostic.CA3007.severity = none | |
# CA3012: Review code for regex injection vulnerabilities | |
dotnet_diagnostic.CA3012.severity = none | |
# CA3001: Review code for SQL injection vulnerabilities | |
dotnet_diagnostic.CA3001.severity = none | |
# CA3010: Review code for XAML injection vulnerabilities | |
dotnet_diagnostic.CA3010.severity = none | |
# CA3009: Review code for XML injection vulnerabilities | |
dotnet_diagnostic.CA3009.severity = none | |
# CA3008: Review code for XPath injection vulnerabilities | |
dotnet_diagnostic.CA3008.severity = none | |
# CA3002: Review code for XSS vulnerabilities | |
dotnet_diagnostic.CA3002.severity = none | |
# CA5396: Set HttpOnly to true for HttpCookie | |
dotnet_diagnostic.CA5396.severity = none | |
# CA5368: Set ViewStateUserKey For Classes Derived From Page | |
dotnet_diagnostic.CA5368.severity = none | |
# CA5397: Do not use deprecated SslProtocols values | |
dotnet_diagnostic.CA5397.severity = none | |
# CA5398: Avoid hardcoded SslProtocols values | |
dotnet_diagnostic.CA5398.severity = none | |
# CA5391: Use antiforgery tokens in ASP.NET Core MVC controllers | |
dotnet_diagnostic.CA5391.severity = none | |
# CA5395: Miss HttpVerb attribute for action methods | |
dotnet_diagnostic.CA5395.severity = none | |
# CA5377: Use Container Level Access Policy | |
dotnet_diagnostic.CA5377.severity = none | |
# CA5392: Use DefaultDllImportSearchPaths attribute for P/Invokes | |
dotnet_diagnostic.CA5392.severity = none | |
# CA5393: Do not use unsafe DllImportSearchPath value | |
dotnet_diagnostic.CA5393.severity = none | |
# CA5385: Use Rivest–Shamir–Adleman (RSA) Algorithm With Sufficient Key Size | |
dotnet_diagnostic.CA5385.severity = none | |
# CA5382: Use Secure Cookies In ASP.Net Core | |
dotnet_diagnostic.CA5382.severity = none | |
# CA5383: Ensure Use Secure Cookies In ASP.Net Core | |
dotnet_diagnostic.CA5383.severity = none | |
# CA5376: Use SharedAccessProtocol HttpsOnly | |
dotnet_diagnostic.CA5376.severity = none | |
# CA5366: Use XmlReader for 'DataSet.ReadXml()' | |
dotnet_diagnostic.CA5366.severity = none | |
# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' | |
dotnet_diagnostic.CA5369.severity = none | |
# CA5371: Use XmlReader for 'XmlSchema.Read()' | |
dotnet_diagnostic.CA5371.severity = none | |
# CA5370: Use XmlReader for XmlValidatingReader constructor | |
dotnet_diagnostic.CA5370.severity = none | |
# CA5372: Use XmlReader for XPathDocument constructor | |
dotnet_diagnostic.CA5372.severity = none | |
# CA2243: Attribute string literals should parse correctly | |
dotnet_diagnostic.CA2243.severity = none | |
# CA1813: Avoid unsealed attributes | |
dotnet_diagnostic.CA1813.severity = none | |
# CA1816: Dispose methods should call SuppressFinalize | |
dotnet_diagnostic.CA1816.severity = none | |
# CA2213: Disposable fields should be disposed | |
dotnet_diagnostic.CA2213.severity = none | |
# CA2216: Disposable types should declare finalizer | |
dotnet_diagnostic.CA2216.severity = none | |
# CA2215: Dispose methods should call base class dispose | |
dotnet_diagnostic.CA2215.severity = none | |
# CA2000: Dispose objects before losing scope | |
dotnet_diagnostic.CA2000.severity = none | |
# CA2015: Do not define finalizers for types derived from MemoryManager<T> | |
dotnet_diagnostic.CA2015.severity = none | |
# CA2002: Do not lock on objects with weak identity | |
dotnet_diagnostic.CA2002.severity = none | |
# CA1303: Do not pass literals as localized parameters | |
dotnet_diagnostic.CA1303.severity = none | |
# CA2201: Do not raise reserved exception types | |
dotnet_diagnostic.CA2201.severity = none | |
# CA1826: Do not use Enumerable methods on indexable collections | |
dotnet_diagnostic.CA1826.severity = none | |
# CA2013: Do not use ReferenceEquals with value types | |
dotnet_diagnostic.CA2013.severity = none | |
# CA2014: Do not use stackalloc in loops | |
dotnet_diagnostic.CA2014.severity = none | |
# CA1810: Initialize reference type static fields inline | |
dotnet_diagnostic.CA1810.severity = none | |
# CA2207: Initialize value type static fields inline | |
dotnet_diagnostic.CA2207.severity = none | |
# CA2208: Instantiate argument exceptions correctly | |
dotnet_diagnostic.CA2208.severity = none | |
# CA1308: Normalize strings to uppercase | |
dotnet_diagnostic.CA1308.severity = none | |
# CA1834: Consider using 'StringBuilder.Append(char)' when applicable | |
dotnet_diagnostic.CA1834.severity = none | |
# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' | |
dotnet_diagnostic.CA1835.severity = none | |
# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' | |
dotnet_diagnostic.CA2249.severity = none | |
# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder | |
dotnet_diagnostic.CA1830.severity = none | |
# CA2241: Provide correct arguments to formatting methods | |
dotnet_diagnostic.CA2241.severity = none | |
# CA2229: Implement serialization constructors | |
dotnet_diagnostic.CA2229.severity = none | |
# CA2235: Mark all non-serializable fields | |
dotnet_diagnostic.CA2235.severity = none | |
# CA2237: Mark ISerializable types with serializable | |
dotnet_diagnostic.CA2237.severity = none | |
# CA1304: Specify CultureInfo | |
dotnet_diagnostic.CA1304.severity = none | |
# CA1305: Specify IFormatProvider | |
dotnet_diagnostic.CA1305.severity = none | |
# CA1307: Specify StringComparison for clarity | |
dotnet_diagnostic.CA1307.severity = none | |
# CA1310: Specify StringComparison for correctness | |
dotnet_diagnostic.CA1310.severity = none | |
# CA1820: Test for empty strings using string length | |
dotnet_diagnostic.CA1820.severity = none | |
# CA2242: Test for NaN correctly | |
dotnet_diagnostic.CA2242.severity = none | |
# CA1837: Use 'Environment.ProcessId' | |
dotnet_diagnostic.CA1837.severity = none | |
# IL3000: Avoid using accessing Assembly file path when publishing as a single-file | |
dotnet_diagnostic.IL3000.severity = none | |
# IL3001: Avoid using accessing Assembly file path when publishing as a single-file | |
dotnet_diagnostic.IL3001.severity = none | |
# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate | |
dotnet_diagnostic.CA1831.severity = none | |
# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate | |
dotnet_diagnostic.CA1832.severity = none | |
# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate | |
dotnet_diagnostic.CA1833.severity = none | |
# CA1827: Do not use Count() or LongCount() when Any() can be used | |
dotnet_diagnostic.CA1827.severity = none | |
# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used | |
dotnet_diagnostic.CA1828.severity = none | |
# CA1829: Use Length/Count property instead of Count() when available | |
dotnet_diagnostic.CA1829.severity = none | |
# CA1836: Prefer IsEmpty over Count | |
dotnet_diagnostic.CA1836.severity = none | |
# CA1838: Avoid 'StringBuilder' parameters for P/Invokes | |
dotnet_diagnostic.CA1838.severity = none | |
# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes | |
dotnet_diagnostic.CA1417.severity = none | |
# CA1401: P/Invokes should not be visible | |
dotnet_diagnostic.CA1401.severity = none | |
# CA2101: Specify marshaling for P/Invoke string arguments | |
dotnet_diagnostic.CA2101.severity = none | |
# CA1416: Validate platform compatibility | |
dotnet_diagnostic.CA1416.severity = none | |
# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value | |
dotnet_diagnostic.CA2009.severity = none | |
# CA2100: Review SQL queries for security vulnerabilities | |
dotnet_diagnostic.CA2100.severity = none | |
# CA1825: Avoid zero-length array allocations | |
dotnet_diagnostic.CA1825.severity = none | |
# CA2016: Forward the 'CancellationToken' parameter to methods that take one | |
dotnet_diagnostic.CA2016.severity = none | |
# CA1309: Use ordinal string comparison | |
dotnet_diagnostic.CA1309.severity = none | |
# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute | |
dotnet_diagnostic.CA1824.severity = none | |
# CA2153: Do Not Catch Corrupted State Exceptions | |
dotnet_diagnostic.CA2153.severity = none | |
# CA3075: Insecure DTD processing in XML | |
dotnet_diagnostic.CA3075.severity = none | |
# CA3147: Mark Verb Handlers With Validate Antiforgery Token | |
dotnet_diagnostic.CA3147.severity = none | |
# CA1058: Types should not extend certain base types | |
dotnet_diagnostic.CA1058.severity = none | |
# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader | |
dotnet_diagnostic.CA3077.severity = none | |
# CA3076: Insecure XSLT script processing. | |
dotnet_diagnostic.CA3076.severity = none | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# RCS1036a: Remove empty line between closing brace and switch section. | |
dotnet_diagnostic.RCS1036a.severity = none | |
# RCS1045a: Do not rename private static read-only field to camel case with underscore. | |
dotnet_diagnostic.RCS1045a.severity = none | |
# RCS1050i: Remove argument list from object creation expression. | |
dotnet_diagnostic.RCS1050i.severity = none | |
# RCS1051a: Remove parentheses from condition of conditional expression (when condition is a single token). | |
dotnet_diagnostic.RCS1051a.severity = none | |
# RCS1096i: Convert bitwise operation to 'HasFlag' call. | |
dotnet_diagnostic.RCS1096i.severity = none | |
# RCS1104a: Simplify conditional expression (when it includes negation of condition). | |
dotnet_diagnostic.RCS1104a.severity = none | |
# RCS1246a: Do not use element access when expression is invocation. | |
dotnet_diagnostic.RCS1246a.severity = none | |
# RCS1037: Remove trailing white-space. | |
dotnet_diagnostic.RCS1037.severity = none | |
# RCS1036: Remove redundant empty line. | |
dotnet_diagnostic.RCS1036.severity = none | |
# RCS1160: Abstract type should not have public constructors. | |
dotnet_diagnostic.RCS1160.severity = none | |
# RCS1018: Add accessibility modifiers. | |
dotnet_diagnostic.RCS1018.severity = none | |
# RCS1050: Add argument list to object creation expression (or vice versa). | |
dotnet_diagnostic.RCS1050.severity = none | |
# RCS1007: Add braces. | |
dotnet_diagnostic.RCS1007.severity = none | |
# RCS1126: Add braces to if-else. | |
dotnet_diagnostic.RCS1126.severity = none | |
# RCS1003: Add braces to if-else (when expression spans over multiple lines). | |
dotnet_diagnostic.RCS1003.severity = none | |
# RCS1111: Add braces to switch section with multiple statements. | |
dotnet_diagnostic.RCS1111.severity = none | |
# RCS1001: Add braces (when expression spans over multiple lines). | |
dotnet_diagnostic.RCS1001.severity = none | |
# RCS1140: Add exception to documentation comment. | |
dotnet_diagnostic.RCS1140.severity = none | |
# RCS1189: Add or remove region name. | |
dotnet_diagnostic.RCS1189.severity = none | |
# RCS1226: Add paragraph to documentation comment. | |
dotnet_diagnostic.RCS1226.severity = none | |
# RCS1123: Add parentheses when necessary. | |
dotnet_diagnostic.RCS1123.severity = none | |
# RCS1108: Add 'static' modifier to all partial class declarations. | |
dotnet_diagnostic.RCS1108.severity = none | |
# RCS1048: Use lambda expression instead of anonymous method. | |
dotnet_diagnostic.RCS1048.severity = none | |
# RCS1048FadeOut: Use lambda expression instead of anonymous method. | |
dotnet_diagnostic.RCS1048FadeOut.severity = none | |
# RCS1039: Remove argument list from attribute. | |
dotnet_diagnostic.RCS1039.severity = none | |
# RCS1198: Avoid unnecessary boxing of value type. | |
dotnet_diagnostic.RCS1198.severity = none | |
# RCS1162: Avoid chain of assignments. | |
dotnet_diagnostic.RCS1162.severity = none | |
# RCS1075: Avoid empty catch clause that catches System.Exception. | |
dotnet_diagnostic.RCS1075.severity = none | |
# RCS1014: Avoid implicitly-typed array. | |
dotnet_diagnostic.RCS1014.severity = none | |
# RCS1059: Avoid locking on publicly accessible instance. | |
dotnet_diagnostic.RCS1059.severity = none | |
# RCS1017: Avoid multiline expression body. | |
dotnet_diagnostic.RCS1017.severity = none | |
# RCS1098: Avoid 'null' on the left side of a binary expression. | |
dotnet_diagnostic.RCS1098.severity = none | |
# RCS1202: Avoid NullReferenceException. | |
dotnet_diagnostic.RCS1202.severity = none | |
# RCS1055: Avoid semicolon at the end of declaration. | |
dotnet_diagnostic.RCS1055.severity = none | |
# RCS1063: Avoid usage of do statement to create an infinite loop. | |
dotnet_diagnostic.RCS1063.severity = none | |
# RCS1064: Avoid usage of for statement to create an infinite loop. | |
dotnet_diagnostic.RCS1064.severity = none | |
# RCS1056: Avoid usage of using alias directive. | |
dotnet_diagnostic.RCS1056.severity = none | |
# RCS1065: Avoid usage of while statement to create an inifinite loop. | |
dotnet_diagnostic.RCS1065.severity = none | |
# RCS1090: Call 'ConfigureAwait(false)'. | |
dotnet_diagnostic.RCS1090.severity = none | |
# RCS1215: Expression is always equal to true/false. | |
dotnet_diagnostic.RCS1215.severity = none | |
# RCS1240: Operator is unnecessary. | |
dotnet_diagnostic.RCS1240.severity = none | |
# RCS1130: Bitwise operation on enum without Flags attribute. | |
dotnet_diagnostic.RCS1130.severity = none | |
# RCS1033: Remove redundant boolean literal. | |
dotnet_diagnostic.RCS1033.severity = none | |
# RCS1049: Simplify boolean comparison. | |
dotnet_diagnostic.RCS1049.severity = none | |
# RCS1049FadeOut: Simplify boolean comparison. | |
dotnet_diagnostic.RCS1049FadeOut.severity = none | |
# RCS1196: Call extension method as instance method. | |
dotnet_diagnostic.RCS1196.severity = none | |
# RCS1219: Call 'Enumerable.Skip' and 'Enumerable.Any' instead of 'Enumerable.Count'. | |
dotnet_diagnostic.RCS1219.severity = none | |
# RCS1238: Avoid nested ?: operators. | |
dotnet_diagnostic.RCS1238.severity = none | |
# RCS1207: Convert anonymous function to method group. | |
dotnet_diagnostic.RCS1207.severity = none | |
# RCS1207FadeOut: Convert anonymous function to method group. | |
dotnet_diagnostic.RCS1207FadeOut.severity = none | |
# RCS1096: Convert 'HasFlag' call to bitwise operation (or vice versa). | |
dotnet_diagnostic.RCS1096.severity = none | |
# RCS1181: Convert comment to documentation comment. | |
dotnet_diagnostic.RCS1181.severity = none | |
# RCS1217: Convert interpolated string to concatenation. | |
dotnet_diagnostic.RCS1217.severity = none | |
# RCS1217FadeOut: Convert interpolated string to concatenation. | |
dotnet_diagnostic.RCS1217FadeOut.severity = none | |
# RCS1052: Declare each attribute separately. | |
dotnet_diagnostic.RCS1052.severity = none | |
# RCS1060: Declare each type in separate file. | |
dotnet_diagnostic.RCS1060.severity = none | |
# RCS1110: Declare type inside namespace. | |
dotnet_diagnostic.RCS1110.severity = none | |
# RCS1094: Declare using directive on top level. | |
dotnet_diagnostic.RCS1094.severity = none | |
# RCS1244: Simplify 'default' expression. | |
dotnet_diagnostic.RCS1244.severity = none | |
# RCS1099: Default label should be the last label in a switch section. | |
dotnet_diagnostic.RCS1099.severity = none | |
# RCS1243: Duplicate word in a comment. | |
dotnet_diagnostic.RCS1243.severity = none | |
# RCS1161: Enum should declare explicit values. | |
dotnet_diagnostic.RCS1161.severity = none | |
# RCS1135: Declare enum member with zero value (when enum has FlagsAttribute). | |
dotnet_diagnostic.RCS1135.severity = none | |
# RCS1157: Composite enum value contains undefined flag. | |
dotnet_diagnostic.RCS1157.severity = none | |
# RCS1191: Declare enum value as combination of names. | |
dotnet_diagnostic.RCS1191.severity = none | |
# RCS1234: Duplicate enum value. | |
dotnet_diagnostic.RCS1234.severity = none | |
# RCS1237: Use bit shift operator. | |
dotnet_diagnostic.RCS1237.severity = none | |
# RCS1101: Format documentation summary on multiple lines. | |
dotnet_diagnostic.RCS1101.severity = none | |
# RCS1100: Format documentation summary on a single line. | |
dotnet_diagnostic.RCS1100.severity = none | |
# RCS1173: Use coalesce expression instead of 'if'. | |
dotnet_diagnostic.RCS1173.severity = none | |
# RCS1073: Convert 'if' to 'return' statement. | |
dotnet_diagnostic.RCS1073.severity = none | |
# RCS1073FadeOut: Convert 'if' to 'return' statement. | |
dotnet_diagnostic.RCS1073FadeOut.severity = none | |
# RCS1103: Convert 'if' to assignment. | |
dotnet_diagnostic.RCS1103.severity = none | |
# RCS1194: Implement exception constructors. | |
dotnet_diagnostic.RCS1194.severity = none | |
# RCS1124: Inline local variable. | |
dotnet_diagnostic.RCS1124.severity = none | |
# RCS1124FadeOut: Inline local variable. | |
dotnet_diagnostic.RCS1124FadeOut.severity = none | |
# RCS1077: Optimize LINQ method call. | |
dotnet_diagnostic.RCS1077.severity = none | |
# RCS1246: Use element access. | |
dotnet_diagnostic.RCS1246.severity = none | |
# RCS1080: Use 'Count/Length' property instead of 'Any' method. | |
dotnet_diagnostic.RCS1080.severity = none | |
# RCS1097: Remove redundant 'ToString' call. | |
dotnet_diagnostic.RCS1097.severity = none | |
# RCS1107: Remove redundant 'ToCharArray' call. | |
dotnet_diagnostic.RCS1107.severity = none | |
# RCS1112: Combine 'Enumerable.Where' method chain. | |
dotnet_diagnostic.RCS1112.severity = none | |
# RCS1112FadeOut: Combine 'Enumerable.Where' method chain. | |
dotnet_diagnostic.RCS1112FadeOut.severity = none | |
# RCS1186: Use Regex instance instead of static method. | |
dotnet_diagnostic.RCS1186.severity = none | |
# RCS1197: Optimize StringBuilder.Append/AppendLine call. | |
dotnet_diagnostic.RCS1197.severity = none | |
# RCS1200: Call 'Enumerable.ThenBy' instead of 'Enumerable.OrderBy'. | |
dotnet_diagnostic.RCS1200.severity = none | |
# RCS1201: Use method chaining. | |
dotnet_diagnostic.RCS1201.severity = none | |
# RCS1155: Use StringComparison when comparing strings. | |
dotnet_diagnostic.RCS1155.severity = none | |
# RCS1015: Use nameof operator. | |
dotnet_diagnostic.RCS1015.severity = none | |
# RCS1151: Remove redundant cast. | |
dotnet_diagnostic.RCS1151.severity = none | |
# RCS1068: Simplify logical negation. | |
dotnet_diagnostic.RCS1068.severity = none | |
# RCS1128: Use coalesce expression. | |
dotnet_diagnostic.RCS1128.severity = none | |
# RCS1235: Optimize method call. | |
dotnet_diagnostic.RCS1235.severity = none | |
# RCS1190: Join string expressions. | |
dotnet_diagnostic.RCS1190.severity = none | |
# RCS1021: Simplify lambda expression. | |
dotnet_diagnostic.RCS1021.severity = none | |
# RCS1021FadeOut: Simplify lambda expression. | |
dotnet_diagnostic.RCS1021FadeOut.severity = none | |
# RCS1225: Make class sealed. | |
dotnet_diagnostic.RCS1225.severity = none | |
# RCS1102: Make class static. | |
dotnet_diagnostic.RCS1102.severity = none | |
# RCS1224: Make method an extension method. | |
dotnet_diagnostic.RCS1224.severity = none | |
# RCS1223: Mark publicly visible type with DebuggerDisplay attribute. | |
dotnet_diagnostic.RCS1223.severity = none | |
# RCS1006: Merge 'else' with nested 'if'. | |
dotnet_diagnostic.RCS1006.severity = none | |
# RCS1006FadeOut: Merge 'else' with nested 'if'. | |
dotnet_diagnostic.RCS1006FadeOut.severity = none | |
# RCS1061: Merge 'if' with nested 'if'. | |
dotnet_diagnostic.RCS1061.severity = none | |
# RCS1061FadeOut: Merge 'if' with nested 'if'. | |
dotnet_diagnostic.RCS1061FadeOut.severity = none | |
# RCS1222: Merge preprocessor directives. | |
dotnet_diagnostic.RCS1222.severity = none | |
# RCS1136: Merge switch sections with equivalent content. | |
dotnet_diagnostic.RCS1136.severity = none | |
# RCS1241: Implement non-generic counterpart. | |
dotnet_diagnostic.RCS1241.severity = none | |
# RCS1046: Asynchronous method name should end with 'Async'. | |
dotnet_diagnostic.RCS1046.severity = none | |
# RCS1047: Non-asynchronous method name should not end with 'Async'. | |
dotnet_diagnostic.RCS1047.severity = none | |
# RCS1047FadeOut: Non-asynchronous method name should not end with 'Async'. | |
dotnet_diagnostic.RCS1047FadeOut.severity = none | |
# RCS1019: Order modifiers. | |
dotnet_diagnostic.RCS1019.severity = none | |
# RCS1205: Order named arguments according to the order of parameters. | |
dotnet_diagnostic.RCS1205.severity = none | |
# RCS1209: Order type parameter constraints. | |
dotnet_diagnostic.RCS1209.severity = none | |
# RCS1193: Overriding member should not change 'params' modifier. | |
dotnet_diagnostic.RCS1193.severity = none | |
# RCS1168: Parameter name differs from base name. | |
dotnet_diagnostic.RCS1168.severity = none | |
# RCS1051: Parenthesize condition of conditional expression. | |
dotnet_diagnostic.RCS1051.severity = none | |
# RCS1208: Reduce 'if' nesting. | |
dotnet_diagnostic.RCS1208.severity = none | |
# RCS1231: Make parameter ref read-only. | |
dotnet_diagnostic.RCS1231.severity = none | |
# RCS1242: Do not pass non-read-only struct by read-only reference. | |
dotnet_diagnostic.RCS1242.severity = none | |
# RCS1002: Remove braces. | |
dotnet_diagnostic.RCS1002.severity = none | |
# RCS1002FadeOut: Remove braces. | |
dotnet_diagnostic.RCS1002FadeOut.severity = none | |
# RCS1004: Remove braces from if-else. | |
dotnet_diagnostic.RCS1004.severity = none | |
# RCS1004FadeOut: Remove braces from if-else. | |
dotnet_diagnostic.RCS1004FadeOut.severity = none | |
# RCS1106: Remove empty destructor. | |
dotnet_diagnostic.RCS1106.severity = none | |
# RCS1040: Remove empty 'else' clause. | |
dotnet_diagnostic.RCS1040.severity = none | |
# RCS1066: Remove empty 'finally' clause. | |
dotnet_diagnostic.RCS1066.severity = none | |
# RCS1066FadeOut: Remove empty 'finally' clause. | |
dotnet_diagnostic.RCS1066FadeOut.severity = none | |
# RCS1041: Remove empty initializer. | |
dotnet_diagnostic.RCS1041.severity = none | |
# RCS1072: Remove empty namespace declaration. | |
dotnet_diagnostic.RCS1072.severity = none | |
# RCS1091: Remove empty region. | |
dotnet_diagnostic.RCS1091.severity = none | |
# RCS1091FadeOut: Remove empty region. | |
dotnet_diagnostic.RCS1091FadeOut.severity = none | |
# RCS1038: Remove empty statement. | |
dotnet_diagnostic.RCS1038.severity = none | |
# RCS1042: Remove enum default underlying type. | |
dotnet_diagnostic.RCS1042.severity = none | |
# RCS1093: Remove file with no code. | |
dotnet_diagnostic.RCS1093.severity = none | |
# RCS1044: Remove original exception from throw statement. | |
dotnet_diagnostic.RCS1044.severity = none | |
# RCS1043: Remove 'partial' modifier from type with a single part. | |
dotnet_diagnostic.RCS1043.severity = none | |
# RCS1145: Remove redundant 'as' operator. | |
dotnet_diagnostic.RCS1145.severity = none | |
# RCS1212: Remove redundant assignment. | |
dotnet_diagnostic.RCS1212.severity = none | |
# RCS1212FadeOut: Remove redundant assignment. | |
dotnet_diagnostic.RCS1212FadeOut.severity = none | |
# RCS1174: Remove redundant async/await. | |
dotnet_diagnostic.RCS1174.severity = none | |
# RCS1174FadeOut: Remove redundant async/await. | |
dotnet_diagnostic.RCS1174FadeOut.severity = none | |
# RCS1188: Remove redundant auto-property initialization. | |
dotnet_diagnostic.RCS1188.severity = none | |
# RCS1071: Remove redundant base constructor call. | |
dotnet_diagnostic.RCS1071.severity = none | |
# RCS1182: Remove redundant base interface. | |
dotnet_diagnostic.RCS1182.severity = none | |
# RCS1035: Remove redundant comma in initializer. | |
dotnet_diagnostic.RCS1035.severity = none | |
# RCS1074: Remove redundant constructor. | |
dotnet_diagnostic.RCS1074.severity = none | |
# RCS1070: Remove redundant default switch section. | |
dotnet_diagnostic.RCS1070.severity = none | |
# RCS1114: Remove redundant delegate creation. | |
dotnet_diagnostic.RCS1114.severity = none | |
# RCS1114FadeOut: Remove redundant delegate creation. | |
dotnet_diagnostic.RCS1114FadeOut.severity = none | |
# RCS1133: Remove redundant Dispose/Close call. | |
dotnet_diagnostic.RCS1133.severity = none | |
# RCS1129: Remove redundant field initalization. | |
dotnet_diagnostic.RCS1129.severity = none | |
# RCS1132: Remove redundant overriding member. | |
dotnet_diagnostic.RCS1132.severity = none | |
# RCS1032: Remove redundant parentheses. | |
dotnet_diagnostic.RCS1032.severity = none | |
# RCS1032FadeOut: Remove redundant parentheses. | |
dotnet_diagnostic.RCS1032FadeOut.severity = none | |
# RCS1034: Remove redundant 'sealed' modifier. | |
dotnet_diagnostic.RCS1034.severity = none | |
# RCS1134: Remove redundant statement. | |
dotnet_diagnostic.RCS1134.severity = none | |
# RCS1031: Remove unnecessary braces. | |
dotnet_diagnostic.RCS1031.severity = none | |
# RCS1031FadeOut: Remove unnecessary braces. | |
dotnet_diagnostic.RCS1031FadeOut.severity = none | |
# RCS1069: Remove unnecessary case label. | |
dotnet_diagnostic.RCS1069.severity = none | |
# RCS1211: Remove unnecessary 'else'. | |
dotnet_diagnostic.RCS1211.severity = none | |
# RCS1045: Rename private field to camel case with underscore. | |
dotnet_diagnostic.RCS1045.severity = none | |
# RCS1199: Simplify boolean expression. | |
dotnet_diagnostic.RCS1199.severity = none | |
# RCS1143: Simplify coalesce expression. | |
dotnet_diagnostic.RCS1143.severity = none | |
# RCS1218: Simplify code branching. | |
dotnet_diagnostic.RCS1218.severity = none | |
# RCS1104: Simplify conditional expression. | |
dotnet_diagnostic.RCS1104.severity = none | |
# RCS1171: Simplify lazy initialization. | |
dotnet_diagnostic.RCS1171.severity = none | |
# RCS1005: Simplify nested using statement. | |
dotnet_diagnostic.RCS1005.severity = none | |
# RCS1005FadeOut: Simplify nested using statement. | |
dotnet_diagnostic.RCS1005FadeOut.severity = none | |
# RCS1020: Simplify Nullable<T> to T?. | |
dotnet_diagnostic.RCS1020.severity = none | |
# RCS1084: Use coalesce expression instead of conditional expression. | |
dotnet_diagnostic.RCS1084.severity = none | |
# RCS1206: Use conditional access instead of conditional expression. | |
dotnet_diagnostic.RCS1206.severity = none | |
# RCS1138: Add summary to documentation comment. | |
dotnet_diagnostic.RCS1138.severity = none | |
# RCS1139: Add summary element to documentation comment. | |
dotnet_diagnostic.RCS1139.severity = none | |
# RCS1141: Add 'param' element to documentation comment. | |
dotnet_diagnostic.RCS1141.severity = none | |
# RCS1142: Add 'typeparam' element to documentation comment. | |
dotnet_diagnostic.RCS1142.severity = none | |
# RCS1228: Unused element in documentation comment. | |
dotnet_diagnostic.RCS1228.severity = none | |
# RCS1232: Order elements in documentation comment. | |
dotnet_diagnostic.RCS1232.severity = none | |
# RCS1228FadeOut: Unused element in documentation comment. | |
dotnet_diagnostic.RCS1228FadeOut.severity = none | |
# RCS1154: Sort enum members. | |
dotnet_diagnostic.RCS1154.severity = none | |
# RCS1081: Split variable declaration. | |
dotnet_diagnostic.RCS1081.severity = none | |
# RCS1158: Static member in generic type should use a type parameter. | |
dotnet_diagnostic.RCS1158.severity = none | |
# RCS1079: Throwing of new NotImplementedException. | |
dotnet_diagnostic.RCS1079.severity = none | |
# RCS1165: Unconstrained type parameter checked for null. | |
dotnet_diagnostic.RCS1165.severity = none | |
# RCS1179: Unnecessary assignment. | |
dotnet_diagnostic.RCS1179.severity = none | |
# RCS1230: Unnecessary explicit use of enumerator. | |
dotnet_diagnostic.RCS1230.severity = none | |
# RCS1214: Unnecessary interpolated string. | |
dotnet_diagnostic.RCS1214.severity = none | |
# RCS1214FadeOut: Unnecessary interpolated string. | |
dotnet_diagnostic.RCS1214FadeOut.severity = none | |
# RCS1105: Unncessary interpolation. | |
dotnet_diagnostic.RCS1105.severity = none | |
# RCS1216: Unnecessary unsafe context. | |
dotnet_diagnostic.RCS1216.severity = none | |
# RCS1192: Unnecessary usage of verbatim string literal. | |
dotnet_diagnostic.RCS1192.severity = none | |
# RCS1229: Use async/await when necessary. | |
dotnet_diagnostic.RCS1229.severity = none | |
# RCS1203: Use AttributeUsageAttribute. | |
dotnet_diagnostic.RCS1203.severity = none | |
# RCS1085: Use auto-implemented property. | |
dotnet_diagnostic.RCS1085.severity = none | |
# RCS1085FadeOut: Use auto-implemented property. | |
dotnet_diagnostic.RCS1085FadeOut.severity = none | |
# RCS1180: Inline lazy initialization. | |
dotnet_diagnostic.RCS1180.severity = none | |
# RCS1058: Use compound assignment. | |
dotnet_diagnostic.RCS1058.severity = none | |
# RCS1058FadeOut: Use compound assignment. | |
dotnet_diagnostic.RCS1058FadeOut.severity = none | |
# RCS1146: Use conditional access. | |
dotnet_diagnostic.RCS1146.severity = none | |
# RCS1187: Use constant instead of field. | |
dotnet_diagnostic.RCS1187.severity = none | |
# RCS1078: Use "" instead of string.Empty. | |
dotnet_diagnostic.RCS1078.severity = none | |
# RCS1204: Use EventArgs.Empty. | |
dotnet_diagnostic.RCS1204.severity = none | |
# RCS1236: Use exception filter. | |
dotnet_diagnostic.RCS1236.severity = none | |
# RCS1195: Use ^ operator. | |
dotnet_diagnostic.RCS1195.severity = none | |
# RCS1009: Use explicit type instead of 'var' (foreach variable). | |
dotnet_diagnostic.RCS1009.severity = none | |
# RCS1008: Use explicit type instead of 'var' (when the type is not obvious). | |
dotnet_diagnostic.RCS1008.severity = none | |
# RCS1012: Use explicit type instead of 'var' (when the type is obvious). | |
dotnet_diagnostic.RCS1012.severity = none | |
# RCS1016: Use expression-bodied member. | |
dotnet_diagnostic.RCS1016.severity = none | |
# RCS1016FadeOut: Use expression-bodied member. | |
dotnet_diagnostic.RCS1016FadeOut.severity = none | |
# RCS1239: Use 'for' statement instead of 'while' statement. | |
dotnet_diagnostic.RCS1239.severity = none | |
# RCS1159: Use EventHandler<T>. | |
dotnet_diagnostic.RCS1159.severity = none | |
# RCS1172: Use 'is' operator instead of 'as' operator. | |
dotnet_diagnostic.RCS1172.severity = none | |
# RCS1015FadeOut: Use nameof operator. | |
dotnet_diagnostic.RCS1015FadeOut.severity = none | |
# RCS1013: Use predefined type. | |
dotnet_diagnostic.RCS1013.severity = none | |
# RCS1233: Use short-circuiting operator. | |
dotnet_diagnostic.RCS1233.severity = none | |
# RCS1113: Use 'string.IsNullOrEmpty' method. | |
dotnet_diagnostic.RCS1113.severity = none | |
# RCS1156: Use string.Length instead of comparison with empty string. | |
dotnet_diagnostic.RCS1156.severity = none | |
# RCS1089: Use --/++ operator instead of assignment. | |
dotnet_diagnostic.RCS1089.severity = none | |
# RCS1089FadeOut: Use --/++ operator instead of assignment. | |
dotnet_diagnostic.RCS1089FadeOut.severity = none | |
# RCS1177: Use 'var' instead of explicit type (in foreach). | |
dotnet_diagnostic.RCS1177.severity = none | |
# RCS1176: Use 'var' instead of explicit type (when the type is not obvious). | |
dotnet_diagnostic.RCS1176.severity = none | |
# RCS1010: Use 'var' instead of explicit type (when the type is obvious). | |
dotnet_diagnostic.RCS1010.severity = none | |
# RCS1227: Validate arguments correctly. | |
dotnet_diagnostic.RCS1227.severity = none | |
# RCS1166: Value type object is never equal to null. | |
dotnet_diagnostic.RCS1166.severity = none | |
# RCS1221: Use pattern matching instead of combination of 'as' operator and null check. | |
dotnet_diagnostic.RCS1221.severity = none | |
# RCS1220: Use pattern matching instead of combination of 'is' operator and cast operator. | |
dotnet_diagnostic.RCS1220.severity = none | |
# RCS1163: Unused parameter. | |
dotnet_diagnostic.RCS1163.severity = none | |
# RCS1175: Unused this parameter. | |
dotnet_diagnostic.RCS1175.severity = none | |
# RCS1164: Unused type parameter. | |
dotnet_diagnostic.RCS1164.severity = none | |
# RCS1213: Remove unused member declaration. | |
dotnet_diagnostic.RCS1213.severity = none | |
# RCS1210: Return Task.FromResult instead of returning null. | |
dotnet_diagnostic.RCS1210.severity = none | |
# RCS1118: Mark local variable as const. | |
dotnet_diagnostic.RCS1118.severity = none | |
# RCS1169: Make field read-only. | |
dotnet_diagnostic.RCS1169.severity = none | |
# RCS1170: Use read-only auto-implemented property. | |
dotnet_diagnostic.RCS1170.severity = none | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# S3655: Empty nullable value should not be accessed | |
dotnet_diagnostic.S3655.severity = none | |
# S3966: Objects should not be disposed more than once | |
dotnet_diagnostic.S3966.severity = none | |
# S3900: Arguments of public methods should be validated against null | |
dotnet_diagnostic.S3900.severity = none | |
# S4158: Empty collections should not be accessed or iterated | |
dotnet_diagnostic.S4158.severity = none | |
# S2583: Conditionally executed code should be reachable | |
dotnet_diagnostic.S2583.severity = none | |
# S2589: Boolean expressions should not be gratuitous | |
dotnet_diagnostic.S2589.severity = none | |
# S1944: Inappropriate casts should not be made | |
dotnet_diagnostic.S1944.severity = none | |
# S2259: Null pointers should not be dereferenced | |
dotnet_diagnostic.S2259.severity = none | |
# S5773: Types allowed to be deserialized should be restricted | |
dotnet_diagnostic.S5773.severity = none | |
# S3442: "abstract" classes should not have "public" constructors | |
dotnet_diagnostic.S3442.severity = none | |
# S4432: AES encryption algorithm should be used with secured mode | |
dotnet_diagnostic.S4432.severity = none | |
# S3923: All branches in a conditional structure should not have exactly the same implementation | |
dotnet_diagnostic.S3923.severity = none | |
# S3244: Anonymous delegates should not be used to unsubscribe from Events | |
dotnet_diagnostic.S3244.severity = none | |
# S3236: Caller information arguments should not be provided explicitly | |
dotnet_diagnostic.S3236.severity = none | |
# S2330: Array covariance should not be used | |
dotnet_diagnostic.S2330.severity = none | |
# S3415: Assertion arguments should be passed in the correct order | |
dotnet_diagnostic.S3415.severity = none | |
# S1121: Assignments should not be made from within sub-expressions | |
dotnet_diagnostic.S1121.severity = none | |
# S2306: "async" and "await" should not be used as identifiers | |
dotnet_diagnostic.S2306.severity = none | |
# S3168: "async" methods should not return "void" | |
dotnet_diagnostic.S3168.severity = none | |
# S1200: Classes should not be coupled to too many other classes (Single Responsibility Principle) | |
dotnet_diagnostic.S1200.severity = none | |
# S110: Inheritance tree of classes should not be too deep | |
dotnet_diagnostic.S110.severity = none | |
# S4060: Non-abstract attributes should be sealed | |
dotnet_diagnostic.S4060.severity = none | |
# S4583: Calls to delegate's method "BeginInvoke" should be paired with calls to "EndInvoke" | |
dotnet_diagnostic.S4583.severity = none | |
# S1764: Identical expressions should not be used on both sides of a binary operator | |
dotnet_diagnostic.S1764.severity = none | |
# S1940: Boolean checks should not be inverted | |
dotnet_diagnostic.S1940.severity = none | |
# S1125: Boolean literals should not be redundant | |
dotnet_diagnostic.S1125.severity = none | |
# S1227: break statements should not be used except for switch cases | |
dotnet_diagnostic.S1227.severity = none | |
# S3343: Caller information parameters should come at the end of the parameter list | |
dotnet_diagnostic.S3343.severity = none | |
# S4462: Calls to "async" methods should not be blocking | |
dotnet_diagnostic.S4462.severity = none | |
# S3215: "interface" instances should not be cast to concrete types | |
dotnet_diagnostic.S3215.severity = none | |
# S3247: Duplicate casts should not be made | |
dotnet_diagnostic.S3247.severity = none | |
# S2486: Generic exceptions should not be ignored | |
dotnet_diagnostic.S2486.severity = none | |
# S2737: "catch" clauses should do more than rethrow | |
dotnet_diagnostic.S2737.severity = none | |
# S3949: Calculations should not overflow | |
dotnet_diagnostic.S3949.severity = none | |
# S4830: Server certificates should be verified during SSL/TLS connections | |
dotnet_diagnostic.S4830.severity = none | |
# S3928: Parameter names used into ArgumentException constructors should match an existing one | |
dotnet_diagnostic.S3928.severity = none | |
# S1451: Track lack of copyright and license headers | |
dotnet_diagnostic.S1451.severity = none | |
# S100: Methods and properties should be named in PascalCase | |
dotnet_diagnostic.S100.severity = none | |
# S101: Types should be named in PascalCase | |
dotnet_diagnostic.S101.severity = none | |
# S3453: Classes should not have only "private" constructors | |
dotnet_diagnostic.S3453.severity = none | |
# S1694: An abstract class should have both abstract and concrete methods | |
dotnet_diagnostic.S1694.severity = none | |
# S3897: Classes that provide "Equals(<T>)" should implement "IEquatable<T>" | |
dotnet_diagnostic.S3897.severity = none | |
# S1118: Utility classes should not have public constructors | |
dotnet_diagnostic.S1118.severity = none | |
# S3776: Cognitive Complexity of methods should not be too high | |
dotnet_diagnostic.S3776.severity = none | |
# S1155: "Any()" should be used to test for emptiness | |
dotnet_diagnostic.S1155.severity = none | |
# S4004: Collection properties should be readonly | |
dotnet_diagnostic.S4004.severity = none | |
# S2971: "IEnumerable" LINQs should be simplified | |
dotnet_diagnostic.S2971.severity = none | |
# S3909: Collections should implement the generic interface | |
dotnet_diagnostic.S3909.severity = none | |
# S125: Sections of code should not be commented out | |
dotnet_diagnostic.S125.severity = none | |
# S1135: Track uses of "TODO" tags | |
dotnet_diagnostic.S1135.severity = none | |
# S1134: Track uses of "FIXME" tags | |
dotnet_diagnostic.S1134.severity = none | |
# S1210: "Equals" and the comparison operators should be overridden when implementing "IComparable" | |
dotnet_diagnostic.S1210.severity = none | |
# S2688: "NaN" should not be used in comparisons | |
dotnet_diagnostic.S2688.severity = none | |
# S3240: The simplest possible condition syntax should be used | |
dotnet_diagnostic.S3240.severity = none | |
# S3972: Conditionals should start on new lines | |
dotnet_diagnostic.S3972.severity = none | |
# S1862: Related "if/else if" statements should not have the same condition | |
dotnet_diagnostic.S1862.severity = none | |
# S1871: Two branches in a conditional structure should not have exactly the same implementation | |
dotnet_diagnostic.S1871.severity = none | |
# S2760: Sequential tests should not check the same condition | |
dotnet_diagnostic.S2760.severity = none | |
# S2228: Console logging should not be used | |
dotnet_diagnostic.S2228.severity = none | |
# S4260: "ConstructorArgument" parameters should exist in constructors | |
dotnet_diagnostic.S4260.severity = none | |
# S1699: Constructors should only call non-overridable methods | |
dotnet_diagnostic.S1699.severity = none | |
# S5034: "ValueTask" should be consumed correctly | |
dotnet_diagnostic.S5034.severity = none | |
# S2479: Whitespace and control characters in string literals should be explicit | |
dotnet_diagnostic.S2479.severity = none | |
# S3330: Creating cookies without the "HttpOnly" flag is security-sensitive | |
dotnet_diagnostic.S3330.severity = none | |
# S2092: Creating cookies without the "secure" flag is security-sensitive | |
dotnet_diagnostic.S2092.severity = none | |
# S4426: Cryptographic keys should be robust | |
dotnet_diagnostic.S4426.severity = none | |
# S3869: "SafeHandle.DangerousGetHandle" should not be called | |
dotnet_diagnostic.S3869.severity = none | |
# S1854: Unused assignments should be removed | |
dotnet_diagnostic.S1854.severity = none | |
# S3346: Expressions used in "Debug.Assert" should not produce side effects | |
dotnet_diagnostic.S3346.severity = none | |
# S3906: Event Handlers should have the correct signature | |
dotnet_diagnostic.S3906.severity = none | |
# S3903: Types should be defined in named namespaces | |
dotnet_diagnostic.S3903.severity = none | |
# S4524: "default" clauses should be first or last | |
dotnet_diagnostic.S4524.severity = none | |
# S3172: Delegates should not be subtracted | |
dotnet_diagnostic.S3172.severity = none | |
# S2931: Classes with "IDisposable" members should implement "IDisposable" | |
dotnet_diagnostic.S2931.severity = none | |
# S2930: "IDisposables" should be disposed | |
dotnet_diagnostic.S2930.severity = none | |
# S2997: "IDisposables" created in a "using" statement should not be returned | |
dotnet_diagnostic.S2997.severity = none | |
# S4002: Disposable types should declare finalizers | |
dotnet_diagnostic.S4002.severity = none | |
# S2952: Classes should "Dispose" of members from the classes' own "Dispose" methods | |
dotnet_diagnostic.S2952.severity = none | |
# S2953: Methods named "Dispose" should implement "IDisposable.Dispose" | |
dotnet_diagnostic.S2953.severity = none | |
# S3902: "Assembly.GetExecutingAssembly" should not be called | |
dotnet_diagnostic.S3902.severity = none | |
# S3885: "Assembly.Load" should be used | |
dotnet_diagnostic.S3885.severity = none | |
# S1147: Exit methods should not be called | |
dotnet_diagnostic.S1147.severity = none | |
# S1215: "GC.Collect" should not be called | |
dotnet_diagnostic.S1215.severity = none | |
# S3971: "GC.SuppressFinalize" should not be called | |
dotnet_diagnostic.S3971.severity = none | |
# S1696: NullReferenceException should not be caught | |
dotnet_diagnostic.S1696.severity = none | |
# S2221: "Exception" should not be caught when not required by called methods | |
dotnet_diagnostic.S2221.severity = none | |
# S3981: Collection sizes and array length comparisons should make sense | |
dotnet_diagnostic.S3981.severity = none | |
# S2365: Properties should not make collection or array copies | |
dotnet_diagnostic.S2365.severity = none | |
# S4015: Inherited member visibility should not be decreased | |
dotnet_diagnostic.S4015.severity = none | |
# S3956: "Generic.List" instances should not be part of public APIs | |
dotnet_diagnostic.S3956.severity = none | |
# S4019: Base class methods should not be hidden | |
dotnet_diagnostic.S4019.severity = none | |
# S4277: "Shared" parts should not be created with "new" | |
dotnet_diagnostic.S4277.severity = none | |
# S2551: Shared resources should not be used for locking | |
dotnet_diagnostic.S2551.severity = none | |
# S3998: Threads should not lock on objects with weak identity | |
dotnet_diagnostic.S3998.severity = none | |
# S4070: Non-flags enums should not be marked with "FlagsAttribute" | |
dotnet_diagnostic.S4070.severity = none | |
# S3358: Ternary operators should not be nested | |
dotnet_diagnostic.S3358.severity = none | |
# S4017: Method signatures should not contain nested generic types | |
dotnet_diagnostic.S4017.severity = none | |
# S4143: Collection elements should not be replaced unconditionally | |
dotnet_diagnostic.S4143.severity = none | |
# S4142: Duplicate values should not be passed as arguments | |
dotnet_diagnostic.S4142.severity = none | |
# S2183: Integral numbers should not be shifted by zero or more than their number of bits-1 | |
dotnet_diagnostic.S2183.severity = none | |
# S3060: "is" should not be used with "this" | |
dotnet_diagnostic.S3060.severity = none | |
# S1048: Destructors should not throw exceptions | |
dotnet_diagnostic.S1048.severity = none | |
# S2114: Collections should not be passed as arguments to their own methods | |
dotnet_diagnostic.S2114.severity = none | |
# S2701: Literal boolean values should not be used in assertions | |
dotnet_diagnostic.S2701.severity = none | |
# S3874: "out" and "ref" parameters should not be used | |
dotnet_diagnostic.S3874.severity = none | |
# S2245: Using pseudorandom number generators (PRNGs) is security-sensitive | |
dotnet_diagnostic.S2245.severity = none | |
# S106: Standard outputs should not be used directly to log anything | |
dotnet_diagnostic.S106.severity = none | |
# S881: Increment (++) and decrement (--) operators should not be used in a method call or mixed with other operators in an expression | |
dotnet_diagnostic.S881.severity = none | |
# S3875: "operator==" should not be overloaded on reference types | |
dotnet_diagnostic.S3875.severity = none | |
# S1186: Methods should not be empty | |
dotnet_diagnostic.S1186.severity = none | |
# S3261: Namespaces should not be empty | |
dotnet_diagnostic.S3261.severity = none | |
# S108: Nested blocks of code should not be left empty | |
dotnet_diagnostic.S108.severity = none | |
# S1116: Empty statements should be removed | |
dotnet_diagnostic.S1116.severity = none | |
# S5542: Encryption algorithms should be used with secure mode and padding scheme | |
dotnet_diagnostic.S5542.severity = none | |
# S2291: Overflow checking should not be disabled for "Enumerable.Sum" | |
dotnet_diagnostic.S2291.severity = none | |
# S2344: Enumeration type names should not have "Flags" or "Enum" suffixes | |
dotnet_diagnostic.S2344.severity = none | |
# S2342: Enumeration types should comply with a naming convention | |
dotnet_diagnostic.S2342.severity = none | |
# S4016: Enumeration members should not be named "Reserved" | |
dotnet_diagnostic.S4016.severity = none | |
# S4022: Enumerations should have "Int32" storage | |
dotnet_diagnostic.S4022.severity = none | |
# S1244: Floating point numbers should not be tested for equality | |
dotnet_diagnostic.S1244.severity = none | |
# S2197: Modulus results should not be checked for direct equality | |
dotnet_diagnostic.S2197.severity = none | |
# S4035: Classes implementing "IEquatable<T>" should be sealed | |
dotnet_diagnostic.S4035.severity = none | |
# S4220: Events should have proper arguments | |
dotnet_diagnostic.S4220.severity = none | |
# S3693: Exception constructors should not throw exceptions | |
dotnet_diagnostic.S3693.severity = none | |
# S3445: Exceptions should not be explicitly rethrown | |
dotnet_diagnostic.S3445.severity = none | |
# S3877: Exceptions should not be thrown from unexpected methods | |
dotnet_diagnostic.S3877.severity = none | |
# S4027: Exceptions should provide standard constructors | |
dotnet_diagnostic.S4027.severity = none | |
# S3871: Exception types should be "public" | |
dotnet_diagnostic.S3871.severity = none | |
# S3984: Exceptions should not be created without being thrown | |
dotnet_diagnostic.S3984.severity = none | |
# S3431: "[ExpectedException]" should not be used | |
dotnet_diagnostic.S3431.severity = none | |
# S1067: Expressions should not be too complex | |
dotnet_diagnostic.S1067.severity = none | |
# S4226: Extensions should be in separate namespaces | |
dotnet_diagnostic.S4226.severity = none | |
# S4225: Extension methods should not extend "object" | |
dotnet_diagnostic.S4225.severity = none | |
# S2387: Child class fields should not shadow parent class fields | |
dotnet_diagnostic.S2387.severity = none | |
# S4025: Child class fields should not differ from parent class fields only by capitalization | |
dotnet_diagnostic.S4025.severity = none | |
# S2933: Fields that are only assigned in the constructor should be "readonly" | |
dotnet_diagnostic.S2933.severity = none | |
# S2357: Fields should be private | |
dotnet_diagnostic.S2357.severity = none | |
# S1104: Fields should not have public accessibility | |
dotnet_diagnostic.S1104.severity = none | |
# S104: Files should not have too many lines of code | |
dotnet_diagnostic.S104.severity = none | |
# S113: Files should contain an empty newline at the end | |
dotnet_diagnostic.S113.severity = none | |
# S3880: Finalizers should not be empty | |
dotnet_diagnostic.S3880.severity = none | |
# S2345: Flags enumerations should explicitly initialize all their members | |
dotnet_diagnostic.S2345.severity = none | |
# S2346: Flags enumerations zero-value members should be named "None" | |
dotnet_diagnostic.S2346.severity = none | |
# S3217: "Explicit" conversions of "foreach" loops should not be used | |
dotnet_diagnostic.S3217.severity = none | |
# S2252: For-loop conditions should be true at least once | |
dotnet_diagnostic.S2252.severity = none | |
# S127: "for" loop stop conditions should be invariant | |
dotnet_diagnostic.S127.severity = none | |
# S1994: "for" loop increment clauses should modify the loops' counters | |
dotnet_diagnostic.S1994.severity = none | |
# S2251: A "for" loop update clause should move the counter in the right direction | |
dotnet_diagnostic.S2251.severity = none | |
# S3376: Attribute, EventArgs, and Exception type names should end with the type being extended | |
dotnet_diagnostic.S3376.severity = none | |
# S1541: Methods and properties should not be too complex | |
dotnet_diagnostic.S1541.severity = none | |
# S134: Control flow statements "if", "switch", "for", "foreach", "while", "do" and "try" should not be nested too deeply | |
dotnet_diagnostic.S134.severity = none | |
# S3464: Type inheritance should not be recursive | |
dotnet_diagnostic.S3464.severity = none | |
# S2934: Property assignments should not be made for "readonly" fields not constrained to reference types | |
dotnet_diagnostic.S2934.severity = none | |
# S2955: Generic parameters not constrained to reference types should not be compared to "null" | |
dotnet_diagnostic.S2955.severity = none | |
# S3246: Generic type parameters should be co/contravariant when possible | |
dotnet_diagnostic.S3246.severity = none | |
# S4018: Generic methods should provide type parameters | |
dotnet_diagnostic.S4018.severity = none | |
# S2326: Unused type parameters should be removed | |
dotnet_diagnostic.S2326.severity = none | |
# S3249: Classes directly extending "object" should not call "base" in "GetHashCode" or "Equals" | |
dotnet_diagnostic.S3249.severity = none | |
# S2328: "GetHashCode" should not reference mutable fields | |
dotnet_diagnostic.S2328.severity = none | |
# S2219: Runtime type checking should be simplified | |
dotnet_diagnostic.S2219.severity = none | |
# S907: "goto" statement should not be used | |
dotnet_diagnostic.S907.severity = none | |
# S3397: "base.Equals" should not be used to check for reference equality in "Equals" if "base" is not "object" | |
dotnet_diagnostic.S3397.severity = none | |
# S1313: Using hardcoded IP addresses is security-sensitive | |
dotnet_diagnostic.S1313.severity = none | |
# S3011: Reflection should not be used to increase accessibility of classes, methods, or fields | |
dotnet_diagnostic.S3011.severity = none | |
# S4792: Configuring loggers is security-sensitive | |
dotnet_diagnostic.S4792.severity = none | |
# S4834: Controlling permissions is security-sensitive | |
dotnet_diagnostic.S4834.severity = none | |
# S4790: Using weak hashing algorithms is security-sensitive | |
dotnet_diagnostic.S4790.severity = none | |
# S4507: Delivering code in production with debug features activated is security-sensitive | |
dotnet_diagnostic.S4507.severity = none | |
# S2068: Hard-coded credentials are security-sensitive | |
dotnet_diagnostic.S2068.severity = none | |
# S4787: Encrypting data is security-sensitive | |
dotnet_diagnostic.S4787.severity = none | |
# S2077: Formatting SQL queries is security-sensitive | |
dotnet_diagnostic.S2077.severity = none | |
# S5042: Expanding archive files is security-sensitive | |
dotnet_diagnostic.S5042.severity = none | |
# S4818: Using Sockets is security-sensitive | |
dotnet_diagnostic.S4818.severity = none | |
# S4823: Using command line arguments is security-sensitive | |
dotnet_diagnostic.S4823.severity = none | |
# S2255: Writing cookies is security-sensitive | |
dotnet_diagnostic.S2255.severity = none | |
# S4784: Using regular expressions is security-sensitive | |
dotnet_diagnostic.S4784.severity = none | |
# S4564: ASP.NET HTTP request validation feature should not be disabled | |
dotnet_diagnostic.S4564.severity = none | |
# S126: "if ... else if" constructs should end with "else" clauses | |
dotnet_diagnostic.S126.severity = none | |
# S1066: Collapsible "if" statements should be merged | |
dotnet_diagnostic.S1066.severity = none | |
# S1145: Useless "if(true) {...}" and "if(false){...}" blocks should be removed | |
dotnet_diagnostic.S1145.severity = none | |
# S3881: "IDisposable" should be implemented correctly | |
dotnet_diagnostic.S3881.severity = none | |
# S3925: "ISerializable" should be implemented correctly | |
dotnet_diagnostic.S3925.severity = none | |
# S3927: Serialization event handlers should be implemented correctly | |
dotnet_diagnostic.S3927.severity = none | |
# S3973: A conditionally executed single line should be denoted by indentation | |
dotnet_diagnostic.S3973.severity = none | |
# S2692: "IndexOf" checks should not be for positive numbers | |
dotnet_diagnostic.S2692.severity = none | |
# S2190: Recursion should not be infinite | |
dotnet_diagnostic.S2190.severity = none | |
# S3444: Interfaces should not simply inherit from base interfaces with colliding members | |
dotnet_diagnostic.S3444.severity = none | |
# S3963: "static" fields should be initialized inline | |
dotnet_diagnostic.S3963.severity = none | |
# S5766: Deserializing objects without performing data validation is security-sensitive | |
dotnet_diagnostic.S5766.severity = none | |
# S2278: Neither DES (Data Encryption Standard) nor DESede (3DES) should be used | |
dotnet_diagnostic.S2278.severity = none | |
# S5547: Cipher algorithms should be robust | |
dotnet_diagnostic.S5547.severity = none | |
# S2070: SHA-1 and Message-Digest hash algorithms should not be used in secure contexts | |
dotnet_diagnostic.S2070.severity = none | |
# S4039: Interface methods should be callable by derived types | |
dotnet_diagnostic.S4039.severity = none | |
# S4023: Interfaces should not be empty | |
dotnet_diagnostic.S4023.severity = none | |
# S3220: Method calls should not resolve ambiguously to overloads with "params" | |
dotnet_diagnostic.S3220.severity = none | |
# S1309: Track uses of in-source issue suppressions | |
dotnet_diagnostic.S1309.severity = none | |
# S5659: JWT should be signed and verified with strong cipher algorithms | |
dotnet_diagnostic.S5659.severity = none | |
# S4433: LDAP connections should be authenticated | |
dotnet_diagnostic.S4433.severity = none | |
# S103: Lines should not be too long | |
dotnet_diagnostic.S103.severity = none | |
# S4055: Literals should not be passed as localized parameters | |
dotnet_diagnostic.S4055.severity = none | |
# S818: Literal suffixes should be upper case | |
dotnet_diagnostic.S818.severity = none | |
# S2184: Results of integer division should not be assigned to floating point variables | |
dotnet_diagnostic.S2184.severity = none | |
# S109: Magic numbers should not be used | |
dotnet_diagnostic.S109.severity = none | |
# S3904: Assemblies should have version information | |
dotnet_diagnostic.S3904.severity = none | |
# S3990: Assemblies should be marked as CLS compliant | |
dotnet_diagnostic.S3990.severity = none | |
# S3992: Assemblies should explicitly specify COM visibility | |
dotnet_diagnostic.S3992.severity = none | |
# S4026: Assemblies should be marked with "NeutralResourcesLanguageAttribute" | |
dotnet_diagnostic.S4026.severity = none | |
# S4210: Windows Forms entry points should be marked with STAThread | |
dotnet_diagnostic.S4210.severity = none | |
# S3052: Members should not be initialized to default values | |
dotnet_diagnostic.S3052.severity = none | |
# S3604: Member initializer values should not be redundant | |
dotnet_diagnostic.S3604.severity = none | |
# S1185: Overriding members should do more than simply call the same member in the base class | |
dotnet_diagnostic.S1185.severity = none | |
# S3218: Inner class members should not shadow outer class "static" or type members | |
dotnet_diagnostic.S3218.severity = none | |
# S2325: Methods and properties that don't access instance data should be static | |
dotnet_diagnostic.S2325.severity = none | |
# S4211: Members should not have conflicting transparency annotations | |
dotnet_diagnostic.S4211.severity = none | |
# S3427: Method overloads with default parameter values should not overlap | |
dotnet_diagnostic.S3427.severity = none | |
# S4136: Method overloads should be grouped together | |
dotnet_diagnostic.S4136.severity = none | |
# S3600: "params" should not be introduced on overrides | |
dotnet_diagnostic.S3600.severity = none | |
# S1006: Method overrides should not change parameter defaults | |
dotnet_diagnostic.S1006.severity = none | |
# S3262: "params" should be used on overrides | |
dotnet_diagnostic.S3262.severity = none | |
# S3450: Parameters with "[DefaultParameterValue]" attributes should also be marked "[Optional]" | |
dotnet_diagnostic.S3450.severity = none | |
# S1172: Unused method parameters should be removed | |
dotnet_diagnostic.S1172.severity = none | |
# S4261: Methods should be named according to their synchronicities | |
dotnet_diagnostic.S4261.severity = none | |
# S3400: Methods should not return constants | |
dotnet_diagnostic.S3400.severity = none | |
# S4144: Methods should not have identical implementations | |
dotnet_diagnostic.S4144.severity = none | |
# S138: Functions should not have too many lines of code | |
dotnet_diagnostic.S138.severity = none | |
# S3242: Method parameters should be declared with base types | |
dotnet_diagnostic.S3242.severity = none | |
# S2681: Multiline blocks should be enclosed in curly braces | |
dotnet_diagnostic.S2681.severity = none | |
# S1659: Multiple variables should not be declared on the same line | |
dotnet_diagnostic.S1659.severity = none | |
# S3887: Mutable, non-private fields should not be "readonly" | |
dotnet_diagnostic.S3887.severity = none | |
# S2386: Mutable fields should not be "public static" | |
dotnet_diagnostic.S2386.severity = none | |
# S2302: "nameof" should be used | |
dotnet_diagnostic.S2302.severity = none | |
# S4200: Native methods should be wrapped | |
dotnet_diagnostic.S4200.severity = none | |
# S1199: Nested code blocks should not be used | |
dotnet_diagnostic.S1199.severity = none | |
# S4581: "new Guid()" should not be used | |
dotnet_diagnostic.S4581.severity = none | |
# S1163: Exceptions should not be thrown in finally blocks | |
dotnet_diagnostic.S1163.severity = none | |
# S4586: Non-async "Task/Task<T>" methods should not return null | |
dotnet_diagnostic.S4586.severity = none | |
# S3265: Non-flags enums should not be used in bitwise operations | |
dotnet_diagnostic.S3265.severity = none | |
# S4040: Strings should be normalized to uppercase | |
dotnet_diagnostic.S4040.severity = none | |
# S3459: Unassigned members should be removed | |
dotnet_diagnostic.S3459.severity = none | |
# S3937: Number patterns should be regular | |
dotnet_diagnostic.S3937.severity = none | |
# S1848: Objects should not be created to be dropped immediately without being used | |
dotnet_diagnostic.S1848.severity = none | |
# S1123: "Obsolete" attributes should include explanations | |
dotnet_diagnostic.S1123.severity = none | |
# S4069: Operator overloads should have named alternatives | |
dotnet_diagnostic.S4069.severity = none | |
# S4050: Operators should be overloaded consistently | |
dotnet_diagnostic.S4050.severity = none | |
# S2360: Optional parameters should not be used | |
dotnet_diagnostic.S2360.severity = none | |
# S3466: Optional parameters should be passed to "base" calls | |
dotnet_diagnostic.S3466.severity = none | |
# S3451: "[DefaultValue]" should not be used when "[DefaultParameterValue]" is meant | |
dotnet_diagnostic.S3451.severity = none | |
# S3447: "[Optional]" should not be used on "ref" or "out" parameters | |
dotnet_diagnostic.S3447.severity = none | |
# S3169: Multiple "OrderBy" calls should not be used | |
dotnet_diagnostic.S3169.severity = none | |
# S1206: "Equals(Object)" and "GetHashCode()" should be overridden in pairs | |
dotnet_diagnostic.S1206.severity = none | |
# S1226: Method parameters, caught exceptions and foreach variables' initial values should not be ignored | |
dotnet_diagnostic.S1226.severity = none | |
# S927: parameter names should match base declaration and other partial definitions | |
dotnet_diagnostic.S927.severity = none | |
# S3872: Parameter names should not duplicate the names of their methods | |
dotnet_diagnostic.S3872.severity = none | |
# S2234: Parameters should be passed in the correct order | |
dotnet_diagnostic.S2234.severity = none | |
# S4457: Parameter validation in "async"/"await" methods should be wrapped | |
dotnet_diagnostic.S4457.severity = none | |
# S4456: Parameter validation in yielding methods should be wrapped | |
dotnet_diagnostic.S4456.severity = none | |
# S4428: "PartCreationPolicyAttribute" should be used with "ExportAttribute" | |
dotnet_diagnostic.S4428.severity = none | |
# S3251: Implementations should be provided for "partial" methods | |
dotnet_diagnostic.S3251.severity = none | |
# S4214: "P/Invoke" methods should not be visible | |
dotnet_diagnostic.S4214.severity = none | |
# S4000: Pointers to unmanaged memory should not be visible | |
dotnet_diagnostic.S4000.severity = none | |
# S3967: Multidimensional arrays should not be used | |
dotnet_diagnostic.S3967.severity = none | |
# S1450: Private fields only used as local variables in methods should become local variables | |
dotnet_diagnostic.S1450.severity = none | |
# S4275: Getters and setters should access the expected fields | |
dotnet_diagnostic.S4275.severity = none | |
# S4049: Properties should be preferred | |
dotnet_diagnostic.S4049.severity = none | |
# S2372: Exceptions should not be thrown from property getters | |
dotnet_diagnostic.S2372.severity = none | |
# S4059: Property names should not match get methods | |
dotnet_diagnostic.S4059.severity = none | |
# S2292: Trivial properties should be auto-implemented | |
dotnet_diagnostic.S2292.severity = none | |
# S2376: Write-only properties should not be used | |
dotnet_diagnostic.S2376.severity = none | |
# S3926: Deserialization methods should be provided for "OptionalField" members | |
dotnet_diagnostic.S3926.severity = none | |
# S2339: Public constant members should not be used | |
dotnet_diagnostic.S2339.severity = none | |
# S2368: Public methods should not have multidimensional array parameters | |
dotnet_diagnostic.S2368.severity = none | |
# S3603: Methods with "Pure" attribute should return a value | |
dotnet_diagnostic.S3603.severity = none | |
# S4829: Reading the Standard Input is security-sensitive | |
dotnet_diagnostic.S4829.severity = none | |
# S3253: Constructor and destructor declarations should not be redundant | |
dotnet_diagnostic.S3253.severity = none | |
# S3254: Default parameter values should not be passed as arguments | |
dotnet_diagnostic.S3254.severity = none | |
# S1905: Redundant casts should not be used | |
dotnet_diagnostic.S1905.severity = none | |
# S3440: Variables should not be checked against the values they're about to be assigned | |
dotnet_diagnostic.S3440.severity = none | |
# S3257: Declarations and initializations should be as concise as possible | |
dotnet_diagnostic.S3257.severity = none | |
# S1939: Inheritance list should not be redundant | |
dotnet_diagnostic.S1939.severity = none | |
# S3626: Jump statements should not be redundant | |
dotnet_diagnostic.S3626.severity = none | |
# S2333: Redundant modifiers should not be used | |
dotnet_diagnostic.S2333.severity = none | |
# S3610: Nullable type comparison should not be redundant | |
dotnet_diagnostic.S3610.severity = none | |
# S4201: Null checks should not be used with "is" | |
dotnet_diagnostic.S4201.severity = none | |
# S1110: Redundant pairs of parentheses should be removed | |
dotnet_diagnostic.S1110.severity = none | |
# S3235: Redundant parentheses should not be used | |
dotnet_diagnostic.S3235.severity = none | |
# S3441: Redundant property names should be omitted in anonymous classes | |
dotnet_diagnostic.S3441.severity = none | |
# S3456: "string.ToCharArray()" should not be called redundantly | |
dotnet_diagnostic.S3456.severity = none | |
# S1858: "ToString()" calls should not be redundant | |
dotnet_diagnostic.S1858.severity = none | |
# S1698: "==" should not be used when "Equals" is overridden | |
dotnet_diagnostic.S1698.severity = none | |
# S2995: "Object.ReferenceEquals" should not be used for value types | |
dotnet_diagnostic.S2995.severity = none | |
# S3993: Custom attributes should be marked with "System.AttributeUsageAttribute" | |
dotnet_diagnostic.S3993.severity = none | |
# S1168: Empty arrays and collections should be returned instead of null | |
dotnet_diagnostic.S1168.severity = none | |
# S2201: Return values from functions without side effects should not be ignored | |
dotnet_diagnostic.S2201.severity = none | |
# S2757: "=+" should not be used instead of "+=" | |
dotnet_diagnostic.S2757.severity = none | |
# S1109: A close curly brace should be located at the beginning of a line | |
dotnet_diagnostic.S1109.severity = none | |
# S3884: "CoSetProxyBlanket" and "CoInitializeSecurity" should not be used | |
dotnet_diagnostic.S3884.severity = none | |
# S1656: Variables should not be self-assigned | |
dotnet_diagnostic.S1656.severity = none | |
# S4212: Serialization constructors should be secured | |
dotnet_diagnostic.S4212.severity = none | |
# S4057: Locales should be set for data types | |
dotnet_diagnostic.S4057.severity = none | |
# S3449: Right operands of shift operators should be integers | |
dotnet_diagnostic.S3449.severity = none | |
# S1697: Short-circuit logic should be used to prevent null pointer dereferences in conditionals | |
dotnet_diagnostic.S1697.severity = none | |
# S4159: Classes should implement their "ExportAttribute" interfaces | |
dotnet_diagnostic.S4159.severity = none | |
# S2437: Silly bit operations should not be performed | |
dotnet_diagnostic.S2437.severity = none | |
# S122: Statements should be on separate lines | |
dotnet_diagnostic.S122.severity = none | |
# S4056: Overloads with a "CultureInfo" or an "IFormatProvider" parameter should be used | |
dotnet_diagnostic.S4056.severity = none | |
# S4058: Overloads with a "StringComparison" parameter should be used | |
dotnet_diagnostic.S4058.severity = none | |
# S2857: SQL keywords should be delimited by whitespace | |
dotnet_diagnostic.S2857.severity = none | |
# S2743: Static fields should not be used in generic types | |
dotnet_diagnostic.S2743.severity = none | |
# S3263: Static fields should appear in the order they must be initialized | |
dotnet_diagnostic.S3263.severity = none | |
# S2223: Non-constant static fields should not be visible | |
dotnet_diagnostic.S2223.severity = none | |
# S3010: Static fields should not be updated in constructors | |
dotnet_diagnostic.S3010.severity = none | |
# S2696: Instance members should not write to "static" fields | |
dotnet_diagnostic.S2696.severity = none | |
# S2156: "sealed" classes should not have "protected" members | |
dotnet_diagnostic.S2156.severity = none | |
# S2674: The length returned from a stream read should be checked | |
dotnet_diagnostic.S2674.severity = none | |
# S1643: Strings should not be concatenated using '+' in a loop | |
dotnet_diagnostic.S1643.severity = none | |
# S2275: Composite format strings should not lead to unexpected behavior at runtime | |
dotnet_diagnostic.S2275.severity = none | |
# S3457: Composite format strings should be used correctly | |
dotnet_diagnostic.S3457.severity = none | |
# S1192: String literals should not be duplicated | |
dotnet_diagnostic.S1192.severity = none | |
# S4635: String offset-based methods should be preferred for finding substrings from offsets | |
dotnet_diagnostic.S4635.severity = none | |
# S1449: Culture should be specified for "string" operations | |
dotnet_diagnostic.S1449.severity = none | |
# S3876: Strings or integral types should be used for indexers | |
dotnet_diagnostic.S3876.severity = none | |
# S3234: "GC.SuppressFinalize" should not be invoked for types without destructors | |
dotnet_diagnostic.S3234.severity = none | |
# S3458: Empty "case" clauses that fall through to the "default" should be omitted | |
dotnet_diagnostic.S3458.severity = none | |
# S1301: "switch" statements should have at least 3 "case" clauses | |
dotnet_diagnostic.S1301.severity = none | |
# S3532: Empty "default" clauses should be removed | |
dotnet_diagnostic.S3532.severity = none | |
# S1151: "switch case" clauses should not have too many lines of code | |
dotnet_diagnostic.S1151.severity = none | |
# S1821: "switch" statements should not be nested | |
dotnet_diagnostic.S1821.severity = none | |
# S131: "switch/Select" statements should contain a "default/Case Else" clauses | |
dotnet_diagnostic.S131.severity = none | |
# S105: Tabulation characters should not be used | |
dotnet_diagnostic.S105.severity = none | |
# S3216: "ConfigureAwait(false)" should be used | |
dotnet_diagnostic.S3216.severity = none | |
# S2758: The ternary operator should not return the same value regardless of the condition | |
dotnet_diagnostic.S2758.severity = none | |
# S2187: TestCases should contain tests | |
dotnet_diagnostic.S2187.severity = none | |
# S2699: Tests should include assertions | |
dotnet_diagnostic.S2699.severity = none | |
# S3433: Test method signatures should be correct | |
dotnet_diagnostic.S3433.severity = none | |
# S1607: Tests should not be ignored | |
dotnet_diagnostic.S1607.severity = none | |
# S3366: "this" should not be exposed from constructors | |
dotnet_diagnostic.S3366.severity = none | |
# S3889: Neither "Thread.Resume" nor "Thread.Suspend" should be used | |
dotnet_diagnostic.S3889.severity = none | |
# S3005: "ThreadStatic" should not be used on non-static fields | |
dotnet_diagnostic.S3005.severity = none | |
# S2996: "ThreadStatic" fields should not be initialized | |
dotnet_diagnostic.S2996.severity = none | |
# S112: General exceptions should never be thrown | |
dotnet_diagnostic.S112.severity = none | |
# S2436: Types and methods should not have too many generic parameters | |
dotnet_diagnostic.S2436.severity = none | |
# S1479: "switch" statements should not have too many "case" clauses | |
dotnet_diagnostic.S1479.severity = none | |
# S107: Methods should not have too many parameters | |
dotnet_diagnostic.S107.severity = none | |
# S2225: "ToString()" method should not return null | |
dotnet_diagnostic.S2225.severity = none | |
# S3717: Track use of "NotImplementedException" | |
dotnet_diagnostic.S3717.severity = none | |
# S2327: "try" statements with identical "catch" and/or "finally" blocks should be merged | |
dotnet_diagnostic.S2327.severity = none | |
# S3443: Type should not be examined on "System.Type" instances | |
dotnet_diagnostic.S3443.severity = none | |
# S4041: Type names should not match namespaces | |
dotnet_diagnostic.S4041.severity = none | |
# S4052: Types should not extend outdated base types | |
dotnet_diagnostic.S4052.severity = none | |
# S2761: Doubled prefix operators "!!" and "~~" should not be used | |
dotnet_diagnostic.S2761.severity = none | |
# S3353: Unchanged local variables should be "const" | |
dotnet_diagnostic.S3353.severity = none | |
# S1751: Loops with at most one iteration should be refactored | |
dotnet_diagnostic.S1751.severity = none | |
# S3264: Events should be invoked | |
dotnet_diagnostic.S3264.severity = none | |
# S1128: Unused "using" should be removed | |
dotnet_diagnostic.S1128.severity = none | |
# S1144: Unused private types or members should be removed | |
dotnet_diagnostic.S1144.severity = none | |
# S4487: Unread "private" fields should be removed | |
dotnet_diagnostic.S4487.severity = none | |
# S3241: Methods should not return values that are never used | |
dotnet_diagnostic.S3241.severity = none | |
# S1075: URIs should not be hardcoded | |
dotnet_diagnostic.S1075.severity = none | |
# S3962: "static readonly" constants should be "const" instead | |
dotnet_diagnostic.S3962.severity = none | |
# S121: Control structures should use curly braces | |
dotnet_diagnostic.S121.severity = none | |
# S3908: Generic event handlers should be used | |
dotnet_diagnostic.S3908.severity = none | |
# S4047: Generics should be used when appropriate | |
dotnet_diagnostic.S4047.severity = none | |
# S2148: Underscores should be used to make large numbers readable | |
dotnet_diagnostic.S2148.severity = none | |
# S4061: "params" should be used instead of "varargs" | |
dotnet_diagnostic.S4061.severity = none | |
# S2178: Short-circuit logic should be used in boolean contexts | |
dotnet_diagnostic.S2178.severity = none | |
# S3256: "string.IsNullOrEmpty" should be used | |
dotnet_diagnostic.S3256.severity = none | |
# S3994: URI Parameters should not be strings | |
dotnet_diagnostic.S3994.severity = none | |
# S3995: URI return values should not be strings | |
dotnet_diagnostic.S3995.severity = none | |
# S3996: URI properties should not be strings | |
dotnet_diagnostic.S3996.severity = none | |
# S3997: String URI overloads should call "System.Uri" overloads | |
dotnet_diagnostic.S3997.severity = none | |
# S4005: "System.Uri" arguments should be used instead of strings | |
dotnet_diagnostic.S4005.severity = none | |
# S3237: "value" parameters should be used | |
dotnet_diagnostic.S3237.severity = none | |
# S1264: A "while" loop should be used instead of a "for" loop | |
dotnet_diagnostic.S1264.severity = none | |
# S9999-cpd: Copy-paste token calculator | |
dotnet_diagnostic.S9999-cpd.severity = none | |
# S9999-metadata: File metadata generator | |
dotnet_diagnostic.S9999-metadata.severity = none | |
# S9999-metrics: Metrics calculator | |
dotnet_diagnostic.S9999-metrics.severity = none | |
# S9999-symbolRef: Symbol reference calculator | |
dotnet_diagnostic.S9999-symbolRef.severity = none | |
# S9999-token-type: Token type calculator | |
dotnet_diagnostic.S9999-token-type.severity = none | |
# S2123: Values should not be uselessly incremented | |
dotnet_diagnostic.S2123.severity = none | |
# S3898: Value types should implement "IEquatable<T>" | |
dotnet_diagnostic.S3898.severity = none | |
# S1117: Local variables should not shadow class fields | |
dotnet_diagnostic.S1117.severity = none | |
# S1481: Unused local variables should be removed | |
dotnet_diagnostic.S1481.severity = none | |
# S2290: Field-like events should not be virtual | |
dotnet_diagnostic.S2290.severity = none | |
# S3597: "ServiceContract" and "OperationContract" attributes should be used together | |
dotnet_diagnostic.S3597.severity = none | |
# S3598: One-way "OperationContract" methods should have "void" return type | |
dotnet_diagnostic.S3598.severity = none | |
# S2755: XML parsers should not be vulnerable to XXE attacks | |
dotnet_diagnostic.S2755.severity = none | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment