Skip to content

Commit b634e84

Browse files
carlossanlopRon Petrusha
authored andcommitted
Automatically port Reflection ManifestResourceAttributes and MethodSemanticsAttributes (#3189)
* Automatically port Reflection ManifestResourceAttributes and MethodSemanticsAttributes * suggestion by steveharter * Moved remarks to summary. * Corrected case.
1 parent 9a412d5 commit b634e84

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

xml/System.Reflection/ManifestResourceAttributes.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
</ReturnValue>
5050
<MemberValue>2</MemberValue>
5151
<Docs>
52-
<summary>To be added.</summary>
52+
<summary>The resource is not exported from the assembly.</summary>
5353
</Docs>
5454
</Member>
5555
<Member MemberName="Public">
@@ -74,7 +74,7 @@
7474
</ReturnValue>
7575
<MemberValue>1</MemberValue>
7676
<Docs>
77-
<summary>To be added.</summary>
77+
<summary>The resource is exported from the assembly.</summary>
7878
</Docs>
7979
</Member>
8080
<Member MemberName="VisibilityMask">
@@ -99,7 +99,7 @@
9999
</ReturnValue>
100100
<MemberValue>7</MemberValue>
101101
<Docs>
102-
<summary>To be added.</summary>
102+
<summary>Masks just the visibility-related attributes.</summary>
103103
</Docs>
104104
</Member>
105105
</Members>

xml/System.Reflection/MethodSemanticsAttributes.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
</ReturnValue>
4848
<MemberValue>8</MemberValue>
4949
<Docs>
50-
<summary>To be added.</summary>
50+
<summary><para>Used to add a handler for an event. Corresponds to the <see langword="AddOn" /> flag in the Ecma 335 CLI specification.</para><para>CLS-compliant adders are named the with <see langword="add_" /> prefix.</para></summary>
5151
</Docs>
5252
</Member>
5353
<Member MemberName="Getter">
@@ -71,7 +71,7 @@
7171
</ReturnValue>
7272
<MemberValue>2</MemberValue>
7373
<Docs>
74-
<summary>To be added.</summary>
74+
<summary><para>Reads the value of the property.</para><para>CLS-compliant getters are named with `get_` prefix.</para></summary>
7575
</Docs>
7676
</Member>
7777
<Member MemberName="Other">
@@ -95,7 +95,7 @@
9595
</ReturnValue>
9696
<MemberValue>4</MemberValue>
9797
<Docs>
98-
<summary>To be added.</summary>
98+
<summary>Other method for a property (not a getter or setter) or an event (not an adder, remover, or raiser).</summary>
9999
</Docs>
100100
</Member>
101101
<Member MemberName="Raiser">
@@ -119,7 +119,7 @@
119119
</ReturnValue>
120120
<MemberValue>32</MemberValue>
121121
<Docs>
122-
<summary>To be added.</summary>
122+
<summary><para>Used to indicate that an event has occurred. Corresponds to the <see langword="Fire" /> flag in the Ecma 335 CLI specification.</para><para> CLS-compliant raisers are named with the <see langword="raise_" /> prefix.</para></summary>
123123
</Docs>
124124
</Member>
125125
<Member MemberName="Remover">
@@ -143,7 +143,7 @@
143143
</ReturnValue>
144144
<MemberValue>16</MemberValue>
145145
<Docs>
146-
<summary>To be added.</summary>
146+
<summary><para>Used to remove a handler for an event. Corresponds to the <see langword="RemoveOn" /> flag in the Ecma 335 CLI specification.</para><para>CLS-compliant removers are named with the <see langword="remove_" /> prefix.</para></summary>
147147
</Docs>
148148
</Member>
149149
<Member MemberName="Setter">
@@ -167,7 +167,7 @@
167167
</ReturnValue>
168168
<MemberValue>1</MemberValue>
169169
<Docs>
170-
<summary>To be added.</summary>
170+
<summary><para>Used to modify the value of the property.</para><para>CLS-compliant setters are named with the <see langword="set_" /> prefix.</para></summary>
171171
</Docs>
172172
</Member>
173173
</Members>

0 commit comments

Comments
 (0)