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) {