68 references to IsVisible
mscorlib (20)
system\delegateserializationholder.cs (2)
31
if (!method.IsPublic || (method.DeclaringType != null && !method.DeclaringType.
IsVisible
))
247
if ((d.Method != null && !d.Method.IsPublic) || (d.Method.DeclaringType != null && !d.Method.DeclaringType.
IsVisible
))
system\reflection\assembly.cs (2)
2816
if (!type.IsEnum || !type.
IsVisible
)
2828
if (!type.
IsVisible
)
system\reflection\emit\assemblybuilder.cs (2)
708
if (symWriter != null && !symWriter.
IsVisible
)
912
if (symWriter != null && !symWriter.
IsVisible
)
system\runtime\interopservices\marshal.cs (2)
1659
if (TypeObj != null && !TypeObj.
IsVisible
)
2481
if (t == null || !t.
IsVisible
)
system\runtime\interopservices\tceadaptergen\eventitfinfo.cs (2)
30
if (t != null && !t.
IsVisible
)
38
if (t != null && !t.
IsVisible
)
system\runtime\remoting\channelservices.cs (1)
634
if (!t.
IsVisible
)
system\runtime\remoting\objref.cs (1)
799
if (serverType != null && !serverType.
IsVisible
)
system\security\cryptography\cryptoconfig.cs (4)
545
if (!algorithm.
IsVisible
)
593
if (retvalType != null && !retvalType.
IsVisible
)
609
if (retvalType != null && !retvalType.
IsVisible
)
618
if (retvalType != null && !retvalType.
IsVisible
)
system\security\policy\policylevel.cs (1)
1301
if (type != null && !type.
IsVisible
)
system\type.cs (3)
982
return GetElementType().
IsVisible
;
1002
if (!t.
IsVisible
)
1598
if (!
IsVisible
)
System (7)
misc\SecurityUtils.cs (7)
111
if (!type.
IsVisible
) {
162
if (!type.
IsVisible
) {
188
if (!type.
IsVisible
) {
206
} else if (!(type != null && type.
IsVisible
&& field.IsPublic)) {
223
} else if (!(type.
IsVisible
&& method.IsPublic && GenericArgumentsAreVisible(method))) {
236
if ((type != null) && !(type.
IsVisible
&& ctor.IsPublic)) {
246
if (!type.
IsVisible
) {
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemWrapper.cs (2)
362
isInvalid |= !toolType.
IsVisible
;
376
if (!toolType.
IsVisible
)
System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (1)
582
where (type.IsPublic && type.
IsVisible
&& (typeFilter == null || typeFilter(type)))
System.ComponentModel.DataAnnotations (2)
DataAnnotations\CustomValidationAttribute.cs (1)
207
if (!this._validatorType.
IsVisible
) {
DataAnnotations\LocalizableString.cs (1)
120
if (!this._resourceType.
IsVisible
|| property == null || property.PropertyType != typeof(string)) {
System.Core (2)
Microsoft\Scripting\Actions\DynamicObject.cs (1)
426
while (!t.
IsVisible
) {
Microsoft\Scripting\Compiler\ILGen.cs (1)
529
return t is TypeBuilder || t.IsGenericParameter || t.
IsVisible
;
System.Data (3)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemWrapper.cs (2)
362
isInvalid |= !toolType.
IsVisible
;
376
if (!toolType.
IsVisible
)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (1)
582
where (type.IsPublic && type.
IsVisible
&& (typeFilter == null || typeFilter(type)))
System.Data.Linq (7)
parent\parent\misc\SecurityUtils.cs (7)
111
if (!type.
IsVisible
) {
162
if (!type.
IsVisible
) {
188
if (!type.
IsVisible
) {
206
} else if (!(type != null && type.
IsVisible
&& field.IsPublic)) {
223
} else if (!(type.
IsVisible
&& method.IsPublic && GenericArgumentsAreVisible(method))) {
236
if ((type != null) && !(type.
IsVisible
&& ctor.IsPublic)) {
246
if (!type.
IsVisible
) {
System.Data.Services (4)
System\Data\Services\Providers\DataServiceProviderWrapper.cs (1)
927
Debug.Assert(typeof(T).
IsVisible
, "Trying to ask the service for non-public interface.");
System\Data\Services\Providers\ReflectionServiceProvider.cs (3)
410
if (!type.
IsVisible
|| type.IsArray || type.IsPointer || type.IsCOMObject || type.IsInterface ||
503
if (!type.
IsVisible
)
877
if (!type.
IsVisible
|| HasGenericParameters(type))
System.Data.Services.Client (1)
System\Data\Services\Client\ClientType.cs (1)
697
if ((null != type) && type.
IsVisible
&& (wireClassName == type.Name) && userType.IsAssignableFrom(type))
System.Runtime.Serialization (2)
System\Runtime\Serialization\ClassDataContract.cs (2)
400
return type.
IsVisible
;
404
return (type.
IsVisible
&&
System.ServiceModel (1)
System\ServiceModel\Dispatcher\InvokerUtil.cs (1)
360
if (!t.
IsVisible
)
System.Web (8)
parent\DataAnnotations\DataAnnotations\LocalizableString.cs (1)
120
if (!this._resourceType.
IsVisible
|| property == null || property.PropertyType != typeof(string)) {
parent\parent\parent\Misc\SecurityUtils.cs (7)
111
if (!type.
IsVisible
) {
162
if (!type.
IsVisible
) {
188
if (!type.
IsVisible
) {
206
} else if (!(type != null && type.
IsVisible
&& field.IsPublic)) {
223
} else if (!(type.
IsVisible
&& method.IsPublic && GenericArgumentsAreVisible(method))) {
236
if ((type != null) && !(type.
IsVisible
&& ctor.IsPublic)) {
246
if (!type.
IsVisible
) {
System.Windows.Forms (7)
misc\SecurityUtils.cs (7)
111
if (!type.
IsVisible
) {
162
if (!type.
IsVisible
) {
188
if (!type.
IsVisible
) {
206
} else if (!(type != null && type.
IsVisible
&& field.IsPublic)) {
223
} else if (!(type.
IsVisible
&& method.IsPublic && GenericArgumentsAreVisible(method))) {
236
if ((type != null) && !(type.
IsVisible
&& ctor.IsPublic)) {
246
if (!type.
IsVisible
) {
System.Xml (1)
System\Xml\Xslt\XslCompiledTransform.cs (1)
317
if (executeMethod.DeclaringType != null && !executeMethod.DeclaringType.
IsVisible
)