26 overrides of ContainingType
Microsoft.CodeAnalysis.VisualBasic (26)
Symbols\AnonymousTypes\PublicSymbols\AnonymousType_PropertyPublicSymbol.vb (1)
71Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_PropertySymbol.vb (1)
137Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\Metadata\PE\PEEventSymbol.vb (1)
123Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\Metadata\PE\PEFieldSymbol.vb (1)
102Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\Metadata\PE\PEMethodSymbol.vb (1)
309Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\Metadata\PE\PEPropertySymbol.vb (1)
149Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\NamedTypeSymbol.vb (1)
111Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\NamespaceSymbol.vb (1)
106Public NotOverridable Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\ReducedExtensionMethodSymbol.vb (1)
347Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\SignatureOnlyPropertySymbol.vb (1)
69Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\Source\SourceEventSymbol.vb (1)
427Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\Source\SourceFieldSymbol.vb (1)
119Public NotOverridable Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\Source\SourceMethodSymbol.vb (1)
602Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (2)
1115Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol 1726Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\Source\SourcePropertySymbol.vb (1)
434Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\Source\SynthesizedFieldSymbol.vb (1)
126Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\Source\SynthesizedMyGroupCollectionPropertySymbol.vb (1)
83Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\SubstitutedEventSymbol.vb (1)
97Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\SubstitutedFieldSymbol.vb (1)
38Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\SubstitutedPropertySymbol.vb (1)
87Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\SynthesizedSymbols\SynthesizedBackingFieldBase.vb (1)
73Public NotOverridable Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\SynthesizedSymbols\SynthesizedDelegateMethodSymbol.vb (1)
101Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\SynthesizedSymbols\SynthesizedGlobalMethodBase.vb (1)
222Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\SynthesizedSymbols\SynthesizedMethodBase.vb (1)
50Public NotOverridable Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\SynthesizedSymbols\SynthesizedOverridingWitheventsProperty.vb (1)
94Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
201 references to ContainingType
Microsoft.CodeAnalysis.VisualBasic (201)
Analysis\FlowAnalysis\DataFlowPass.vb (2)
532Dim containingType As TypeSymbol = DirectCast(symbol.ContainingType, TupleTypeSymbol).UnderlyingNamedType 539While Not TypeSymbol.Equals(containingType, symbol.ContainingType, TypeCompareKind.ConsiderEverything)
Binding\Binder.vb (2)
581member.MergeUseSiteInfo(useSiteInfo, member.ContainingType.GetUseSiteInfo()) 957If(symbol.ContainingType?.IsInterface, False) Then
Binding\Binder_Delegates.vb (1)
945ElseIf TypeOf sym.ContainingType Is SynthesizedEventDelegateSymbol Then
Binding\Binder_Expressions.vb (1)
2586Dim container = member.ContainingType
Binding\Binder_Invocation.vb (17)
1463singleSymbol, singleSymbol.ContainingType) 1475singleSymbol, singleSymbol.ContainingType) 1774Dim container As NamedTypeSymbol = bestSymbols(0).ContainingType 1777If Not TypeSymbol.Equals(bestSymbols(i).ContainingType, container, TypeCompareKind.ConsiderEverything) Then 1799diagnosticInfos.Add(ErrorFactory.ErrorInfo(ERRID.ERR_ExtensionMethodOverloadCandidate2, bestSymbol, bestSymbol.ContainingType)) 1807diagnosticInfos.Add(ErrorFactory.ErrorInfo(ERRID.ERR_ExtensionMethodOverloadCandidate3, bestSymbol, bestSymbol.ContainingType, notMostSpecificMessage)) 2067candidateSymbol, candidateSymbol.ContainingType) 2136candidateSymbol, candidateSymbol.ContainingType) 2163candidateSymbol, candidateSymbol.ContainingType) 2184candidateSymbol, candidateSymbol.ContainingType) 2218candidateSymbol, candidateSymbol.ContainingType) 2239ReportDiagnostic(diagnostics, diagnosticLocation, If(queryMode, ERRID.ERR_TypeInferenceFailureNoExplicitAmbiguous3, ERRID.ERR_TypeInferenceFailureAmbiguous3), candidateSymbol, candidateSymbol.ContainingType) 2247ReportDiagnostic(diagnostics, diagnosticLocation, If(queryMode, ERRID.ERR_TypeInferenceFailureNoExplicitNoBest3, ERRID.ERR_TypeInferenceFailureNoBest3), candidateSymbol, candidateSymbol.ContainingType) 2260ReportDiagnostic(diagnostics, diagnosticLocation, If(queryMode, ERRID.ERR_TypeInferenceFailureNoExplicit3, ERRID.ERR_TypeInferenceFailure3), candidateSymbol, candidateSymbol.ContainingType) 2346candidateSymbol, candidateSymbol.ContainingType) 2357ERRID.ERR_TooManyArgs2, candidateSymbol, candidateSymbol.ContainingType) 2427candidateSymbol, candidateSymbol.ContainingType)
Binding\Binder_Lookup.vb (2)
1770Debug.Assert(TypeSymbol.Equals(newSymbolContainer, newSymbol.ContainingType, TypeCompareKind.ConsiderEverything)) 1805If otherKnown IsNot Nothing AndAlso TypeSymbol.Equals(otherKnown.ContainingType, knownSymbolContainer, TypeCompareKind.ConsiderEverything) Then
Binding\Binder_Operators.vb (1)
691bitwiseCandidate.UnderlyingSymbol.ContainingType,
Binding\Binder_Statements.vb (1)
350If InitializerRewriter.HasExplicitMeConstructorCall(body, ContainingMember.ContainingType, hasMyBaseConstructorCall) OrElse hasMyBaseConstructorCall Then
Binding\BinderBuilder.vb (2)
277containingType = target.ContainingSymbol.ContainingType 280containingType = target.ContainingType
Binding\BindingDiagnosticBag.vb (1)
117AddDependencies(If(TryCast(symbol, TypeSymbol), symbol.ContainingType))
Binding\DocumentationCommentBinder.vb (2)
46ElseIf commentedSymbol.ContainingType IsNot Nothing Then 47Debug.Assert(TypeSymbol.Equals(DirectCast(binderContainingMember, TypeSymbol), commentedSymbol.ContainingType, TypeCompareKind.ConsiderEverything))
Binding\DocumentationCommentCrefBinder.vb (1)
694containingSymbol = containingSymbol.ContainingType
Binding\LookupResult.vb (4)
627Debug.Assert(Not Me.HasSymbol OrElse other.Symbol Is Nothing OrElse TypeSymbol.Equals(Me.Symbols(0).ContainingType, other.Symbol.ContainingType, TypeCompareKind.ConsiderEverything)) 739Debug.Assert(TypeSymbol.Equals(symbol1.ContainingType, symbol2.ContainingType, TypeCompareKind.ConsiderEverything)) 740If symbol1.Kind <> SymbolKind.Field OrElse symbol2.Kind <> SymbolKind.Field OrElse symbol1.ContainingType.TypeKind <> TypeKind.Enum Then
Binding\SyntheticBoundTrees\SynthesizedPropertyAccessorBase.vb (1)
144For Each member In accessor.ContainingType.GetMembers()
Compilation\ClsComplianceChecker.vb (6)
324Dim containingType As NamedTypeSymbol = symbol.ContainingType 356Dim containingType As NamedTypeSymbol = symbol.ContainingType 432If ShouldReportNonCompliantType(type, symbol.ContainingType, symbol) Then 710Dim containing As Symbol = If(DirectCast(symbol.ContainingType, Symbol), GetContainingModuleOrAssembly(symbol)) 809symbol = symbol.ContainingType 821Dim containingType = symbol.ContainingType
Compilation\DocumentationComments\DocumentationCommentCompiler.Common.vb (1)
783containingBinder = BinderBuilder.CreateBinderForType([module], tree, sym.ContainingType)
Compilation\MethodCompiler.vb (1)
140Return IsDefinedOrImplementedInSourceTree(symbol.ContainingType, tree, span)
DocumentationComments\DocumentationCommentIDVisitor.PartVisitor.vb (1)
113Dim curr As NamedTypeSymbol = containingSymbol.ContainingType
Emit\EditAndContinue\VisualBasicSymbolMatcher.vb (2)
363If member.ContainingType Is Nothing Then 372Dim otherType As NamedTypeSymbol = DirectCast(Visit(member.ContainingType), NamedTypeSymbol)
Emit\EventSymbolAdapter.vb (2)
96Return AdaptedEventSymbol.ContainingType.GetCciAdapter() 111Return AdaptedEventSymbol.ContainingType.GetCciAdapter()
Emit\FieldSymbolAdapter.vb (2)
83Return moduleBeingBuilt.Translate(AdaptedFieldSymbol.ContainingType, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics, needDeclaration:=AdaptedFieldSymbol.IsDefinition) 222Return AdaptedFieldSymbol.ContainingType.GetCciAdapter()
Emit\MethodSymbolAdapter.vb (6)
51Debug.Assert(AdaptedMethodSymbol.ContainingType IsNot Nothing AndAlso IsOrInGenericType(AdaptedMethodSymbol.ContainingType)) 68Return moduleBeingBuilt.Translate(AdaptedMethodSymbol.ContainingType, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics) 75Return moduleBeingBuilt.Translate(AdaptedMethodSymbol.ContainingType, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics, needDeclaration:=True) 217Dim container As NamedTypeSymbol = AdaptedMethodSymbol.ContainingType 248Return AdaptedMethodSymbol.ContainingType.GetCciAdapter()
Emit\NoPia\EmbeddedTypesManager.vb (1)
521Dim namedType = member.AdaptedSymbol.ContainingType
Emit\PropertySymbolAdapter.vb (2)
155Return AdaptedPropertySymbol.ContainingType.GetCciAdapter() 168Return AdaptedPropertySymbol.ContainingType.GetCciAdapter()
Emit\SymbolTranslator.vb (1)
462container.ContainingType.IsGenericType
Emit\TypeMemberReference.vb (1)
16Return moduleBeingBuilt.Translate(UnderlyingSymbol.ContainingType, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics)
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (1)
198TypeSymbol.Equals(sourceProperty.ContainingType, fromMember.ContainingType, TypeCompareKind.ConsiderEverything) AndAlso
Semantics\AccessCheck.vb (7)
135Return CheckMemberAccessibility(symbol.ContainingType, symbol.DeclaredAccessibility, within, throughTypeOpt, basesBeingResolved, useSiteInfo) 692Dim containingType As NamedTypeSymbol = member.ContainingType 788Dim enclosingType As NamedTypeSymbol = symbol.ContainingType 883If CanBeAccessedThroughInheritance(exposedType, exposingMember.ContainingType, isOutsideAssembly, useSiteInfo) Then 996Dim enclosingType As NamedTypeSymbol = member.ContainingType 1126Dim membersContainer As NamedTypeSymbol = member.ContainingType 1174membersContainer = member.ContainingType
Semantics\OverloadResolution.vb (5)
3756binder.Compilation.GetWellKnownType(WellKnownType.System_Attribute).IsBaseTypeOf(candidate.Candidate.UnderlyingSymbol.ContainingType, useSiteInfo) Then 4527Dim existingType As NamedTypeSymbol = existingSymbol.ContainingType 4528Dim newType As NamedTypeSymbol = newSymbol.ContainingType 4629If Not ((left.Candidate.UnderlyingSymbol.ContainingType.IsOrInGenericType() OrElse 4631(right.Candidate.UnderlyingSymbol.ContainingType.IsOrInGenericType() OrElse
Symbols\AnonymousTypes\AnonymousTypeManager_Templates.vb (1)
278Dim type = method.ContainingType
Symbols\AnonymousTypes\PublicSymbols\AnonymousType_PropertyPublicAccessors.vb (1)
17MyBase.New([property].ContainingType, [property])
Symbols\AnonymousTypes\PublicSymbols\AnonymousTypeOrDelegatePublicSymbol.vb (4)
269Debug.Assert(method.ContainingType Is Me) 277Debug.Assert(method.ContainingType.IsAnonymousType) 287For Each member In method.ContainingType.GetMembers() 293Debug.Assert(index < method.ContainingType.GetMembers().Length)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_PropertyAccessors.vb (1)
21MyBase.New([property].ContainingType, [property])
Symbols\EmbeddedSymbols\EmbeddedSymbolManager.SymbolsCollection.vb (5)
221AddReferencedSymbolWithDependents(symbol.ContainingType, allSymbols) 229AddReferencedSymbolWithDependents(symbol.ContainingType, allSymbols) 254AddReferencedSymbolWithDependents(symbol.ContainingType, allSymbols) 299If symbol.ContainingType IsNot Nothing Then 300AddReferencedSymbolWithDependents(symbol.ContainingType, allSymbols)
Symbols\EventSymbol.vb (3)
356Return TypeSymbol.Equals(Me.ContainingType, other.ContainingType, TypeCompareKind.ConsiderEverything) AndAlso Me.OriginalDefinition Is other.OriginalDefinition 361code = Hash.Combine(Me.ContainingType, code)
Symbols\FieldSymbol.vb (1)
397Return If(TypeSymbol.Equals(newOwner, Me.ContainingType, TypeCompareKind.ConsiderEverything),
Symbols\Metadata\PE\PEMethodSymbol.vb (1)
1023Debug.Assert(TypeSymbol.Equals(propertyOrEventSymbol.ContainingType, Me.ContainingType, TypeCompareKind.ConsiderEverything))
Symbols\Metadata\PE\PEParameterSymbol.vb (1)
670New MetadataDecoder(containingModule, DirectCast(ContainingType, PENamedTypeSymbol)))
Symbols\MethodSignatureComparer.vb (1)
799Dim containingType As NamedTypeSymbol = method.ContainingType
Symbols\MethodSymbol.vb (5)
228Dim containingType As NamedTypeSymbol = Me.ContainingType 496Return Me.MethodKind = MethodKind.Constructor AndAlso Me.ContainingType.IsScriptClass 519If Me.ContainingType.IsEmbedded Then 551Dim type = Me.ContainingType 785Return Me.ContainingType
Symbols\NamespaceOrTypeSymbol.vb (1)
236Return originalBinder.CanAddLookupSymbolInfo(method, options, nameSet, accessThroughType:=method.ContainingType)
Symbols\OverriddenMembersResult.vb (2)
90Dim overriddenByDefinitionContaining As NamedTypeSymbol = overriddenByDefinitionMember.ContainingType 92Dim baseType As NamedTypeSymbol = substitutedOverridingMember.ContainingType.BaseTypeNoUseSiteDiagnostics
Symbols\PropertySymbol.vb (2)
212TypeSymbol.Equals(sourceProperty.ContainingType, fromMember.ContainingType, TypeCompareKind.ConsiderEverything) AndAlso 404Return ContainingType
Symbols\ReducedExtensionMethodSymbol.vb (2)
57Debug.Assert(Not possiblyExtensionMethod.ContainingType.IsGenericType) 349Return _curriedFromMethod.ContainingType
Symbols\Retargeting\RetargetingSymbolTranslator.vb (6)
72container.ContainingType, 678newAttributeType = newAttributeCtor.ContainingType 888Dim containingType = method.ContainingType 1007Dim containingType As NamedTypeSymbol = _toFind.ContainingType 1040Dim containingType = [event].ContainingType 1072Dim containingType = [property].ContainingType
Symbols\Source\CustomEventAccessorSymbol.vb (1)
229diagnostics.Add(ERRID.ERR_EventImplRemoveHandlerParamWrong, location, _event.Name, firstImplementedEvent.Name, firstImplementedEvent.ContainingType)
Symbols\Source\ImplementsHelper.vb (12)
226possibleMatchMember.ContainingType.IsInterface AndAlso 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 288If TypeSymbol.Equals(first.ContainingType, second.ContainingType, TypeCompareKind.ConsiderEverything) Then 292CustomSymbolDisplayFormatter.ShortNameWithTypeArgs(first.ContainingType), 294CustomSymbolDisplayFormatter.ShortNameWithTypeArgs(first.ContainingType), 547ErrorFactory.ErrorInfo(ERRID.ERR_ImplementsWithConstraintMismatch3, implementingMethod, implementedMethod.ContainingType, implementedMethod), 568Dim interfaceType As NamedTypeSymbol = interfaceMember.ContainingType 672Dim unsubstitutedInterfaceType = unsubstitutedMember.ContainingType
Symbols\Source\MeParameterSymbol.vb (1)
22Me._type = _container.ContainingType
Symbols\Source\OverrideHidingHelper.vb (20)
412hiddenMember.ContainingType.GetKindText(), 413CustomSymbolDisplayFormatter.ShortErrorName(hiddenMember.ContainingType)), 422associatedhiddenSymbol.GetKindText(), AssociatedSymbolName(associatedhiddenSymbol), hiddenMember.ContainingType.GetKindText(), 423CustomSymbolDisplayFormatter.ShortErrorName(hiddenMember.ContainingType)), 429hidingMember.Name, hiddenMember.ContainingType.GetKindText(), 430CustomSymbolDisplayFormatter.ShortErrorName(hiddenMember.ContainingType)), 438If hiddenMember.IsOverridable OrElse hiddenMember.IsOverrides OrElse (hiddenMember.IsMustOverride AndAlso Not hiddenMember.ContainingType.IsInterface) Then 445hidingMember.GetKindText(), hidingMember.Name, hiddenMember.ContainingType.GetKindText(), 446CustomSymbolDisplayFormatter.ShortErrorName(hiddenMember.ContainingType)), 452hidingMember.GetKindText(), hidingMember.Name, hiddenMember.GetKindText(), hiddenMember.ContainingType.GetKindText(), 453CustomSymbolDisplayFormatter.ShortErrorName(hiddenMember.ContainingType)), 477hiddenMember.ContainingType.GetKindText(), 478CustomSymbolDisplayFormatter.ShortErrorName(hiddenMember.ContainingType)), 639Dim containingType As NamedTypeSymbol = overridingSym.ContainingType 818Dim memberContainingType As NamedTypeSymbol = member.ContainingType 865CustomSymbolDisplayFormatter.ShortErrorName(overriddenMembers(0).ContainingType), 908member, member.ContainingType, overriddenMember, overriddenMember.ContainingType, inaccessibleMember.ContainingType), 984If Not AccessCheck.IsSymbolAccessible(overriddenAccessor.OriginalDefinition, overridingAccessor.ContainingType, Nothing, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded) Then
Symbols\Source\SourceEventSymbol.vb (2)
214implemented.ContainingType) 299diagnostics.Add(ERRID.ERR_EventImplMismatch5, errLocation, {Me, implemented, implemented.ContainingType, type, implemented.Type})
Symbols\Source\SourceMemberContainerTypeSymbol.vb (5)
832Dim container As NamedTypeSymbol = type.ContainingType 975syntax = method.ContainingType.GetDeclaringSyntaxNode(Of MethodBaseSyntax)() 2155firstField.ContainingType, 2168firstField.ContainingType.Name, 3393CustomSymbolDisplayFormatter.ShortNameWithTypeArgs(interfaceMember.ContainingType),
Symbols\Source\SourceMemberMethodSymbol.vb (1)
658Dim isFromBase = Not TypeSymbol.Equals(witheventsProperty.ContainingType, Me.ContainingType, TypeCompareKind.ConsiderEverything)
Symbols\Source\SourceMethodSymbol.vb (1)
1768If methodImpl IsNot Nothing AndAlso (methodImpl.IsAsync OrElse methodImpl.IsIterator) AndAlso Not methodImpl.ContainingType.IsInterfaceType() Then
Symbols\Source\SourceParameterSymbol.vb (1)
104Not Me.ContainingType.AssociatedSymbol?.IsImplicitlyDeclared Then
Symbols\Source\SynthesizedStaticLocalBackingField.vb (1)
31MyBase.New(implicitlyDefinedBy.ContainingType,
Symbols\Source\SynthesizedSubmissionConstructorSymbol.vb (1)
70Dim meReference = New BoundMeReference(syntax, constructor.ContainingType)
Symbols\SubstitutedErrorType.vb (1)
275Not containingType.Equals(obj.ContainingType, comparison) Then
Symbols\SubstitutedMethodSymbol.vb (7)
120Return Me.ContainingType 367_hash = Hash.Combine(ContainingType, _hash) 390Dim containingType = Me.ContainingType 392If Not Me.ContainingType.Equals(other.ContainingType) Then 451Debug.Assert(TypeSymbol.Equals(propertyOrEventSymbol.ContainingType, Me.ContainingType, TypeCompareKind.ConsiderEverything))
Symbols\SubstitutedNamedType.vb (2)
437Debug.Assert(TypeSymbol.Equals(member.ContainingType, Me.OriginalDefinition, TypeCompareKind.ConsiderEverything)) 541Not containingType.Equals(other.ContainingType, comparison) Then
Symbols\Symbol.vb (6)
98If ContainingType.TypeKind = TypeKind.Submission Then 112If ContainingType.TypeKind = TypeKind.Submission Then 119Debug.Assert(ContainingType.TypeKind <> TypeKind.Submission) 194Return container.ContainingType 1225Return Me.ContainingType 1231Return Me.ContainingType
Symbols\SymbolExtensions.vb (4)
212Return sym.ContainingType.IsInterfaceType() AndAlso 274method.ContainingType.IsValueType AndAlso 404Dim upperLevelType = If(symbol.Kind = SymbolKind.NamedType, DirectCast(symbol, NamedTypeSymbol), symbol.ContainingType) 435If type Is origMember.ContainingType Then
Symbols\SynthesizedSymbols\SynthesizedAttributeData.vb (1)
71Return _attributeConstructor.ContainingType
Symbols\SynthesizedSymbols\SynthesizedBackingFieldBase.vb (2)
69Return _propertyOrEvent.ContainingType 75Return _propertyOrEvent.ContainingType
Symbols\SynthesizedSymbols\SynthesizedInterfaceImplementationStubSymbol.vb (1)
36MyBase.New(implementingMethod.ContainingType)
Symbols\SynthesizedSymbols\SynthesizedParameterSymbol.vb (1)
108Return propertySetter.ContainingType.IsInterface
Symbols\Tuples\TupleFieldSymbol.vb (4)
89Debug.Assert(container.UnderlyingNamedType.IsSameTypeIgnoringAll(underlyingField.ContainingType) OrElse TypeOf Me Is TupleVirtualElementFieldSymbol, 182Dim flag As Boolean = Me._underlyingField.ContainingType IsNot Me._containingTuple.TupleUnderlyingType 195Dim flag As Boolean = Me._underlyingField.ContainingType IsNot Me._containingTuple.TupleUnderlyingType 235Debug.Assert(name <> underlyingField.Name OrElse Not container.UnderlyingNamedType.Equals(underlyingField.ContainingType),
Symbols\Tuples\TupleTypeSymbol.vb (1)
931If originalDefinition.ContainingType Is Me._underlyingType.OriginalDefinition Then
Symbols\TypeSubstitution.vb (5)
310current = current.ContainingType 467Dim container As NamedTypeSymbol = targetGenericDefinition.ContainingType 515If parent Is Nothing OrElse parent.TargetGenericDefinition Is targetGenericDefinition.ContainingType Then 519Dim containingType As NamedTypeSymbol = targetGenericDefinition.ContainingType 568(targetGenericDefinition.ContainingType.IsOrInGenericType() AndAlso parent IsNot Nothing))) OrElse
Symbols\TypeSymbol.vb (3)
652Not Me.ImplementsInterface(interfaceMember.ContainingType, comparer:=EqualsIgnoringComparer.InstanceCLRSignatureCompare, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded) Then 762EqualsIgnoringComparer.InstanceCLRSignatureCompare.Equals(x.ContainingType, y.ContainingType)
Symbols\TypeSymbolExtensions.vb (3)
836Dim containingType = current.ContainingType 846Debug.Assert(current.ContainingType Is Nothing) 1333Return typeSymbol.ContainingType Is Nothing AndAlso IsContainedInNamespace(typeSymbol, "System", "Runtime", "CompilerServices")