빈 try 블록으로 try {} finally {}를 사용하는 이유는 무엇입니까?
나는 눈치 System.Threading.TimerBase.Dispose()방법은이 try{} finally{}블록을하지만이 try{}비어 있습니다. try{} finally{}비어있는 상태 에서 사용할 때 어떤 가치가 try있습니까? http://labs.developerfusion.co.uk/SourceViewer/browse.aspx?assembly=SSCLI&namespace=System.Threading&type=TimerBase [ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)] internal bool Dispose(WaitHandle notifyObject) { bool status = false; bool bLockTaken = false; RuntimeHelpers.PrepareConstrainedRegions(); try { } finally { do { if (Interlocked.CompareExchange(ref m_lock, 1, 0) == 0) { bLockTaken = …