4 references to IsTypeVisible
System.ServiceModel (4)
System\ServiceModel\Dispatcher\InvokerUtil.cs (4)
81
bool requiresMemberAccess = !
IsTypeVisible
(type) || ConstructorRequiresMemberAccess(constructor);
365
if (!genericType.IsGenericParameter && !
IsTypeVisible
(genericType))
374
return ctor != null && (!ctor.IsPublic || !
IsTypeVisible
(ctor.DeclaringType)) && ctor.Module != typeof(InvokerUtil).Module;
379
return method != null && (!method.IsPublic || !
IsTypeVisible
(method.DeclaringType)) && method.Module != typeof(InvokerUtil).Module;