protected virtual IObjectRefProxy TryCreateProxy(Type interfaceType, ObjectRefProxyOptions proxyOptions) { if (!typeof(IObjectRefProxy).IsAssignableFrom(interfaceType) && interfaceType.IsAssignableFrom(base.GetType())) { return(ObjectRefProxy.Create(interfaceType, this, proxyOptions)); } return(null); }