Skip to content

Commit

Permalink
Suppress CA1034 on NameParts class
Browse files Browse the repository at this point in the history
  • Loading branch information
eriawan committed Jan 3, 2024
1 parent b6f6a30 commit 7e86047
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Utilities/Compiler/Options/SymbolNamesWithValueOption.cs
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,9 @@ internal TestAccessor(SymbolNamesWithValueOption<TValue> 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.
/// </example>
#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)
{
Expand Down

0 comments on commit 7e86047

Please sign in to comment.