Skip to content

Commit 877dfde

Browse files
committed
fix: ignore CA1000
1 parent cbb94df commit 877dfde

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/bunit.core/TestDoubles/Components/CapturedParameterView{TComponent}.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public class CapturedParameterView<TComponent> : IReadOnlyDictionary<string, obj
2121
/// <summary>
2222
/// Gets a empty <see cref="CapturedParameterView{TComponent}"/>.
2323
/// </summary>
24+
[SuppressMessage("Design", "CA1000:Do not declare static members on generic types", Justification = "When following 'empty' pattern this is OK")]
2425
public static CapturedParameterView<TComponent> Empty { get; } = new(ImmutableDictionary<string, object>.Empty);
2526

2627
private static readonly Type ComponentType = typeof(TComponent);

0 commit comments

Comments
 (0)