Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-326703: Highlight code smell weakReference.IsAlive == true

$
0
0
Reporter Sergey Kuks (coox) Sergey Kuks (coox)
Created Jul 16, 2012 9:03:33 PM
Updated Apr 24, 2018 11:36:05 AM
Subsystem Code Analysis
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Feature
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
http://www.rsdn.ru/forum/jetbrains/4820798.1.aspx
Because an object could potentially be reclaimed for garbage collection immediately after the IsAlive property returns true, using this property is not recommended unless you are testing only for a false return value.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>