# Generated from the ruleset: AllRulesDefault.ruleset WARNING_FILTER += allow class="Use char overload, CA1866 (C#)" WARNING_FILTER += allow class="Incorrect usage of ConstantExpected attribute (C#)" WARNING_FILTER += allow class="Prefer 'AsSpan' over 'Substring' (C#)" WARNING_FILTER += allow class="Prefer IsEmpty over Count (C#)" WARNING_FILTER += allow class="Do not use Enumerable methods on indexable collections (C#)" WARNING_FILTER += allow class="Dispose methods should call SuppressFinalize (C#)" WARNING_FILTER += allow class="Do not ignore method results (C#)" WARNING_FILTER += allow class="Do not use stackalloc in loops (C#)" WARNING_FILTER += allow class="Use ArgumentNullException throw helper (C#)" WARNING_FILTER += allow class="Validate platform compatibility - obsoleted APIs (C#)" WARNING_FILTER += allow class="Do not duplicate indexed element initializations (C#)" WARNING_FILTER += allow class="Template should be a static expression (C#)" WARNING_FILTER += allow class="Avoid constant arrays as arguments (C#)" WARNING_FILTER += allow class="Prefer Dictionary.Contains methods (C#)" WARNING_FILTER += allow class="Use AsSpan or AsMemory instead of Range-based indexers when appropriate (C#)" WARNING_FILTER += allow class="Remove empty Finalizers (C#)" WARNING_FILTER += allow class="Parameter count mismatch (C#)" WARNING_FILTER += allow class="Override Object.Equals(object) when implementing IEquatable (C#)" WARNING_FILTER += allow class="Do not declare protected member in sealed type (C#)" WARNING_FILTER += allow class="Named placeholders should not be numeric values (C#)" WARNING_FILTER += allow class="Cache and reuse 'JsonSerializerOptions' instances (C#)" WARNING_FILTER += allow class="Use concrete types when possible for improved performance (C#)" WARNING_FILTER += allow class="Use 'Environment.ProcessPath' (C#)" WARNING_FILTER += allow class="Use Length/Count property instead of Count() when available (C#)" WARNING_FILTER += allow class="Use ValueTasks correctly (C#)" WARNING_FILTER += allow class="Use valid platform string (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="Provide memory-based overrides of async methods when subclassing 'Stream' (C#)" WARNING_FILTER += allow class="Consider using 'StringBuilder.Append(char)' when applicable (C#)" WARNING_FILTER += allow class="Mark assemblies with NeutralResourcesLanguageAttribute (C#)" WARNING_FILTER += allow class="Property, type, or attribute requires runtime marshalling (C#)" WARNING_FILTER += allow class="Assigning symbol and its member in the same statement (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="A constant is expected for the parameter (C#)" WARNING_FILTER += allow class="Use char literal for a single character lookup (C#)" WARNING_FILTER += allow class="Use 'Environment.ProcessId' (C#)" WARNING_FILTER += allow class="Do not use Count() or LongCount() when Any() can be used (C#)" WARNING_FILTER += allow class="Do not define finalizers for types derived from MemoryManager (C#)" WARNING_FILTER += allow class="'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument (C#)" WARNING_FILTER += allow class="CancellationToken parameters must come last (C#)" WARNING_FILTER += allow class="Mark attributes with AttributeUsageAttribute (C#)" WARNING_FILTER += allow class="Use ObjectDisposedException throw helper (C#)" WARNING_FILTER += allow class="Do not assign a property to itself (C#)" WARNING_FILTER += allow class="The 'ModuleInitializer' attribute should not be used in libraries (C#)" WARNING_FILTER += allow class="Provide correct 'enum' argument to 'Enum.HasFlag' (C#)" WARNING_FILTER += allow class="Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported (C#)" WARNING_FILTER += allow class="Instantiate argument exceptions correctly (C#)" WARNING_FILTER += allow class="Use the 'StringComparison' method overloads to perform case-insensitive string comparisons (C#)" WARNING_FILTER += allow class="Do not use 'WhenAll' with a single task (C#)" WARNING_FILTER += allow class="Use AsSpan or AsMemory instead of Range-based indexers (C#)" WARNING_FILTER += allow class="Mark members as static (C#)" WARNING_FILTER += allow class="Prevent behavioral change (C#)" WARNING_FILTER += allow class="Do not declare event fields as virtual (C#)" WARNING_FILTER += allow class="Declare types in namespaces (C#)" WARNING_FILTER += allow class="Validate platform compatibility (C#)" WARNING_FILTER += allow class="Use 'ThrowIfCancellationRequested' (C#)" WARNING_FILTER += allow class="Use correct type parameter (C#)" WARNING_FILTER += allow class="Rethrow to preserve stack details (C#)" WARNING_FILTER += allow class="Do not use ReferenceEquals with value types (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="Use char overload, CA1865 (C#)" WARNING_FILTER += allow class="Prefer 'Clear' over 'Fill' (C#)" WARNING_FILTER += allow class="Use span-based 'string.Concat' (C#)" WARNING_FILTER += allow class="Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' (C#)" WARNING_FILTER += allow class="Avoid zero-length array allocations (C#)" WARNING_FILTER += allow class="Use ArgumentException throw helper (C#)" WARNING_FILTER += allow class="This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied (C#)" WARNING_FILTER += allow class="P/Invokes should not be visible (C#)" WARNING_FILTER += allow class="Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum (C#)" WARNING_FILTER += allow class="Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' (C#)" WARNING_FILTER += allow class="Use a cached 'SearchValues' instance (C#)" WARNING_FILTER += allow class="Avoid using 'Enumerable.Any()' extension method (C#)" WARNING_FILTER += allow class="Prefer static 'HashData' method over 'ComputeHash' (C#)" WARNING_FILTER += allow class="Use 'Environment.CurrentManagedThreadId' (C#)" WARNING_FILTER += allow class="Prefer strongly-typed Append and Insert method overloads on StringBuilder (C#)" WARNING_FILTER += allow class="Forward the 'CancellationToken' parameter to methods (C#)" WARNING_FILTER += allow class="Mark assemblies with assembly version (C#)" WARNING_FILTER += allow class="Do not call ToImmutableCollection on an ImmutableCollection value (C#)" WARNING_FILTER += allow class="Improper 'ThreadStatic' field initialization (C#)" WARNING_FILTER += allow class="Enums values should not be duplicated (C#)" WARNING_FILTER += allow class="Use ArgumentOutOfRangeException throw helper (C#)" WARNING_FILTER += allow class="Specify marshaling for P/Invoke string arguments (C#)" WARNING_FILTER += allow class="Test for NaN correctly (C#)" WARNING_FILTER += allow class="This API requires opting into preview features (C#)" WARNING_FILTER += allow class="Unnecessary call to 'Contains(item)' (C#)" WARNING_FILTER += allow class="Use 'StartsWith' instead of 'IndexOf' (C#)" WARNING_FILTER += allow class="Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used (C#)" WARNING_FILTER += allow class="Consider using 'string.Contains' instead of 'string.IndexOf' (C#)" WARNING_FILTER += allow class="'ThreadStatic' only affects static fields (C#)" WARNING_FILTER += allow class="Do not raise exceptions in finally clauses (C#)" WARNING_FILTER += allow class="Unnecessary call to 'Dictionary.ContainsKey(key)' (C#)" WARNING_FILTER += allow class="Do not use 'WaitAll' with a single task (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="Avoid infinite recursion (C#)" WARNING_FILTER += allow class="Do not call Enumerable.Cast or Enumerable.OfType with incompatible types (C#)" WARNING_FILTER += allow class="Do not hide base class methods (C#)" WARNING_FILTER += allow class="Provide ObsoleteAttribute message (C#)" WARNING_FILTER += allow class="Use nameof to express symbol names (C#)" WARNING_FILTER += allow class="Do not use 'OutAttribute' on string parameters for P/Invokes (C#)" WARNING_FILTER += allow class="Provide correct arguments to formatting methods (C#)" WARNING_FILTER += allow class="Do not use ConfigureAwaitOptions.SuppressThrowing with Task (C#)" WARNING_FILTER += allow class="Non-constant fields should not be visible (C#)" WARNING_FILTER += allow class="Overload operator equals on overriding value type Equals (C#)"