Skip to content

Commit

Permalink
Update src/NetAnalyzers/Core/Microsoft.CodeQuality.Analyzers/ApiDesig…
Browse files Browse the repository at this point in the history
…nGuidelines/TypeNamesShouldNotMatchNamespaces.cs
  • Loading branch information
mavasani authored Jan 4, 2021
1 parent d03e558 commit d3a012b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,9 @@ private static void InitializeWellKnownSystemNamespaceTable()
{
lock (s_lock)
{
#pragma warning disable CA1508 // Avoid dead conditional code - https://github.com/dotnet/roslyn-analyzers/issues/3861
if (s_wellKnownSystemNamespaceTable == null)
#pragma warning restore CA1508
{
#region List of Well known System Namespaces
var wellKnownSystemNamespaces = new List<string>
Expand Down

0 comments on commit d3a012b

Please sign in to comment.