diff --git a/src/System.CodeDom/src/Microsoft/VisualBasic/VBCodeGenerator.cs b/src/System.CodeDom/src/Microsoft/VisualBasic/VBCodeGenerator.cs index 6d17b3665825..394c936d8a64 100644 --- a/src/System.CodeDom/src/Microsoft/VisualBasic/VBCodeGenerator.cs +++ b/src/System.CodeDom/src/Microsoft/VisualBasic/VBCodeGenerator.cs @@ -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); diff --git a/src/System.CodeDom/src/Resources/Strings.resx b/src/System.CodeDom/src/Resources/Strings.resx index 1547eada5a04..4458b9cd7bd1 100644 --- a/src/System.CodeDom/src/Resources/Strings.resx +++ b/src/System.CodeDom/src/Resources/Strings.resx @@ -119,9 +119,6 @@ This code was generated by a tool. - - Runtime Version: - Changes to this file may cause incorrect behavior and will be lost if diff --git a/src/System.CodeDom/tests/System/CodeDom/Compiler/CSharpCodeGenerationTests.cs b/src/System.CodeDom/tests/System/CodeDom/Compiler/CSharpCodeGenerationTests.cs index b3d06723e214..42799a7d82f2 100644 --- a/src/System.CodeDom/tests/System/CodeDom/Compiler/CSharpCodeGenerationTests.cs +++ b/src/System.CodeDom/tests/System/CodeDom/Compiler/CSharpCodeGenerationTests.cs @@ -739,7 +739,6 @@ public void MetadataAttributes() @"//------------------------------------------------------------------------------ // // 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. @@ -1630,7 +1629,6 @@ public void RegionsSnippetsAndLinePragmas() //------------------------------------------------------------------------------ // // 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. @@ -3125,7 +3123,6 @@ public void ProviderSupports() @"//------------------------------------------------------------------------------ // // 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. diff --git a/src/System.CodeDom/tests/System/CodeDom/Compiler/VBCodeGenerationTests.cs b/src/System.CodeDom/tests/System/CodeDom/Compiler/VBCodeGenerationTests.cs index 3ec43eecbb5f..27db7e5efe2f 100644 --- a/src/System.CodeDom/tests/System/CodeDom/Compiler/VBCodeGenerationTests.cs +++ b/src/System.CodeDom/tests/System/CodeDom/Compiler/VBCodeGenerationTests.cs @@ -705,7 +705,6 @@ public void MetadataAttributes() @"'------------------------------------------------------------------------------ ' ' 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. @@ -1580,7 +1579,6 @@ public void RegionsSnippetsAndLinePragmas() '------------------------------------------------------------------------------ ' ' 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. @@ -2926,7 +2924,6 @@ public void ProviderSupports() @"'------------------------------------------------------------------------------ ' ' 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.