Skip to content

Commit c0c4183

Browse files
authored
Note that DeserializingResourceReader should not be used with untrusted data (#12198)
* Note that DeserializingResourceReader should not be used with untrusted data * Remove errant period after include
1 parent e33c34c commit c0c4183

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

xml/System.Resources.Extensions/DeserializingResourceReader.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,15 @@
3737
</Interfaces>
3838
<Docs>
3939
<summary>Provides APIs similar to <see cref="T:System.Resources.ResourceReader" /> that can read and deserialize resource data written by either <see cref="T:System.Resources.ResourceWriter" /> or <see cref="T:System.Resources.Extensions.PreserializedResourceWriter" />.</summary>
40-
<remarks>To be added.</remarks>
40+
<remarks>
41+
<format type="text/markdown"><![CDATA[
42+
43+
## Remarks
44+
45+
[!INCLUDE [untrusted-data-instance-note](~/includes/untrusted-data-instance-note.md)]
46+
47+
]]></format>
48+
</remarks>
4149
</Docs>
4250
<Members>
4351
<Member MemberName=".ctor">

xml/System.Resources/ResourceReader.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
108108
## Remarks
109109
110-
[!INCLUDE [untrusted-data-instance-note](~/includes/untrusted-data-instance-note.md)].
110+
[!INCLUDE [untrusted-data-instance-note](~/includes/untrusted-data-instance-note.md)]
111111
112112
]]></format>
113113
</remarks>

0 commit comments

Comments
 (0)