PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Visibility­Helper Class

VisibilityHelper Class

Provides methods that determines the visibility of classes, fields and methods.
Inheritance Hierarchy
System.Object
  PostSharp.Sdk.CodeModel.VisibilityHelper

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public static class VisibilityHelper

The VisibilityHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberIsExternallyVisible(IMember)
Determines whether a member is visible outside its assembly.
Public methodStatic memberIsExternallyVisible(IType)
Public methodStatic memberIsExternallyVisible(TypeDefDeclaration)
Determines whether a type is visible outside its assembly.
Public methodStatic memberIsPublic(FieldDefDeclaration)
Determines whether a field is visible outside its assembly.
Public methodStatic memberIsPublic(IMember)
Determines whether a member is visible outside its assembly.
Public methodStatic memberIsPublic(MethodDefDeclaration)
Determines whether a method is visible outside its assembly.
Public methodStatic memberIsPublic(TypeDefDeclaration)
Determines whether a type is visible outside its assembly.
Public methodStatic memberIsPublicOrInternal(MethodDefDeclaration)
Determines whether a method is visible outside class hierarchy.
Public methodStatic memberIsPublicOrInternal(TypeDefDeclaration)
Determines whether a type is visible outside its class hierarchy (derived and nested/declaring types).
Public methodStatic memberIsVisible
Determines whether a member is visible from a given scope.
See Also