24 references to AccessCheck
Microsoft.CodeAnalysis.VisualBasic (24)
Binding\Binder_Attributes.vb (1)
488
AccessCheck
.GetAccessibilityForErrorMessage(setMethod, Me.Compilation.Assembly)))
Binding\Binder_Constraints.vb (1)
92
AccessCheck
.VerifyAccessExposureForMemberType(containingSymbol, syntax, constraintType, diagnostics)
Binding\Binder_Lookup.vb (3)
257
AccessCheck
.GetAccessibilityForErrorMessage(sym, Me.Compilation.Assembly))
262
AccessCheck
.GetAccessibilityForErrorMessage(sym, sym.ContainingAssembly))
1215
AccessCheck
.IsSymbolAccessible(containingType, binder.Compilation.Assembly, useSiteInfo)) Then
Binding\Binder_Utils.vb (1)
1111
AccessCheck
.VerifyAccessExposureForParameterType(container, newParam.Name,
Binding\NamedTypeBinder.vb (1)
157
AccessCheck
.CheckSymbolAccessibility(sym, _typeSymbol, accessThroughType, useSiteInfo, basesBeingResolved))
Binding\SourceModuleBinder.vb (1)
38
AccessCheck
.CheckSymbolAccessibility(sym, _sourceModule.ContainingSourceAssembly, useSiteInfo, basesBeingResolved)) ' accessThroughType doesn't matter at assembly level.
CodeGen\EmitConversion.vb (1)
269
If
AccessCheck
.IsSymbolAccessible(constr, _method.ContainingType, typeTo, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded) Then
Compilation\VisualBasicCompilation.vb (2)
2023
AccessCheck
.IsSymbolAccessible(symbol0, DirectCast(within0, AssemblySymbol), useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded),
2024
AccessCheck
.IsSymbolAccessible(symbol0, DirectCast(within0, NamedTypeSymbol), throughType0, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded))
Semantics\SemanticFacts.vb (2)
50
Return
AccessCheck
.IsSymbolAccessible(symbol, within, throughTypeOpt, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded)
70
Return
AccessCheck
.IsSymbolAccessible(symbol, within, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded)
Symbols\NamespaceSymbol.vb (1)
239
Return (containingAssembly IsNot Nothing) AndAlso
AccessCheck
.HasFriendAccessTo(fromAssembly, containingAssembly)
Symbols\Source\OverrideHidingHelper.vb (3)
354
If
AccessCheck
.IsSymbolAccessible(hiddenMember, container, Nothing, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded) AndAlso
745
Dim accessible =
AccessCheck
.IsSymbolAccessible(sym.OriginalDefinition, overridingContainingType.OriginalDefinition, Nothing, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded)
984
If Not
AccessCheck
.IsSymbolAccessible(overriddenAccessor.OriginalDefinition, overridingAccessor.ContainingType, Nothing, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded) Then
Symbols\Source\SourceEventSymbol.vb (1)
245
AccessCheck
.VerifyAccessExposureForMemberType(Me, syntax.Identifier, type, diagnostics, isDelegateFromImplements)
Symbols\Source\SourceMemberFieldSymbol.vb (2)
148
AccessCheck
.VerifyAccessExposureForMemberType(Me, errorLocation, varType, diagBag)
242
AccessCheck
.VerifyAccessExposureForMemberType(propertySymbol, errorLocation, varType, diagnostics)
Symbols\Source\SourceMethodSymbol.vb (1)
2342
AccessCheck
.VerifyAccessExposureForMemberType(Me, errorLocation, retType, diagBag)
Symbols\Source\SourceNamedTypeSymbol.vb (2)
1143
AccessCheck
.VerifyAccessExposureOfBaseClassOrInterface(Me, baseClassSyntax, baseClassType, diagBag)
1194
AccessCheck
.VerifyAccessExposureOfBaseClassOrInterface(Me, baseClassSyntax, typeSymbol, diagBag)
Symbols\Source\SourcePropertySymbol.vb (1)
378
AccessCheck
.VerifyAccessExposureForMemberType(Me, errorLocation, type, diagnostics)