public void ApplyChanges(byte[] metadata, byte[] il) { if (corModule.Is <ICorDebugModule2>()) // Is the debuggee .NET 2.0? { (corModule.CastTo <ICorDebugModule2>()).ApplyChanges((uint)metadata.Length, metadata, (uint)il.Length, il); } }