diff options
Diffstat (limited to 'mdoc')
-rw-r--r-- | mdoc/Resources/monodoc-ecma.xsd | 19 | ||||
-rw-r--r-- | mdoc/Test/en.expected-membergroup/MyNamespace/MyClass.xml | 3 |
2 files changed, 19 insertions, 3 deletions
diff --git a/mdoc/Resources/monodoc-ecma.xsd b/mdoc/Resources/monodoc-ecma.xsd index 552f11d0..3bcbb197 100644 --- a/mdoc/Resources/monodoc-ecma.xsd +++ b/mdoc/Resources/monodoc-ecma.xsd @@ -48,7 +48,8 @@ add masterdoc support? <xs:attribute name="type" type="xs:string" /> <xs:attribute name="Type" type="xs:string" /> <xs:attribute name="TypeParamName" type="xs:string" /> - <xs:attribute name="overwrite" type ="xs:boolean" /> + <xs:attribute name="overwrite" type="xs:boolean" /> + <xs:attribute name="supported" type="xs:boolean"/> <!-- define simple elements --> <xs:element name="AssemblyName" type="xs:string" /> @@ -294,6 +295,16 @@ add masterdoc support? <xs:enumeration value="recipe" /> </xs:restriction> </xs:simpleType> + + <xs:attribute name="memberScope"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:enumeration value="all"/> + <xs:enumeration value="static"/> + <xs:enumeration value="instance"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> <xs:element name="related"> <xs:complexType mixed="true"> @@ -824,15 +835,17 @@ add masterdoc support? <xs:element ref="whitespace" /> </xs:choice> </xs:complexType> - </xs:element> + </xs:element> <xs:element name="theta" /> <xs:element name="threadsafe"> <xs:complexType> <xs:sequence> - <xs:element ref="para" minOccurs="1" maxOccurs="unbounded" /> + <xs:element ref="para" minOccurs="0" maxOccurs="unbounded" /> </xs:sequence> + <xs:attribute ref="supported" /> + <xs:attribute ref="memberScope" /> </xs:complexType> </xs:element> diff --git a/mdoc/Test/en.expected-membergroup/MyNamespace/MyClass.xml b/mdoc/Test/en.expected-membergroup/MyNamespace/MyClass.xml index 061b8ed8..0d906d57 100644 --- a/mdoc/Test/en.expected-membergroup/MyNamespace/MyClass.xml +++ b/mdoc/Test/en.expected-membergroup/MyNamespace/MyClass.xml @@ -16,6 +16,7 @@ <Docs> <summary>To be added.</summary> <remarks>To be added.</remarks> + <threadsafe supported="true" memberScope="all" /> </Docs> <Members> <Member MemberName=".ctor"> @@ -29,6 +30,7 @@ <Docs> <summary>To be added.</summary> <remarks>To be added.</remarks> + <threadsafe supported="true" memberScope="static" /> </Docs> </Member> <MemberGroup MemberName="SomeMethod"> @@ -36,6 +38,7 @@ <AssemblyVersion>0.0.0.0</AssemblyVersion> </AssemblyInfo> <Docs> + <threadsafe supported="true" memberScope="instance" /> <remarks>To be added.</remarks> <summary>To be added.</summary> </Docs> |