diff --git a/src/NerdBank.GitVersioning.Tests/NerdBank.GitVersioning.Tests.csproj b/src/NerdBank.GitVersioning.Tests/NerdBank.GitVersioning.Tests.csproj
index 33823156..24c761b3 100644
--- a/src/NerdBank.GitVersioning.Tests/NerdBank.GitVersioning.Tests.csproj
+++ b/src/NerdBank.GitVersioning.Tests/NerdBank.GitVersioning.Tests.csproj
@@ -10,6 +10,7 @@
+
diff --git a/src/NerdBank.GitVersioning/FilterPath.cs b/src/NerdBank.GitVersioning/FilterPath.cs
index 171a048a..9e775040 100644
--- a/src/NerdBank.GitVersioning/FilterPath.cs
+++ b/src/NerdBank.GitVersioning/FilterPath.cs
@@ -10,25 +10,25 @@ namespace Nerdbank.GitVersioning
///
/// A filter (include or exclude) representing a repo relative path.
///
- public class FilterPath
+ internal class FilterPath
{
private readonly StringComparison stringComparison;
///
/// True if this represents an exclude filter.
///
- public bool IsExclude { get; }
+ internal bool IsExclude { get; }
///
/// Path relative to the repository root that this represents.
/// Slashes are canonical for this OS.
///
- public string RepoRelativePath { get; }
+ internal string RepoRelativePath { get; }
///
/// True if this represents the root of the repository.
///
- public bool IsRoot => this.RepoRelativePath == "";
+ internal bool IsRoot => this.RepoRelativePath == "";
///
/// Parses a pathspec-like string into a root-relative path.
@@ -107,7 +107,7 @@ private static string ParsePath(string path, string relativeTo)
///
/// Whether case should be ignored by
/// Invalid path spec.
- public FilterPath(string pathSpec, string relativeTo, bool ignoreCase = false)
+ internal FilterPath(string pathSpec, string relativeTo, bool ignoreCase = false)
{
Requires.NotNullOrEmpty(pathSpec, nameof(pathSpec));
@@ -155,7 +155,7 @@ public FilterPath(string pathSpec, string relativeTo, bool ignoreCase = false)
/// null if no path filters are set. Otherwise, returns a list of
/// instances.
///
- public static IReadOnlyList FromVersionOptions(VersionOptions versionOptions,
+ internal static IReadOnlyList FromVersionOptions(VersionOptions versionOptions,
string relativeRepoProjectDirectory,
IRepository repository)
{
@@ -177,7 +177,7 @@ public FilterPath(string pathSpec, string relativeTo, bool ignoreCase = false)
/// True if this is an excluding filter that matches
/// , otherwise false.
///
- public bool Excludes(string repoRelativePath)
+ internal bool Excludes(string repoRelativePath)
{
if (repoRelativePath is null)
throw new ArgumentNullException(nameof(repoRelativePath));