Make CodeWrite public

This commit is contained in:
Ryan Nowak 2017-01-27 16:38:13 -08:00
parent 2b2cf6efec
commit 25831260f7
5 changed files with 5 additions and 5 deletions

View File

@ -9,7 +9,7 @@ using System.Linq;
namespace Microsoft.AspNetCore.Razor.Evolution.Legacy namespace Microsoft.AspNetCore.Razor.Evolution.Legacy
{ {
internal class CSharpCodeWriter : CodeWriter public class CSharpCodeWriter : CodeWriter
{ {
private const string InstanceMethodFormat = "{0}.{1}"; private const string InstanceMethodFormat = "{0}.{1}";

View File

@ -6,7 +6,7 @@ using System.Linq;
namespace Microsoft.AspNetCore.Razor.Evolution.Legacy namespace Microsoft.AspNetCore.Razor.Evolution.Legacy
{ {
internal struct CSharpCodeWritingScope : IDisposable public struct CSharpCodeWritingScope : IDisposable
{ {
private CodeWriter _writer; private CodeWriter _writer;
private bool _autoSpace; private bool _autoSpace;

View File

@ -5,7 +5,7 @@ using System;
namespace Microsoft.AspNetCore.Razor.Evolution.Legacy namespace Microsoft.AspNetCore.Razor.Evolution.Legacy
{ {
internal struct CSharpDisableWarningScope : IDisposable public struct CSharpDisableWarningScope : IDisposable
{ {
private CSharpCodeWriter _writer; private CSharpCodeWriter _writer;
int _warningNumber; int _warningNumber;

View File

@ -6,7 +6,7 @@ using System.Text;
namespace Microsoft.AspNetCore.Razor.Evolution.Legacy namespace Microsoft.AspNetCore.Razor.Evolution.Legacy
{ {
internal class CodeWriter : IDisposable public class CodeWriter : IDisposable
{ {
private static readonly char[] NewLineCharacters = { '\r', '\n' }; private static readonly char[] NewLineCharacters = { '\r', '\n' };

View File

@ -9,7 +9,7 @@ using Microsoft.Extensions.Internal;
namespace Microsoft.AspNetCore.Razor.Evolution.Legacy namespace Microsoft.AspNetCore.Razor.Evolution.Legacy
{ {
[DebuggerDisplay("({Location})\"{Value}\"")] [DebuggerDisplay("({Location})\"{Value}\"")]
internal class LocationTagged<TValue> : IFormattable public class LocationTagged<TValue> : IFormattable
{ {
public LocationTagged(TValue value, int absoluteIndex, int lineIndex, int characterIndex) public LocationTagged(TValue value, int absoluteIndex, int lineIndex, int characterIndex)
: this (value, new SourceLocation(absoluteIndex, lineIndex, characterIndex)) : this (value, new SourceLocation(absoluteIndex, lineIndex, characterIndex))