Imported Upstream version 6.0.0.172

Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2019-04-12 14:10:50 +00:00
parent 8016999e4d
commit 64ac736ec5
32155 changed files with 3981439 additions and 75368 deletions

View File

@ -8,7 +8,7 @@
// (C) 2006 Novell
//
#if !MOBILE && !MONOMAC
#if !MOBILE && !XAMMAC_4_5
using System;
using System.CodeDom;
@ -45,10 +45,11 @@ namespace MonoTests.System.XmlSerialization
ICodeGenerator generator = provider.CreateGenerator ();
generator.GenerateCodeFromNamespace (codeNamespace, sw, new CodeGeneratorOptions ());
var currentAssembly = Assembly.GetEntryAssembly ().GetName ();
Assert.AreEqual (string.Format(CultureInfo.InvariantCulture,
"{0}{0}" +
"/// <remarks/>{0}" +
"[System.CodeDom.Compiler.GeneratedCodeAttribute(\"nunit-lite-console\", \"0.0.0.0\")]{0}" +
"[System.CodeDom.Compiler.GeneratedCodeAttribute(\"{1}\", \"{2}\")]{0}" +
"[System.SerializableAttribute()]{0}" +
"[System.Diagnostics.DebuggerStepThroughAttribute()]{0}" +
"[System.ComponentModel.DesignerCategoryAttribute(\"code\")]{0}" +
@ -66,7 +67,7 @@ namespace MonoTests.System.XmlSerialization
" this.namesField = value;{0}" +
" }}{0}" +
" }}{0}" +
"}}{0}", Environment.NewLine), sw.ToString (), "#2");
"}}{0}", Environment.NewLine, currentAssembly.Name, currentAssembly.Version), sw.ToString (), "#2");
codeNamespace = ExportCode (typeof (ArrayClass[]));