From aaf4421f241998b5cf92dbd4dccb1fe8280c28e6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 24 Jul 2023 01:14:39 +0000 Subject: [PATCH 1/2] Update dependency Meziantou.Analyzer to v2.0.70 --- Meziantou.DotNet.CodingStandard.nuspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Meziantou.DotNet.CodingStandard.nuspec b/Meziantou.DotNet.CodingStandard.nuspec index a07b3ee..01243ed 100644 --- a/Meziantou.DotNet.CodingStandard.nuspec +++ b/Meziantou.DotNet.CodingStandard.nuspec @@ -18,7 +18,7 @@ - + From 8eabd93614819ec9ddd22dbf6a7c8f59728e4a3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9rald=20Barr=C3=A9?= Date: Sun, 23 Jul 2023 21:32:35 -0400 Subject: [PATCH 2/2] Update config --- .../Analyzer.Meziantou.Analyzer.editorconfig | 1346 ++++++++--------- 1 file changed, 673 insertions(+), 673 deletions(-) diff --git a/src/configuration/Analyzer.Meziantou.Analyzer.editorconfig b/src/configuration/Analyzer.Meziantou.Analyzer.editorconfig index 0a45168..c55c538 100644 --- a/src/configuration/Analyzer.Meziantou.Analyzer.editorconfig +++ b/src/configuration/Analyzer.Meziantou.Analyzer.editorconfig @@ -1,673 +1,673 @@ -# global_level must be higher than the NET Analyzer files -is_global = true -global_level = 0 - -# MA0001: StringComparison is missing -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0001.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0001.severity = warning - -# MA0002: IEqualityComparer or IComparer is missing -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0002.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0002.severity = warning - -# MA0003: Add parameter name to improve readability -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0003.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0003.severity = info - -# MA0004: Use Task.ConfigureAwait(false) -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0004.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0004.severity = warning - -# MA0005: Use Array.Empty() -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0005.md -# Enabled: True, Severity: warning -# Superseeded by CA1825 -dotnet_diagnostic.MA0005.severity = none - -# MA0006: Use String.Equals instead of equality operator -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0006.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0006.severity = silent - -# MA0007: Add a comma after the last value -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0007.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0007.severity = info - -# MA0008: Add StructLayoutAttribute -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0008.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0008.severity = warning - -# MA0009: Add regex evaluation timeout -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0009.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0009.severity = warning - -# MA0010: Mark attributes with AttributeUsageAttribute -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0010.md -# Enabled: True, Severity: warning -# Superseeded by CA1018 -dotnet_diagnostic.MA0010.severity = none - -# MA0011: IFormatProvider is missing -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0011.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0011.severity = warning - -# MA0012: Do not raise reserved exception type -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0012.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0012.severity = warning - -# MA0013: Types should not extend System.ApplicationException -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0013.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0013.severity = warning - -# MA0014: Do not raise System.ApplicationException type -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0014.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0014.severity = warning - -# MA0015: Specify the parameter name in ArgumentException -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0015.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0015.severity = warning - -# MA0016: Prefer returning collection abstraction instead of implementation -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0016.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0016.severity = none - -# MA0017: Abstract types should not have public or internal constructors -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0017.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0017.severity = warning - -# MA0018: Do not declare static members on generic types -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0018.md -# Enabled: True, Severity: warning -# Superseeded by CA1000 -dotnet_diagnostic.MA0018.severity = none - -# MA0019: Use EventArgs.Empty -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0019.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0019.severity = warning - -# MA0020: Use direct methods instead of LINQ methods -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0020.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0020.severity = info - -# MA0021: Use StringComparer.GetHashCode instead of string.GetHashCode -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0021.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0021.severity = warning - -# MA0022: Return Task.FromResult instead of returning null -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0022.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0022.severity = warning - -# MA0023: Add RegexOptions.ExplicitCapture -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0023.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0023.severity = warning - -# MA0024: Use an explicit StringComparer when possible -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0024.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0024.severity = warning - -# MA0025: Implement the functionality instead of throwing NotImplementedException -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0025.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0025.severity = warning - -# MA0026: Fix TODO comment -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0026.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0026.severity = warning - -# MA0027: Prefer rethrowing an exception implicitly -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0027.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0027.severity = warning - -# MA0028: Optimize StringBuilder usage -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0028.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0028.severity = info - -# MA0029: Combine LINQ methods -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0029.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0029.severity = info - -# MA0030: Remove useless OrderBy call -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0030.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0030.severity = warning - -# MA0031: Optimize Enumerable.Count() usage -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0031.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0031.severity = info - -# MA0032: Use an overload with a CancellationToken argument -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0032.md -# Enabled: False, Severity: info -dotnet_diagnostic.MA0032.severity = none - -# MA0033: Do not tag instance fields with ThreadStaticAttribute -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0033.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0033.severity = warning - -# MA0035: Do not use dangerous threading methods -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0035.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0035.severity = warning - -# MA0036: Make class static -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0036.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0036.severity = info - -# MA0037: Remove empty statement -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0037.md -# Enabled: True, Severity: error -dotnet_diagnostic.MA0037.severity = error - -# MA0038: Make method static (deprecated, use CA1822 instead) -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0038.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0038.severity = none - -# MA0039: Do not write your own certificate validation method -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0039.md -# Enabled: True, Severity: error -dotnet_diagnostic.MA0039.severity = error - -# MA0040: Forward the CancellationToken parameter to methods that take one -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0040.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0040.severity = info - -# MA0041: Make property static (deprecated, use CA1822 instead) -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0041.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0041.severity = none - -# MA0042: Do not use blocking calls in an async method -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0042.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0042.severity = info - -# MA0043: Use nameof operator in ArgumentException -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0043.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0043.severity = info - -# MA0044: Remove useless ToString call -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0044.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0044.severity = info - -# MA0045: Do not use blocking calls in a sync method (need to make calling method async) -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0045.md -# Enabled: False, Severity: info -dotnet_diagnostic.MA0045.severity = none - -# MA0046: Use EventHandler to declare events -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0046.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0046.severity = warning - -# MA0047: Declare types in namespaces -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0047.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0047.severity = warning - -# MA0048: File name must match type name -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0048.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0048.severity = warning - -# MA0049: Type name should not match containing namespace -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0049.md -# Enabled: True, Severity: error -dotnet_diagnostic.MA0049.severity = error - -# MA0050: Validate arguments correctly in iterator methods -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0050.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0050.severity = info - -# MA0051: Method is too long -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0051.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0051.severity = none - -# MA0052: Replace constant Enum.ToString with nameof -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0052.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0052.severity = info - -# MA0053: Make class sealed -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0053.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0053.severity = info - -# MA0054: Embed the caught exception as innerException -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0054.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0054.severity = warning - -# MA0055: Do not use finalizer -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0055.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0055.severity = warning - -# MA0056: Do not call overridable members in constructor -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0056.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0056.severity = warning - -# MA0057: Class name should end with 'Attribute' -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0057.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0057.severity = info - -# MA0058: Class name should end with 'Exception' -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0058.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0058.severity = info - -# MA0059: Class name should end with 'EventArgs' -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0059.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0059.severity = info - -# MA0060: The value returned by Stream.Read/Stream.ReadAsync is not used -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0060.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0060.severity = warning - -# MA0061: Method overrides should not change default values -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0061.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0061.severity = warning - -# MA0062: Non-flags enums should not be marked with "FlagsAttribute" -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0062.md -# Enabled: True, Severity: warning -# Superseeded by CA2217 -dotnet_diagnostic.MA0062.severity = none - -# MA0063: Use Where before OrderBy -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0063.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0063.severity = info - -# MA0064: Avoid locking on publicly accessible instance -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0064.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0064.severity = warning - -# MA0065: Default ValueType.Equals or HashCode is used for struct equality -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0065.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0065.severity = warning - -# MA0066: Hash table unfriendly type is used in a hash table -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0066.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0066.severity = warning - -# MA0067: Use Guid.Empty -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0067.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0067.severity = info - -# MA0068: Invalid parameter name for nullable attribute -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0068.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0068.severity = warning - -# MA0069: Non-constant static fields should not be visible -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0069.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0069.severity = warning - -# MA0070: Obsolete attributes should include explanations -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0070.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0070.severity = warning - -# MA0071: Avoid using redundant else -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0071.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0071.severity = silent - -# MA0072: Do not throw from a finally block -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0072.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0072.severity = warning - -# MA0073: Avoid comparison with bool constant -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0073.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0073.severity = info - -# MA0074: Avoid implicit culture-sensitive methods -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0074.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0074.severity = warning - -# MA0075: Do not use implicit culture-sensitive ToString -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0075.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0075.severity = info - -# MA0076: Do not use implicit culture-sensitive ToString in interpolated strings -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0076.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0076.severity = info - -# MA0077: A class that provides Equals(T) should implement IEquatable -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0077.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0077.severity = warning - -# MA0078: Use 'Cast' instead of 'Select' to cast -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0078.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0078.severity = none - -# MA0079: Forward the CancellationToken using .WithCancellation() -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0079.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0079.severity = info - -# MA0080: Use a cancellation token using .WithCancellation() -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0080.md -# Enabled: False, Severity: info -dotnet_diagnostic.MA0080.severity = none - -# MA0081: Method overrides should not omit params keyword -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0081.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0081.severity = warning - -# MA0082: NaN should not be used in comparisons -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0082.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0082.severity = warning - -# MA0083: ConstructorArgument parameters should exist in constructors -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0083.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0083.severity = warning - -# MA0084: Local variables should not hide other symbols -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0084.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0084.severity = warning - -# MA0085: Anonymous delegates should not be used to unsubscribe from Events -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0085.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0085.severity = warning - -# MA0086: Do not throw from a finalizer -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0086.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0086.severity = warning - -# MA0087: Parameters with [DefaultParameterValue] attributes should also be marked [Optional] -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0087.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0087.severity = warning - -# MA0088: Use [DefaultParameterValue] instead of [DefaultValue] -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0088.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0088.severity = warning - -# MA0089: Optimize string method usage -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0089.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0089.severity = info - -# MA0090: Remove empty else/finally block -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0090.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0090.severity = info - -# MA0091: Sender should be 'this' for instance events -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0091.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0091.severity = warning - -# MA0092: Sender should be 'null' for static events -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0092.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0092.severity = warning - -# MA0093: EventArgs should not be null -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0093.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0093.severity = warning - -# MA0094: A class that provides CompareTo(T) should implement IComparable -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0094.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0094.severity = warning - -# MA0095: A class that implements IEquatable should override Equals(object) -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0095.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0095.severity = warning - -# MA0096: A class that implements IComparable should also implement IEquatable -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0096.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0096.severity = warning - -# MA0097: A class that implements IComparable or IComparable should override comparison operators -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0097.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0097.severity = warning - -# MA0098: Use indexer instead of LINQ methods -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0098.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0098.severity = info - -# MA0099: Use Explicit enum value instead of 0 -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0099.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0099.severity = warning - -# MA0100: Await task before disposing of resources -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0100.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0100.severity = warning - -# MA0101: String contains an implicit end of line character -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0101.md -# Enabled: True, Severity: silent -dotnet_diagnostic.MA0101.severity = silent - -# MA0102: Make member readonly -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0102.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0102.severity = info - -# MA0103: Use SequenceEqual instead of equality operator -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0103.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0103.severity = warning - -# MA0104: Do not create a type with a name from the BCL -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0104.md -# Enabled: False, Severity: warning -dotnet_diagnostic.MA0104.severity = info - -# MA0105: Use the lambda parameters instead of using a closure -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0105.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0105.severity = info - -# MA0106: Avoid closure by using an overload with the 'factoryArgument' parameter -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0106.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0106.severity = info - -# MA0107: Do not use culture-sensitive object.ToString -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0107.md -# Enabled: False, Severity: info -dotnet_diagnostic.MA0107.severity = none - -# MA0108: Remove redundant argument value -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0108.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0108.severity = info - -# MA0109: Consider adding an overload with a Span or Memory -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0109.md -# Enabled: False, Severity: info -dotnet_diagnostic.MA0109.severity = none - -# MA0110: Use the Regex source generator -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0110.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0110.severity = info - -# MA0111: Use string.Create instead of FormattableString -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0111.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0111.severity = info - -# MA0112: Use 'Count > 0' instead of 'Any()' -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0112.md -# Enabled: False, Severity: info -dotnet_diagnostic.MA0112.severity = silent - -# MA0113: Use DateTime.UnixEpoch -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0113.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0113.severity = info - -# MA0114: Use DateTimeOffset.UnixEpoch -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0114.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0114.severity = info - -# MA0115: Unknown component parameter -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0115.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0115.severity = warning - -# MA0116: Parameters with [SupplyParameterFromQuery] attributes should also be marked as [Parameter] -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0116.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0116.severity = warning - -# MA0117: Parameters with [EditorRequired] attributes should also be marked as [Parameter] -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0117.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0117.severity = warning - -# MA0118: [JSInvokable] methods must be public -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0118.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0118.severity = warning - -# MA0119: JSRuntime must not be used in OnInitialized or OnInitializedAsync -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0119.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0119.severity = warning - -# MA0120: Use InvokeVoidAsync when the returned value is not used -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0120.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0120.severity = warning - -# MA0121: Do not overwrite parameter value -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0121.md -# Enabled: False, Severity: info -dotnet_diagnostic.MA0121.severity = none - -# MA0122: Parameters with [SupplyParameterFromQuery] attributes are only valid in routable components (@page) -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0122.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0122.severity = warning - -# MA0123: Sequence number must be a constant -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0123.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0123.severity = warning - -# MA0124: Log Parameter type is not valid -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0124.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0124.severity = warning - -# MA0125: The list of log parameter types contains an invalid type -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0125.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0125.severity = warning - -# MA0126: The list of log parameter types contains a duplicate -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0126.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0126.severity = warning - -# MA0127: Use String.Equals instead of is pattern -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0127.md -# Enabled: False, Severity: warning -dotnet_diagnostic.MA0127.severity = none - -# MA0128: Use 'is' operator instead of SequenceEqual -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0128.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0128.severity = info - -# MA0129: Await task in using statement -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0129.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0129.severity = warning - -# MA0130: GetType() should not be used on System.Type instances -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0130.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0130.severity = warning - -# MA0131: ArgumentNullException.ThrowIfNull should not be used with non-nullable types -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0131.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0131.severity = warning - -# MA0132: Do not convert implicitly to DateTimeOffset -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0132.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0132.severity = warning - -# MA0133: Use DateTimeOffset instead of relying on the implicit conversion -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0133.md -# Enabled: True, Severity: info -dotnet_diagnostic.MA0133.severity = warning - -# MA0134: Observe result of async calls -# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0134.md -# Enabled: True, Severity: warning -dotnet_diagnostic.MA0134.severity = warning - +# global_level must be higher than the NET Analyzer files +is_global = true +global_level = 0 + +# MA0001: StringComparison is missing +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0001.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0001.severity = warning + +# MA0002: IEqualityComparer or IComparer is missing +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0002.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0002.severity = warning + +# MA0003: Add parameter name to improve readability +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0003.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0003.severity = info + +# MA0004: Use Task.ConfigureAwait(false) +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0004.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0004.severity = warning + +# MA0005: Use Array.Empty() +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0005.md +# Enabled: True, Severity: warning +# Superseeded by CA1825 +dotnet_diagnostic.MA0005.severity = none + +# MA0006: Use String.Equals instead of equality operator +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0006.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0006.severity = silent + +# MA0007: Add a comma after the last value +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0007.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0007.severity = info + +# MA0008: Add StructLayoutAttribute +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0008.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0008.severity = warning + +# MA0009: Add regex evaluation timeout +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0009.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0009.severity = warning + +# MA0010: Mark attributes with AttributeUsageAttribute +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0010.md +# Enabled: True, Severity: warning +# Superseeded by CA1018 +dotnet_diagnostic.MA0010.severity = none + +# MA0011: IFormatProvider is missing +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0011.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0011.severity = warning + +# MA0012: Do not raise reserved exception type +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0012.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0012.severity = warning + +# MA0013: Types should not extend System.ApplicationException +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0013.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0013.severity = warning + +# MA0014: Do not raise System.ApplicationException type +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0014.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0014.severity = warning + +# MA0015: Specify the parameter name in ArgumentException +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0015.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0015.severity = warning + +# MA0016: Prefer using collection abstraction instead of implementation +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0016.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0016.severity = none + +# MA0017: Abstract types should not have public or internal constructors +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0017.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0017.severity = warning + +# MA0018: Do not declare static members on generic types (deprecated; use CA1000 instead) +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0018.md +# Enabled: True, Severity: info +# Superseeded by CA1000 +dotnet_diagnostic.MA0018.severity = none + +# MA0019: Use EventArgs.Empty +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0019.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0019.severity = warning + +# MA0020: Use direct methods instead of LINQ methods +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0020.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0020.severity = info + +# MA0021: Use StringComparer.GetHashCode instead of string.GetHashCode +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0021.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0021.severity = warning + +# MA0022: Return Task.FromResult instead of returning null +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0022.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0022.severity = warning + +# MA0023: Add RegexOptions.ExplicitCapture +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0023.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0023.severity = warning + +# MA0024: Use an explicit StringComparer when possible +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0024.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0024.severity = warning + +# MA0025: Implement the functionality instead of throwing NotImplementedException +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0025.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0025.severity = warning + +# MA0026: Fix TODO comment +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0026.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0026.severity = warning + +# MA0027: Prefer rethrowing an exception implicitly +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0027.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0027.severity = warning + +# MA0028: Optimize StringBuilder usage +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0028.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0028.severity = info + +# MA0029: Combine LINQ methods +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0029.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0029.severity = info + +# MA0030: Remove useless OrderBy call +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0030.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0030.severity = warning + +# MA0031: Optimize Enumerable.Count() usage +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0031.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0031.severity = info + +# MA0032: Use an overload with a CancellationToken argument +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0032.md +# Enabled: False, Severity: info +dotnet_diagnostic.MA0032.severity = none + +# MA0033: Do not tag instance fields with ThreadStaticAttribute +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0033.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0033.severity = warning + +# MA0035: Do not use dangerous threading methods +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0035.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0035.severity = warning + +# MA0036: Make class static +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0036.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0036.severity = info + +# MA0037: Remove empty statement +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0037.md +# Enabled: True, Severity: error +dotnet_diagnostic.MA0037.severity = error + +# MA0038: Make method static (deprecated, use CA1822 instead) +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0038.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0038.severity = none + +# MA0039: Do not write your own certificate validation method +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0039.md +# Enabled: True, Severity: error +dotnet_diagnostic.MA0039.severity = error + +# MA0040: Forward the CancellationToken parameter to methods that take one +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0040.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0040.severity = info + +# MA0041: Make property static (deprecated, use CA1822 instead) +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0041.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0041.severity = none + +# MA0042: Do not use blocking calls in an async method +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0042.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0042.severity = info + +# MA0043: Use nameof operator in ArgumentException +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0043.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0043.severity = info + +# MA0044: Remove useless ToString call +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0044.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0044.severity = info + +# MA0045: Do not use blocking calls in a sync method (need to make calling method async) +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0045.md +# Enabled: False, Severity: info +dotnet_diagnostic.MA0045.severity = none + +# MA0046: Use EventHandler to declare events +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0046.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0046.severity = warning + +# MA0047: Declare types in namespaces +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0047.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0047.severity = warning + +# MA0048: File name must match type name +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0048.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0048.severity = warning + +# MA0049: Type name should not match containing namespace +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0049.md +# Enabled: True, Severity: error +dotnet_diagnostic.MA0049.severity = error + +# MA0050: Validate arguments correctly in iterator methods +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0050.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0050.severity = info + +# MA0051: Method is too long +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0051.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0051.severity = none + +# MA0052: Replace constant Enum.ToString with nameof +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0052.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0052.severity = info + +# MA0053: Make class sealed +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0053.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0053.severity = info + +# MA0054: Embed the caught exception as innerException +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0054.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0054.severity = warning + +# MA0055: Do not use finalizer +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0055.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0055.severity = warning + +# MA0056: Do not call overridable members in constructor +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0056.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0056.severity = warning + +# MA0057: Class name should end with 'Attribute' +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0057.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0057.severity = info + +# MA0058: Class name should end with 'Exception' +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0058.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0058.severity = info + +# MA0059: Class name should end with 'EventArgs' +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0059.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0059.severity = info + +# MA0060: The value returned by Stream.Read/Stream.ReadAsync is not used +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0060.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0060.severity = warning + +# MA0061: Method overrides should not change default values +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0061.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0061.severity = warning + +# MA0062: Non-flags enums should not be marked with "FlagsAttribute" +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0062.md +# Enabled: True, Severity: warning +# Superseeded by CA2217 +dotnet_diagnostic.MA0062.severity = none + +# MA0063: Use Where before OrderBy +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0063.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0063.severity = info + +# MA0064: Avoid locking on publicly accessible instance +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0064.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0064.severity = warning + +# MA0065: Default ValueType.Equals or HashCode is used for struct equality +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0065.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0065.severity = warning + +# MA0066: Hash table unfriendly type is used in a hash table +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0066.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0066.severity = warning + +# MA0067: Use Guid.Empty +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0067.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0067.severity = info + +# MA0068: Invalid parameter name for nullable attribute +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0068.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0068.severity = warning + +# MA0069: Non-constant static fields should not be visible +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0069.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0069.severity = warning + +# MA0070: Obsolete attributes should include explanations +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0070.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0070.severity = warning + +# MA0071: Avoid using redundant else +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0071.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0071.severity = silent + +# MA0072: Do not throw from a finally block +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0072.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0072.severity = warning + +# MA0073: Avoid comparison with bool constant +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0073.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0073.severity = info + +# MA0074: Avoid implicit culture-sensitive methods +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0074.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0074.severity = warning + +# MA0075: Do not use implicit culture-sensitive ToString +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0075.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0075.severity = info + +# MA0076: Do not use implicit culture-sensitive ToString in interpolated strings +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0076.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0076.severity = info + +# MA0077: A class that provides Equals(T) should implement IEquatable +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0077.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0077.severity = warning + +# MA0078: Use 'Cast' instead of 'Select' to cast +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0078.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0078.severity = none + +# MA0079: Forward the CancellationToken using .WithCancellation() +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0079.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0079.severity = info + +# MA0080: Use a cancellation token using .WithCancellation() +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0080.md +# Enabled: False, Severity: info +dotnet_diagnostic.MA0080.severity = none + +# MA0081: Method overrides should not omit params keyword +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0081.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0081.severity = warning + +# MA0082: NaN should not be used in comparisons +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0082.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0082.severity = warning + +# MA0083: ConstructorArgument parameters should exist in constructors +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0083.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0083.severity = warning + +# MA0084: Local variables should not hide other symbols +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0084.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0084.severity = warning + +# MA0085: Anonymous delegates should not be used to unsubscribe from Events +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0085.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0085.severity = warning + +# MA0086: Do not throw from a finalizer +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0086.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0086.severity = warning + +# MA0087: Parameters with [DefaultParameterValue] attributes should also be marked [Optional] +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0087.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0087.severity = warning + +# MA0088: Use [DefaultParameterValue] instead of [DefaultValue] +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0088.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0088.severity = warning + +# MA0089: Optimize string method usage +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0089.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0089.severity = info + +# MA0090: Remove empty else/finally block +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0090.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0090.severity = info + +# MA0091: Sender should be 'this' for instance events +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0091.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0091.severity = warning + +# MA0092: Sender should be 'null' for static events +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0092.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0092.severity = warning + +# MA0093: EventArgs should not be null +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0093.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0093.severity = warning + +# MA0094: A class that provides CompareTo(T) should implement IComparable +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0094.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0094.severity = warning + +# MA0095: A class that implements IEquatable should override Equals(object) +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0095.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0095.severity = warning + +# MA0096: A class that implements IComparable should also implement IEquatable +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0096.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0096.severity = warning + +# MA0097: A class that implements IComparable or IComparable should override comparison operators +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0097.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0097.severity = warning + +# MA0098: Use indexer instead of LINQ methods +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0098.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0098.severity = info + +# MA0099: Use Explicit enum value instead of 0 +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0099.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0099.severity = warning + +# MA0100: Await task before disposing of resources +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0100.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0100.severity = warning + +# MA0101: String contains an implicit end of line character +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0101.md +# Enabled: True, Severity: silent +dotnet_diagnostic.MA0101.severity = silent + +# MA0102: Make member readonly +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0102.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0102.severity = info + +# MA0103: Use SequenceEqual instead of equality operator +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0103.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0103.severity = warning + +# MA0104: Do not create a type with a name from the BCL +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0104.md +# Enabled: False, Severity: warning +dotnet_diagnostic.MA0104.severity = info + +# MA0105: Use the lambda parameters instead of using a closure +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0105.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0105.severity = info + +# MA0106: Avoid closure by using an overload with the 'factoryArgument' parameter +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0106.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0106.severity = info + +# MA0107: Do not use culture-sensitive object.ToString +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0107.md +# Enabled: False, Severity: info +dotnet_diagnostic.MA0107.severity = none + +# MA0108: Remove redundant argument value +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0108.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0108.severity = info + +# MA0109: Consider adding an overload with a Span or Memory +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0109.md +# Enabled: False, Severity: info +dotnet_diagnostic.MA0109.severity = none + +# MA0110: Use the Regex source generator +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0110.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0110.severity = info + +# MA0111: Use string.Create instead of FormattableString +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0111.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0111.severity = info + +# MA0112: Use 'Count > 0' instead of 'Any()' +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0112.md +# Enabled: False, Severity: info +dotnet_diagnostic.MA0112.severity = silent + +# MA0113: Use DateTime.UnixEpoch +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0113.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0113.severity = info + +# MA0114: Use DateTimeOffset.UnixEpoch +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0114.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0114.severity = info + +# MA0115: Unknown component parameter +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0115.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0115.severity = warning + +# MA0116: Parameters with [SupplyParameterFromQuery] attributes should also be marked as [Parameter] +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0116.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0116.severity = warning + +# MA0117: Parameters with [EditorRequired] attributes should also be marked as [Parameter] +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0117.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0117.severity = warning + +# MA0118: [JSInvokable] methods must be public +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0118.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0118.severity = warning + +# MA0119: JSRuntime must not be used in OnInitialized or OnInitializedAsync +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0119.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0119.severity = warning + +# MA0120: Use InvokeVoidAsync when the returned value is not used +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0120.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0120.severity = warning + +# MA0121: Do not overwrite parameter value +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0121.md +# Enabled: False, Severity: info +dotnet_diagnostic.MA0121.severity = none + +# MA0122: Parameters with [SupplyParameterFromQuery] attributes are only valid in routable components (@page) +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0122.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0122.severity = warning + +# MA0123: Sequence number must be a constant +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0123.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0123.severity = warning + +# MA0124: Log Parameter type is not valid +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0124.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0124.severity = warning + +# MA0125: The list of log parameter types contains an invalid type +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0125.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0125.severity = warning + +# MA0126: The list of log parameter types contains a duplicate +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0126.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0126.severity = warning + +# MA0127: Use String.Equals instead of is pattern +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0127.md +# Enabled: False, Severity: warning +dotnet_diagnostic.MA0127.severity = none + +# MA0128: Use 'is' operator instead of SequenceEqual +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0128.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0128.severity = info + +# MA0129: Await task in using statement +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0129.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0129.severity = warning + +# MA0130: GetType() should not be used on System.Type instances +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0130.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0130.severity = warning + +# MA0131: ArgumentNullException.ThrowIfNull should not be used with non-nullable types +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0131.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0131.severity = warning + +# MA0132: Do not convert implicitly to DateTimeOffset +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0132.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0132.severity = warning + +# MA0133: Use DateTimeOffset instead of relying on the implicit conversion +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0133.md +# Enabled: True, Severity: info +dotnet_diagnostic.MA0133.severity = warning + +# MA0134: Observe result of async calls +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0134.md +# Enabled: True, Severity: warning +dotnet_diagnostic.MA0134.severity = warning +