2 types derived from AssemblySymbol
Microsoft.CodeAnalysis.VisualBasic (2)
Symbols\MissingAssemblySymbol.vb (1)
22Inherits AssemblySymbol
Symbols\NonMissingAssemblySymbol.vb (1)
22Inherits AssemblySymbol
427 references to AssemblySymbol
Microsoft.CodeAnalysis.VisualBasic (427)
Emit\NamedTypeSymbolAdapter.vb (1)
943base.ImplementsInterface(sym, EqualsIgnoringComparer.InstanceCLRSignatureCompare, CompoundUseSiteInfo(Of AssemblySymbol).Discarded) AndAlso
Emit\SynthesizedNamespaceSymbol.vb (1)
26Public Overrides ReadOnly Property ContainingAssembly As AssemblySymbol
Symbols\AnonymousTypes\AnonymousType_SymbolCollection.vb (1)
66Dim useSiteInfo As UseSiteInfo(Of AssemblySymbol) = symbol.GetUseSiteInfo()
Symbols\ArrayTypeSymbol.vb (8)
33Friend Shared Function CreateVBArray(elementType As TypeSymbol, customModifiers As ImmutableArray(Of CustomModifier), rank As Integer, declaringAssembly As AssemblySymbol) As ArrayTypeSymbol 47declaringAssembly As AssemblySymbol 71Friend Shared Function CreateSZArray(elementType As TypeSymbol, customModifiers As ImmutableArray(Of CustomModifier), declaringAssembly As AssemblySymbol) As ArrayTypeSymbol 78Private Shared Function GetSZArrayInterfaces(elementType As TypeSymbol, declaringAssembly As AssemblySymbol) As ImmutableArray(Of NamedTypeSymbol) 367Friend Overrides Function GetManagedKind(ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ManagedKind 373Friend Overrides Function GetUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 375Dim elementUseSiteInfo As UseSiteInfo(Of AssemblySymbol) = DeriveUseSiteInfoFromType(Me.ElementType) 382Dim modifiersUseSiteInfo As UseSiteInfo(Of AssemblySymbol) = DeriveUseSiteInfoFromCustomModifiers(Me.CustomModifiers)
Symbols\AssemblySymbol.vb (19)
38Private _corLibrary As AssemblySymbol 46Friend ReadOnly Property CorLibrary As AssemblySymbol 63Friend Sub SetCorLibrary(corLibrary As AssemblySymbol) 174Public NotOverridable Overrides ReadOnly Property ContainingAssembly As AssemblySymbol 264Friend MustOverride Function LookupDeclaredOrForwardedTopLevelMetadataType(ByRef emittedName As MetadataTypeName, visitedAssemblies As ConsList(Of AssemblySymbol)) As NamedTypeSymbol 290Friend Overridable Function TryLookupForwardedMetadataTypeWithCycleDetection(ByRef emittedName As MetadataTypeName, visitedAssemblies As ConsList(Of AssemblySymbol), ignoreCase As Boolean) As NamedTypeSymbol 299Friend Function CreateMultipleForwardingErrorTypeSymbol(ByRef emittedName As MetadataTypeName, forwardingModule As ModuleSymbol, destination1 As AssemblySymbol, destination2 As AssemblySymbol) As ErrorTypeSymbol 438Friend MustOverride Function GetNoPiaResolutionAssemblies() As ImmutableArray(Of AssemblySymbol) 439Friend MustOverride Sub SetNoPiaResolutionAssemblies(assemblies As ImmutableArray(Of AssemblySymbol)) 446Friend MustOverride Function GetLinkedReferencedAssemblies() As ImmutableArray(Of AssemblySymbol) 447Friend MustOverride Sub SetLinkedReferencedAssemblies(assemblies As ImmutableArray(Of AssemblySymbol)) 476Friend MustOverride Function AreInternalsVisibleToThisAssembly(other As AssemblySymbol) As Boolean 548Friend Function GetTypeByMetadataName(metadataName As String, includeReferences As Boolean, isWellKnownType As Boolean, <Out> ByRef conflicts As (AssemblySymbol, AssemblySymbol), 607Friend Function GetTopLevelTypeByMetadataName(ByRef metadataName As MetadataTypeName, includeReferences As Boolean, isWellKnownType As Boolean, <Out> ByRef conflicts As (AssemblySymbol, AssemblySymbol), 647Dim references As ImmutableArray(Of AssemblySymbol) = Me.Modules(0).GetReferencedAssemblySymbols() 812Return AreInternalsVisibleToThisAssembly(DirectCast(other, AssemblySymbol))
Symbols\Attributes\AttributeData.vb (2)
182_lazyIsSecurityAttribute = Me.AttributeClass.IsOrDerivedFromWellKnownClass(WellKnownType.System_Security_Permissions_SecurityAttribute, comp, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded).ToThreeState() 235Dim useSiteInfo As New CompoundUseSiteInfo(Of AssemblySymbol)(diagnostics, compilation.Assembly)
Symbols\ConstraintsHelper.vb (27)
24Public Sub New(typeParameter As TypeParameterSymbol, useSiteInfo As UseSiteInfo(Of AssemblySymbol)) 30Me.New(typeParameter, New UseSiteInfo(Of AssemblySymbol)(diagnostic)) 40Public ReadOnly UseSiteInfo As UseSiteInfo(Of AssemblySymbol) 311Dim useSiteInfo As New CompoundUseSiteInfo(Of AssemblySymbol)(typeParameter.ContainingAssembly) 389template As CompoundUseSiteInfo(Of AssemblySymbol)) 416template As CompoundUseSiteInfo(Of AssemblySymbol)) 431Public template As CompoundUseSiteInfo(Of AssemblySymbol) 451template As CompoundUseSiteInfo(Of AssemblySymbol)) 500template As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean 531template As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean 550template As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean 577template As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean 589template As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean 599template As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean 621template As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean 630Dim useSiteInfo As New CompoundUseSiteInfo(Of AssemblySymbol)(template) 650<[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean 720useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol), 739New UseSiteInfo(Of AssemblySymbol)(useSiteInfo.Dependencies.Single()), 740New UseSiteInfo(Of AssemblySymbol)(useSiteInfo.Dependencies.ToImmutableHashSet())))) 762Public Function GetNonInterfaceConstraint(typeParameter As TypeParameterSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As TypeSymbol 829Public Function GetClassConstraint(typeParameter As TypeParameterSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As NamedTypeSymbol 921<[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol) 1014<[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean 1045Private Function HasConflict(constraint1 As TypeParameterConstraint, constraint2 As TypeParameterConstraint, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean 1088Private Function HasValueTypeConstraintConflict(constraint As TypeParameterConstraint, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean 1121Private Function IsNullableTypeOrTypeParameter(type As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean
Symbols\ErrorTypeSymbol.vb (2)
31Friend Overrides Function GetUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 33Return New UseSiteInfo(Of AssemblySymbol)(Me.ErrorInfo)
Symbols\EventSymbol.vb (8)
186Friend Overrides Function GetUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 188Return New UseSiteInfo(Of AssemblySymbol)(PrimaryDependency) 194Friend Function CalculateUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 197Dim useSiteInfo = New UseSiteInfo(Of AssemblySymbol)(PrimaryDependency) 209useSiteInfo = New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnreferencedAssemblyEvent3, errorInfo.Arguments(0), Me)) 217useSiteInfo = New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnreferencedModuleEvent3, errorInfo.Arguments(0), Me)) 221useSiteInfo = New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedType1, CustomSymbolDisplayFormatter.ShortErrorName(Me))) 233useSiteInfo = New UseSiteInfo(Of AssemblySymbol)(errorInfo)
Symbols\ExtendedErrorTypeSymbol.vb (2)
126Friend Overrides Function GetUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 128Return New UseSiteInfo(Of AssemblySymbol)(Me.ErrorInfo)
Symbols\FieldSymbol.vb (7)
272Friend Overrides Function GetUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 274Return New UseSiteInfo(Of AssemblySymbol)(PrimaryDependency) 280Friend Function CalculateUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 285Dim useSiteInfo As UseSiteInfo(Of AssemblySymbol) = New UseSiteInfo(Of AssemblySymbol)(PrimaryDependency) 292Dim modifiersUseSiteInfo As UseSiteInfo(Of AssemblySymbol) = DeriveUseSiteInfoFromCustomModifiers(Me.CustomModifiers) 308useSiteInfo = New UseSiteInfo(Of AssemblySymbol)(errorInfo)
Symbols\InstanceTypeSymbol.vb (3)
160Protected Function CalculateUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 162Dim useSiteInfo = New UseSiteInfo(Of AssemblySymbol)(PrimaryDependency).AdjustDiagnosticInfo(DeriveUseSiteErrorInfoFromBase()) 174useSiteInfo = New UseSiteInfo(Of AssemblySymbol)(errorInfo)
Symbols\MergedNamespaceSymbol.vb (8)
51Public Shared Function CreateGlobalNamespace(extent As AssemblySymbol) As NamespaceSymbol 57Private Shared Iterator Function ConstituentGlobalNamespaces(extent As AssemblySymbol) As IEnumerable(Of NamespaceSymbol) 72Private Shared Function Create(extent As AssemblySymbol, containingNamespace As AssemblyMergedNamespaceSymbol, namespacesToMerge As ImmutableArray(Of NamespaceSymbol)) As NamespaceSymbol 90Friend Shared Function CreateForTestPurposes(extent As AssemblySymbol, namespacesToMerge As IEnumerable(Of NamespaceSymbol)) As NamespaceSymbol 331Public Overrides ReadOnly Property ContainingAssembly As AssemblySymbol 403Private ReadOnly _assembly As AssemblySymbol 405Public Sub New(assembly As AssemblySymbol, containingNamespace As AssemblyMergedNamespaceSymbol, namespacesToMerge As ImmutableArray(Of NamespaceSymbol)) 488Friend Overrides Function ContainsTypesAccessibleFrom(fromAssembly As AssemblySymbol) As Boolean
Symbols\Metadata\PE\MetadataDecoder.vb (6)
130Dim assembly As AssemblySymbol = ModuleSymbol.GetReferencedAssemblySymbol(referencedAssemblyIndex) 192Public Shared Function IsOrClosedOverATypeFromAssemblies(this As TypeSymbol, assemblies As ImmutableArray(Of AssemblySymbol)) As Boolean 205Dim containingAssembly As AssemblySymbol = symbol.OriginalDefinition.ContainingAssembly 294referringAssembly As AssemblySymbol 318For Each assembly As AssemblySymbol In referringAssembly.GetNoPiaResolutionAssemblies() 468If scope IsNot Nothing AndAlso Not TypeSymbol.Equals(targetTypeSymbol, scope, TypeCompareKind.ConsiderEverything) AndAlso Not targetTypeSymbol.IsBaseTypeOrInterfaceOf(scope, CompoundUseSiteInfo(Of AssemblySymbol).Discarded) Then
Symbols\Metadata\PE\PEAssemblySymbol.vb (12)
50Private _noPiaResolutionAssemblies As ImmutableArray(Of AssemblySymbol) 58Private _linkedReferencedAssemblies As ImmutableArray(Of AssemblySymbol) 119Friend Overrides Function AreInternalsVisibleToThisAssembly(potentialGiverOfAccess As AssemblySymbol) As Boolean 186Friend Function LookupAssembliesForForwardedMetadataType(ByRef emittedName As MetadataTypeName, ignoreCase As Boolean, <Out> ByRef matchedName As String) As (FirstSymbol As AssemblySymbol, SecondSymbol As AssemblySymbol) 198Friend Overrides Function TryLookupForwardedMetadataTypeWithCycleDetection(ByRef emittedName As MetadataTypeName, visitedAssemblies As ConsList(Of AssemblySymbol), ignoreCase As Boolean) As NamedTypeSymbol 213visitedAssemblies = New ConsList(Of AssemblySymbol)(Me, If(visitedAssemblies, ConsList(Of AssemblySymbol).Empty)) 226Friend Overrides Function GetNoPiaResolutionAssemblies() As ImmutableArray(Of AssemblySymbol) 230Friend Overrides Sub SetNoPiaResolutionAssemblies(assemblies As ImmutableArray(Of AssemblySymbol)) 234Friend Overrides Sub SetLinkedReferencedAssemblies(assemblies As ImmutableArray(Of AssemblySymbol)) 238Friend Overrides Function GetLinkedReferencedAssemblies() As ImmutableArray(Of AssemblySymbol)
Symbols\Metadata\PE\PEEventSymbol.vb (5)
39Private _lazyCachedUseSiteInfo As CachedUseSiteInfo(Of AssemblySymbol) = CachedUseSiteInfo(Of AssemblySymbol).Uninitialized ' Indicates unknown state. 293Friend Overrides Function GetUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 294Dim primaryDependency As AssemblySymbol = Me.PrimaryDependency 298Dim useSiteInfo As UseSiteInfo(Of AssemblySymbol) = CalculateUseSiteInfo()
Symbols\Metadata\PE\PEFieldSymbol.vb (7)
45Private _lazyCachedUseSiteInfo As CachedUseSiteInfo(Of AssemblySymbol) = CachedUseSiteInfo(Of AssemblySymbol).Uninitialized ' Indicates unknown state. 417Friend Overrides Function GetUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 418Dim primaryDependency As AssemblySymbol = Me.PrimaryDependency 426fieldUseSiteInfo = New UseSiteInfo(Of AssemblySymbol)(errorInfo) 437fieldUseSiteInfo = New UseSiteInfo(Of AssemblySymbol)(New DiagnosticInfo(MessageProvider.Instance, 450Private Function DeriveCompilerFeatureRequiredDiagnostic(ByRef result As UseSiteInfo(Of AssemblySymbol)) As DiagnosticInfo
Symbols\Metadata\PE\PEGlobalNamespaceSymbol.vb (1)
52Public Overrides ReadOnly Property ContainingAssembly As AssemblySymbol
Symbols\Metadata\PE\PEMethodSymbol.vb (10)
223Public _lazyCachedUseSiteInfo As CachedUseSiteInfo(Of AssemblySymbol) 299InitializeUseSiteInfo(New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedMethod1, CustomSymbolDisplayFormatter.ShortErrorName(Me)))) 1072InitializeUseSiteInfo(New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedMethod1, CustomSymbolDisplayFormatter.ShortErrorName(Me)))) 1096InitializeUseSiteInfo(New UseSiteInfo(Of AssemblySymbol)(errorInfo)) 1206Friend Overrides Function GetUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 1208Dim useSiteInfo As UseSiteInfo(Of AssemblySymbol) = CalculateUseSiteInfo() 1220Private Function GetCachedUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 1221Return If(_uncommonFields?._lazyCachedUseSiteInfo, New CachedUseSiteInfo(Of AssemblySymbol)()).ToUseSiteInfo(PrimaryDependency) 1281Private Function InitializeUseSiteInfo(useSiteInfo As UseSiteInfo(Of AssemblySymbol)) As UseSiteInfo(Of AssemblySymbol)
Symbols\Metadata\PE\PEModuleSymbol.vb (9)
28Private ReadOnly _assemblySymbol As AssemblySymbol 87Me.New(DirectCast(assemblySymbol, AssemblySymbol), [module], importOptions, ordinal) 92Me.New(DirectCast(assemblySymbol, AssemblySymbol), [module], importOptions, ordinal) 97Me.New(DirectCast(assemblySymbol, AssemblySymbol), [module], importOptions, ordinal) 101Private Sub New(assemblySymbol As AssemblySymbol, [module] As PEModule, importOptions As MetadataImportOptions, ordinal As Integer) 266Public Overrides ReadOnly Property ContainingAssembly As AssemblySymbol 357For Each assembly As AssemblySymbol In Me.GetReferencedAssemblySymbols() 458Friend Function GetAssembliesForForwardedType(ByRef fullName As MetadataTypeName, ignoreCase As Boolean, <Out> ByRef matchedName As String) As (FirstSymbol As AssemblySymbol, SecondSymbol As AssemblySymbol)
Symbols\Metadata\PE\PENamedTypeSymbol.vb (8)
79Private _lazyCachedUseSiteInfo As CachedUseSiteInfo(Of AssemblySymbol) = CachedUseSiteInfo(Of AssemblySymbol).Uninitialized ' Indicates unknown state. 1285Friend Overrides Function GetUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 1286Dim primaryDependency As AssemblySymbol = Me.PrimaryDependency 1295Private Function CalculateUseSiteInfoImpl() As UseSiteInfo(Of AssemblySymbol) 1300Return New UseSiteInfo(Of AssemblySymbol)(compilerFeatureRequiredDiagnostic) 1310Return New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedType1, Me)) 1340Return New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_NestingViolatesCLS1, Me))
Symbols\Metadata\PE\PENestedNamespaceSymbol.vb (1)
108Public Overrides ReadOnly Property ContainingAssembly As AssemblySymbol
Symbols\Metadata\PE\PEPropertySymbol.vb (5)
37Private _lazyCachedUseSiteInfo As CachedUseSiteInfo(Of AssemblySymbol) = CachedUseSiteInfo(Of AssemblySymbol).Uninitialized ' Indicates unknown state. 563Friend Overrides Function GetUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 564Dim primaryDependency As AssemblySymbol = Me.PrimaryDependency 567Dim useSiteInfo As UseSiteInfo(Of AssemblySymbol) = CalculateUseSiteInfo()
Symbols\Metadata\PE\PETypeParameterSymbol.vb (8)
47Private _lazyCachedBoundsUseSiteInfo As CachedUseSiteInfo(Of AssemblySymbol) = CachedUseSiteInfo(Of AssemblySymbol).Uninitialized ' Indicates unknown state. 138Public Overrides ReadOnly Property ContainingAssembly As AssemblySymbol 201_lazyCachedBoundsUseSiteInfo.InterlockedInitializeFromSentinel(primaryDependency:=Nothing, New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedType1, Me))) 235_lazyCachedBoundsUseSiteInfo.InterlockedInitializeFromSentinel(primaryDependency:=Nothing, New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnsupportedType1, Me))) 344Dim primaryDependency As AssemblySymbol = Me.PrimaryDependency 346Dim useSiteInfo As New UseSiteInfo(Of AssemblySymbol)(primaryDependency) 368Friend Overrides Function GetConstraintsUseSiteInfo() As UseSiteInfo(Of AssemblySymbol)
Symbols\Metadata\PE\SymbolFactory.vb (1)
90Dim linkedAssemblies As ImmutableArray(Of AssemblySymbol) = moduleSymbol.ContainingAssembly.GetLinkedReferencedAssemblies()
Symbols\MetadataOrSourceAssemblySymbol.vb (4)
130Protected Function MakeFinalIVTDetermination(potentialGiverOfAccess As AssemblySymbol) As IVTConclusion 167Private _assembliesToWhichInternalAccessHasBeenAnalyzed As ConcurrentDictionary(Of AssemblySymbol, IVTConclusion) 169Private ReadOnly Property AssembliesToWhichInternalAccessHasBeenDetermined As ConcurrentDictionary(Of AssemblySymbol, IVTConclusion) 172Interlocked.CompareExchange(_assembliesToWhichInternalAccessHasBeenAnalyzed, New ConcurrentDictionary(Of AssemblySymbol, IVTConclusion), Nothing)
Symbols\MethodSymbol.vb (10)
667Friend Overrides Function GetUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 669Return New UseSiteInfo(Of AssemblySymbol)(PrimaryDependency) 677Friend Function CalculateUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 682Dim useSiteInfo As UseSiteInfo(Of AssemblySymbol) = New UseSiteInfo(Of AssemblySymbol)(Me.PrimaryDependency) 724Return New UseSiteInfo(Of AssemblySymbol)(errorInfo) 734Return New UseSiteInfo(Of AssemblySymbol)(diagnosticInfo:=Nothing, primaryDependency, secondaryDependency) 817Friend Function ReduceExtensionMethod(instanceType As TypeSymbol, proximity As Integer, ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol), languageVersion As LanguageVersion) As MethodSymbol 825Public Function ReduceExtensionMethod(instanceType As TypeSymbol, ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol), languageVersion As LanguageVersion) As MethodSymbol 998Return Me.ReduceExtensionMethod(receiverType.EnsureVbSymbolOrNothing(Of TypeSymbol)(NameOf(receiverType)), CompoundUseSiteInfo(Of AssemblySymbol).Discarded, LanguageVersion.Latest)
Symbols\MissingAssemblySymbol.vb (9)
18''' A <see cref="MissingAssemblySymbol"/> is a special kind of <see cref="AssemblySymbol"/> that represents 115Friend Overrides Sub SetLinkedReferencedAssemblies(assemblies As ImmutableArray(Of AssemblySymbol)) 119Friend Overrides Function GetLinkedReferencedAssemblies() As ImmutableArray(Of AssemblySymbol) 120Return ImmutableArray(Of AssemblySymbol).Empty 123Friend Overrides Sub SetNoPiaResolutionAssemblies(assemblies As ImmutableArray(Of AssemblySymbol)) 127Friend Overrides Function GetNoPiaResolutionAssemblies() As ImmutableArray(Of AssemblySymbol) 128Return ImmutableArray(Of AssemblySymbol).Empty 151Friend Overrides Function AreInternalsVisibleToThisAssembly(other As AssemblySymbol) As Boolean 155Friend Overrides Function LookupDeclaredOrForwardedTopLevelMetadataType(ByRef emittedName As MetadataTypeName, visitedAssemblies As ConsList(Of AssemblySymbol)) As NamedTypeSymbol
Symbols\MissingMetadataTypeSymbol.vb (3)
52Dim containingAssembly As AssemblySymbol = Me.ContainingAssembly 132Public Overrides ReadOnly Property ContainingAssembly As AssemblySymbol 185Dim containingAssembly As AssemblySymbol = _containingModule.ContainingAssembly
Symbols\MissingModuleSymbol.vb (7)
25Protected ReadOnly m_Assembly As AssemblySymbol 29Public Sub New(assembly As AssemblySymbol, ordinal As Integer) 62Public Overrides ReadOnly Property ContainingAssembly As AssemblySymbol 126Friend Overrides Function GetReferencedAssemblySymbols() As ImmutableArray(Of AssemblySymbol) 127Return ImmutableArray(Of AssemblySymbol).Empty 131moduleReferences As ModuleReferences(Of AssemblySymbol), 188Public Sub New(assembly As AssemblySymbol, name As String)
Symbols\MissingNamespaceSymbol.vb (1)
55Public Overrides ReadOnly Property ContainingAssembly As AssemblySymbol
Symbols\ModuleSymbol.vb (6)
96Public Overrides ReadOnly Property ContainingAssembly As AssemblySymbol 98Return DirectCast(ContainingSymbol, AssemblySymbol) 150Public ReadOnly Property ReferencedAssemblySymbols As ImmutableArray(Of AssemblySymbol) 165Friend MustOverride Function GetReferencedAssemblySymbols() As ImmutableArray(Of AssemblySymbol) ' TODO: Remove this method and make ReferencedAssemblySymbols property abstract instead. 167Friend Function GetReferencedAssemblySymbol(referencedAssemblyIndex As Integer) As AssemblySymbol 196moduleReferences As ModuleReferences(Of AssemblySymbol),
Symbols\NamedTypeSymbol.vb (12)
78Friend Function TypeArgumentsWithDefinitionUseSiteDiagnostics(<[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ImmutableArray(Of TypeSymbol) 88Friend Function TypeArgumentWithDefinitionUseSiteDiagnostics(index As Integer, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As TypeSymbol 809Friend Function GetDeclaredInterfacesWithDefinitionUseSiteDiagnostics(basesBeingResolved As BasesBeingResolved, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ImmutableArray(Of NamedTypeSymbol) 994Friend Overrides Function GetUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 996Return New UseSiteInfo(Of AssemblySymbol)(PrimaryDependency) 1003Dim definitionUseSiteInfo As UseSiteInfo(Of AssemblySymbol) = DeriveUseSiteInfoFromType(Me.OriginalDefinition) 1010Dim argsUseSiteInfo As UseSiteInfo(Of AssemblySymbol) = DeriveUseSiteInfoFromTypeArguments() 1016Private Function DeriveUseSiteInfoFromTypeArguments() As UseSiteInfo(Of AssemblySymbol) 1017Dim argsUseSiteInfo As UseSiteInfo(Of AssemblySymbol) = Nothing 1198Friend Overrides Function GetManagedKind(ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ManagedKind 1218Private Overloads Shared Function GetManagedKind(type As NamedTypeSymbol, ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ManagedKind 1246ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)
Symbols\NamespaceExtent.vb (3)
48Public ReadOnly Property Assembly As AssemblySymbol 51Return DirectCast(_symbolOrCompilation, AssemblySymbol) 87Friend Sub New(assembly As AssemblySymbol)
Symbols\NamespaceSymbol.vb (2)
104Public MustOverride Overrides ReadOnly Property ContainingAssembly As AssemblySymbol 229Friend Overridable Function ContainsTypesAccessibleFrom(fromAssembly As AssemblySymbol) As Boolean
Symbols\NonMissingAssemblySymbol.vb (3)
18''' A <see cref="NonMissingAssemblySymbol"/> is a special kind of <see cref="AssemblySymbol"/> that represents 142Friend NotOverridable Overrides Function LookupDeclaredOrForwardedTopLevelMetadataType(ByRef emittedName As MetadataTypeName, visitedAssemblies As ConsList(Of AssemblySymbol)) As NamedTypeSymbol 164Friend MustOverride Overrides Function TryLookupForwardedMetadataTypeWithCycleDetection(ByRef emittedName As MetadataTypeName, visitedAssemblies As ConsList(Of AssemblySymbol), ignoreCase As Boolean) As NamedTypeSymbol
Symbols\NonMissingModuleSymbol.vb (6)
24''' An array of <see cref="AssemblySymbol"/> objects corresponding to assemblies directly referenced by this module. 29Private _moduleReferences As ModuleReferences(Of AssemblySymbol) 61Friend NotOverridable Overrides Function GetReferencedAssemblySymbols() As ImmutableArray(Of AssemblySymbol) 66Friend Function GetUnifiedAssemblies() As ImmutableArray(Of UnifiedAssembly(Of AssemblySymbol)) 119moduleReferences As ModuleReferences(Of AssemblySymbol), 174Dim assembly As AssemblySymbol = Me.ContainingAssembly
Symbols\NoPiaAmbiguousCanonicalTypeSymbol.vb (3)
20Private ReadOnly _embeddingAssembly As AssemblySymbol 25embeddingAssembly As AssemblySymbol, 41Public ReadOnly Property EmbeddingAssembly As AssemblySymbol
Symbols\NoPiaMissingCanonicalTypeSymbol.vb (3)
20Private ReadOnly _embeddingAssembly As AssemblySymbol 27embeddingAssembly As AssemblySymbol, 40Public ReadOnly Property EmbeddingAssembly As AssemblySymbol
Symbols\PropertySymbol.vb (7)
408Friend Overrides Function GetUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 410Return New UseSiteInfo(Of AssemblySymbol)(PrimaryDependency) 416Friend Function CalculateUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 421Dim useSiteInfo As UseSiteInfo(Of AssemblySymbol) = New UseSiteInfo(Of AssemblySymbol)(Me.PrimaryDependency) 462Return New UseSiteInfo(Of AssemblySymbol)(errorInfo) 472Return New UseSiteInfo(Of AssemblySymbol)(diagnosticInfo:=Nothing, primaryDependency, secondaryDependency)
Symbols\ReducedExtensionMethodSymbol.vb (7)
39ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol), 70Dim reducedUseSiteInfo = If(useSiteInfo.AccumulatesDependencies, New CompoundUseSiteInfo(Of AssemblySymbol)(useSiteInfo.AssemblyBeingBuilt), CompoundUseSiteInfo(Of AssemblySymbol).DiscardedDependencies) 156template:=New CompoundUseSiteInfo(Of AssemblySymbol)(reducedUseSiteInfo)) 337Friend Overrides Function GetUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 804Friend Overrides Function GetUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 1035Friend Overrides Function GetUseSiteInfo() As UseSiteInfo(Of AssemblySymbol)
Symbols\Retargeting\RetargetingAssemblySymbol.vb (8)
58Private _noPiaResolutionAssemblies As ImmutableArray(Of AssemblySymbol) 66Private _linkedReferencedAssemblies As ImmutableArray(Of AssemblySymbol) 199Friend Overrides Function GetNoPiaResolutionAssemblies() As ImmutableArray(Of AssemblySymbol) 203Friend Overrides Sub SetNoPiaResolutionAssemblies(assemblies As ImmutableArray(Of AssemblySymbol)) 207Friend Overrides Sub SetLinkedReferencedAssemblies(assemblies As ImmutableArray(Of AssemblySymbol)) 211Friend Overrides Function GetLinkedReferencedAssemblies() As ImmutableArray(Of AssemblySymbol) 241Friend Overrides Function AreInternalsVisibleToThisAssembly(potentialGiverOfAccess As AssemblySymbol) As Boolean 264Friend Overrides Function TryLookupForwardedMetadataTypeWithCycleDetection(ByRef emittedName As MetadataTypeName, visitedAssemblies As ConsList(Of AssemblySymbol), ignoreCase As Boolean) As NamedTypeSymbol
Symbols\Retargeting\RetargetingEventSymbol.vb (4)
35Private _lazyCachedUseSiteInfo As CachedUseSiteInfo(Of AssemblySymbol) = CachedUseSiteInfo(Of AssemblySymbol).Uninitialized ' Indicates unknown state. 214Friend Overrides Function GetUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 215Dim primaryDependency As AssemblySymbol = Me.PrimaryDependency
Symbols\Retargeting\RetargetingFieldSymbol.vb (5)
43Private _lazyCachedUseSiteInfo As CachedUseSiteInfo(Of AssemblySymbol) = CachedUseSiteInfo(Of AssemblySymbol).Uninitialized ' Indicates unknown state. 114Public Overrides ReadOnly Property ContainingAssembly As AssemblySymbol 240Friend Overrides Function GetUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 241Dim primaryDependency As AssemblySymbol = Me.PrimaryDependency
Symbols\Retargeting\RetargetingMethodSymbol.vb (5)
57Private _lazyCachedUseSiteInfo As CachedUseSiteInfo(Of AssemblySymbol) = CachedUseSiteInfo(Of AssemblySymbol).Uninitialized ' Indicates unknown state. 392Public Overrides ReadOnly Property ContainingAssembly As AssemblySymbol 492Friend Overrides Function GetUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 493Dim primaryDependency As AssemblySymbol = Me.PrimaryDependency
Symbols\Retargeting\RetargetingModuleSymbol.vb (10)
47''' to what assembly. Key is the <see cref="AssemblySymbol"/> referenced by the underlying module, 48''' value is the corresponding <see cref="AssemblySymbol"/> referenced by this module, and corresponding 51Private ReadOnly _retargetingAssemblyMap As New Dictionary(Of AssemblySymbol, DestinationData)() 54Public [To] As AssemblySymbol 126Public Overrides ReadOnly Property ContainingAssembly As AssemblySymbol 165moduleReferences As ModuleReferences(Of AssemblySymbol), 172Dim underlyingBoundReferences As ImmutableArray(Of AssemblySymbol) = _underlyingModule.GetReferencedAssemblySymbols() 173Dim referencedAssemblySymbols As ImmutableArray(Of AssemblySymbol) = moduleReferences.Symbols 229Friend Function RetargetingDefinitions(from As AssemblySymbol, <Out> ByRef [to] As AssemblySymbol) As Boolean
Symbols\Retargeting\RetargetingNamedTypeSymbol.vb (5)
48Private _lazyCachedUseSiteInfo As CachedUseSiteInfo(Of AssemblySymbol) = CachedUseSiteInfo(Of AssemblySymbol).Uninitialized ' Indicates unknown state. 481Public Overrides ReadOnly Property ContainingAssembly As AssemblySymbol 504Friend Overrides Function GetUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 505Dim primaryDependency As AssemblySymbol = Me.PrimaryDependency
Symbols\Retargeting\RetargetingNamespaceSymbol.vb (1)
138Public Overrides ReadOnly Property ContainingAssembly As AssemblySymbol
Symbols\Retargeting\RetargetingParameterSymbol.vb (1)
224Public Overrides ReadOnly Property ContainingAssembly As AssemblySymbol
Symbols\Retargeting\RetargetingPropertySymbol.vb (4)
39Private _lazyCachedUseSiteInfo As CachedUseSiteInfo(Of AssemblySymbol) = CachedUseSiteInfo(Of AssemblySymbol).Uninitialized ' Indicates unknown state. 302Friend Overrides Function GetUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 303Dim primaryDependency As AssemblySymbol = Me.PrimaryDependency
Symbols\Retargeting\RetargetingSymbolTranslator.vb (4)
113Private ReadOnly Property RetargetingAssemblyMap As Dictionary(Of AssemblySymbol, DestinationData) 178Dim retargetFrom As AssemblySymbol = type.ContainingAssembly 518Dim assembliesToEmbedTypesFrom As ImmutableArray(Of AssemblySymbol) = UnderlyingModule.GetAssembliesToEmbedTypesFrom() 528Dim linkedAssemblies As ImmutableArray(Of AssemblySymbol) = RetargetingAssembly.GetLinkedReferencedAssemblies()
Symbols\Retargeting\RetargetingTypeParameterSymbol.vb (1)
141Public Overrides ReadOnly Property ContainingAssembly As AssemblySymbol
Symbols\SignatureOnlyMethodSymbol.vb (1)
216Public Overrides ReadOnly Property ContainingAssembly() As AssemblySymbol
Symbols\SignatureOnlyParameterSymbol.vb (1)
155Public Overrides ReadOnly Property ContainingAssembly() As AssemblySymbol
Symbols\Source\ImplementsHelper.vb (2)
254If second.ContainingType.ImplementsInterface(first.ContainingType, comparer:=Nothing, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded) Then 258ElseIf first.ContainingType.ImplementsInterface(second.ContainingType, comparer:=Nothing, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded) Then
Symbols\Source\LocalSymbol.vb (7)
365Friend Overridable Function GetConstantValueDiagnostics(binder As Binder) As ReadOnlyBindingDiagnostic(Of AssemblySymbol) 812Public Sub New(value As ConstantValue, type As TypeSymbol, expression As BoundExpression, diagnostics As ReadOnlyBindingDiagnostic(Of AssemblySymbol)) 822Public ReadOnly Diagnostics As ReadOnlyBindingDiagnostic(Of AssemblySymbol) 910Friend Overrides Function GetConstantValueDiagnostics(containingBinder As Binder) As ReadOnlyBindingDiagnostic(Of AssemblySymbol) 912Return If(_evaluatedConstant IsNot Nothing, _evaluatedConstant.Diagnostics, ReadOnlyBindingDiagnostic(Of AssemblySymbol).Empty) 915Private Sub SetConstantExpression(type As TypeSymbol, constantValue As ConstantValue, expression As BoundExpression, diagnostics As ReadOnlyBindingDiagnostic(Of AssemblySymbol)) 1017Friend Overrides Function GetConstantValueDiagnostics(binder As Binder) As ReadOnlyBindingDiagnostic(Of AssemblySymbol)
Symbols\Source\OverloadingHelper.vb (1)
160binder.LookupMember(result, container, name, 0, LookupOptions.AllMethodsOfAnyArity Or LookupOptions.IgnoreExtensionMethods, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded)
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\SourceAssemblySymbol.vb (17)
65Private _lazyAssemblyLevelDeclarationDependencies As ImmutableArray(Of AssemblySymbol) 830Friend Overrides Function GetNoPiaResolutionAssemblies() As ImmutableArray(Of AssemblySymbol) 834Friend Overrides Sub SetNoPiaResolutionAssemblies(assemblies As ImmutableArray(Of AssemblySymbol)) 838Friend Overrides Function GetLinkedReferencedAssemblies() As ImmutableArray(Of AssemblySymbol) 844Friend Overrides Sub SetLinkedReferencedAssemblies(assemblies As ImmutableArray(Of AssemblySymbol)) 870Private Shared s_AssemblyForWhichCurrentThreadIsComputingKeys As AssemblySymbol 874Private _optimisticallyGrantedInternalsAccess As ConcurrentDictionary(Of AssemblySymbol, Boolean) 880Dim haveGrantedAssemblies As ConcurrentDictionary(Of AssemblySymbol, Boolean) = _optimisticallyGrantedInternalsAccess 1200haveExtensionMethodsInSource As Boolean) As ReadOnlyBindingDiagnostic(Of AssemblySymbol) 1216Dim useSiteInfo As UseSiteInfo(Of AssemblySymbol) = Nothing 1278Dim immutableBindingDiagnostic As ReadOnlyBindingDiagnostic(Of AssemblySymbol) = diagnostics.ToReadOnlyAndFree() 1286Return New ReadOnlyBindingDiagnostic(Of AssemblySymbol)(_lazyAssemblyLevelDeclarationErrors, _lazyAssemblyLevelDeclarationDependencies) 1644Friend Overrides Function AreInternalsVisibleToThisAssembly(potentialGiverOfAccess As AssemblySymbol) As Boolean 1656Interlocked.CompareExchange(_optimisticallyGrantedInternalsAccess, New ConcurrentDictionary(Of AssemblySymbol, Boolean), Nothing) 1777Friend Overrides Function TryLookupForwardedMetadataTypeWithCycleDetection(ByRef emittedName As MetadataTypeName, visitedAssemblies As ConsList(Of AssemblySymbol), ignoreCase As Boolean) As NamedTypeSymbol 1796visitedAssemblies = New ConsList(Of AssemblySymbol)(Me, If(visitedAssemblies, ConsList(Of AssemblySymbol).Empty))
Symbols\Source\SourceEventSymbol.vb (1)
757Locations(0), diagnostics, template:=New CompoundUseSiteInfo(Of AssemblySymbol)(diagnostics, sourceModule.ContainingAssembly))
Symbols\Source\SourceFile.vb (4)
302dependencies As IReadOnlyCollection(Of AssemblySymbol), 315Public Overrides Sub AddAlias(syntaxRef As SyntaxReference, name As String, [alias] As AliasSymbol, importsClausePosition As Integer, dependencies As IReadOnlyCollection(Of AssemblySymbol)) 355dependencies As ImmutableArray(Of AssemblySymbol), 365location, clauseDiagnostics, template:=New CompoundUseSiteInfo(Of AssemblySymbol)(diagnostics, compilation.Assembly))
Symbols\Source\SourceMemberContainerTypeSymbol.vb (6)
492ElseIf directInterface Is Nothing AndAlso iface.ImplementsInterface(implementedInterface, comparer:=Nothing, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded) Then 1174Dim useSiteInfo As UseSiteInfo(Of AssemblySymbol) = Nothing 2867Dim useSiteInfo As New CompoundUseSiteInfo(Of AssemblySymbol)(diagBag, m_containingModule.ContainingAssembly) 3407If Not Me.BaseTypeNoUseSiteDiagnostics.ImplementsInterface(iface, comparer:=Nothing, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded) Then 3825ElseIf VarianceAmbiguity.HasVarianceAmbiguity(Me, interface1, interface2, CompoundUseSiteInfo(Of AssemblySymbol).Discarded) Then 3941Dim useSiteInfo As New CompoundUseSiteInfo(Of AssemblySymbol)(diagnostics, ContainingAssembly)
Symbols\Source\SourceMemberFieldSymbol.vb (1)
39Locations(0), diagnostics, template:=New CompoundUseSiteInfo(Of AssemblySymbol)(diagnostics, sourceModule.ContainingAssembly))
Symbols\Source\SourceMemberMethodSymbol.vb (4)
651useSiteInfo = New CompoundUseSiteInfo(Of AssemblySymbol)(useSiteInfo) 856<[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol), 895<[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol), 932<[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol),
Symbols\Source\SourceMethodSymbol.vb (2)
2194param.Locations(0), diagBag, template:=New CompoundUseSiteInfo(Of AssemblySymbol)(diagBag, sourceModule.ContainingAssembly)) 2204diagnosticsBuilder, useSiteDiagnosticsBuilder, template:=New CompoundUseSiteInfo(Of AssemblySymbol)(diagBag, sourceModule.ContainingAssembly))
Symbols\Source\SourceModuleSymbol.BoundImports.vb (2)
27Public ReadOnly Diagnostics As ReadOnlyBindingDiagnostic(Of AssemblySymbol) 35diags As ReadOnlyBindingDiagnostic(Of AssemblySymbol))
Symbols\Source\SourceModuleSymbol.vb (14)
44Private _lazyAssembliesToEmbedTypesFrom As ImmutableArray(Of AssemblySymbol) 75Private _lazyBoundImportsAdditionalDiagnostics As StrongBox(Of ReadOnlyBindingDiagnostic(Of AssemblySymbol)) 133Public Overrides ReadOnly Property ContainingAssembly As AssemblySymbol 280Friend Function GetAssembliesToEmbedTypesFrom() As ImmutableArray(Of AssemblySymbol) 283Dim assemblies = ArrayBuilder(Of AssemblySymbol).GetInstance() 363Interlocked.CompareExchange(_lazyBoundImportsAdditionalDiagnostics, New StrongBox(Of ReadOnlyBindingDiagnostic(Of AssemblySymbol))(diagnosticBag.ToReadOnlyAndFree()), Nothing) 434Private ReadOnly _dependencies As ICollection(Of AssemblySymbol) 444dependencies As ICollection(Of AssemblySymbol)) 458dependencies As IReadOnlyCollection(Of AssemblySymbol), 464member, importsClausePosition, If(isPrjectImportDeclaration, Nothing, syntaxRef), ImmutableArray(Of AssemblySymbol).Empty) 471Private Sub AddDependencies(dependencies As IReadOnlyCollection(Of AssemblySymbol)) 477Public Overrides Sub AddAlias(syntaxRef As SyntaxReference, name As String, [alias] As AliasSymbol, importsClausePosition As Integer, dependencies As IReadOnlyCollection(Of AssemblySymbol)) 478Dim pair = New AliasAndImportsClausePosition([alias], importsClausePosition, syntaxRef, ImmutableArray(Of AssemblySymbol).Empty) 534diagnosticsBuilder, useSiteDiagnosticsBuilder, template:=New CompoundUseSiteInfo(Of AssemblySymbol)(diagnostics, ContainingAssembly))
Symbols\Source\SourceNamedTypeSymbol.vb (7)
1422Dim useSiteInfo As New CompoundUseSiteInfo(Of AssemblySymbol)(diagnostics, ContainingAssembly) 1473Dim useSiteInfo As New CompoundUseSiteInfo(Of AssemblySymbol)(diagnostics, ContainingAssembly) 1631location, diagnostics, template:=New CompoundUseSiteInfo(Of AssemblySymbol)(diagnostics, m_containingModule.ContainingAssembly)) 1638Dim useSiteInfo As New CompoundUseSiteInfo(Of AssemblySymbol)(diagnostics, m_containingModule.ContainingAssembly) 1685location, diagnostics, template:=New CompoundUseSiteInfo(Of AssemblySymbol)(diagnostics, m_containingModule.ContainingAssembly)) 2137Debug.Assert(Me.IsOrDerivedFromWellKnownClass(WellKnownType.System_Attribute, DeclaringCompilation, CompoundUseSiteInfo(Of AssemblySymbol).Discarded) OrElse Me.SpecialType = Microsoft.CodeAnalysis.SpecialType.System_Object) 2629If formClass.IsErrorType() OrElse Not Me.IsOrDerivedFrom(formClass, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded) Then
Symbols\Source\SourceNamedTypeSymbol_GroupClass.vb (1)
253binder.IsAccessible(named, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded) Then
Symbols\Source\SourceNamespaceSymbol.vb (2)
56Dim containingAssembly As AssemblySymbol = Me.ContainingAssembly 107Public Overrides ReadOnly Property ContainingAssembly As AssemblySymbol
Symbols\Source\SourcePropertyAccessorSymbol.vb (2)
196diagnosticsBuilder, useSiteDiagnosticsBuilder, template:=New CompoundUseSiteInfo(Of AssemblySymbol)(diagBag, sourceModule.ContainingAssembly)) 267param.Locations(0), diagBag, template:=New CompoundUseSiteInfo(Of AssemblySymbol)(diagBag, sourceModule.ContainingAssembly))
Symbols\Source\SourcePropertySymbol.vb (1)
1250Locations(0), diagnostics, template:=New CompoundUseSiteInfo(Of AssemblySymbol)(diagnostics, sourceModule.ContainingAssembly))
Symbols\Source\SourceTypeParameterSymbol.vb (3)
180Dim containingAssembly As AssemblySymbol = Me.ContainingAssembly 188Dim useSiteInfo As New CompoundUseSiteInfo(Of AssemblySymbol)(diagnostics, containingAssembly) 194location, diagnostics, template:=New CompoundUseSiteInfo(Of AssemblySymbol)(diagnostics, containingAssembly))
Symbols\Source\SynthesizedEntryPointSymbol.vb (1)
31Debug.Assert(taskType.IsErrorType() OrElse initializerMethod.ReturnType.IsOrDerivedFrom(taskType, CompoundUseSiteInfo(Of AssemblySymbol).Discarded))
Symbols\Source\SynthesizedEventAccessorSymbol.vb (6)
80Dim useSiteInfo As UseSiteInfo(Of AssemblySymbol) 152Dim useSiteInfo As UseSiteInfo(Of AssemblySymbol) = Nothing 285Dim useSiteInfo As UseSiteInfo(Of AssemblySymbol) = Nothing 324Dim conversionsUseSiteInfo As New CompoundUseSiteInfo(Of AssemblySymbol)(diagnostics, compilation.Assembly) 408conversionKind1 = Conversions.ClassifyDirectCastConversion(boundTmps(1).Type, updateMethod.Parameters(0).Type, CompoundUseSiteInfo(Of AssemblySymbol).Discarded) 409conversionKind2 = Conversions.ClassifyDirectCastConversion(boundParameter.Type, updateMethod.Parameters(1).Type, CompoundUseSiteInfo(Of AssemblySymbol).Discarded)
Symbols\Source\SynthesizedMainTypeEntryPoint.vb (1)
69Dim useSiteInfo As UseSiteInfo(Of AssemblySymbol) = Nothing
Symbols\SubstitutedErrorType.vb (1)
97Public Overrides ReadOnly Property ContainingAssembly As AssemblySymbol
Symbols\SubstitutedNamedType.vb (1)
98Public NotOverridable Overrides ReadOnly Property ContainingAssembly As AssemblySymbol
Symbols\SynthesizedSymbols\SynthesizedGlobalMethodBase.vb (1)
234Public Overrides ReadOnly Property ContainingAssembly As AssemblySymbol
Symbols\Tuples\TupleErrorFieldSymbol.vb (2)
124Friend Overrides Function GetUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 125Return New UseSiteInfo(Of AssemblySymbol)(Me._useSiteDiagnosticInfo)
Symbols\Tuples\TupleEventSymbol.vb (2)
85Friend Overrides Function GetUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 86Dim useSiteInfo As UseSiteInfo(Of AssemblySymbol) = MyBase.GetUseSiteInfo
Symbols\Tuples\TupleFieldSymbol.vb (4)
100Friend Overrides Function GetUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 101Dim useSiteInfo As UseSiteInfo(Of AssemblySymbol) = MyBase.GetUseSiteInfo 242Friend Overrides Function GetUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 244Return New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_TupleInferredNamesNotAvailable, _name,
Symbols\Tuples\TupleMethodSymbol.vb (2)
131Friend Overrides Function GetUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 132Dim useSiteInfo As UseSiteInfo(Of AssemblySymbol) = MyBase.GetUseSiteInfo()
Symbols\Tuples\TuplePropertySymbol.vb (2)
117Friend Overrides Function GetUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 118Dim useSiteInfo As UseSiteInfo(Of AssemblySymbol) = MyBase.GetUseSiteInfo
Symbols\Tuples\TupleTypeSymbol.vb (3)
385constructedType.CheckConstraints(syntax, elementLocations, diagnostics, template:=New CompoundUseSiteInfo(Of AssemblySymbol)(diagnostics, compilation.Assembly)) 651Dim useSiteInfo As UseSiteInfo(Of AssemblySymbol) = wellKnownMemberInType.GetUseSiteInfo 1017Friend Overrides Function GetUseSiteInfo() As UseSiteInfo(Of AssemblySymbol)
Symbols\TypeParameterSymbol.vb (3)
53Friend Overridable Function GetConstraintsUseSiteInfo() As UseSiteInfo(Of AssemblySymbol) 64Friend Function ConstraintTypesWithDefinitionUseSiteDiagnostics(<[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ImmutableArray(Of TypeSymbol) 332Friend Overrides Function GetManagedKind(ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ManagedKind
Symbols\TypeSymbol.vb (7)
97Friend Function BaseTypeWithDefinitionUseSiteDiagnostics(<[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As NamedTypeSymbol 107Friend Function BaseTypeOriginalDefinition(<[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As NamedTypeSymbol 144Friend Function AllInterfacesWithDefinitionUseSiteDiagnostics(<[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ImmutableArray(Of NamedTypeSymbol) 267Friend MustOverride Function GetManagedKind(ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ManagedKind 446Friend Overridable Function GetDirectBaseTypeWithDefinitionUseSiteDiagnostics(basesBeingResolved As BasesBeingResolved, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As NamedTypeSymbol 596Return GetManagedKind(CompoundUseSiteInfo(Of AssemblySymbol).Discarded) <> ManagedKind.Managed 652Not Me.ImplementsInterface(interfaceMember.ContainingType, comparer:=EqualsIgnoringComparer.InstanceCLRSignatureCompare, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded) Then
Symbols\TypeSymbolExtensions.vb (12)
488Public Function CanContainUserDefinedOperators(this As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean 547Public Function ImplementsInterface(subType As TypeSymbol, superInterface As TypeSymbol, comparer As EqualityComparer(Of TypeSymbol), <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean 567<[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol) 579<[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol) 591<[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol) 597Public Function IsBaseTypeOf(superType As TypeSymbol, subType As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean 616Public Function IsOrDerivedFrom(derivedType As NamedTypeSymbol, baseType As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean 630Public Function IsOrDerivedFrom(derivedType As TypeSymbol, baseType As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean 650Public Function IsOrDerivedFromWellKnownClass(derivedType As TypeSymbol, wellKnownBaseType As WellKnownType, compilation As VisualBasicCompilation, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean 662Public Function IsCompatibleWithGenericIEnumerableOfType(type As TypeSymbol, typeArgument As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean 710Public Function IsOrImplementsIEnumerableOfXElement(type As TypeSymbol, compilation As VisualBasicCompilation, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean 716Public Function IsBaseTypeOrInterfaceOf(superType As TypeSymbol, subType As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean
Symbols\UnboundGenericType.vb (1)
283Friend Overrides Function GetUseSiteInfo() As UseSiteInfo(Of AssemblySymbol)