ViIvanov

Bug in a Lazy<>::Value getter

Oct 28th, 2013
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.16 KB | None | 0 0
  1. // From a Lazy<>::Value getter
  2.  
  3. LazyInternalExceptionHolder exc = m_boxed as LazyInternalExceptionHolder;
  4. Contract.Assert(m_boxed != null);
  5. exc.m_edi.Throw();
Advertisement
Add Comment
Please, Sign In to add comment