Skip to content

Commit 7d39c88

Browse files
committed
make FilterClause constructor protected to address CA1012 warning
1 parent b637c59 commit 7d39c88

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

dotnet/src/VectorData/VectorData.Abstractions/FilterClauses/FilterClause.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public abstract class FilterClause
1414
/// <summary>
1515
/// Initializes a new instance of the <see cref="FilterClause"/> class.
1616
/// </summary>
17-
public FilterClause()
17+
protected FilterClause()
1818
{
1919
}
2020
}

dotnet/src/VectorData/VectorData.Abstractions/VectorData.Abstractions.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
<IsAotCompatible Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))">true</IsAotCompatible>
88
<!-- temporarily disabled due to mysterious build issue -->
99
<EnablePackageValidation>false</EnablePackageValidation>
10-
<!-- Suppress CA1012: FilterClause constructor made public to allow Plugins.Web to inherit -->
11-
<NoWarn>$(NoWarn);CA1012</NoWarn>
1210
</PropertyGroup>
1311

1412
<Import Project="$(RepoRoot)/dotnet/nuget/nuget-package.props" />

0 commit comments

Comments
 (0)