From 65d287dd7067c07da77ef98cd28b64b971765e25 Mon Sep 17 00:00:00 2001 From: eriawan Date: Thu, 14 Dec 2023 04:44:36 +0700 Subject: [PATCH] Suppress CA1034 on NameParts class --- src/Utilities/Compiler/Options/SymbolNamesWithValueOption.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Utilities/Compiler/Options/SymbolNamesWithValueOption.cs b/src/Utilities/Compiler/Options/SymbolNamesWithValueOption.cs index f5963ff8dd..58dba972ad 100644 --- a/src/Utilities/Compiler/Options/SymbolNamesWithValueOption.cs +++ b/src/Utilities/Compiler/Options/SymbolNamesWithValueOption.cs @@ -381,7 +381,9 @@ internal TestAccessor(SymbolNamesWithValueOption symbolNamesWithValueOpt /// On the rule CA1710, we allow user specific suffix to be registered for symbol names using the following format: /// MyClass->Suffix or T:MyNamespace.MyClass->Suffix or N:MyNamespace->Suffix. /// +#pragma warning disable CA1034 // Nested types should not be visible public sealed class NameParts +#pragma warning restore CA1034 // Nested types should not be visible { public NameParts(string symbolName, TValue associatedValue) {