diff --git a/Source/Mockolate/It.cs b/Source/Mockolate/It.cs
index 37f00604..278e6a4c 100644
--- a/Source/Mockolate/It.cs
+++ b/Source/Mockolate/It.cs
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
+using System.Diagnostics.CodeAnalysis;
using Mockolate.Parameters;
namespace Mockolate;
@@ -11,6 +12,10 @@ namespace Mockolate;
///
public partial class It
{
+ ///
+ /// This class is intentionally not static to allow adding static extension methods on .
+ ///
+ [ExcludeFromCodeCoverage]
private It()
{
// Prevent instantiation.
diff --git a/Source/Mockolate/Match.cs b/Source/Mockolate/Match.cs
index 6ad09f79..a3521603 100644
--- a/Source/Mockolate/Match.cs
+++ b/Source/Mockolate/Match.cs
@@ -1,3 +1,5 @@
+using System.Diagnostics.CodeAnalysis;
+
namespace Mockolate;
#pragma warning disable S3453 // This class can't be instantiated; make its constructor 'public'.
@@ -6,6 +8,10 @@ namespace Mockolate;
///
public partial class Match
{
+ ///
+ /// This class is intentionally not static to allow adding static extension methods on .
+ ///
+ [ExcludeFromCodeCoverage]
private Match()
{
// Prevent instantiation.