6 types derived from NamedTypeSymbol
Microsoft.CodeAnalysis.VisualBasic (6)
Symbols\ErrorTypeSymbol.vb (1)
17Inherits NamedTypeSymbol
Symbols\InstanceTypeSymbol.vb (1)
20Inherits NamedTypeSymbol
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (1)
511Inherits NamedTypeSymbol
Symbols\SubstitutedNamedType.vb (1)
24Inherits NamedTypeSymbol
Symbols\UnboundGenericType.vb (1)
21Inherits NamedTypeSymbol
Symbols\Wrapped\WrappedNamedTypeSymbol.vb (1)
20Inherits NamedTypeSymbol
1117 references to NamedTypeSymbol
Microsoft.CodeAnalysis.VisualBasic (1117)
Emit\MethodSymbolAdapter.vb (1)
217Dim container As NamedTypeSymbol = AdaptedMethodSymbol.ContainingType
Emit\NamedTypeSymbolAdapter.vb (10)
234Dim baseType As NamedTypeSymbol = AdaptedNamedTypeSymbol.BaseTypeNoUseSiteDiagnostics 671Dim filtered As IEnumerable(Of NamedTypeSymbol) 919Friend Overridable Function GetSynthesizedImplements() As IEnumerable(Of NamedTypeSymbol) 923Friend Overridable Function GetInterfacesToEmit() As IEnumerable(Of NamedTypeSymbol) 929Dim synthesized As IEnumerable(Of NamedTypeSymbol) = GetSynthesizedImplements() 936Return If(synthesized, SpecializedCollections.EmptyEnumerable(Of NamedTypeSymbol)()) 940Dim result As IEnumerable(Of NamedTypeSymbol) = 941interfaces.Where(Function(sym As NamedTypeSymbol) As Boolean 1006Friend ReadOnly Property AdaptedNamedTypeSymbol As NamedTypeSymbol 1008Friend Sub New(underlyingNamedTypeSymbol As NamedTypeSymbol)
Emit\SynthesizedNamespaceSymbol.vb (8)
62Friend Overrides ReadOnly Property TypesToCheckForExtensionMethods As ImmutableArray(Of NamedTypeSymbol) 64Return ImmutableArray(Of NamedTypeSymbol).Empty 74Public Overrides Function GetModuleMembers() As ImmutableArray(Of NamedTypeSymbol) 75Return ImmutableArray(Of NamedTypeSymbol).Empty 86Public Overrides Function GetTypeMembers() As ImmutableArray(Of NamedTypeSymbol) 87Return ImmutableArray(Of NamedTypeSymbol).Empty 90Public Overrides Function GetTypeMembers(name As String) As ImmutableArray(Of NamedTypeSymbol) 91Return ImmutableArray(Of NamedTypeSymbol).Empty
Emit\SynthesizedPrivateImplementationDetailsSharedConstructor.vb (1)
23voidType As NamedTypeSymbol
Emit\TypeParameterSymbolAdapter.vb (2)
196Return DirectCast(AdaptedTypeParameterSymbol.ContainingSymbol, NamedTypeSymbol).GetCciAdapter() 277Return DirectCast(AdaptedTypeParameterSymbol.ContainingSymbol, NamedTypeSymbol).GetCciAdapter()
Symbols\AnonymousTypes\AnonymousType_SymbolCollection.vb (10)
115Public ReadOnly Property System_Boolean As NamedTypeSymbol 121Public ReadOnly Property System_Int32 As NamedTypeSymbol 127Public ReadOnly Property System_Object As NamedTypeSymbol 133Public ReadOnly Property System_IntPtr As NamedTypeSymbol 139Public ReadOnly Property System_IAsyncResult As NamedTypeSymbol 145Public ReadOnly Property System_AsyncCallback As NamedTypeSymbol 151Public ReadOnly Property System_MulticastDelegate As NamedTypeSymbol 157Public ReadOnly Property System_String As NamedTypeSymbol 163Public ReadOnly Property System_Void As NamedTypeSymbol 211Public ReadOnly Property System_IEquatable_T As NamedTypeSymbol
Symbols\AnonymousTypes\AnonymousTypeManager_Templates.vb (6)
88Private Function ConstructAnonymousTypeImplementationSymbol(anonymous As AnonymousTypePublicSymbol) As NamedTypeSymbol 118Private Function ConstructAnonymousDelegateImplementationSymbol(anonymous As AnonymousDelegatePublicSymbol) As NamedTypeSymbol 266Friend Shared Function TranslateAnonymousTypeSymbol(type As NamedTypeSymbol) As NamedTypeSymbol 286Friend ReadOnly Property AllCreatedTemplates As ImmutableArray(Of NamedTypeSymbol) 291Return StaticCast(Of NamedTypeSymbol).From(builder.ToImmutableAndFree())
Symbols\AnonymousTypes\PublicSymbols\AnonymousDelegate_TypePublicSymbol.vb (4)
150Public Overrides Function MapToImplementationSymbol() As NamedTypeSymbol 154Friend Overrides Function MakeAcyclicBaseType(diagnostics As BindingDiagnosticBag) As NamedTypeSymbol 158Friend Overrides Function MakeAcyclicInterfaces(diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol) 159Return ImmutableArray(Of NamedTypeSymbol).Empty
Symbols\AnonymousTypes\PublicSymbols\AnonymousType_PropertyPublicSymbol.vb (1)
71Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\AnonymousTypes\PublicSymbols\AnonymousType_TypePublicSymbol.vb (7)
23Private ReadOnly _interfaces As ImmutableArray(Of NamedTypeSymbol) 74Dim equatableInterface As NamedTypeSymbol = Me.Manager.System_IEquatable_T.Construct(ImmutableArray.Create(Of TypeSymbol)(Me)) 75Me._interfaces = ImmutableArray.Create(Of NamedTypeSymbol)(equatableInterface) 85_interfaces = ImmutableArray(Of NamedTypeSymbol).Empty 178Friend Overrides Function MakeAcyclicBaseType(diagnostics As BindingDiagnosticBag) As NamedTypeSymbol 182Friend Overrides Function MakeAcyclicInterfaces(diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol) 186Public Overrides Function MapToImplementationSymbol() As NamedTypeSymbol
Symbols\AnonymousTypes\PublicSymbols\AnonymousTypeOrDelegatePublicSymbol.vb (12)
119Friend Overrides Function MakeDeclaredBase(basesBeingResolved As BasesBeingResolved, diagnostics As BindingDiagnosticBag) As NamedTypeSymbol 123Friend Overrides Function MakeDeclaredInterfaces(basesBeingResolved As BasesBeingResolved, diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol) 145Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol 152Public Overrides Function GetTypeMembers() As ImmutableArray(Of NamedTypeSymbol) 153Return ImmutableArray(Of NamedTypeSymbol).Empty 156Public Overrides Function GetTypeMembers(name As String) As ImmutableArray(Of NamedTypeSymbol) 157Return ImmutableArray(Of NamedTypeSymbol).Empty 160Public Overrides Function GetTypeMembers(name As String, arity As Integer) As ImmutableArray(Of NamedTypeSymbol) 161Return ImmutableArray(Of NamedTypeSymbol).Empty 263Public MustOverride Function MapToImplementationSymbol() As NamedTypeSymbol 281Private Shared Function FindMethodInTypeProvided(method As MethodSymbol, type As NamedTypeSymbol) As MethodSymbol 304Dim otherTypeDef As NamedTypeSymbol = type.OriginalDefinition
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousDelegate_TemplateSymbol.vb (3)
145Friend Overrides Function MakeAcyclicBaseType(diagnostics As BindingDiagnosticBag) As NamedTypeSymbol 149Friend Overrides Function MakeAcyclicInterfaces(diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol) 150Return ImmutableArray(Of NamedTypeSymbol).Empty
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_PropertySymbol.vb (1)
137Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_TemplateSymbol.vb (6)
22Private ReadOnly _interfaces As ImmutableArray(Of NamedTypeSymbol) 77Dim equatableInterface As NamedTypeSymbol = Me.Manager.System_IEquatable_T.Construct(ImmutableArray.Create(Of TypeSymbol)(Me)) 78_interfaces = ImmutableArray.Create(Of NamedTypeSymbol)(equatableInterface) 89_interfaces = ImmutableArray(Of NamedTypeSymbol).Empty 126Friend Overrides Function MakeAcyclicBaseType(diagnostics As BindingDiagnosticBag) As NamedTypeSymbol 130Friend Overrides Function MakeAcyclicInterfaces(diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousTypeOrDelegateTemplateSymbol.vb (9)
218Friend Overrides Function MakeDeclaredBase(basesBeingResolved As BasesBeingResolved, diagnostics As BindingDiagnosticBag) As NamedTypeSymbol 222Friend Overrides Function MakeDeclaredInterfaces(basesBeingResolved As BasesBeingResolved, diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol) 244Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol 251Public Overrides Function GetTypeMembers() As ImmutableArray(Of NamedTypeSymbol) 252Return ImmutableArray(Of NamedTypeSymbol).Empty 255Public Overrides Function GetTypeMembers(name As String) As ImmutableArray(Of NamedTypeSymbol) 256Return ImmutableArray(Of NamedTypeSymbol).Empty 259Public Overrides Function GetTypeMembers(name As String, arity As Integer) As ImmutableArray(Of NamedTypeSymbol) 260Return ImmutableArray(Of NamedTypeSymbol).Empty
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\AssemblySymbol.vb (22)
252Friend MustOverride Function LookupDeclaredTopLevelMetadataType(ByRef emittedName As MetadataTypeName) As NamedTypeSymbol 264Friend MustOverride Function LookupDeclaredOrForwardedTopLevelMetadataType(ByRef emittedName As MetadataTypeName, visitedAssemblies As ConsList(Of AssemblySymbol)) As NamedTypeSymbol 271Public Function ResolveForwardedType(fullyQualifiedMetadataName As String) As NamedTypeSymbol 283Friend Function TryLookupForwardedMetadataType(ByRef emittedName As MetadataTypeName, ignoreCase As Boolean) As NamedTypeSymbol 290Friend Overridable Function TryLookupForwardedMetadataTypeWithCycleDetection(ByRef emittedName As MetadataTypeName, visitedAssemblies As ConsList(Of AssemblySymbol), ignoreCase As Boolean) As NamedTypeSymbol 304Friend MustOverride Function GetAllTopLevelForwardedTypes() As IEnumerable(Of NamedTypeSymbol) 313Friend MustOverride Function GetDeclaredSpecialType(type As ExtendedSpecialType) As NamedTypeSymbol 319Friend Overridable Sub RegisterDeclaredSpecialType(corType As NamedTypeSymbol) 484Friend Function GetSpecialType(type As ExtendedSpecialType) As NamedTypeSymbol 496Friend ReadOnly Property ObjectType As NamedTypeSymbol 508Friend Function GetPrimitiveType(type As Microsoft.Cci.PrimitiveTypeCode) As NamedTypeSymbol 520Public Function GetTypeByMetadataName(fullyQualifiedMetadataName As String) As NamedTypeSymbol 549Optional useCLSCompliantNameArityEncoding As Boolean = False, Optional ignoreCorLibraryDuplicatedTypes As Boolean = False) As NamedTypeSymbol 555Dim type As NamedTypeSymbol 608Optional ignoreCorLibraryDuplicatedTypes As Boolean = False) As NamedTypeSymbol 610Dim result As NamedTypeSymbol 637Dim corLibCandidate As NamedTypeSymbol = CorLibrary.LookupDeclaredTopLevelMetadataType(metadataName) 657Dim candidate As NamedTypeSymbol = reference.LookupDeclaredTopLevelMetadataType(metadataName) 691Private Function IsValidCandidate(candidate As NamedTypeSymbol, isWellKnownType As Boolean) As Boolean 699Private Function IsInCorLib(type As NamedTypeSymbol) As Boolean 703Friend Shared Function IsAcceptableMatchForGetTypeByNameAndArity(candidate As NamedTypeSymbol) As Boolean 720Friend Function IsValidWellKnownType(result As NamedTypeSymbol) As Boolean
Symbols\Attributes\AttributeData.vb (4)
30Public MustOverride Shadows ReadOnly Property AttributeClass As NamedTypeSymbol 87Friend Overloads Shared Function IsTargetEarlyAttribute(attributeType As NamedTypeSymbol, attributeSyntax As AttributeSyntax, description As AttributeDescription) As Boolean 381Dim attrType As NamedTypeSymbol = Me.AttributeClass 419Private Shared Function PermissionSetAttributeTypeHasRequiredProperty(permissionSetType As NamedTypeSymbol, propName As String) As Boolean
Symbols\Attributes\PEAttributeData.vb (5)
23Private _attributeClass As NamedTypeSymbol ' TODO - Remove class it is available from constructor. For now it is only used to know 40Public Overrides ReadOnly Property AttributeClass As NamedTypeSymbol 155Interlocked.CompareExchange(Of NamedTypeSymbol)( 175Interlocked.CompareExchange(Of NamedTypeSymbol)( 177DirectCast(attributeClass, NamedTypeSymbol),
Symbols\Attributes\RetargetingAttributeData.vb (3)
20Private ReadOnly _attributeClass As NamedTypeSymbol 26ByVal attributeClass As NamedTypeSymbol, 40Public Overrides ReadOnly Property AttributeClass As NamedTypeSymbol
Symbols\Attributes\SourceAttributeData.vb (6)
23Private ReadOnly _attributeClass As NamedTypeSymbol ' TODO - Remove attribute class. It is available from the constructor. 33ByVal attrClass As NamedTypeSymbol, 53Public Overrides ReadOnly Property AttributeClass As NamedTypeSymbol 127Friend Overloads Shared Function GetTargetAttributeSignatureIndex(compilation As VisualBasicCompilation, attributeClass As NamedTypeSymbol, attributeConstructor As MethodSymbol, description As AttributeDescription) As Integer 177Dim namedType = DirectCast(parameterType, NamedTypeSymbol) 294attributeClass As NamedTypeSymbol,
Symbols\BaseTypeAnalysis.vb (11)
50Dim previous As NamedTypeSymbol = this 56Dim head = DirectCast(current.Head, NamedTypeSymbol) 212Dim currentNamedType = TryCast(currentDef, NamedTypeSymbol) 259Friend Function GetDependencyDiagnosticsForImportedClass(this As NamedTypeSymbol) As DiagnosticInfo 275fast = TryCast(fast.OriginalDefinition, NamedTypeSymbol) 286fast = TryCast(fast.OriginalDefinition, NamedTypeSymbol) 305Friend Function GetDependencyDiagnosticsForImportedBaseInterface(this As NamedTypeSymbol, base As NamedTypeSymbol) As DiagnosticInfo 310base = TryCast(base.OriginalDefinition, NamedTypeSymbol) 333Private Function HasCycles(derived As HashSet(Of TypeSymbol), verified As HashSet(Of TypeSymbol), [interface] As NamedTypeSymbol) As Boolean 337base = TryCast(base.OriginalDefinition, 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\CustomModifier.vb (8)
16Protected ReadOnly m_Modifier As NamedTypeSymbol 18Private Sub New(modifier As NamedTypeSymbol) 32Public ReadOnly Property ModifierSymbol As NamedTypeSymbol 42Friend Shared Function CreateOptional(modifier As NamedTypeSymbol) As CustomModifier 46Friend Shared Function CreateRequired(modifier As NamedTypeSymbol) As CustomModifier 58Dim modifier = DirectCast(customModifier.Modifier, NamedTypeSymbol) 65Public Sub New(modifier As NamedTypeSymbol) 93Public Sub New(modifier As NamedTypeSymbol)
Symbols\EmbeddedSymbols\EmbeddedSymbolManager.SymbolsCollection.vb (3)
267ValidateType(DirectCast(symbol, NamedTypeSymbol)) 273For Each member In DirectCast(symbol, NamedTypeSymbol).GetMembers() 332Private Shared Sub ValidateType(type As NamedTypeSymbol)
Symbols\ErrorTypeSymbol.vb (16)
44Friend Overrides Function MakeDeclaredBase(basesBeingResolved As BasesBeingResolved, diagnostics As BindingDiagnosticBag) As NamedTypeSymbol 48Friend Overrides Function MakeDeclaredInterfaces(basesBeingResolved As BasesBeingResolved, diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol) 49Return ImmutableArray(Of NamedTypeSymbol).Empty 52Friend Overrides Function MakeAcyclicBaseType(diagnostics As BindingDiagnosticBag) As NamedTypeSymbol 56Friend Overrides Function MakeAcyclicInterfaces(diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol) 57Return ImmutableArray(Of NamedTypeSymbol).Empty 87Public Overrides Function GetTypeMembers() As ImmutableArray(Of NamedTypeSymbol) 88Return ImmutableArray(Of NamedTypeSymbol).Empty 91Public Overrides Function GetTypeMembers(name As String) As ImmutableArray(Of NamedTypeSymbol) 92Return ImmutableArray(Of NamedTypeSymbol).Empty 95Public Overrides Function GetTypeMembers(name As String, arity As Integer) As ImmutableArray(Of NamedTypeSymbol) 96Return ImmutableArray(Of NamedTypeSymbol).Empty 204Public Overrides ReadOnly Property ConstructedFrom As NamedTypeSymbol 324Public Overrides Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) As NamedTypeSymbol 340Friend ReadOnly Property NonErrorGuessType As NamedTypeSymbol 344Return TryCast(candidates(0), NamedTypeSymbol)
Symbols\EventSymbol.vb (1)
169Dim type = TryCast(Me.Type, NamedTypeSymbol)
Symbols\ExtendedErrorTypeSymbol.vb (3)
32Optional nonErrorGuessType As NamedTypeSymbol = Nothing) 39Optional nonErrorGuessType As NamedTypeSymbol = Nothing) 76Optional nonErrorGuessType As NamedTypeSymbol = Nothing)
Symbols\FieldSymbol.vb (1)
394Friend Function AsMember(newOwner As NamedTypeSymbol) As FieldSymbol
Symbols\InstanceErrorTypeSymbol.vb (5)
43Public NotOverridable Overrides Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) As NamedTypeSymbol 71Private Overloads Function InternalSubstituteTypeParametersInInstanceErrorTypeSymbol(substitution As TypeSubstitution) As NamedTypeSymbol 82Dim containingType As NamedTypeSymbol = TryCast(container, NamedTypeSymbol) 88Dim newContainer = DirectCast(containingType.InternalSubstituteTypeParameters(substitution).AsTypeSymbolOnly(), NamedTypeSymbol)
Symbols\InstanceTypeSymbol.vb (9)
52Public NotOverridable Overrides Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) As NamedTypeSymbol 75Private Function SubstituteTypeParametersInNamedType(substitution As TypeSubstitution) As NamedTypeSymbol 87Dim newContainer As NamedTypeSymbol 96newContainer = DirectCast(Me.ContainingType.InternalSubstituteTypeParameters(substitution.Parent).AsTypeSymbolOnly(), NamedTypeSymbol) 98newContainer = DirectCast(Me.ContainingType.InternalSubstituteTypeParameters(substitution).AsTypeSymbolOnly(), NamedTypeSymbol) 105Return SubstitutedNamedType.SpecializedNonGenericType.Create(DirectCast(newContainer, NamedTypeSymbol), Me, substitution) 109Dim constructFrom = SubstitutedNamedType.SpecializedGenericType.Create(DirectCast(newContainer, NamedTypeSymbol), Me) 125Public Overrides ReadOnly Property ConstructedFrom As NamedTypeSymbol 183Dim base As NamedTypeSymbol = Me.BaseTypeNoUseSiteDiagnostics
Symbols\MergedNamespaceSymbol.vb (15)
41Private _lazyModuleMembers As ImmutableArray(Of NamedTypeSymbol) 280Public Overrides Function GetModuleMembers() As ImmutableArray(Of NamedTypeSymbol) 282Dim moduleMembers = ArrayBuilder(Of NamedTypeSymbol).GetInstance() 311Friend Overrides Function GetTypeMembersUnordered() As ImmutableArray(Of NamedTypeSymbol) 312Return ImmutableArray.CreateRange(Of NamedTypeSymbol)(GetMembersUnordered().OfType(Of NamedTypeSymbol)) 315Public Overrides Function GetTypeMembers() As ImmutableArray(Of NamedTypeSymbol) 316Return ImmutableArray.CreateRange(Of NamedTypeSymbol)(GetMembers().OfType(Of NamedTypeSymbol)) 319Public Overrides Function GetTypeMembers(name As String) As ImmutableArray(Of NamedTypeSymbol) 321Return ImmutableArray.CreateRange(Of NamedTypeSymbol)(GetMembers(name).OfType(Of NamedTypeSymbol)) 440Friend Overrides ReadOnly Property TypesToCheckForExtensionMethods As ImmutableArray(Of NamedTypeSymbol) 581Friend Overrides ReadOnly Property TypesToCheckForExtensionMethods As ImmutableArray(Of NamedTypeSymbol) 640Friend Overrides ReadOnly Property TypesToCheckForExtensionMethods As ImmutableArray(Of NamedTypeSymbol)
Symbols\Metadata\PE\MemberRefMetadataDecoder.vb (3)
54Dim namedType As NamedTypeSymbol = TryCast(Me._containingType, NamedTypeSymbol) 71Private Shared Sub GetGenericTypeParameterSymbol(position As Integer, namedType As NamedTypeSymbol, ByRef cumulativeArity As Integer, ByRef typeArgument As TypeParameterSymbol)
Symbols\Metadata\PE\MetadataDecoder.vb (7)
120Return If(result, New MissingMetadataTypeSymbol.Nested(DirectCast(container, NamedTypeSymbol), emittedName)) 152Dim result As NamedTypeSymbol = m.LookupTopLevelMetadataType(emittedName) 204Dim symbol = DirectCast(this, NamedTypeSymbol) 295) As NamedTypeSymbol 297Dim result As NamedTypeSymbol = Nothing 324Dim candidate As NamedTypeSymbol = assembly.LookupDeclaredTopLevelMetadataType(fullEmittedName) 483Return definition.AsMember(DirectCast(targetTypeSymbol, NamedTypeSymbol))
Symbols\Metadata\PE\PEAssemblySymbol.vb (2)
194Friend Overrides Function GetAllTopLevelForwardedTypes() As IEnumerable(Of NamedTypeSymbol) 198Friend Overrides Function TryLookupForwardedMetadataTypeWithCycleDetection(ByRef emittedName As MetadataTypeName, visitedAssemblies As ConsList(Of AssemblySymbol), ignoreCase As Boolean) 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\PEModuleSymbol.vb (11)
47Private _lazySystemTypeSymbol As NamedTypeSymbol 325Friend ReadOnly Property SystemTypeSymbol As NamedTypeSymbol 336Public Function GetEventRegistrationTokenType() As NamedTypeSymbol 340Private Function GetWellKnownType(type As WellKnownType) As NamedTypeSymbol 344Dim currentModuleResult As NamedTypeSymbol = Me.LookupTopLevelMetadataType(emittedName) 356Dim referencedAssemblyResult As NamedTypeSymbol = Nothing 358Dim currResult As NamedTypeSymbol = assembly.LookupDeclaredOrForwardedTopLevelMetadataType(emittedName, visitedAssemblies:=Nothing) 383Private Shared Function IsAcceptableSystemTypeSymbol(candidate As NamedTypeSymbol) As Boolean 424Friend Overloads Function LookupTopLevelMetadataType(ByRef emittedName As MetadataTypeName, <Out> ByRef isNoPiaLocalType As Boolean) As NamedTypeSymbol 425Dim result As NamedTypeSymbol 475Friend Iterator Function GetForwardedTypes() As IEnumerable(Of NamedTypeSymbol)
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\Metadata\PE\PENamespaceSymbol.vb (14)
42Private _lazyModules As ImmutableArray(Of NamedTypeSymbol) 45Private _lazyFlattenedTypes As ImmutableArray(Of NamedTypeSymbol) 56Public Overrides Function GetModuleMembers() As ImmutableArray(Of NamedTypeSymbol) 71Public Overrides Function GetModuleMembers(name As String) As ImmutableArray(Of NamedTypeSymbol) 103Public NotOverridable Overloads Overrides Function GetTypeMembers() As ImmutableArray(Of NamedTypeSymbol) 110result = StaticCast(Of NamedTypeSymbol).From(m_lazyTypes.Flatten()) 116Public NotOverridable Overloads Overrides Function GetTypeMembers(name As String) As ImmutableArray(Of NamedTypeSymbol) 122Return StaticCast(Of NamedTypeSymbol).From(t) 125Return ImmutableArray(Of NamedTypeSymbol).Empty 128Public Overloads Overrides Function GetTypeMembers(name As String, arity As Integer) As ImmutableArray(Of NamedTypeSymbol) 297Friend Overrides ReadOnly Property TypesToCheckForExtensionMethods As ImmutableArray(Of NamedTypeSymbol) 305Return ImmutableArray(Of NamedTypeSymbol).Empty 309Friend Function UnifyIfNoPiaLocalType(ByRef emittedTypeName As MetadataTypeName) As NamedTypeSymbol 318Dim result = DirectCast(New MetadataDecoder(ContainingPEModule).GetTypeOfToken(typeDef, isNoPiaLocalType), NamedTypeSymbol)
Symbols\Metadata\PE\PEPropertySymbol.vb (1)
149Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\Metadata\PE\SymbolFactory.vb (4)
87Dim genericType As NamedTypeSymbol = DirectCast(genericTypeDef, NamedTypeSymbol) 95Dim typeToCheck As NamedTypeSymbol = genericType 144Dim namedType = TryCast(type, NamedTypeSymbol)
Symbols\Metadata\PE\TupleTypeDecoder.vb (6)
160DecodeNamedType(DirectCast(type, NamedTypeSymbol))) 170Private Function DecodeNamedType(type As NamedTypeSymbol) As NamedTypeSymbol 179Dim decodedContainingType As NamedTypeSymbol = Nothing 223Private Shared Function Construct(type As NamedTypeSymbol, newTypeArgs As ImmutableArray(Of TypeWithModifiers)) As NamedTypeSymbol
Symbols\MetadataOrSourceAssemblySymbol.vb (5)
26Private _lazySpecialTypes() As NamedTypeSymbol 40Friend Overrides Function GetDeclaredSpecialType(type As ExtendedSpecialType) As NamedTypeSymbol 52Dim result As NamedTypeSymbol = [module].LookupTopLevelMetadataType(emittedName) 69Friend Overrides Sub RegisterDeclaredSpecialType(corType As NamedTypeSymbol) 78New NamedTypeSymbol(InternalSpecialType.NextAvailable - 1) {}, Nothing)
Symbols\MethodSignatureComparer.vb (1)
799Dim containingType As NamedTypeSymbol = method.ContainingType
Symbols\MethodSymbol.vb (2)
228Dim containingType As NamedTypeSymbol = Me.ContainingType 309Public Overridable ReadOnly Property AssociatedAnonymousDelegate As NamedTypeSymbol
Symbols\MissingAssemblySymbol.vb (9)
155Friend Overrides Function LookupDeclaredOrForwardedTopLevelMetadataType(ByRef emittedName As MetadataTypeName, visitedAssemblies As ConsList(Of AssemblySymbol)) As NamedTypeSymbol 159Friend Overrides Function LookupDeclaredTopLevelMetadataType(ByRef emittedName As MetadataTypeName) As NamedTypeSymbol 163Friend NotOverridable Overrides Function GetAllTopLevelForwardedTypes() As IEnumerable(Of NamedTypeSymbol) 164Return SpecializedCollections.EmptyEnumerable(Of NamedTypeSymbol)() 167Friend Overrides Function GetDeclaredSpecialType(type As ExtendedSpecialType) As NamedTypeSymbol 207Private _lazySpecialTypes() As NamedTypeSymbol 219Friend Overrides Function GetDeclaredSpecialType(type As ExtendedSpecialType) As NamedTypeSymbol 227Interlocked.CompareExchange(_lazySpecialTypes, New NamedTypeSymbol(InternalSpecialType.NextAvailable - 1) {}, Nothing) 232Dim corType As NamedTypeSymbol = New MissingMetadataTypeSymbol.TopLevel(m_ModuleSymbol, emittedFullName, type)
Symbols\MissingMetadataTypeSymbol.vb (4)
264Private ReadOnly _containingType As NamedTypeSymbol 266Public Sub New(containingType As NamedTypeSymbol, name As String, arity As Integer, mangleName As Boolean) 274Public Sub New(containingType As NamedTypeSymbol, ByRef emittedName As MetadataTypeName) 278Private Sub New(containingType As NamedTypeSymbol, ByRef emittedName As MetadataTypeName, mangleName As Boolean)
Symbols\MissingModuleSymbol.vb (1)
118Friend Overrides Function LookupTopLevelMetadataType(ByRef emittedName As MetadataTypeName) As NamedTypeSymbol
Symbols\MissingNamespaceSymbol.vb (12)
97Public Overrides Function GetTypeMembers() As ImmutableArray(Of NamedTypeSymbol) 98Return ImmutableArray(Of NamedTypeSymbol).Empty 101Public Overrides Function GetTypeMembers(name As String) As ImmutableArray(Of NamedTypeSymbol) 102Return ImmutableArray(Of NamedTypeSymbol).Empty 105Public Overrides Function GetTypeMembers(name As String, arity As Integer) As ImmutableArray(Of NamedTypeSymbol) 106Return ImmutableArray(Of NamedTypeSymbol).Empty 109Public Overrides Function GetModuleMembers() As ImmutableArray(Of NamedTypeSymbol) 110Return ImmutableArray(Of NamedTypeSymbol).Empty 113Public Overrides Function GetModuleMembers(name As String) As ImmutableArray(Of NamedTypeSymbol) 114Return ImmutableArray(Of NamedTypeSymbol).Empty 142Friend Overrides ReadOnly Property TypesToCheckForExtensionMethods As ImmutableArray(Of NamedTypeSymbol) 144Return ImmutableArray(Of NamedTypeSymbol).Empty
Symbols\ModuleSymbol.vb (1)
228) 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\NamedTypeSymbolExtensions.vb (8)
19Friend Function IsOrInGenericType(toCheck As NamedTypeSymbol) As Boolean 24Friend Function FindMember(container As NamedTypeSymbol, symbolName As String, kind As SymbolKind, nameSpan As TextSpan, tree As SyntaxTree) As Symbol 55Friend Function FindFieldOrProperty(container As NamedTypeSymbol, symbolName As String, nameSpan As TextSpan, tree As SyntaxTree) As Symbol 77Public Function AsUnboundGenericType(this As NamedTypeSymbol) As NamedTypeSymbol 82Friend Function HasVariance(this As NamedTypeSymbol) As Boolean 83Dim current As NamedTypeSymbol = this 109Friend Function AllowsExtensionMethods(container As NamedTypeSymbol) As Boolean
Symbols\NamespaceOrTypeSymbol.vb (4)
83Friend Overridable Function GetTypeMembersUnordered() As ImmutableArray(Of NamedTypeSymbol) 96Public MustOverride Function GetTypeMembers() As ImmutableArray(Of NamedTypeSymbol) 104Public MustOverride Function GetTypeMembers(name As String) As ImmutableArray(Of NamedTypeSymbol) 112Public Overridable Function GetTypeMembers(name As String, arity As Integer) As ImmutableArray(Of NamedTypeSymbol)
Symbols\NamespaceSymbol.vb (9)
42Public MustOverride Function GetModuleMembers() As ImmutableArray(Of NamedTypeSymbol) 50Public Overridable Function GetModuleMembers(name As String) As ImmutableArray(Of NamedTypeSymbol) 106Public NotOverridable Overrides ReadOnly Property ContainingType As NamedTypeSymbol 314Friend Overridable Function LookupMetadataType(ByRef fullEmittedName As MetadataTypeName) As NamedTypeSymbol 317Dim namedType As NamedTypeSymbol = Nothing 324Dim typeMembers As ImmutableArray(Of NamedTypeSymbol) 463For Each containedType As NamedTypeSymbol In Me.TypesToCheckForExtensionMethods 472For Each containedType As NamedTypeSymbol In Me.TypesToCheckForExtensionMethods 481Friend MustOverride ReadOnly Property TypesToCheckForExtensionMethods As ImmutableArray(Of NamedTypeSymbol)
Symbols\NonMissingAssemblySymbol.vb (14)
33Private ReadOnly _emittedNameToTypeMap As New ConcurrentDictionary(Of MetadataTypeName.Key, NamedTypeSymbol)() 71Friend NotOverridable Overrides Function LookupDeclaredTopLevelMetadataType(ByRef emittedName As MetadataTypeName) As NamedTypeSymbol 73Dim result As NamedTypeSymbol = Nothing 117Private Function LookupDeclaredTopLevelMetadataTypeInModules(ByRef emittedName As MetadataTypeName) As NamedTypeSymbol 122Dim result As NamedTypeSymbol = [module].LookupTopLevelMetadataType(emittedName) 142Friend NotOverridable Overrides Function LookupDeclaredOrForwardedTopLevelMetadataType(ByRef emittedName As MetadataTypeName, visitedAssemblies As ConsList(Of AssemblySymbol)) As NamedTypeSymbol 144Dim result As NamedTypeSymbol = Nothing 164Friend MustOverride Overrides Function TryLookupForwardedMetadataTypeWithCycleDetection(ByRef emittedName As MetadataTypeName, visitedAssemblies As ConsList(Of AssemblySymbol), ignoreCase As Boolean) As NamedTypeSymbol 169Friend Function CachedTypeByEmittedName(emittedname As String) As NamedTypeSymbol 185) As NamedTypeSymbol 186Dim result As NamedTypeSymbol = Nothing 197result As NamedTypeSymbol 198) As NamedTypeSymbol 199Dim result1 As NamedTypeSymbol = Nothing
Symbols\NonMissingModuleSymbol.vb (2)
152) As NamedTypeSymbol 154Dim result As NamedTypeSymbol
Symbols\NoPiaAmbiguousCanonicalTypeSymbol.vb (6)
21Private ReadOnly _firstCandidate As NamedTypeSymbol 22Private ReadOnly _secondCandidate As NamedTypeSymbol 26firstCandidate As NamedTypeSymbol, 27secondCandidate As NamedTypeSymbol 47Public ReadOnly Property FirstCandidate As NamedTypeSymbol 53Public ReadOnly Property SecondCandidate As NamedTypeSymbol
Symbols\NoPiaIllegalGenericInstantiationSymbol.vb (3)
19Private ReadOnly _underlyingSymbol As NamedTypeSymbol 21Public Sub New(underlyingSymbol As NamedTypeSymbol) 25Public ReadOnly Property UnderlyingSymbol As NamedTypeSymbol
Symbols\OverriddenMembersResult.vb (3)
90Dim overriddenByDefinitionContaining As NamedTypeSymbol = overriddenByDefinitionMember.ContainingType 91Dim overriddenByDefinitionContainingTypeDefinition As NamedTypeSymbol = overriddenByDefinitionContaining.OriginalDefinition 92Dim baseType As NamedTypeSymbol = substitutedOverridingMember.ContainingType.BaseTypeNoUseSiteDiagnostics
Symbols\ReducedExtensionMethodSymbol.vb (1)
347Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\Retargeting\RetargetingAssemblySymbol.vb (7)
71Friend ReadOnly m_NoPiaUnificationMap As New ConcurrentDictionary(Of NamedTypeSymbol, NamedTypeSymbol)() 193Friend Overrides Function GetDeclaredSpecialType(type As ExtendedSpecialType) As NamedTypeSymbol 264Friend Overrides Function TryLookupForwardedMetadataTypeWithCycleDetection(ByRef emittedName As MetadataTypeName, visitedAssemblies As ConsList(Of AssemblySymbol), ignoreCase As Boolean) As NamedTypeSymbol 265Dim underlying As NamedTypeSymbol = UnderlyingAssembly.TryLookupForwardedMetadataType(emittedName, ignoreCase) 274Friend Overrides Iterator Function GetAllTopLevelForwardedTypes() As IEnumerable(Of NamedTypeSymbol) 275For Each underlying As NamedTypeSymbol In UnderlyingAssembly.GetAllTopLevelForwardedTypes()
Symbols\Retargeting\RetargetingModuleSymbol.vb (4)
55Public SymbolMap As ConcurrentDictionary(Of NamedTypeSymbol, NamedTypeSymbol) 209Dim symbolMap = New ConcurrentDictionary(Of NamedTypeSymbol, NamedTypeSymbol)()
Symbols\Retargeting\RetargetingNamedTypeSymbol.vb (18)
37Private ReadOnly _underlyingType As NamedTypeSymbol 50Public Sub New(retargetingModule As RetargetingModuleSymbol, underlyingType As NamedTypeSymbol) 69Public ReadOnly Property UnderlyingNamedType As NamedTypeSymbol 102Public Overrides ReadOnly Property ConstructedFrom As NamedTypeSymbol 108Public Overrides ReadOnly Property EnumUnderlyingType As NamedTypeSymbol 233appendThrough As NamedTypeSymbol) 337Friend Overrides Function GetTypeMembersUnordered() As ImmutableArray(Of NamedTypeSymbol) 341Public Overrides Function GetTypeMembers() As ImmutableArray(Of NamedTypeSymbol) 345Public Overrides Function GetTypeMembers(name As String) As ImmutableArray(Of NamedTypeSymbol) 349Public Overrides Function GetTypeMembers(name As String, arity As Integer) As ImmutableArray(Of NamedTypeSymbol) 359Friend Overrides Function MakeDeclaredBase(basesBeingResolved As BasesBeingResolved, diagnostics As BindingDiagnosticBag) As NamedTypeSymbol 367Friend Overrides Function GetInterfacesToEmit() As IEnumerable(Of NamedTypeSymbol) 371Friend Overrides Function MakeDeclaredInterfaces(basesBeingResolved As BasesBeingResolved, diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol) 381Friend Overrides Function MakeAcyclicBaseType(diagnostics As BindingDiagnosticBag) As NamedTypeSymbol 400Friend Overrides Function MakeAcyclicInterfaces(diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol) 401Dim declaredInterfaces As ImmutableArray(Of NamedTypeSymbol) = GetDeclaredInterfacesNoUseSiteDiagnostics(Nothing) 493Friend Overrides Function LookupMetadataType(ByRef emittedTypeName As MetadataTypeName) As NamedTypeSymbol 494Dim underlying As NamedTypeSymbol = _underlyingType.LookupMetadataType(emittedTypeName)
Symbols\Retargeting\RetargetingNamespaceSymbol.vb (15)
75If s.Kind = SymbolKind.NamedType AndAlso DirectCast(s, NamedTypeSymbol).IsExplicitDefinitionOfNoPiaLocalType Then 91Friend Overrides Function GetTypeMembersUnordered() As ImmutableArray(Of NamedTypeSymbol) 95Public Overrides Function GetTypeMembers() As ImmutableArray(Of NamedTypeSymbol) 99Private Function RetargetTypeMembers(underlyingMembers As ImmutableArray(Of NamedTypeSymbol)) As ImmutableArray(Of NamedTypeSymbol) 100Dim builder = ArrayBuilder(Of NamedTypeSymbol).GetInstance() 112Public Overrides Function GetTypeMembers(name As String) As ImmutableArray(Of NamedTypeSymbol) 116Public Overrides Function GetTypeMembers(name As String, arity As Integer) As ImmutableArray(Of NamedTypeSymbol) 168Friend Overrides Function LookupMetadataType(ByRef fullEmittedName As MetadataTypeName) As NamedTypeSymbol 173Dim underlying As NamedTypeSymbol = _underlyingNamespace.LookupMetadataType(fullEmittedName) 190Public Overrides Function GetModuleMembers() As ImmutableArray(Of NamedTypeSymbol) 194Public Overrides Function GetModuleMembers(name As String) As ImmutableArray(Of NamedTypeSymbol) 233Friend Overrides ReadOnly Property TypesToCheckForExtensionMethods As ImmutableArray(Of NamedTypeSymbol) 247For Each underlyingContainedType As NamedTypeSymbol In _underlyingNamespace.TypesToCheckForExtensionMethods 254For Each underlyingContainedType As NamedTypeSymbol In _underlyingNamespace.TypesToCheckForExtensionMethods
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\SignatureOnlyPropertySymbol.vb (3)
22Private ReadOnly _containingType As NamedTypeSymbol 34containingType As NamedTypeSymbol, 69Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\Source\CustomEventAccessorSymbol.vb (3)
182Dim eventType = TryCast(_event.Type, NamedTypeSymbol) 224Dim registrationTokenType As NamedTypeSymbol = 233Dim registrationTokenType As NamedTypeSymbol =
Symbols\Source\ImplementsHelper.vb (4)
167containingType As NamedTypeSymbol, 181Dim interfaceNamedType As NamedTypeSymbol = DirectCast(interfaceType, NamedTypeSymbol) 568Dim interfaceType As NamedTypeSymbol = interfaceMember.ContainingType
Symbols\Source\ImplicitNamedTypeSymbol.vb (7)
42Friend Overrides Function MakeAcyclicBaseType(diagnostics As BindingDiagnosticBag) As NamedTypeSymbol 46Friend Overrides Function MakeAcyclicInterfaces(diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol) 47Return ImmutableArray(Of NamedTypeSymbol).Empty 50Friend Overrides Function MakeDeclaredBase(basesBeingResolved As BasesBeingResolved, diagnostics As BindingDiagnosticBag) As NamedTypeSymbol 61Friend Overrides Function MakeDeclaredInterfaces(basesBeingResolved As BasesBeingResolved, diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol) 62Return ImmutableArray(Of NamedTypeSymbol).Empty 168Protected Overrides Function GetInheritsOrImplementsLocation(base As NamedTypeSymbol, getInherits As Boolean) As Location
Symbols\Source\OverloadingHelper.vb (3)
28Public Sub SetMetadataNameForAllOverloads(name As String, kind As SymbolKind, container As NamedTypeSymbol) 80container As NamedTypeSymbol, 148Private Function GetBaseMemberMetadataName(name As String, kind As SymbolKind, container As NamedTypeSymbol) As String
Symbols\Source\OverrideHidingHelper.vb (10)
181Private Shared Sub CheckAllAbstractsAreOverriddenAndNotHidden(container As NamedTypeSymbol, diagnostics As BindingDiagnosticBag) 193Dim baseType As NamedTypeSymbol = container.BaseTypeNoUseSiteDiagnostics 334Dim currentBase As NamedTypeSymbol = container.BaseTypeNoUseSiteDiagnostics 347baseType As NamedTypeSymbol, 639Dim containingType As NamedTypeSymbol = overridingSym.ContainingType 646Dim currType As NamedTypeSymbol = containingType.BaseTypeNoUseSiteDiagnostics 677overridingContainingType As NamedTypeSymbol, 678currType As NamedTypeSymbol, 736overridingContainingType As NamedTypeSymbol, 818Dim memberContainingType As NamedTypeSymbol = member.ContainingType
Symbols\Source\SourceAssemblySymbol.vb (7)
394Dim forwardedTypes As HashSet(Of NamedTypeSymbol) = Nothing 401For Each forwarded As NamedTypeSymbol In peModuleSymbol.GetForwardedTypes() 409forwardedTypes = New HashSet(Of NamedTypeSymbol)() 454Friend Overrides Function GetAllTopLevelForwardedTypes() As IEnumerable(Of NamedTypeSymbol) 605Dim wellKnownAttributeData = DirectCast(attributesBag.DecodedWellKnownAttributeData, CommonAssemblyWellKnownAttributeData(Of NamedTypeSymbol)) 615wellKnownAttributeData = DirectCast(attributesBag.DecodedWellKnownAttributeData, CommonAssemblyWellKnownAttributeData(Of NamedTypeSymbol)) 1777Friend Overrides Function TryLookupForwardedMetadataTypeWithCycleDetection(ByRef emittedName As MetadataTypeName, visitedAssemblies As ConsList(Of AssemblySymbol), ignoreCase As Boolean) As NamedTypeSymbol
Symbols\Source\SourceDelegateMethodSymbol.vb (4)
28Protected Sub New(delegateType As NamedTypeSymbol, 65Friend Shared Sub MakeDelegateMembers(delegateType As NamedTypeSymbol, 214Public Sub New(delegateType As NamedTypeSymbol, 247Public Sub New(delegateType As NamedTypeSymbol,
Symbols\Source\SourceEventSymbol.vb (3)
175Dim invoke = DirectCast(type, NamedTypeSymbol).DelegateInvokeMethod 427Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol 635Friend Overrides Function EarlyDecodeWellKnownAttribute(ByRef arguments As EarlyDecodeWellKnownAttributeArguments(Of EarlyWellKnownAttributeBinder, NamedTypeSymbol, AttributeSyntax, AttributeLocation)) As VisualBasicAttributeData
Symbols\Source\SourceFieldSymbol.vb (3)
119Public NotOverridable Overrides ReadOnly Property ContainingType As NamedTypeSymbol 711Friend NotOverridable Overrides Function EarlyDecodeWellKnownAttribute(ByRef arguments As EarlyDecodeWellKnownAttributeArguments(Of EarlyWellKnownAttributeBinder, NamedTypeSymbol, AttributeSyntax, AttributeLocation)) As VisualBasicAttributeData 882container As NamedTypeSymbol) As Symbol
Symbols\Source\SourceLambdaSymbol.vb (6)
15Private _lazyAnonymousDelegateSymbol As NamedTypeSymbol = ErrorTypeSymbol.UnknownResultType 56Public Overrides ReadOnly Property AssociatedAnonymousDelegate As NamedTypeSymbol 59Dim newValue As NamedTypeSymbol = MakeAssociatedAnonymousDelegate() 60Dim oldValue As NamedTypeSymbol = Interlocked.CompareExchange(Me._lazyAnonymousDelegateSymbol, newValue, ErrorTypeSymbol.UnknownResultType) 67Friend Function MakeAssociatedAnonymousDelegate() As NamedTypeSymbol 68Dim anonymousDelegateSymbol As NamedTypeSymbol = Me._unboundLambda.InferredAnonymousDelegate.Key
Symbols\Source\SourceMemberContainerTypeSymbol.vb (55)
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) 2025Public ReadOnly TypesWithCycle As HashSet(Of NamedTypeSymbol) 2029Public ReadOnly Type As NamedTypeSymbol 2031Public ReadOnly ContainingDefinitionsPath As ConsList(Of NamedTypeSymbol) 2034Public Sub New(type As NamedTypeSymbol, fieldPath As ConsList(Of FieldSymbol), containingDefinitionsPath As ConsList(Of NamedTypeSymbol), report As Boolean) 2049ProcessedTypes = New HashSet(Of NamedTypeSymbol)() 2050TypesWithCycle = New HashSet(Of NamedTypeSymbol)() 2103data.Queue.Enqueue(New StructureCircularityDetectionDataSet.QueueElement(Me, ConsList(Of FieldSymbol).Empty, ConsList(Of NamedTypeSymbol).Empty.Prepend(Me), report:=True)) 2128Dim fieldType = TryCast(field.Type, NamedTypeSymbol) 2239Friend Function DetectTypeCircularity_ShouldStepIntoType(typeToTest As NamedTypeSymbol) As Boolean 2319Private Sub CheckDefaultPropertyAgainstAllBases(namedType As NamedTypeSymbol, defaultPropertyName As String, location As Location, diagBag As BindingDiagnosticBag) 2331Private Sub CheckDefaultPropertyAgainstBase(defaultPropertyName As String, baseType As NamedTypeSymbol, location As Location, diagBag As BindingDiagnosticBag) 3363appendThrough As NamedTypeSymbol) 3790Dim other As NamedTypeSymbol = keySetPair.Key 3805Dim originalDefinitionBuckets As New MultiDictionary(Of NamedTypeSymbol, NamedTypeSymbol) 3894Private Sub ReportInterfaceUnificationError(diagnostics As BindingDiagnosticBag, interface1 As NamedTypeSymbol, interface2 As NamedTypeSymbol) 3903Dim directInterface1 As NamedTypeSymbol = Nothing 3904Dim directInterface2 As NamedTypeSymbol = Nothing 3940Private Sub ReportVarianceAmbiguityWarning(diagnostics As BindingDiagnosticBag, interface1 As NamedTypeSymbol, interface2 As NamedTypeSymbol) 3953Dim directInterface1 As NamedTypeSymbol = Nothing 3954Dim directInterface2 As NamedTypeSymbol = Nothing 3975Private Sub ReportDuplicateInterfaceWithDifferentTupleNames(diagnostics As BindingDiagnosticBag, interface1 As NamedTypeSymbol, interface2 As NamedTypeSymbol) 3985Dim directInterface1 As NamedTypeSymbol = Nothing 3986Dim directInterface2 As NamedTypeSymbol = Nothing
Symbols\Source\SourceMemberMethodSymbol.vb (1)
224Dim container As NamedTypeSymbol = methodImpl.ContainingType
Symbols\Source\SourceMethodSymbol.vb (6)
30Protected ReadOnly m_containingType As NamedTypeSymbol 58Protected Sub New(containingType As NamedTypeSymbol, 602Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol 1049container As NamedTypeSymbol) As Symbol 1490Friend Overrides Function EarlyDecodeWellKnownAttribute(ByRef arguments As EarlyDecodeWellKnownAttributeArguments(Of EarlyWellKnownAttributeBinder, NamedTypeSymbol, AttributeSyntax, AttributeLocation)) As VisualBasicAttributeData 2073Protected Sub New(containingType As NamedTypeSymbol,
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_ComClass.vb (31)
34Private _syntheticInterfaces As ImmutableArray(Of NamedTypeSymbol) 65Public Function GetSynthesizedInterfaces() As ImmutableArray(Of NamedTypeSymbol) 73Public Function GetSynthesizedEventInterface() As NamedTypeSymbol 83Public Function GetSynthesizedImplements() As IEnumerable(Of NamedTypeSymbol) 90Return SpecializedCollections.SingletonEnumerable(Of NamedTypeSymbol)(_syntheticInterfaces(0)) 122Dim interfaces As ImmutableArray(Of NamedTypeSymbol) = ImmutableArray(Of NamedTypeSymbol).Empty 167Dim container As NamedTypeSymbol = comClass.ContainingType 196Dim comClassInterface As NamedTypeSymbol = New SynthesizedComInterface(comClass, interfaceMembers) 201interfaces = ImmutableArray.Create(Of NamedTypeSymbol)(comClassInterface, 338Dim container As NamedTypeSymbol = comClass.BaseTypeNoUseSiteDiagnostics 683Dim invoke As MethodSymbol = DirectCast(member.Type, NamedTypeSymbol).DelegateInvokeMethod 726Public Overloads Overrides Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) As NamedTypeSymbol 730Public Overrides ReadOnly Property ConstructedFrom As NamedTypeSymbol 778Public Overloads Overrides Function GetTypeMembers() As ImmutableArray(Of NamedTypeSymbol) 779Return ImmutableArray(Of NamedTypeSymbol).Empty 782Public Overloads Overrides Function GetTypeMembers(name As String) As ImmutableArray(Of NamedTypeSymbol) 786Public Overloads Overrides Function GetTypeMembers(name As String, arity As Integer) As ImmutableArray(Of NamedTypeSymbol) 876Friend Overrides Function MakeAcyclicBaseType(diagnostics As BindingDiagnosticBag) As NamedTypeSymbol 880Friend Overrides Function MakeAcyclicInterfaces(diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol) 881Return ImmutableArray(Of NamedTypeSymbol).Empty 884Friend Overrides Function MakeDeclaredBase(basesBeingResolved As BasesBeingResolved, diagnostics As BindingDiagnosticBag) As NamedTypeSymbol 888Friend Overrides Function MakeDeclaredInterfaces(basesBeingResolved As BasesBeingResolved, diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol) 889Return ImmutableArray(Of NamedTypeSymbol).Empty 1115Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol 1647Dim paramArrayAttribute As NamedTypeSymbol = compilation.GetWellKnownType(WellKnownType.System_ParamArrayAttribute) 1648Dim dateTimeConstantAttribute As NamedTypeSymbol = compilation.GetWellKnownType(WellKnownType.System_Runtime_CompilerServices_DateTimeConstantAttribute) 1649Dim decimalConstantAttribute As NamedTypeSymbol = compilation.GetWellKnownType(WellKnownType.System_Runtime_CompilerServices_DecimalConstantAttribute) 1726Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol 1904Dim interfaces As ImmutableArray(Of NamedTypeSymbol) = _comClassData.GetSynthesizedInterfaces() 1917Friend Overrides Function GetSynthesizedImplements() As IEnumerable(Of NamedTypeSymbol)
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\Source\SourceNamespaceSymbol.vb (15)
21Private _nameToTypeMembersMap As Dictionary(Of String, ImmutableArray(Of NamedTypeSymbol)) 35Private _lazyModuleMembers As ImmutableArray(Of NamedTypeSymbol) 62Dim type = TryCast(member, NamedTypeSymbol) 156ImmutableArrayExtensions.CreateNameToMembersMap(Of String, NamespaceOrTypeSymbol, NamedTypeSymbol, NamespaceSymbol)(builder, result) 184Private Function GetNameToTypeMembersMap() As Dictionary(Of String, ImmutableArray(Of NamedTypeSymbol)) 191ImmutableArrayExtensions.GetTypesFromMemberMap(Of String, NamespaceOrTypeSymbol, NamedTypeSymbol)( 235Friend Overrides Function GetTypeMembersUnordered() As ImmutableArray(Of NamedTypeSymbol) 239Public Overloads Overrides Function GetTypeMembers() As ImmutableArray(Of NamedTypeSymbol) 243Public Overloads Overrides Function GetTypeMembers(name As String) As ImmutableArray(Of NamedTypeSymbol) 244Dim members As ImmutableArray(Of NamedTypeSymbol) = Nothing 248Return ImmutableArray(Of NamedTypeSymbol).Empty 253Public Overrides Function GetModuleMembers() As ImmutableArray(Of NamedTypeSymbol) 255Dim moduleMembers = ArrayBuilder(Of NamedTypeSymbol).GetInstance() 489Friend Overrides ReadOnly Property TypesToCheckForExtensionMethods As ImmutableArray(Of NamedTypeSymbol) 496Return ImmutableArray(Of NamedTypeSymbol).Empty
Symbols\Source\SourceParameterSymbol.vb (3)
183Friend Overrides Function EarlyDecodeWellKnownAttribute(ByRef arguments As EarlyDecodeWellKnownAttributeArguments(Of EarlyWellKnownAttributeBinder, NamedTypeSymbol, AttributeSyntax, AttributeLocation)) As VisualBasicAttributeData 295Private Function EarlyDecodeAttributeForDefaultParameterValue(description As AttributeDescription, ByRef arguments As EarlyDecodeWellKnownAttributeArguments(Of EarlyWellKnownAttributeBinder, NamedTypeSymbol, AttributeSyntax, AttributeLocation)) As VisualBasicAttributeData 422DirectCast(arg.TypeInternal, NamedTypeSymbol).EnumUnderlyingType.SpecialType,
Symbols\Source\SourcePropertySymbol.vb (2)
434Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol 539Friend Overrides Function EarlyDecodeWellKnownAttribute(ByRef arguments As EarlyDecodeWellKnownAttributeArguments(Of EarlyWellKnownAttributeBinder, NamedTypeSymbol, AttributeSyntax, AttributeLocation)) As VisualBasicAttributeData
Symbols\Source\SynthesizedConstructorSymbol.vb (1)
30container As NamedTypeSymbol,
Symbols\Source\SynthesizedEntryPointSymbol.vb (4)
18Private ReadOnly _containingType As NamedTypeSymbol 48Private Sub New(containingType As NamedTypeSymbol, returnType As TypeSymbol) 225Friend Sub New(containingType As NamedTypeSymbol, returnType As TypeSymbol, getAwaiterMethod As MethodSymbol, getResultMethod As MethodSymbol) 317Friend Sub New(containingType As NamedTypeSymbol, returnType As TypeSymbol, submissionArrayType As TypeSymbol)
Symbols\Source\SynthesizedEventAccessorSymbol.vb (2)
144Dim fieldType As NamedTypeSymbol = DirectCast(field.Type, NamedTypeSymbol)
Symbols\Source\SynthesizedFieldSymbol.vb (3)
22Protected ReadOnly _containingType As NamedTypeSymbol 29Public Sub New(containingType As NamedTypeSymbol, 126Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\Source\SynthesizedMyGroupCollectionPropertyBackingFieldSymbol.vb (1)
22containingType As NamedTypeSymbol,
Symbols\Source\SynthesizedMyGroupCollectionPropertySymbol.vb (2)
32type As NamedTypeSymbol, 83Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\Source\SynthesizedSubmissionConstructorSymbol.vb (1)
21container As NamedTypeSymbol,
Symbols\SubstitutedErrorType.vb (6)
51Public Overrides ReadOnly Property OriginalDefinition As NamedTypeSymbol 69Public Overrides ReadOnly Property ConstructedFrom As NamedTypeSymbol 155Private Overloads Function InternalSubstituteTypeParametersInSubstitutedErrorType(additionalSubstitution As TypeSubstitution) As NamedTypeSymbol 161Dim containingType = TryCast(container, NamedTypeSymbol) 177Dim newContainer = DirectCast(containingType.InternalSubstituteTypeParameters(additionalSubstitution).AsTypeSymbolOnly(), NamedTypeSymbol) 201Public Overrides Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) 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\SubstitutedMethodSymbol.vb (1)
639Dim containerToCheck As NamedTypeSymbol = _container
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\SubstitutedPropertySymbol.vb (1)
87Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\SubstitutedTypeParameterSymbol.vb (1)
91DirectCast(_containingSymbol, NamedTypeSymbol).TypeSubstitution)
Symbols\SymbolExtensions.vb (4)
309Return (DirectCast(symbol, NamedTypeSymbol)).Arity 403Friend Function GetUpperLevelNamedTypeSymbol(symbol As Symbol) As NamedTypeSymbol 404Dim upperLevelType = If(symbol.Kind = SymbolKind.NamedType, DirectCast(symbol, NamedTypeSymbol), symbol.ContainingType) 431Friend Function AsMember(Of T As Symbol)(origMember As T, type As NamedTypeSymbol) As T
Symbols\SynthesizedSymbols\SynthesizedAccessor.vb (1)
20Protected Sub New(container As NamedTypeSymbol, propertyOrEvent As T)
Symbols\SynthesizedSymbols\SynthesizedAttributeData.vb (1)
69Public Overrides ReadOnly Property AttributeClass As NamedTypeSymbol
Symbols\SynthesizedSymbols\SynthesizedBackingFieldBase.vb (1)
73Public NotOverridable Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\SynthesizedSymbols\SynthesizedClonedTypeParameterSymbol.vb (1)
50If(TypeOf Me.ContainingSymbol Is NamedTypeSymbol, TypeParameterKind.Type,
Symbols\SynthesizedSymbols\SynthesizedConstructorBase.vb (1)
35container As NamedTypeSymbol,
Symbols\SynthesizedSymbols\SynthesizedDelegateMethodSymbol.vb (3)
22Private ReadOnly _containingType As NamedTypeSymbol 36containingSymbol As NamedTypeSymbol, 101Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\SynthesizedSymbols\SynthesizedEventDelegateSymbol.vb (16)
34Private ReadOnly _containingType As NamedTypeSymbol 42Friend Sub New(syntaxRef As SyntaxReference, containingSymbol As NamedTypeSymbol) 166Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol 184Public Overloads Overrides Function GetTypeMembers() As ImmutableArray(Of NamedTypeSymbol) 185Return ImmutableArray(Of NamedTypeSymbol).Empty 188Public Overloads Overrides Function GetTypeMembers(name As String) As ImmutableArray(Of NamedTypeSymbol) 189Return ImmutableArray(Of NamedTypeSymbol).Empty 192Public Overloads Overrides Function GetTypeMembers(name As String, arity As Integer) As ImmutableArray(Of NamedTypeSymbol) 193Return ImmutableArray(Of NamedTypeSymbol).Empty 231Friend Overrides Function MakeAcyclicBaseType(diagnostics As BindingDiagnosticBag) As NamedTypeSymbol 235Friend Overrides Function MakeAcyclicInterfaces(diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol) 236Return ImmutableArray(Of NamedTypeSymbol).Empty 239Friend Overrides Function MakeDeclaredBase(basesBeingResolved As BasesBeingResolved, diagnostics As BindingDiagnosticBag) As NamedTypeSymbol 243Friend Overrides Function MakeDeclaredInterfaces(basesBeingResolved As BasesBeingResolved, diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol) 244Return ImmutableArray(Of NamedTypeSymbol).Empty 397Dim outermostVariantInterface As NamedTypeSymbol = Nothing
Symbols\SynthesizedSymbols\SynthesizedGlobalMethodBase.vb (1)
222Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\SynthesizedSymbols\SynthesizedHotReloadExceptionConstructorSymbol.vb (1)
16Public Sub New(container As NamedTypeSymbol, stringType As TypeSymbol, intType As TypeSymbol)
Symbols\SynthesizedSymbols\SynthesizedHotReloadExceptionSymbol.vb (15)
17Private ReadOnly _baseType As NamedTypeSymbol 23baseType As NamedTypeSymbol, 54Public Overloads Overrides Function GetTypeMembers() As ImmutableArray(Of NamedTypeSymbol) 55Return ImmutableArray(Of NamedTypeSymbol).Empty 58Public Overloads Overrides Function GetTypeMembers(name As String) As ImmutableArray(Of NamedTypeSymbol) 59Return ImmutableArray(Of NamedTypeSymbol).Empty 62Public Overloads Overrides Function GetTypeMembers(name As String, arity As Integer) As ImmutableArray(Of NamedTypeSymbol) 63Return ImmutableArray(Of NamedTypeSymbol).Empty 94Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol 142Friend Overrides Function MakeAcyclicBaseType(diagnostics As BindingDiagnosticBag) As NamedTypeSymbol 146Friend Overrides Function MakeAcyclicInterfaces(diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol) 147Return ImmutableArray(Of NamedTypeSymbol).Empty 150Friend Overrides Function MakeDeclaredBase(basesBeingResolved As BasesBeingResolved, diagnostics As BindingDiagnosticBag) As NamedTypeSymbol 154Friend Overrides Function MakeDeclaredInterfaces(basesBeingResolved As BasesBeingResolved, diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol) 155Return ImmutableArray(Of NamedTypeSymbol).Empty
Symbols\SynthesizedSymbols\SynthesizedIntrinsicOperatorSymbol.vb (2)
15Public Sub New(container As NamedTypeSymbol, name As String, rightType As TypeSymbol, returnType As TypeSymbol) 24Public Sub New(container As NamedTypeSymbol, name As String, returnType As TypeSymbol)
Symbols\SynthesizedSymbols\SynthesizedMethod.vb (1)
28containingSymbol As NamedTypeSymbol,
Symbols\SynthesizedSymbols\SynthesizedMethodBase.vb (3)
17Protected ReadOnly m_containingType As NamedTypeSymbol 20Protected Sub New(container As NamedTypeSymbol) 50Public NotOverridable Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\SynthesizedSymbols\SynthesizedOverridingWitheventsProperty.vb (1)
94Public Overrides ReadOnly Property ContainingType As NamedTypeSymbol
Symbols\SynthesizedSymbols\SynthesizedPropertyAccessorBase.vb (1)
10Protected Sub New(container As NamedTypeSymbol, [property] As T)
Symbols\SynthesizedSymbols\SynthesizedRegularMethodBase.vb (1)
24container As NamedTypeSymbol,
Symbols\SynthesizedSymbols\SynthesizedSimpleConstructorSymbol.vb (1)
19Public Sub New(container As NamedTypeSymbol)
Symbols\SynthesizedSymbols\SynthesizedSimpleMethodSymbol.vb (1)
24Public Sub New(container As NamedTypeSymbol,
Symbols\Tuples\TupleErrorFieldSymbol.vb (1)
35Public Sub New(container As NamedTypeSymbol,
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\TypeParameterSymbol.vb (11)
105Public ReadOnly Property DeclaringType As NamedTypeSymbol 107Return TryCast(Me.ContainingSymbol, NamedTypeSymbol) 112Public NotOverridable Overrides Function GetTypeMembers() As ImmutableArray(Of NamedTypeSymbol) 113Return ImmutableArray(Of NamedTypeSymbol).Empty 117Public NotOverridable Overrides Function GetTypeMembers(name As String) As ImmutableArray(Of NamedTypeSymbol) 118Return ImmutableArray(Of NamedTypeSymbol).Empty 122Public NotOverridable Overrides Function GetTypeMembers(name As String, arity As Integer) As ImmutableArray(Of NamedTypeSymbol) 123Return ImmutableArray(Of NamedTypeSymbol).Empty 152Friend NotOverridable Overrides ReadOnly Property BaseTypeNoUseSiteDiagnostics As NamedTypeSymbol 158Friend NotOverridable Overrides ReadOnly Property InterfacesNoUseSiteDiagnostics As ImmutableArray(Of NamedTypeSymbol) 160Return ImmutableArray(Of NamedTypeSymbol).Empty
Symbols\TypeSubstitution.vb (12)
154Public Function GetTypeArgumentsFor(originalDefinition As NamedTypeSymbol, <Out> ByRef hasTypeArgumentsCustomModifiers As Boolean) As ImmutableArray(Of TypeSymbol) 210Public Function HasTypeArgumentsCustomModifiersFor(originalDefinition As NamedTypeSymbol) As Boolean 467Dim container As NamedTypeSymbol = targetGenericDefinition.ContainingType 519Dim containingType As NamedTypeSymbol = targetGenericDefinition.ContainingType 570DirectCast(targetGenericDefinition, NamedTypeSymbol).IsOrInGenericType())) 599typeParametersDefinitions = DirectCast(memberDefinition, NamedTypeSymbol).TypeParameters 761arity = DirectCast(targetGenericDefinition, NamedTypeSymbol).Arity 817typeParametersDefinitions = DirectCast(targetGenericDefinition, NamedTypeSymbol).TypeParameters 876Dim modifier = DirectCast(customModifiers(i).Modifier, NamedTypeSymbol) 877Dim substituted = DirectCast(modifier.InternalSubstituteTypeParameters(Me).AsTypeSymbolOnly(), NamedTypeSymbol) 885modifier = DirectCast(customModifiers(j).Modifier, NamedTypeSymbol) 886substituted = DirectCast(modifier.InternalSubstituteTypeParameters(Me).AsTypeSymbolOnly(), 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)
Symbols\UnboundGenericType.vb (46)
29Friend Shared Function Create(type As NamedTypeSymbol) As NamedTypeSymbol 99Public MustOverride Overrides ReadOnly Property OriginalDefinition As NamedTypeSymbol 111Public MustOverride Overrides ReadOnly Property ConstructedFrom As NamedTypeSymbol 125Public Overrides ReadOnly Property EnumUnderlyingType As NamedTypeSymbol 249Friend Overrides Function LookupMetadataType(ByRef emittedTypeName As MetadataTypeName) As NamedTypeSymbol 255Friend Overrides Function MakeDeclaredBase(basesBeingResolved As BasesBeingResolved, diagnostics As BindingDiagnosticBag) As NamedTypeSymbol 259Friend Overrides Function MakeAcyclicBaseType(diagnostics As BindingDiagnosticBag) As NamedTypeSymbol 263Friend Overrides Function GetDirectBaseTypeNoUseSiteDiagnostics(basesBeingResolved As BasesBeingResolved) As NamedTypeSymbol 267Friend Overrides Function GetDeclaredBase(basesBeingResolved As BasesBeingResolved) As NamedTypeSymbol 271Friend Overrides Function MakeDeclaredInterfaces(basesBeingResolved As BasesBeingResolved, diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol) 272Return ImmutableArray(Of NamedTypeSymbol).Empty 275Friend Overrides Function MakeAcyclicInterfaces(diagnostics As BindingDiagnosticBag) As ImmutableArray(Of NamedTypeSymbol) 276Return ImmutableArray(Of NamedTypeSymbol).Empty 279Friend Overrides Function GetDeclaredInterfacesNoUseSiteDiagnostics(basesBeingResolved As BasesBeingResolved) As ImmutableArray(Of NamedTypeSymbol) 280Return ImmutableArray(Of NamedTypeSymbol).Empty 309Public Overrides Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) As NamedTypeSymbol 354Private ReadOnly _originalDefinition As NamedTypeSymbol 356Private _lazyConstructedFrom As NamedTypeSymbol 360Public Sub New(originalDefinition As NamedTypeSymbol) 379Public Overrides ReadOnly Property OriginalDefinition As NamedTypeSymbol 390Dim originalDefinitionContainingType As NamedTypeSymbol = OriginalDefinition.ContainingType 409Public Overrides ReadOnly Property ConstructedFrom As NamedTypeSymbol 412Dim result As NamedTypeSymbol 413Dim originalDefinitionContainingType As NamedTypeSymbol = OriginalDefinition.ContainingType 479Debug.Assert(Not (TypeOf container Is NamedTypeSymbol AndAlso 480DirectCast(container, NamedTypeSymbol).IsGenericType)) 499Dim builder As ArrayBuilder(Of NamedTypeSymbol) = ArrayBuilder(Of NamedTypeSymbol).GetInstance() 502builder.AddRange(DirectCast(member, NamedTypeSymbol)) 514Friend Overrides Function GetTypeMembersUnordered() As ImmutableArray(Of NamedTypeSymbol) 518Public Overrides Function GetTypeMembers() As ImmutableArray(Of NamedTypeSymbol) 522Private Overloads Shared Function GetTypeMembers(originalTypeMembers As ImmutableArray(Of NamedTypeSymbol)) As ImmutableArray(Of NamedTypeSymbol) 527Dim members(originalTypeMembers.Length - 1) As NamedTypeSymbol 536Public Overrides Function GetTypeMembers(name As String) As ImmutableArray(Of NamedTypeSymbol) 540Public Overrides Function GetTypeMembers(name As String, arity As Integer) As ImmutableArray(Of NamedTypeSymbol) 561Dim originalDefinition As NamedTypeSymbol = constructed.OriginalDefinition 597Public Overrides ReadOnly Property OriginalDefinition As NamedTypeSymbol 603Public Overrides ReadOnly Property ConstructedFrom As NamedTypeSymbol 647Public Overrides Function GetTypeMembers() As ImmutableArray(Of NamedTypeSymbol) 648Return ImmutableArray(Of NamedTypeSymbol).Empty 651Public Overrides Function GetTypeMembers(name As String) As ImmutableArray(Of NamedTypeSymbol) 652Return ImmutableArray(Of NamedTypeSymbol).Empty 655Public Overrides Function GetTypeMembers(name As String, arity As Integer) As ImmutableArray(Of NamedTypeSymbol) 656Return ImmutableArray(Of NamedTypeSymbol).Empty
Symbols\Wrapped\WrappedNamedTypeSymbol.vb (3)
22Protected _underlyingType As NamedTypeSymbol 24Public ReadOnly Property UnderlyingNamedType As NamedTypeSymbol 192Public Sub New(underlyingType As NamedTypeSymbol)
Symbols\Wrapped\WrappedTypeParameterSymbol.vb (1)
99If(TypeOf Me.ContainingSymbol Is NamedTypeSymbol, TypeParameterKind.Type,