61 references to Assembly
Microsoft.CodeAnalysis.VisualBasic (61)
Binding\Binder.vb (3)
938If container IsNot Nothing AndAlso container <> Compilation.Assembly AndAlso container <> Compilation.Assembly.CorLibrary Then 963ElseIf Not Compilation.Assembly.RuntimeSupportsDefaultInterfaceImplementation Then
Binding\Binder_Attributes.vb (3)
190Dim localUseSiteInfo = If(useSiteInfo.AccumulatesDependencies, New CompoundUseSiteInfo(Of AssemblySymbol)(Compilation.Assembly), CompoundUseSiteInfo(Of AssemblySymbol).DiscardedDependencies) 488AccessCheck.GetAccessibilityForErrorMessage(setMethod, Me.Compilation.Assembly))) 598Debug.Assert(sourceType.ContainingAssembly Is Me.Compilation.Assembly)
Binding\Binder_Delegates.vb (1)
1252warnIfResultOfAsyncMethodIsDroppedDueToRelaxation = method.ContainingAssembly Is Compilation.Assembly
Binding\Binder_Lookup.vb (2)
257AccessCheck.GetAccessibilityForErrorMessage(sym, Me.Compilation.Assembly)) 1215AccessCheck.IsSymbolAccessible(containingType, binder.Compilation.Assembly, useSiteInfo)) Then
Binding\Binder_Statements.vb (1)
2666warn = [call].Method.IsAsync AndAlso [call].Method.ContainingAssembly Is Me.Compilation.Assembly
Binding\Binder_Symbols.vb (2)
334CheckForForwardedType(binder.Compilation.Assembly, typeSyntax, diagName, forwardedToAssembly, diagBag) 343diagInfo = ErrorFactory.ErrorInfo(ERRID.ERR_ForwardedTypeUnavailable3, diagName, binder.Compilation.Assembly, forwardedToAssembly)
Binding\Binder_Utils.vb (1)
320Return New CompoundUseSiteInfo(Of AssemblySymbol)(futureDestination, Compilation.Assembly)
Binding\ImportedTypesAndNamespacesMembersBinder.vb (1)
72Not DirectCast(currentResult.SingleSymbol, NamespaceSymbol).ContainsTypesAccessibleFrom(Compilation.Assembly)) Then
BoundTree\BoundMethodGroup.vb (1)
61Dim localUseSiteInfo = If(_withDependencies, New CompoundUseSiteInfo(Of AssemblySymbol)(_lookupBinder.Compilation.Assembly), CompoundUseSiteInfo(Of AssemblySymbol).DiscardedDependencies)
Compilation\ClsComplianceChecker.vb (3)
75checker.Visit(compilation.Assembly) 660(symbol.Kind = SymbolKind.Assembly AndAlso Me._compilation.Assembly IsNot symbol), 795If containingAssembly IsNot Me._compilation.Assembly Then
Compilation\VisualBasicCompilation.vb (12)
1326Return If(index < 0, Nothing, Me.Assembly.Modules(index)) 1352Return [Assembly].Modules.SelectMany(Function(m) m.GetReferencedAssemblies()) 1402Return sustainedLowLatency IsNot Nothing AndAlso sustainedLowLatency.ContainingAssembly = Assembly.CorLibrary 1433Return Me.Assembly.Modules(0) 1577If candidate.ContainingAssembly = Me.Assembly Then 1957Dim result = Assembly.GetSpecialType(typeId) 1966Return Assembly.GetSpecialTypeMember(memberId) 1988Return Me.Assembly.GetTypeByMetadataName(fullyQualifiedMetadataName, includeReferences:=True, isWellKnownType:=False, conflicts:=Nothing) 1993Return Assembly.ObjectType 2612Dim corLibrary = TryCast(Assembly.CorLibrary, Symbols.Metadata.PE.PEAssemblySymbol) 2734Return Me.Assembly 3169Return Me.Assembly.SupportsRuntimeCapability(capability)
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Await.vb (1)
217Dim useSiteInfo As New CompoundUseSiteInfo(Of AssemblySymbol)(Me.F.Diagnostics, Me.CompilationState.Compilation.Assembly)
Lowering\Instrumentation\CodeCoverageInstrumenter.vb (2)
120_payloadType = ArrayTypeSymbol.CreateVBArray(payloadElementType, ImmutableArray(Of CustomModifier).Empty, 1, methodBodyFactory.Compilation.Assembly) 243ArrayTypeSymbol.CreateVBArray(_payloadType, ImmutableArray(Of CustomModifier).Empty, 1, _methodBodyFactory.Compilation.Assembly)
Lowering\LambdaRewriter\LambdaRewriter.vb (1)
1464Dim useSiteInfo As New CompoundUseSiteInfo(Of AssemblySymbol)(Diagnostics, CompilationState.Compilation.Assembly)
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (1)
517Return New CompoundUseSiteInfo(Of AssemblySymbol)(_diagnostics, Me.Compilation.Assembly)
Lowering\LocalRewriter\LocalRewriter_LateBindingHelpers.vb (1)
382Dim useSiteInfo As New CompoundUseSiteInfo(Of AssemblySymbol)(Me.Compilation.Assembly)
Lowering\StateMachineRewriter\StateMachineRewriter.vb (1)
387Return Binder.GetSpecialTypeMember(F.Compilation.Assembly, member, Me.Body.Syntax, bag)
Lowering\SyntheticBoundNodeFactory.vb (1)
356Dim useSiteInfo As New CompoundUseSiteInfo(Of AssemblySymbol)(Diagnostics, Me.Compilation.Assembly)
Semantics\TypeInference\TypeArgumentInference.vb (1)
193inferredType = ArrayTypeSymbol.CreateVBArray(arrayType.ElementType, Nothing, arrayType.Rank, arrayLiteral.Binder.Compilation.Assembly)
Symbols\ArrayTypeSymbol.vb (2)
27Return CreateVBArray(elementType, customModifiers, rank, compilation.Assembly) 68Return CreateSZArray(elementType, customModifiers, compilation.Assembly)
Symbols\Attributes\AttributeData.vb (1)
235Dim useSiteInfo As New CompoundUseSiteInfo(Of AssemblySymbol)(diagnostics, compilation.Assembly)
Symbols\MergedNamespaceSymbol.vb (2)
103For Each m In extent.Assembly.Modules 493Debug.Assert(fromAssembly Is _compilation.Assembly)
Symbols\ReferenceManager.vb (4)
935MyBase.New(compilation.Assembly.Identity, GetReferencedAssemblies(compilation), embedInteropTypes) 945Dim modules = compilation.Assembly.Modules 971assemblies.Add(Compilation.Assembly) 991Return asm Is Compilation.Assembly
Symbols\Source\SourceFile.vb (1)
365location, clauseDiagnostics, template:=New CompoundUseSiteInfo(Of AssemblySymbol)(diagnostics, compilation.Assembly))
Symbols\Source\SynthesizedEventAccessorSymbol.vb (2)
286Dim updateMethod As MethodSymbol = DirectCast(Binder.GetSpecialTypeMember(compilation.Assembly, updateMethodId, useSiteInfo), MethodSymbol) 324Dim conversionsUseSiteInfo As New CompoundUseSiteInfo(Of AssemblySymbol)(diagnostics, compilation.Assembly)
Symbols\Symbol_Attributes.vb (1)
620Debug.Assert(attribute.AttributeClass.ContainingAssembly Is compilation.Assembly)
Symbols\Tuples\TupleTypeSymbol.vb (1)
385constructedType.CheckConstraints(syntax, elementLocations, diagnostics, template:=New CompoundUseSiteInfo(Of AssemblySymbol)(diagnostics, compilation.Assembly))
Symbols\WellKnownMembers.vb (8)
68ElseIf candidate.ContainingAssembly Is Me.Assembly Then 69If attributeType.ContainingAssembly Is Me.Assembly Then 75ElseIf attributeType.ContainingAssembly IsNot Me.Assembly Then 76Debug.Assert(candidate.ContainingAssembly IsNot Me.Assembly) 333result = VisualBasicCompilation.GetRuntimeMember(type, descriptor, _wellKnownMemberSignatureComparer, accessWithinOpt:=Me.Assembly) 383result = Me.Assembly.GetTypeByMetadataName(mdName, includeReferences:=True, isWellKnownType:=True, useCLSCompliantNameArityEncoding:=True, conflicts:=conflicts, 403result = New MissingMetadataTypeSymbol.TopLevelWithCustomErrorInfo(Assembly.Modules(0), emittedName, delayedErrorInfo) 405result = New MissingMetadataTypeSymbol.TopLevel(Assembly.Modules(0), emittedName)