You've already forked linux-packaging-mono
Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
This commit is contained in:
parent
8016999e4d
commit
64ac736ec5
@ -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[]));
|
||||
|
Reference in New Issue
Block a user