Skip to content

Commit

Permalink
Omit Environment.Version from CodeDom generated files
Browse files Browse the repository at this point in the history
Contributes to dotnet/coreclr#22664
  • Loading branch information
jkotas committed Feb 20, 2019
1 parent b018ced commit e17d590
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 12 deletions.
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

0 comments on commit e17d590

Please sign in to comment.