diff --git a/src/Platform/Microsoft.Testing.Platform.MSBuild/Tasks/TestingPlatformAutoRegisteredExtensions.cs b/src/Platform/Microsoft.Testing.Platform.MSBuild/Tasks/TestingPlatformAutoRegisteredExtensions.cs index afc5755114..a1ce5ff9df 100644 --- a/src/Platform/Microsoft.Testing.Platform.MSBuild/Tasks/TestingPlatformAutoRegisteredExtensions.cs +++ b/src/Platform/Microsoft.Testing.Platform.MSBuild/Tasks/TestingPlatformAutoRegisteredExtensions.cs @@ -174,7 +174,7 @@ private static string GetSourceCode(string language, string extensionsFragments) //------------------------------------------------------------------------------ [global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] -public static class SelfRegisteredExtensions +internal static class SelfRegisteredExtensions { public static void AddSelfRegisteredExtensions(this global::Microsoft.Testing.Platform.Builder.ITestApplicationBuilder builder, string[] args) { @@ -193,7 +193,7 @@ public static void AddSelfRegisteredExtensions(this global::Microsoft.Testing.Pl '------------------------------------------------------------------------------ -Public Module SelfRegisteredExtensions +Friend Module SelfRegisteredExtensions Public Sub AddSelfRegisteredExtensions(ByVal builder As Global.Microsoft.Testing.Platform.Builder.ITestApplicationBuilder, ByVal args As Global.System.String())