15 overrides of ContainingAssembly
Microsoft.CodeAnalysis.VisualBasic (15)
Symbols\AssemblySymbol.vb (1)
174Public NotOverridable Overrides ReadOnly Property ContainingAssembly As AssemblySymbol
Symbols\Metadata\PE\PETypeParameterSymbol.vb (1)
138Public Overrides ReadOnly Property ContainingAssembly As AssemblySymbol
Symbols\MissingMetadataTypeSymbol.vb (1)
132Public Overrides ReadOnly Property ContainingAssembly As AssemblySymbol
Symbols\ModuleSymbol.vb (1)
96Public Overrides ReadOnly Property ContainingAssembly As AssemblySymbol
Symbols\NamespaceSymbol.vb (1)
104Public MustOverride Overrides ReadOnly Property ContainingAssembly As AssemblySymbol
Symbols\Retargeting\RetargetingFieldSymbol.vb (1)
114Public Overrides ReadOnly Property ContainingAssembly As AssemblySymbol
Symbols\Retargeting\RetargetingMethodSymbol.vb (1)
392Public Overrides ReadOnly Property ContainingAssembly As AssemblySymbol
Symbols\Retargeting\RetargetingNamedTypeSymbol.vb (1)
487Public Overrides ReadOnly Property ContainingAssembly As AssemblySymbol
Symbols\Retargeting\RetargetingParameterSymbol.vb (1)
224Public Overrides ReadOnly Property ContainingAssembly As AssemblySymbol
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\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
138 references to ContainingAssembly
Microsoft.CodeAnalysis.VisualBasic (138)
Binding\Binder_Attributes.vb (1)
598Debug.Assert(sourceType.ContainingAssembly Is Me.Compilation.Assembly)
Binding\Binder_Delegates.vb (1)
1252warnIfResultOfAsyncMethodIsDroppedDueToRelaxation = method.ContainingAssembly Is Compilation.Assembly
Binding\Binder_Expressions.vb (2)
741diagnostics.AddDependency(method.ContainingAssembly) 757diagnostics.AddDependency(prop.ContainingAssembly)
Binding\Binder_Lookup.vb (2)
262AccessCheck.GetAccessibilityForErrorMessage(sym, sym.ContainingAssembly)) 2163Return typeParameter.ContainingAssembly.GetSpecialType(If(typeParameter.HasValueTypeConstraint, SpecialType.System_ValueType, SpecialType.System_Object))
Binding\Binder_ObjectInitializer.vb (1)
268If type0.ContainingAssembly.IsLinked Then
Binding\Binder_Statements.vb (2)
2666warn = [call].Method.IsAsync AndAlso [call].Method.ContainingAssembly Is Me.Compilation.Assembly 4355Dim valueTypeSymbol = interfaceType.ContainingAssembly.GetSpecialType(SpecialType.System_ValueType)
Binding\Binder_Symbols.vb (3)
432Debug.Assert(forwardedType.ContainingAssembly IsNot Nothing, "How did we find a cycle if there is no forwarding?") 433Binder.ReportDiagnostic(diagBag, typeSyntax, ERRID.ERR_TypeFwdCycle2, fullName, forwardedType.ContainingAssembly) 440Return forwardedType.ContainingAssembly
Binding\Binder.vb (2)
553Return GetSpecialTypeMember(Me.ContainingMember.ContainingAssembly, member, syntax, diagnostics) 937Dim container As AssemblySymbol = TryCast(namespaceOrType, NamedTypeSymbol)?.ContainingAssembly
Binding\LookupResult.vb (1)
890Dim containingAssembly = sym.ContainingAssembly
Binding\SyntheticBoundTrees\SynthesizedPropertyAccessorBase.vb (4)
264accessor.ContainingAssembly.GetSpecialType(SpecialType.System_Object)), 266accessor.ContainingAssembly.GetSpecialType(SpecialType.System_Boolean))).MakeCompilerGenerated, 344accessor.ContainingAssembly.GetSpecialType(SpecialType.System_Object)), 346accessor.ContainingAssembly.GetSpecialType(SpecialType.System_Boolean))).MakeCompilerGenerated,
BoundTree\BoundAssignmentOperator.vb (2)
42left.GetPropertyOrXmlProperty().ContainingAssembly.GetSpecialType(SpecialType.System_Void), 44left.Type.ContainingAssembly.GetSpecialType(SpecialType.System_Void),
CommandLine\VisualBasicCompiler.vb (1)
325newDiagnostics.Add(New VBDiagnostic(ErrorFactory.ErrorInfo(ERRID.ERR_SymbolDefinedInAssembly, symbol, symbol.ContainingAssembly), diag.Location))
Compilation\ClsComplianceChecker.vb (1)
793Dim containingAssembly = symbol.ContainingAssembly
Compilation\MethodCompiler.vb (3)
1923Dim objectType = constructor.ContainingAssembly.GetSpecialType(SpecialType.System_Object) 1942Dim useSiteInfo As New CompoundUseSiteInfo(Of AssemblySymbol)(diagnostics, containingType.ContainingAssembly) 2090Dim voidType As NamedTypeSymbol = constructor.ContainingAssembly.GetSpecialType(SpecialType.System_Void)
Compilation\NamespaceScopeBuilder.vb (2)
38ElseIf target.Kind <> SymbolKind.ErrorType AndAlso Not target.ContainingAssembly.IsLinked Then 57ElseIf Not target.ContainingAssembly.IsLinked Then
Compilation\VisualBasicCompilation.vb (1)
1404Return sustainedLowLatency IsNot Nothing AndAlso sustainedLowLatency.ContainingAssembly = Assembly.CorLibrary
Emit\EditAndContinue\VisualBasicSymbolMatcher.vb (3)
142Debug.Assert(symbol.ContainingAssembly IsNot Me._otherAssembly) 599Return ArrayTypeSymbol.CreateSZArray(translatedElementType, translatedModifiers, symbol.BaseTypeNoUseSiteDiagnostics.ContainingAssembly) 602Return ArrayTypeSymbol.CreateMDArray(translatedElementType, translatedModifiers, symbol.Rank, symbol.Sizes, symbol.LowerBounds, symbol.BaseTypeNoUseSiteDiagnostics.ContainingAssembly)
Emit\NamedTypeSymbolAdapter.vb (1)
246baseType = AdaptedNamedTypeSymbol.ContainingAssembly.GetSpecialType(Microsoft.CodeAnalysis.SpecialType.System_Object)
Emit\NoPia\EmbeddedTypesManager.vb (2)
133ImmutableArray.Create(New TypedConstant(ctor.Parameters(0).Type, TypedConstantKind.Type, ctor.ContainingAssembly.GetSpecialType(SpecialType.System_Object))), 244Not type.ContainingAssembly.IsLinked Then
Emit\PEModuleBuilder.vb (7)
451If type.ContainingAssembly Is sourceAssembly Then 465If type.ContainingAssembly Is sourceAssembly Then 467Debug.Assert(contender.ContainingAssembly Is sourceAssembly) 474ElseIf contender.ContainingAssembly Is sourceAssembly Then 478type.ContainingAssembly, 485type.ContainingAssembly, 487contender.ContainingAssembly)
Emit\PropertySymbolAdapter.vb (1)
100Debug.Assert(TypeOf AdaptedPropertySymbol.ContainingModule Is SourceModuleSymbol OrElse AdaptedPropertySymbol.ContainingAssembly.IsLinked)
Lowering\AsyncRewriter\AsyncStateMachine.vb (1)
22asyncMethod.ContainingAssembly.GetSpecialType(If(typeKind = TypeKind.Struct, SpecialType.System_ValueType, SpecialType.System_Object)),
Lowering\IteratorRewriter\IteratorRewriter.vb (2)
37Me._elementType = method.ContainingAssembly.GetSpecialType(SpecialType.System_Object) 68elementType = method.ContainingAssembly.GetSpecialType(SpecialType.System_Object)
Lowering\IteratorRewriter\IteratorStateMachine.vb (2)
29iteratorMethod.ContainingAssembly.GetSpecialType(SpecialType.System_Object), 32iteratorMethod.ContainingAssembly))
Lowering\LambdaRewriter\LambdaFrame.vb (2)
185Dim type = ContainingAssembly.GetSpecialType(SpecialType.System_Object) 197Dim type = ContainingAssembly.GetSpecialType(SpecialType.System_Object)
Lowering\LambdaRewriter\LambdaRewriter.vb (2)
450Dim bool = frame.ContainingAssembly.GetSpecialType(SpecialType.System_Boolean) 454Dim obj = frame.ContainingAssembly.GetSpecialType(SpecialType.System_Object)
Lowering\LocalRewriter\LocalRewriter_AddRemoveHandler.vb (1)
212[event].ContainingAssembly.IsLinked AndAlso
Lowering\LocalRewriter\LocalRewriter_Constant.vb (2)
32Dim assembly As AssemblySymbol = currentMethod.ContainingAssembly 139Dim assembly As AssemblySymbol = currentMethod.ContainingAssembly
Lowering\LocalRewriter\LocalRewriter_ForTo.vb (1)
631Dim int32Type = [step].Type.ContainingAssembly.GetPrimitiveType(Microsoft.Cci.PrimitiveTypeCode.Int32)
Lowering\LocalRewriter\LocalRewriter_LateBindingHelpers.vb (1)
994Dim memberSymbol = Binder.GetSpecialTypeMember(Me._topMethod.ContainingAssembly, memberId, useSiteInfo)
Lowering\LocalRewriter\LocalRewriter.vb (4)
369Return DirectCast(Me._topMethod.ContainingAssembly, SourceAssemblySymbol) 560Dim result As NamedTypeSymbol = Me._topMethod.ContainingAssembly.GetSpecialType(specialType) 566Dim result As NamedTypeSymbol = Me._topMethod.ContainingAssembly.GetSpecialType(specialType) 579Return Me._topMethod.ContainingAssembly.GetSpecialTypeMember(specialMember)
Semantics\AccessCheck.vb (11)
100Dim withinAssembly = If(TryCast(within, AssemblySymbol), (DirectCast(within, NamedTypeSymbol)).ContainingAssembly) 166Return CheckNonNestedTypeAccessibility(typeSym.ContainingAssembly, typeSym.DeclaredAccessibility, within) 178Dim withinAssembly As AssemblySymbol = If(TryCast(within, AssemblySymbol), DirectCast(within, NamedTypeSymbol).ContainingAssembly) 212Dim withinAssembly As AssemblySymbol = If(TryCast(within, AssemblySymbol), withinNamedType.ContainingAssembly) 244Return If(HasFriendAccessTo(withinAssembly, containingType.ContainingAssembly), AccessCheckResult.Accessible, AccessCheckResult.Inaccessible) 247If Not HasFriendAccessTo(withinAssembly, containingType.ContainingAssembly) Then 257If HasFriendAccessTo(withinAssembly, containingType.ContainingAssembly) Then 893DirectCast(parentOfExposingType.ContainingAssembly, Symbol), 1039Dim useSiteInfo As New CompoundUseSiteInfo(Of AssemblySymbol)(diagBag, classOrInterface.ContainingAssembly) 1113Dim useSiteInfo As New CompoundUseSiteInfo(Of AssemblySymbol)(diagBag, member.ContainingAssembly) 1160Dim useSiteInfo As New CompoundUseSiteInfo(Of AssemblySymbol)(diagBag, member.ContainingAssembly)
Semantics\Conversions.vb (4)
1481Dim nullableOfT As NamedTypeSymbol = booleanType.ContainingAssembly.GetSpecialType(SpecialType.System_Nullable_T) 2067Dim valueType = typeParameter.ContainingAssembly.GetSpecialType(SpecialType.System_ValueType) 3757Dim valueType = typeParameter.ContainingAssembly.GetSpecialType(SpecialType.System_ValueType) 3917Dim valueType = typeParameter.ContainingAssembly.GetSpecialType(SpecialType.System_ValueType)
Symbols\AliasSymbol.vb (2)
246Me.ContainingAssembly Is other.ContainingAssembly
Symbols\AssemblySymbol.vb (3)
700conflicts = (result.ContainingAssembly, candidate.ContainingAssembly) 720Return type.ContainingAssembly Is CorLibrary
Symbols\Attributes\AttributeData.vb (1)
531Debug.Assert(TypeOf target Is SourceAssemblySymbol OrElse TypeOf target.ContainingAssembly Is SourceAssemblySymbol)
Symbols\ConstraintsHelper.vb (1)
311Dim useSiteInfo As New CompoundUseSiteInfo(Of AssemblySymbol)(typeParameter.ContainingAssembly)
Symbols\EventSymbol.vb (1)
161Return ContainingAssembly.GetSpecialType(SpecialType.System_Void)
Symbols\Metadata\PE\MetadataDecoder.vb (2)
205Dim containingAssembly As AssemblySymbol = symbol.OriginalDefinition.ContainingAssembly 330candidate.ContainingAssembly IsNot assembly OrElse
Symbols\Metadata\PE\PENamedTypeSymbol.vb (1)
1334If base IsNot Nothing AndAlso base.SpecialType = SpecialType.None AndAlso base.ContainingAssembly?.IsMissing Then
Symbols\Metadata\PE\PETypeParameterSymbol.vb (1)
140Return _containingSymbol.ContainingAssembly
Symbols\MetadataOrSourceAssemblySymbol.vb (1)
72Debug.Assert(corType.ContainingAssembly Is Me)
Symbols\MethodSymbol.vb (1)
508Return IsScriptConstructor AndAlso ContainingAssembly.IsInteractive
Symbols\MissingMetadataTypeSymbol.vb (1)
52Dim containingAssembly As AssemblySymbol = Me.ContainingAssembly
Symbols\MissingNamespaceSymbol.vb (1)
57Return _containingSymbol.ContainingAssembly
Symbols\NonMissingAssemblySymbol.vb (3)
98If Not result.IsErrorType() AndAlso result.ContainingAssembly Is Me Then 107Debug.Assert(result Is Nothing OrElse (result.ContainingAssembly Is Me AndAlso Not result.IsErrorType())) 153Debug.Assert(result Is Nothing OrElse (result.ContainingAssembly Is Me AndAlso Not result.IsErrorType()))
Symbols\NonMissingModuleSymbol.vb (1)
86Dim dependentAssembly = dependentType.ContainingAssembly
Symbols\ObsoleteAttributeHelpers.vb (2)
78Dim assemblyObsoleteKind As ObsoleteAttributeKind? = symbol.ContainingAssembly?.ObsoleteKind 129Dim data = If(If(symbol.ObsoleteAttributeData, symbol.ContainingModule.ObsoleteAttributeData), symbol.ContainingAssembly.ObsoleteAttributeData)
Symbols\Retargeting\RetargetingSymbolTranslator.vb (4)
175Dim retargetFrom As AssemblySymbol = type.ContainingAssembly 280Debug.Assert(type.ContainingAssembly IsNot RetargetingAssembly.UnderlyingAssembly) 287type.ContainingAssembly.GetGuidString(scope) 819Dim errorInfo = If(type.ErrorInfo, ErrorFactory.ErrorInfo(ERRID.ERR_InReferencedAssembly, If(type.ContainingAssembly?.Identity.GetDisplayName, "")))
Symbols\Source\OverrideHidingHelper.vb (2)
1009If overridden.DeclaredAccessibility = Accessibility.ProtectedOrFriend And Not overriding.ContainingAssembly = overridden.ContainingAssembly Then
Symbols\Source\SourceAssemblySymbol.vb (1)
1767stdmodule.ContainingAssembly Is Me
Symbols\Source\SourceFieldSymbol.vb (1)
686Dim specialTypeInt64 = Me.ContainingAssembly.GetSpecialType(SpecialType.System_Int64)
Symbols\Source\SourceMemberContainerTypeSymbol.vb (2)
3631If Not OverloadResolution.ValidateOverloadedOperator(method, opInfo, diagnostics, ContainingAssembly) Then 3943Dim useSiteInfo As New CompoundUseSiteInfo(Of AssemblySymbol)(diagnostics, ContainingAssembly)
Symbols\Source\SourceMemberFieldSymbol.vb (2)
268constantType = ContainingAssembly.GetSpecialType(SpecialType.System_Object) 273constantType = ContainingAssembly.GetSpecialType(SpecialType.System_Object)
Symbols\Source\SourceNamedTypeSymbol.vb (6)
83containingSymbol.ContainingAssembly.KeepLookingForDeclaredSpecialTypes AndAlso 579If Not nodeNameIsAlreadyDeclared AndAlso container.IsNamespace AndAlso Me.ContainingAssembly.Modules.Length > 1 Then 582Dim mergedAssemblyNamespace = TryCast(Me.ContainingAssembly.GetAssemblyNamespace(containingNamespace), MergedNamespaceSymbol) 1429Dim useSiteInfo As New CompoundUseSiteInfo(Of AssemblySymbol)(diagnostics, ContainingAssembly) 1480Dim useSiteInfo As New CompoundUseSiteInfo(Of AssemblySymbol)(diagnostics, ContainingAssembly) 1750If HasExtendedLayoutAttribute And Not ContainingAssembly.RuntimeSupportsExtendedLayout Then
Symbols\Source\SourceTypeParameterSymbol.vb (1)
180Dim containingAssembly As AssemblySymbol = Me.ContainingAssembly
Symbols\Source\SynthesizedMainTypeEntryPoint.vb (1)
44Return ContainingAssembly.GetSpecialType(SpecialType.System_Void)
Symbols\Source\SynthesizedMyGroupCollectionPropertyAccessorSymbol.vb (1)
213Return ContainingAssembly.GetSpecialType(SpecialType.System_Void)
Symbols\SubstitutedErrorType.vb (1)
99Return _fullInstanceType.ContainingAssembly
Symbols\SubstitutedNamedType.vb (1)
100Return OriginalDefinition.ContainingAssembly
Symbols\Symbol_Attributes.vb (2)
258Dim sourceAssembly = DirectCast(If(Me.Kind = SymbolKind.Assembly, Me, Me.ContainingAssembly), SourceAssemblySymbol) 623Debug.Assert(attribute.AttributeClass.ContainingAssembly Is compilation.Assembly)
Symbols\Symbol.vb (6)
105If ContainingAssembly.IsInteractive Then 123If ContainingAssembly.IsInteractive Then 228Return container.ContainingAssembly 954Dim dependency As AssemblySymbol = Me.ContainingAssembly 1190Return Me.ContainingAssembly 1196Return Me.ContainingAssembly
Symbols\SynthesizedSymbols\SynthesizedConstructorBase.vb (1)
52m_voidType = ContainingAssembly.GetSpecialType(SpecialType.System_Void)
Symbols\SynthesizedSymbols\SynthesizedEventDelegateSymbol.vb (1)
241Return _containingType.ContainingAssembly.GetSpecialType(Microsoft.CodeAnalysis.SpecialType.System_MulticastDelegate)
Symbols\SynthesizedSymbols\SynthesizedMethod.vb (1)
96Dim type = ContainingAssembly.GetSpecialType(SpecialType.System_Void)
Symbols\TypeSymbolExtensions.vb (1)
682Dim genericIEnumerable = typeWithContainingAssembly.ContainingAssembly.GetSpecialType(SpecialType.System_Collections_Generic_IEnumerable_T)
Symbols\WellKnownMembers.vb (5)
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) 711Dim stringArray = ArrayTypeSymbol.CreateSZArray(stringType, ImmutableArray(Of CustomModifier).Empty, stringType.ContainingAssembly)