diff options
author | Jonathan Pryor <jpryor@novell.com> | 2008-11-16 04:43:24 +0300 |
---|---|---|
committer | Duncan Mak <duncanm@microsoft.com> | 2016-10-08 03:28:33 +0300 |
commit | e5842ca04da76cbc63b083bf751411067fc2bd54 (patch) | |
tree | 9b433acfc97a73a7f7510448049edfb9c458fe1c /mdoc/Test/DocTest-v1.cs | |
parent | 73d831bbf6c8bffb08a2bbb98db51ced166bed9f (diff) |
* Mono.Documentation/monodocer.cs: Fix regressions found from
`make doc-update` in corlib:
- Ensure that custom attributes are sorted (they weren't before,
resulting in spurious differences between Reflection & Cecil
output).
- CecilExtensions.GetMethod() should return null if the method can't
be found.
- DocUtils.IsDelegate() should ensure that the delegate type isn't
abstract (otherwise it dies on System.MulticastDelegate, which is
an abstract type lacking an "Invoke" method).
- Properly count generic argument counts for nested types (fixes IOE
from S.C.G.Dictionary`2.KeyCollection.Enumerator).
* Test/DocTest-v1.cs: Add doubly-nested class under a generic class to
simulate S.C.G.Dictionary`2.KeyCollection.Enumerator behavior.
* Test/en.expected.importslashdoc/index.xml,
Test/en.expected.importslashdoc/Mono.DocTest.Generic/GenericBase`1+NestedCollection+Enumerator.xml,
Test/en.expected.importslashdoc/Mono.DocTest.Generic/GenericBase`1+NestedCollection.xml,
Test/en.expected.since/index.xml,
Test/en.expected.since/Mono.DocTest.Generic/GenericBase`1+NestedCollection+Enumerator.xml,
Test/en.expected.since/Mono.DocTest.Generic/GenericBase`1+NestedCollection.xml,
Test/en.expected/index.xml,
Test/en.expected/Mono.DocTest.Generic/GenericBase`1+NestedCollection+Enumerator.xml,
Test/en.expected/Mono.DocTest.Generic/GenericBase`1+NestedCollection.xml,
Test/html.expected/index.html,
Test/html.expected/Mono.DocTest.Generic/GenericBase`1+NestedCollection+Enumerator.html,
Test/html.expected/Mono.DocTest.Generic/GenericBase`1+NestedCollection.html,
Test/html.expected/Mono.DocTest.Generic/index.html,
Test/msxdoc-expected.importslashdoc.xml: Flush (new types/changes
from DocTest-v1.cs changes).
svn path=/trunk/mcs/; revision=118948
Diffstat (limited to 'mdoc/Test/DocTest-v1.cs')
-rw-r--r-- | mdoc/Test/DocTest-v1.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mdoc/Test/DocTest-v1.cs b/mdoc/Test/DocTest-v1.cs index 06710db6..661de4e7 100644 --- a/mdoc/Test/DocTest-v1.cs +++ b/mdoc/Test/DocTest-v1.cs @@ -454,6 +454,13 @@ namespace Mono.DocTest.Generic { /// <remarks>E:Mono.DocTest.Generic.GenericBase`1.MyEvent</remarks> public event EventHandler<FooEventArgs> MyEvent; + + /// <remarks>T:Mono.DocTest.Generic.GenericBase`1.NestedCollection</remarks> + public class NestedCollection { + /// <remarks>T:Mono.DocTest.Generic.GenericBase`1.NestedCollection.Enumerator</remarks> + public struct Enumerator { + } + } } /// <typeparam name="T">I'm Dying Here!</typeparam> |