diff options
author | Joel Martinez <joelmartinez@gmail.com> | 2019-07-26 19:57:58 +0300 |
---|---|---|
committer | Joel Martinez <joelmartinez@gmail.com> | 2019-09-03 18:32:24 +0300 |
commit | efd1beb38be069fc200ccdd6d1f00535f1e792cf (patch) | |
tree | f43cc69c01fabd75aaed6e5cd81cd540fc12460e /mdoc/mdoc.Test/XmlUpdateTests.cs | |
parent | 8e5e1aac2a27c9aaab2ddef642a2adfcd896a89f (diff) |
stub function no longer calls ProcessType.
Also, now tracking source assembly and actual assembly. Will be useful later for tracking forward assemblies
Diffstat (limited to 'mdoc/mdoc.Test/XmlUpdateTests.cs')
-rw-r--r-- | mdoc/mdoc.Test/XmlUpdateTests.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mdoc/mdoc.Test/XmlUpdateTests.cs b/mdoc/mdoc.Test/XmlUpdateTests.cs index c3bcaa6d..a7746c47 100644 --- a/mdoc/mdoc.Test/XmlUpdateTests.cs +++ b/mdoc/mdoc.Test/XmlUpdateTests.cs @@ -8,6 +8,7 @@ using Mono.Cecil; using System.Collections.Generic; using Mono.Documentation.Updater.Frameworks; using Mono.Documentation.Updater; +using System.Runtime.InteropServices; namespace mdoc.Test { @@ -184,7 +185,7 @@ namespace mdoc.Test foreach (var it in fx.Frameworks) { - var t = it.ProcessType(theType); + var t = it.ProcessType(theType, theType.Module.Assembly); foreach(var m in theType.Methods) { t.ProcessMember(m); @@ -832,7 +833,7 @@ namespace mdoc.Test { if (indexCheck(i) || forceAlignment) { - var t = f.ProcessType (type); + var t = f.ProcessType (type, type.Module.Assembly); t.ProcessMember (method); var aset = new AssemblySet (new[] { "one.dll" }); @@ -840,7 +841,7 @@ namespace mdoc.Test } else { - var t = f.ProcessType (type2); + var t = f.ProcessType (type2, type2.Module.Assembly); t.ProcessMember (method2); } i++; |