Emit\AttributeDataAdapter.vb (4)
109Return New MetadataTypeOf(moduleBeingBuilt.Translate(DirectCast(argument.ValueInternal, TypeSymbol), syntaxNodeOpt, diagnostics),
110moduleBeingBuilt.Translate(DirectCast(argument.TypeInternal, TypeSymbol), syntaxNodeOpt, diagnostics))
115Return moduleBeingBuilt.CreateConstant(DirectCast(type, TypeSymbol), value, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics)
121Dim type As TypeSymbol
Symbols\ArrayTypeSymbol.vb (21)
26Friend Shared Function CreateVBArray(elementType As TypeSymbol, customModifiers As ImmutableArray(Of CustomModifier), rank As Integer, compilation As VisualBasicCompilation) As ArrayTypeSymbol
33Friend Shared Function CreateVBArray(elementType As TypeSymbol, customModifiers As ImmutableArray(Of CustomModifier), rank As Integer, declaringAssembly As AssemblySymbol) As ArrayTypeSymbol
42elementType As TypeSymbol,
67Friend Shared Function CreateSZArray(elementType As TypeSymbol, customModifiers As ImmutableArray(Of CustomModifier), compilation As VisualBasicCompilation) As ArrayTypeSymbol
71Friend Shared Function CreateSZArray(elementType As TypeSymbol, customModifiers As ImmutableArray(Of CustomModifier), declaringAssembly As AssemblySymbol) As ArrayTypeSymbol
78Private Shared Function GetSZArrayInterfaces(elementType As TypeSymbol, declaringAssembly As AssemblySymbol) As ImmutableArray(Of NamedTypeSymbol)
167Public MustOverride ReadOnly Property ElementType As TypeSymbol
319Public NotOverridable Overrides Function Equals(other As TypeSymbol, comparison As TypeCompareKind) As Boolean
355Dim current As TypeSymbol = Me
365Friend MustOverride Function WithElementType(elementType As TypeSymbol) As ArrayTypeSymbol
388Friend Overrides Function GetUnificationUseSiteDiagnosticRecursive(owner As Symbol, ByRef checkedTypes As HashSet(Of TypeSymbol)) As DiagnosticInfo
477Private ReadOnly _elementType As TypeSymbol
481Public Sub New(elementType As TypeSymbol, customModifiers As ImmutableArray(Of CustomModifier), systemArray As NamedTypeSymbol)
496Public NotOverridable Overrides ReadOnly Property ElementType As TypeSymbol
551Public Sub New(elementType As TypeSymbol, customModifiers As ImmutableArray(Of CustomModifier), systemArray As NamedTypeSymbol, interfaces As ImmutableArray(Of NamedTypeSymbol))
582Friend Overrides Function WithElementType(newElementType As TypeSymbol) As ArrayTypeSymbol
600Public Sub New(elementType As TypeSymbol, customModifiers As ImmutableArray(Of CustomModifier), rank As Integer, systemArray As NamedTypeSymbol)
630Public Sub New(elementType As TypeSymbol, customModifiers As ImmutableArray(Of CustomModifier), rank As Integer, systemArray As NamedTypeSymbol)
634Friend Overrides Function WithElementType(newElementType As TypeSymbol) As ArrayTypeSymbol
653elementType As TypeSymbol,
686Friend Overrides Function WithElementType(newElementType As TypeSymbol) As ArrayTypeSymbol
Symbols\ConstraintsHelper.vb (19)
385type As TypeSymbol,
412type As TypeSymbol,
435Private ReadOnly s_checkConstraintsSingleTypeFunc As Func(Of TypeSymbol, CheckConstraintsDiagnosticsBuilders, Boolean) = AddressOf CheckConstraintsSingleType
437Private Function CheckConstraintsSingleType(type As TypeSymbol, diagnostics As CheckConstraintsDiagnosticsBuilders) As Boolean
618typeArguments As ImmutableArray(Of TypeSymbol),
648typeArgument As TypeSymbol,
762Public Function GetNonInterfaceConstraint(typeParameter As TypeParameterSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As TypeSymbol
763Dim result As TypeSymbol = Nothing
767Dim candidate As TypeSymbol = Nothing
797Dim result As TypeSymbol = Nothing
919typeArgument As TypeSymbol,
920constraintType As TypeSymbol,
934typeArgument As TypeSymbol,
992typeArgument As TypeSymbol,
1012typeArgument As TypeSymbol,
1019Dim containingType = TryCast(constructedSymbol, TypeSymbol)
1121Private Function IsNullableTypeOrTypeParameter(type As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean
1207Private Function ContainsTypeConstraint(constraints As ArrayBuilder(Of TypeParameterConstraint), constraintType As TypeSymbol) As Boolean
1232Debug.Assert(Not TypeSymbol.Equals(type.ConstructedFrom, type, TypeCompareKind.ConsiderEverything))
Symbols\Metadata\PE\MemberRefMetadataDecoder.vb (22)
26Private ReadOnly _containingType As TypeSymbol
28Public Sub New(moduleSymbol As PEModuleSymbol, containingType As TypeSymbol)
41Protected Overrides Function GetGenericMethodTypeParamSymbol(position As Integer) As TypeSymbol
48Protected Overrides Function GetGenericTypeParamSymbol(position As Integer) As TypeSymbol
124Dim targetParamInfo As ParamInfo(Of TypeSymbol)() = Me.DecodeSignatureParametersOrThrow(signaturePointer, signatureHeader, typeParamCount)
133Dim fieldInfo As FieldInfo(Of TypeSymbol) = Me.DecodeFieldSignature(signaturePointer)
145Private Shared Function FindFieldBySignature(targetTypeSymbol As TypeSymbol, targetMemberName As String, fieldInfo As FieldInfo(Of TypeSymbol)) As FieldSymbol
147Dim type As TypeSymbol = Nothing
148Dim customModifiers As ImmutableArray(Of ModifierInfo(Of TypeSymbol)) = Nothing
154TypeSymbol.Equals(field.Type, type, TypeCompareKind.AllIgnoreOptionsForVB) AndAlso
166Private Shared Function FindMethodBySignature(targetTypeSymbol As TypeSymbol, targetMemberName As String, targetMemberSignatureHeader As SignatureHeader, targetMemberTypeParamCount As Integer, targetParamInfo As ParamInfo(Of TypeSymbol)()) As MethodSymbol
184Private Shared Function MethodSymbolMatchesParamInfo(candidateMethod As MethodSymbol, targetParamInfo As ParamInfo(Of TypeSymbol)()) As Boolean
194candidateMethod = candidateMethod.Construct(StaticCast(Of TypeSymbol).From(IndexedTypeParameterSymbol.Take(candidateMethod.Arity)))
210Private Shared Function ParametersMatch(candidateParam As ParameterSymbol, ByRef targetParam As ParamInfo(Of TypeSymbol)) As Boolean
219If Not TypeSymbol.Equals(candidateParam.Type, targetParam.Type, TypeCompareKind.AllIgnoreOptionsForVB) Then
231Private Shared Function ReturnTypesMatch(candidateMethod As MethodSymbol, ByRef targetReturnParam As ParamInfo(Of TypeSymbol)) As Boolean
232Dim candidateReturnType As TypeSymbol = candidateMethod.ReturnType
233Dim targetReturnType As TypeSymbol = targetReturnParam.Type
236If Not TypeSymbol.Equals(candidateReturnType, targetReturnType, TypeCompareKind.AllIgnoreOptionsForVB) OrElse candidateMethod.ReturnsByRef <> targetReturnParam.IsByRef Then
248Private Shared Function CustomModifiersMatch(candidateReturnTypeCustomModifiers As ImmutableArray(Of CustomModifier), targetReturnTypeCustomModifiers As ImmutableArray(Of ModifierInfo(Of TypeSymbol))) As Boolean
Symbols\Metadata\PE\MetadataDecoder.vb (26)
19Inherits MetadataDecoder(Of PEModuleSymbol, TypeSymbol, MethodSymbol, FieldSymbol, Symbol)
72Protected Overrides Function GetGenericMethodTypeParamSymbol(position As Integer) As TypeSymbol
87Protected Overrides Function GetGenericTypeParamSymbol(position As Integer) As TypeSymbol
105Protected Overrides Function GetTypeHandleToTypeMap() As ConcurrentDictionary(Of TypeDefinitionHandle, TypeSymbol)
109Protected Overrides Function GetTypeRefHandleToTypeMap() As ConcurrentDictionary(Of TypeReferenceHandle, TypeSymbol)
114container As TypeSymbol,
116) As TypeSymbol
129) As TypeSymbol
145Protected Overrides Function LookupTopLevelTypeDefSymbol(moduleName As String, ByRef emittedName As MetadataTypeName, <Out> ByRef isNoPiaLocalType As Boolean) As TypeSymbol
171Protected Overloads Overrides Function LookupTopLevelTypeDefSymbol(ByRef emittedName As MetadataTypeName, <Out> ByRef isNoPiaLocalType As Boolean) As TypeSymbol
192Public Shared Function IsOrClosedOverATypeFromAssemblies(this As TypeSymbol, assemblies As ImmutableArray(Of AssemblySymbol)) As Boolean
242) As TypeSymbol
244Dim result As TypeSymbol
248Dim baseType As TypeSymbol = Nothing
273Dim cache As ConcurrentDictionary(Of TypeDefinitionHandle, TypeSymbol) = GetTypeHandleToTypeMap()
276Dim newresult As TypeSymbol = cache.GetOrAdd(typeDef, result)
290baseType As TypeSymbol,
421Protected Overrides Function FindMethodSymbolInType(typeSymbol As TypeSymbol, targetMethodDef As MethodDefinitionHandle) As MethodSymbol
446Protected Overrides Function FindFieldSymbolInType(typeSymbol As TypeSymbol, fieldDef As FieldDefinitionHandle) As FieldSymbol
459Friend Overrides Function GetSymbolForMemberRef(memberRef As MemberReferenceHandle, Optional scope As TypeSymbol = Nothing, Optional methodsOnly As Boolean = False) As Symbol
460Dim targetTypeSymbol As TypeSymbol = GetMemberRefTypeSymbol(memberRef)
468If scope IsNot Nothing AndAlso Not TypeSymbol.Equals(targetTypeSymbol, scope, TypeCompareKind.ConsiderEverything) AndAlso Not targetTypeSymbol.IsBaseTypeOrInterfaceOf(scope, CompoundUseSiteInfo(Of AssemblySymbol).Discarded) Then
489Protected Overrides Sub EnqueueTypeSymbolInterfacesAndBaseTypes(typeDefsToSearch As Queue(Of TypeDefinitionHandle), typeSymbolsToSearch As Queue(Of TypeSymbol), typeSymbol As TypeSymbol)
497Protected Overrides Sub EnqueueTypeSymbol(typeDefsToSearch As Queue(Of TypeDefinitionHandle), typeSymbolsToSearch As Queue(Of TypeSymbol), typeSymbol As TypeSymbol)
Symbols\Metadata\PE\PEParameterSymbol.vb (13)
26Private ReadOnly _type As TypeSymbol
71ByRef parameter As ParamInfo(Of TypeSymbol),
82type As TypeSymbol,
103type As TypeSymbol,
138refCustomModifiers As ImmutableArray(Of ModifierInfo(Of TypeSymbol)),
139type As TypeSymbol,
141customModifiers As ImmutableArray(Of ModifierInfo(Of TypeSymbol)),
157type As TypeSymbol,
215type As TypeSymbol,
237refCustomModifiers As ImmutableArray(Of ModifierInfo(Of TypeSymbol)),
238type As TypeSymbol,
240customModifiers As ImmutableArray(Of ModifierInfo(Of TypeSymbol)),
466Public Overrides ReadOnly Property Type As TypeSymbol
Symbols\Metadata\PE\SymbolFactory.vb (25)
11Inherits SymbolFactory(Of PEModuleSymbol, TypeSymbol)
18elementType As TypeSymbol,
19customModifiers As ImmutableArray(Of ModifierInfo(Of TypeSymbol)),
22) As TypeSymbol
33Friend Overrides Function GetSpecialType(moduleSymbol As PEModuleSymbol, specialType As SpecialType) As TypeSymbol
37Friend Overrides Function GetSystemTypeSymbol(moduleSymbol As PEModuleSymbol) As TypeSymbol
41Friend Overrides Function GetEnumUnderlyingType(moduleSymbol As PEModuleSymbol, type As TypeSymbol) As TypeSymbol
45Friend Overrides Function GetPrimitiveTypeCode(moduleSymbol As PEModuleSymbol, type As TypeSymbol) As Microsoft.Cci.PrimitiveTypeCode
49Friend Overrides Function GetSZArrayTypeSymbol(moduleSymbol As PEModuleSymbol, elementType As TypeSymbol, customModifiers As ImmutableArray(Of ModifierInfo(Of TypeSymbol))) As TypeSymbol
60Friend Overrides Function GetUnsupportedMetadataTypeSymbol(moduleSymbol As PEModuleSymbol, exception As BadImageFormatException) As TypeSymbol
64Friend Overrides Function MakePointerTypeSymbol(moduleSymbol As PEModuleSymbol, type As TypeSymbol, customModifiers As ImmutableArray(Of ModifierInfo(Of TypeSymbol))) As TypeSymbol
70genericTypeDef As TypeSymbol,
71arguments As ImmutableArray(Of KeyValuePair(Of TypeSymbol, ImmutableArray(Of ModifierInfo(Of TypeSymbol)))),
73) As TypeSymbol
140Return DirectCast(constructedType, TypeSymbol)
143Friend Overrides Function MakeUnboundIfGeneric(moduleSymbol As PEModuleSymbol, type As TypeSymbol) As TypeSymbol
148Friend Overrides Function MakeFunctionPointerTypeSymbol(moduleSymbol As PEModuleSymbol, callingConvention As Cci.CallingConvention, retAndParamTypes As ImmutableArray(Of ParamInfo(Of TypeSymbol))) As TypeSymbol
Symbols\MethodSymbol.vb (15)
75Public MustOverride ReadOnly Property TypeArguments As ImmutableArray(Of TypeSymbol)
153Public MustOverride ReadOnly Property ReturnType As TypeSymbol
539Dim returnType As TypeSymbol = Me.ReturnType
581Protected Sub CheckCanConstructAndTypeArguments(typeArguments As ImmutableArray(Of TypeSymbol))
592Public Overridable Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) As MethodSymbol
607Public Function Construct(ParamArray typeArguments() As TypeSymbol) As MethodSymbol
683Dim unificationCheckedTypes As HashSet(Of TypeSymbol) = Nothing
753Public Overridable ReadOnly Property ReceiverType As TypeSymbol
767Public Overridable Function GetTypeInferredDuringReduction(reducedFromTypeParameter As TypeParameterSymbol) As TypeSymbol
774Friend Overridable ReadOnly Property FixedTypeParameters As ImmutableArray(Of KeyValuePair(Of TypeParameterSymbol, TypeSymbol))
776Return ImmutableArray(Of KeyValuePair(Of TypeParameterSymbol, TypeSymbol)).Empty
787Friend Function ReduceExtensionMethod(instanceType As TypeSymbol, proximity As Integer, ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol), languageVersion As LanguageVersion) As MethodSymbol
795Public Function ReduceExtensionMethod(instanceType As TypeSymbol, ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol), languageVersion As LanguageVersion) As MethodSymbol
968Return Me.ReduceExtensionMethod(receiverType.EnsureVbSymbolOrNothing(Of TypeSymbol)(NameOf(receiverType)), CompoundUseSiteInfo(Of AssemblySymbol).Discarded, LanguageVersion.Latest)
1143Return Construct(DirectCast(typeArguments, TypeSymbol()))
Symbols\ReducedExtensionMethodSymbol.vb (32)
22Private ReadOnly _receiverType As TypeSymbol
24Private ReadOnly _fixedTypeParameters As ImmutableArray(Of KeyValuePair(Of TypeParameterSymbol, TypeSymbol))
28Private _lazyReturnType As TypeSymbol
36instanceType As TypeSymbol,
63Dim receiverType As TypeSymbol = possiblyExtensionMethod.Parameters(0).Type
69Dim fixWithArray As ImmutableArray(Of TypeSymbol) = Nothing
78Dim typeArguments As ImmutableArray(Of TypeSymbol) = Nothing
126Dim fixWith = ArrayBuilder(Of TypeSymbol).GetInstance(toFixCount)
189Dim fixedTypeParameters = ImmutableArray(Of KeyValuePair(Of TypeParameterSymbol, TypeSymbol)).Empty
192Dim fixed = ArrayBuilder(Of KeyValuePair(Of TypeParameterSymbol, TypeSymbol)).GetInstance(typeParametersToFixArray.Length)
195fixed.Add(New KeyValuePair(Of TypeParameterSymbol, TypeSymbol)(typeParametersToFixArray(i), fixWithArray(i)))
207receiverType As TypeSymbol,
209fixedTypeParameters As ImmutableArray(Of KeyValuePair(Of TypeParameterSymbol, TypeSymbol)),
230Dim curryTypeArguments(curriedFromMethod.Arity - 1) As TypeSymbol
236Dim fixed As KeyValuePair(Of TypeParameterSymbol, TypeSymbol) = fixedTypeParameters(i)
264Public Overrides ReadOnly Property ReceiverType As TypeSymbol
270Friend Overrides ReadOnly Property FixedTypeParameters As ImmutableArray(Of KeyValuePair(Of TypeParameterSymbol, TypeSymbol))
276Public Overrides Function GetTypeInferredDuringReduction(reducedFromTypeParameter As TypeParameterSymbol) As TypeSymbol
285For Each pair As KeyValuePair(Of TypeParameterSymbol, TypeSymbol) In _fixedTypeParameters
286If TypeSymbol.Equals(pair.Key, reducedFromTypeParameter, TypeCompareKind.ConsiderEverything) Then
310Dim resultTypeArguments(_curriedFromMethod.Arity - 1) As TypeSymbol
312For Each pair As KeyValuePair(Of TypeParameterSymbol, TypeSymbol) In _fixedTypeParameters
377Public Overrides ReadOnly Property TypeArguments As ImmutableArray(Of TypeSymbol)
379Return StaticCast(Of TypeSymbol).From(_curriedTypeParameters)
389Public Overrides ReadOnly Property ReturnType As TypeSymbol
392Dim type As TypeSymbol = _curriedFromMethod.ReturnType
721Friend Overrides ReadOnly Property ConstraintTypesNoUseSiteDiagnostics As ImmutableArray(Of TypeSymbol)
818Public Overrides Function Equals(other As TypeSymbol, comparison As TypeCompareKind) As Boolean
840Private _lazyType As TypeSymbol
853Public Overrides ReadOnly Property Type As TypeSymbol
857Dim paramType As TypeSymbol = m_CurriedFromParameter.Type
889Public MustOverride Overrides ReadOnly Property Type As TypeSymbol
Symbols\Retargeting\RetargetingSymbolTranslator.vb (20)
139Return marshallingInfo.WithTranslatedTypes(Of TypeSymbol, RetargetingSymbolTranslator)(
140Function(type, translator) translator.Retarget(DirectCast(type, TypeSymbol), RetargetOptions.RetargetPrimitiveTypesByTypeCode), Me)
143Public Function Retarget(symbol As TypeSymbol, options As RetargetOptions) As TypeSymbol
144Return DirectCast(symbol.Accept(Me, options), TypeSymbol)
320Dim cached As TypeSymbol = Nothing
454Dim newArg = New TypeWithModifiers(DirectCast(arg.Type.Accept(Me, RetargetOptions.RetargetPrimitiveTypesByTypeCode), TypeSymbol),
457If Not anythingRetargeted AndAlso (modifiersHaveChanged OrElse Not TypeSymbol.Equals(newArg.Type, arg.Type, TypeCompareKind.ConsiderEverything)) Then
545Private Function IsOrClosedOverAnExplicitLocalType(symbol As TypeSymbol) As Boolean
589Dim oldElement As TypeSymbol = type.ElementType
590Dim newElement As TypeSymbol = Retarget(oldElement, RetargetOptions.RetargetPrimitiveTypesByTypeCode)
724Dim oldConstantType As TypeSymbol = DirectCast(oldConstant.TypeInternal, TypeSymbol)
725Dim newConstantType As TypeSymbol = If(oldConstantType Is Nothing,
742newConstantValue = Retarget(DirectCast(oldConstantValue, TypeSymbol), RetargetOptions.RetargetPrimitiveTypesByTypeCode)
855Public Function Retarget(sequence As ImmutableArray(Of TypeSymbol)) As ImmutableArray(Of TypeSymbol)
856Dim result = ArrayBuilder(Of TypeSymbol).GetInstance(sequence.Length)
858For Each ts As TypeSymbol In sequence
1058If TypeSymbol.Equals(retargetedEvent.Type, retargetedEventType, TypeCompareKind.ConsiderEverything) Then
Symbols\SignatureOnlyMethodSymbol.vb (6)
22Private ReadOnly _containingType As TypeSymbol
28Private ReadOnly _returnType As TypeSymbol
34Public Sub New(ByVal name As String, ByVal m_containingType As TypeSymbol, ByVal methodKind As MethodKind, ByVal callingConvention As CallingConvention, ByVal typeParameters As ImmutableArray(Of TypeParameterSymbol), ByVal parameters As ImmutableArray(Of ParameterSymbol),
35ByVal returnsByRef As Boolean, ByVal returnType As TypeSymbol, ByVal returnTypeCustomModifiers As ImmutableArray(Of CustomModifier), refCustomModifiers As ImmutableArray(Of CustomModifier),
88Public Overrides ReadOnly Property ReturnType() As TypeSymbol
180Public Overrides ReadOnly Property TypeArguments() As ImmutableArray(Of TypeSymbol)
Symbols\Source\LocalSymbol.vb (23)
25Private _lazyType As TypeSymbol
48type As TypeSymbol) As LocalSymbol
61type As TypeSymbol,
70Friend Shared Function Create(originalVariable As LocalSymbol, type As TypeSymbol) As LocalSymbol
102Friend Sub New(container As Symbol, type As TypeSymbol)
123Public Overridable ReadOnly Property Type As TypeSymbol
152Public Sub SetType(type As TypeSymbol)
162Friend Overridable Function ComputeType(Optional containingBinder As Binder = Nothing) As TypeSymbol
493type As TypeSymbol)
604Friend Overrides Function ComputeType(Optional containingBinder As Binder = Nothing) As TypeSymbol
606Dim type As TypeSymbol = ComputeTypeInternal(If(containingBinder, _binder))
610Friend Overridable Function ComputeTypeInternal(containingBinder As Binder) As TypeSymbol
650type As TypeSymbol,
694Friend Overrides Function ComputeTypeInternal(localBinder As Binder) As TypeSymbol
696Dim type As TypeSymbol = Nothing
762Friend Overrides Function ComputeType(Optional containingBinder As Binder = Nothing) As TypeSymbol
768Dim type As TypeSymbol = Nothing
812Public Sub New(value As ConstantValue, type As TypeSymbol, expression As BoundExpression, diagnostics As ReadOnlyBindingDiagnostic(Of AssemblySymbol))
845Friend Overrides Function ComputeTypeInternal(localBinder As Binder) As TypeSymbol
847Dim declType As TypeSymbol = Nothing
848Dim type As TypeSymbol = Nothing
915Private Sub SetConstantExpression(type As TypeSymbol, constantValue As ConstantValue, expression As BoundExpression, diagnostics As ReadOnlyBindingDiagnostic(Of AssemblySymbol))
950Public Sub New(originalVariable As LocalSymbol, type As TypeSymbol)
Symbols\Source\SourceDelegateMethodSymbol.vb (13)
26Private ReadOnly _returnType As TypeSymbol
32returnType As TypeSymbol)
47Public Overrides ReadOnly Property ReturnType As TypeSymbol
78Dim returnType As TypeSymbol = BindReturnType(syntax, binder, diagnostics)
108Private Shared Function BindReturnType(syntax As VisualBasicSyntaxNode, binder As Binder, diagnostics As BindingDiagnosticBag) As TypeSymbol
215voidType As TypeSymbol,
216objectType As TypeSymbol,
217intPtrType As TypeSymbol,
248returnType As TypeSymbol,
275iAsyncResultType As TypeSymbol,
276objectType As TypeSymbol,
277asyncCallbackType As TypeSymbol,
323iAsyncResultType As TypeSymbol,
Symbols\Source\SourceMemberContainerTypeSymbol.vb (29)
489If TypeSymbol.Equals(iface, implementedInterface, TypeCompareKind.ConsiderEverything) Then
573type As TypeSymbol,
610type As TypeSymbol,
1042For Each constraint As TypeSymbol In param.ConstraintTypesNoUseSiteDiagnostics
1108Dim type As TypeSymbol = [event].Type
2999If Not Equals(TryCast(sym, TypeSymbol), type, TypeCompareKind.ConsiderEverything) Then
3044Dim asType = TryCast(firstAssociatedSymbol, TypeSymbol)
3794Debug.Assert(Not TypeSymbol.Equals([interface], other, TypeCompareKind.ConsiderEverything))
3820Debug.Assert(interface2.IsGenericType AndAlso TypeSymbol.Equals(interface1.OriginalDefinition, interface2.OriginalDefinition, TypeCompareKind.ConsiderEverything))
3911If (TypeSymbol.Equals(directInterface1, interface1, TypeCompareKind.ConsiderEverything) AndAlso TypeSymbol.Equals(directInterface2, interface2, TypeCompareKind.ConsiderEverything)) Then
3915ElseIf (Not TypeSymbol.Equals(directInterface1, interface1, TypeCompareKind.ConsiderEverything) AndAlso TypeSymbol.Equals(directInterface2, interface2, TypeCompareKind.ConsiderEverything)) Then
3920ElseIf (TypeSymbol.Equals(directInterface1, interface1, TypeCompareKind.ConsiderEverything) AndAlso Not TypeSymbol.Equals(directInterface2, interface2, TypeCompareKind.ConsiderEverything)) Then
3926Debug.Assert(Not TypeSymbol.Equals(directInterface1, interface1, TypeCompareKind.ConsiderEverything) AndAlso Not TypeSymbol.Equals(directInterface2, interface2, TypeCompareKind.ConsiderEverything))
3992If (TypeSymbol.Equals(directInterface1, interface1, TypeCompareKind.ConsiderEverything) AndAlso TypeSymbol.Equals(directInterface2, interface2, TypeCompareKind.ConsiderEverything)) Then
3996ElseIf (Not TypeSymbol.Equals(directInterface1, interface1, TypeCompareKind.ConsiderEverything) AndAlso TypeSymbol.Equals(directInterface2, interface2, TypeCompareKind.ConsiderEverything)) Then
4001ElseIf (TypeSymbol.Equals(directInterface1, interface1, TypeCompareKind.ConsiderEverything) AndAlso Not TypeSymbol.Equals(directInterface2, interface2, TypeCompareKind.ConsiderEverything)) Then
4007Debug.Assert(Not TypeSymbol.Equals(directInterface1, interface1, TypeCompareKind.ConsiderEverything) AndAlso Not TypeSymbol.Equals(directInterface2, interface2, TypeCompareKind.ConsiderEverything))
4064Inherits EqualityComparer(Of TypeSymbol)
4078Public Overrides Function Equals(type1 As TypeSymbol, type2 As TypeSymbol) As Boolean
4084Public Overrides Function GetHashCode(obj As TypeSymbol) As Integer
Symbols\Source\SourceNamedTypeSymbol.vb (11)
64Private _lazyCoClassType As TypeSymbol = ErrorTypeSymbol.UnknownResultType
880Dim constraintTypes1 = New HashSet(Of TypeSymbol)
1220Dim interfacesInThisPartial As New HashSet(Of TypeSymbol)()
1340If TypeSymbol.Equals(bt, base, TypeCompareKind.ConsiderEverything) Then
1770Debug.Assert(TypeSymbol.Equals(underlyingType, Me._lazyEnumUnderlyingType, TypeCompareKind.ConsiderEverything))
1933Friend Overrides ReadOnly Property CoClassType As TypeSymbol
1937Interlocked.CompareExchange(_lazyCoClassType, Nothing, DirectCast(ErrorTypeSymbol.UnknownResultType, TypeSymbol))
1944DirectCast(ErrorTypeSymbol.UnknownResultType, TypeSymbol))
2222Debug.Assert(DirectCast(argument.TypeInternal, TypeSymbol).Equals(DeclaringCompilation.GetWellKnownType(WellKnownType.System_Type), TypeCompareKind.ConsiderEverything))
2229DirectCast(argument.ValueInternal, TypeSymbol),
2230DirectCast(ErrorTypeSymbol.UnknownResultType, TypeSymbol))
Symbols\SynthesizedSymbols\SynthesizedIntrinsicOperatorSymbol.vb (9)
13Private ReadOnly _returnType As TypeSymbol
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)
60Public Overrides ReadOnly Property ReturnType As TypeSymbol
79TypeSymbol.Equals(m_containingType, other.m_containingType, TypeCompareKind.ConsiderEverything) AndAlso
80TypeSymbol.Equals(_returnType, other._returnType, TypeCompareKind.ConsiderEverything) Then
83If Not TypeSymbol.Equals(_parameters(i).Type, other._parameters(i).Type, TypeCompareKind.ConsiderEverything) Then
191Public Sub New(container As MethodSymbol, type As TypeSymbol, ordinal As Integer, name As String)
Symbols\SynthesizedSymbols\SynthesizedParameterSymbol.vb (9)
21Protected ReadOnly _type As TypeSymbol
32Public Sub New(container As MethodSymbol, type As TypeSymbol, ordinal As Integer, name As String)
232Public NotOverridable Overrides ReadOnly Property Type As TypeSymbol
274Public Sub New(container As MethodSymbol, type As TypeSymbol, ordinal As Integer, isByRef As Boolean, Optional name As String = "")
286Public Sub New(container As MethodSymbol, type As TypeSymbol, ordinal As Integer, isByRef As Boolean, name As String, isOptional As Boolean, defaultValue As ConstantValue)
294Public Shared Function Create(container As MethodSymbol, type As TypeSymbol, ordinal As Integer, isByRef As Boolean, name As String,
306Dim valueParameterType As TypeSymbol = propertySymbol.Type
392Public Sub New(container As MethodSymbol, type As TypeSymbol, ordinal As Integer, isByRef As Boolean, name As String,
427Public Sub New(container As MethodSymbol, type As TypeSymbol, ordinal As Integer, isByRef As Boolean, name As String, location As Location)
Symbols\Tuples\TupleTypeSymbol.vb (24)
44Private ReadOnly _elementTypes As ImmutableArray(Of TypeSymbol)
84Public Overrides ReadOnly Property TupleElementTypes As ImmutableArray(Of TypeSymbol)
216Friend Overrides ReadOnly Property TypeArgumentsNoUseSiteDiagnostics As ImmutableArray(Of TypeSymbol)
218Return ImmutableArray(Of TypeSymbol).Empty
333elementNames As ImmutableArray(Of String), elementTypes As ImmutableArray(Of TypeSymbol),
342elementTypes As ImmutableArray(Of TypeSymbol), errorPositions As ImmutableArray(Of Boolean))
361elementTypes As ImmutableArray(Of TypeSymbol),
413Dim elementTypes As ImmutableArray(Of TypeSymbol)
416Dim tupleElementTypes As ImmutableArray(Of TypeSymbol) = tupleCompatibleType.TypeArgumentsNoUseSiteDiagnostics(TupleTypeSymbol.RestPosition - 1).TupleElementTypes
417Dim instance As ArrayBuilder(Of TypeSymbol) = ArrayBuilder(Of TypeSymbol).GetInstance(TupleTypeSymbol.RestPosition - 1 + tupleElementTypes.Length)
461Dim typeArgumentsNoUseSiteDiagnostics As ImmutableArray(Of TypeSymbol) = tupleCompatibleType.TypeArgumentsNoUseSiteDiagnostics
512Friend Shared Sub AddElementTypes(underlyingTupleType As NamedTypeSymbol, tupleElementTypes As ArrayBuilder(Of TypeSymbol))
543Private Shared Function GetTupleUnderlyingType(elementTypes As ImmutableArray(Of TypeSymbol), syntax As SyntaxNode, compilation As VisualBasicCompilation, diagnostics As BindingDiagnosticBag) As NamedTypeSymbol
554Dim namedTypeSymbol As NamedTypeSymbol = wellKnownType.Construct(ImmutableArray.Create(Of TypeSymbol)(elementTypes, (chainLength - 1) * (TupleTypeSymbol.RestPosition - 1), remainder))
563Dim typeArguments As ImmutableArray(Of TypeSymbol) = ImmutableArray.Create(Of TypeSymbol)(elementTypes, ([loop] - 1) * (TupleTypeSymbol.RestPosition - 1), TupleTypeSymbol.RestPosition - 1).Add(namedTypeSymbol)
970Public Overrides Function Equals(obj As TypeSymbol, comparison As TypeCompareKind) As Boolean
1021Friend Overrides Function GetUnificationUseSiteDiagnosticRecursive(owner As Symbol, ByRef checkedTypes As HashSet(Of TypeSymbol)) As DiagnosticInfo
1057Public Shared Function TransformToTupleIfCompatible(target As TypeSymbol) As TypeSymbol
1058Dim result As TypeSymbol
1067Public Overrides Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) As NamedTypeSymbol
1105Friend Shared Sub ReportNamesMismatchesIfAny(destination As TypeSymbol, literal As BoundTupleLiteral, diagnostics As BindingDiagnosticBag)
Symbols\TypeSubstitution.vb (10)
154Public Function GetTypeArgumentsFor(originalDefinition As NamedTypeSymbol, <Out> ByRef hasTypeArgumentsCustomModifiers As Boolean) As ImmutableArray(Of TypeSymbol)
160Dim result = ArrayBuilder(Of TypeSymbol).GetInstance(originalDefinition.Arity, fillWithValue:=Nothing)
244Dim value As TypeSymbol = pair.Value.Type
379args() As TypeSymbol,
480Private Shared ReadOnly s_withoutModifiers As Func(Of TypeSymbol, TypeWithModifiers) = Function(arg) New TypeWithModifiers(arg)
485args As ImmutableArray(Of TypeSymbol),
497args As ImmutableArray(Of TypeSymbol),
861Public Function SubstituteCustomModifiers(type As TypeSymbol, customModifiers As ImmutableArray(Of CustomModifier)) As ImmutableArray(Of CustomModifier)
879If Not TypeSymbol.Equals(modifier, substituted, TypeCompareKind.ConsiderEverything) Then
888If Not TypeSymbol.Equals(modifier, substituted, TypeCompareKind.ConsiderEverything) Then
Symbols\TypeSymbol.vb (20)
34Private Shared ReadOnly s_EmptyTypeSymbols() As TypeSymbol = Array.Empty(Of TypeSymbol)
59Public Shared ReadOnly Property EmptyTypeSymbolsList As IList(Of TypeSymbol)
70Public Shadows ReadOnly Property OriginalDefinition As TypeSymbol
76Protected Overridable ReadOnly Property OriginalTypeSymbolDefinition As TypeSymbol
316Public Overloads Shared Operator =(left As TypeSymbol, right As TypeSymbol) As Boolean
321Public Overloads Shared Operator <>(left As TypeSymbol, right As TypeSymbol) As Boolean
326Public Overloads Shared Operator =(left As Symbol, right As TypeSymbol) As Boolean
331Public Overloads Shared Operator <>(left As Symbol, right As TypeSymbol) As Boolean
336Public Overloads Shared Operator =(left As TypeSymbol, right As Symbol) As Boolean
341Public Overloads Shared Operator <>(left As TypeSymbol, right As Symbol) As Boolean
345Public Overloads Shared Function Equals(left As TypeSymbol, right As TypeSymbol, comparison As TypeCompareKind) As Boolean
350Return Equals(TryCast(obj, TypeSymbol), TypeCompareKind.ConsiderEverything)
354Return Equals(TryCast(other, TypeSymbol), compareKind)
359Public MustOverride Overloads Function Equals(other As TypeSymbol, comparison As TypeCompareKind) As Boolean
474Public Overridable ReadOnly Property TupleElementTypes() As ImmutableArray(Of TypeSymbol)
534Friend MustOverride Overloads Function GetUnificationUseSiteDiagnosticRecursive(owner As Symbol, ByRef checkedTypes As HashSet(Of TypeSymbol)) As DiagnosticInfo
Symbols\TypeSymbolExtensions.vb (147)
14Public Function IsNullableType(this As TypeSymbol) As Boolean
19Public Function IsNullableOfBoolean(this As TypeSymbol) As Boolean
24Public Function GetNullableUnderlyingType(type As TypeSymbol) As TypeSymbol
30Public Function GetNullableUnderlyingTypeOrSelf(type As TypeSymbol) As TypeSymbol
41Public Function GetEnumUnderlyingType(type As TypeSymbol) As TypeSymbol
48Public Function GetEnumUnderlyingTypeOrSelf(type As TypeSymbol) As TypeSymbol
53Public Function GetTupleUnderlyingType(type As TypeSymbol) As TypeSymbol
60Public Function GetTupleUnderlyingTypeOrSelf(type As TypeSymbol) As TypeSymbol
65Public Function TryGetElementTypesIfTupleOrCompatible(type As TypeSymbol, <Out> ByRef elementTypes As ImmutableArray(Of TypeSymbol)) As Boolean
85Dim elementTypesBuilder = ArrayBuilder(Of TypeSymbol).GetInstance(cardinality)
95Public Function GetElementTypesOfTupleOrCompatible(Type As TypeSymbol) As ImmutableArray(Of TypeSymbol)
109Dim elementTypesBuilder = ArrayBuilder(Of TypeSymbol).GetInstance()
116Friend Function IsEnumType(type As TypeSymbol) As Boolean
122Friend Function IsValidEnumUnderlyingType(type As TypeSymbol) As Boolean
127Friend Function IsClassOrInterfaceType(type As TypeSymbol) As Boolean
132Friend Function IsInterfaceType(type As TypeSymbol) As Boolean
138Friend Function IsClassType(type As TypeSymbol) As Boolean
144Friend Function IsStructureType(type As TypeSymbol) As Boolean
150Friend Function IsModuleType(type As TypeSymbol) As Boolean
156Friend Function IsErrorType(type As TypeSymbol) As Boolean
162Friend Function IsArrayType(type As TypeSymbol) As Boolean
168Friend Function IsCharSZArray(type As TypeSymbol) As Boolean
181Friend Function IsDBNullType(type As TypeSymbol) As Boolean
204Friend Function IsMicrosoftVisualBasicCollection(type As TypeSymbol) As Boolean
225Friend Function IsTypeParameter(type As TypeSymbol) As Boolean
231Friend Function IsDelegateType(type As TypeSymbol) As Boolean
237Friend Function IsSameTypeIgnoringAll(t1 As TypeSymbol, t2 As TypeSymbol) As Boolean
245Friend Function IsSameType(t1 As TypeSymbol, t2 As TypeSymbol, compareKind As TypeCompareKind) As Boolean
246Return TypeSymbol.Equals(t1, t2, compareKind)
285Public Function GetSpecialTypeSafe(this As TypeSymbol) As SpecialType
290Public Function IsNumericType(this As TypeSymbol) As Boolean
295Public Function IsIntegralType(this As TypeSymbol) As Boolean
300Public Function IsUnsignedIntegralType(this As TypeSymbol) As Boolean
305Public Function IsSignedIntegralType(this As TypeSymbol) As Boolean
310Public Function IsFloatingType(this As TypeSymbol) As Boolean
315Public Function IsSingleType(this As TypeSymbol) As Boolean
320Public Function IsDoubleType(this As TypeSymbol) As Boolean
325Public Function IsBooleanType(this As TypeSymbol) As Boolean
330Public Function IsCharType(this As TypeSymbol) As Boolean
335Public Function IsStringType(this As TypeSymbol) As Boolean
340Public Function IsObjectType(this As TypeSymbol) As Boolean
345Public Function IsStrictSupertypeOfConcreteDelegate(this As TypeSymbol) As Boolean
350Public Function IsVoidType(this As TypeSymbol) As Boolean
355Public Function IsDecimalType(this As TypeSymbol) As Boolean
360Public Function IsDateTimeType(this As TypeSymbol) As Boolean
365Public Function IsRestrictedType(this As TypeSymbol) As Boolean
370Public Function IsRestrictedArrayType(this As TypeSymbol, <Out> ByRef restrictedType As TypeSymbol) As Boolean
380Public Function IsRestrictedTypeOrArrayType(this As TypeSymbol, <Out> ByRef restrictedType As TypeSymbol) As Boolean
395Public Function IsIntrinsicType(this As TypeSymbol) As Boolean
400Public Function IsIntrinsicValueType(this As TypeSymbol) As Boolean
408Public Function IsNotInheritable(this As TypeSymbol) As Boolean
422Public Function GetConstantValueTypeDiscriminator(this As TypeSymbol) As ConstantValueTypeDiscriminator
470Public Function IsValidForConstantValue(this As TypeSymbol, value As ConstantValue) As Boolean
478Public Function AllowsCompileTimeConversions(this As TypeSymbol) As Boolean
483Public Function AllowsCompileTimeOperations(this As TypeSymbol) As Boolean
488Public Function CanContainUserDefinedOperators(this As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean
502Dim underlyingType As TypeSymbol = this.GetNullableUnderlyingTypeOrSelf().GetEnumUnderlyingTypeOrSelf()
513Public Function TypeToIndex(type As TypeSymbol) As Integer?
521Public Function DigThroughArrayType(possiblyArrayType As TypeSymbol) As TypeSymbol
536If TypeSymbol.Equals(inner, outer, TypeCompareKind.ConsiderEverything) Then
547Public Function ImplementsInterface(subType As TypeSymbol, superInterface As TypeSymbol, comparer As EqualityComparer(Of TypeSymbol), <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean
549comparer = EqualityComparer(Of TypeSymbol).Default
566type As TypeSymbol,
578source As TypeSymbol,
581Dim current As TypeSymbol = source
597Public Function IsBaseTypeOf(superType As TypeSymbol, subType As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean
598Dim current As TypeSymbol = subType
616Public Function IsOrDerivedFrom(derivedType As NamedTypeSymbol, baseType As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean
630Public Function IsOrDerivedFrom(derivedType As TypeSymbol, baseType As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean
650Public Function IsOrDerivedFromWellKnownClass(derivedType As TypeSymbol, wellKnownBaseType As WellKnownType, compilation As VisualBasicCompilation, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean
662Public Function IsCompatibleWithGenericIEnumerableOfType(type As TypeSymbol, typeArgument As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean
710Public Function IsOrImplementsIEnumerableOfXElement(type As TypeSymbol, compilation As VisualBasicCompilation, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean
716Public Function IsBaseTypeOrInterfaceOf(superType As TypeSymbol, subType As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean
732Friend Function IsValidTypeForConstField(fieldType As TypeSymbol) As Boolean
739Friend Sub CollectReferencedTypeParameters(this As TypeSymbol, typeParameters As HashSet(Of TypeParameterSymbol))
743Private ReadOnly s_addIfTypeParameterFunc As Func(Of TypeSymbol, HashSet(Of TypeParameterSymbol), Boolean) = AddressOf AddIfTypeParameter
745Private Function AddIfTypeParameter(type As TypeSymbol, typeParameters As HashSet(Of TypeParameterSymbol)) As Boolean
753Friend Function ReferencesTypeParameterNotInTheSet(this As TypeSymbol, typeParameters As HashSet(Of TypeParameterSymbol)) As Boolean
758Private ReadOnly s_isTypeParameterNotInSetFunc As Func(Of TypeSymbol, HashSet(Of TypeParameterSymbol), Boolean) = AddressOf IsTypeParameterNotInSet
760Private Function IsTypeParameterNotInSet(type As TypeSymbol, typeParameters As HashSet(Of TypeParameterSymbol)) As Boolean
766Friend Function ReferencesMethodsTypeParameter(this As TypeSymbol, method As MethodSymbol) As Boolean
771Private ReadOnly s_isMethodTypeParameterFunc As Func(Of TypeSymbol, MethodSymbol, Boolean) = AddressOf IsMethodTypeParameter
773Private Function IsMethodTypeParameter(type As TypeSymbol, method As MethodSymbol) As Boolean
779Public Function IsUnboundGenericType(this As TypeSymbol) As Boolean
785Friend Function IsOrRefersToTypeParameter(this As TypeSymbol) As Boolean
790Private ReadOnly s_isTypeParameterFunc As Func(Of TypeSymbol, Object, Boolean) = Function(type, arg) (type.TypeKind = TypeKind.TypeParameter)
796Friend Function ContainsTuple(type As TypeSymbol) As Boolean
800Private ReadOnly s_isTupleTypeFunc As Func(Of TypeSymbol, Object, Boolean) = Function(type, arg) type.IsTupleType
806Friend Function ContainsTupleNames(type As TypeSymbol) As Boolean
810Private ReadOnly s_hasTupleNamesFunc As Func(Of TypeSymbol, Object, Boolean) = Function(type, arg) Not type.TupleElementNames.IsDefault
820Friend Function VisitType(Of T)(type As TypeSymbol, predicate As Func(Of TypeSymbol, T, Boolean), arg As T) As TypeSymbol
824Dim current As TypeSymbol = type
906Public Function IsValidTypeForAttributeArgument(type As TypeSymbol, compilation As VisualBasicCompilation) As Boolean
920TypeSymbol.Equals(type, compilation.GetWellKnownType(WellKnownType.System_Type), TypeCompareKind.ConsiderEverything) ' don't call the version with diagnostics
924Public Function IsValidTypeForSwitchTable(type As TypeSymbol) As Boolean
934Public Function IsIntrinsicOrEnumType(type As TypeSymbol) As Boolean
943Public Function MarkCheckedIfNecessary(type As TypeSymbol, ByRef checkedTypes As HashSet(Of TypeSymbol)) As Boolean
945checkedTypes = New HashSet(Of TypeSymbol)()
953Friend Sub CheckTypeArguments(typeArguments As ImmutableArray(Of TypeSymbol), expectedCount As Integer)
974typeArguments As ImmutableArray(Of TypeSymbol),
976) As ImmutableArray(Of TypeSymbol)
985typeArguments As ImmutableArray(Of TypeSymbol),
987) As ImmutableArray(Of TypeSymbol)
992typeArguments As ImmutableArray(Of TypeSymbol),
995) As ImmutableArray(Of TypeSymbol)
1000Dim newTypeArguments As TypeSymbol() = Nothing
1002Dim typeArgument As TypeSymbol
1059Public Function ExpressionTargetDelegate(type As TypeSymbol, compilation As VisualBasicCompilation) As NamedTypeSymbol
1064If namedType.Arity = 1 AndAlso TypeSymbol.Equals(namedType.OriginalDefinition, compilation.GetWellKnownType(WellKnownType.System_Linq_Expressions_Expression_T), TypeCompareKind.ConsiderEverything) Then
1081Public Function DelegateOrExpressionDelegate(type As TypeSymbol, binder As Binder) As NamedTypeSymbol
1095Public Function DelegateOrExpressionDelegate(type As TypeSymbol, binder As Binder, ByRef wasExpression As Boolean) As NamedTypeSymbol
1110Public Function IsExpressionTree(type As TypeSymbol, binder As Binder) As Boolean
1115Public Function IsExtensibleInterfaceNoUseSiteDiagnostics(type As TypeSymbol) As Boolean
1120Public Function GetNativeCompilerVType(type As TypeSymbol) As String
1129Public Function IsVerifierReference(type As TypeSymbol) As Boolean
1138Public Function IsVerifierValue(type As TypeSymbol) As Boolean
1146Public Function IsPrimitiveType(t As TypeSymbol) As Boolean
1190Public Function GetAllTypeArguments(type As NamedTypeSymbol) As ImmutableArray(Of TypeSymbol)
1282Friend Function GetTypeRefWithAttributes(type As TypeSymbol, declaringCompilation As VisualBasicCompilation, typeRef As Cci.ITypeReference) As Cci.TypeReferenceWithAttributes
1296Friend Function IsWellKnownTypeIsExternalInit(typeSymbol As TypeSymbol) As Boolean
1302Friend Function IsWellKnownTypeLock(typeSymbol As TypeSymbol) As Boolean
1313Friend Function IsWellKnownTypeUnmanagedType(typeSymbol As TypeSymbol) As Boolean
1323Private Function IsWellKnownCompilerServicesTopLevelType(typeSymbol As TypeSymbol, name As String) As Boolean
1332Friend Function IsCompilerServicesTopLevelType(typeSymbol As TypeSymbol) As Boolean
1337Private Function IsContainedInNamespace(typeSymbol As TypeSymbol, outerNS As String, midNS As String, Optional innerNS As String = Nothing) As Boolean