Team Ai
Datasetpublic

MegaBites-AI/Windows-powershell

sourceHugging Facemitupdated 6mo agoView on Hugging Face
0likes372downloads
.globalconfig2294 linesDownload Raw Back to PowerShell-master
1is_global = true2 3# CA1000: Do not declare static members on generic types4# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca10005dotnet_diagnostic.CA1000.severity = warning6dotnet_code_quality.CA1000.api_surface = all7 8# CA1001: Types that own disposable fields should be disposable9# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca100110dotnet_diagnostic.CA1001.severity = silent11 12# CA1002: Do not expose generic lists13# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca100214dotnet_diagnostic.CA1002.severity = none15 16# CA1003: Use generic event handler instances17# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca100318dotnet_diagnostic.CA1003.severity = warning19dotnet_code_quality.CA1003.api_surface = private, internal20 21# CA1005: Avoid excessive parameters on generic types22# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca100523dotnet_diagnostic.CA1005.severity = none24 25# CA1008: Enums should have zero value26# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca100827dotnet_diagnostic.CA1008.severity = none28dotnet_code_quality.CA1008.api_surface = public29 30# CA1010: Generic interface should also be implemented31# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca101032dotnet_diagnostic.CA1010.severity = silent33dotnet_code_quality.CA1010.api_surface = public34 35# CA1012: Abstract types should not have public constructors36# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca101237dotnet_diagnostic.CA1012.severity = warning38dotnet_code_quality.CA1012.api_surface = all39 40# CA1014: Mark assemblies with CLSCompliant41# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca101442dotnet_diagnostic.CA1014.severity = none43 44# CA1016: Mark assemblies with assembly version45# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca101646dotnet_diagnostic.CA1016.severity = warning47 48# CA1017: Mark assemblies with ComVisible49# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca101750dotnet_diagnostic.CA1017.severity = none51 52# CA1018: Mark attributes with AttributeUsageAttribute53# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca101854dotnet_diagnostic.CA1018.severity = warning55 56# CA1019: Define accessors for attribute arguments57# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca101958dotnet_diagnostic.CA1019.severity = none59 60# CA1021: Avoid out parameters61# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca102162dotnet_diagnostic.CA1021.severity = none63 64# CA1024: Use properties where appropriate65# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca102466dotnet_diagnostic.CA1024.severity = none67dotnet_code_quality.CA1024.api_surface = public68 69# CA1027: Mark enums with FlagsAttribute70# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca102771dotnet_diagnostic.CA1027.severity = none72dotnet_code_quality.CA1027.api_surface = public73 74# CA1028: Enum Storage should be Int3275# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca102876dotnet_diagnostic.CA1028.severity = none77dotnet_code_quality.CA1028.api_surface = public78 79# CA1030: Use events where appropriate80# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca103081dotnet_diagnostic.CA1030.severity = none82dotnet_code_quality.CA1030.api_surface = public83 84# CA1031: Do not catch general exception types85# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca103186dotnet_diagnostic.CA1031.severity = none87 88# CA1032: Implement standard exception constructors89# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca103290dotnet_diagnostic.CA1032.severity = none91 92# CA1033: Interface methods should be callable by child types93# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca103394dotnet_diagnostic.CA1033.severity = none95 96# CA1034: Nested types should not be visible97# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca103498dotnet_diagnostic.CA1034.severity = none99 100# CA1036: Override methods on comparable types101# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1036102dotnet_diagnostic.CA1036.severity = silent103dotnet_code_quality.CA1036.api_surface = public104 105# CA1040: Avoid empty interfaces106# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1040107dotnet_diagnostic.CA1040.severity = none108dotnet_code_quality.CA1040.api_surface = public109 110# CA1041: Provide ObsoleteAttribute message111# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1041112dotnet_diagnostic.CA1041.severity = warning113dotnet_code_quality.CA1041.api_surface = public114 115# CA1043: Use Integral Or String Argument For Indexers116# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1043117dotnet_diagnostic.CA1043.severity = warning118dotnet_code_quality.CA1043.api_surface = all119 120# CA1044: Properties should not be write only121# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1044122dotnet_diagnostic.CA1044.severity = none123dotnet_code_quality.CA1044.api_surface = public124 125# CA1045: Do not pass types by reference126# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1045127dotnet_diagnostic.CA1045.severity = none128 129# CA1046: Do not overload equality operator on reference types130# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1046131dotnet_diagnostic.CA1046.severity = none132 133# CA1047: Do not declare protected member in sealed type134# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1047135dotnet_diagnostic.CA1047.severity = warning136 137# CA1050: Declare types in namespaces138# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1050139dotnet_diagnostic.CA1050.severity = warning140 141# CA1051: Do not declare visible instance fields142# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051143dotnet_diagnostic.CA1051.severity = silent144dotnet_code_quality.CA1051.api_surface = public145 146# CA1052: Static holder types should be Static or NotInheritable147# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1052148dotnet_diagnostic.CA1052.severity = warning149dotnet_code_quality.CA1052.api_surface = all150 151# CA1054: URI-like parameters should not be strings152# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1054153dotnet_diagnostic.CA1054.severity = none154dotnet_code_quality.CA1054.api_surface = public155 156# CA1055: URI-like return values should not be strings157# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1055158dotnet_diagnostic.CA1055.severity = none159dotnet_code_quality.CA1055.api_surface = public160 161# CA1056: URI-like properties should not be strings162# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1056163dotnet_diagnostic.CA1056.severity = none164dotnet_code_quality.CA1056.api_surface = public165 166# CA1058: Types should not extend certain base types167# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1058168dotnet_diagnostic.CA1058.severity = none169dotnet_code_quality.CA1058.api_surface = public170 171# CA1060: Move pinvokes to native methods class172# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1060173dotnet_diagnostic.CA1060.severity = none174 175# CA1061: Do not hide base class methods176# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1061177dotnet_diagnostic.CA1061.severity = warning178 179# CA1062: Validate arguments of public methods180# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062181dotnet_diagnostic.CA1062.severity = none182 183# CA1063: Implement IDisposable Correctly184# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1063185dotnet_diagnostic.CA1063.severity = none186dotnet_code_quality.CA1063.api_surface = public187 188# CA1064: Exceptions should be public189# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1064190dotnet_diagnostic.CA1064.severity = none191 192# CA1065: Do not raise exceptions in unexpected locations193# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1065194dotnet_diagnostic.CA1065.severity = warning195 196# CA1066: Implement IEquatable when overriding Object.Equals197# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1066198dotnet_diagnostic.CA1066.severity = none199 200# CA1067: Override Object.Equals(object) when implementing IEquatable<T>201# # https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1067202dotnet_diagnostic.CA1067.severity = warning203 204# CA1068: CancellationToken parameters must come last205# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1068206dotnet_diagnostic.CA1068.severity = warning207 208# CA1069: Enums values should not be duplicated209# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1069210dotnet_diagnostic.CA1069.severity = suggestion211 212# CA1070: Do not declare event fields as virtual213# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1070214dotnet_diagnostic.CA1070.severity = warning215 216# CA1200: Avoid using cref tags with a prefix217# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1200218dotnet_diagnostic.CA1200.severity = warning219 220# CA1303: Do not pass literals as localized parameters221# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303222dotnet_diagnostic.CA1303.severity = none223 224# CA1304: Specify CultureInfo225# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304226dotnet_diagnostic.CA1304.severity = silent227 228# CA1305: Specify IFormatProvider229# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305230dotnet_diagnostic.CA1305.severity = silent231 232# CA1307: Specify StringComparison for clarity233# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307234dotnet_diagnostic.CA1307.severity = none235 236# CA1308: Normalize strings to uppercase237# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1308238dotnet_diagnostic.CA1308.severity = none239 240# CA1309: Use ordinal string comparison241# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1309242dotnet_diagnostic.CA1309.severity = silent243 244# CA1310: Specify StringComparison for correctness245# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310246dotnet_diagnostic.CA1310.severity = silent247 248# CA1401: P/Invokes should not be visible249# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1401250dotnet_diagnostic.CA1401.severity = warning251 252# CA1416: Validate platform compatibility253# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416254dotnet_diagnostic.CA1416.severity = warning255 256# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes257# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1417258dotnet_diagnostic.CA1417.severity = warning259 260# CA1418: Use valid platform string261# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1418262dotnet_diagnostic.CA1418.severity = warning263 264# CA1501: Avoid excessive inheritance265# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1501266dotnet_diagnostic.CA1501.severity = none267 268# CA1502: Avoid excessive complexity269# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1502270dotnet_diagnostic.CA1502.severity = none271 272# CA1505: Avoid unmaintainable code273# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1505274dotnet_diagnostic.CA1505.severity = none275 276# CA1506: Avoid excessive class coupling277# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1506278dotnet_diagnostic.CA1506.severity = none279 280# CA1507: Use nameof to express symbol names281# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1507282dotnet_diagnostic.CA1507.severity = suggestion283 284# CA1508: Avoid dead conditional code285# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1508286dotnet_diagnostic.CA1508.severity = none287 288# CA1509: Invalid entry in code metrics rule specification file289# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1509290dotnet_diagnostic.CA1509.severity = none291 292# CA1700: Do not name enum values 'Reserved'293# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1700294dotnet_diagnostic.CA1700.severity = none295 296# CA1707: Identifiers should not contain underscores297# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707298dotnet_diagnostic.CA1707.severity = silent299 300# CA1708: Identifiers should differ by more than case301# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1708302dotnet_diagnostic.CA1708.severity = silent303dotnet_code_quality.CA1708.api_surface = public304 305# CA1710: Identifiers should have correct suffix306# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1710307dotnet_diagnostic.CA1710.severity = silent308dotnet_code_quality.CA1710.api_surface = public309 310# CA1711: Identifiers should not have incorrect suffix311# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711312dotnet_diagnostic.CA1711.severity = silent313dotnet_code_quality.CA1711.api_surface = public314 315# CA1712: Do not prefix enum values with type name316# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1712317dotnet_diagnostic.CA1712.severity = silent318 319# CA1713: Events should not have 'Before' or 'After' prefix320# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1713321dotnet_diagnostic.CA1713.severity = none322 323# CA1715: Identifiers should have correct prefix324# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1715325dotnet_diagnostic.CA1715.severity = silent326dotnet_code_quality.CA1715.api_surface = public327 328# CA1716: Identifiers should not match keywords329# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716330dotnet_diagnostic.CA1716.severity = silent331dotnet_code_quality.CA1716.api_surface = public332 333# CA1720: Identifier contains type name334# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1720335dotnet_diagnostic.CA1720.severity = silent336dotnet_code_quality.CA1720.api_surface = public337 338# CA1721: Property names should not match get methods339# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1721340dotnet_diagnostic.CA1721.severity = none341dotnet_code_quality.CA1721.api_surface = public342 343# CA1724: Type names should not match namespaces344# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1724345dotnet_diagnostic.CA1724.severity = none346 347# CA1725: Parameter names should match base declaration348# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725349dotnet_diagnostic.CA1725.severity = silent350dotnet_code_quality.CA1725.api_surface = public351 352# CA1801: Review unused parameters353# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1801354dotnet_diagnostic.CA1801.severity = none355dotnet_code_quality.CA1801.api_surface = all356 357# CA1802: Use literals where appropriate358# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1802359dotnet_diagnostic.CA1802.severity = none360dotnet_code_quality.CA1802.api_surface = public361 362# CA1805: Do not initialize unnecessarily363# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805364dotnet_diagnostic.CA1805.severity = suggestion365 366# CA1806: Do not ignore method results367# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1806368dotnet_diagnostic.CA1806.severity = suggestion369 370# CA1810: Initialize reference type static fields inline371# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1810372dotnet_diagnostic.CA1810.severity = none373 374# CA1812: Avoid uninstantiated internal classes375# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1812376dotnet_diagnostic.CA1812.severity = warning377 378# CA1813: Avoid unsealed attributes379# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1813380dotnet_diagnostic.CA1813.severity = none381 382# CA1814: Prefer jagged arrays over multidimensional383# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1814384dotnet_diagnostic.CA1814.severity = none385 386# CA1815: Override equals and operator equals on value types387# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1815388dotnet_diagnostic.CA1815.severity = none389dotnet_code_quality.CA1815.api_surface = public390 391# CA1816: Dispose methods should call SuppressFinalize392# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1816393dotnet_diagnostic.CA1816.severity = warning394 395# CA1819: Properties should not return arrays396# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1819397dotnet_diagnostic.CA1819.severity = none398dotnet_code_quality.CA1819.api_surface = public399 400# CA1820: Test for empty strings using string length401# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1820402dotnet_diagnostic.CA1820.severity = none403 404# CA1821: Remove empty Finalizers405# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1821406dotnet_diagnostic.CA1821.severity = warning407 408# CA1822: Mark members as static409# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822410dotnet_diagnostic.CA1822.severity = warning411dotnet_code_quality.CA1822.api_surface = private412 413# CA1823: Avoid unused private fields414# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823415dotnet_diagnostic.CA1823.severity = none416 417# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute418# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1824419dotnet_diagnostic.CA1824.severity = warning420 421# CA1825: Avoid zero-length array allocations422# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1825423dotnet_diagnostic.CA1825.severity = warning424 425# CA1826: Do not use Enumerable methods on indexable collections426# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1826427dotnet_diagnostic.CA1826.severity = warning428 429# CA1827: Do not use Count() or LongCount() when Any() can be used430# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1827431dotnet_diagnostic.CA1827.severity = warning432 433# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used434# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1828435dotnet_diagnostic.CA1828.severity = warning436 437# CA1829: Use Length/Count property instead of Count() when available438# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1829439dotnet_diagnostic.CA1829.severity = warning440 441# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder442# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1830443dotnet_diagnostic.CA1830.severity = warning444 445# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate446# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1831447dotnet_diagnostic.CA1831.severity = warning448 449# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate450# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1832451dotnet_diagnostic.CA1832.severity = warning452 453# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate454# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1833455dotnet_diagnostic.CA1833.severity = warning456 457# CA1834: Consider using 'StringBuilder.Append(char)' when applicable458# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1834459dotnet_diagnostic.CA1834.severity = warning460 461# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync'462# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1835463dotnet_diagnostic.CA1835.severity = suggestion464 465# CA1836: Prefer IsEmpty over Count466# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1836467dotnet_diagnostic.CA1836.severity = warning468 469# CA1837: Use 'Environment.ProcessId'470# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1837471dotnet_diagnostic.CA1837.severity = warning472 473# CA1838: Avoid 'StringBuilder' parameters for P/Invokes474# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1838475dotnet_diagnostic.CA1838.severity = silent476 477# CA1839: Use 'Environment.ProcessPath'478# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1839479dotnet_diagnostic.CA1839.severity = warning480 481# CA1840: Use 'Environment.CurrentManagedThreadId'482# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1840483dotnet_diagnostic.CA1840.severity = warning484 485# CA1841: Prefer Dictionary.Contains methods486# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1841487dotnet_diagnostic.CA1841.severity = warning488 489# CA1842: Do not use 'WhenAll' with a single task490# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1842491dotnet_diagnostic.CA1842.severity = warning492 493# CA1843: Do not use 'WaitAll' with a single task494# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1843495dotnet_diagnostic.CA1843.severity = warning496 497# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream'498# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1844499dotnet_diagnostic.CA1844.severity = warning500 501# CA1845: Use span-based 'string.Concat'502# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1845503dotnet_diagnostic.CA1845.severity = warning504 505# CA1846: Prefer 'AsSpan' over 'Substring'506# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1846507dotnet_diagnostic.CA1846.severity = warning508 509# CA1847: Use char literal for a single character lookup510# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1847511dotnet_diagnostic.CA1847.severity = warning512 513# CA1852: Seal internal types514# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852515dotnet_diagnostic.CA1852.severity = warning516 517# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)'518# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1853519dotnet_diagnostic.CA1853.severity = warning520 521# CA1858: Use 'StartsWith' instead of 'IndexOf'522# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1858523dotnet_diagnostic.CA1858.severity = warning524 525# CA1860: Avoid using 'Enumerable.Any()' extension method526# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860527dotnet_diagnostic.CA1860.severity = warning528 529# CA1865: Use char overload530# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1865531dotnet_diagnostic.CA1865.severity = warning532 533# CA1866: Use char overload534# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1866535dotnet_diagnostic.CA1866.severity = warning536 537# CA1867: Use char overload538# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1867539dotnet_diagnostic.CA1867.severity = warning540 541# CA1868: Unnecessary call to 'Contains' for sets542# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1868543dotnet_diagnostic.CA1868.severity = warning544 545# CA2000: Dispose objects before losing scope546# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000547dotnet_diagnostic.CA2000.severity = none548 549# CA2002: Do not lock on objects with weak identity550# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2002551dotnet_diagnostic.CA2002.severity = none552 553# CA2007: Consider calling ConfigureAwait on the awaited task554# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007555dotnet_diagnostic.CA2007.severity = none556 557# CA2008: Do not create tasks without passing a TaskScheduler558# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2008559dotnet_diagnostic.CA2008.severity = none560 561# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value562# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2009563dotnet_diagnostic.CA2009.severity = warning564 565# CA2011: Avoid infinite recursion566# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2011567dotnet_diagnostic.CA2011.severity = warning568 569# CA2012: Use ValueTasks correctly570# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2012571dotnet_diagnostic.CA2012.severity = warning572 573# CA2013: Do not use ReferenceEquals with value types574# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2013575dotnet_diagnostic.CA2013.severity = warning576 577# CA2014: Do not use stackalloc in loops578# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2014579dotnet_diagnostic.CA2014.severity = warning580 581# CA2015: Do not define finalizers for types derived from MemoryManager<T>582# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2015583dotnet_diagnostic.CA2015.severity = warning584 585# CA2016: Forward the 'CancellationToken' parameter to methods that take one586# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2016587dotnet_diagnostic.CA2016.severity = suggestion588 589# CA2021: Do not call Enumerable.Cast<T> or Enumerable.OfType<T> with incompatible types590# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2021591dotnet_diagnostic.CA2021.severity = warning592 593# CA2022: Avoid inexact read with 'Stream.Read'594# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022595dotnet_diagnostic.CA2022.severity = warning596 597# CA2100: Review SQL queries for security vulnerabilities598# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2100599dotnet_diagnostic.CA2100.severity = none600 601# CA2101: Specify marshaling for P/Invoke string arguments602# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2101603dotnet_diagnostic.CA2101.severity = suggestion604 605# CA2109: Review visible event handlers606# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2109607dotnet_diagnostic.CA2109.severity = none608 609# CA2119: Seal methods that satisfy private interfaces610# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2119611dotnet_diagnostic.CA2119.severity = none612 613# CA2153: Do Not Catch Corrupted State Exceptions614# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2153615dotnet_diagnostic.CA2153.severity = none616 617# CA2200: Rethrow to preserve stack details618# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200619dotnet_diagnostic.CA2200.severity = warning620 621# CA2201: Do not raise reserved exception types622# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201623dotnet_diagnostic.CA2201.severity = silent624 625# CA2207: Initialize value type static fields inline626# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2207627dotnet_diagnostic.CA2207.severity = warning628 629# CA2208: Instantiate argument exceptions correctly630# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208631dotnet_diagnostic.CA2208.severity = suggestion632dotnet_code_quality.CA2208.api_surface = all633 634# CA2211: Non-constant fields should not be visible635# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2211636dotnet_diagnostic.CA2211.severity = warning637 638# CA2213: Disposable fields should be disposed639# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2213640dotnet_diagnostic.CA2213.severity = none641 642# CA2214: Do not call overridable methods in constructors643# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2214644dotnet_diagnostic.CA2214.severity = none645 646# CA2215: Dispose methods should call base class dispose647# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2215648dotnet_diagnostic.CA2215.severity = silent649 650# CA2216: Disposable types should declare finalizer651# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2216652dotnet_diagnostic.CA2216.severity = warning653 654# CA2217: Do not mark enums with FlagsAttribute655# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2217656dotnet_diagnostic.CA2217.severity = none657dotnet_code_quality.CA2217.api_surface = public658 659# CA2218: Override GetHashCode on overriding Equals660# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2218661dotnet_diagnostic.CA2218.severity = suggestion662 663# CA2219: Do not raise exceptions in finally clauses664# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2219665dotnet_diagnostic.CA2219.severity = suggestion666 667# CA2224: Override Equals on overloading operator equals668# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2224669dotnet_diagnostic.CA2224.severity = suggestion670 671# CA2225: Operator overloads have named alternates672# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2225673dotnet_diagnostic.CA2225.severity = none674dotnet_code_quality.CA2225.api_surface = public675 676# CA2226: Operators should have symmetrical overloads677# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2226678dotnet_diagnostic.CA2226.severity = none679dotnet_code_quality.CA2226.api_surface = public680 681# CA2227: Collection properties should be read only682# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227683dotnet_diagnostic.CA2227.severity = none684 685# CA2229: Implement serialization constructors686# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2229687dotnet_diagnostic.CA2229.severity = silent688 689# CA2231: Overload operator equals on overriding value type Equals690# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2231691dotnet_diagnostic.CA2231.severity = suggestion692dotnet_code_quality.CA2231.api_surface = public693 694# CA2234: Pass system uri objects instead of strings695# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234696dotnet_diagnostic.CA2234.severity = none697dotnet_code_quality.CA2234.api_surface = public698 699# CA2235: Mark all non-serializable fields700# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2235701dotnet_diagnostic.CA2235.severity = none702 703# CA2237: Mark ISerializable types with serializable704# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2237705dotnet_diagnostic.CA2237.severity = none706 707# CA2241: Provide correct arguments to formatting methods708# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2241709dotnet_diagnostic.CA2241.severity = suggestion710 711# CA2242: Test for NaN correctly712# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2242713dotnet_diagnostic.CA2242.severity = suggestion714 715# CA2243: Attribute string literals should parse correctly716# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2243717dotnet_diagnostic.CA2243.severity = warning718 719# CA2244: Do not duplicate indexed element initializations720# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2244721dotnet_diagnostic.CA2244.severity = suggestion722 723# CA2245: Do not assign a property to itself724# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2245725dotnet_diagnostic.CA2245.severity = suggestion726 727# CA2246: Assigning symbol and its member in the same statement728# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2246729dotnet_diagnostic.CA2246.severity = suggestion730 731# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum732# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2247733dotnet_diagnostic.CA2247.severity = warning734 735# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag'736# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2248737dotnet_diagnostic.CA2248.severity = suggestion738 739# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf'740# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2249741dotnet_diagnostic.CA2249.severity = warning742 743# CA2250: Use 'ThrowIfCancellationRequested'744# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2250745dotnet_diagnostic.CA2250.severity = warning746 747# CA2251: Use 'string.Equals'748# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2251749dotnet_diagnostic.CA2251.severity = warning750 751# CA2252: This API requires opting into preview features752# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2252753dotnet_diagnostic.CA2251.severity = none754 755# CA2300: Do not use insecure deserializer BinaryFormatter756# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2300757dotnet_diagnostic.CA2300.severity = none758 759# CA2301: Do not call BinaryFormatter.Deserialize without first setting BinaryFormatter.Binder760# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2301761dotnet_diagnostic.CA2301.severity = none762 763# CA2302: Ensure BinaryFormatter.Binder is set before calling BinaryFormatter.Deserialize764# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2302765dotnet_diagnostic.CA2302.severity = none766 767# CA2305: Do not use insecure deserializer LosFormatter768# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2305769dotnet_diagnostic.CA2305.severity = none770 771# CA2310: Do not use insecure deserializer NetDataContractSerializer772# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2310773dotnet_diagnostic.CA2310.severity = none774 775# CA2311: Do not deserialize without first setting NetDataContractSerializer.Binder776# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2311777dotnet_diagnostic.CA2311.severity = none778 779# CA2312: Ensure NetDataContractSerializer.Binder is set before deserializing780# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2312781dotnet_diagnostic.CA2312.severity = none782 783# CA2315: Do not use insecure deserializer ObjectStateFormatter784# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2315785dotnet_diagnostic.CA2315.severity = none786 787# CA2321: Do not deserialize with JavaScriptSerializer using a SimpleTypeResolver788# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2321789dotnet_diagnostic.CA2321.severity = none790 791# CA2322: Ensure JavaScriptSerializer is not initialized with SimpleTypeResolver before deserializing792# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2322793dotnet_diagnostic.CA2322.severity = none794 795# CA2326: Do not use TypeNameHandling values other than None796# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2326797dotnet_diagnostic.CA2326.severity = none798 799# CA2327: Do not use insecure JsonSerializerSettings800# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2327801dotnet_diagnostic.CA2327.severity = none802 803# CA2328: Ensure that JsonSerializerSettings are secure804# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2328805dotnet_diagnostic.CA2328.severity = none806 807# CA2329: Do not deserialize with JsonSerializer using an insecure configuration808# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2329809dotnet_diagnostic.CA2329.severity = none810 811# CA2330: Ensure that JsonSerializer has a secure configuration when deserializing812# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2330813dotnet_diagnostic.CA2330.severity = none814 815# CA2350: Do not use DataTable.ReadXml() with untrusted data816# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2350817dotnet_diagnostic.CA2350.severity = none818 819# CA2351: Do not use DataSet.ReadXml() with untrusted data820# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2351821dotnet_diagnostic.CA2351.severity = none822 823# CA2352: Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks824# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2352825dotnet_diagnostic.CA2352.severity = none826 827# CA2353: Unsafe DataSet or DataTable in serializable type828# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2353829dotnet_diagnostic.CA2353.severity = none830 831# CA2354: Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attacks832# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2354833dotnet_diagnostic.CA2354.severity = none834 835# CA2355: Unsafe DataSet or DataTable type found in deserializable object graph836# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2355837dotnet_diagnostic.CA2355.severity = none838 839# CA2356: Unsafe DataSet or DataTable type in web deserializable object graph840# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2356841dotnet_diagnostic.CA2356.severity = none842 843# CA2361: Ensure autogenerated class containing DataSet.ReadXml() is not used with untrusted data844# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2361845dotnet_diagnostic.CA2361.severity = none846 847# CA2362: Unsafe DataSet or DataTable in autogenerated serializable type can be vulnerable to remote code execution attacks848# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2362849dotnet_diagnostic.CA2362.severity = none850 851# CA3001: Review code for SQL injection vulnerabilities852# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3001853dotnet_diagnostic.CA3001.severity = none854 855# CA3002: Review code for XSS vulnerabilities856# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3002857dotnet_diagnostic.CA3002.severity = none858 859# CA3003: Review code for file path injection vulnerabilities860# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3003861dotnet_diagnostic.CA3003.severity = none862 863# CA3004: Review code for information disclosure vulnerabilities864# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3004865dotnet_diagnostic.CA3004.severity = none866 867# CA3005: Review code for LDAP injection vulnerabilities868# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3005869dotnet_diagnostic.CA3005.severity = none870 871# CA3006: Review code for process command injection vulnerabilities872# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3006873dotnet_diagnostic.CA3006.severity = none874 875# CA3007: Review code for open redirect vulnerabilities876# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3007877dotnet_diagnostic.CA3007.severity = none878 879# CA3008: Review code for XPath injection vulnerabilities880# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3008881dotnet_diagnostic.CA3008.severity = none882 883# CA3009: Review code for XML injection vulnerabilities884# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3009885dotnet_diagnostic.CA3009.severity = none886 887# CA3010: Review code for XAML injection vulnerabilities888# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3010889dotnet_diagnostic.CA3010.severity = none890 891# CA3011: Review code for DLL injection vulnerabilities892# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3011893dotnet_diagnostic.CA3011.severity = none894 895# CA3012: Review code for regex injection vulnerabilities896# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3012897dotnet_diagnostic.CA3012.severity = none898 899# CA3061: Do Not Add Schema By URL900# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3061901dotnet_diagnostic.CA3061.severity = silent902 903# CA3075: Insecure DTD processing in XML904# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3075905dotnet_diagnostic.CA3075.severity = silent906 907# CA3076: Insecure XSLT script processing.908# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3076909dotnet_diagnostic.CA3076.severity = silent910 911# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader912# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3077913dotnet_diagnostic.CA3077.severity = silent914 915# CA3147: Mark Verb Handlers With Validate Antiforgery Token916# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3147917dotnet_diagnostic.CA3147.severity = silent918 919# CA5350: Do Not Use Weak Cryptographic Algorithms920# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5350921dotnet_diagnostic.CA5350.severity = silent922 923# CA5351: Do Not Use Broken Cryptographic Algorithms924# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5351925dotnet_diagnostic.CA5351.severity = silent926 927# CA5358: Review cipher mode usage with cryptography experts928# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5358929dotnet_diagnostic.CA5358.severity = none930 931# CA5359: Do Not Disable Certificate Validation932# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5359933dotnet_diagnostic.CA5359.severity = silent934 935# CA5360: Do Not Call Dangerous Methods In Deserialization936# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5360937dotnet_diagnostic.CA5360.severity = silent938 939# CA5361: Do Not Disable SChannel Use of Strong Crypto940# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5361941dotnet_diagnostic.CA5361.severity = none942 943# CA5362: Potential reference cycle in deserialized object graph944# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5362945dotnet_diagnostic.CA5362.severity = none946 947# CA5363: Do Not Disable Request Validation948# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5363949dotnet_diagnostic.CA5363.severity = silent950 951# CA5364: Do Not Use Deprecated Security Protocols952# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5364953dotnet_diagnostic.CA5364.severity = silent954 955# CA5365: Do Not Disable HTTP Header Checking956# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5365957dotnet_diagnostic.CA5365.severity = silent958 959# CA5366: Use XmlReader For DataSet Read Xml960# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5366961dotnet_diagnostic.CA5366.severity = silent962 963# CA5367: Do Not Serialize Types With Pointer Fields964# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5367965dotnet_diagnostic.CA5367.severity = none966 967# CA5368: Set ViewStateUserKey For Classes Derived From Page968# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5368969dotnet_diagnostic.CA5368.severity = silent970 971# CA5369: Use XmlReader For Deserialize972# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5369973dotnet_diagnostic.CA5369.severity = silent974 975# CA5370: Use XmlReader For Validating Reader976# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5370977dotnet_diagnostic.CA5370.severity = silent978 979# CA5371: Use XmlReader For Schema Read980# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5371981dotnet_diagnostic.CA5371.severity = silent982 983# CA5372: Use XmlReader For XPathDocument984# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5372985dotnet_diagnostic.CA5372.severity = silent986 987# CA5373: Do not use obsolete key derivation function988# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5373989dotnet_diagnostic.CA5373.severity = silent990 991# CA5374: Do Not Use XslTransform992# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5374993dotnet_diagnostic.CA5374.severity = silent994 995# CA5375: Do Not Use Account Shared Access Signature996# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5375997dotnet_diagnostic.CA5375.severity = none998 999# CA5376: Use SharedAccessProtocol HttpsOnly1000# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca53761001dotnet_diagnostic.CA5376.severity = none1002 1003# CA5377: Use Container Level Access Policy1004# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca53771005dotnet_diagnostic.CA5377.severity = none1006 1007# CA5378: Do not disable ServicePointManagerSecurityProtocols1008# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca53781009dotnet_diagnostic.CA5378.severity = none1010 1011# CA5379: Do Not Use Weak Key Derivation Function Algorithm1012# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca53791013dotnet_diagnostic.CA5379.severity = silent1014 1015# CA5380: Do Not Add Certificates To Root Store1016# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca53801017dotnet_diagnostic.CA5380.severity = none1018 1019# CA5381: Ensure Certificates Are Not Added To Root Store1020# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca53811021dotnet_diagnostic.CA5381.severity = none1022 1023# CA5382: Use Secure Cookies In ASP.Net Core1024# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca53821025dotnet_diagnostic.CA5382.severity = none1026 1027# CA5383: Ensure Use Secure Cookies In ASP.Net Core1028# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca53831029dotnet_diagnostic.CA5383.severity = none1030 1031# CA5384: Do Not Use Digital Signature Algorithm (DSA)1032# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca53841033dotnet_diagnostic.CA5384.severity = silent1034 1035# CA5385: Use Rivest–Shamir–Adleman (RSA) Algorithm With Sufficient Key Size1036# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca53851037dotnet_diagnostic.CA5385.severity = silent1038 1039# CA5386: Avoid hardcoding SecurityProtocolType value1040# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca53861041dotnet_diagnostic.CA5386.severity = none1042 1043# CA5387: Do Not Use Weak Key Derivation Function With Insufficient Iteration Count1044# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca53871045dotnet_diagnostic.CA5387.severity = none1046 1047# CA5388: Ensure Sufficient Iteration Count When Using Weak Key Derivation Function1048# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca53881049dotnet_diagnostic.CA5388.severity = none1050 1051# CA5389: Do Not Add Archive Item's Path To The Target File System Path1052# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca53891053dotnet_diagnostic.CA5389.severity = none1054 1055# CA5390: Do not hard-code encryption key1056# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca53901057dotnet_diagnostic.CA5390.severity = none1058 1059# CA5391: Use antiforgery tokens in ASP.NET Core MVC controllers1060# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca53911061dotnet_diagnostic.CA5391.severity = none1062 1063# CA5392: Use DefaultDllImportSearchPaths attribute for P/Invokes1064# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca53921065dotnet_diagnostic.CA5392.severity = none1066 1067# CA5393: Do not use unsafe DllImportSearchPath value1068# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca53931069dotnet_diagnostic.CA5393.severity = none1070 1071# CA5394: Do not use insecure randomness1072# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca53941073dotnet_diagnostic.CA5394.severity = none1074 1075# CA5395: Miss HttpVerb attribute for action methods1076# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca53951077dotnet_diagnostic.CA5395.severity = none1078 1079# CA5396: Set HttpOnly to true for HttpCookie1080# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca53961081dotnet_diagnostic.CA5396.severity = none1082 1083# CA5397: Do not use deprecated SslProtocols values1084# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca53971085dotnet_diagnostic.CA5397.severity = silent1086 1087# CA5398: Avoid hardcoded SslProtocols values1088# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca53981089dotnet_diagnostic.CA5398.severity = none1090 1091# CA5399: HttpClients should enable certificate revocation list checks1092# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca53991093dotnet_diagnostic.CA5399.severity = none1094 1095# CA5400: Ensure HttpClient certificate revocation list check is not disabled1096# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca54001097dotnet_diagnostic.CA5400.severity = none1098 1099# CA5401: Do not use CreateEncryptor with non-default IV1100# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca54011101dotnet_diagnostic.CA5401.severity = none1102 1103# CA5402: Use CreateEncryptor with the default IV1104# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca54021105dotnet_diagnostic.CA5402.severity = none1106 1107# CA5403: Do not hard-code certificate1108# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca54031109dotnet_diagnostic.CA5403.severity = none1110 1111# IL3000: Avoid using accessing Assembly file path when publishing as a single-file1112# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/il30001113dotnet_diagnostic.IL3000.severity = warning1114 1115# IL3001: Avoid using accessing Assembly file path when publishing as a single-file1116# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/il30011117dotnet_diagnostic.IL3001.severity = warning1118 1119# IL3002: Using member with RequiresAssemblyFilesAttribute can break functionality when embedded in a single-file app1120# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/il30021121dotnet_diagnostic.IL3002.severity = warning1122 1123# DOC100: PlaceTextInParagraphs1124# https://github.com/DotNetAnalyzers/DocumentationAnalyzers/blob/master/docs/DOC100.md1125dotnet_diagnostic.DOC100.severity = none1126 1127# DOC101: UseChildBlocksConsistently1128# https://github.com/DotNetAnalyzers/DocumentationAnalyzers/blob/master/docs/DOC101.md1129dotnet_diagnostic.DOC101.severity = none1130 1131# DOC102: UseChildBlocksConsistentlyAcrossElementsOfTheSameKind1132# https://github.com/DotNetAnalyzers/DocumentationAnalyzers/blob/master/docs/DOC102.md1133dotnet_diagnostic.DOC102.severity = none1134 1135# DOC103: UseUnicodeCharacters1136# https://github.com/DotNetAnalyzers/DocumentationAnalyzers/blob/master/docs/DOC103.md1137dotnet_diagnostic.DOC103.severity = none1138 1139# DOC104: UseSeeLangword1140# https://github.com/DotNetAnalyzers/DocumentationAnalyzers/blob/master/docs/DOC104.md1141dotnet_diagnostic.DOC104.severity = suggestion1142 1143# DOC105: UseParamref1144# https://github.com/DotNetAnalyzers/DocumentationAnalyzers/blob/master/docs/DOC105.md1145dotnet_diagnostic.DOC105.severity = none1146 1147# DOC106: UseTypeparamref1148# https://github.com/DotNetAnalyzers/DocumentationAnalyzers/blob/master/docs/DOC106.md1149dotnet_diagnostic.DOC106.severity = none1150 1151# DOC107: UseSeeCref1152# https://github.com/DotNetAnalyzers/DocumentationAnalyzers/blob/master/docs/DOC107.md1153dotnet_diagnostic.DOC107.severity = none1154 1155# DOC108: AvoidEmptyParagraphs1156# https://github.com/DotNetAnalyzers/DocumentationAnalyzers/blob/master/docs/DOC108.md1157dotnet_diagnostic.DOC108.severity = none1158 1159# DOC200: UseXmlDocumentationSyntax1160# https://github.com/DotNetAnalyzers/DocumentationAnalyzers/blob/master/docs/DOC200.md1161dotnet_diagnostic.DOC200.severity = none1162 1163# DOC201: ItemShouldHaveDescription1164# https://github.com/DotNetAnalyzers/DocumentationAnalyzers/blob/master/docs/DOC201.md1165dotnet_diagnostic.DOC201.severity = none1166 1167# DOC202: UseSectionElementsCorrectly1168# https://github.com/DotNetAnalyzers/DocumentationAnalyzers/blob/master/docs/DOC202.md1169dotnet_diagnostic.DOC202.severity = none1170 1171# DOC203: UseBlockElementsCorrectly1172# https://github.com/DotNetAnalyzers/DocumentationAnalyzers/blob/master/docs/DOC203.md1173dotnet_diagnostic.DOC203.severity = none1174 1175# DOC204: UseInlineElementsCorrectly1176# https://github.com/DotNetAnalyzers/DocumentationAnalyzers/blob/master/docs/DOC204.md1177dotnet_diagnostic.DOC204.severity = none1178 1179# DOC207: UseSeeLangwordCorrectly1180# https://github.com/DotNetAnalyzers/DocumentationAnalyzers/blob/master/docs/DOC207.md1181dotnet_diagnostic.DOC207.severity = none1182 1183# DOC209: UseSeeHrefCorrectly1184# https://github.com/DotNetAnalyzers/DocumentationAnalyzers/blob/master/docs/DOC209.md1185dotnet_diagnostic.DOC209.severity = none1186 1187# IDE0001: SimplifyNames1188# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide00011189dotnet_diagnostic.IDE0001.severity = silent1190 1191# IDE0002: SimplifyMemberAccess1192# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide00021193dotnet_diagnostic.IDE0002.severity = silent1194 1195# IDE0003: RemoveQualification1196# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide00031197dotnet_diagnostic.IDE0003.severity = silent1198 1199# IDE0004: RemoveUnnecessaryCast1200# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0004

Showing the first 1,200 of 2294 lines. Download the file for the rest.