Summary: - Align C# implementation with Java JNI implementation - AssertNativeInstance - is this instance disposed? - does this instance have native instance pointer? - Align Dispose and destructor with Dispose pattern - https://msdn.microsoft.com/en-us/library/fs2xkftw(v=vs.110).aspx if (disposing) { Free maanged objects here } Free unmanaged objects here disposed = true; Reviewed By: emilsjolander Differential Revision: D3977015 fbshipit-source-id: 023cf5b15aacfada14a85c321576aa81d7f95125