# This preset enables all C# warning classes # # Enable the advanced injection engine for deeper taint propagation. # CSHARP_ANALYSIS_ADVANCED_INJECTION = Yes # # These warning classes are disabled by default. # WARNING_FILTER += allow class="Abstract types should not have public constructors (C#)" WARNING_FILTER += allow class="Actual Parameter Element may be null (C#)" WARNING_FILTER += allow class="Attribute string literals should parse correctly (C#)" WARNING_FILTER += allow class="Avoid dead conditional code (C#)" WARNING_FILTER += allow class="Avoid empty interfaces (C#)" WARNING_FILTER += allow class="Avoid excessive class coupling (C#)" WARNING_FILTER += allow class="Avoid excessive complexity (C#)" WARNING_FILTER += allow class="Avoid excessive inheritance (C#)" WARNING_FILTER += allow class="Avoid excessive parameters on generic types (C#)" WARNING_FILTER += allow class="Avoid hardcoded SslProtocols values (C#)" WARNING_FILTER += allow class="Avoid hardcoding SecurityProtocolType value (C#)" WARNING_FILTER += allow class="Avoid out parameters (C#)" WARNING_FILTER += allow class="Avoid uninstantiated internal classes (C#)" WARNING_FILTER += allow class="Avoid unmaintainable code (C#)" WARNING_FILTER += allow class="Avoid unsealed attributes (C#)" WARNING_FILTER += allow class="Avoid unused private fields (C#)" WARNING_FILTER += allow class="Call async methods when in an async method (C#)" WARNING_FILTER += allow class="Certificate Added to Root Store (C#)" WARNING_FILTER += allow class="Collection properties should be read only (C#)" WARNING_FILTER += allow class="Consider calling ConfigureAwait on the awaited task (C#)" WARNING_FILTER += allow class="Consider making public types internal (C#)" WARNING_FILTER += allow class="Define accessors for attribute arguments (C#)" WARNING_FILTER += allow class="Deprecated Transfer Protocol (C#)" WARNING_FILTER += allow class="Deserializable Class (C#)" WARNING_FILTER += allow class="Disabled Input Validation (C#)" WARNING_FILTER += allow class="Disposable fields should be disposed (C#)" WARNING_FILTER += allow class="Disposable types should declare finalizer (C#)" WARNING_FILTER += allow class="Dispose objects before losing scope (C#)" WARNING_FILTER += allow class="Do Not Add Archive Item's Path To The Target File System Path (C#)" WARNING_FILTER += allow class="Do Not Add Certificates To Root Store (C#)" WARNING_FILTER += allow class="Do Not Catch Corrupted State Exceptions (C#)" WARNING_FILTER += allow class="Do Not Disable SChannel Use of Strong Crypto (C#)" WARNING_FILTER += allow class="Do Not Serialize Types With Pointer Fields (C#)" WARNING_FILTER += allow class="Do Not Use Account Shared Access Signature (C#)" WARNING_FILTER += allow class="Do Not Use Weak Key Derivation Function With Insufficient Iteration Count (C#)" WARNING_FILTER += allow class="Do not always skip token validation in delegates (C#)" WARNING_FILTER += allow class="Do not call BinaryFormatter.Deserialize without first setting BinaryFormatter.Binder (C#)" WARNING_FILTER += allow class="Do not call overridable methods in constructors (C#)" WARNING_FILTER += allow class="Do not catch general exception types (C#)" WARNING_FILTER += allow class="Do not create tasks without passing a TaskScheduler (C#)" WARNING_FILTER += allow class="Do not deserialize with JavaScriptSerializer using a SimpleTypeResolver (C#)" WARNING_FILTER += allow class="Do not deserialize with JsonSerializer using an insecure configuration (C#)" WARNING_FILTER += allow class="Do not deserialize without first setting NetDataContractSerializer.Binder (C#)" WARNING_FILTER += allow class="Do not disable ServicePointManagerSecurityProtocols (C#)" WARNING_FILTER += allow class="Do not disable token validation checks (C#)" WARNING_FILTER += allow class="Do not expose generic lists (C#)" WARNING_FILTER += allow class="Do not hard-code certificate (C#)" WARNING_FILTER += allow class="Do not hard-code encryption key (C#)" WARNING_FILTER += allow class="Do not lock on objects with weak identity (C#)" WARNING_FILTER += allow class="Do not mark enums with FlagsAttribute (C#)" WARNING_FILTER += allow class="Do not name enum values 'Reserved' (C#)" WARNING_FILTER += allow class="Do not overload equality operator on reference types (C#)" WARNING_FILTER += allow class="Do not pass literals as localized parameters (C#)" WARNING_FILTER += allow class="Do not pass types by reference (C#)" WARNING_FILTER += allow class="Do not raise exceptions in unexpected locations (C#)" WARNING_FILTER += allow class="Do not use CreateEncryptor with non-default IV (C#)" WARNING_FILTER += allow class="Do not use DataSet.ReadXml() with untrusted data (C#)" WARNING_FILTER += allow class="Do not use DataTable.ReadXml() with untrusted data (C#)" WARNING_FILTER += allow class="Do not use TypeNameHandling values other than None (C#)" WARNING_FILTER += allow class="Do not use insecure JsonSerializerSettings (C#)" WARNING_FILTER += allow class="Do not use insecure deserializer BinaryFormatter (C#)" WARNING_FILTER += allow class="Do not use insecure deserializer LosFormatter (C#)" WARNING_FILTER += allow class="Do not use insecure deserializer NetDataContractSerializer (C#)" WARNING_FILTER += allow class="Do not use insecure deserializer ObjectStateFormatter (C#)" WARNING_FILTER += allow class="Do not use insecure randomness (C#)" WARNING_FILTER += allow class="Do not use unsafe DllImportSearchPath value (C#)" WARNING_FILTER += allow class="Ensure BinaryFormatter.Binder is set before calling BinaryFormatter.Deserialize (C#)" WARNING_FILTER += allow class="Ensure Certificates Are Not Added To Root Store (C#)" WARNING_FILTER += allow class="Ensure HttpClient certificate revocation list check is not disabled (C#)" WARNING_FILTER += allow class="Ensure JavaScriptSerializer is not initialized with SimpleTypeResolver before deserializing (C#)" WARNING_FILTER += allow class="Ensure NetDataContractSerializer.Binder is set before deserializing (C#)" WARNING_FILTER += allow class="Ensure Sufficient Iteration Count When Using Weak Key Derivation Function (C#)" WARNING_FILTER += allow class="Ensure Use Secure Cookies In ASP.NET Core (C#)" WARNING_FILTER += allow class="Ensure auto-generated class containing DataSet.ReadXml() is not used with untrusted data (C#)" WARNING_FILTER += allow class="Ensure that JsonSerializer has a secure configuration when deserializing (C#)" WARNING_FILTER += allow class="Ensure that JsonSerializerSettings are secure (C#)" WARNING_FILTER += allow class="Enum Storage should be Int32 (C#)" WARNING_FILTER += allow class="Enums should have zero value (C#)" WARNING_FILTER += allow class="Events should not have 'Before' or 'After' prefix (C#)" WARNING_FILTER += allow class="Exceptions should be public (C#)" WARNING_FILTER += allow class="Field Element may be null (deep) (C#)" WARNING_FILTER += allow class="Field Too Visible (C#)" WARNING_FILTER += allow class="Field may be null (deep) (C#)" WARNING_FILTER += allow class="Hardcoded IP Address (C#)" WARNING_FILTER += allow class="HttpClients should enable certificate revocation list checks (C#)" WARNING_FILTER += allow class="Implement IDisposable Correctly (C#)" WARNING_FILTER += allow class="Implement IEquatable when overriding Object.Equals (C#)" WARNING_FILTER += allow class="Implement standard exception constructors (C#)" WARNING_FILTER += allow class="Inadequate Salt (C#)" WARNING_FILTER += allow class="Initialize reference type static fields inline (C#)" WARNING_FILTER += allow class="Initialize value type static fields inline (C#)" WARNING_FILTER += allow class="Interface methods should be callable by child types (C#)" WARNING_FILTER += allow class="Invalid entry in code metrics rule specification file (C#)" WARNING_FILTER += allow class="Mark ISerializable types with serializable (C#)" WARNING_FILTER += allow class="Mark all non-serializable fields (C#)" WARNING_FILTER += allow class="Mark assemblies with CLSCompliant (C#)" WARNING_FILTER += allow class="Mark assemblies with ComVisible (C#)" WARNING_FILTER += allow class="Mark enums with FlagsAttribute (C#)" WARNING_FILTER += allow class="Method Disables Security Setting (C#)" WARNING_FILTER += allow class="Method Should be final (C#)" WARNING_FILTER += allow class="Method Should be private (C#)" WARNING_FILTER += allow class="Miss HttpVerb attribute for action methods (C#)" WARNING_FILTER += allow class="Missing synchronized Statement (C#)" WARNING_FILTER += allow class="Move pinvokes to native methods class (C#)" WARNING_FILTER += allow class="Mutable Constant Field (C#)" WARNING_FILTER += allow class="Naming Style Violation (C#)" WARNING_FILTER += allow class="Nested types should not be visible (C#)" WARNING_FILTER += allow class="Normalize strings to uppercase (C#)" WARNING_FILTER += allow class="Null Pointer Dereference (deep) (C#)" WARNING_FILTER += allow class="Operator overloads have named alternates (C#)" WARNING_FILTER += allow class="Operators should have symmetrical overloads (C#)" WARNING_FILTER += allow class="Override equals and operator equals on value types (C#)" WARNING_FILTER += allow class="Pass system uri objects instead of strings (C#)" WARNING_FILTER += allow class="Possible multiple enumerations of 'IEnumerable' collection (C#)" WARNING_FILTER += allow class="Potential reference cycle in deserialized object graph (C#)" WARNING_FILTER += allow class="Prefer jagged arrays over multidimensional (C#)" WARNING_FILTER += allow class="Properties should not be write only (C#)" WARNING_FILTER += allow class="Properties should not return arrays (C#)" WARNING_FILTER += allow class="Property names should not match get methods (C#)" WARNING_FILTER += allow class="Return Value may Contain null Element (C#)" WARNING_FILTER += allow class="Return Value may be null (C#)" WARNING_FILTER += allow class="Review SQL queries for security vulnerabilities (C#)" WARNING_FILTER += allow class="Review cipher mode usage with cryptography experts (C#)" WARNING_FILTER += allow class="Review code for DLL injection vulnerabilities (C#)" WARNING_FILTER += allow class="Review code for LDAP injection vulnerabilities (C#)" WARNING_FILTER += allow class="Review code for SQL injection vulnerabilities (C#)" WARNING_FILTER += allow class="Review code for XAML injection vulnerabilities (C#)" WARNING_FILTER += allow class="Review code for XML injection vulnerabilities (C#)" WARNING_FILTER += allow class="Review code for XPath injection vulnerabilities (C#)" WARNING_FILTER += allow class="Review code for XSS vulnerabilities (C#)" WARNING_FILTER += allow class="Review code for file path injection vulnerabilities (C#)" WARNING_FILTER += allow class="Review code for information disclosure vulnerabilities (C#)" WARNING_FILTER += allow class="Review code for open redirect vulnerabilities (C#)" WARNING_FILTER += allow class="Review code for process command injection vulnerabilities (C#)" WARNING_FILTER += allow class="Review code for regex injection vulnerabilities (C#)" WARNING_FILTER += allow class="Seal methods that satisfy private interfaces (C#)" WARNING_FILTER += allow class="Security Annotation Conflict (C#)" WARNING_FILTER += allow class="Set HttpOnly to true for HttpCookie (C#)" WARNING_FILTER += allow class="Specify StringComparison for clarity (C#)" WARNING_FILTER += allow class="Static Field Too Visible (C#)" WARNING_FILTER += allow class="Static holder types should be Static or NotInheritable (C#)" WARNING_FILTER += allow class="Test for empty strings using string length (C#)" WARNING_FILTER += allow class="Type names should not match namespaces (C#)" WARNING_FILTER += allow class="Types should not extend certain base types (C#)" WARNING_FILTER += allow class="URI-like parameters should not be strings (C#)" WARNING_FILTER += allow class="URI-like properties should not be strings (C#)" WARNING_FILTER += allow class="URI-like return values should not be strings (C#)" WARNING_FILTER += allow class="Unchecked Parameter Dereference (deep) (C#)" WARNING_FILTER += allow class="Unchecked Parameter Element Dereference (deep) (C#)" WARNING_FILTER += allow class="Unguarded Field (C#)" WARNING_FILTER += allow class="Unguarded Method (C#)" WARNING_FILTER += allow class="Unguarded Parameter (C#)" WARNING_FILTER += allow class="Unsafe Base64 Encoding (C#)" WARNING_FILTER += allow class="Unsafe DataSet or DataTable in auto-generated serializable type can be vulnerable to remote code execution attacks (C#)" WARNING_FILTER += allow class="Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attacks (C#)" WARNING_FILTER += allow class="Unsafe DataSet or DataTable in serializable type (C#)" WARNING_FILTER += allow class="Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks (C#)" WARNING_FILTER += allow class="Unsafe DataSet or DataTable type found in deserializable object graph (C#)" WARNING_FILTER += allow class="Unsafe DataSet or DataTable type in web deserializable object graph (C#)" WARNING_FILTER += allow class="Use Container Level Access Policy (C#)" WARNING_FILTER += allow class="Use CreateEncryptor with the default IV (C#)" WARNING_FILTER += allow class="Use DefaultDllImportSearchPaths attribute for P/Invokes (C#)" WARNING_FILTER += allow class="Use Integral Or String Argument For Indexers (C#)" WARNING_FILTER += allow class="Use Secure Cookies In ASP.NET Core (C#)" WARNING_FILTER += allow class="Use SharedAccessProtocol HttpsOnly (C#)" WARNING_FILTER += allow class="Use antiforgery tokens in ASP.NET Core MVC controllers (C#)" WARNING_FILTER += allow class="Use char overload, CA1867 (C#)" WARNING_FILTER += allow class="Use events where appropriate (C#)" WARNING_FILTER += allow class="Use generic event handler instances (C#)" WARNING_FILTER += allow class="Use literals where appropriate (C#)" WARNING_FILTER += allow class="Use of Hash without a Salt (C#)" WARNING_FILTER += allow class="Use properties where appropriate (C#)" WARNING_FILTER += allow class="Useless null Test (C#)" WARNING_FILTER += allow class="Useless null Test of Field (C#)" WARNING_FILTER += allow class="Useless null Test of Parameter (C#)" WARNING_FILTER += allow class="Useless null Test of Return Value (C#)" WARNING_FILTER += allow class="Validate arguments of public methods (C#)" WARNING_FILTER += allow class="clone Subclass of Non-clonable (C#)" WARNING_FILTER += allow class="null Passed to Method (deep) (C#)" # Classes below are enabled by default: they are included for # completeness, in case they have been disabled by a previous rule. # Note that this default enabling means that a class may remain # enabled even if its WARNING_FILTER rule is commented out below. WARNING_FILTER += allow class="'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument (C#)" WARNING_FILTER += allow class="'ThreadStatic' only affects static fields (C#)" WARNING_FILTER += allow class="== Always Fails Because Types Always Different (C#)" WARNING_FILTER += allow class="A constant is expected for the parameter (C#)" WARNING_FILTER += allow class="Abs on random (C#)" WARNING_FILTER += allow class="All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface (C#)" WARNING_FILTER += allow class="Ambiguous Call from Inner Class (C#)" WARNING_FILTER += allow class="Anonymous LDAP Authentication (C#)" WARNING_FILTER += allow class="Approximate e Constant (C#)" WARNING_FILTER += allow class="Approximate pi Constant (C#)" WARNING_FILTER += allow class="Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum (C#)" WARNING_FILTER += allow class="Assigning symbol and its member in the same statement (C#)" WARNING_FILTER += allow class="Assignment in Conditional (C#)" WARNING_FILTER += allow class="Asymmetric compareTo (C#)" WARNING_FILTER += allow class="Avoid 'StringBuilder' parameters for P/Invokes (C#)" WARNING_FILTER += allow class="Avoid constant arrays as arguments (C#)" WARNING_FILTER += allow class="Avoid inexact read with 'Stream.Read' (C#)" WARNING_FILTER += allow class="Avoid infinite recursion (C#)" WARNING_FILTER += allow class="Avoid redundant length argument (C#)" WARNING_FILTER += allow class="Avoid using 'Enumerable.Any()' extension method (C#)" WARNING_FILTER += allow class="Avoid using cref tags with a prefix (C#)" WARNING_FILTER += allow class="Avoid zero-length array allocations (C#)" WARNING_FILTER += allow class="Bitwise AND on Boolean (C#)" WARNING_FILTER += allow class="Bitwise AND on Boolean Constant (C#)" WARNING_FILTER += allow class="Bitwise OR on Boolean (C#)" WARNING_FILTER += allow class="Bitwise OR on Boolean Constant (C#)" WARNING_FILTER += allow class="Blocking in Critical Section (C#)" WARNING_FILTER += allow class="Cache and reuse 'JsonSerializerOptions' instances (C#)" WARNING_FILTER += allow class="Call Might Return Null (C#)" WARNING_FILTER += allow class="CancellationToken parameters must come last (C#)" WARNING_FILTER += allow class="Cast: Integer to Floating Point (C#)" WARNING_FILTER += allow class="Cast: int Computation to long (C#)" WARNING_FILTER += allow class="Class Enables Debug Features (C#)" WARNING_FILTER += allow class="Closeable Not Closed (C#)" WARNING_FILTER += allow class="Closeable Not Stored (C#)" WARNING_FILTER += allow class="Code Injection (C#)" WARNING_FILTER += allow class="Command Injection (C#)" WARNING_FILTER += allow class="Comparison to Class Names (C#)" WARNING_FILTER += allow class="Comparison to Empty String (C#)" WARNING_FILTER += allow class="Consider using 'StringBuilder.Append(char)' when applicable (C#)" WARNING_FILTER += allow class="Consider using 'string.Contains' instead of 'string.IndexOf' (C#)" WARNING_FILTER += allow class="Copy-Paste Error" WARNING_FILTER += allow class="Cross Site Scripting (C#)" WARNING_FILTER += allow class="Cross Site Scripting In Error Message Web Page (C#)" WARNING_FILTER += allow class="Cryptographic Algorithm with Risky Default Cipher (C#)" WARNING_FILTER += allow class="Cryptographic Algorithm with Weak Cipher (C#)" WARNING_FILTER += allow class="Cryptographic Algorithm with Weak Hash (C#)" WARNING_FILTER += allow class="DLL Injection (C#)" WARNING_FILTER += allow class="DOS Injection (C#)" WARNING_FILTER += allow class="Debug Call (C#)" WARNING_FILTER += allow class="Debug Warning (C#)" WARNING_FILTER += allow class="Declare types in namespaces (C#)" WARNING_FILTER += allow class="Defines equals but not hashCode (C#)" WARNING_FILTER += allow class="Defines hashCode but not equals (C#)" WARNING_FILTER += allow class="Deprecated Cryptography Provider (C#)" WARNING_FILTER += allow class="Dispose methods should call SuppressFinalize (C#)" WARNING_FILTER += allow class="Dispose methods should call base class dispose (C#)" WARNING_FILTER += allow class="Do Not Add Schema By URL (C#)" WARNING_FILTER += allow class="Do Not Call Dangerous Methods In Deserialization (C#)" WARNING_FILTER += allow class="Do Not Disable Certificate Validation (C#)" WARNING_FILTER += allow class="Do Not Disable HTTP Header Checking (C#)" WARNING_FILTER += allow class="Do Not Disable Request Validation (C#)" WARNING_FILTER += allow class="Do Not Use Broken Cryptographic Algorithms (C#)" WARNING_FILTER += allow class="Do Not Use Deprecated Security Protocols (C#)" WARNING_FILTER += allow class="Do Not Use Digital Signature Algorithm (DSA) (C#)" WARNING_FILTER += allow class="Do Not Use Weak Cryptographic Algorithms (C#)" WARNING_FILTER += allow class="Do Not Use XslTransform (C#)" WARNING_FILTER += allow class="Do not assign a property to itself (C#)" WARNING_FILTER += allow class="Do not call Enumerable.Cast or Enumerable.OfType with incompatible types (C#)" WARNING_FILTER += allow class="Do not call ToImmutableCollection on an ImmutableCollection value (C#)" WARNING_FILTER += allow class="Do not compare Span to 'null' or 'default' (C#)" WARNING_FILTER += allow class="Do not declare event fields as virtual (C#)" WARNING_FILTER += allow class="Do not declare protected member in sealed type (C#)" WARNING_FILTER += allow class="Do not declare static members on generic types (C#)" WARNING_FILTER += allow class="Do not declare visible instance fields (C#)" WARNING_FILTER += allow class="Do not define finalizers for types derived from MemoryManager (C#)" WARNING_FILTER += allow class="Do not duplicate indexed element initializations (C#)" WARNING_FILTER += allow class="Do not hide base class methods (C#)" WARNING_FILTER += allow class="Do not ignore method results (C#)" WARNING_FILTER += allow class="Do not initialize unnecessarily (C#)" WARNING_FILTER += allow class="Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' (C#)" WARNING_FILTER += allow class="Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' (C#)" WARNING_FILTER += allow class="Do not prefix enum values with type name (C#)" WARNING_FILTER += allow class="Do not raise exceptions in finally clauses (C#)" WARNING_FILTER += allow class="Do not raise reserved exception types (C#)" WARNING_FILTER += allow class="Do not use 'OutAttribute' on string parameters for P/Invokes (C#)" WARNING_FILTER += allow class="Do not use 'WaitAll' with a single task (C#)" WARNING_FILTER += allow class="Do not use 'WhenAll' with a single task (C#)" WARNING_FILTER += allow class="Do not use ConfigureAwaitOptions.SuppressThrowing with Task (C#)" WARNING_FILTER += allow class="Do not use Count() or LongCount() when Any() can be used (C#)" WARNING_FILTER += allow class="Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used (C#)" WARNING_FILTER += allow class="Do not use Enumerable methods on indexable collections (C#)" WARNING_FILTER += allow class="Do not use ReferenceEquals with value types (C#)" WARNING_FILTER += allow class="Do not use deprecated SslProtocols values (C#)" WARNING_FILTER += allow class="Do not use obsolete key derivation function (C#)" WARNING_FILTER += allow class="Do not use stackalloc in loops (C#)" WARNING_FILTER += allow class="Double-Checked Locking (C#)" WARNING_FILTER += allow class="Empty Branch Statement (C#)" WARNING_FILTER += allow class="Empty Exception Handler (C#)" WARNING_FILTER += allow class="Empty zip File Archived (C#)" WARNING_FILTER += allow class="Ensure Key Derivation Function algorithm is sufficiently strong (C#)" WARNING_FILTER += allow class="Enums values should not be duplicated (C#)" WARNING_FILTER += allow class="Exception Information Disclosure (C#)" WARNING_FILTER += allow class="Execution After Redirect (C#)" WARNING_FILTER += allow class="Field Never Read (C#)" WARNING_FILTER += allow class="Field Never Written (C#)" WARNING_FILTER += allow class="Floating Point Equality (C#)" WARNING_FILTER += allow class="Format String Injection (C#)" WARNING_FILTER += allow class="Forward the 'CancellationToken' parameter to methods (C#)" WARNING_FILTER += allow class="Generic Exception Handler (C#)" WARNING_FILTER += allow class="Generic interface should also be implemented (C#)" WARNING_FILTER += allow class="Hardcoded Cryptographic Key (C#)" WARNING_FILTER += allow class="Hardcoded Filename (C#)" WARNING_FILTER += allow class="Hardcoded Password (C#)" WARNING_FILTER += allow class="Hardcoded Random Seed (C#)" WARNING_FILTER += allow class="Hostname in Condition (C#)" WARNING_FILTER += allow class="Identifier contains type name (C#)" WARNING_FILTER += allow class="Identifiers should differ by more than case (C#)" WARNING_FILTER += allow class="Identifiers should have correct prefix (C#)" WARNING_FILTER += allow class="Identifiers should have correct suffix (C#)" WARNING_FILTER += allow class="Identifiers should not contain underscores (C#)" WARNING_FILTER += allow class="Identifiers should not have incorrect suffix (C#)" WARNING_FILTER += allow class="Identifiers should not match keywords (C#)" WARNING_FILTER += allow class="Ignored Return Value (C#)" WARNING_FILTER += allow class="Ignored Return Value for Pure Function (C#)" WARNING_FILTER += allow class="Impossible Client Side Locking (C#)" WARNING_FILTER += allow class="Impossible reference comparison (C#)" WARNING_FILTER += allow class="Improper 'ThreadStatic' field initialization (C#)" WARNING_FILTER += allow class="Inappropriate Exception Handler (C#)" WARNING_FILTER += allow class="Inappropriate Instanceof (C#)" WARNING_FILTER += allow class="Incorrect usage of ConstantExpected attribute (C#)" WARNING_FILTER += allow class="Inefficient Bitwise AND (C#)" WARNING_FILTER += allow class="Inefficient Bitwise OR (C#)" WARNING_FILTER += allow class="Insecure Cookie (C#)" WARNING_FILTER += allow class="Insecure DTD processing in XML (C#)" WARNING_FILTER += allow class="Insecure Key Derivation (C#)" WARNING_FILTER += allow class="Insecure Processing in API Design, XmlDocument and XmlTextReader (C#)" WARNING_FILTER += allow class="Insecure Random Number Generator (C#)" WARNING_FILTER += allow class="Insecure XSLT Execution (C#)" WARNING_FILTER += allow class="Insecure XSLT script processing (C#)" WARNING_FILTER += allow class="Instanceof Always False (C#)" WARNING_FILTER += allow class="Instanceof Always True (C#)" WARNING_FILTER += allow class="Instantiate argument exceptions correctly (C#)" WARNING_FILTER += allow class="Legacy Random Generator (C#)" WARNING_FILTER += allow class="Mark Verb Handlers With Validate Antiforgery Token (C#)" WARNING_FILTER += allow class="Mark assemblies with NeutralResourcesLanguageAttribute (C#)" WARNING_FILTER += allow class="Mark assemblies with assembly version (C#)" WARNING_FILTER += allow class="Mark attributes with AttributeUsageAttribute (C#)" WARNING_FILTER += allow class="Mark members as static (C#)" WARNING_FILTER += allow class="Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' (C#)" WARNING_FILTER += allow class="Method Enables Debug Features (C#)" WARNING_FILTER += allow class="Method Names Differ Only in Case (C#)" WARNING_FILTER += allow class="Method Should Not Return null (C#)" WARNING_FILTER += allow class="Missing Authentication Annotation (C#)" WARNING_FILTER += allow class="Missing Call to super (C#)" WARNING_FILTER += allow class="Missing Equals Override (C#)" WARNING_FILTER += allow class="Missing Required Cryptographic Step (C#)" WARNING_FILTER += allow class="Mutable Enumeration (C#)" WARNING_FILTER += allow class="Mutable Public Static Final Array (C#)" WARNING_FILTER += allow class="Named placeholders should not be numeric values (C#)" WARNING_FILTER += allow class="Non-Object compareTo Parameter (C#)" WARNING_FILTER += allow class="Non-constant fields should not be visible (C#)" WARNING_FILTER += allow class="Non-overriding Method Signature (C#)" WARNING_FILTER += allow class="Nonserializable Field (C#)" WARNING_FILTER += allow class="Nonserializable Field Element (C#)" WARNING_FILTER += allow class="Nonserializable Outer Class (C#)" WARNING_FILTER += allow class="Null Parameter Dereference (C#)" WARNING_FILTER += allow class="Null Pointer Dereference (C#)" WARNING_FILTER += allow class="Open Redirect (C#)" WARNING_FILTER += allow class="Overload operator equals on overriding value type Equals (C#)" WARNING_FILTER += allow class="Override Object.Equals(object) when implementing IEquatable (C#)" WARNING_FILTER += allow class="Override methods on comparable types (C#)" WARNING_FILTER += allow class="P/Invokes should not be visible (C#)" WARNING_FILTER += allow class="Parameter count mismatch (C#)" WARNING_FILTER += allow class="Parameter names should match base declaration (C#)" WARNING_FILTER += allow class="Password in Property File (C#)" WARNING_FILTER += allow class="Possible XML External Entity Reference (C#)" WARNING_FILTER += allow class="Potential Infinite Recursion (C#)" WARNING_FILTER += allow class="Prefer 'AsSpan' over 'Substring' (C#)" WARNING_FILTER += allow class="Prefer 'Clear' over 'Fill' (C#)" WARNING_FILTER += allow class="Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' (C#)" WARNING_FILTER += allow class="Prefer Dictionary.Contains methods (C#)" WARNING_FILTER += allow class="Prefer IsEmpty over Count (C#)" WARNING_FILTER += allow class="Prefer generic overload when type is known (C#)" WARNING_FILTER += allow class="Prefer static 'HashData' method over 'ComputeHash' (C#)" WARNING_FILTER += allow class="Prefer strongly-typed Append and Insert method overloads on StringBuilder (C#)" WARNING_FILTER += allow class="Prefer the 'IDictionary.TryAdd(TKey, TValue)' method (C#)" WARNING_FILTER += allow class="Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method (C#)" WARNING_FILTER += allow class="Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' (C#)" WARNING_FILTER += allow class="Prevent behavioral change (C#)" WARNING_FILTER += allow class="Property, type, or attribute requires runtime marshalling (C#)" WARNING_FILTER += allow class="Provide ObsoleteAttribute message (C#)" WARNING_FILTER += allow class="Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' (C#)" WARNING_FILTER += allow class="Provide correct 'enum' argument to 'Enum.HasFlag' (C#)" WARNING_FILTER += allow class="Provide correct arguments to formatting methods (C#)" WARNING_FILTER += allow class="Provide memory-based overrides of async methods when subclassing 'Stream' (C#)" WARNING_FILTER += allow class="Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported (C#)" WARNING_FILTER += allow class="Redundant Call for Integral Argument (C#)" WARNING_FILTER += allow class="Redundant Call for String Argument (C#)" WARNING_FILTER += allow class="Redundant Condition (C#)" WARNING_FILTER += allow class="Reflection Bypasses Member Accessibility (C#)" WARNING_FILTER += allow class="Reflection Injection (C#)" WARNING_FILTER += allow class="Reflection Modifies Member Accessibility (C#)" WARNING_FILTER += allow class="Remove empty Finalizers (C#)" WARNING_FILTER += allow class="Rethrow to preserve stack details (C#)" WARNING_FILTER += allow class="Return null Array (C#)" WARNING_FILTER += allow class="Risky Cipher Algorithm (C#)" WARNING_FILTER += allow class="Risky Cipher Field (C#)" WARNING_FILTER += allow class="Risky Class Cast (C#)" WARNING_FILTER += allow class="Risky Cryptographic Algorithm (C#)" WARNING_FILTER += allow class="Risky Cryptographic Field (C#)" WARNING_FILTER += allow class="Risky array store (C#)" WARNING_FILTER += allow class="SQL Injection (C#)" WARNING_FILTER += allow class="Seal internal types (C#)" WARNING_FILTER += allow class="Set 'MaxResponseHeadersLength' properly (C#)" WARNING_FILTER += allow class="Set ViewStateUserKey For Classes Derived From Page (C#)" WARNING_FILTER += allow class="Shadowed Identifier (C#)" WARNING_FILTER += allow class="Should Use == Instead of equals() (C#)" WARNING_FILTER += allow class="Should Use equals() Instead of == (C#)" WARNING_FILTER += allow class="Single-use Random Number Generator (C#)" WARNING_FILTER += allow class="Specify CultureInfo (C#)" WARNING_FILTER += allow class="Specify IFormatProvider (C#)" WARNING_FILTER += allow class="Specify StringComparison for correctness (C#)" WARNING_FILTER += allow class="Specify a culture or use an invariant version (C#)" WARNING_FILTER += allow class="Specify marshaling for P/Invoke string arguments (C#)" WARNING_FILTER += allow class="Static Field Assigned Non-Static (C#)" WARNING_FILTER += allow class="Synchronization on Interned String (C#)" WARNING_FILTER += allow class="Synchronization on static (C#)" WARNING_FILTER += allow class="Synchronous Call to Thread Body (C#)" WARNING_FILTER += allow class="Tainted @Trusted Value (C#)" WARNING_FILTER += allow class="Tainted Allocation Size (C#)" WARNING_FILTER += allow class="Tainted Bundle (C#)" WARNING_FILTER += allow class="Tainted Control (C#)" WARNING_FILTER += allow class="Tainted Expression Evaluation (C#)" WARNING_FILTER += allow class="Tainted HTTP Response (C#)" WARNING_FILTER += allow class="Tainted Hardware Device Property (C#)" WARNING_FILTER += allow class="Tainted LDAP Attribute (C#)" WARNING_FILTER += allow class="Tainted LDAP Filter (C#)" WARNING_FILTER += allow class="Tainted Log (C#)" WARNING_FILTER += allow class="Tainted Message (C#)" WARNING_FILTER += allow class="Tainted Network Address (C#)" WARNING_FILTER += allow class="Tainted Path (C#)" WARNING_FILTER += allow class="Tainted Regular Expression (C#)" WARNING_FILTER += allow class="Tainted Resource (C#)" WARNING_FILTER += allow class="Tainted Session (C#)" WARNING_FILTER += allow class="Tainted URL (C#)" WARNING_FILTER += allow class="Tainted XAML (C#)" WARNING_FILTER += allow class="Tainted XML (C#)" WARNING_FILTER += allow class="Tainted Xpath (C#)" WARNING_FILTER += allow class="Template should be a static expression (C#)" WARNING_FILTER += allow class="Test for NaN correctly (C#)" WARNING_FILTER += allow class="The 'ModuleInitializer' attribute should not be used in libraries (C#)" WARNING_FILTER += allow class="This API requires opting into preview features (C#)" WARNING_FILTER += allow class="This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied (C#)" WARNING_FILTER += allow class="Types that own disposable fields should be disposable (C#)" WARNING_FILTER += allow class="Unchecked Parameter Dereference (C#)" WARNING_FILTER += allow class="Unnecessary Field (C#)" WARNING_FILTER += allow class="Unnecessary call to 'Contains(item)' (C#)" WARNING_FILTER += allow class="Unnecessary call to 'Dictionary.ContainsKey(key)' (C#)" WARNING_FILTER += allow class="Unreachable Instruction (C#)" WARNING_FILTER += allow class="Unsafe Session Expiration Time (C#)" WARNING_FILTER += allow class="Unsafe hash comparison (C#)" WARNING_FILTER += allow class="Unused Class (C#)" WARNING_FILTER += allow class="Unused Field (C#)" WARNING_FILTER += allow class="Unused Method (C#)" WARNING_FILTER += allow class="Unused Object (C#)" WARNING_FILTER += allow class="Unused Value: Actual Parameter (C#)" WARNING_FILTER += allow class="Unused Value: Variable (C#)" WARNING_FILTER += allow class="Unused Value: Write to Parameter (C#)" WARNING_FILTER += allow class="Use 'CompositeFormat' (C#)" WARNING_FILTER += allow class="Use 'Environment.CurrentManagedThreadId' (C#)" WARNING_FILTER += allow class="Use 'Environment.ProcessId' (C#)" WARNING_FILTER += allow class="Use 'Environment.ProcessPath' (C#)" WARNING_FILTER += allow class="Use 'StartsWith' instead of 'IndexOf' (C#)" WARNING_FILTER += allow class="Use 'ThrowIfCancellationRequested' (C#)" WARNING_FILTER += allow class="Use 'string.Equals' (C#)" WARNING_FILTER += allow class="Use ArgumentException throw helper (C#)" WARNING_FILTER += allow class="Use ArgumentNullException throw helper (C#)" WARNING_FILTER += allow class="Use ArgumentOutOfRangeException throw helper (C#)" WARNING_FILTER += allow class="Use AsSpan or AsMemory instead of Range-based indexers (C#)" WARNING_FILTER += allow class="Use AsSpan or AsMemory instead of Range-based indexers for getting Span of an array (C#)" WARNING_FILTER += allow class="Use AsSpan or AsMemory instead of Range-based indexers when appropriate (C#)" WARNING_FILTER += allow class="Use Length/Count property instead of Count() when available (C#)" WARNING_FILTER += allow class="Use ObjectDisposedException throw helper (C#)" WARNING_FILTER += allow class="Use PascalCase for named placeholders (C#)" WARNING_FILTER += allow class="Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size (C#)" WARNING_FILTER += allow class="Use ValueTasks correctly (C#)" WARNING_FILTER += allow class="Use XmlReader for 'DataSet.ReadXml()' (C#)" WARNING_FILTER += allow class="Use XmlReader for 'XmlSchema.Read()' (C#)" WARNING_FILTER += allow class="Use XmlReader for 'XmlSerializer.Deserialize()' (C#)" WARNING_FILTER += allow class="Use XmlReader for XPathDocument constructor (C#)" WARNING_FILTER += allow class="Use XmlReader for XmlValidatingReader constructor (C#)" WARNING_FILTER += allow class="Use a cached 'SearchValues' instance (C#)" WARNING_FILTER += allow class="Use char literal for a single character lookup (C#)" WARNING_FILTER += allow class="Use char overload, CA1865 (C#)" WARNING_FILTER += allow class="Use char overload, CA1866 (C#)" WARNING_FILTER += allow class="Use concrete types when possible for improved performance (C#)" WARNING_FILTER += allow class="Use correct type parameter (C#)" WARNING_FILTER += allow class="Use nameof to express symbol names (C#)" WARNING_FILTER += allow class="Use of Same Seed (C#)" WARNING_FILTER += allow class="Use ordinal string comparison (C#)" WARNING_FILTER += allow class="Use span-based 'string.Concat' (C#)" WARNING_FILTER += allow class="Use the 'StringComparison' method overloads to perform case-insensitive string comparisons (C#)" WARNING_FILTER += allow class="Use the LoggerMessage delegates (C#)" WARNING_FILTER += allow class="Use valid platform string (C#)" WARNING_FILTER += allow class="Useless Assignment (C#)" WARNING_FILTER += allow class="Useless Assignment to Default (C#)" WARNING_FILTER += allow class="Useless Class Cast (C#)" WARNING_FILTER += allow class="Useless Synchronization (C#)" WARNING_FILTER += allow class="Useless volatile Modifier (C#)" WARNING_FILTER += allow class="Validate platform compatibility (C#)" WARNING_FILTER += allow class="Validate platform compatibility - obsoleted APIs (C#)" WARNING_FILTER += allow class="Weak Cryptographic Value (C#)" WARNING_FILTER += allow class="Weak Hash Algorithm (C#)" WARNING_FILTER += allow class="Weak Hash Algorithm Field (C#)" WARNING_FILTER += allow class="Weak Initialization Vector Field (C#)" WARNING_FILTER += allow class="Weak Initialization Vector Value (C#)" WARNING_FILTER += allow class="clone Non-cloneable (C#)" WARNING_FILTER += allow class="clone not final (C#)" WARNING_FILTER += allow class="compareTo in Non-Comparable Class (C#)" WARNING_FILTER += allow class="compareTo without equals (C#)" WARNING_FILTER += allow class="compareTo/equals mismatch (C#)" WARNING_FILTER += allow class="equals Always Fails (C#)" WARNING_FILTER += allow class="equals Parameter Should Be Object (C#)" WARNING_FILTER += allow class="equals on Array (C#)" WARNING_FILTER += allow class="toString on Array (C#)"