protected virtual object CreateCustomClassProxyInstance(Type type, IInterceptor interceptor, GeneratorContext context, params object[] argumentsForConstructor)
{
if (context.HasMixins)
{
ArrayList list = new ArrayList();
list.Add(interceptor);
list.Add(context.MixinsAsArray());
list.AddRange(argumentsForConstructor);
return(Activator.CreateInstance(type, list.ToArray()));
}
return(this.CreateClassProxyInstance(type, interceptor, argumentsForConstructor));
}