diff options
author | Jonathan Pryor <jpryor@novell.com> | 2008-12-02 19:59:33 +0300 |
---|---|---|
committer | Duncan Mak <duncanm@microsoft.com> | 2016-10-08 03:28:35 +0300 |
commit | 93facc40497e8a57dd2883fc01e10efc4ee59bb7 (patch) | |
tree | 4c216c332423e494a8987c7581411e09b40604e3 /mdoc/Test/en.expected.importecmadoc | |
parent | 97d8d351365d8cfc494802b511ea917736261770 (diff) |
* Makefile: Add --exceptions to `mdoc update` invocations to test
<exception/> generation.
* mdoc.exe.sources: Add Mono.Documentation/exceptions.cs to the build.
* Mono.Documentation/exceptions.cs: Added; searches through the
callgraph of an IMemberReference, recording which exception types
are created (and where they're created from).
* Mono.Documentation/monodocer.cs: Generate <exception/> elements.
* Test/DocTest-v1.cs: Modify some methods so that exceptions are
emitted (thus testing <exception/> generation).
* Test/DocTest-v2.patch: Update (so patch(1) doesn't complain).
* Test/en.expected.importecmadoc/System/Array.xml,
Test/en.expected.importecmadoc/System/Environment.xml,
Test/en.expected.importslashdoc/Mono.DocTest.Generic/GenericBase`1.xml,
Test/en.expected.importslashdoc/Mono.DocTest/DocAttribute.xml,
Test/en.expected.importslashdoc/Mono.DocTest/DocValueType.xml,
Test/en.expected.importslashdoc/Mono.DocTest/UseLists.xml,
Test/en.expected.importslashdoc/Mono.DocTest/Widget.xml,
Test/en.expected.importslashdoc/System/Array.xml,
Test/en.expected.importslashdoc/System/Environment.xml,
Test/en.expected.since/Mono.DocTest.Generic/GenericBase`1.xml,
Test/en.expected.since/Mono.DocTest/DocAttribute.xml,
Test/en.expected.since/Mono.DocTest/DocValueType.xml,
Test/en.expected.since/Mono.DocTest/UseLists.xml,
Test/en.expected.since/Mono.DocTest/Widget.xml,
Test/en.expected.since/System/Array.xml,
Test/en.expected.since/System/Environment.xml,
Test/en.expected/Mono.DocTest.Generic/GenericBase`1.xml,
Test/en.expected/Mono.DocTest/DocAttribute.xml,
Test/en.expected/Mono.DocTest/DocValueType.xml,
Test/en.expected/Mono.DocTest/UseLists.xml,
Test/en.expected/Mono.DocTest/Widget.xml,
Test/en.expected/System/Array.xml,
Test/en.expected/System/Environment.xml,
Test/html.expected/Mono.DocTest.Generic/GenericBase`1.html,
Test/html.expected/Mono.DocTest/DocAttribute.html,
Test/html.expected/Mono.DocTest/DocValueType.html,
Test/html.expected/Mono.DocTest/UseLists.html,
Test/html.expected/Mono.DocTest/Widget.html,
Test/html.expected/System/Array.html,
Test/html.expected/System/Environment.html,
Test/msxdoc-expected.importslashdoc.xml: Flush; adds <exception/>
elements (and/or HTML-rendered output of <exception/> elements).
svn path=/trunk/mcs/; revision=120501
Diffstat (limited to 'mdoc/Test/en.expected.importecmadoc')
-rw-r--r-- | mdoc/Test/en.expected.importecmadoc/System/Array.xml | 3 | ||||
-rw-r--r-- | mdoc/Test/en.expected.importecmadoc/System/Environment.xml | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/mdoc/Test/en.expected.importecmadoc/System/Array.xml b/mdoc/Test/en.expected.importecmadoc/System/Array.xml index c5df82e4..e1bc0498 100644 --- a/mdoc/Test/en.expected.importecmadoc/System/Array.xml +++ b/mdoc/Test/en.expected.importecmadoc/System/Array.xml @@ -129,6 +129,7 @@ and the second dimension indexed by 1, 2, and 3. </para> <summary>To be added.</summary> <returns>To be added.</returns> <remarks>To be added.</remarks> + <exception cref="T:System.NotImplementedException">To be added; from: <see cref="M:System.Array.AsReadOnly``1(``0[])" /></exception> </Docs> </Member> <Member MemberName="ConvertAll<T,U>"> @@ -165,6 +166,7 @@ and the second dimension indexed by 1, 2, and 3. </para> <remarks> <para>The <see cref="T:System.Converter<T,U>" /> is a delegate that converts an array element to the target type. The elements of <paramref name="array" /> are individually passed to this converter, and the converted elements are saved in the new array. The source array remains unchanged.</para> </remarks> + <exception cref="T:System.InvalidOperationException">To be added; from: <see cref="M:System.Array.ConvertAll``2(``0[],System.Converter{``0,``1})" /></exception> <exception cref="T:System.ArgumentNullException"> <paramref name="array" /> is <see langword="null" /> or <paramref name="converter" /> is <see langword="null" />.</exception> </Docs> @@ -191,6 +193,7 @@ and the second dimension indexed by 1, 2, and 3. </para> <param name="newSize">To be added.</param> <summary>To be added.</summary> <remarks>To be added.</remarks> + <exception cref="T:System.Exception">To be added; from: <see cref="M:System.Array.Resize``1(``0[]@,System.Int32)" /></exception> </Docs> </Member> </Members> diff --git a/mdoc/Test/en.expected.importecmadoc/System/Environment.xml b/mdoc/Test/en.expected.importecmadoc/System/Environment.xml index 73f22046..e46ad7e4 100644 --- a/mdoc/Test/en.expected.importecmadoc/System/Environment.xml +++ b/mdoc/Test/en.expected.importecmadoc/System/Environment.xml @@ -76,6 +76,7 @@ property.</para> </block> </remarks> + <exception cref="T:System.NotSupportedException">To be added; from: <see cref="M:System.Environment.GetFolderPath(System.Environment.SpecialFolder)" /></exception> <exception cref="T:System.ArgumentException">foo</exception> <permission cref="T:System.SomePermission">bar</permission> <altmember cref="T:System.SomeMember">alt member</altmember> |