diff options
author | Joel Martinez <joelmartinez@gmail.com> | 2018-06-28 21:59:16 +0300 |
---|---|---|
committer | Joel Martinez <joelmartinez@gmail.com> | 2018-06-28 22:10:09 +0300 |
commit | b4cdaf8a95227cb281d709d9f1b0c53e769da7c7 (patch) | |
tree | bf67a993437b576ead8097d8e90b9637c6c746b5 /mdoc/Test/en.expected-frameworkalternate-aligned | |
parent | c85d6d653ea1439ae769e1655234f028f13799c7 (diff) |
Attributes now get a FrameworkAlternate when they don't appear in all frameworks.
Resolves #76
Diffstat (limited to 'mdoc/Test/en.expected-frameworkalternate-aligned')
7 files changed, 109 insertions, 4 deletions
diff --git a/mdoc/Test/en.expected-frameworkalternate-aligned/FrameworksIndex/One.xml b/mdoc/Test/en.expected-frameworkalternate-aligned/FrameworksIndex/One.xml index 8248544a..a8c88e19 100644 --- a/mdoc/Test/en.expected-frameworkalternate-aligned/FrameworksIndex/One.xml +++ b/mdoc/Test/en.expected-frameworkalternate-aligned/FrameworksIndex/One.xml @@ -1,9 +1,15 @@ <?xml version="1.0" encoding="utf-8"?> <Framework Name="One"> <Namespace Name="Monodoc.Test"> + <Type Name="Monodoc.Test.FirstAttribute" Id="T:Monodoc.Test.FirstAttribute"> + <Member Id="M:Monodoc.Test.FirstAttribute.#ctor" /> + </Type> <Type Name="Monodoc.Test.MyClass" Id="T:Monodoc.Test.MyClass"> <Member Id="M:Monodoc.Test.MyClass.#ctor" /> <Member Id="M:Monodoc.Test.MyClass.Meth(System.Int32,System.String,System.Int32)" /> </Type> + <Type Name="Monodoc.Test.SecondAttribute" Id="T:Monodoc.Test.SecondAttribute"> + <Member Id="M:Monodoc.Test.SecondAttribute.#ctor" /> + </Type> </Namespace> </Framework>
\ No newline at end of file diff --git a/mdoc/Test/en.expected-frameworkalternate-aligned/FrameworksIndex/Three.xml b/mdoc/Test/en.expected-frameworkalternate-aligned/FrameworksIndex/Three.xml index 9bb0a092..75f797af 100644 --- a/mdoc/Test/en.expected-frameworkalternate-aligned/FrameworksIndex/Three.xml +++ b/mdoc/Test/en.expected-frameworkalternate-aligned/FrameworksIndex/Three.xml @@ -1,9 +1,15 @@ <?xml version="1.0" encoding="utf-8"?> <Framework Name="Three"> <Namespace Name="Monodoc.Test"> + <Type Name="Monodoc.Test.FirstAttribute" Id="T:Monodoc.Test.FirstAttribute"> + <Member Id="M:Monodoc.Test.FirstAttribute.#ctor" /> + </Type> <Type Name="Monodoc.Test.MyClass" Id="T:Monodoc.Test.MyClass"> <Member Id="M:Monodoc.Test.MyClass.#ctor" /> <Member Id="M:Monodoc.Test.MyClass.Meth(System.Int32,System.String,System.Int32)" /> </Type> + <Type Name="Monodoc.Test.SecondAttribute" Id="T:Monodoc.Test.SecondAttribute"> + <Member Id="M:Monodoc.Test.SecondAttribute.#ctor" /> + </Type> </Namespace> </Framework>
\ No newline at end of file diff --git a/mdoc/Test/en.expected-frameworkalternate-aligned/FrameworksIndex/Two.xml b/mdoc/Test/en.expected-frameworkalternate-aligned/FrameworksIndex/Two.xml index 7ba7f611..fc5ce8dd 100644 --- a/mdoc/Test/en.expected-frameworkalternate-aligned/FrameworksIndex/Two.xml +++ b/mdoc/Test/en.expected-frameworkalternate-aligned/FrameworksIndex/Two.xml @@ -1,9 +1,15 @@ <?xml version="1.0" encoding="utf-8"?> <Framework Name="Two"> <Namespace Name="Monodoc.Test"> + <Type Name="Monodoc.Test.FirstAttribute" Id="T:Monodoc.Test.FirstAttribute"> + <Member Id="M:Monodoc.Test.FirstAttribute.#ctor" /> + </Type> <Type Name="Monodoc.Test.MyClass" Id="T:Monodoc.Test.MyClass"> <Member Id="M:Monodoc.Test.MyClass.#ctor" /> <Member Id="M:Monodoc.Test.MyClass.Meth(System.Int32,System.String,System.Int32)" /> </Type> + <Type Name="Monodoc.Test.SecondAttribute" Id="T:Monodoc.Test.SecondAttribute"> + <Member Id="M:Monodoc.Test.SecondAttribute.#ctor" /> + </Type> </Namespace> </Framework>
\ No newline at end of file diff --git a/mdoc/Test/en.expected-frameworkalternate-aligned/Monodoc.Test/FirstAttribute.xml b/mdoc/Test/en.expected-frameworkalternate-aligned/Monodoc.Test/FirstAttribute.xml new file mode 100644 index 00000000..85eac346 --- /dev/null +++ b/mdoc/Test/en.expected-frameworkalternate-aligned/Monodoc.Test/FirstAttribute.xml @@ -0,0 +1,40 @@ +<Type Name="FirstAttribute" FullName="Monodoc.Test.FirstAttribute"> + <TypeSignature Language="C#" Value="public class FirstAttribute : Attribute" /> + <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit FirstAttribute extends System.Attribute" /> + <AssemblyInfo> + <AssemblyName>DocTest-frameworkalternate-one</AssemblyName> + <AssemblyVersion>0.0.0.0</AssemblyVersion> + </AssemblyInfo> + <AssemblyInfo> + <AssemblyName>DocTest-frameworkalternate-two</AssemblyName> + <AssemblyVersion>0.0.0.0</AssemblyVersion> + </AssemblyInfo> + <Base> + <BaseTypeName>System.Attribute</BaseTypeName> + </Base> + <Interfaces /> + <Docs> + <summary>To be added.</summary> + <remarks>To be added.</remarks> + </Docs> + <Members> + <Member MemberName=".ctor"> + <MemberSignature Language="C#" Value="public FirstAttribute ();" /> + <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" /> + <MemberType>Constructor</MemberType> + <AssemblyInfo> + <AssemblyName>DocTest-frameworkalternate-one</AssemblyName> + <AssemblyVersion>0.0.0.0</AssemblyVersion> + </AssemblyInfo> + <AssemblyInfo> + <AssemblyName>DocTest-frameworkalternate-two</AssemblyName> + <AssemblyVersion>0.0.0.0</AssemblyVersion> + </AssemblyInfo> + <Parameters /> + <Docs> + <summary>To be added.</summary> + <remarks>To be added.</remarks> + </Docs> + </Member> + </Members> +</Type> diff --git a/mdoc/Test/en.expected-frameworkalternate-aligned/Monodoc.Test/MyClass.xml b/mdoc/Test/en.expected-frameworkalternate-aligned/Monodoc.Test/MyClass.xml index 8a01c986..b7e6ee6d 100644 --- a/mdoc/Test/en.expected-frameworkalternate-aligned/Monodoc.Test/MyClass.xml +++ b/mdoc/Test/en.expected-frameworkalternate-aligned/Monodoc.Test/MyClass.xml @@ -48,6 +48,11 @@ <AssemblyName>DocTest-frameworkalternate-two</AssemblyName> <AssemblyVersion>0.0.0.0</AssemblyVersion> </AssemblyInfo> + <Attributes> + <Attribute> + <AttributeName>Monodoc.Test.First</AttributeName> + </Attribute> + </Attributes> <ReturnValue> <ReturnType>System.Void</ReturnType> </ReturnValue> diff --git a/mdoc/Test/en.expected-frameworkalternate-aligned/Monodoc.Test/SecondAttribute.xml b/mdoc/Test/en.expected-frameworkalternate-aligned/Monodoc.Test/SecondAttribute.xml new file mode 100644 index 00000000..f797bfe4 --- /dev/null +++ b/mdoc/Test/en.expected-frameworkalternate-aligned/Monodoc.Test/SecondAttribute.xml @@ -0,0 +1,40 @@ +<Type Name="SecondAttribute" FullName="Monodoc.Test.SecondAttribute"> + <TypeSignature Language="C#" Value="public class SecondAttribute : Attribute" /> + <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit SecondAttribute extends System.Attribute" /> + <AssemblyInfo> + <AssemblyName>DocTest-frameworkalternate-one</AssemblyName> + <AssemblyVersion>0.0.0.0</AssemblyVersion> + </AssemblyInfo> + <AssemblyInfo> + <AssemblyName>DocTest-frameworkalternate-two</AssemblyName> + <AssemblyVersion>0.0.0.0</AssemblyVersion> + </AssemblyInfo> + <Base> + <BaseTypeName>System.Attribute</BaseTypeName> + </Base> + <Interfaces /> + <Docs> + <summary>To be added.</summary> + <remarks>To be added.</remarks> + </Docs> + <Members> + <Member MemberName=".ctor"> + <MemberSignature Language="C#" Value="public SecondAttribute ();" /> + <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" /> + <MemberType>Constructor</MemberType> + <AssemblyInfo> + <AssemblyName>DocTest-frameworkalternate-one</AssemblyName> + <AssemblyVersion>0.0.0.0</AssemblyVersion> + </AssemblyInfo> + <AssemblyInfo> + <AssemblyName>DocTest-frameworkalternate-two</AssemblyName> + <AssemblyVersion>0.0.0.0</AssemblyVersion> + </AssemblyInfo> + <Parameters /> + <Docs> + <summary>To be added.</summary> + <remarks>To be added.</remarks> + </Docs> + </Member> + </Members> +</Type> diff --git a/mdoc/Test/en.expected-frameworkalternate-aligned/index.xml b/mdoc/Test/en.expected-frameworkalternate-aligned/index.xml index 264c4b95..592ea1e7 100644 --- a/mdoc/Test/en.expected-frameworkalternate-aligned/index.xml +++ b/mdoc/Test/en.expected-frameworkalternate-aligned/index.xml @@ -2,20 +2,20 @@ <Assemblies> <Assembly Name="DocTest-frameworkalternate-one" Version="0.0.0.0"> <Attributes> - <Attribute> + <Attribute FrameworkAlternate="One;Three"> <AttributeName>System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute+DebuggingModes.DisableOptimizations | System.Diagnostics.DebuggableAttribute+DebuggingModes.IgnoreSymbolStoreSequencePoints)</AttributeName> </Attribute> - <Attribute> + <Attribute FrameworkAlternate="One;Three"> <AttributeName>System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true)</AttributeName> </Attribute> </Attributes> </Assembly> <Assembly Name="DocTest-frameworkalternate-two" Version="0.0.0.0"> <Attributes> - <Attribute> + <Attribute FrameworkAlternate="Two"> <AttributeName>System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute+DebuggingModes.DisableOptimizations | System.Diagnostics.DebuggableAttribute+DebuggingModes.IgnoreSymbolStoreSequencePoints)</AttributeName> </Attribute> - <Attribute> + <Attribute FrameworkAlternate="Two"> <AttributeName>System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true)</AttributeName> </Attribute> </Attributes> @@ -25,7 +25,9 @@ <Copyright>To be added.</Copyright> <Types> <Namespace Name="Monodoc.Test"> + <Type Name="FirstAttribute" Kind="Class" /> <Type Name="MyClass" Kind="Class" /> + <Type Name="SecondAttribute" Kind="Class" /> </Namespace> </Types> <Title>Untitled</Title> |