is_global = true # This file takes priority over CodeAnalysis.src.globalconfig global_level = 1 # CA1052: Static holder types should be Static or NotInheritable dotnet_diagnostic.CA1052.severity = none # TODO: warning dotnet_code_quality.CA1052.api_surface = unset # CA1311: Specify a culture or use an invariant version dotnet_diagnostic.CA1311.severity = none # CA1416: Validate platform compatibility dotnet_diagnostic.CA1416.severity = none # TODO: warning # CA1507: Use nameof to express symbol names dotnet_diagnostic.CA1507.severity = none # CA1727: Use PascalCase for named placeholders dotnet_diagnostic.CA1727.severity = suggestion # CA1802: Use literals where appropriate dotnet_code_quality.CA1802.api_surface = unset # CA1810: Initialize reference type static fields inline dotnet_diagnostic.CA1810.severity = none # TODO: warning # CA1812: Avoid uninstantiated internal classes dotnet_diagnostic.CA1812.severity = none # CA1815: Override equals and operator equals on value types dotnet_diagnostic.CA1815.severity = none # CA1822: Mark members as static dotnet_diagnostic.CA1822.severity = none # TODO: warning dotnet_code_quality.CA1822.api_surface = unset # CA1852: Seal internal types dotnet_diagnostic.CA1852.severity = none # CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' dotnet_diagnostic.CA1853.severity = none # CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method dotnet_diagnostic.CA1854.severity = none # CA2007: Consider calling ConfigureAwait on the awaited task dotnet_diagnostic.CA2007.severity = none # TODO: warning # CA2014: Do not use stackalloc in loops. dotnet_diagnostic.CA2014.severity = none # TODO: warning # CA2208: Instantiate argument exceptions correctly dotnet_code_quality.CA2208.api_surface = unset # CA2245: Do not assign a property to itself dotnet_diagnostic.CA2245.severity = warning # CA2253: Named placeholders should not be numeric values dotnet_diagnostic.CA2253.severity = none # SA1000: Spacing around keywords dotnet_diagnostic.SA1000.severity = none # SA1001: Commas should not be preceded by whitespace dotnet_diagnostic.SA1001.severity = none # SA1014: Opening generic brackets should not be preceded by a space dotnet_diagnostic.SA1014.severity = none # SA1018: Nullable type symbol should not be preceded by a space dotnet_diagnostic.SA1018.severity = none # SA1020: Increment symbol should not be preceded by a space dotnet_diagnostic.SA1020.severity = none # SA1026: Keyword followed by span or blank line dotnet_diagnostic.SA1026.severity = none # SA1027: Tabs and spaces should be used correctly dotnet_diagnostic.SA1027.severity = none # SA1028: Code should not contain trailing whitespace dotnet_diagnostic.SA1028.severity = none # SA1102: Query clause should follow previous clause dotnet_diagnostic.SA1102.severity = none # SA1103: Query clauses should be on separate lines or all on one line dotnet_diagnostic.SA1103.severity = none # SA1113: Comma should be on the same line as previous parameter dotnet_diagnostic.SA1113.severity = none # SA1115: Parameter should begin on the line after the previous parameter dotnet_diagnostic.SA1115.severity = none # SA1121: Use built-in type alias dotnet_diagnostic.SA1121.severity = none # SA1129: Do not use default value type constructor dotnet_diagnostic.SA1129.severity = none # SA1131: Constant values should appear on the right-hand side of comparisons dotnet_diagnostic.SA1131.severity = suggestion # SA1141: Use tuple syntax dotnet_diagnostic.SA1141.severity = none # SA1142: Refer to tuple elements by name dotnet_diagnostic.SA1142.severity = none # SA1205: Partial elements should declare an access modifier dotnet_diagnostic.SA1205.severity = none # SA1206: Keyword ordering dotnet_diagnostic.SA1206.severity = none # SA1212: A get accessor appears after a set accessor within a property or indexer dotnet_diagnostic.SA1212.severity = none # SA1302: Interface names should begin with I dotnet_diagnostic.SA1302.severity = none # SA1400: Member should declare an access modifier dotnet_diagnostic.SA1400.severity = none # SA1410: Remove delegate parens when possible dotnet_diagnostic.SA1410.severity = none # SA1411: Attribute constructor shouldn't use unnecessary parenthesis dotnet_diagnostic.SA1411.severity = none # SA1518: Code should not contain blank lines at the end of the file dotnet_diagnostic.SA1518.severity = none # IDE0001: Simplify name dotnet_diagnostic.IDE0001.severity = silent # IDE0002: Simplify member access dotnet_diagnostic.IDE0002.severity = silent # IDE0003: Remove this or Me qualification dotnet_diagnostic.IDE0003.severity = silent # IDE0004: Remove Unnecessary Cast dotnet_diagnostic.IDE0004.severity = silent # IDE0005: Using directive is unnecessary. dotnet_diagnostic.IDE0005.severity = silent # IDE0008: Use explicit type dotnet_diagnostic.IDE0008.severity = silent # IDE0017: Simplify object initialization dotnet_diagnostic.IDE0017.severity = silent # IDE0018: Inline variable declaration dotnet_diagnostic.IDE0018.severity = silent # IDE0019: Use pattern matching to avoid as followed by a null check dotnet_diagnostic.IDE0019.severity = silent # IDE0020: Use pattern matching to avoid is check followed by a cast (with variable) dotnet_diagnostic.IDE0020.severity = silent # IDE0028: Simplify collection initialization dotnet_diagnostic.IDE0028.severity = silent # IDE0029: Use coalesce expression dotnet_diagnostic.IDE0029.severity = silent # IDE0030: Use coalesce expression dotnet_diagnostic.IDE0030.severity = silent # IDE0031: Use null propagation dotnet_diagnostic.IDE0031.severity = silent # IDE0033: Use explicitly provided tuple name dotnet_diagnostic.IDE0033.severity = silent # IDE0034: Simplify 'default' expression dotnet_diagnostic.IDE0034.severity = silent # IDE0035: Remove unreachable code dotnet_diagnostic.IDE0035.severity = silent # IDE0036: Order modifiers dotnet_diagnostic.IDE0036.severity = silent # IDE0038: Use pattern matching to avoid is check followed by a cast (without variable) dotnet_diagnostic.IDE0038.severity = silent # IDE0039: Use local function dotnet_diagnostic.IDE0039.severity = silent # IDE0040: Add accessibility modifiers dotnet_diagnostic.IDE0040.severity = silent # IDE0041: Use 'is null' check dotnet_diagnostic.IDE0041.severity = silent # IDE0043: Invalid format string dotnet_diagnostic.IDE0043.severity = silent # IDE0044: Add readonly modifier dotnet_diagnostic.IDE0044.severity = silent # IDE0045: Use conditional expression for assignment dotnet_diagnostic.IDE0045.severity = silent # IDE0046: Use conditional expression for return dotnet_diagnostic.IDE0046.severity = silent # IDE0049: Use language keywords instead of framework type names for type references dotnet_diagnostic.IDE0049.severity = silent # IDE0051: Remove unused private members dotnet_diagnostic.IDE0051.severity = silent # IDE0052: Remove unread private members dotnet_diagnostic.IDE0052.severity = silent # IDE0054: Use compound assignment dotnet_diagnostic.IDE0054.severity = silent # IDE0055: Fix formatting dotnet_diagnostic.IDE0055.severity = silent # IDE0056: Use index operator dotnet_diagnostic.IDE0056.severity = silent # IDE0057: Use range operator dotnet_diagnostic.IDE0057.severity = silent # IDE0059: Unnecessary assignment of a value dotnet_diagnostic.IDE0059.severity = silent # IDE0060: Remove unused parameter dotnet_code_quality_unused_parameters = unset # IDE0062: Make local function 'static' dotnet_diagnostic.IDE0062.severity = silent # IDE0065: Misplaced using directive dotnet_diagnostic.IDE0065.severity = silent # IDE0066: Convert switch statement to expression dotnet_diagnostic.IDE0066.severity = silent # IDE0070: Use 'System.HashCode' dotnet_diagnostic.IDE0070.severity = silent # IDE0071: Simplify interpolation dotnet_diagnostic.IDE0071.severity = silent # IDE0073: The file header is missing or not located at the top of the file dotnet_diagnostic.IDE0073.severity = silent # IDE0074: Use compound assignment dotnet_diagnostic.IDE0074.severity = silent # IDE0076: Invalid global 'SuppressMessageAttribute' dotnet_diagnostic.IDE0076.severity = silent # IDE0078: Use pattern matching dotnet_diagnostic.IDE0078.severity = silent # IDE0079: RemoveUnnecessarySuppression dotnet_diagnostic.IDE0079.severity = silent # IDE0080: Remove unnecessary suppression operator dotnet_diagnostic.IDE0080.severity = silent # IDE0081: RemoveUnnecessaryByVal dotnet_diagnostic.IDE0081.severity = silent # IDE0082: 'typeof' can be converted to 'nameof' dotnet_diagnostic.IDE0082.severity = silent # IDE0084: Use pattern matching (IsNot operator) dotnet_diagnostic.IDE0084.severity = silent # IDE0090: Simplify new expression dotnet_diagnostic.IDE0090.severity = warning # IDE0100: Remove redundant equality dotnet_diagnostic.IDE0100.severity = silent # IDE0110: Remove unnecessary discard dotnet_diagnostic.IDE0110.severity = silent # IDE0120: Simplify LINQ expression dotnet_diagnostic.IDE0120.severity = silent # IDE0140: Simplify object creation dotnet_diagnostic.IDE0140.severity = silent # IDE0170: Simplify property pattern dotnet_diagnostic.IDE0170.severity = silent # IDE0180: Use tuple swap dotnet_diagnostic.IDE0180.severity = silent # IDE0200: Remove unnecessary lambda expression dotnet_diagnostic.IDE0200.severity = silent # IDE0230: Use UTF8 string literal dotnet_diagnostic.IDE0230.severity = silent # IDE1005: Delegate invocation can be simplified. dotnet_diagnostic.IDE1005.severity = silent # xUnit1000: Test classes must be public dotnet_diagnostic.xUnit1000.severity = warning # xUnit1001: Fact methods cannot have parameters dotnet_diagnostic.xUnit1001.severity = warning # xUnit1002: Test methods cannot have multiple Fact or Theory attributes dotnet_diagnostic.xUnit1002.severity = warning # xUnit1003: Theory methods must have test data dotnet_diagnostic.xUnit1003.severity = warning # xUnit1004: Test methods should not be skipped dotnet_diagnostic.xUnit1004.severity = silent # TODO: warning # xUnit1005: Fact methods should not have test data dotnet_diagnostic.xUnit1005.severity = warning # xUnit1006: Theory methods should have parameters dotnet_diagnostic.xUnit1006.severity = warning # xUnit1007: ClassData must point at a valid class dotnet_diagnostic.xUnit1007.severity = warning # xUnit1008: Test data attribute should only be used on a Theory dotnet_diagnostic.xUnit1008.severity = warning # xUnit1009: InlineData must match the number of method parameters dotnet_diagnostic.xUnit1009.severity = warning # xUnit1010: The value is not convertible to the method parameter type dotnet_diagnostic.xUnit1010.severity = warning # xUnit1011: There is no matching method parameter dotnet_diagnostic.xUnit1011.severity = warning # xUnit1012: Null should not be used for value type parameters dotnet_diagnostic.xUnit1012.severity = warning # xUnit1013: Public methods should be marked as test dotnet_diagnostic.xUnit1013.severity = warning # xUnit1014: MemberData should use nameof operator for member name dotnet_diagnostic.xUnit1014.severity = warning # xUnit1015: MemberData must reference an existing member dotnet_diagnostic.xUnit1015.severity = warning # xUnit1016: MemberData must reference a public member dotnet_diagnostic.xUnit1016.severity = warning # xUnit1017: MemberData must reference a static member dotnet_diagnostic.xUnit1017.severity = warning # xUnit1018: MemberData must reference a valid member kind dotnet_diagnostic.xUnit1018.severity = warning # xUnit1019: MemberData must reference a member providing a valid data type dotnet_diagnostic.xUnit1019.severity = warning # xUnit1020: MemberData must reference a property with a getter dotnet_diagnostic.xUnit1020.severity = warning # xUnit1021: MemberData should not have parameters if the referenced member is not a method dotnet_diagnostic.xUnit1021.severity = warning # xUnit1022: Theory methods cannot have a parameter array dotnet_diagnostic.xUnit1022.severity = warning # xUnit1023: Theory methods cannot have default parameter values dotnet_diagnostic.xUnit1023.severity = warning # xUnit1024: Test methods cannot have overloads dotnet_diagnostic.xUnit1024.severity = warning # xUnit1025: InlineData should be unique within the Theory it belongs to dotnet_diagnostic.xUnit1025.severity = warning # xUnit1026: Theory methods should use all of their parameters dotnet_diagnostic.xUnit1026.severity = warning # xUnit2000: Constants and literals should be the expected argument dotnet_diagnostic.xUnit2000.severity = warning # xUnit2001: Do not use invalid equality check dotnet_diagnostic.xUnit2001.severity = warning # xUnit2002: Do not use null check on value type dotnet_diagnostic.xUnit2002.severity = warning # xUnit2003: Do not use equality check to test for null value dotnet_diagnostic.xUnit2003.severity = warning # xUnit2004: Do not use equality check to test for boolean conditions dotnet_diagnostic.xUnit2004.severity = warning # xUnit2005: Do not use identity check on value type dotnet_diagnostic.xUnit2005.severity = warning # xUnit2006: Do not use invalid string equality check dotnet_diagnostic.xUnit2006.severity = warning # xUnit2007: Do not use typeof expression to check the type dotnet_diagnostic.xUnit2007.severity = warning # xUnit2008: Do not use boolean check to match on regular expressions dotnet_diagnostic.xUnit2008.severity = warning # xUnit2009: Do not use boolean check to check for substrings dotnet_diagnostic.xUnit2009.severity = warning # xUnit2010: Do not use boolean check to check for string equality dotnet_diagnostic.xUnit2010.severity = warning # xUnit2011: Do not use empty collection check dotnet_diagnostic.xUnit2011.severity = warning # xUnit2012: Do not use Enumerable.Any() to check if a value exists in a collection dotnet_diagnostic.xUnit2012.severity = warning # xUnit2013: Do not use equality check to check for collection size. dotnet_diagnostic.xUnit2013.severity = none # xUnit2014: Do not use throws check to check for asynchronously thrown exception dotnet_diagnostic.xUnit2014.severity = none # xUnit2015: Do not use typeof expression to check the exception type dotnet_diagnostic.xUnit2015.severity = warning # xUnit2016: Keep precision in the allowed range when asserting equality of doubles or decimals dotnet_diagnostic.xUnit2016.severity = warning # xUnit2017: Do not use Contains() to check if a value exists in a collection dotnet_diagnostic.xUnit2017.severity = none # xUnit2018: Do not compare an object's exact type to an abstract class or interface dotnet_diagnostic.xUnit2018.severity = warning # xUnit2019: Do not use obsolete throws check to check for asynchronously thrown exception dotnet_diagnostic.xUnit2019.severity = warning # xUnit3000: Test case classes must derive directly or indirectly from Xunit.LongLivedMarshalByRefObject dotnet_diagnostic.xUnit3000.severity = warning # xUnit3001: Classes that implement Xunit.Abstractions.IXunitSerializable must have a public parameterless constructor dotnet_diagnostic.xUnit3001.severity = warning