Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .globalconfig
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ dotnet_diagnostic.CA1810.severity = none

# CA1812: Avoid uninstantiated internal classes
# https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1812
dotnet_diagnostic.CA1812.severity = none
dotnet_diagnostic.CA1812.severity = warning

# CA1813: Avoid unsealed attributes
# https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1813
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Management.Automation;
Expand Down Expand Up @@ -159,6 +160,10 @@ protected override void EndProcessing()
}
}

[SuppressMessage(
"Microsoft.Performance",
"CA1812:AvoidUninstantiatedInternalClasses",
Justification = "Class is instantiated through late-bound reflection")]
internal class JoinItemCompleter : IArgumentCompleter
{
public IEnumerable<CompletionResult> CompleteArgument(
Expand Down