dotnet/corefxdotnet/corefx#34200 Bring `XmlRawTextWriterGenerator.cxx` up to date...
authorJoseph Lennox <jlennox@gmail.com>
Mon, 7 Jan 2019 19:34:23 +0000 (11:34 -0800)
committerbuyaa-n <buyankhishig.namnan@microsoft.com>
Mon, 7 Jan 2019 19:34:23 +0000 (11:34 -0800)
commit621b33db67b7070d4ad55b542fc4c47ce01cfe47
tree0c49264070a48914f0a51a2cff1cd3164666c286
parent7dcee789ee39a06f4884609a53cd0ae203994cca
dotnet/corefxdotnet/corefx#34200 Bring `XmlRawTextWriterGenerator.cxx` up to date. (dotnet/corefx#34224)

* dotnet/corefxdotnet/corefx#34200 Bring `XmlRawTextWriterGenerator.cxx` up to date.

* dotnet/corefxdotnet/corefx#34200 Convert `XmlRawTextWriterGenerator.cxx` to t4.

* dotnet/corefxdotnet/corefx#34200 Normalize the inconsistent use of `this`

* dotnet/corefxdotnet/corefx#34200 Make XmlRawTextWriterGenerator run at compile time.

* dotnet/corefxdotnet/corefx#34200 Generate Xml*RawTextWriterAsync.cs files.

These files appear to of never been from a generation process but are
near identical.

* dotnet/corefxdotnet/corefx#34200 Normalize `this` in XmlRawTextWriterGeneratorAsync

* dotnet/corefxdotnet/corefx#34200 Convert Html*RawTextWriter.cs to t4 template.

* dotnet/corefxdotnet/corefx#34200 Convert Text*RawTextWriter.cs to t4 template.

* dotnet/corefxdotnet/corefx#34200 Normalize use of `this` in Html*RawTextWriter.

* dotnet/corefxdotnet/corefx#34200 Fix leading whitespace/bug #

* dotnet/corefxdotnet/corefx#34200 Add warning to generate files about modifying them.

Also fix the oversight that XmlRawTextWriterGeneratorAsync.ttinclude didn't
use the newer RawTextWriter.ttinclude abstraction.

* dotnet/corefxdotnet/corefx#34200 Make code generation produce better formatted code.

Commit migrated from https://github.com/dotnet/corefx/commit/a0e5f73d0c0876840bc4f3745e1ca8385a91cfcf
31 files changed:
src/libraries/System.Private.Xml/src/System.Private.Xml.csproj
src/libraries/System.Private.Xml/src/System/Xml/Core/GenerateCoreWriters_sd.bat [deleted file]
src/libraries/System.Private.Xml/src/System/Xml/Core/GenerateCoreWriters_tfs.bat [deleted file]
src/libraries/System.Private.Xml/src/System/Xml/Core/GenerateWriters_sd.bat [deleted file]
src/libraries/System.Private.Xml/src/System/Xml/Core/GenerateWriters_tfs.bat [deleted file]
src/libraries/System.Private.Xml/src/System/Xml/Core/HtmlEncodedRawTextWriter.cs
src/libraries/System.Private.Xml/src/System/Xml/Core/HtmlEncodedRawTextWriter.tt [new file with mode: 0644]
src/libraries/System.Private.Xml/src/System/Xml/Core/HtmlRawTextWriterGenerator.cxx [deleted file]
src/libraries/System.Private.Xml/src/System/Xml/Core/HtmlRawTextWriterGenerator.ttinclude [new file with mode: 0644]
src/libraries/System.Private.Xml/src/System/Xml/Core/HtmlUtf8RawTextWriter.cs
src/libraries/System.Private.Xml/src/System/Xml/Core/HtmlUtf8RawTextWriter.tt [new file with mode: 0644]
src/libraries/System.Private.Xml/src/System/Xml/Core/RawTextWriter.ttinclude [new file with mode: 0644]
src/libraries/System.Private.Xml/src/System/Xml/Core/RawTextWriterEncoded.ttinclude [new file with mode: 0644]
src/libraries/System.Private.Xml/src/System/Xml/Core/RawTextWriterUtf8.ttinclude [new file with mode: 0644]
src/libraries/System.Private.Xml/src/System/Xml/Core/TextEncodedRawTextWriter.cs
src/libraries/System.Private.Xml/src/System/Xml/Core/TextEncodedRawTextWriter.tt [new file with mode: 0644]
src/libraries/System.Private.Xml/src/System/Xml/Core/TextRawTextWriterGenerator.cxx [deleted file]
src/libraries/System.Private.Xml/src/System/Xml/Core/TextRawTextWriterGenerator.ttinclude [new file with mode: 0644]
src/libraries/System.Private.Xml/src/System/Xml/Core/TextUtf8RawTextWriter.cs
src/libraries/System.Private.Xml/src/System/Xml/Core/TextUtf8RawTextWriter.tt [new file with mode: 0644]
src/libraries/System.Private.Xml/src/System/Xml/Core/XmlEncodedRawTextWriter.cs
src/libraries/System.Private.Xml/src/System/Xml/Core/XmlEncodedRawTextWriter.tt [new file with mode: 0644]
src/libraries/System.Private.Xml/src/System/Xml/Core/XmlEncodedRawTextWriterAsync.cs
src/libraries/System.Private.Xml/src/System/Xml/Core/XmlEncodedRawTextWriterAsync.tt [new file with mode: 0644]
src/libraries/System.Private.Xml/src/System/Xml/Core/XmlRawTextWriterGenerator.cxx [deleted file]
src/libraries/System.Private.Xml/src/System/Xml/Core/XmlRawTextWriterGenerator.ttinclude [new file with mode: 0644]
src/libraries/System.Private.Xml/src/System/Xml/Core/XmlRawTextWriterGeneratorAsync.ttinclude [new file with mode: 0644]
src/libraries/System.Private.Xml/src/System/Xml/Core/XmlUtf8RawTextWriter.cs
src/libraries/System.Private.Xml/src/System/Xml/Core/XmlUtf8RawTextWriter.tt [new file with mode: 0644]
src/libraries/System.Private.Xml/src/System/Xml/Core/XmlUtf8RawTextWriterAsync.cs
src/libraries/System.Private.Xml/src/System/Xml/Core/XmlUtf8RawTextWriterAsync.tt [new file with mode: 0644]