Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Omit Environment.Version from CodeDom generated files #35458

Merged
merged 3 commits into from
Feb 21, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2183,9 +2183,6 @@ protected override void GenerateCompileUnitStart(CodeCompileUnit e)
Output.WriteLine(SR.AutoGen_Comment_Line1);
Output.Write("' ");
Output.WriteLine(SR.AutoGen_Comment_Line2);
Output.Write("' ");
Output.Write(SR.AutoGen_Comment_Line3);
Output.WriteLine(Environment.Version.ToString());
Output.WriteLine("'");
Output.Write("' ");
Output.WriteLine(SR.AutoGen_Comment_Line4);
Expand Down
3 changes: 0 additions & 3 deletions src/System.CodeDom/src/Resources/Strings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,6 @@
<data name="AutoGen_Comment_Line2" xml:space="preserve">
<value>This code was generated by a tool.</value>
</data>
<data name="AutoGen_Comment_Line3" xml:space="preserve">
<value>Runtime Version:</value>
</data>
<data name="AutoGen_Comment_Line4" xml:space="preserve">
<value>Changes to this file may cause incorrect behavior and will be lost if</value>
</data>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,6 @@ public void MetadataAttributes()
@"//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
Expand Down Expand Up @@ -1630,7 +1629,6 @@ public void RegionsSnippetsAndLinePragmas()
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
Expand Down Expand Up @@ -3125,7 +3123,6 @@ public void ProviderSupports()
@"//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,6 @@ public void MetadataAttributes()
@"'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.42000
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
Expand Down Expand Up @@ -1580,7 +1579,6 @@ public void RegionsSnippetsAndLinePragmas()
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.42000
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
Expand Down Expand Up @@ -2926,7 +2924,6 @@ public void ProviderSupports()
@"'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.42000
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
Expand Down