示例#1
0
        /// <summary>
        /// Helper method for verifying there are no memory leaks from unmanaged allocations
        /// </summary>
        public void AssertAllHandlesReleased()
        {
            _memoryHelper.AssertAllHandlesReleased();

            foreach (MockTypeInfo typeInfo in _containedTypeInfos)
            {
                typeInfo.AssertAllHandlesReleased();
            }
        }
示例#2
0
 /// <summary>
 /// Helper method for verifying there are no memory leaks
 /// </summary>
 public void AssertAllHandlesReleased()
 {
     _memoryHelper.AssertAllHandlesReleased();
 }