private void GetMethodDebugSymbols(Method/*!*/ method, uint methodToken) //^ requires this.debugReader != null; { ISymUnmanagedMethod methodInfo = null; try { try { this.debugReader.GetMethod(methodToken, ref methodInfo); method.RecordSequencePoints(methodInfo); } catch (COMException) { } catch (InvalidCastException) { } catch (System.Runtime.InteropServices.InvalidComObjectException) { } } finally { if (methodInfo != null) Marshal.ReleaseComObject(methodInfo); } }