Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 93b63e2

Browse files
committed
Work arround apparent Roslyn bug in CLS Compliance checking
dotnet/roslyn#4293 CLS Compliance warning CS3016 is reported on non-public members
1 parent 2a4da41 commit 93b63e2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/System.Composition/perftests/WebBenchmarks.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ internal class LightweightWebBenchmark : WebBenchmark
6565
[Export]
6666
private class WebServer
6767
{
68+
#pragma warning disable 3016
6869
[Import, SharingBoundary(Web.Boundaries.Web)]
70+
#pragma warning restore 3016
6971
public ExportFactory<Web.OperationRoot> WebScopeFactory { get; set; }
7072
}
7173

0 commit comments

Comments
 (0)