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:
authorMichael Jin <v-michaeljin@microsoft.com>2021-04-27 00:38:06 +0300
committerGitHub <noreply@github.com>2021-04-27 00:38:06 +0300
commitdecaa24530903975a62a62c1683dd3fc10ac4076 (patch)
tree1a6000fbb82f95d30ce0a450e05998ba68f5884f /mdoc/Test/en.expected
parent83d0e18272676be6880ea81db6ffe7a59694aab7 (diff)
[.NET] Compound Type Constraint Does Not Render (#545)
Diffstat (limited to 'mdoc/Test/en.expected')
-rw-r--r--mdoc/Test/en.expected/Mono.DocTest.Generic/CompoundConstraints`1.xml80
-rw-r--r--mdoc/Test/en.expected/index.xml1
2 files changed, 81 insertions, 0 deletions
diff --git a/mdoc/Test/en.expected/Mono.DocTest.Generic/CompoundConstraints`1.xml b/mdoc/Test/en.expected/Mono.DocTest.Generic/CompoundConstraints`1.xml
new file mode 100644
index 00000000..5aaf82fd
--- /dev/null
+++ b/mdoc/Test/en.expected/Mono.DocTest.Generic/CompoundConstraints`1.xml
@@ -0,0 +1,80 @@
+<Type Name="CompoundConstraints&lt;NGparam&gt;" FullName="Mono.DocTest.Generic.CompoundConstraints&lt;NGparam&gt;">
+ <TypeSignature Language="C#" Value="public class CompoundConstraints&lt;NGparam&gt; where NGparam : class, new()" />
+ <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit CompoundConstraints`1&lt;class .ctor NGparam&gt; extends System.Object" />
+ <TypeSignature Language="DocId" Value="T:Mono.DocTest.Generic.CompoundConstraints`1" />
+ <TypeSignature Language="VB.NET" Value="Public Class CompoundConstraints(Of NGparam)" />
+ <TypeSignature Language="F#" Value="type CompoundConstraints&lt;'NGparam (requires 'NGparam : null and 'NGparam : (new : unit -&gt; 'NGparam))&gt; = class" />
+ <TypeSignature Language="C++ CLI" Value="generic &lt;typename NGparam&gt;&#xA; where NGparam : class, gcnew()public ref class CompoundConstraints" />
+ <AssemblyInfo>
+ <AssemblyName>DocTest</AssemblyName>
+ <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <TypeParameters>
+ <TypeParameter Name="NGparam">
+ <Constraints>
+ <ParameterAttribute>DefaultConstructorConstraint</ParameterAttribute>
+ <ParameterAttribute>ReferenceTypeConstraint</ParameterAttribute>
+ </Constraints>
+ </TypeParameter>
+ </TypeParameters>
+ <Base>
+ <BaseTypeName>System.Object</BaseTypeName>
+ </Base>
+ <Interfaces />
+ <Docs>
+ <typeparam name="NGparam">To be added.</typeparam>
+ <summary>To be added.</summary>
+ <remarks>To be added.</remarks>
+ </Docs>
+ <Members>
+ <Member MemberName=".ctor">
+ <MemberSignature Language="C#" Value="public CompoundConstraints ();" />
+ <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
+ <MemberSignature Language="DocId" Value="M:Mono.DocTest.Generic.CompoundConstraints`1.#ctor" />
+ <MemberSignature Language="VB.NET" Value="Public Sub New ()" />
+ <MemberSignature Language="C++ CLI" Value="public:&#xA; CompoundConstraints();" />
+ <MemberSignature Language="C++ CX" Value="public:&#xA; CompoundConstraints();" />
+ <MemberSignature Language="C++ WINRT" Value=" CompoundConstraints();" />
+ <MemberType>Constructor</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <Parameters />
+ <Docs>
+ <summary>To be added.</summary>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
+ <Member MemberName="CompoundConstraintClass&lt;param&gt;">
+ <MemberSignature Language="C#" Value="public static void CompoundConstraintClass&lt;param&gt; () where param : class, new();" />
+ <MemberSignature Language="ILAsm" Value=".method public static hidebysig void CompoundConstraintClass&lt;class .ctor param&gt;() cil managed" />
+ <MemberSignature Language="DocId" Value="M:Mono.DocTest.Generic.CompoundConstraints`1.CompoundConstraintClass``1" />
+ <MemberSignature Language="VB.NET" Value="Public Shared Sub CompoundConstraintClass(Of param As {Class, New}) ()" />
+ <MemberSignature Language="F#" Value="static member CompoundConstraintClass : unit -&gt; unit (requires 'param : null and 'param : (new : unit -&gt; 'param))" Usage="Mono.DocTest.Generic.CompoundConstraints&lt;'NGparam (requires 'NGparam : null and 'NGparam : (new : unit -&gt; 'NGparam))&gt;.CompoundConstraintClass " />
+ <MemberSignature Language="C++ CLI" Value="public:&#xA;generic &lt;typename param&gt;&#xA; where param : class, gcnew() static void CompoundConstraintClass();" />
+ <MemberSignature Language="C++ CX" Value="public:&#xA;generic &lt;typename param&gt;&#xA; where param : class, gcnew() static void CompoundConstraintClass();" />
+ <MemberSignature Language="C++ WINRT" Value="template &lt;typename param&gt;&#xA; where param : class, gcnew() static void CompoundConstraintClass();" />
+ <MemberType>Method</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>System.Void</ReturnType>
+ </ReturnValue>
+ <TypeParameters>
+ <TypeParameter Name="param">
+ <Constraints>
+ <ParameterAttribute>DefaultConstructorConstraint</ParameterAttribute>
+ <ParameterAttribute>ReferenceTypeConstraint</ParameterAttribute>
+ </Constraints>
+ </TypeParameter>
+ </TypeParameters>
+ <Parameters />
+ <Docs>
+ <typeparam name="param">To be added.</typeparam>
+ <summary>To be added.</summary>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
+ </Members>
+</Type>
diff --git a/mdoc/Test/en.expected/index.xml b/mdoc/Test/en.expected/index.xml
index 3937a118..e6e60ac8 100644
--- a/mdoc/Test/en.expected/index.xml
+++ b/mdoc/Test/en.expected/index.xml
@@ -35,6 +35,7 @@
<Type Name="Widget+NestedClass+Double+Triple+Quadruple" Kind="Class" />
</Namespace>
<Namespace Name="Mono.DocTest.Generic">
+ <Type Name="CompoundConstraints`1" DisplayName="CompoundConstraints&lt;NGparam&gt;" Kind="Class" />
<Type Name="Extensions" Kind="Class" />
<Type Name="Func`2" DisplayName="Func&lt;TArg,TRet&gt;" Kind="Delegate" />
<Type Name="GenericBase`1" DisplayName="GenericBase&lt;U&gt;" Kind="Class" />