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