diff options
author | Michael Jin <v-michaeljin@microsoft.com> | 2021-06-04 17:11:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-04 17:11:37 +0300 |
commit | 48abb77384f62ebe735be3475433528af4a2a1ce (patch) | |
tree | 5c0c293b31abe7e14bc827bf54d3fb1a8d1e6321 /mdoc | |
parent | 749ae75e190d6ce65ce23c6ad5be3b45bc9eb414 (diff) |
mdoc should not use TypeMap for parameter and return elements (#558)
https://ceapex.visualstudio.com/Engineering/_workitems/edit/427756
Co-authored-by: anmeng10101 <33647870+anmeng10101@users.noreply.github.com>
Diffstat (limited to 'mdoc')
37 files changed, 311 insertions, 95 deletions
diff --git a/mdoc/.gitignore b/mdoc/.gitignore index ffc0e190..22e79aaf 100644 --- a/mdoc/.gitignore +++ b/mdoc/.gitignore @@ -1,4 +1,5 @@ /Test/en.*/ +/Test/en.actual /Test/html.*/ /Test/DocTest.* /Test/*.dll* @@ -7,4 +8,5 @@ Test/DocTest-DropNS-classic.xml /.v2.txt /.v0.txt -/Test/test-nuget-information
\ No newline at end of file +/Test/test-nuget-information +/Test/test-type-projection
\ No newline at end of file diff --git a/mdoc/Makefile b/mdoc/Makefile index 3966cb34..c695e157 100644 --- a/mdoc/Makefile +++ b/mdoc/Makefile @@ -165,6 +165,10 @@ Test/DocTest-typeForwards-Third.dll: $(CSCOMPILE) $(TEST_CSCFLAGS) -unsafe -debug -optimize -target:library -out:$@ Test/DocTest-typeForwards.cs /define:FIRST $(CSCOMPILE) $(TEST_CSCFLAGS) -unsafe -debug -optimize -target:library -out:Test/DocTest-typeForwards-Third-First.dll /reference:$@ Test/DocTest-typeForwards.cs /define:THIRD +Test/DocTest-TypeProjection.dll: + rm -f DocTest-TypeProjection.dll + $(CSCOMPILE) $(TEST_CSCFLAGS) -unsafe -debug -optimize -target:library -out:$@ Test/DocTest-TypeProjection.cs + # build test dll to test forwardings nested type Test/DocTest-nestedType-typeForwards-First.dll: rm -f $@ @@ -648,6 +652,7 @@ else $(DIFF) Test/en.expected-fsharp Test/en.actual endif + check-monodocer-members-implementation: -rm -Rf Test/en.actual msbuild ../mdoc/Test/TestInterfaceImplementation/TestInterfaceImplementation.csproj -property:Configuration=Release @@ -852,6 +857,23 @@ check-ignored-namespace-generic: $(MONO) $(PROGRAM) update Test/test-generic-ignored-namespace/ReadOnlySpan.dll -o Test/en.actual/ $(DIFF) Test/test-generic-ignored-namespace/en.expected-generic-ignored-namespace Test/en.actual/ + +check-type-projection: Test/DocTest-TypeProjection.dll + rm -Rf Test/en.actual + rm -Rf Test/test-type-projection + + mkdir Test/test-type-projection + mkdir Test/test-type-projection/DocTest-TypeProjection + mkdir Test/en.actual + + cp Test/DocTest-TypeProjection.dll Test/test-type-projection/DocTest-TypeProjection + cp Test/TestTypeMap.xml Test/test-type-projection/ + mv Test/test-type-projection/TestTypeMap.xml Test/test-type-projection/TypeMap.xml + + $(MONO) $(PROGRAM) fx-bootstrap Test/test-type-projection + $(MONO) $(PROGRAM) update -fx Test/test-type-projection/ -o Test/en.actual/ + $(DIFF) Test/en.expected-type-projection Test/en.actual/ + run-test-local: check-doc-tools run-test-update : check-doc-tools-update @@ -908,6 +930,7 @@ check-doc-tools: \ check-monodocer-embedded-type \ check-ignored-namespace-generic \ check-multiple-mdoc \ + check-type-projection #check-monodocer-dropns-delete check-doc-tools-update: check-monodocer-since-update \ diff --git a/mdoc/Mono.Documentation/MDocUpdater.cs b/mdoc/Mono.Documentation/MDocUpdater.cs index 47b50d40..9dcaebb1 100644 --- a/mdoc/Mono.Documentation/MDocUpdater.cs +++ b/mdoc/Mono.Documentation/MDocUpdater.cs @@ -932,7 +932,7 @@ namespace Mono.Documentation private static string GetTypeFileName (TypeReference type) { - return filenameFormatter.GetName (type); + return filenameFormatter.GetName (type, useTypeProjection: false); } public static string GetTypeFileName (string typename) @@ -4208,19 +4208,22 @@ namespace Mono.Documentation else throw new ArgumentException (); } - public static string GetDocParameterType (TypeReference type) + public static string GetDocParameterType (TypeReference type, bool useTypeProjection = false) { - var typename = GetDocTypeFullName (type).Replace ("@", "&"); - - typename = MDocUpdater.Instance.TypeMap?.GetTypeName("C#", typename) ?? typename; + var typename = GetDocTypeFullName (type, useTypeProjection).Replace ("@", "&"); + if (useTypeProjection || string.IsNullOrEmpty(typename)) + { + typename = MDocUpdater.Instance.TypeMap?.GetTypeName("C#", typename) ?? typename; + } + return typename; } private void MakeReturnValue (FrameworkTypeEntry typeEntry, XmlElement root, TypeReference type, MemberReference member, IList<CustomAttribute> attributes, bool shouldDuplicateWithNew = false) { XmlElement e = WriteElement (root, "ReturnValue"); - var valueToUse = GetDocTypeFullName (type); + var valueToUse = GetDocTypeFullName (type, false); if ((type.IsRequiredModifier && ((RequiredModifierType)type).ElementType.IsByReference) || type.IsByReference) e.SetAttribute("RefType", "Ref"); diff --git a/mdoc/Test/DocTest-TypeProjection.cs b/mdoc/Test/DocTest-TypeProjection.cs new file mode 100644 index 00000000..e20829f1 --- /dev/null +++ b/mdoc/Test/DocTest-TypeProjection.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; + +namespace Mono.DocTest +{ + + public class GenericType<T> + { + public GenericType<T> TestMethodA(GenericType<T> A) + { + return A; + } + } + + public class NonGenericType + { + public NonGenericType TestMethodB(NonGenericType B) + { + return B; + } + } + +}
\ No newline at end of file diff --git a/mdoc/Test/TestTypeMap.xml b/mdoc/Test/TestTypeMap.xml new file mode 100644 index 00000000..3225964a --- /dev/null +++ b/mdoc/Test/TestTypeMap.xml @@ -0,0 +1,4 @@ +<TypeMap> + <TypeReplace From="Mono.DocTest.GenericType`1;" To="System.Collections.IList;" Langs="C#;VB.NET;F#" /> + <TypeReplace From="Mono.DocTest.NonGenericType" To="System.Collections.IList" Langs="C#;VB.NET;F#" /> +</TypeMap>
\ No newline at end of file diff --git a/mdoc/Test/en.expected-fsharp-wsl/AbstractClasses+Shape2D.xml b/mdoc/Test/en.expected-fsharp-wsl/AbstractClasses+Shape2D.xml index fa5f3eee..fc640bb7 100644 --- a/mdoc/Test/en.expected-fsharp-wsl/AbstractClasses+Shape2D.xml +++ b/mdoc/Test/en.expected-fsharp-wsl/AbstractClasses+Shape2D.xml @@ -131,9 +131,9 @@ </Docs> </Member> <Member MemberName="Rotate2"> - <MemberSignature Language="C#" Value="public abstract void Rotate2 (double );" /> - <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance void Rotate2(float64 ) cil managed" /> - <MemberSignature Language="F#" Value="abstract member Rotate2 : double -> unit" Usage="shape2D.Rotate2 " /> + <MemberSignature Language="C#" Value="public abstract void Rotate2 (double unnamedParam1);" /> + <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance void Rotate2(float64 unnamedParam1) cil managed" /> + <MemberSignature Language="F#" Value="abstract member Rotate2 : double -> unit" Usage="shape2D.Rotate2 unnamedParam1" /> <MemberType>Method</MemberType> <AssemblyInfo> <AssemblyVersion>1.0.0.0</AssemblyVersion> @@ -142,10 +142,10 @@ <ReturnType>System.Void</ReturnType> </ReturnValue> <Parameters> - <Parameter Name="" Type="System.Double" /> + <Parameter Name="unnamedParam1" Type="System.Double" /> </Parameters> <Docs> - <param name="">To be added.</param> + <param name="unnamedParam1">To be added.</param> <summary>To be added.</summary> <remarks>To be added.</remarks> </Docs> diff --git a/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate1.xml b/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate1.xml index b9a1134c..5024229d 100644 --- a/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate1.xml +++ b/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate1.xml @@ -1,5 +1,5 @@ <Type Name="Delegates+Delegate1" FullName="Delegates+Delegate1"> - <TypeSignature Language="C#" Value="public delegate int Delegates.Delegate1(Tuple<int,int> );" /> + <TypeSignature Language="C#" Value="public delegate int Delegates.Delegate1(Tuple<int,int> unnamedParam1);" /> <TypeSignature Language="ILAsm" Value=".class nested public auto ansi serializable sealed Delegates/Delegate1 extends System.MulticastDelegate" /> <TypeSignature Language="F#" Value="type Delegates.Delegate1 = delegate of (int * int) -> int" /> <AssemblyInfo> @@ -20,13 +20,13 @@ </Attribute> </Attributes> <Parameters> - <Parameter Name="" Type="System.Tuple<System.Int32,System.Int32>" /> + <Parameter Name="unnamedParam1" Type="System.Tuple<System.Int32,System.Int32>" /> </Parameters> <ReturnValue> <ReturnType>System.Int32</ReturnType> </ReturnValue> <Docs> - <param name="">To be added.</param> + <param name="unnamedParam1">To be added.</param> <summary>To be added.</summary> <returns>To be added.</returns> <remarks>To be added.</remarks> diff --git a/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate10.xml b/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate10.xml index 588b0bb0..3bfae723 100644 --- a/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate10.xml +++ b/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate10.xml @@ -1,5 +1,5 @@ <Type Name="Delegates+Delegate10" FullName="Delegates+Delegate10"> - <TypeSignature Language="C#" Value="public delegate char Delegates.Delegate10(int , int );" /> + <TypeSignature Language="C#" Value="public delegate char Delegates.Delegate10(int unnamedParam1, int unnamedParam2);" /> <TypeSignature Language="ILAsm" Value=".class nested public auto ansi serializable sealed Delegates/Delegate10 extends System.MulticastDelegate" /> <TypeSignature Language="F#" Value="type Delegates.Delegate10 = delegate of int * int -> char" /> <AssemblyInfo> @@ -20,15 +20,15 @@ </Attribute> </Attributes> <Parameters> - <Parameter Name="" Type="System.Int32" /> - <Parameter Name="" Type="System.Int32" /> + <Parameter Name="unnamedParam1" Type="System.Int32" /> + <Parameter Name="unnamedParam2" Type="System.Int32" /> </Parameters> <ReturnValue> <ReturnType>System.Char</ReturnType> </ReturnValue> <Docs> - <param name="">To be added.</param> - <param name="">To be added.</param> + <param name="unnamedParam1">To be added.</param> + <param name="unnamedParam2">To be added.</param> <summary>To be added.</summary> <returns>To be added.</returns> <remarks>To be added.</remarks> diff --git a/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate11.xml b/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate11.xml index 634e0384..e7c9088b 100644 --- a/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate11.xml +++ b/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate11.xml @@ -1,5 +1,5 @@ <Type Name="Delegates+Delegate11" FullName="Delegates+Delegate11"> - <TypeSignature Language="C#" Value="public delegate void Delegates.Delegate11(char );" /> + <TypeSignature Language="C#" Value="public delegate void Delegates.Delegate11(char unnamedParam1);" /> <TypeSignature Language="ILAsm" Value=".class nested public auto ansi serializable sealed Delegates/Delegate11 extends System.MulticastDelegate" /> <TypeSignature Language="F#" Value="type Delegates.Delegate11 = delegate of char -> unit" /> <AssemblyInfo> @@ -20,13 +20,13 @@ </Attribute> </Attributes> <Parameters> - <Parameter Name="" Type="System.Char" /> + <Parameter Name="unnamedParam1" Type="System.Char" /> </Parameters> <ReturnValue> <ReturnType>System.Void</ReturnType> </ReturnValue> <Docs> - <param name="">To be added.</param> + <param name="unnamedParam1">To be added.</param> <summary>To be added.</summary> <remarks>To be added.</remarks> </Docs> diff --git a/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate13.xml b/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate13.xml index 32171f31..840c239c 100644 --- a/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate13.xml +++ b/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate13.xml @@ -1,5 +1,5 @@ <Type Name="Delegates+Delegate13" FullName="Delegates+Delegate13"> - <TypeSignature Language="C#" Value="public delegate double Delegates.Delegate13(FSharpFunc<int,FSharpFunc<char,FSharpFunc<string,decimal>>> );" /> + <TypeSignature Language="C#" Value="public delegate double Delegates.Delegate13(FSharpFunc<int,FSharpFunc<char,FSharpFunc<string,decimal>>> unnamedParam1);" /> <TypeSignature Language="ILAsm" Value=".class nested public auto ansi serializable sealed Delegates/Delegate13 extends System.MulticastDelegate" /> <TypeSignature Language="F#" Value="type Delegates.Delegate13 = delegate of (int -> char -> string -> decimal) -> double" /> <AssemblyInfo> @@ -20,13 +20,13 @@ </Attribute> </Attributes> <Parameters> - <Parameter Name="" Type="Microsoft.FSharp.Core.FSharpFunc<System.Int32,Microsoft.FSharp.Core.FSharpFunc<System.Char,Microsoft.FSharp.Core.FSharpFunc<System.String,System.Decimal>>>" /> + <Parameter Name="unnamedParam1" Type="Microsoft.FSharp.Core.FSharpFunc<System.Int32,Microsoft.FSharp.Core.FSharpFunc<System.Char,Microsoft.FSharp.Core.FSharpFunc<System.String,System.Decimal>>>" /> </Parameters> <ReturnValue> <ReturnType>System.Double</ReturnType> </ReturnValue> <Docs> - <param name="">To be added.</param> + <param name="unnamedParam1">To be added.</param> <summary>To be added.</summary> <returns>To be added.</returns> <remarks>To be added.</remarks> diff --git a/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate2.xml b/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate2.xml index 294962fe..97bb177b 100644 --- a/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate2.xml +++ b/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate2.xml @@ -1,5 +1,5 @@ <Type Name="Delegates+Delegate2" FullName="Delegates+Delegate2"> - <TypeSignature Language="C#" Value="public delegate int Delegates.Delegate2(int , int );" /> + <TypeSignature Language="C#" Value="public delegate int Delegates.Delegate2(int unnamedParam1, int unnamedParam2);" /> <TypeSignature Language="ILAsm" Value=".class nested public auto ansi serializable sealed Delegates/Delegate2 extends System.MulticastDelegate" /> <TypeSignature Language="F#" Value="type Delegates.Delegate2 = delegate of int * int -> int" /> <AssemblyInfo> @@ -20,15 +20,15 @@ </Attribute> </Attributes> <Parameters> - <Parameter Name="" Type="System.Int32" /> - <Parameter Name="" Type="System.Int32" /> + <Parameter Name="unnamedParam1" Type="System.Int32" /> + <Parameter Name="unnamedParam2" Type="System.Int32" /> </Parameters> <ReturnValue> <ReturnType>System.Int32</ReturnType> </ReturnValue> <Docs> - <param name="">To be added.</param> - <param name="">To be added.</param> + <param name="unnamedParam1">To be added.</param> + <param name="unnamedParam2">To be added.</param> <summary>To be added.</summary> <returns>To be added.</returns> <remarks>To be added.</remarks> diff --git a/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate3.xml b/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate3.xml index 7277a35d..6ab632ce 100644 --- a/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate3.xml +++ b/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate3.xml @@ -1,5 +1,5 @@ <Type Name="Delegates+Delegate3" FullName="Delegates+Delegate3"> - <TypeSignature Language="C#" Value="public delegate string Delegates.Delegate3(int , char );" /> + <TypeSignature Language="C#" Value="public delegate string Delegates.Delegate3(int unnamedParam1, char unnamedParam2);" /> <TypeSignature Language="ILAsm" Value=".class nested public auto ansi serializable sealed Delegates/Delegate3 extends System.MulticastDelegate" /> <TypeSignature Language="F#" Value="type Delegates.Delegate3 = delegate of int * char -> string" /> <AssemblyInfo> @@ -20,15 +20,15 @@ </Attribute> </Attributes> <Parameters> - <Parameter Name="" Type="System.Int32" /> - <Parameter Name="" Type="System.Char" /> + <Parameter Name="unnamedParam1" Type="System.Int32" /> + <Parameter Name="unnamedParam2" Type="System.Char" /> </Parameters> <ReturnValue> <ReturnType>System.String</ReturnType> </ReturnValue> <Docs> - <param name="">To be added.</param> - <param name="">To be added.</param> + <param name="unnamedParam1">To be added.</param> + <param name="unnamedParam2">To be added.</param> <summary>To be added.</summary> <returns>To be added.</returns> <remarks>To be added.</remarks> diff --git a/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate4.xml b/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate4.xml index 969f28ba..add42ee2 100644 --- a/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate4.xml +++ b/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate4.xml @@ -1,5 +1,5 @@ <Type Name="Delegates+Delegate4" FullName="Delegates+Delegate4"> - <TypeSignature Language="C#" Value="public delegate Microsoft.FSharp.Core.FSharpFunc<int,char> Delegates.Delegate4(int );" /> + <TypeSignature Language="C#" Value="public delegate Microsoft.FSharp.Core.FSharpFunc<int,char> Delegates.Delegate4(int unnamedParam1);" /> <TypeSignature Language="ILAsm" Value=".class nested public auto ansi serializable sealed Delegates/Delegate4 extends System.MulticastDelegate" /> <TypeSignature Language="F#" Value="type Delegates.Delegate4 = delegate of int -> (int -> char)" /> <AssemblyInfo> @@ -20,13 +20,13 @@ </Attribute> </Attributes> <Parameters> - <Parameter Name="" Type="System.Int32" /> + <Parameter Name="unnamedParam1" Type="System.Int32" /> </Parameters> <ReturnValue> <ReturnType>Microsoft.FSharp.Core.FSharpFunc<System.Int32,System.Char></ReturnType> </ReturnValue> <Docs> - <param name="">To be added.</param> + <param name="unnamedParam1">To be added.</param> <summary>To be added.</summary> <returns>To be added.</returns> <remarks>To be added.</remarks> diff --git a/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate5.xml b/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate5.xml index b72d9777..29384c34 100644 --- a/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate5.xml +++ b/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate5.xml @@ -1,5 +1,5 @@ <Type Name="Delegates+Delegate5" FullName="Delegates+Delegate5"> - <TypeSignature Language="C#" Value="public delegate Microsoft.FSharp.Core.FSharpFunc<int,Microsoft.FSharp.Core.FSharpFunc<char,string>> Delegates.Delegate5(int );" /> + <TypeSignature Language="C#" Value="public delegate Microsoft.FSharp.Core.FSharpFunc<int,Microsoft.FSharp.Core.FSharpFunc<char,string>> Delegates.Delegate5(int unnamedParam1);" /> <TypeSignature Language="ILAsm" Value=".class nested public auto ansi serializable sealed Delegates/Delegate5 extends System.MulticastDelegate" /> <TypeSignature Language="F#" Value="type Delegates.Delegate5 = delegate of int -> (int -> char -> string)" /> <AssemblyInfo> @@ -20,13 +20,13 @@ </Attribute> </Attributes> <Parameters> - <Parameter Name="" Type="System.Int32" /> + <Parameter Name="unnamedParam1" Type="System.Int32" /> </Parameters> <ReturnValue> <ReturnType>Microsoft.FSharp.Core.FSharpFunc<System.Int32,Microsoft.FSharp.Core.FSharpFunc<System.Char,System.String>></ReturnType> </ReturnValue> <Docs> - <param name="">To be added.</param> + <param name="unnamedParam1">To be added.</param> <summary>To be added.</summary> <returns>To be added.</returns> <remarks>To be added.</remarks> diff --git a/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate6.xml b/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate6.xml index 241f52d3..33cc504c 100644 --- a/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate6.xml +++ b/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate6.xml @@ -1,5 +1,5 @@ <Type Name="Delegates+Delegate6" FullName="Delegates+Delegate6"> - <TypeSignature Language="C#" Value="public delegate char Delegates.Delegate6(FSharpFunc<int,double> );" /> + <TypeSignature Language="C#" Value="public delegate char Delegates.Delegate6(FSharpFunc<int,double> unnamedParam1);" /> <TypeSignature Language="ILAsm" Value=".class nested public auto ansi serializable sealed Delegates/Delegate6 extends System.MulticastDelegate" /> <TypeSignature Language="F#" Value="type Delegates.Delegate6 = delegate of (int -> double) -> char" /> <AssemblyInfo> @@ -20,13 +20,13 @@ </Attribute> </Attributes> <Parameters> - <Parameter Name="" Type="Microsoft.FSharp.Core.FSharpFunc<System.Int32,System.Double>" /> + <Parameter Name="unnamedParam1" Type="Microsoft.FSharp.Core.FSharpFunc<System.Int32,System.Double>" /> </Parameters> <ReturnValue> <ReturnType>System.Char</ReturnType> </ReturnValue> <Docs> - <param name="">To be added.</param> + <param name="unnamedParam1">To be added.</param> <summary>To be added.</summary> <returns>To be added.</returns> <remarks>To be added.</remarks> diff --git a/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate7.xml b/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate7.xml index 5f88bcf9..fb40e142 100644 --- a/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate7.xml +++ b/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate7.xml @@ -1,5 +1,5 @@ <Type Name="Delegates+Delegate7" FullName="Delegates+Delegate7"> - <TypeSignature Language="C#" Value="public delegate double Delegates.Delegate7(FSharpFunc<int,FSharpFunc<char,string>> );" /> + <TypeSignature Language="C#" Value="public delegate double Delegates.Delegate7(FSharpFunc<int,FSharpFunc<char,string>> unnamedParam1);" /> <TypeSignature Language="ILAsm" Value=".class nested public auto ansi serializable sealed Delegates/Delegate7 extends System.MulticastDelegate" /> <TypeSignature Language="F#" Value="type Delegates.Delegate7 = delegate of (int -> char -> string) -> double" /> <AssemblyInfo> @@ -20,13 +20,13 @@ </Attribute> </Attributes> <Parameters> - <Parameter Name="" Type="Microsoft.FSharp.Core.FSharpFunc<System.Int32,Microsoft.FSharp.Core.FSharpFunc<System.Char,System.String>>" /> + <Parameter Name="unnamedParam1" Type="Microsoft.FSharp.Core.FSharpFunc<System.Int32,Microsoft.FSharp.Core.FSharpFunc<System.Char,System.String>>" /> </Parameters> <ReturnValue> <ReturnType>System.Double</ReturnType> </ReturnValue> <Docs> - <param name="">To be added.</param> + <param name="unnamedParam1">To be added.</param> <summary>To be added.</summary> <returns>To be added.</returns> <remarks>To be added.</remarks> diff --git a/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate8.xml b/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate8.xml index 1f3713a9..158bccc6 100644 --- a/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate8.xml +++ b/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate8.xml @@ -1,5 +1,5 @@ <Type Name="Delegates+Delegate8" FullName="Delegates+Delegate8"> - <TypeSignature Language="C#" Value="public delegate char Delegates.Delegate8(int );" /> + <TypeSignature Language="C#" Value="public delegate char Delegates.Delegate8(int unnamedParam1);" /> <TypeSignature Language="ILAsm" Value=".class nested public auto ansi serializable sealed Delegates/Delegate8 extends System.MulticastDelegate" /> <TypeSignature Language="F#" Value="type Delegates.Delegate8 = delegate of int -> char" /> <AssemblyInfo> @@ -20,13 +20,13 @@ </Attribute> </Attributes> <Parameters> - <Parameter Name="" Type="System.Int32" /> + <Parameter Name="unnamedParam1" Type="System.Int32" /> </Parameters> <ReturnValue> <ReturnType>System.Char</ReturnType> </ReturnValue> <Docs> - <param name="">To be added.</param> + <param name="unnamedParam1">To be added.</param> <summary>To be added.</summary> <returns>To be added.</returns> <remarks>To be added.</remarks> diff --git a/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate9.xml b/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate9.xml index 7da4ac51..48b52f5e 100644 --- a/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate9.xml +++ b/mdoc/Test/en.expected-fsharp-wsl/Delegates+Delegate9.xml @@ -1,5 +1,5 @@ <Type Name="Delegates+Delegate9" FullName="Delegates+Delegate9"> - <TypeSignature Language="C#" Value="public delegate char Delegates.Delegate9(Tuple<int,int> );" /> + <TypeSignature Language="C#" Value="public delegate char Delegates.Delegate9(Tuple<int,int> unnamedParam1);" /> <TypeSignature Language="ILAsm" Value=".class nested public auto ansi serializable sealed Delegates/Delegate9 extends System.MulticastDelegate" /> <TypeSignature Language="F#" Value="type Delegates.Delegate9 = delegate of (int * int) -> char" /> <AssemblyInfo> @@ -20,13 +20,13 @@ </Attribute> </Attributes> <Parameters> - <Parameter Name="" Type="System.Tuple<System.Int32,System.Int32>" /> + <Parameter Name="unnamedParam1" Type="System.Tuple<System.Int32,System.Int32>" /> </Parameters> <ReturnValue> <ReturnType>System.Char</ReturnType> </ReturnValue> <Docs> - <param name="">To be added.</param> + <param name="unnamedParam1">To be added.</param> <summary>To be added.</summary> <returns>To be added.</returns> <remarks>To be added.</remarks> diff --git a/mdoc/Test/en.expected-fsharp-wsl/DiscriminatedUnions+Shape+Circle.xml b/mdoc/Test/en.expected-fsharp-wsl/DiscriminatedUnions+Shape+Circle.xml index 0df6e8c0..1cf1d136 100644 --- a/mdoc/Test/en.expected-fsharp-wsl/DiscriminatedUnions+Shape+Circle.xml +++ b/mdoc/Test/en.expected-fsharp-wsl/DiscriminatedUnions+Shape+Circle.xml @@ -16,8 +16,8 @@ <AttributeName Language="F#">[<System.Diagnostics.DebuggerDisplay("{__DebugDisplay(),nq}")>]</AttributeName> </Attribute> <Attribute> - <AttributeName Language="C#">[System.Diagnostics.DebuggerTypeProxy(typeof(DiscriminatedUnions/Shape/Circle@DebugTypeProxy))]</AttributeName> - <AttributeName Language="F#">[<System.Diagnostics.DebuggerTypeProxy(typeof(DiscriminatedUnions/Shape/Circle@DebugTypeProxy))>]</AttributeName> + <AttributeName Language="C#">[System.Diagnostics.DebuggerTypeProxy(typeof(DiscriminatedUnions+Shape+Circle@DebugTypeProxy))]</AttributeName> + <AttributeName Language="F#">[<System.Diagnostics.DebuggerTypeProxy(typeof(DiscriminatedUnions+Shape+Circle@DebugTypeProxy))>]</AttributeName> </Attribute> <Attribute> <AttributeName Language="C#">[System.Serializable]</AttributeName> diff --git a/mdoc/Test/en.expected-fsharp-wsl/DiscriminatedUnions+Shape+Prism.xml b/mdoc/Test/en.expected-fsharp-wsl/DiscriminatedUnions+Shape+Prism.xml index 6b82ea56..d692ac3a 100644 --- a/mdoc/Test/en.expected-fsharp-wsl/DiscriminatedUnions+Shape+Prism.xml +++ b/mdoc/Test/en.expected-fsharp-wsl/DiscriminatedUnions+Shape+Prism.xml @@ -16,8 +16,8 @@ <AttributeName Language="F#">[<System.Diagnostics.DebuggerDisplay("{__DebugDisplay(),nq}")>]</AttributeName> </Attribute> <Attribute> - <AttributeName Language="C#">[System.Diagnostics.DebuggerTypeProxy(typeof(DiscriminatedUnions/Shape/Prism@DebugTypeProxy))]</AttributeName> - <AttributeName Language="F#">[<System.Diagnostics.DebuggerTypeProxy(typeof(DiscriminatedUnions/Shape/Prism@DebugTypeProxy))>]</AttributeName> + <AttributeName Language="C#">[System.Diagnostics.DebuggerTypeProxy(typeof(DiscriminatedUnions+Shape+Prism@DebugTypeProxy))]</AttributeName> + <AttributeName Language="F#">[<System.Diagnostics.DebuggerTypeProxy(typeof(DiscriminatedUnions+Shape+Prism@DebugTypeProxy))>]</AttributeName> </Attribute> <Attribute> <AttributeName Language="C#">[System.Serializable]</AttributeName> diff --git a/mdoc/Test/en.expected-fsharp-wsl/DiscriminatedUnions+Shape+Rectangle.xml b/mdoc/Test/en.expected-fsharp-wsl/DiscriminatedUnions+Shape+Rectangle.xml index af196c39..fe657c9b 100644 --- a/mdoc/Test/en.expected-fsharp-wsl/DiscriminatedUnions+Shape+Rectangle.xml +++ b/mdoc/Test/en.expected-fsharp-wsl/DiscriminatedUnions+Shape+Rectangle.xml @@ -16,8 +16,8 @@ <AttributeName Language="F#">[<System.Diagnostics.DebuggerDisplay("{__DebugDisplay(),nq}")>]</AttributeName> </Attribute> <Attribute> - <AttributeName Language="C#">[System.Diagnostics.DebuggerTypeProxy(typeof(DiscriminatedUnions/Shape/Rectangle@DebugTypeProxy))]</AttributeName> - <AttributeName Language="F#">[<System.Diagnostics.DebuggerTypeProxy(typeof(DiscriminatedUnions/Shape/Rectangle@DebugTypeProxy))>]</AttributeName> + <AttributeName Language="C#">[System.Diagnostics.DebuggerTypeProxy(typeof(DiscriminatedUnions+Shape+Rectangle@DebugTypeProxy))]</AttributeName> + <AttributeName Language="F#">[<System.Diagnostics.DebuggerTypeProxy(typeof(DiscriminatedUnions+Shape+Rectangle@DebugTypeProxy))>]</AttributeName> </Attribute> <Attribute> <AttributeName Language="C#">[System.Serializable]</AttributeName> diff --git a/mdoc/Test/en.expected-fsharp-wsl/Interfaces+Interface0.xml b/mdoc/Test/en.expected-fsharp-wsl/Interfaces+Interface0.xml index cb47a026..63dcede2 100644 --- a/mdoc/Test/en.expected-fsharp-wsl/Interfaces+Interface0.xml +++ b/mdoc/Test/en.expected-fsharp-wsl/Interfaces+Interface0.xml @@ -23,9 +23,9 @@ </Docs> <Members> <Member MemberName="Method1"> - <MemberSignature Language="C#" Value="public int Method1 (int );" /> - <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 Method1(int32 ) cil managed" /> - <MemberSignature Language="F#" Value="abstract member Method1 : int -> int" Usage="interface0.Method1 " /> + <MemberSignature Language="C#" Value="public int Method1 (int unnamedParam1);" /> + <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 Method1(int32 unnamedParam1) cil managed" /> + <MemberSignature Language="F#" Value="abstract member Method1 : int -> int" Usage="interface0.Method1 unnamedParam1" /> <MemberType>Method</MemberType> <AssemblyInfo> <AssemblyVersion>1.0.0.0</AssemblyVersion> @@ -34,10 +34,10 @@ <ReturnType>System.Int32</ReturnType> </ReturnValue> <Parameters> - <Parameter Name="" Type="System.Int32" /> + <Parameter Name="unnamedParam1" Type="System.Int32" /> </Parameters> <Docs> - <param name="">To be added.</param> + <param name="unnamedParam1">To be added.</param> <summary>To be added.</summary> <returns>To be added.</returns> <remarks>To be added.</remarks> diff --git a/mdoc/Test/en.expected-fsharp-wsl/Interfaces+Interface1.xml b/mdoc/Test/en.expected-fsharp-wsl/Interfaces+Interface1.xml index 9ed7d805..4d946f12 100644 --- a/mdoc/Test/en.expected-fsharp-wsl/Interfaces+Interface1.xml +++ b/mdoc/Test/en.expected-fsharp-wsl/Interfaces+Interface1.xml @@ -23,9 +23,9 @@ </Docs> <Members> <Member MemberName="Method1"> - <MemberSignature Language="C#" Value="public int Method1 (int );" /> - <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 Method1(int32 ) cil managed" /> - <MemberSignature Language="F#" Value="abstract member Method1 : int -> int" Usage="interface1.Method1 " /> + <MemberSignature Language="C#" Value="public int Method1 (int unnamedParam1);" /> + <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 Method1(int32 unnamedParam1) cil managed" /> + <MemberSignature Language="F#" Value="abstract member Method1 : int -> int" Usage="interface1.Method1 unnamedParam1" /> <MemberType>Method</MemberType> <AssemblyInfo> <AssemblyVersion>1.0.0.0</AssemblyVersion> @@ -34,10 +34,10 @@ <ReturnType>System.Int32</ReturnType> </ReturnValue> <Parameters> - <Parameter Name="" Type="System.Int32" /> + <Parameter Name="unnamedParam1" Type="System.Int32" /> </Parameters> <Docs> - <param name="">To be added.</param> + <param name="unnamedParam1">To be added.</param> <summary>To be added.</summary> <returns>To be added.</returns> <remarks>To be added.</remarks> diff --git a/mdoc/Test/en.expected-fsharp-wsl/Interfaces+Interface2.xml b/mdoc/Test/en.expected-fsharp-wsl/Interfaces+Interface2.xml index 06023a4f..73c7d650 100644 --- a/mdoc/Test/en.expected-fsharp-wsl/Interfaces+Interface2.xml +++ b/mdoc/Test/en.expected-fsharp-wsl/Interfaces+Interface2.xml @@ -23,9 +23,9 @@ </Docs> <Members> <Member MemberName="Method2"> - <MemberSignature Language="C#" Value="public int Method2 (int );" /> - <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 Method2(int32 ) cil managed" /> - <MemberSignature Language="F#" Value="abstract member Method2 : int -> int" Usage="interface2.Method2 " /> + <MemberSignature Language="C#" Value="public int Method2 (int unnamedParam1);" /> + <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 Method2(int32 unnamedParam1) cil managed" /> + <MemberSignature Language="F#" Value="abstract member Method2 : int -> int" Usage="interface2.Method2 unnamedParam1" /> <MemberType>Method</MemberType> <AssemblyInfo> <AssemblyVersion>1.0.0.0</AssemblyVersion> @@ -34,10 +34,10 @@ <ReturnType>System.Int32</ReturnType> </ReturnValue> <Parameters> - <Parameter Name="" Type="System.Int32" /> + <Parameter Name="unnamedParam1" Type="System.Int32" /> </Parameters> <Docs> - <param name="">To be added.</param> + <param name="unnamedParam1">To be added.</param> <summary>To be added.</summary> <returns>To be added.</returns> <remarks>To be added.</remarks> diff --git a/mdoc/Test/en.expected-fsharp-wsl/Interfaces+Interface3.xml b/mdoc/Test/en.expected-fsharp-wsl/Interfaces+Interface3.xml index 405b4458..079c290a 100644 --- a/mdoc/Test/en.expected-fsharp-wsl/Interfaces+Interface3.xml +++ b/mdoc/Test/en.expected-fsharp-wsl/Interfaces+Interface3.xml @@ -30,9 +30,9 @@ </Docs> <Members> <Member MemberName="Method3"> - <MemberSignature Language="C#" Value="public int Method3 (int );" /> - <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 Method3(int32 ) cil managed" /> - <MemberSignature Language="F#" Value="abstract member Method3 : int -> int" Usage="interface3.Method3 " /> + <MemberSignature Language="C#" Value="public int Method3 (int unnamedParam1);" /> + <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 Method3(int32 unnamedParam1) cil managed" /> + <MemberSignature Language="F#" Value="abstract member Method3 : int -> int" Usage="interface3.Method3 unnamedParam1" /> <MemberType>Method</MemberType> <AssemblyInfo> <AssemblyVersion>1.0.0.0</AssemblyVersion> @@ -41,10 +41,10 @@ <ReturnType>System.Int32</ReturnType> </ReturnValue> <Parameters> - <Parameter Name="" Type="System.Int32" /> + <Parameter Name="unnamedParam1" Type="System.Int32" /> </Parameters> <Docs> - <param name="">To be added.</param> + <param name="unnamedParam1">To be added.</param> <summary>To be added.</summary> <returns>To be added.</returns> <remarks>To be added.</remarks> diff --git a/mdoc/Test/en.expected-fsharp-wsl/PatternMatching/PatternMatchingExamples+PersonName+FirstLast.xml b/mdoc/Test/en.expected-fsharp-wsl/PatternMatching/PatternMatchingExamples+PersonName+FirstLast.xml index b7b7a2de..e31b131c 100644 --- a/mdoc/Test/en.expected-fsharp-wsl/PatternMatching/PatternMatchingExamples+PersonName+FirstLast.xml +++ b/mdoc/Test/en.expected-fsharp-wsl/PatternMatching/PatternMatchingExamples+PersonName+FirstLast.xml @@ -16,8 +16,8 @@ <AttributeName Language="F#">[<System.Diagnostics.DebuggerDisplay("{__DebugDisplay(),nq}")>]</AttributeName> </Attribute> <Attribute> - <AttributeName Language="C#">[System.Diagnostics.DebuggerTypeProxy(typeof(PatternMatching.PatternMatchingExamples/PersonName/FirstLast@DebugTypeProxy))]</AttributeName> - <AttributeName Language="F#">[<System.Diagnostics.DebuggerTypeProxy(typeof(PatternMatching.PatternMatchingExamples/PersonName/FirstLast@DebugTypeProxy))>]</AttributeName> + <AttributeName Language="C#">[System.Diagnostics.DebuggerTypeProxy(typeof(PatternMatching.PatternMatchingExamples+PersonName+FirstLast@DebugTypeProxy))]</AttributeName> + <AttributeName Language="F#">[<System.Diagnostics.DebuggerTypeProxy(typeof(PatternMatching.PatternMatchingExamples+PersonName+FirstLast@DebugTypeProxy))>]</AttributeName> </Attribute> <Attribute> <AttributeName Language="C#">[System.Serializable]</AttributeName> diff --git a/mdoc/Test/en.expected-fsharp-wsl/PatternMatching/PatternMatchingExamples+PersonName+FirstOnly.xml b/mdoc/Test/en.expected-fsharp-wsl/PatternMatching/PatternMatchingExamples+PersonName+FirstOnly.xml index c50cd03a..8bc63289 100644 --- a/mdoc/Test/en.expected-fsharp-wsl/PatternMatching/PatternMatchingExamples+PersonName+FirstOnly.xml +++ b/mdoc/Test/en.expected-fsharp-wsl/PatternMatching/PatternMatchingExamples+PersonName+FirstOnly.xml @@ -16,8 +16,8 @@ <AttributeName Language="F#">[<System.Diagnostics.DebuggerDisplay("{__DebugDisplay(),nq}")>]</AttributeName> </Attribute> <Attribute> - <AttributeName Language="C#">[System.Diagnostics.DebuggerTypeProxy(typeof(PatternMatching.PatternMatchingExamples/PersonName/FirstOnly@DebugTypeProxy))]</AttributeName> - <AttributeName Language="F#">[<System.Diagnostics.DebuggerTypeProxy(typeof(PatternMatching.PatternMatchingExamples/PersonName/FirstOnly@DebugTypeProxy))>]</AttributeName> + <AttributeName Language="C#">[System.Diagnostics.DebuggerTypeProxy(typeof(PatternMatching.PatternMatchingExamples+PersonName+FirstOnly@DebugTypeProxy))]</AttributeName> + <AttributeName Language="F#">[<System.Diagnostics.DebuggerTypeProxy(typeof(PatternMatching.PatternMatchingExamples+PersonName+FirstOnly@DebugTypeProxy))>]</AttributeName> </Attribute> <Attribute> <AttributeName Language="C#">[System.Serializable]</AttributeName> diff --git a/mdoc/Test/en.expected-fsharp-wsl/PatternMatching/PatternMatchingExamples+PersonName+LastOnly.xml b/mdoc/Test/en.expected-fsharp-wsl/PatternMatching/PatternMatchingExamples+PersonName+LastOnly.xml index 9039e514..b9346976 100644 --- a/mdoc/Test/en.expected-fsharp-wsl/PatternMatching/PatternMatchingExamples+PersonName+LastOnly.xml +++ b/mdoc/Test/en.expected-fsharp-wsl/PatternMatching/PatternMatchingExamples+PersonName+LastOnly.xml @@ -16,8 +16,8 @@ <AttributeName Language="F#">[<System.Diagnostics.DebuggerDisplay("{__DebugDisplay(),nq}")>]</AttributeName> </Attribute> <Attribute> - <AttributeName Language="C#">[System.Diagnostics.DebuggerTypeProxy(typeof(PatternMatching.PatternMatchingExamples/PersonName/LastOnly@DebugTypeProxy))]</AttributeName> - <AttributeName Language="F#">[<System.Diagnostics.DebuggerTypeProxy(typeof(PatternMatching.PatternMatchingExamples/PersonName/LastOnly@DebugTypeProxy))>]</AttributeName> + <AttributeName Language="C#">[System.Diagnostics.DebuggerTypeProxy(typeof(PatternMatching.PatternMatchingExamples+PersonName+LastOnly@DebugTypeProxy))]</AttributeName> + <AttributeName Language="F#">[<System.Diagnostics.DebuggerTypeProxy(typeof(PatternMatching.PatternMatchingExamples+PersonName+LastOnly@DebugTypeProxy))>]</AttributeName> </Attribute> <Attribute> <AttributeName Language="C#">[System.Serializable]</AttributeName> diff --git a/mdoc/Test/en.expected-fsharp-wsl/PatternMatching/PatternMatchingExamples+Shape+Circle.xml b/mdoc/Test/en.expected-fsharp-wsl/PatternMatching/PatternMatchingExamples+Shape+Circle.xml index 538409b3..cfc60932 100644 --- a/mdoc/Test/en.expected-fsharp-wsl/PatternMatching/PatternMatchingExamples+Shape+Circle.xml +++ b/mdoc/Test/en.expected-fsharp-wsl/PatternMatching/PatternMatchingExamples+Shape+Circle.xml @@ -16,8 +16,8 @@ <AttributeName Language="F#">[<System.Diagnostics.DebuggerDisplay("{__DebugDisplay(),nq}")>]</AttributeName> </Attribute> <Attribute> - <AttributeName Language="C#">[System.Diagnostics.DebuggerTypeProxy(typeof(PatternMatching.PatternMatchingExamples/Shape/Circle@DebugTypeProxy))]</AttributeName> - <AttributeName Language="F#">[<System.Diagnostics.DebuggerTypeProxy(typeof(PatternMatching.PatternMatchingExamples/Shape/Circle@DebugTypeProxy))>]</AttributeName> + <AttributeName Language="C#">[System.Diagnostics.DebuggerTypeProxy(typeof(PatternMatching.PatternMatchingExamples+Shape+Circle@DebugTypeProxy))]</AttributeName> + <AttributeName Language="F#">[<System.Diagnostics.DebuggerTypeProxy(typeof(PatternMatching.PatternMatchingExamples+Shape+Circle@DebugTypeProxy))>]</AttributeName> </Attribute> <Attribute> <AttributeName Language="C#">[System.Serializable]</AttributeName> diff --git a/mdoc/Test/en.expected-fsharp-wsl/PatternMatching/PatternMatchingExamples+Shape+Rectangle.xml b/mdoc/Test/en.expected-fsharp-wsl/PatternMatching/PatternMatchingExamples+Shape+Rectangle.xml index f22cf1ab..418a8add 100644 --- a/mdoc/Test/en.expected-fsharp-wsl/PatternMatching/PatternMatchingExamples+Shape+Rectangle.xml +++ b/mdoc/Test/en.expected-fsharp-wsl/PatternMatching/PatternMatchingExamples+Shape+Rectangle.xml @@ -16,8 +16,8 @@ <AttributeName Language="F#">[<System.Diagnostics.DebuggerDisplay("{__DebugDisplay(),nq}")>]</AttributeName> </Attribute> <Attribute> - <AttributeName Language="C#">[System.Diagnostics.DebuggerTypeProxy(typeof(PatternMatching.PatternMatchingExamples/Shape/Rectangle@DebugTypeProxy))]</AttributeName> - <AttributeName Language="F#">[<System.Diagnostics.DebuggerTypeProxy(typeof(PatternMatching.PatternMatchingExamples/Shape/Rectangle@DebugTypeProxy))>]</AttributeName> + <AttributeName Language="C#">[System.Diagnostics.DebuggerTypeProxy(typeof(PatternMatching.PatternMatchingExamples+Shape+Rectangle@DebugTypeProxy))]</AttributeName> + <AttributeName Language="F#">[<System.Diagnostics.DebuggerTypeProxy(typeof(PatternMatching.PatternMatchingExamples+Shape+Rectangle@DebugTypeProxy))>]</AttributeName> </Attribute> <Attribute> <AttributeName Language="C#">[System.Serializable]</AttributeName> diff --git a/mdoc/Test/en.expected-fsharp-wsl/SomeNamespace/SomeModule+IVector.xml b/mdoc/Test/en.expected-fsharp-wsl/SomeNamespace/SomeModule+IVector.xml index 24013a92..bac8e490 100644 --- a/mdoc/Test/en.expected-fsharp-wsl/SomeNamespace/SomeModule+IVector.xml +++ b/mdoc/Test/en.expected-fsharp-wsl/SomeNamespace/SomeModule+IVector.xml @@ -23,9 +23,9 @@ </Docs> <Members> <Member MemberName="Scale"> - <MemberSignature Language="C#" Value="public SomeNamespace.SomeModule.IVector Scale (double );" /> - <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance class SomeNamespace.SomeModule/IVector Scale(float64 ) cil managed" /> - <MemberSignature Language="F#" Value="abstract member Scale : double -> SomeNamespace.SomeModule.IVector" Usage="iVector.Scale " /> + <MemberSignature Language="C#" Value="public SomeNamespace.SomeModule.IVector Scale (double unnamedParam1);" /> + <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance class SomeNamespace.SomeModule/IVector Scale(float64 unnamedParam1) cil managed" /> + <MemberSignature Language="F#" Value="abstract member Scale : double -> SomeNamespace.SomeModule.IVector" Usage="iVector.Scale unnamedParam1" /> <MemberType>Method</MemberType> <AssemblyInfo> <AssemblyVersion>1.0.0.0</AssemblyVersion> @@ -34,10 +34,10 @@ <ReturnType>SomeNamespace.SomeModule+IVector</ReturnType> </ReturnValue> <Parameters> - <Parameter Name="" Type="System.Double" /> + <Parameter Name="unnamedParam1" Type="System.Double" /> </Parameters> <Docs> - <param name="">To be added.</param> + <param name="unnamedParam1">To be added.</param> <summary>To be added.</summary> <returns>To be added.</returns> <remarks>To be added.</remarks> diff --git a/mdoc/Test/en.expected-type-projection/FrameworksIndex/DocTest-TypeProjection.xml b/mdoc/Test/en.expected-type-projection/FrameworksIndex/DocTest-TypeProjection.xml new file mode 100644 index 00000000..212a18d5 --- /dev/null +++ b/mdoc/Test/en.expected-type-projection/FrameworksIndex/DocTest-TypeProjection.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="utf-8"?> +<Framework Name="DocTest-TypeProjection"> + <Assemblies> + <Assembly Name="DocTest-TypeProjection" Version="0.0.0.0" /> + </Assemblies> + <Namespace Name="Mono.DocTest"> + <Type Name="Mono.DocTest.GenericType`1" Id="T:Mono.DocTest.GenericType`1"> + <Member Id="M:Mono.DocTest.GenericType`1.#ctor" /> + <Member Id="M:Mono.DocTest.GenericType`1.TestMethodA(Mono.DocTest.GenericType{`0})" /> + </Type> + <Type Name="Mono.DocTest.NonGenericType" Id="T:Mono.DocTest.NonGenericType"> + <Member Id="M:Mono.DocTest.NonGenericType.#ctor" /> + <Member Id="M:Mono.DocTest.NonGenericType.TestMethodB(Mono.DocTest.NonGenericType)" /> + </Type> + </Namespace> +</Framework>
\ No newline at end of file diff --git a/mdoc/Test/en.expected-type-projection/Mono.DocTest/GenericType`1.xml b/mdoc/Test/en.expected-type-projection/Mono.DocTest/GenericType`1.xml new file mode 100644 index 00000000..d7343aa5 --- /dev/null +++ b/mdoc/Test/en.expected-type-projection/Mono.DocTest/GenericType`1.xml @@ -0,0 +1,57 @@ +<Type Name="GenericType<T>" FullName="Mono.DocTest.GenericType<T>"> + <TypeSignature Language="C#" Value="public class IList;<T>" /> + <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit GenericType`1<T> extends System.Object" /> + <AssemblyInfo> + <AssemblyName>DocTest-TypeProjection</AssemblyName> + <AssemblyVersion>0.0.0.0</AssemblyVersion> + </AssemblyInfo> + <TypeParameters> + <TypeParameter Name="T" /> + </TypeParameters> + <Base> + <BaseTypeName>System.Object</BaseTypeName> + </Base> + <Interfaces /> + <Docs> + <typeparam name="T">To be added.</typeparam> + <summary>To be added.</summary> + <remarks>To be added.</remarks> + </Docs> + <Members> + <Member MemberName=".ctor"> + <MemberSignature Language="C#" Value="public GenericType ();" /> + <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" /> + <MemberType>Constructor</MemberType> + <AssemblyInfo> + <AssemblyName>DocTest-TypeProjection</AssemblyName> + <AssemblyVersion>0.0.0.0</AssemblyVersion> + </AssemblyInfo> + <Parameters /> + <Docs> + <summary>To be added.</summary> + <remarks>To be added.</remarks> + </Docs> + </Member> + <Member MemberName="TestMethodA"> + <MemberSignature Language="C#" Value="public System.Collections.IList;<T> TestMethodA (System.Collections.IList;<T> A);" /> + <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Mono.DocTest.GenericType`1<!T> TestMethodA(class Mono.DocTest.GenericType`1<!T> A) cil managed" /> + <MemberType>Method</MemberType> + <AssemblyInfo> + <AssemblyName>DocTest-TypeProjection</AssemblyName> + <AssemblyVersion>0.0.0.0</AssemblyVersion> + </AssemblyInfo> + <ReturnValue> + <ReturnType>Mono.DocTest.GenericType<T></ReturnType> + </ReturnValue> + <Parameters> + <Parameter Name="A" Type="Mono.DocTest.GenericType<T>" /> + </Parameters> + <Docs> + <param name="A">To be added.</param> + <summary>To be added.</summary> + <returns>To be added.</returns> + <remarks>To be added.</remarks> + </Docs> + </Member> + </Members> +</Type> diff --git a/mdoc/Test/en.expected-type-projection/Mono.DocTest/NonGenericType.xml b/mdoc/Test/en.expected-type-projection/Mono.DocTest/NonGenericType.xml new file mode 100644 index 00000000..111a9a6f --- /dev/null +++ b/mdoc/Test/en.expected-type-projection/Mono.DocTest/NonGenericType.xml @@ -0,0 +1,53 @@ +<Type Name="NonGenericType" FullName="Mono.DocTest.NonGenericType"> + <TypeSignature Language="C#" Value="public class IList" /> + <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit NonGenericType extends System.Object" /> + <AssemblyInfo> + <AssemblyName>DocTest-TypeProjection</AssemblyName> + <AssemblyVersion>0.0.0.0</AssemblyVersion> + </AssemblyInfo> + <Base> + <BaseTypeName>System.Object</BaseTypeName> + </Base> + <Interfaces /> + <Docs> + <summary>To be added.</summary> + <remarks>To be added.</remarks> + </Docs> + <Members> + <Member MemberName=".ctor"> + <MemberSignature Language="C#" Value="public NonGenericType ();" /> + <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" /> + <MemberType>Constructor</MemberType> + <AssemblyInfo> + <AssemblyName>DocTest-TypeProjection</AssemblyName> + <AssemblyVersion>0.0.0.0</AssemblyVersion> + </AssemblyInfo> + <Parameters /> + <Docs> + <summary>To be added.</summary> + <remarks>To be added.</remarks> + </Docs> + </Member> + <Member MemberName="TestMethodB"> + <MemberSignature Language="C#" Value="public System.Collections.IList TestMethodB (System.Collections.IList B);" /> + <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Mono.DocTest.NonGenericType TestMethodB(class Mono.DocTest.NonGenericType B) cil managed" /> + <MemberType>Method</MemberType> + <AssemblyInfo> + <AssemblyName>DocTest-TypeProjection</AssemblyName> + <AssemblyVersion>0.0.0.0</AssemblyVersion> + </AssemblyInfo> + <ReturnValue> + <ReturnType>Mono.DocTest.NonGenericType</ReturnType> + </ReturnValue> + <Parameters> + <Parameter Name="B" Type="Mono.DocTest.NonGenericType" /> + </Parameters> + <Docs> + <param name="B">To be added.</param> + <summary>To be added.</summary> + <returns>To be added.</returns> + <remarks>To be added.</remarks> + </Docs> + </Member> + </Members> +</Type> diff --git a/mdoc/Test/en.expected-type-projection/TypeMap.xml b/mdoc/Test/en.expected-type-projection/TypeMap.xml new file mode 100644 index 00000000..3225964a --- /dev/null +++ b/mdoc/Test/en.expected-type-projection/TypeMap.xml @@ -0,0 +1,4 @@ +<TypeMap> + <TypeReplace From="Mono.DocTest.GenericType`1;" To="System.Collections.IList;" Langs="C#;VB.NET;F#" /> + <TypeReplace From="Mono.DocTest.NonGenericType" To="System.Collections.IList" Langs="C#;VB.NET;F#" /> +</TypeMap>
\ No newline at end of file diff --git a/mdoc/Test/en.expected-type-projection/index.xml b/mdoc/Test/en.expected-type-projection/index.xml new file mode 100644 index 00000000..9005927c --- /dev/null +++ b/mdoc/Test/en.expected-type-projection/index.xml @@ -0,0 +1,23 @@ +<Overview> + <Assemblies> + <Assembly Name="DocTest-TypeProjection" Version="0.0.0.0"> + <Attributes> + <Attribute> + <AttributeName>System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute+DebuggingModes.IgnoreSymbolStoreSequencePoints)</AttributeName> + </Attribute> + <Attribute> + <AttributeName>System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true)</AttributeName> + </Attribute> + </Attributes> + </Assembly> + </Assemblies> + <Remarks>To be added.</Remarks> + <Copyright>To be added.</Copyright> + <Types> + <Namespace Name="Mono.DocTest"> + <Type Name="GenericType`1" DisplayName="IList;<T>" Kind="Class" /> + <Type Name="NonGenericType" DisplayName="IList" Kind="Class" /> + </Namespace> + </Types> + <Title>DocTest-TypeProjection</Title> +</Overview> diff --git a/mdoc/Test/en.expected-type-projection/ns-Mono.DocTest.xml b/mdoc/Test/en.expected-type-projection/ns-Mono.DocTest.xml new file mode 100644 index 00000000..96ab3e78 --- /dev/null +++ b/mdoc/Test/en.expected-type-projection/ns-Mono.DocTest.xml @@ -0,0 +1,6 @@ +<Namespace Name="Mono.DocTest"> + <Docs> + <summary>To be added.</summary> + <remarks>To be added.</remarks> + </Docs> +</Namespace> |