Skip to content

Commit 2999fc4

Browse files
authored
Add note that SafeCanonicalizationMethods is static-like. (dotnet#6712)
1 parent 45d1caa commit 2999fc4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

xml/System.Security.Cryptography.Xml/SignedXml.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1324,6 +1324,9 @@ The main parts of this structure are:
13241324
## Remarks
13251325
Canonicalization methods convert an XML document to its canonical form. For more information about canonical XML, see [Canonical XML](https://www.w3.org/TR/xml-c14n) on the W3C website.
13261326
1327+
> [!NOTE]
1328+
> <xref:System.Security.Cryptography.Xml.SignedXml.SafeCanonicalizationMethods%2A> behaves like a static property. Changes from one instance of <xref:System.Security.Cryptography.Xml.SignedXml> will be observed in other instances. Modifying the collection is not a thread-safe operation.
1329+
13271330
]]></format>
13281331
</remarks>
13291332
</Docs>

0 commit comments

Comments
 (0)