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