
Inline adoc files when they are included exactly once. Also fix language tags because this inlining gives us better information on what language the code is written in.
34 lines
744 B
Plaintext
34 lines
744 B
Plaintext
== Why is this an issue?
|
|
|
|
``++GC.SuppressFinalize++`` requests that the system not call the finalizer for the specified object. This should only be done when implementing ``++Dispose++`` as part of the https://docs.microsoft.com/en-us/dotnet/standard/garbage-collection/implementing-dispose[Dispose Pattern].
|
|
|
|
This rule raises an issue when ``++GC.SuppressFinalize++`` is called outside that pattern.
|
|
|
|
|
|
|
|
ifdef::env-github,rspecator-view[]
|
|
|
|
'''
|
|
== Implementation Specification
|
|
(visible only on this page)
|
|
|
|
=== Message
|
|
|
|
Remove this call to "GC.SuppressFinalize".
|
|
|
|
|
|
=== Highlighting
|
|
|
|
GC.SuppressFinalize call
|
|
|
|
|
|
'''
|
|
== Comments And Links
|
|
(visible only on this page)
|
|
|
|
=== relates to: S3234
|
|
|
|
=== relates to: S3881
|
|
|
|
endif::env-github,rspecator-view[]
|