diff --git a/src/Microsoft.AspNetCore.Razor.Evolution/Legacy/CSharpCodeWriter.cs b/src/Microsoft.AspNetCore.Razor.Evolution/Legacy/CSharpCodeWriter.cs index e136f15375..357d5fe0fe 100644 --- a/src/Microsoft.AspNetCore.Razor.Evolution/Legacy/CSharpCodeWriter.cs +++ b/src/Microsoft.AspNetCore.Razor.Evolution/Legacy/CSharpCodeWriter.cs @@ -9,7 +9,7 @@ using System.Linq; namespace Microsoft.AspNetCore.Razor.Evolution.Legacy { - internal class CSharpCodeWriter : CodeWriter + public class CSharpCodeWriter : CodeWriter { private const string InstanceMethodFormat = "{0}.{1}"; diff --git a/src/Microsoft.AspNetCore.Razor.Evolution/Legacy/CSharpCodeWritingScope.cs b/src/Microsoft.AspNetCore.Razor.Evolution/Legacy/CSharpCodeWritingScope.cs index dbdc7c0f90..9df0d86f5c 100644 --- a/src/Microsoft.AspNetCore.Razor.Evolution/Legacy/CSharpCodeWritingScope.cs +++ b/src/Microsoft.AspNetCore.Razor.Evolution/Legacy/CSharpCodeWritingScope.cs @@ -6,7 +6,7 @@ using System.Linq; namespace Microsoft.AspNetCore.Razor.Evolution.Legacy { - internal struct CSharpCodeWritingScope : IDisposable + public struct CSharpCodeWritingScope : IDisposable { private CodeWriter _writer; private bool _autoSpace; diff --git a/src/Microsoft.AspNetCore.Razor.Evolution/Legacy/CSharpDisableWarningScope.cs b/src/Microsoft.AspNetCore.Razor.Evolution/Legacy/CSharpDisableWarningScope.cs index 00ce448b1a..881ad65504 100644 --- a/src/Microsoft.AspNetCore.Razor.Evolution/Legacy/CSharpDisableWarningScope.cs +++ b/src/Microsoft.AspNetCore.Razor.Evolution/Legacy/CSharpDisableWarningScope.cs @@ -5,7 +5,7 @@ using System; namespace Microsoft.AspNetCore.Razor.Evolution.Legacy { - internal struct CSharpDisableWarningScope : IDisposable + public struct CSharpDisableWarningScope : IDisposable { private CSharpCodeWriter _writer; int _warningNumber; diff --git a/src/Microsoft.AspNetCore.Razor.Evolution/Legacy/CodeWriter.cs b/src/Microsoft.AspNetCore.Razor.Evolution/Legacy/CodeWriter.cs index e37034f0a5..f62f49a2d2 100644 --- a/src/Microsoft.AspNetCore.Razor.Evolution/Legacy/CodeWriter.cs +++ b/src/Microsoft.AspNetCore.Razor.Evolution/Legacy/CodeWriter.cs @@ -6,7 +6,7 @@ using System.Text; namespace Microsoft.AspNetCore.Razor.Evolution.Legacy { - internal class CodeWriter : IDisposable + public class CodeWriter : IDisposable { private static readonly char[] NewLineCharacters = { '\r', '\n' }; diff --git a/src/Microsoft.AspNetCore.Razor.Evolution/Legacy/LocationTagged.cs b/src/Microsoft.AspNetCore.Razor.Evolution/Legacy/LocationTagged.cs index 4adae8fafc..c44a2a8142 100644 --- a/src/Microsoft.AspNetCore.Razor.Evolution/Legacy/LocationTagged.cs +++ b/src/Microsoft.AspNetCore.Razor.Evolution/Legacy/LocationTagged.cs @@ -9,7 +9,7 @@ using Microsoft.Extensions.Internal; namespace Microsoft.AspNetCore.Razor.Evolution.Legacy { [DebuggerDisplay("({Location})\"{Value}\"")] - internal class LocationTagged : IFormattable + public class LocationTagged : IFormattable { public LocationTagged(TValue value, int absoluteIndex, int lineIndex, int characterIndex) : this (value, new SourceLocation(absoluteIndex, lineIndex, characterIndex))