From b5e1042d0643177b5427284ccede2d230ba76808 Mon Sep 17 00:00:00 2001 From: Dan Quirk Date: Mon, 4 Apr 2016 17:33:09 -0700 Subject: [PATCH] Use InternalsVisibleTo for testing --- src/dotnet/Program.cs | 2 +- src/dotnet/Properties/AssemblyInfo.cs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 src/dotnet/Properties/AssemblyInfo.cs diff --git a/src/dotnet/Program.cs b/src/dotnet/Program.cs index c1aec816f..a1f08328c 100644 --- a/src/dotnet/Program.cs +++ b/src/dotnet/Program.cs @@ -43,7 +43,7 @@ namespace Microsoft.DotNet.Cli } - public int ProcessArgs(string[] args, ITelemetry telemetryClient) + internal int ProcessArgs(string[] args, ITelemetry telemetryClient) { // CommandLineApplication is a bit restrictive, so we parse things ourselves here. Individual apps should use CLA. diff --git a/src/dotnet/Properties/AssemblyInfo.cs b/src/dotnet/Properties/AssemblyInfo.cs new file mode 100644 index 000000000..07c3005ab --- /dev/null +++ b/src/dotnet/Properties/AssemblyInfo.cs @@ -0,0 +1,3 @@ +using System.Runtime.CompilerServices; + +[assembly: InternalsVisibleTo("dotnet.Tests")] \ No newline at end of file