Skip to content

Commit 7d8880e

Browse files
Update RuntimeHelpers.xml (dotnet#6772)
1 parent 550a26a commit 7d8880e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

xml/System.Runtime.CompilerServices/RuntimeHelpers.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1228,13 +1228,14 @@
12281228
</Parameters>
12291229
<Docs>
12301230
<param name="module">A handle that specifies the module constructor method to run.</param>
1231-
<summary>Runs a specified module constructor method.</summary>
1231+
<summary>Ensures a specified module constructor method has run by the time this method returns.</summary>
12321232
<remarks>
12331233
<format type="text/markdown"><![CDATA[
12341234
12351235
## Remarks
1236-
This method is used by compilers.
1237-
1236+
This method is used by compilers.
1237+
1238+
The module constructor will not be run more than once, even if this method is called multiple times.
12381239
]]></format>
12391240
</remarks>
12401241
<exception cref="T:System.TypeInitializationException">The module constructor throws an exception.</exception>

0 commit comments

Comments
 (0)