Symbols\ArrayTypeSymbol.vb (24)
78Private Shared Function GetSZArrayInterfaces(elementType As TypeSymbol, declaringAssembly As AssemblySymbol) As ImmutableArray(Of NamedTypeSymbol)
94Return ImmutableArray(Of NamedTypeSymbol).Empty
169Friend MustOverride Overrides ReadOnly Property BaseTypeNoUseSiteDiagnostics As NamedTypeSymbol
218Public Overrides Function GetTypeMembers() As ImmutableArray(Of NamedTypeSymbol)
219Return ImmutableArray(Of NamedTypeSymbol).Empty
228Public Overrides Function GetTypeMembers(name As String) As ImmutableArray(Of NamedTypeSymbol)
229Return ImmutableArray(Of NamedTypeSymbol).Empty
238Public Overrides Function GetTypeMembers(name As String, arity As Integer) As ImmutableArray(Of NamedTypeSymbol)
239Return ImmutableArray(Of NamedTypeSymbol).Empty
479Private ReadOnly _systemArray As NamedTypeSymbol ' The base class - System.Array
481Public Sub New(elementType As TypeSymbol, customModifiers As ImmutableArray(Of CustomModifier), systemArray As NamedTypeSymbol)
502Friend NotOverridable Overrides ReadOnly Property BaseTypeNoUseSiteDiagnostics As NamedTypeSymbol
522Dim newInterfaces As ImmutableArray(Of NamedTypeSymbol) = Me.InterfacesNoUseSiteDiagnostics
524newInterfaces = newInterfaces.SelectAsArray(Function([interface], map) DirectCast([interface].InternalSubstituteTypeParameters(map).AsTypeSymbolOnly(), NamedTypeSymbol), substitution)
549Private ReadOnly _interfaces As ImmutableArray(Of NamedTypeSymbol) ' Empty or IList(Of ElementType) and possibly IReadOnlyList(Of ElementType)
551Public Sub New(elementType As TypeSymbol, customModifiers As ImmutableArray(Of CustomModifier), systemArray As NamedTypeSymbol, interfaces As ImmutableArray(Of NamedTypeSymbol))
570Friend Overrides ReadOnly Property InterfacesNoUseSiteDiagnostics As ImmutableArray(Of NamedTypeSymbol)
583Dim newInterfaces As ImmutableArray(Of NamedTypeSymbol) = _interfaces
600Public Sub New(elementType As TypeSymbol, customModifiers As ImmutableArray(Of CustomModifier), rank As Integer, systemArray As NamedTypeSymbol)
619Friend NotOverridable Overrides ReadOnly Property InterfacesNoUseSiteDiagnostics As ImmutableArray(Of NamedTypeSymbol)
621Return ImmutableArray(Of NamedTypeSymbol).Empty
630Public Sub New(elementType As TypeSymbol, customModifiers As ImmutableArray(Of CustomModifier), rank As Integer, systemArray As NamedTypeSymbol)
658systemArray As NamedTypeSymbol
Symbols\ConstraintsHelper.vb (13)
166Dim classType = DirectCast(constraintType, NamedTypeSymbol)
439DirectCast(type, NamedTypeSymbol).CheckConstraints(
452Dim type As NamedTypeSymbol = tuple.TupleUnderlyingType
462Dim underlyingTupleTypeChain = ArrayBuilder(Of NamedTypeSymbol).GetInstance
496type As NamedTypeSymbol,
527type As NamedTypeSymbol,
536type = DirectCast(type.GetTupleUnderlyingTypeOrSelf(), NamedTypeSymbol)
585type As NamedTypeSymbol,
829Public Function GetClassConstraint(typeParameter As TypeParameterSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As NamedTypeSymbol
845Return DirectCast(baseType, NamedTypeSymbol)
959Dim namedType = DirectCast(typeArgument, NamedTypeSymbol)
1164Public Function HasPublicParameterlessConstructor(type As NamedTypeSymbol) As ConstructorConstraintError
1218Private Function RequiresChecking(type As NamedTypeSymbol) As Boolean
Symbols\Metadata\PE\PENamedTypeSymbol.vb (29)
60Private _lazyEnumUnderlyingType As NamedTypeSymbol
248Friend Overrides Function GetInterfacesToEmit() As IEnumerable(Of NamedTypeSymbol)
252Friend Overrides Function MakeDeclaredBase(basesBeingResolved As BasesBeingResolved, diagnostics As BindingDiagnosticBag) As NamedTypeSymbol
260Return DirectCast(TupleTypeDecoder.DecodeTupleTypesIfApplicable(decodedType, _handle, moduleSymbol), NamedTypeSymbol)
270Friend Overrides Function MakeDeclaredInterfaces(basesBeingResolved As BasesBeingResolved, diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol)
276Return ImmutableArray(Of NamedTypeSymbol).Empty
279Dim symbols As NamedTypeSymbol() = New NamedTypeSymbol(interfaceImpls.Count - 1) {}
286typeSymbol = DirectCast(TupleTypeDecoder.DecodeTupleTypesIfApplicable(typeSymbol, interfaceImpl, moduleSymbol), NamedTypeSymbol)
289Dim namedTypeSymbol As NamedTypeSymbol = TryCast(typeSymbol, NamedTypeSymbol)
297Return ImmutableArray.Create(Of NamedTypeSymbol)(New UnsupportedMetadataTypeSymbol(mrEx))
305Friend Overrides Function MakeAcyclicBaseType(diagnostics As BindingDiagnosticBag) As NamedTypeSymbol
314Friend Overrides Function MakeAcyclicInterfaces(diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol)
315Dim declaredInterfaces As ImmutableArray(Of NamedTypeSymbol) = GetDeclaredInterfacesNoUseSiteDiagnostics(Nothing)
333Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
335Return TryCast(_container, NamedTypeSymbol)
374Public Overrides ReadOnly Property EnumUnderlyingType As NamedTypeSymbol
387Dim underlyingType As NamedTypeSymbol = Nothing
394underlyingType = DirectCast(type, NamedTypeSymbol)
769Friend Overrides Function GetTypeMembersUnordered() As ImmutableArray(Of NamedTypeSymbol)
772Return StaticCast(Of NamedTypeSymbol).From(_lazyNestedTypes.Flatten())
775Public Overloads Overrides Function GetTypeMembers() As ImmutableArray(Of NamedTypeSymbol)
778Return StaticCast(Of NamedTypeSymbol).From(_lazyNestedTypes.Flatten(DeclarationOrderSymbolComparer.Instance))
802Public Overloads Overrides Function GetTypeMembers(name As String) As ImmutableArray(Of NamedTypeSymbol)
808Return StaticCast(Of NamedTypeSymbol).From(t)
811Return ImmutableArray(Of NamedTypeSymbol).Empty
814Public Overloads Overrides Function GetTypeMembers(name As String, arity As Integer) As ImmutableArray(Of NamedTypeSymbol)
984appendThrough As NamedTypeSymbol)
Symbols\NamedTypeSymbol.vb (43)
99Public MustOverride ReadOnly Property ConstructedFrom As NamedTypeSymbol
105Public Overridable ReadOnly Property EnumUnderlyingType As NamedTypeSymbol
111Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
113Return TryCast(Me.ContainingSymbol, NamedTypeSymbol)
370appendThrough As NamedTypeSymbol)
470Public Function Construct(ParamArray typeArguments() As TypeSymbol) As NamedTypeSymbol
477Public Function Construct(typeArguments As IEnumerable(Of TypeSymbol)) As NamedTypeSymbol
489Public MustOverride Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) As NamedTypeSymbol
509Friend Function Construct(substitution As TypeSubstitution) As NamedTypeSymbol
522Return DirectCast(InternalSubstituteTypeParameters(substitution).AsTypeSymbolOnly(), NamedTypeSymbol)
528Public Function ConstructUnboundGenericType() As NamedTypeSymbol
621Public MustOverride Overrides Function GetTypeMembers() As ImmutableArray(Of NamedTypeSymbol)
629Public MustOverride Overrides Function GetTypeMembers(name As String) As ImmutableArray(Of NamedTypeSymbol)
637Public MustOverride Overrides Function GetTypeMembers(name As String, arity As Integer) As ImmutableArray(Of NamedTypeSymbol)
719Private _lazyDeclaredBase As NamedTypeSymbol = ErrorTypeSymbol.UnknownResultType
720Private _lazyDeclaredInterfaces As ImmutableArray(Of NamedTypeSymbol) = Nothing
729Friend MustOverride Function MakeDeclaredBase(basesBeingResolved As BasesBeingResolved, diagnostics As BindingDiagnosticBag) As NamedTypeSymbol
738Friend MustOverride Function MakeDeclaredInterfaces(basesBeingResolved As BasesBeingResolved, diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol)
747Friend Overridable Function GetDeclaredBase(basesBeingResolved As BasesBeingResolved) As NamedTypeSymbol
799Friend Overridable Function GetDeclaredInterfacesNoUseSiteDiagnostics(basesBeingResolved As BasesBeingResolved) As ImmutableArray(Of NamedTypeSymbol)
809Friend Function GetDeclaredInterfacesWithDefinitionUseSiteDiagnostics(basesBeingResolved As BasesBeingResolved, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ImmutableArray(Of NamedTypeSymbol)
819Friend Function GetDirectBaseInterfacesNoUseSiteDiagnostics(basesBeingResolved As BasesBeingResolved) As ImmutableArray(Of NamedTypeSymbol)
827Return ImmutableArray(Of NamedTypeSymbol).Empty
831Friend Overridable Function GetDeclaredBaseInterfacesSafe(basesBeingResolved As BasesBeingResolved) As ImmutableArray(Of NamedTypeSymbol)
847Friend MustOverride Function MakeAcyclicBaseType(diagnostics As BindingDiagnosticBag) As NamedTypeSymbol
855Friend MustOverride Function MakeAcyclicInterfaces(diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol)
857Private _lazyBaseType As NamedTypeSymbol = ErrorTypeSymbol.UnknownResultType
858Private _lazyInterfaces As ImmutableArray(Of NamedTypeSymbol)
864Friend NotOverridable Overrides ReadOnly Property BaseTypeNoUseSiteDiagnostics As NamedTypeSymbol
887Friend NotOverridable Overrides ReadOnly Property InterfacesNoUseSiteDiagnostics As ImmutableArray(Of NamedTypeSymbol)
891Dim acyclicInterfaces As ImmutableArray(Of NamedTypeSymbol) = Me.MakeAcyclicInterfaces(diagnostics)
906Friend Function GetBestKnownBaseType() As NamedTypeSymbol
927Friend Function GetBestKnownInterfacesNoUseSiteDiagnostics() As ImmutableArray(Of NamedTypeSymbol)
941Dim p As NamedTypeSymbol = Me
957Public Overridable Shadows ReadOnly Property OriginalDefinition As NamedTypeSymbol
982Friend Function ImplementsAllMembersOfInterface(iface As NamedTypeSymbol) As Boolean
1018Dim currentType As NamedTypeSymbol = Me
1218Private Overloads Shared Function GetManagedKind(type As NamedTypeSymbol, ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ManagedKind
1219type = DirectCast(type.GetTupleUnderlyingTypeOrSelf(), NamedTypeSymbol)
1244type As NamedTypeSymbol,
1278Dim fieldNamedType = TryCast(fieldType, NamedTypeSymbol)
1540typeToCheck = DirectCast(typeToCheck, NamedTypeSymbol).TypeArgumentsNoUseSiteDiagnostics(TupleTypeSymbol.RestPosition - 1)
1554arity = If(TryCast(typeToCheck, NamedTypeSymbol)?.Arity, 0)
Symbols\Retargeting\RetargetingSymbolTranslator.vb (52)
49Return New RetargetingNamedTypeSymbol(Me, DirectCast(symbol, NamedTypeSymbol))
73DirectCast(container, NamedTypeSymbol))
129Debug.Assert(symbol.Kind <> SymbolKind.NamedType OrElse DirectCast(symbol, NamedTypeSymbol).PrimitiveTypeCode = PrimitiveTypeCode.NotPrimitive)
151Private Function RetargetNamedTypeDefinition(type As NamedTypeSymbol, options As RetargetOptions) As NamedTypeSymbol
215Private Function RetargetNamedTypeDefinitionFromUnderlyingAssembly(type As NamedTypeSymbol) As NamedTypeSymbol
225Return DirectCast(Me.SymbolMap.GetOrAdd(type, New UnsupportedMetadataTypeSymbol()), NamedTypeSymbol)
229Return DirectCast(Me.SymbolMap.GetOrAdd(type, _retargetingModule._createRetargetingNamedType), NamedTypeSymbol)
239Private Function RetargetNoPiaLocalType(type As NamedTypeSymbol) As NamedTypeSymbol
240Dim cached As NamedTypeSymbol = Nothing
246Dim result As NamedTypeSymbol
316Private Shared Function RetargetNamedTypeDefinition(type As PENamedTypeSymbol, addedModule As PEModuleSymbol) As NamedTypeSymbol
323Return DirectCast(cached, NamedTypeSymbol)
326Dim result As NamedTypeSymbol
328Dim containingType As NamedTypeSymbol = type.ContainingType
335Dim scope As NamedTypeSymbol = RetargetNamedTypeDefinition(DirectCast(containingType, PENamedTypeSymbol), addedModule)
352type As NamedTypeSymbol) As NamedTypeSymbol
353Dim result As NamedTypeSymbol = Nothing
357Dim containingType As NamedTypeSymbol = type.ContainingType
358Dim result1 As NamedTypeSymbol
365Dim scope As NamedTypeSymbol = PerformTypeRetargeting(destination, containingType)
389Public Function Retarget(type As NamedTypeSymbol, options As RetargetOptions) As NamedTypeSymbol
390Dim originalDefinition As NamedTypeSymbol = type.OriginalDefinition
392Dim newDefinition As NamedTypeSymbol = RetargetNamedTypeDefinition(originalDefinition, options)
415Dim genericType As NamedTypeSymbol = type
467Dim constructedType As NamedTypeSymbol
504Return DirectCast(constructedType, NamedTypeSymbol)
555Dim namedType = DirectCast(symbol, NamedTypeSymbol)
610Dim newModifier As NamedTypeSymbol = Retarget(DirectCast(oldModifiers(i).Modifier, NamedTypeSymbol), RetargetOptions.RetargetPrimitiveTypesByName) ' should be retargeted by name
674Dim oldAttributeType As NamedTypeSymbol = oldAttribute.AttributeClass
675Dim newAttributeType As NamedTypeSymbol
826Public Function Retarget(sequence As IEnumerable(Of NamedTypeSymbol)) As IEnumerable(Of NamedTypeSymbol)
843Public Function Retarget(sequence As ImmutableArray(Of NamedTypeSymbol)) As ImmutableArray(Of NamedTypeSymbol)
844Dim result = ArrayBuilder(Of NamedTypeSymbol).GetInstance(sequence.Length)
846For Each nts As NamedTypeSymbol In sequence
913Private Function FindMethodInRetargetedType(method As MethodSymbol, retargetedType As NamedTypeSymbol, retargetedMethodComparer As IEqualityComparer(Of MethodSymbol)) As MethodSymbol
920Private ReadOnly _retargetedType As NamedTypeSymbol
923Private Sub New(retargetingModule As RetargetingModuleSymbol, retargetedType As NamedTypeSymbol, toFind As MethodSymbol)
933retargetedType As NamedTypeSymbol,
957retargetedType As NamedTypeSymbol,
1007Dim containingType As NamedTypeSymbol = _toFind.ContainingType
1008Dim retargetedContainingType As NamedTypeSymbol = _retargetedType
1050retargetedType As NamedTypeSymbol) As EventSymbol
1081Private Function FindPropertyInRetargetedType([property] As PropertySymbol, retargetedType As NamedTypeSymbol, retargetedPropertyComparer As IEqualityComparer(Of PropertySymbol)) As PropertySymbol
1126Public Overrides Function VisitNamedType(symbol As NamedTypeSymbol, options As RetargetOptions) As Symbol
Symbols\Source\SourceMemberContainerTypeSymbol.vb (50)
85Private Shared ReadOnly s_emptyTypeMembers As New Dictionary(Of String, ImmutableArray(Of NamedTypeSymbol))(IdentifierComparison.Comparer)
86Private _lazyTypeMembers As Dictionary(Of String, ImmutableArray(Of NamedTypeSymbol))
252Private Function CreateNestedType(declaration As MergedTypeDeclaration) As NamedTypeSymbol
371Dim container = DirectCast(_containingSymbol, NamedTypeSymbol)
469For Each implemented As NamedTypeSymbol In Me.InterfacesNoUseSiteDiagnostics
482Private Function GetImplementsLocation(implementedInterface As NamedTypeSymbol, ByRef directInterface As NamedTypeSymbol) As Location
502Private Function GetImplementsLocation(implementedInterface As NamedTypeSymbol) As Location
503Dim dummy As NamedTypeSymbol = Nothing
507Protected MustOverride Function GetInheritsOrImplementsLocation(base As NamedTypeSymbol, getInherits As Boolean) As Location
593Public ReadOnly ConstructedType As NamedTypeSymbol
602Public Sub New(constructedType As NamedTypeSymbol, typeParameterIndex As Integer)
821Dim namedType = DirectCast(type.GetTupleUnderlyingTypeOrSelf(), NamedTypeSymbol)
831Dim outermostVarianceContainerOfType As NamedTypeSymbol = Nothing
832Dim container As NamedTypeSymbol = type.ContainingType
842Dim outermostVarianceContainerOfContext As NamedTypeSymbol = Nothing
1213Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
1215Return TryCast(_containingSymbol, NamedTypeSymbol)
1600Protected Function GetTypeMembersDictionary() As Dictionary(Of String, ImmutableArray(Of NamedTypeSymbol))
1609Private Function MakeTypeMembers() As Dictionary(Of String, ImmutableArray(Of NamedTypeSymbol))
1623Friend Overrides Function GetTypeMembersUnordered() As ImmutableArray(Of NamedTypeSymbol)
1627Public Overloads Overrides Function GetTypeMembers() As ImmutableArray(Of NamedTypeSymbol)
1631Public Overloads Overrides Function GetTypeMembers(name As String) As ImmutableArray(Of NamedTypeSymbol)
1632Dim members As ImmutableArray(Of NamedTypeSymbol) = Nothing
1636Return ImmutableArray(Of NamedTypeSymbol).Empty
1639Public Overrides Function GetTypeMembers(name As String, arity As Integer) As ImmutableArray(Of NamedTypeSymbol)
2023Public ReadOnly ProcessedTypes As HashSet(Of NamedTypeSymbol)
2027Public ReadOnly Type As NamedTypeSymbol
2030Public Sub New(type As NamedTypeSymbol, path As ConsList(Of FieldSymbol))
2042ProcessedTypes = New HashSet(Of NamedTypeSymbol)()
2115Dim fieldType = TryCast(field.Type, NamedTypeSymbol)
2219Friend Function DetectTypeCircularity_ShouldStepIntoType(typeToTest As NamedTypeSymbol) As Boolean
2299Private Sub CheckDefaultPropertyAgainstAllBases(namedType As NamedTypeSymbol, defaultPropertyName As String, location As Location, diagBag As BindingDiagnosticBag)
2311Private Sub CheckDefaultPropertyAgainstBase(defaultPropertyName As String, baseType As NamedTypeSymbol, location As Location, diagBag As BindingDiagnosticBag)
3343appendThrough As NamedTypeSymbol)
3770Dim other As NamedTypeSymbol = keySetPair.Key
3785Dim originalDefinitionBuckets As New MultiDictionary(Of NamedTypeSymbol, NamedTypeSymbol)
3874Private Sub ReportInterfaceUnificationError(diagnostics As BindingDiagnosticBag, interface1 As NamedTypeSymbol, interface2 As NamedTypeSymbol)
3883Dim directInterface1 As NamedTypeSymbol = Nothing
3884Dim directInterface2 As NamedTypeSymbol = Nothing
3920Private Sub ReportVarianceAmbiguityWarning(diagnostics As BindingDiagnosticBag, interface1 As NamedTypeSymbol, interface2 As NamedTypeSymbol)
3933Dim directInterface1 As NamedTypeSymbol = Nothing
3934Dim directInterface2 As NamedTypeSymbol = Nothing
3955Private Sub ReportDuplicateInterfaceWithDifferentTupleNames(diagnostics As BindingDiagnosticBag, interface1 As NamedTypeSymbol, interface2 As NamedTypeSymbol)
3965Dim directInterface1 As NamedTypeSymbol = Nothing
3966Dim directInterface2 As NamedTypeSymbol = Nothing
Symbols\Source\SourceModuleSymbol.vb (13)
83Private _lazyTypesWithDefaultInstanceAlias As Dictionary(Of NamedTypeSymbol, SynthesizedMyGroupCollectionPropertySymbol)
84Private Shared ReadOnly s_noTypesWithDefaultInstanceAlias As New Dictionary(Of NamedTypeSymbol, SynthesizedMyGroupCollectionPropertySymbol)()
317If DirectCast(s, NamedTypeSymbol).IsExplicitDefinitionOfNoPiaLocalType Then
621Dim sourceType = DirectCast(typeOrNamespace, NamedTypeSymbol)
694Dim sourceType = DirectCast(typeOrNamespace, NamedTypeSymbol)
1101Dim decodedData As CommonAssemblyWellKnownAttributeData(Of NamedTypeSymbol) = DirectCast(Me.ContainingAssembly, SourceAssemblySymbol).GetSourceDecodedWellKnownAttributeData()
1108Dim decodedData As CommonAssemblyWellKnownAttributeData(Of NamedTypeSymbol) = DirectCast(Me.ContainingAssembly, SourceAssemblySymbol).GetSourceDecodedWellKnownAttributeData()
1120Public Function GetMyGroupCollectionPropertyWithDefaultInstanceAlias(classType As NamedTypeSymbol) As SynthesizedMyGroupCollectionPropertySymbol
1137Private Function GetTypesWithDefaultInstanceAlias() As Dictionary(Of NamedTypeSymbol, SynthesizedMyGroupCollectionPropertySymbol)
1138Dim result As Dictionary(Of NamedTypeSymbol, SynthesizedMyGroupCollectionPropertySymbol) = Nothing
1153<[In], Out> ByRef result As Dictionary(Of NamedTypeSymbol, SynthesizedMyGroupCollectionPropertySymbol)
1163Dim targetType = DirectCast(prop.Type, NamedTypeSymbol)
1166result = New Dictionary(Of NamedTypeSymbol, SynthesizedMyGroupCollectionPropertySymbol)(ReferenceEqualityComparer.Instance)
Symbols\Source\SourceNamedTypeSymbol.vb (50)
38Private _lazyEnumUnderlyingType As NamedTypeSymbol
509Dim contender = DirectCast(s, NamedTypeSymbol)
581Dim collision As NamedTypeSymbol = Nothing
592Dim contenders As ImmutableArray(Of NamedTypeSymbol) = constituent.GetTypeMembers(Me.Name, arity)
997ByRef baseType As NamedTypeSymbol,
1009Dim thisBase As NamedTypeSymbol = ValidateClassBase(inheritsSyntax, baseType, basesBeingResolved, binder, diagBag)
1026interfaces As SetWithInsertionOrder(Of NamedTypeSymbol),
1071baseInOtherPartial As NamedTypeSymbol,
1074diagBag As BindingDiagnosticBag) As NamedTypeSymbol
1119Return DirectCast(baseClassType, NamedTypeSymbol)
1126ElseIf DirectCast(baseClassType, NamedTypeSymbol).IsNotInheritable Then
1146Return DirectCast(baseClassType, NamedTypeSymbol)
1150basesInOtherPartials As SetWithInsertionOrder(Of NamedTypeSymbol),
1163Dim interfacesInThisPartial As New HashSet(Of NamedTypeSymbol)()
1170Dim namedType = TryCast(typeSymbol, NamedTypeSymbol)
1207basesInOtherPartials As SetWithInsertionOrder(Of NamedTypeSymbol),
1240basesInOtherPartials.Add(DirectCast(typeSymbol, NamedTypeSymbol))
1265Friend Overrides Function MakeDeclaredBase(basesBeingResolved As BasesBeingResolved, diagnostics As BindingDiagnosticBag) As NamedTypeSymbol
1273Dim baseType As NamedTypeSymbol = Nothing
1287Friend Overrides Function MakeDeclaredInterfaces(basesBeingResolved As BasesBeingResolved, diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol)
1295Dim interfaces As New SetWithInsertionOrder(Of NamedTypeSymbol)
1306Private Function GetInheritsLocation(base As NamedTypeSymbol) As Location
1310Protected Overrides Function GetInheritsOrImplementsLocation(base As NamedTypeSymbol, getInherits As Boolean) As Location
1352Friend Overrides Function MakeAcyclicBaseType(diagnostics As BindingDiagnosticBag) As NamedTypeSymbol
1355Dim declaredBase As NamedTypeSymbol = Me.GetDeclaredBase(Nothing)
1369Dim declaredOrDefaultBase As NamedTypeSymbol = declaredBase
1417Private Function GetSpecialType(type As SpecialType) As NamedTypeSymbol
1421Private Sub ReportUseSiteInfoForBaseType(baseType As NamedTypeSymbol, declaredBase As NamedTypeSymbol, diagnostics As BindingDiagnosticBag)
1424Dim current As NamedTypeSymbol = baseType
1456Friend Overrides Function MakeAcyclicInterfaces(diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol)
1457Dim declaredInterfaces As ImmutableArray(Of NamedTypeSymbol) = GetDeclaredInterfacesNoUseSiteDiagnostics(Nothing)
1461Dim result As ArrayBuilder(Of NamedTypeSymbol) = If(isInterface, ArrayBuilder(Of NamedTypeSymbol).GetInstance(), Nothing)
1502Friend Overrides Function GetDirectBaseTypeNoUseSiteDiagnostics(basesBeingResolved As BasesBeingResolved) As NamedTypeSymbol
1526Private Function GetDeclaredBaseSafe(basesBeingResolved As BasesBeingResolved) As NamedTypeSymbol
1571Dim declaredBase As NamedTypeSymbol = GetDeclaredBase(basesBeingResolved)
1582Friend Overrides Function GetDeclaredBaseInterfacesSafe(basesBeingResolved As BasesBeingResolved) As ImmutableArray(Of NamedTypeSymbol)
1598Dim declaredBases As ImmutableArray(Of NamedTypeSymbol) = GetDeclaredInterfacesNoUseSiteDiagnostics(basesBeingResolved)
1601Return If(m_baseCycleDiagnosticInfo Is Nothing, declaredBases, ImmutableArray(Of NamedTypeSymbol).Empty)
1751Public Overrides ReadOnly Property EnumUnderlyingType As NamedTypeSymbol
1784diagnostics As BindingDiagnosticBag) As NamedTypeSymbol
1791Return DirectCast(type, NamedTypeSymbol)
2009Friend Overrides Function EarlyDecodeWellKnownAttribute(ByRef arguments As EarlyDecodeWellKnownAttributeArguments(Of EarlyWellKnownAttributeBinder, NamedTypeSymbol, AttributeSyntax, AttributeLocation)) As VisualBasicAttributeData
2358Dim current As NamedTypeSymbol = Me
2514Dim eventInterface As NamedTypeSymbol = _comClassData.GetSynthesizedEventInterface()
2518Dim container1 As NamedTypeSymbol = Me
2519Dim container2 As NamedTypeSymbol = container1.ContainingType
2537Dim baseType As NamedTypeSymbol = Me.BaseTypeNoUseSiteDiagnostics
2627Dim formClass As NamedTypeSymbol = DeclaringCompilation.GetWellKnownType(WellKnownType.System_Windows_Forms_Form)
Symbols\Source\SourceNamedTypeSymbol_GroupClass.vb (20)
44Dim baseTypes As ArrayBuilder(Of NamedTypeSymbol) = ArrayBuilder(Of NamedTypeSymbol).GetInstance()
80Dim collectionTypes = ArrayBuilder(Of KeyValuePair(Of NamedTypeSymbol, Integer)).GetInstance()
92Dim current As KeyValuePair(Of NamedTypeSymbol, Integer) = collectionTypes(i)
142Dim attributeType As NamedTypeSymbol = Binder.BindAttributeType(binder, attr, Me, BindingDiagnosticBag.Discarded)
209Private Shared Sub FindGroupClassBaseTypes(nameParts() As String, current As NamespaceOrTypeSymbol, nextPart As Integer, candidates As ArrayBuilder(Of NamedTypeSymbol))
214Dim named = DirectCast(current, NamedTypeSymbol)
236baseTypes As ArrayBuilder(Of NamedTypeSymbol),
238collectionTypes As ArrayBuilder(Of KeyValuePair(Of NamedTypeSymbol, Integer))
258collectionTypes.Add(New KeyValuePair(Of NamedTypeSymbol, Integer)(named, matchingItem))
268Private Shared Function FindBaseInMyGroupCollection(classType As NamedTypeSymbol, bases As ArrayBuilder(Of NamedTypeSymbol)) As Integer
275For Each candidate As NamedTypeSymbol In bases
361Implements IComparer(Of KeyValuePair(Of NamedTypeSymbol, Integer))
368Public Function Compare(x As KeyValuePair(Of NamedTypeSymbol, Integer), y As KeyValuePair(Of NamedTypeSymbol, Integer)) As Integer Implements IComparer(Of KeyValuePair(Of NamedTypeSymbol, Integer)).Compare
374targetType As NamedTypeSymbol,
423nestedTypes As Dictionary(Of String, ImmutableArray(Of NamedTypeSymbol)),
427Dim types As ImmutableArray(Of NamedTypeSymbol) = Nothing
Symbols\SubstitutedNamedType.vb (57)
92Public NotOverridable Overrides ReadOnly Property OriginalDefinition As NamedTypeSymbol
94Return DirectCast(_substitution.TargetGenericDefinition, NamedTypeSymbol)
234Public NotOverridable Overrides ReadOnly Property EnumUnderlyingType As NamedTypeSymbol
246Friend NotOverridable Overrides Function MakeDeclaredBase(basesBeingResolved As BasesBeingResolved, diagnostics As BindingDiagnosticBag) As NamedTypeSymbol
247Return DirectCast(OriginalDefinition.GetDeclaredBase(basesBeingResolved).InternalSubstituteTypeParameters(_substitution).AsTypeSymbolOnly(), NamedTypeSymbol)
250Friend NotOverridable Overrides Function MakeDeclaredInterfaces(basesBeingResolved As BasesBeingResolved, diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol)
254Return ImmutableArray(Of NamedTypeSymbol).Empty
257Dim substitutedInterfaces = New NamedTypeSymbol(instanceInterfaces.Length - 1) {}
260substitutedInterfaces(i) = DirectCast(instanceInterfaces(i).InternalSubstituteTypeParameters(_substitution).AsTypeSymbolOnly(), NamedTypeSymbol)
268Friend NotOverridable Overrides Function MakeAcyclicBaseType(diagnostics As BindingDiagnosticBag) As NamedTypeSymbol
272Return DirectCast(fullBase.InternalSubstituteTypeParameters(_substitution).AsTypeSymbolOnly(), NamedTypeSymbol)
278Friend NotOverridable Overrides Function MakeAcyclicInterfaces(diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol)
282Return ImmutableArray(Of NamedTypeSymbol).Empty
285Dim substitutedInterfaces = New NamedTypeSymbol(instanceInterfaces.Length - 1) {}
288substitutedInterfaces(i) = DirectCast(instanceInterfaces(i).InternalSubstituteTypeParameters(_substitution).AsTypeSymbolOnly(), NamedTypeSymbol)
295Private Overloads Function SubstituteTypeParametersForMemberType(memberType As NamedTypeSymbol) As NamedTypeSymbol
363result.Add(SubstituteTypeParametersForMemberType(DirectCast(member, NamedTypeSymbol)))
413Friend Overrides Function GetTypeMembersUnordered() As ImmutableArray(Of NamedTypeSymbol)
417Public Overrides Function GetTypeMembers() As ImmutableArray(Of NamedTypeSymbol)
421Public Overrides Function GetTypeMembers(name As String) As ImmutableArray(Of NamedTypeSymbol)
426Public Overrides Function GetTypeMembers(name As String, arity As Integer) As ImmutableArray(Of NamedTypeSymbol)
446Return SubstituteTypeParametersForMemberType(DirectCast(member, NamedTypeSymbol))
545Dim otherNamed = DirectCast(other, NamedTypeSymbol)
572Friend Overrides Function GetDirectBaseTypeNoUseSiteDiagnostics(basesBeingResolved As BasesBeingResolved) As NamedTypeSymbol
576Return DirectCast(fullBase.InternalSubstituteTypeParameters(_substitution).AsTypeSymbolOnly(), NamedTypeSymbol)
612Protected ReadOnly _container As NamedTypeSymbol
614Protected Sub New(container As NamedTypeSymbol, substitution As TypeSubstitution)
624Public Overrides ReadOnly Property ConstructedFrom As NamedTypeSymbol
636Public Shadows ReadOnly Property ContainingType As NamedTypeSymbol
670container As NamedTypeSymbol,
671fullInstanceType As NamedTypeSymbol
701container As NamedTypeSymbol,
706Debug.Assert(Not typeParameters.IsDefault AndAlso typeParameters.Length = DirectCast(substitution.TargetGenericDefinition, NamedTypeSymbol).Arity)
741Dim containerToCheck As NamedTypeSymbol = _container
765Public Overrides Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) As NamedTypeSymbol
846container As NamedTypeSymbol,
847fullInstanceType As NamedTypeSymbol,
873Return New SpecializedNonGenericType(DirectCast(container, NamedTypeSymbol), substitution)
876Private Sub New(container As NamedTypeSymbol, substitution As TypeSubstitution)
909Public Overrides Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) As NamedTypeSymbol
923Private Overloads Function InternalSubstituteTypeParametersInSpecializedNonGenericType(additionalSubstitution As TypeSubstitution) As NamedTypeSymbol
928Dim newContainer = DirectCast(_container.InternalSubstituteTypeParameters(additionalSubstitution).AsTypeSymbolOnly(), NamedTypeSymbol)
941Return Create(DirectCast(newContainer, NamedTypeSymbol), definition, newContainer.TypeSubstitution)
1009Public Overrides Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) As NamedTypeSymbol
1044Public Overrides ReadOnly Property ConstructedFrom As NamedTypeSymbol
1060Private Overloads Function InternalSubstituteTypeParametersInConstructedInstanceType(additionalSubstitution As TypeSubstitution) As NamedTypeSymbol
1065Dim definition As NamedTypeSymbol = Me.OriginalDefinition
1066Dim containedType As NamedTypeSymbol = definition.ContainingType
1067Dim newContainedType As NamedTypeSymbol
1070newContainedType = DirectCast(containedType.InternalSubstituteTypeParameters(additionalSubstitution).AsTypeSymbolOnly, NamedTypeSymbol)
1134Public Overrides ReadOnly Property ConstructedFrom As NamedTypeSymbol
1150Private Overloads Function InternalSubstituteTypeParametersInConstructedSpecializedGenericType(additionalSubstitution As TypeSubstitution) As NamedTypeSymbol
1155Dim fullInstanceType As NamedTypeSymbol = _constructedFrom.OriginalDefinition
1157Dim container As NamedTypeSymbol = _constructedFrom.ContainingType
1160Dim newContainer = DirectCast(container.InternalSubstituteTypeParameters(additionalSubstitution).AsTypeSymbolOnly, NamedTypeSymbol)
1180constructFrom = SpecializedGenericType.Create(DirectCast(newContainer, NamedTypeSymbol), fullInstanceType)
Symbols\Tuples\TupleTypeSymbol.vb (54)
78Public Overrides ReadOnly Property TupleUnderlyingType As NamedTypeSymbol
132Public Overrides ReadOnly Property EnumUnderlyingType As NamedTypeSymbol
222Public Overrides ReadOnly Property ConstructedFrom As NamedTypeSymbol
332Private Sub New(locationOpt As Location, underlyingType As NamedTypeSymbol, elementLocations As ImmutableArray(Of Location),
340Private Sub New(locations As ImmutableArray(Of Location), underlyingType As NamedTypeSymbol,
377Dim tupleUnderlyingType As NamedTypeSymbol = TupleTypeSymbol.GetTupleUnderlyingType(elementTypes, syntax, compilation, diagnostics)
391Public Shared Function Create(tupleCompatibleType As NamedTypeSymbol) As TupleTypeSymbol
395Public Shared Function Create(tupleCompatibleType As NamedTypeSymbol, elementNames As ImmutableArray(Of String)) As TupleTypeSymbol
399Public Shared Function Create(locationOpt As Location, tupleCompatibleType As NamedTypeSymbol,
407Public Shared Function Create(locations As ImmutableArray(Of Location), tupleCompatibleType As NamedTypeSymbol,
428Private Shared Function EnsureRestExtensionsAreTuples(tupleCompatibleType As NamedTypeSymbol) As NamedTypeSymbol
430Dim nonTupleTypeChain As ArrayBuilder(Of NamedTypeSymbol) = ArrayBuilder(Of NamedTypeSymbol).GetInstance()
431Dim namedTypeSymbol As NamedTypeSymbol = tupleCompatibleType
435namedTypeSymbol = CType(namedTypeSymbol.TypeArgumentsNoUseSiteDiagnostics(TupleTypeSymbol.RestPosition - 1), NamedTypeSymbol)
458Private Shared Function ReplaceRestExtensionType(tupleCompatibleType As NamedTypeSymbol, typeArgumentsBuilder As ArrayBuilder(Of TypeWithModifiers), extensionTuple As TupleTypeSymbol) As NamedTypeSymbol
477Friend Function WithUnderlyingType(newUnderlyingType As NamedTypeSymbol) As TupleTypeSymbol
500Friend Shared Sub GetUnderlyingTypeChain(underlyingTupleType As NamedTypeSymbol, underlyingTupleTypeChain As ArrayBuilder(Of NamedTypeSymbol))
501Dim namedTypeSymbol As NamedTypeSymbol = underlyingTupleType
512Friend Shared Sub AddElementTypes(underlyingTupleType As NamedTypeSymbol, tupleElementTypes As ArrayBuilder(Of TypeSymbol))
513Dim namedTypeSymbol As NamedTypeSymbol = underlyingTupleType
525namedTypeSymbol = CType(namedTypeSymbol.TypeArgumentsNoUseSiteDiagnostics(TupleTypeSymbol.RestPosition - 1), NamedTypeSymbol)
530Private Shared Function GetNestedTupleUnderlyingType(topLevelUnderlyingType As NamedTypeSymbol, depth As Integer) As NamedTypeSymbol
531Dim namedTypeSymbol As NamedTypeSymbol = topLevelUnderlyingType
543Private Shared Function GetTupleUnderlyingType(elementTypes As ImmutableArray(Of TypeSymbol), syntax As SyntaxNode, compilation As VisualBasicCompilation, diagnostics As BindingDiagnosticBag) As NamedTypeSymbol
548Dim wellKnownType As NamedTypeSymbol = compilation.GetWellKnownType(TupleTypeSymbol.GetTupleType(remainder))
554Dim namedTypeSymbol As NamedTypeSymbol = wellKnownType.Construct(ImmutableArray.Create(Of TypeSymbol)(elementTypes, (chainLength - 1) * (TupleTypeSymbol.RestPosition - 1), remainder))
557Dim wellKnownType2 As NamedTypeSymbol = compilation.GetWellKnownType(TupleTypeSymbol.GetTupleType(TupleTypeSymbol.RestPosition))
575Dim wellKnownType As NamedTypeSymbol = compilation.GetWellKnownType(TupleTypeSymbol.GetTupleType(arity))
579Dim wellKnownType2 As NamedTypeSymbol = compilation.GetWellKnownType(TupleTypeSymbol.GetTupleType(TupleTypeSymbol.RestPosition))
637Private Shared Function GetWellKnownMemberInType(type As NamedTypeSymbol, relativeMember As WellKnownMember) As Symbol
644Friend Shared Function GetWellKnownMemberInType(type As NamedTypeSymbol, relativeMember As WellKnownMember, diagnostics As BindingDiagnosticBag, syntax As SyntaxNode) As Symbol
696Dim currentUnderlying As NamedTypeSymbol = _underlyingType
829Dim container As NamedTypeSymbol = GetNestedTupleUnderlyingType(_underlyingType, fieldChainLength - 1).OriginalDefinition
873Private Shared Sub CollectTargetTupleFields(underlying As NamedTypeSymbol, fieldsForElements As ArrayBuilder(Of FieldSymbol))
884Dim originalDefinition As NamedTypeSymbol = Me._underlyingType.OriginalDefinition
948Public Overrides Function GetTypeMembers() As ImmutableArray(Of NamedTypeSymbol)
951Return ImmutableArray(Of NamedTypeSymbol).Empty
954Public Overrides Function GetTypeMembers(name As String) As ImmutableArray(Of NamedTypeSymbol)
957Return ImmutableArray(Of NamedTypeSymbol).Empty
960Public Overrides Function GetTypeMembers(name As String, arity As Integer) As ImmutableArray(Of NamedTypeSymbol)
963Return ImmutableArray(Of NamedTypeSymbol).Empty
1049Friend Overrides Function GetInterfacesToEmit() As IEnumerable(Of NamedTypeSymbol)
1060result = TupleTypeSymbol.Create(CType(target, NamedTypeSymbol))
1067Public Overrides Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) As NamedTypeSymbol
1072Dim substitutedUnderlying = DirectCast(Me.TupleUnderlyingType.InternalSubstituteTypeParameters(substitution).Type, NamedTypeSymbol)
1079Friend Overrides Function MakeDeclaredBase(basesBeingResolved As BasesBeingResolved, diagnostics As BindingDiagnosticBag) As NamedTypeSymbol
1083Friend Overrides Function MakeDeclaredInterfaces(basesBeingResolved As BasesBeingResolved, diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol)
1087Friend Overrides Function MakeAcyclicBaseType(diagnostics As BindingDiagnosticBag) As NamedTypeSymbol
1091Friend Overrides Function MakeAcyclicInterfaces(diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol)
Symbols\TypeSymbol.vb (33)
36Private _lazyAllInterfaces As ImmutableArray(Of NamedTypeSymbol)
41Private _lazyInterfacesAndTheirBaseInterfaces As MultiDictionary(Of NamedTypeSymbol, NamedTypeSymbol)
43Private Shared ReadOnly EmptyInterfacesAndTheirBaseInterfaces As New MultiDictionary(Of NamedTypeSymbol, NamedTypeSymbol)(0, EqualsIgnoringComparer.InstanceCLRSignatureCompare)
95Friend MustOverride ReadOnly Property BaseTypeNoUseSiteDiagnostics As NamedTypeSymbol
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
122Friend MustOverride ReadOnly Property InterfacesNoUseSiteDiagnostics As ImmutableArray(Of NamedTypeSymbol)
134Friend ReadOnly Property AllInterfacesNoUseSiteDiagnostics As ImmutableArray(Of NamedTypeSymbol)
144Friend Function AllInterfacesWithDefinitionUseSiteDiagnostics(<[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ImmutableArray(Of NamedTypeSymbol)
161Protected Overridable Function MakeAllInterfaces() As ImmutableArray(Of NamedTypeSymbol)
162Dim result = ArrayBuilder(Of NamedTypeSymbol).GetInstance()
163Dim visited = New HashSet(Of NamedTypeSymbol)()
168Dim baseInterfaces As ImmutableArray(Of NamedTypeSymbol) = baseType.InterfacesNoUseSiteDiagnostics
180Private Shared Sub MakeAllInterfacesInternal(i As NamedTypeSymbol, visited As HashSet(Of NamedTypeSymbol), result As ArrayBuilder(Of NamedTypeSymbol))
182Dim baseInterfaces As ImmutableArray(Of NamedTypeSymbol) = i.InterfacesNoUseSiteDiagnostics
202Friend ReadOnly Property InterfacesAndTheirBaseInterfacesNoUseSiteDiagnostics As MultiDictionary(Of NamedTypeSymbol, NamedTypeSymbol)
216Private Shared Function MakeInterfacesAndTheirBaseInterfaces(declaredInterfaces As ImmutableArray(Of NamedTypeSymbol)) As MultiDictionary(Of NamedTypeSymbol, NamedTypeSymbol)
221Dim result As New MultiDictionary(Of NamedTypeSymbol, NamedTypeSymbol)(declaredInterfaces.Length, EqualsIgnoringComparer.InstanceCLRSignatureCompare)
372Friend Overridable Function LookupMetadataType(ByRef emittedTypeName As MetadataTypeName) As NamedTypeSymbol
374Debug.Assert(TypeOf Me Is NamedTypeSymbol)
376Dim namedType As NamedTypeSymbol = Nothing
379Dim typeMembers As ImmutableArray(Of NamedTypeSymbol)
442Friend Overridable Function GetDirectBaseTypeNoUseSiteDiagnostics(basesBeingResolved As BasesBeingResolved) As NamedTypeSymbol
446Friend Overridable Function GetDirectBaseTypeWithDefinitionUseSiteDiagnostics(basesBeingResolved As BasesBeingResolved, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As NamedTypeSymbol
462Public Overridable ReadOnly Property TupleUnderlyingType() As NamedTypeSymbol
Symbols\TypeSymbolExtensions.vb (35)
26Return (DirectCast(type, NamedTypeSymbol)).TypeArgumentsNoUseSiteDiagnostics(0)
44Return TryCast(type, NamedTypeSymbol)?.EnumUnderlyingType
56Return TryCast(type, NamedTypeSymbol)?.TupleUnderlyingType
86TupleTypeSymbol.AddElementTypes(DirectCast(type, NamedTypeSymbol), elementTypesBuilder)
110TupleTypeSymbol.AddElementTypes(DirectCast(Type, NamedTypeSymbol), elementTypesBuilder)
134Return type.Kind = SymbolKind.NamedType AndAlso DirectCast(type, NamedTypeSymbol).IsInterface
194Dim namedType = DirectCast(type, NamedTypeSymbol)
215Dim namedType = DirectCast(type, NamedTypeSymbol)
249Friend Function HasSameTypeArgumentCustomModifiers(type1 As NamedTypeSymbol, type2 As NamedTypeSymbol) As Boolean
415Return DirectCast(this, NamedTypeSymbol).IsNotInheritable
497If this.Kind = SymbolKind.NamedType AndAlso Not DirectCast(this, NamedTypeSymbol).IsInterface Then
534Public Function IsSameOrNestedWithin(inner As NamedTypeSymbol, outer As NamedTypeSymbol) As Boolean
616Public Function IsOrDerivedFrom(derivedType As NamedTypeSymbol, baseType As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean
642Return DirectCast(derivedType, NamedTypeSymbol).IsOrDerivedFrom(baseType, useSiteInfo)
683Dim matchingInterfaces As New HashSet(Of NamedTypeSymbol)()
780Dim namedType = TryCast(this, NamedTypeSymbol)
874For Each nestedType In DirectCast(current, NamedTypeSymbol).TypeArgumentsNoUseSiteDiagnostics
1059Public Function ExpressionTargetDelegate(type As TypeSymbol, compilation As VisualBasicCompilation) As NamedTypeSymbol
1061Dim namedType = DirectCast(type, NamedTypeSymbol)
1067Return DirectCast(typeArgument, NamedTypeSymbol)
1081Public Function DelegateOrExpressionDelegate(type As TypeSymbol, binder As Binder) As NamedTypeSymbol
1083Return DirectCast(type, NamedTypeSymbol)
1095Public Function DelegateOrExpressionDelegate(type As TypeSymbol, binder As Binder, ByRef wasExpression As Boolean) As NamedTypeSymbol
1098Return DirectCast(type, NamedTypeSymbol)
1116Return type.IsInterfaceType() AndAlso DirectCast(type, NamedTypeSymbol).IsExtensibleInterfaceNoUseSiteDiagnostics
1151Public Function IsTopLevelType(type As NamedTypeSymbol) As Boolean
1160Public Function GetAllTypeParameters(type As NamedTypeSymbol) As ImmutableArray(Of TypeParameterSymbol)
1176Public Sub GetAllTypeParameters(type As NamedTypeSymbol, builder As ArrayBuilder(Of TypeParameterSymbol))
1190Public Function GetAllTypeArguments(type As NamedTypeSymbol) As ImmutableArray(Of TypeSymbol)
1209Public Function GetAllTypeArgumentsWithModifiers(type As NamedTypeSymbol) As ImmutableArray(Of TypeWithModifiers)
1232Friend Function HasNameQualifier(type As NamedTypeSymbol, qualifiedName As String, comparison As StringComparison) As Boolean
1303Dim namedTypeSymbol = TryCast(typeSymbol, NamedTypeSymbol)
1314Dim namedTypeSymbol = TryCast(typeSymbol, NamedTypeSymbol)