Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion xml/System.Diagnostics.Contracts/PureAttribute.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<format type="text/markdown"><![CDATA[
## Remarks
Methods and types that are marked with this attribute can be used in calls to <xref:System.Diagnostics.Contracts.Contract?displayProperty=nameWithType> methods. Pure methods do not make any visible state changes. This attribute is not enforced by the current analysis tools; you should use this attribute only if you are sure that the methods are pure.
Methods and types that are marked with this attribute can be used in calls to <xref:System.Diagnostics.Contracts.Contract?displayProperty=nameWithType> methods. Pure methods do not make any visible state changes. The [CA1806](/dotnet/fundamentals/code-analysis/quality-rules/ca1806) code analyzer checks for this attribute and emits a diagnostic when the return value of a pure method isn't used.
]]></format>
</remarks>
Expand Down