public void GetHashCode_DifferentOptions_Hook() { IProxyGenerationHook hook = new GenerationHookTestCase.LogHook(typeof(object), true); _options1.Hook = hook; Assert.AreNotEqual(_options1.GetHashCode(), _options2.GetHashCode()); }
public void Equals_DifferentOptions_Hook() { IProxyGenerationHook hook = new GenerationHookTestCase.LogHook(typeof(object), true); _options1.Hook = hook; Assert.AreNotEqual(_options1, _options2); }
public void GetHashCode_DifferentOptions_Hook() { IProxyGenerationHook hook = new GenerationHookTestCase.LogHook(typeof (object), true); _options1.Hook = hook; Assert.AreNotEqual(_options1.GetHashCode(), _options2.GetHashCode()); }