Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/api-doc-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Martinez <joelmartinez@gmail.com>2020-03-26 00:11:05 +0300
committerJoel Martinez <joelmartinez@gmail.com>2020-05-06 22:46:53 +0300
commit54dd5da3c8698aad9708c5237b40e6ce6dd3dc44 (patch)
treeefe412c1e08dcf86599bc297661c0ba759dca8a8 /mdoc/mdoc.Test/XmlUpdateTests.cs
parentadfd1dd650ea3cee2802bfd719c026d37350cda0 (diff)
ReturnType is now monikerized.
different return types in different frameworks will now have the FrameworkAlternate attribute added to it
Diffstat (limited to 'mdoc/mdoc.Test/XmlUpdateTests.cs')
-rw-r--r--mdoc/mdoc.Test/XmlUpdateTests.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/mdoc/mdoc.Test/XmlUpdateTests.cs b/mdoc/mdoc.Test/XmlUpdateTests.cs
index 1781f8a6..fbb4ce45 100644
--- a/mdoc/mdoc.Test/XmlUpdateTests.cs
+++ b/mdoc/mdoc.Test/XmlUpdateTests.cs
@@ -700,6 +700,9 @@ namespace mdoc.Test
DocUtils.AddElementWithFx(
typeEntry,
parentx,
+ isFirst: typeEntry.Framework.IsFirstFrameworkForType(typeEntry),
+ isLast: typeEntry.Framework.IsLastFrameworkForType(typeEntry),
+ allfxstring: new Lazy<string>(() => typeEntry.Framework.AllFrameworksWithType(typeEntry)),
clear: parent =>
{
parent.RemoveAll();
@@ -737,6 +740,9 @@ namespace mdoc.Test
DocUtils.AddElementWithFx(
te,
parentx,
+ isFirst: te.Framework.IsFirstFrameworkForType(te),
+ isLast: te.Framework.IsLastFrameworkForType(te),
+ allfxstring: new Lazy<string>(() => typeEntry.Framework.AllFrameworksWithType(typeEntry)),
clear: parent =>
{
parent.RemoveAll();
@@ -779,6 +785,9 @@ namespace mdoc.Test
DocUtils.AddElementWithFx(
te,
parentx,
+ isFirst: typeEntry.Framework.IsFirstFrameworkForType(typeEntry),
+ isLast: typeEntry.Framework.IsLastFrameworkForType(typeEntry),
+ allfxstring: new Lazy<string>(() => typeEntry.Framework.AllFrameworksWithType(typeEntry)),
clear: parent =>
{
parent.RemoveAll();