49 references to AccessCheckResult
Microsoft.CodeAnalysis.VisualBasic (49)
Binding\BackstopBinder.vb (1)
34Optional basesBeingResolved As BasesBeingResolved = Nothing) As AccessCheckResult
Binding\BasesBeingResolvedBinder.vb (1)
32Optional basesBeingResolved As BasesBeingResolved = Nothing) As AccessCheckResult
Binding\Binder.vb (2)
293Optional basesBeingResolved As BasesBeingResolved = Nothing) As AccessCheckResult 306Return CheckAccessibility(sym, useSiteInfo, accessThroughType, basesBeingResolved) = AccessCheckResult.Accessible
Binding\Binder_Expressions.vb (1)
3543If CheckAccessibility(memberType, useSiteInfo, accessThroughType:=Nothing) <> AccessCheckResult.Accessible Then
Binding\Binder_Lookup.vb (1)
225If accessCheckResult <> VisualBasic.AccessCheckResult.Accessible Then
Binding\Binder_ObjectInitializer.vb (1)
258Dim isInAccessible As Boolean = (Me.CheckAccessibility(namedCoClass, useSiteInfo) <> AccessCheckResult.Accessible)
Binding\IgnoreAccessibilityBinder.vb (2)
20Public Overrides Function CheckAccessibility(sym As Symbol, <[In]> <Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol), Optional accessThroughType As TypeSymbol = Nothing, Optional basesBeingResolved As BasesBeingResolved = Nothing) As AccessCheckResult 21Return AccessCheckResult.Accessible
Binding\NamedTypeBinder.vb (2)
154Optional basesBeingResolved As BasesBeingResolved = Nothing) As AccessCheckResult 156AccessCheckResult.Accessible,
Binding\SourceModuleBinder.vb (2)
35Optional basesBeingResolved As BasesBeingResolved = Nothing) As AccessCheckResult 37AccessCheckResult.Accessible,
Semantics\AccessCheck.vb (36)
45Return CheckSymbolAccessibilityCore(symbol, within, Nothing, basesBeingResolved, useSiteInfo) = AccessCheckResult.Accessible 54Optional basesBeingResolved As BasesBeingResolved = Nothing) As AccessCheckResult 67Return CheckSymbolAccessibilityCore(symbol, within, throughTypeOpt, basesBeingResolved, useSiteInfo) = AccessCheckResult.Accessible 79Optional basesBeingResolved As BasesBeingResolved = Nothing) As AccessCheckResult 94<[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As AccessCheckResult 114Return AccessCheckResult.Accessible 119Return AccessCheckResult.Accessible 143<[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As AccessCheckResult 156If result <> AccessCheckResult.Accessible Then 174Private Shared Function CheckNonNestedTypeAccessibility(assembly As AssemblySymbol, declaredAccessibility As Accessibility, within As Symbol) As AccessCheckResult 183Return AccessCheckResult.Accessible 187Return AccessCheckResult.Accessible 192Return If(HasFriendAccessTo(withinAssembly, assembly), AccessCheckResult.Accessible, AccessCheckResult.Inaccessible) 206<[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As AccessCheckResult 216If result <> AccessCheckResult.Accessible Then 222Return AccessCheckResult.Accessible 225Return AccessCheckResult.Accessible 233Return AccessCheckResult.Accessible 238AccessCheckResult.Inaccessible, 244Return If(HasFriendAccessTo(withinAssembly, containingType.ContainingAssembly), AccessCheckResult.Accessible, AccessCheckResult.Inaccessible) 250Return AccessCheckResult.Inaccessible 260Return AccessCheckResult.Accessible 281<[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As AccessCheckResult 288Return AccessCheckResult.Accessible 294Return AccessCheckResult.Inaccessible 301Return AccessCheckResult.Accessible 323Dim result = AccessCheckResult.Inaccessible 355Return AccessCheckResult.Accessible 358result = AccessCheckResult.InaccessibleViaThroughType 369Private Shared Function CheckPrivateSymbolAccessibility(within As Symbol, originalContainingType As NamedTypeSymbol) As AccessCheckResult 375Return AccessCheckResult.Inaccessible 380Return If(IsNestedWithinOriginalContainingType(withinType, originalContainingType), AccessCheckResult.Accessible, AccessCheckResult.Inaccessible) 895useSiteInfo) <> AccessCheckResult.Accessible Then