3 types derived from TypeSymbol
Microsoft.CodeAnalysis.VisualBasic (3)
Symbols\ArrayTypeSymbol.vb (1)
20Inherits TypeSymbol
Symbols\NamedTypeSymbol.vb (1)
24Inherits TypeSymbol
Symbols\TypeParameterSymbol.vb (1)
21Inherits TypeSymbol
2890 references to TypeSymbol
Microsoft.CodeAnalysis.VisualBasic (2890)
Analysis\FlowAnalysis\AbstractFlowPass.vb (2)
271Protected ReadOnly Property MethodReturnType As TypeSymbol 328Protected Shared Function IsNonPrimitiveValueType(type As TypeSymbol) As Boolean
Analysis\FlowAnalysis\DataFlowPass.Symbols.vb (1)
23Private Sub New(container As Symbol, type As TypeSymbol, locals As ImmutableArray(Of LocalSymbol))
Analysis\FlowAnalysis\DataFlowPass.vb (17)
501Dim variableType As TypeSymbol = GetVariableType(symbol) 532Dim containingType As TypeSymbol = DirectCast(symbol.ContainingType, TupleTypeSymbol).UnderlyingNamedType 539While Not TypeSymbol.Equals(containingType, symbol.ContainingType, TypeCompareKind.ConsiderEverything) 569Protected Overridable Function IsEmptyStructType(type As TypeSymbol) As Boolean 598Private Shared Function IsTrackableStructType(symbol As TypeSymbol) As Boolean 608Private Function IsSlotAlreadyReported(symbolType As TypeSymbol, slot As Integer) As Boolean 644Private Sub MarkSlotAsReported(symbolType As TypeSymbol, slot As Integer) 688Dim type As TypeSymbol = GetVariableType(id.Symbol) 736Dim type As TypeSymbol = GetVariableType(id.Symbol) 797Private _typeToMembersCache As Dictionary(Of TypeSymbol, ImmutableArray(Of FieldSymbol)) = Nothing 809Dim fieldType As TypeSymbol = field.Type 851Private Function GetStructInstanceFields(type As TypeSymbol) As ImmutableArray(Of FieldSymbol) 881_typeToMembersCache = New Dictionary(Of TypeSymbol, ImmutableArray(Of FieldSymbol)) 889Private Shared Function GetVariableType(symbol As Symbol) As TypeSymbol 1169Dim localOrFieldType As TypeSymbol 1225Dim type As TypeSymbol = local.Type 1240Dim type As TypeSymbol = Nothing
Analysis\InitializerRewriter.vb (3)
121If TypeSymbol.Equals(addHandlerMethod.ContainingType, containingType, TypeCompareKind.ConsiderEverything) Then 250Friend Function HasExplicitMeConstructorCall(block As BoundBlock, container As TypeSymbol, <Out()> ByRef isMyBaseConstructorCall As Boolean) As Boolean 275Return TypeSymbol.Equals(methodSymbol.ContainingType, container, TypeCompareKind.ConsiderEverything)
Analysis\IteratorAndAsyncAnalysis\IteratorAndAsyncCaptureWalker.vb (3)
69Dim type As TypeSymbol = If(variable.Kind = SymbolKind.Local, TryCast(variable, LocalSymbol).Type, TryCast(variable, ParameterSymbol).Type) 132Dim type As TypeSymbol = If(variable.Kind = SymbolKind.Local, TryCast(variable, LocalSymbol).Type, TryCast(variable, ParameterSymbol).Type) 185Protected Overrides Function IsEmptyStructType(type As TypeSymbol) As Boolean
Binding\BackstopBinder.vb (1)
33Optional accessThroughType As TypeSymbol = Nothing,
Binding\BasesBeingResolvedBinder.vb (11)
31Optional accessThroughType As TypeSymbol = Nothing, 39For Each inheritsBeingResolved In If(basesBeingResolved.InheritsBeingResolvedOpt, ConsList(Of TypeSymbol).Empty) 42For Each implementsBeingResolved In If(basesBeingResolved.ImplementsBeingResolvedOpt, ConsList(Of TypeSymbol).Empty) 51Public ReadOnly InheritsBeingResolvedOpt As ConsList(Of TypeSymbol) 52Public ReadOnly ImplementsBeingResolvedOpt As ConsList(Of TypeSymbol) 60Public Sub New(inheritsBeingResolved As ConsList(Of TypeSymbol), implementsBeingResolved As ConsList(Of TypeSymbol)) 65Public Function PrependInheritsBeingResolved(symbol As TypeSymbol) As BasesBeingResolved 66Return New BasesBeingResolved(If(InheritsBeingResolvedOpt, ConsList(Of TypeSymbol).Empty).Prepend(symbol), ImplementsBeingResolvedOpt) 69Public Function PrependImplementsBeingResolved(symbol As TypeSymbol) As BasesBeingResolved 70Return New BasesBeingResolved(InheritsBeingResolvedOpt, If(ImplementsBeingResolvedOpt, ConsList(Of TypeSymbol).Empty).Prepend(symbol))
Binding\Binder_AnonymousTypes.vb (4)
31Dim restrictedType As TypeSymbol = Nothing 129Dim objectType As TypeSymbol = GetSpecialType(SpecialType.System_Object, initializerSyntax, diagnostics) 249Dim fieldType As TypeSymbol = boundExpression.Type 252Dim restrictedType As TypeSymbol = Nothing
Binding\Binder_Attributes.vb (7)
432Private Function BindAttributeNamedArgument(container As TypeSymbol, 453Dim fieldOrPropType As TypeSymbol = Nothing 536Debug.Assert(TypeSymbol.Equals(lValue.Type, fieldOrPropType, TypeCompareKind.ConsiderEverything)) 589Dim sourceType As TypeSymbol = expression.SourceType.Type 656Private Function IsValidTypeForAttributeArgument(type As TypeSymbol) As Boolean 883Private Function CreateTypedConstant(type As TypeSymbol, value As Object) As TypedConstant 894Private Function CreateErrorTypedConstant(type As TypeSymbol) As TypedConstant
Binding\Binder_ConditionalAccess.vb (2)
49Dim type As TypeSymbol = boundExpression.Type 51Dim placeholderType As TypeSymbol = type
Binding\Binder_Constraints.vb (1)
86Dim constraintType = TryCast(typeOrAlias.UnwrapAlias(), TypeSymbol)
Binding\Binder_Conversions.vb (49)
73targetType As TypeSymbol, 184targetType As TypeSymbol, 309targetType As TypeSymbol, 322targetType As TypeSymbol, 385Dim intermediateTargetType As TypeSymbol 391Construct(ImmutableArray.Create(Of TypeSymbol)(targetType)) 417Private Shared Function ApplyNullableIsTrueOperator(argument As BoundExpression, booleanType As TypeSymbol) As BoundNullableIsTrueOperator 430targetType As TypeSymbol, 581Dim errorTargetType As TypeSymbol 613Private _derivedArgument As TypeSymbol 614Private _baseArgument As TypeSymbol 616Public Sub [Set](parameter As TypeParameterSymbol, derived As TypeSymbol, base As TypeSymbol) 635Public ReadOnly Property DerivedArgument As TypeSymbol 641Public ReadOnly Property BaseArgument As TypeSymbol 662sourceType As TypeSymbol, 663targetType As TypeSymbol, 676sourceType As TypeSymbol, 677targetType As TypeSymbol, 719Dim sourceTypeArgument As TypeSymbol = Nothing 728Dim typeToCheck As TypeSymbol = sourceType 821Dim sourceArguments As ImmutableArray(Of TypeSymbol) = source.TypeArgumentsNoUseSiteDiagnostics 822Dim destinationArguments As ImmutableArray(Of TypeSymbol) = destination.TypeArgumentsNoUseSiteDiagnostics 826Dim sourceArg As TypeSymbol = sourceArguments(i) 827Dim destinationArg As TypeSymbol = destinationArguments(i) 982targetType As TypeSymbol, 1063sourceType As TypeSymbol, 1064targetType As TypeSymbol, 1093targetType As TypeSymbol, 1105Dim originalArgumentType As TypeSymbol = argument.Type 1106Dim inType As TypeSymbol = convKind.Value.Parameters(0).Type 1107Dim outType As TypeSymbol = convKind.Value.ReturnType 1198targetType As TypeSymbol, 1307targetType As TypeSymbol, 1509targetType As TypeSymbol, 1570Dim restrictedType As TypeSymbol = Nothing 1578Dim delegateReturnType As TypeSymbol = delegateInvoke.ReturnType 1581Dim restrictedType As TypeSymbol = Nothing 1617Private Function ReclassifyInterpolatedStringExpression(conversionSemantics As SyntaxKind, tree As SyntaxNode, convKind As ConversionKind, isExplicit As Boolean, node As BoundInterpolatedStringExpression, targetType As TypeSymbol, diagnostics As BindingDiagnosticBag) As BoundExpression 1635destination As TypeSymbol, 1665Dim targetElementTypes As ImmutableArray(Of TypeSymbol) = targetType.GetElementTypesOfTupleOrCompatible() 1681If Not TypeSymbol.Equals(sourceTuple.Type, destination, TypeCompareKind.ConsiderEverything) AndAlso convKind <> Nothing Then 1704sourceType As TypeSymbol, 1705targetType As TypeSymbol, 1709Dim interfaceType As TypeSymbol = Nothing 1741Private Shared Sub WarnOnLockConversion(sourceType As TypeSymbol, syntax As SyntaxNode, diagnostics As BindingDiagnosticBag) 1747Private Function IsIEnumerableOfXElement(type As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean 1753sourceType As TypeSymbol, 1754targetType As TypeSymbol,
Binding\Binder_Delegates.vb (7)
84delegateType As TypeSymbol, 216targetType As TypeSymbol, 340delegateType As TypeSymbol, 472Dim delegateReturnType As TypeSymbol 547Dim commonReturnType As TypeSymbol = GetSetOfTheBestCandidates(resolutionResult, bestCandidates, bestSymbols) 904destination As TypeSymbol 964targetType As TypeSymbol,
Binding\Binder_Expressions.vb (52)
288Protected Shared Function BadExpression(node As SyntaxNode, resultType As TypeSymbol) As BoundBadExpression 296Private Shared Function BadExpression(node As SyntaxNode, expr As BoundExpression, resultType As TypeSymbol) As BoundBadExpression 304Private Shared Function BadExpression(node As SyntaxNode, expr As BoundExpression, resultKind As LookupResultKind, resultType As TypeSymbol) As BoundBadExpression 312Private Shared Function BadExpression(node As SyntaxNode, exprs As ImmutableArray(Of BoundExpression), resultType As TypeSymbol) As BoundBadExpression 347Dim elementTypes = ArrayBuilder(Of TypeSymbol).GetInstance(arguments.Count) 529ByRef hasNaturalType As Boolean) As TypeSymbol 530Dim expressionType As TypeSymbol = expression.Type 608Dim [type] = TryCast(symbol, TypeSymbol) 689Dim typeSym As TypeSymbol = DirectCast(If(aliasSym IsNot Nothing, aliasSym.Target, typeOrAlias), TypeSymbol) 776Dim targetType = DirectCast(If(TryCast(targetSymbol, TypeSymbol), DirectCast(targetSymbol, AliasSymbol).Target), TypeSymbol) 778Dim resultType As TypeSymbol = GetSpecialType(SpecialType.System_Boolean, node, diagnostics) 967Dim resultType As TypeSymbol = access.Type 1066Dim type As TypeSymbol = typeExpr.Type 1207Private Shared Function GetTypeNotExpressionErrorId(type As TypeSymbol) As ERRID 1314Private Function GetAccessThroughType(receiverOpt As BoundExpression) As TypeSymbol 1493destination As TypeSymbol, 1531Dim targetElementType As TypeSymbol = Nothing 1636Private Function ReclassifyArrayInitialization(arrayInitialization As BoundArrayInitialization, elementType As TypeSymbol, diagnostics As BindingDiagnosticBag) As BoundArrayInitialization 1941Dim dominantType As TypeSymbol 2007Dim dominantType As TypeSymbol 2148type As TypeSymbol, 2186Private Function GenerateDiagnosticsForDominantTypeInferenceInIfExpression(dominantType As TypeSymbol, numCandidates As Integer, 2719Dim leftType As TypeSymbol 2743If TypeSymbol.Equals(boundType.Type, leftType, TypeCompareKind.ConsiderEverything) Then 2802Dim leftTypeSymbol As TypeSymbol = left.Type 2862Dim type As TypeSymbol 3016Private Function GetLocalSymbolType(localSymbol As LocalSymbol, node As VisualBasicSyntaxNode, Optional diagnostics As BindingDiagnosticBag = Nothing) As TypeSymbol 3017Dim localType As TypeSymbol = Nothing 3260Dim localAccessType As TypeSymbol = GetLocalSymbolType(localSymbol, node, diagnostics) 3334Dim type As TypeSymbol = DirectCast(lookupResult.SingleSymbol, TypeSymbol) 3347Return New BoundTypeExpression(node, DirectCast(lookupResult.SingleSymbol, TypeSymbol), hasErrors:=hasError) 3367Return New BoundTypeExpression(node, Nothing, [alias], DirectCast(symbol, TypeSymbol), hasErrors:=hasError) 3517Dim memberType As TypeSymbol 3627Dim boundArguments(arguments.Count - 1) As TypeSymbol 3874Private Shared Sub VerifyTypeCharacterConsistency(nodeOrToken As SyntaxNodeOrToken, type As TypeSymbol, typeChar As TypeCharacter, diagnostics As BindingDiagnosticBag) 3892Private Shared Sub VerifyTypeCharacterConsistency(name As SimpleNameSyntax, type As TypeSymbol, diagnostics As BindingDiagnosticBag) 3964) As TypeSymbol 3965Dim commonType As TypeSymbol = Nothing 3974Dim expressionType As TypeSymbol = GetExpressionType(symbolReference, symbols(i), constantFieldsInProgress, discardedDiagnostics) 4008) As TypeSymbol 4025Dim type = TryCast(s, TypeSymbol) 4116Dim inferredElementType As TypeSymbol = Nothing 4205<Out> ByRef inferredElementType As TypeSymbol, 4239Dim arrayInitType As TypeSymbol 4258Dim elemType As TypeSymbol = If(type IsNot Nothing, type.ElementType, Nothing) 4457Dim type As TypeSymbol = Nothing 4485) As TypeSymbol 4530Dim expressionType As TypeSymbol = expression.Type 4589Dim dominantType As TypeSymbol
Binding\Binder_Imports.vb (2)
87Dim type = TryCast(aliasTarget, TypeSymbol) 169Dim type = TryCast(importedSymbol, TypeSymbol)
Binding\Binder_Initializers.vb (5)
351Debug.Assert(TypeSymbol.Equals(propertySymbol.Type, propertySymbol.AssociatedField.Type, TypeCompareKind.ConsiderEverything)) 393targetType As TypeSymbol, 538Dim targetType As TypeSymbol 589type As TypeSymbol, 645targetType As TypeSymbol,
Binding\Binder_InterpolatedString.vb (3)
108Private Function BindUnconvertedInterpolatedStringToFormattable(syntax As SyntaxNode, node As BoundInterpolatedStringExpression, targetType As TypeSymbol, diagnostics As BindingDiagnosticBag) As BoundExpression 139Private Function TryInvokeInterpolatedStringFactory(node As BoundInterpolatedStringExpression, factoryType As TypeSymbol, factoryMethodName As String, targetType As TypeSymbol, diagnostics As BindingDiagnosticBag) As BoundExpression
Binding\Binder_Invocation.vb (22)
272Dim targetType As TypeSymbol = target.Type 541Dim controlVariableType As TypeSymbol = Nothing 1027targetType As TypeSymbol, 1195Optional overrideCommonReturnType As TypeSymbol = Nothing, 1226Optional overrideCommonReturnType As TypeSymbol = Nothing, 1236Dim commonReturnType As TypeSymbol = GetSetOfTheBestCandidates(results, bestCandidates, bestSymbols) 1269commonReturnType As TypeSymbol, 1344commonReturnType As TypeSymbol, 1450Dim typeArguments = If(mg.TypeArgumentsOpt IsNot Nothing, mg.TypeArgumentsOpt.Arguments, ImmutableArray(Of TypeSymbol).Empty) 1453typeArguments = ImmutableArray(Of TypeSymbol).Empty 1675) As TypeSymbol 1720Dim commonReturnType As TypeSymbol = Nothing 1777If Not TypeSymbol.Equals(bestSymbols(i).ContainingType, container, TypeCompareKind.ConsiderEverything) Then 2296Dim targetType As TypeSymbol = param.Type 2472targetType As TypeSymbol, 2541targetType As TypeSymbol, 2696Dim targetType As TypeSymbol = param.Type 2798targetType As TypeSymbol, 2820targetType As TypeSymbol, 2957targetType As TypeSymbol, 3205Dim defaultArgumentType As TypeSymbol = Nothing 3208Dim paramNullableUnderlyingTypeOrSelf As TypeSymbol = param.Type.GetNullableUnderlyingTypeOrSelf()
Binding\Binder_Lambda.vb (25)
39Dim returnType As TypeSymbol = Nothing 100Dim unboundType As TypeSymbol = unboundParam.Type 101Dim delegateType As TypeSymbol = targetSignature.ParameterTypes(i) 125Dim objectType As TypeSymbol = Nothing 129Dim unboundType As TypeSymbol = unboundParam.Type 157Dim targetReturnType As TypeSymbol 181If Not TypeSymbol.Equals(targetReturnType.OriginalDefinition, Compilation.GetWellKnownType(WellKnownType.System_Threading_Tasks_Task_T), TypeCompareKind.ConsiderEverything) Then 209Dim typeInfo As KeyValuePair(Of TypeSymbol, ReadOnlyBindingDiagnostic(Of AssemblySymbol)) = source.InferReturnType(targetForInference) 268Dim restrictedType As TypeSymbol = Nothing 284Dim restrictedType As TypeSymbol = Nothing 444Dim retType As TypeSymbol = lambdaSymbol.ReturnType 776Dim returnTypeInfo As KeyValuePair(Of TypeSymbol, ReadOnlyBindingDiagnostic(Of AssemblySymbol)) 778Dim returnType As TypeSymbol = returnTypeInfo.Key 790returnType As TypeSymbol, 820Dim commonReturnType As TypeSymbol = Nothing 821Dim commonParameterTypes(source.Parameters.Length - 1) As TypeSymbol 875Private Shared Sub BindLambdaForErrorRecoveryInferCommonType(ByRef result As TypeSymbol, candidate As TypeSymbol) 888) As KeyValuePair(Of TypeSymbol, ReadOnlyBindingDiagnostic(Of AssemblySymbol)) 895Return New KeyValuePair(Of TypeSymbol, ReadOnlyBindingDiagnostic(Of AssemblySymbol))(LambdaSymbol.ReturnTypeIsUnknown, ReadOnlyBindingDiagnostic(Of AssemblySymbol).Empty) 907Return New KeyValuePair(Of TypeSymbol, ReadOnlyBindingDiagnostic(Of AssemblySymbol))(LambdaSymbol.ReturnTypeIsUnknown, diagnostics.ToReadOnlyAndFree()) 912Dim lambdaReturnType As TypeSymbol 947Dim restrictedType As TypeSymbol = Nothing 957Dim restrictedType As TypeSymbol = Nothing 1004Return New KeyValuePair(Of TypeSymbol, ReadOnlyBindingDiagnostic(Of AssemblySymbol))(lambdaReturnType, diagnostics.ToReadOnlyAndFree())
Binding\Binder_Latebound.vb (3)
22containerType As TypeSymbol, 33containerType As TypeSymbol, 90Dim containingType As TypeSymbol = group.ContainerOfFirstInGroup
Binding\Binder_Lookup.vb (42)
35container As TypeSymbol, 74container As TypeSymbol, 120accessThroughType As TypeSymbol, 279accessThroughType As TypeSymbol) As Boolean 344Lookup(lookupResult, DirectCast(container, TypeSymbol), name, arity, options, binder, tempResult, useSiteInfo) 358AddLookupSymbolsInfo(nameSet, DirectCast(container, TypeSymbol), options, binder) 570type As TypeSymbol, 602container As TypeSymbol, 637container As TypeSymbol, 641accessThroughType As TypeSymbol, 835TypeSymbol.Equals(iFaceOriginal, idictSymbol, TypeCompareKind.ConsiderEverything) OrElse 838TypeSymbol.Equals(iFaceOriginal, iroDictSymbol, TypeCompareKind.ConsiderEverything) OrElse 840TypeSymbol.Equals(iFaceOriginal, iListSymbol, TypeCompareKind.ConsiderEverything) OrElse 841TypeSymbol.Equals(iFaceOriginal, iCollectionSymbol, TypeCompareKind.ConsiderEverything) OrElse 842TypeSymbol.Equals(iFaceOriginal, inccSymbol, TypeCompareKind.ConsiderEverything) OrElse 843TypeSymbol.Equals(iFaceOriginal, inpcSymbol, TypeCompareKind.ConsiderEverything) 859submissionClass As TypeSymbol, 929Public Shared Sub LookupDefaultProperty(result As LookupResult, container As TypeSymbol, binder As Binder, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) 1081accessThroughType As TypeSymbol, 1145container As TypeSymbol, 1165Private Shared Function ShouldLookupExtensionMethods(options As LookupOptions, container As TypeSymbol) As Boolean 1174container As TypeSymbol, 1252container As TypeSymbol, 1285container As TypeSymbol, 1308container As TypeSymbol, 1356If TypeSymbol.Equals(derived.OriginalDefinition, base.OriginalDefinition, TypeCompareKind.ConsiderEverything) Then 1363If TypeSymbol.Equals(i, base, TypeCompareKind.ConsiderEverything) Then 1383Debug.Assert(Not TypeSymbol.Equals(base, derived, TypeCompareKind.ConsiderEverything), "should already be verified for equality") 1394If TypeSymbol.Equals(i, base, TypeCompareKind.ConsiderEverything) Then 1492container As TypeSymbol, 1770Debug.Assert(TypeSymbol.Equals(newSymbolContainer, newSymbol.ContainingType, TypeCompareKind.ConsiderEverything)) 1805If otherKnown IsNot Nothing AndAlso TypeSymbol.Equals(otherKnown.ContainingType, knownSymbolContainer, TypeCompareKind.ConsiderEverything) Then 1923container As TypeSymbol, 1965(TypeSymbol.Equals(containingMethod.ContainingType, container, TypeCompareKind.ConsiderEverything) OrElse TypeSymbol.Equals(containingMethod.ContainingType.BaseTypeNoUseSiteDiagnostics, container, TypeCompareKind.ConsiderEverything)) Then 1971submissionClass As TypeSymbol, 2014container As TypeSymbol, 2084container As TypeSymbol, 2088accessThroughType As TypeSymbol, 2119container As TypeSymbol, 2121accessThroughType As TypeSymbol, 2149accessThroughType As TypeSymbol,
Binding\Binder_ObjectInitializer.vb (14)
19Dim type As TypeSymbol = Me.BindTypeSyntax(node.Type, diagnostics) 30type = DirectCast(extendedErrorType.CandidateSymbols(0), TypeSymbol) 73type0 As TypeSymbol, 164type As TypeSymbol, 195type0 As TypeSymbol, 208Debug.Assert(objectInitializerExpressionOpt Is Nothing OrElse TypeSymbol.Equals(objectInitializerExpressionOpt.Type, type0, TypeCompareKind.ConsiderEverything)) 221Dim coClass As TypeSymbol = DirectCast(type0, NamedTypeSymbol).CoClassType 480Debug.Assert(TypeSymbol.Equals(type, type0, TypeCompareKind.ConsiderEverything)) 582[interface] As TypeSymbol, 620initializedObjectType As TypeSymbol, 648initializedObjectType As TypeSymbol, 806Debug.Assert(TypeSymbol.Equals(DirectCast(memberAssignments.Last, BoundAssignmentOperator).Right.Type, DirectCast(memberAssignments.Last, BoundAssignmentOperator).Left.Type, TypeCompareKind.ConsiderEverything)) 829initializedObjectType As TypeSymbol, 836Dim unusedType As TypeSymbol = Nothing
Binding\Binder_Operators.vb (26)
100Dim targetArgumentType As TypeSymbol = targetArgument.Type 260Dim leftType As TypeSymbol = left.Type 261Dim rightType As TypeSymbol = right.Type 331Dim operandType As TypeSymbol 351Dim operatorResultType As TypeSymbol = operandType 353Dim forceToBooleanType As TypeSymbol = Nothing 372Dim booleanType As TypeSymbol = GetSpecialTypeForBinaryOperator(node, leftType, rightType, SpecialType.System_Boolean, 484Dim rightTargetType As TypeSymbol = GetSpecialTypeForBinaryOperator(node, leftType, rightType, SpecialType.System_Int32, 570Private Function ForceLiftToEmptyString(left As BoundExpression, stringType As TypeSymbol, diagnostics As BindingDiagnosticBag) As BoundExpression 664Dim operatorType As TypeSymbol 813otherOperandType As TypeSymbol, 815) As TypeSymbol 816Dim stringType As TypeSymbol 837leftType As TypeSymbol, 838rightType As TypeSymbol, 842) As TypeSymbol 846Dim resultType As TypeSymbol 902leftType As TypeSymbol, 903rightType As TypeSymbol, 904ofType As TypeSymbol 905) As TypeSymbol 937Dim resultType As TypeSymbol = Nothing 1013Dim rightType As TypeSymbol 1014Dim leftType As TypeSymbol 1185Dim operandType As TypeSymbol = operand.Type 1186Dim resultType As TypeSymbol = Nothing
Binding\Binder_Query.vb (38)
383firstSelectCompoundVariableType As TypeSymbol, 718Dim bodyType As TypeSymbol = lambda.Expression.Type 1685Dim groupType As TypeSymbol = InferGroupType(outer, inner, groupJoin, outerKeyLambda, innerKeyLambda, methodGroup, diagnostics) 1769Dim groupType As TypeSymbol = InferGroupType(source, groupBy, itemsLambda, keysLambda, keysRangeVariables, methodGroup, diagnostics) 1773Dim groupCompoundVariableType As TypeSymbol 1949) As TypeSymbol 1952Dim groupType As TypeSymbol = ErrorTypeSymbol.UnknownResultType 1994Dim resultSelector As TypeSymbol = method.Parameters(groupByArguments.Length - 1).Type 2025) As TypeSymbol 2028Dim groupType As TypeSymbol = ErrorTypeSymbol.UnknownResultType 2068Dim resultSelector As TypeSymbol = method.Parameters(groupJoinArguments.Length - 1).Type 2092keysCompoundVariableType As TypeSymbol, 2095groupType As TypeSymbol, 2097groupCompoundVariableType As TypeSymbol, 2179type As TypeSymbol, 2191type As TypeSymbol, 2333Dim predicateType As TypeSymbol = predicate.Type 2822Dim targetVariableType As TypeSymbol = Nothing 3468Dim targetType As TypeSymbol = Nothing 3735Private ReadOnly _groupCompoundVariableType As TypeSymbol 3742groupCompoundVariableType As TypeSymbol, 4104groupCompoundVariableType As TypeSymbol, 4130Dim variableType As TypeSymbol = Nothing 4147Dim targetVariableType As TypeSymbol = Nothing 4248variableType As TypeSymbol, 4249targetVariableType As TypeSymbol, 4321<Out()> ByRef controlVariableType As TypeSymbol 4341Dim inferredType As TypeSymbol = InferControlVariableType(source, diagnostics) 4393ImmutableArray.Create(Of TypeSymbol)(inferredType)), 4416Private Function InferControlVariableType(source As BoundExpression, diagnostics As BindingDiagnosticBag) As TypeSymbol 4419Dim result As TypeSymbol = Nothing 4467) As TypeSymbol 4468Dim result As TypeSymbol = Nothing 4472Dim inferredType As TypeSymbol = InferControlVariableType(method) 4497Private Function InferControlVariableType(method As MethodSymbol) As TypeSymbol 4514Dim parameterType As TypeSymbol = selectParameter.Type 4539Dim controlVariableType As TypeSymbol = invokeParameter.Type 4679Dim delegateReturnType As TypeSymbol = DirectCast(boundCall, BoundCall).Method.Parameters(i).Type.DelegateOrExpressionDelegate(Me).DelegateInvokeMethod.ReturnType
Binding\Binder_Statements.vb (57)
1123Dim declType As TypeSymbol = Nothing 1141Dim type As TypeSymbol = ComputeVariableType(symbol, 1157Dim restrictedType As TypeSymbol = Nothing 1299<Out()> ByRef asClauseType As TypeSymbol, 1300diagnostics As BindingDiagnosticBag) As TypeSymbol 1323Dim type As TypeSymbol 1390Dim inferredType As TypeSymbol = Nothing 1464diagnostics As BindingDiagnosticBag) As TypeSymbol 1536<Out()> ByRef currentType As TypeSymbol, 1537<Out()> ByRef elementType As TypeSymbol, 1546diagnostics As BindingDiagnosticBag) As TypeSymbol 1609Private Function InferVariableType(defaultType As TypeSymbol, 1612valueType As TypeSymbol, 1615diagnostics As BindingDiagnosticBag) As TypeSymbol 1670Dim rhsElementType As TypeSymbol = DirectCast(valueType, ArrayTypeSymbol).ElementType 1706Dim lhsType As TypeSymbol = defaultType 1707Dim rhsType As TypeSymbol = valueType 1752Dim type As TypeSymbol = BindTypeSyntax(asClause.Type, diagnostics) 1762type As TypeSymbol, 2010Dim targetType As TypeSymbol = op1.Type 2047Dim targetType As TypeSymbol = assignmentTarget.Type 2234Dim targetType As TypeSymbol = assignmentTarget.Type 2497Debug.Assert(TypeSymbol.Equals(targetAsEvent.Type, eventField.Type, TypeCompareKind.ConsiderEverything) OrElse eventSym.IsWindowsRuntimeEvent, "non-WinRT event should have the same type as its backing field") 2554If Not TypeSymbol.Equals(fireMethod.ContainingType, Me.ContainingType, TypeCompareKind.ConsiderEverything) Then 2698Private Function IsOrInheritsFromOrImplementsInterface(derivedType As TypeSymbol, interfaceType As WellKnownType, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean 3324targetType As TypeSymbol, 3363Dim currentType As TypeSymbol = Nothing 3364Dim elementType As TypeSymbol = Nothing 3709<Out()> ByRef currentType As TypeSymbol, 3710<Out()> ByRef elementType As TypeSymbol, 3737Dim collectionType As TypeSymbol = collection.Type 3815Debug.Assert(collection.IsNothingLiteral OrElse collectionType.IsObjectType OrElse (TypeSymbol.Equals(matchingInterfaces.First, ienumerable, TypeCompareKind.ConsiderEverything) AndAlso matchingInterfaces.Count = 1)) 4058collectionType As TypeSymbol, 4060<Out()> ByRef currentType As TypeSymbol, 4132Dim enumeratorType As TypeSymbol = boundGetEnumeratorCall.Type 4268container As TypeSymbol, 4337derivedType As TypeSymbol, 4369If TypeSymbol.Equals(derivedType.OriginalDefinition, interfaceType, TypeCompareKind.ConsiderEverything) Then 4379If TypeSymbol.Equals(interfaceOfDerived.OriginalDefinition, interfaceType, TypeCompareKind.ConsiderEverything) Then 4450Dim placeholderInfo = New Dictionary(Of TypeSymbol, ValueTuple(Of BoundRValuePlaceholder, BoundExpression, BoundExpression))() 4559iDisposable As TypeSymbol, 4560placeholderInfo As Dictionary(Of TypeSymbol, ValueTuple(Of BoundRValuePlaceholder, BoundExpression, BoundExpression)), 4563Dim declarationType As TypeSymbol = localSymbol.Type 4594resourceType As TypeSymbol, 4595placeholderInfo As Dictionary(Of TypeSymbol, ValueTuple(Of BoundRValuePlaceholder, BoundExpression, BoundExpression)), 4596iDisposable As TypeSymbol, 4640Private Sub ReportMutableStructureConstraintsInUsing(type As TypeSymbol, symbolName As String, syntaxNode As SyntaxNode, diagnostics As BindingDiagnosticBag) 4693Private Shared Function ShouldReportMutableStructureInUsing(structureType As TypeSymbol) As Boolean 4789Dim exceptionType As TypeSymbol 4867Dim previousType As TypeSymbol 4876If TypeSymbol.Equals(previousType, exceptionType, TypeCompareKind.ConsiderEverything) Then 4960<Out()> ByRef methodReturnType As TypeSymbol) As TypeSymbol 5008Dim methodReturnType As TypeSymbol = Nothing 5009Dim retType As TypeSymbol = Me.GetCurrentReturnType(isAsync, isIterator, methodReturnType) 5093diagnostics As BindingDiagnosticBag) As TypeSymbol 5145Dim retType As TypeSymbol = Me.GetCurrentYieldType(originalSyntax, diagnostics)
Binding\Binder_Symbols.vb (23)
33Optional resolvingBaseType As Boolean = False) As TypeSymbol 55Dim type = TryCast(sym, TypeSymbol) 63Private Shared Sub ReportUseOfModuleOrVoidType(typeSyntax As TypeSyntax, type As TypeSymbol, diagBag As BindingDiagnosticBag) 102typeArguments As ImmutableArray(Of TypeSymbol), 122Dim newTypeArguments(0 To genericType.Arity - 1) As TypeSymbol 227resolvingBaseType As Boolean) As TypeSymbol 229Debug.Assert(symbol Is Nothing OrElse TypeOf symbol Is TypeSymbol OrElse TypeOf symbol Is AliasSymbol, "unexpected symbol from BindTypeOrAliasSyntax") 235Return DirectCast(symbol, TypeSymbol) 276Dim typeSymbol As TypeSymbol = Nothing 279typeSymbol = TryCast(DirectCast(sym, AliasSymbol).Target, TypeSymbol) 281typeSymbol = TryCast(sym, TypeSymbol) 609resolvingBaseType As Boolean) As TypeSymbol 612Dim types = ArrayBuilder(Of TypeSymbol).GetInstance(numElements) 623Dim argumentType As TypeSymbol = Nothing 667Dim typesArray As ImmutableArray(Of TypeSymbol) = types.ToImmutableAndFree() 815Dim elementType As TypeSymbol = binder.BindTypeSyntax(arrayTypeSyntax.ElementType, 829Dim elementType As TypeSymbol = binder.BindTypeSyntax(nullableTypeSyntax.ElementType, diagBag, suppressUseSiteError) 891Dim typeArguments As ImmutableArray(Of TypeSymbol) = BindTypeArguments(typeArgumentsSyntax, binder, diagBag, suppressUseSiteError) 1006StaticCast(Of TypeSymbol).From(namedType.OriginalDefinition.TypeParameters))) 1043Dim typeArguments As ImmutableArray(Of TypeSymbol) = BindTypeArguments(typeArgumentsSyntax, binder, diagBag, suppressUseSiteError) 1119suppressUseSiteError As Boolean) As ImmutableArray(Of TypeSymbol) 1121Dim types As TypeSymbol() = New TypeSymbol(0 To arity - 1) {}
Binding\Binder_Utils.vb (27)
290Public Function CreateNullableOf(typeArgument As TypeSymbol, 326Public Function ApplyArrayRankSpecifiersToType(elementType As TypeSymbol, 328diagnostics As BindingDiagnosticBag) As TypeSymbol 330Dim currentType As TypeSymbol = elementType 350Public Function ApplyArrayRankSpecifiersAndBoundsToType(elementType As TypeSymbol, 353diagnostics As BindingDiagnosticBag) As TypeSymbol 355Dim currentType As TypeSymbol = elementType 382Public Function CreateArrayOf(elementType As TypeSymbol, 483asClauseOrValueType As TypeSymbol, 489) As TypeSymbol 490Dim baseType As TypeSymbol = DecodeIdentifierType(modifiedIdentifier.Identifier, asClauseOrValueType, getRequireTypeDiagnosticInfoFunc, diagBag, decoderContext) 576<Out()> ByRef asClauseType As TypeSymbol, 579) As TypeSymbol 611) As TypeSymbol 613Dim asClauseType As TypeSymbol = Nothing 629ByRef asClauseType As TypeSymbol, 630diagBag As BindingDiagnosticBag) As TypeSymbol 652diagBag As BindingDiagnosticBag) As TypeSymbol 653Dim asClauseType As TypeSymbol = Nothing 666asClauseType As TypeSymbol, 670) As TypeSymbol 671Dim typeCharacterType As TypeSymbol = Nothing 1090Dim paramType As TypeSymbol = newParam.Type 1094Dim restrictedType As TypeSymbol = Nothing 1364Private Shared Function IsNothingLiteralAllowedForAType(type As TypeSymbol) As Boolean 1396Dim conversionType As TypeSymbol = conv.Type 1397Dim operandType As TypeSymbol = operand.Type
Binding\Binder_WithBlock.vb (2)
284Dim type As TypeSymbol = node.Type 292Dim type As TypeSymbol = node.Type
Binding\Binder_XmlLiterals.vb (6)
373Private Function CreateArrayType(elementType As TypeSymbol) As ArrayTypeSymbol 1549Friend Overrides ReadOnly Property ReceiverType As TypeSymbol 1691Public Overrides ReadOnly Property Type As TypeSymbol 1955Public Overrides ReadOnly Property ReturnType As TypeSymbol 1979Public Overrides ReadOnly Property TypeArguments As ImmutableArray(Of TypeSymbol) 2043Public Overrides ReadOnly Property Type As TypeSymbol
Binding\Binder.vb (6)
292Optional accessThroughType As TypeSymbol = Nothing, 304Optional accessThroughType As TypeSymbol = Nothing, 454Friend Shared Function GetUseSiteInfoForSpecialType(type As TypeSymbol, Optional suppressUseSiteInfo As Boolean = False) As UseSiteInfo(Of AssemblySymbol) 483Friend Shared Function GetUseSiteInfoForWellKnownType(type As TypeSymbol) As UseSiteInfo(Of AssemblySymbol) 537Not TypeSymbol.Equals(DirectCast(parameterType, NamedTypeSymbol).TypeArgumentsNoUseSiteDiagnostics(0), Me.Compilation.GetWellKnownType(WellKnownType.System_Xml_Linq_XElement), TypeCompareKind.ConsiderEverything) Then 965Not TypeOf symbol Is TypeSymbol AndAlso
Binding\BinderFactory.vb (1)
166implicitType = DirectCast(containingBinder.ContainingNamespaceOrType.GetMembers(TypeSymbol.ImplicitTypeName).Single(), NamedTypeSymbol)
Binding\BindingDiagnosticBag.vb (1)
117AddDependencies(If(TryCast(symbol, TypeSymbol), symbol.ContainingType))
Binding\DocumentationCommentBinder.vb (2)
47Debug.Assert(TypeSymbol.Equals(DirectCast(binderContainingMember, TypeSymbol), commentedSymbol.ContainingType, TypeCompareKind.ConsiderEverything))
Binding\DocumentationCommentCrefBinder_Compat.vb (6)
186LookupMember(lookupResult, DirectCast(containingSymbol, TypeSymbol), name, arity, options, useSiteInfo) 192Dim propertyType As TypeSymbol = [property].Type 203Dim fieldType As TypeSymbol = field.Type 215Dim returnType As TypeSymbol = method.ReturnType 414Private Function BingTypeArgumentsForCref(args As SeparatedSyntaxList(Of TypeSyntax)) As ImmutableArray(Of TypeSymbol) 415Dim result(args.Count - 1) As TypeSymbol
Binding\DocumentationCommentCrefBinder.vb (15)
101Dim returnType As TypeSymbol = Nothing 381Dim type As TypeSymbol = Nothing 439Public ReadOnly Type As TypeSymbol 442Public Sub New(type As TypeSymbol, isByRef As Boolean) 451<Out> ByRef returnType As TypeSymbol, 684CollectOperatorsAndConversionsInType(node.Right, argCount, TryCast(singleSymbol, TypeSymbol), symbols, useSiteInfo) 769LookupMember(lookupResult, DirectCast(containingSymbol, TypeSymbol), name, arity, options, useSiteInfo) 775Dim propertyType As TypeSymbol = [property].Type 786Dim fieldType As TypeSymbol = field.Type 798Dim returnType As TypeSymbol = method.ReturnType 825Dim typeParameterSymbols(arguments.Count - 1) As TypeSymbol 853symbols(i) = method.Construct(typeParameterSymbols.AsImmutableOrNull.As(Of TypeSymbol)) 858symbols(i) = type.Construct(typeParameterSymbols.AsImmutableOrNull.As(Of TypeSymbol)) 890Private Shared Sub CollectOperatorsAndConversionsInType(crefOperator As CrefOperatorReferenceSyntax, argCount As Integer, type As TypeSymbol, symbols As ArrayBuilder(Of Symbol), 1074Private Shared Sub CollectOperatorsAndConversionsInType(type As TypeSymbol,
Binding\ForEachEnumeratorInfo.vb (2)
39Public ReadOnly ElementType As TypeSymbol 111elementType As TypeSymbol,
Binding\IgnoreAccessibilityBinder.vb (1)
20Public Overrides Function CheckAccessibility(sym As Symbol, <[In]> <Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol), Optional accessThroughType As TypeSymbol = Nothing, Optional basesBeingResolved As BasesBeingResolved = Nothing) As AccessCheckResult
Binding\LookupResult.vb (2)
627Debug.Assert(Not Me.HasSymbol OrElse other.Symbol Is Nothing OrElse TypeSymbol.Equals(Me.Symbols(0).ContainingType, other.Symbol.ContainingType, TypeCompareKind.ConsiderEverything)) 739Debug.Assert(TypeSymbol.Equals(symbol1.ContainingType, symbol2.ContainingType, TypeCompareKind.ConsiderEverything))
Binding\MemberSemanticModel.vb (2)
114Dim vbDestination = destination.EnsureVbSymbolOrNothing(Of TypeSymbol)(NameOf(destination)) 776Dim elementType As TypeSymbol = enumeratorInfo.ElementType
Binding\NamedTypeBinder.vb (1)
153Optional accessThroughType As TypeSymbol = Nothing,
Binding\SourceModuleBinder.vb (1)
34Optional accessThroughType As TypeSymbol = Nothing,
Binding\SyntheticBoundTrees\AnonymousTypeSyntheticMethods.vb (14)
36Dim propertyType As TypeSymbol = [property].Type 92Dim objectType As TypeSymbol = Me.AnonymousType.Manager.System_Object 94Dim integerType As TypeSymbol = Me.AnonymousType.Manager.System_Int32 95Dim booleanType As TypeSymbol = Me.AnonymousType.Manager.System_Boolean 191Dim objectType As TypeSymbol = Me.AnonymousType.Manager.System_Object 192Dim booleanType As TypeSymbol = Me.AnonymousType.Manager.System_Boolean 230localMyFieldBoxed As LocalSymbol, localOtherFieldBoxed As LocalSymbol, booleanType As TypeSymbol) As BoundExpression 259booleanType As TypeSymbol) As BoundExpression 308Private Function BuildIsCheck(left As BoundExpression, right As BoundExpression, booleanType As TypeSymbol, Optional reverse As Boolean = False) As BoundExpression 314Private Function BuildAndAlso(left As BoundExpression, right As BoundExpression, booleanType As TypeSymbol) As BoundExpression 319Private Function BuildOrElse(left As BoundExpression, right As BoundExpression, booleanType As TypeSymbol) As BoundExpression 333Dim objectType As TypeSymbol = Me.AnonymousType.Manager.System_Object 334Dim stringType As TypeSymbol = Me.ReturnType 336Dim arrayOfObjectsType As TypeSymbol = Me.AnonymousType.Manager.Compilation.CreateArrayTypeSymbol(objectType)
Binding\UsingInfo.vb (2)
21Public ReadOnly PlaceholderInfo As Dictionary(Of TypeSymbol, ValueTuple(Of BoundRValuePlaceholder, BoundExpression, BoundExpression)) 36placeholderInfo As Dictionary(Of TypeSymbol, ValueTuple(Of BoundRValuePlaceholder, BoundExpression, BoundExpression))
BoundTree\BoundAddressOfOperator.vb (3)
14Private ReadOnly _delegateResolutionResultCache As New ConcurrentDictionary(Of TypeSymbol, Binder.DelegateResolutionResult)() 26Friend Function GetDelegateResolutionResult(targetType As TypeSymbol, ByRef delegateResolutionResult As Binder.DelegateResolutionResult) As Boolean 34Friend Function GetConversionClassification(targetType As TypeSymbol) As ConversionKind
BoundTree\BoundArrayAccess.vb (1)
15Public Sub New(syntax As SyntaxNode, expression As BoundExpression, indices As ImmutableArray(Of BoundExpression), type As TypeSymbol, Optional hasErrors As Boolean = False)
BoundTree\BoundArrayCreation.vb (2)
13Public Sub New(syntax As SyntaxNode, bounds As ImmutableArray(Of BoundExpression), initializerOpt As BoundArrayInitialization, type As TypeSymbol, Optional hasErrors As Boolean = False) 17Public Sub New(syntax As SyntaxNode, bounds As ImmutableArray(Of BoundExpression), initializerOpt As BoundArrayInitialization, arrayLiteralOpt As BoundArrayLiteral, arrayLiteralConversion As ConversionKind, type As TypeSymbol, Optional hasErrors As Boolean = False)
BoundTree\BoundAssignmentOperator.vb (1)
12Public Sub New(syntax As SyntaxNode, left As BoundExpression, right As BoundExpression, suppressObjectClone As Boolean, type As TypeSymbol, Optional hasErrors As Boolean = False)
BoundTree\BoundBadVariable.vb (1)
12Public Sub New(syntax As SyntaxNode, expression As BoundExpression, type As TypeSymbol, Optional hasErrors As Boolean = False)
BoundTree\BoundBinaryOperator.vb (1)
19type As TypeSymbol,
BoundTree\BoundCall.vb (2)
19type As TypeSymbol, 40type As TypeSymbol,
BoundTree\BoundConversion.vb (2)
19type As TypeSymbol, 32type As TypeSymbol,
BoundTree\BoundDirectCast.vb (3)
17type As TypeSymbol, 28type As TypeSymbol, 34Public Sub New(syntax As SyntaxNode, operand As BoundExpression, conversionKind As ConversionKind, constantValueOpt As ConstantValue, type As TypeSymbol, Optional hasErrors As Boolean = False)
BoundTree\BoundExpressionExtensions.vb (1)
150Public Function GetTypeOfAssignmentTarget(node As BoundExpression) As TypeSymbol
BoundTree\BoundFieldAccess.vb (1)
14Public Sub New(syntax As SyntaxNode, receiverOpt As BoundExpression, fieldSymbol As FieldSymbol, isLValue As Boolean, type As TypeSymbol, Optional hasErrors As Boolean = False)
BoundTree\BoundLocal.vb (2)
13Public Sub New(syntax As SyntaxNode, localSymbol As LocalSymbol, type As TypeSymbol, hasErrors As Boolean) 17Public Sub New(syntax As SyntaxNode, localSymbol As LocalSymbol, type As TypeSymbol)
BoundTree\BoundMethodOrPropertyGroup.vb (1)
41Friend ReadOnly Property ContainerOfFirstInGroup() As TypeSymbol
BoundTree\BoundObjectCreationExpression.vb (2)
14Public Sub New(syntax As SyntaxNode, constructorOpt As MethodSymbol, arguments As ImmutableArray(Of BoundExpression), initializerOpt As BoundObjectInitializerExpressionBase, type As TypeSymbol, 19Public Function Update(constructorOpt As MethodSymbol, arguments As ImmutableArray(Of BoundExpression), defaultArguments As BitVector, initializerOpt As BoundObjectInitializerExpressionBase, type As TypeSymbol) As BoundObjectCreationExpression
BoundTree\BoundParameter.vb (4)
11Public Sub New(syntax As SyntaxNode, parameterSymbol As ParameterSymbol, isLValue As Boolean, type As TypeSymbol, hasErrors As Boolean) 15Public Sub New(syntax As SyntaxNode, parameterSymbol As ParameterSymbol, isLValue As Boolean, type As TypeSymbol) 19Public Sub New(syntax As SyntaxNode, parameterSymbol As ParameterSymbol, type As TypeSymbol, hasErrors As Boolean) 23Public Sub New(syntax As SyntaxNode, parameterSymbol As ParameterSymbol, type As TypeSymbol)
BoundTree\BoundPropertyAccess.vb (1)
112Private Shared Function GetTypeFromAccessKind([property] As PropertySymbol, accessKind As PropertyAccessKind) As TypeSymbol
BoundTree\BoundTreeRewriter.vb (3)
15Public Overridable Function VisitType(type As TypeSymbol) As TypeSymbol 136Dim type As TypeSymbol = Me.VisitType(binary.Type)
BoundTree\BoundTryCast.vb (3)
16type As TypeSymbol, 27type As TypeSymbol, 33Public Sub New(syntax As SyntaxNode, operand As BoundExpression, conversionKind As ConversionKind, constantValueOpt As ConstantValue, type As TypeSymbol, Optional hasErrors As Boolean = False)
BoundTree\BoundTypeExpression.vb (1)
13Public Sub New(syntax As SyntaxNode, type As TypeSymbol, Optional hasErrors As Boolean = False)
BoundTree\BoundUnaryOperator.vb (1)
18type As TypeSymbol,
BoundTree\GroupTypeInferenceLambda.vb (1)
15Public Function InferLambdaReturnType(delegateParams As ImmutableArray(Of ParameterSymbol), diagnostics As BindingDiagnosticBag) As TypeSymbol
BoundTree\UnboundLambda.vb (13)
60Public Function InferReturnType(target As TargetSignature) As KeyValuePair(Of TypeSymbol, ReadOnlyBindingDiagnostic(Of AssemblySymbol)) 64Dim result = New KeyValuePair(Of TypeSymbol, ReadOnlyBindingDiagnostic(Of AssemblySymbol))(If(Me.IsFunctionLambda AndAlso Me.ReturnType.IsVoidType(), 95Private Function DoInferFunctionLambdaReturnType(target As TargetSignature) As KeyValuePair(Of TypeSymbol, ReadOnlyBindingDiagnostic(Of AssemblySymbol)) 132Public ReadOnly ParameterTypes As ImmutableArray(Of TypeSymbol) 133Public ReadOnly ReturnType As TypeSymbol 137Public Sub New(parameterTypes As ImmutableArray(Of TypeSymbol), parameterIsByRef As BitVector, returnType As TypeSymbol, returnsByRef As Boolean) 147Public Sub New(params As ImmutableArray(Of ParameterSymbol), returnType As TypeSymbol, returnsByRef As Boolean) 154Me.ParameterTypes = ImmutableArray(Of TypeSymbol).Empty 156Dim types(params.Length - 1) As TypeSymbol 202If Not TypeSymbol.Equals(Me.ParameterTypes(i), other.ParameterTypes(i), TypeCompareKind.ConsiderEverything) OrElse 208Return Me.ReturnsByRef = other.ReturnsByRef AndAlso TypeSymbol.Equals(Me.ReturnType, other.ReturnType, TypeCompareKind.ConsiderEverything) 220Public ReadOnly InferredReturnType As New ConcurrentDictionary(Of TargetSignature, KeyValuePair(Of TypeSymbol, ReadOnlyBindingDiagnostic(Of AssemblySymbol)))()
CodeGen\CodeGenerator.vb (1)
201Private Sub EmitSymbolToken(symbol As TypeSymbol, syntaxNode As SyntaxNode)
CodeGen\EmitAddress.vb (2)
274If Not TypeSymbol.Equals(field.ContainingType, Me._method.ContainingType, TypeCompareKind.ConsiderEverything) Then 409Dim elementType As TypeSymbol = arrayAccess.Type
CodeGen\EmitArrayInitializer.vb (2)
186Dim type As TypeSymbol = init.Type.GetEnumUnderlyingTypeOrSelf 190Private Function ShouldEmitBlockInitializer(elementType As TypeSymbol, inits As ImmutableArray(Of BoundExpression)) As ArrayInitializerStyle
CodeGen\EmitConversion.vb (2)
284Dim typeTo As TypeSymbol = conversion.Type 285Dim typeFrom As TypeSymbol = conversion.Operand.Type
CodeGen\EmitExpression.vb (29)
254Dim receiverType As TypeSymbol = receiver.Type 470Private Sub EmitDelegateCreation(receiver As BoundExpression, method As MethodSymbol, delegateType As TypeSymbol, used As Boolean, syntaxNode As SyntaxNode) 836Private Sub EmitLoadIndirect(type As TypeSymbol, syntaxNode As SyntaxNode) 1040Debug.Assert(TypeSymbol.Equals(receiverType, method.ContainingType, TypeCompareKind.ConsiderEverything)) 1422Dim mergeTypeOfAlternative As TypeSymbol = StackMergeType(expr.WhenFalse) 1440Dim mergeTypeOfConsequence As TypeSymbol = StackMergeType(expr.WhenTrue) 1445ElseIf (expr.Type.IsInterfaceType() AndAlso Not TypeSymbol.Equals(expr.Type, mergeTypeOfAlternative, TypeCompareKind.ConsiderEverything) AndAlso Not TypeSymbol.Equals(expr.Type, mergeTypeOfConsequence, TypeCompareKind.ConsiderEverything)) Then 1467Debug.Assert(TypeSymbol.Equals(expr.Type, expr.ElseExpression.Type, TypeCompareKind.ConsiderEverything)) 1473Dim mergeTypeOfLeftValue As TypeSymbol = StackMergeType(expr.TestExpression) 1496Dim mergeTypeOfRightValue As TypeSymbol = StackMergeType(expr.ElseExpression) 1500ElseIf (expr.Type.IsInterfaceType() AndAlso Not TypeSymbol.Equals(expr.Type, mergeTypeOfLeftValue, TypeCompareKind.ConsiderEverything) AndAlso Not TypeSymbol.Equals(expr.Type, mergeTypeOfRightValue, TypeCompareKind.ConsiderEverything)) Then 1523Private Function StackMergeType(expr As BoundExpression) As TypeSymbol 1583Private Shared Function IsVarianceCast(toType As TypeSymbol, fromType As TypeSymbol) As Boolean 1584If (TypeSymbol.Equals(toType, fromType, TypeCompareKind.ConsiderEverything)) Then 1599Return (toType.IsDelegateType() AndAlso Not TypeSymbol.Equals(toType, fromType, TypeCompareKind.ConsiderEverything)) OrElse 1605Private Sub EmitStaticCast(toType As TypeSymbol, syntax As SyntaxNode) 1673Private Sub EmitInitObj(type As TypeSymbol, used As Boolean, syntaxNode As SyntaxNode) 1698Private Sub EmitLoadDefaultValueOfTypeParameter(type As TypeSymbol, used As Boolean, syntaxNode As SyntaxNode) 1703Private Sub EmitLoadDefaultValueOfTypeFromNothingLiteral(type As TypeSymbol, used As Boolean, syntaxNode As SyntaxNode) 1730Private Sub EmitConstantExpression(type As TypeSymbol, constantValue As ConstantValue, used As Boolean, syntaxNode As SyntaxNode) 2190Private Sub EmitStoreIndirect(type As TypeSymbol, syntaxNode As SyntaxNode) 2245Dim type As TypeSymbol = boundTypeOfOperator.SourceType.Type 2275If Not TypeSymbol.Equals(node.Type, getField.ReturnType, TypeCompareKind.ConsiderEverything) Then 2306If Not TypeSymbol.Equals(node.Type, node.GetMethodFromHandle.ReturnType, TypeCompareKind.ConsiderEverything) Then 2314Private Sub EmitBox(type As TypeSymbol, syntaxNode As SyntaxNode) 2319Private Sub EmitUnboxAny(type As TypeSymbol, syntaxNode As SyntaxNode)
CodeGen\EmitOperators.vb (1)
386Public Shared Function GetShiftSizeMask(leftOperandType As TypeSymbol) As Integer
CodeGen\EmitStatement.vb (3)
472Private Function CanPassToBrfalse(ts As TypeSymbol) As Boolean 1105Dim UInt32Type = DirectCast(_module.GetSpecialType(SpecialType.System_UInt32, syntaxNode, _diagnostics).GetInternalSymbol(), TypeSymbol) 1386Private Function AllocateTemp(type As TypeSymbol, syntaxNode As SyntaxNode) As LocalDefinition
CodeGen\Optimizer\StackScheduler.Analyzer.vb (2)
577Dim leftType As TypeSymbol = left.Type 955Dim type As TypeSymbol = Me.VisitType(binary.Type)
CodeGen\Optimizer\StackScheduler.DummyLocal.vb (1)
19Friend Overrides Function ComputeType(Optional containingBinder As Binder = Nothing) As TypeSymbol
CodeGen\Optimizer\StackScheduler.Rewriter.vb (1)
90Dim type As TypeSymbol = Me.VisitType(binary.Type)
Compilation\ClsComplianceChecker.vb (14)
414Dim type As TypeSymbol 582Private Function ShouldReportNonCompliantType(type As TypeSymbol, context As NamedTypeSymbol, Optional diagnosticSymbol As Symbol = Nothing) As Boolean 589Private Sub ReportNonCompliantTypeArguments(type As TypeSymbol, context As NamedTypeSymbol, diagnosticSymbol As Symbol) 615Private Function IsCompliantType(type As TypeSymbol, context As NamedTypeSymbol) As Boolean 657Debug.Assert(symbol.Kind = SymbolKind.NamedType OrElse Not (TypeOf symbol Is TypeSymbol), "Type kinds without declarations are handled elsewhere.") 875Dim xParameterTypes As ImmutableArray(Of TypeSymbol) = GetParameterTypes(x) 876Dim yParameterTypes As ImmutableArray(Of TypeSymbol) = GetParameterTypes(y) 890Dim xType As TypeSymbol = xParameterTypes(i) 891Dim yType As TypeSymbol = yParameterTypes(i) 901Dim elementTypesDiffer As Boolean = Not TypeSymbol.Equals(xArrayType.ElementType, yArrayType.ElementType, TypeCompareKind.ConsiderEverything) 907ElseIf Not TypeSymbol.Equals(xType, yType, TypeCompareKind.ConsiderEverything) Then 919Private Shared Function GetParameterTypes(symbol As Symbol) As ImmutableArray(Of TypeSymbol) 931Return ImmutableArray(Of TypeSymbol).Empty 934Dim builder = ArrayBuilder(Of TypeSymbol).GetInstance(parameters.Length)
Compilation\NamespaceScopeBuilder.vb (1)
68Private Shared Function GetTypeReference(type As TypeSymbol, moduleBuilder As CommonPEModuleBuilder, diagnostics As DiagnosticBag) As Cci.ITypeReference
Compilation\SemanticModel.vb (17)
355Dim type As TypeSymbol = Nothing 356Dim convertedType As TypeSymbol = Nothing 917ByRef convertedType As TypeSymbol, 918ByRef conversion As Conversion) As TypeSymbol 930Dim type As TypeSymbol 1045Dim typeSymbol As TypeSymbol = boundType.Type 1194Private Shared Function GetMeParameter(referenceType As TypeSymbol, 1195containingType As TypeSymbol, 1215If TypeSymbol.Equals(referenceType, ErrorTypeSymbol.UnknownResultType, TypeCompareKind.ConsiderEverything) Then 1431If unwrappedSymbols.Length = 1 AndAlso TypeOf unwrappedSymbols(0) Is TypeSymbol Then 1432Dim typeSymbol As TypeSymbol = DirectCast(unwrappedSymbols(0), TypeSymbol) 1513Dim type = TryCast(UnwrapAlias(symbol), TypeSymbol) 1551Dim type = TryCast(UnwrapAlias(symbol), TypeSymbol) 2350Dim vbdestination = destination.EnsureVbSymbolOrNothing(Of TypeSymbol)(NameOf(destination)) 3601Friend Function GetMessage(expression As ExpressionSyntax, type As TypeSymbol) As String 3606Friend Function GetMessage(expression As ExpressionSyntax, type As TypeSymbol, position As Integer) As String
Compilation\SyntaxTreeSemanticModel.vb (2)
995Dim implicitType = DirectCast(namespaceToLookInForImplicitType.GetMembers(TypeSymbol.ImplicitTypeName).SingleOrDefault(), NamedTypeSymbol) 1394Dim vbdestination = destination.EnsureVbSymbolOrNothing(Of TypeSymbol)(NameOf(destination))
Compilation\TypeInfo.vb (10)
13Private ReadOnly _type As TypeSymbol 14Private ReadOnly _convertedType As TypeSymbol 25Public ReadOnly Property Type As TypeSymbol 35Public ReadOnly Property ConvertedType As TypeSymbol 55Friend Sub New(type As TypeSymbol, convertedType As TypeSymbol, implicitConversion As Conversion) 63TypeSymbol.Equals(_type, other._type, TypeCompareKind.ConsiderEverything) AndAlso 64TypeSymbol.Equals(_convertedType, other._convertedType, TypeCompareKind.ConsiderEverything) 81Private Shared Function GetPossibleGuessForErrorType(type As TypeSymbol) As TypeSymbol
Compilation\VisualBasicCompilation.vb (16)
1886Dim vbsource = source.EnsureVbSymbolOrNothing(Of TypeSymbol)(NameOf(source)) 1887Dim vbdest = destination.EnsureVbSymbolOrNothing(Of TypeSymbol)(NameOf(destination)) 1975Friend Function GetTypeByReflectionType(type As Type) As TypeSymbol 1999Friend Shadows Function CreateArrayTypeSymbol(elementType As TypeSymbol, Optional rank As Integer = 1) As ArrayTypeSymbol 2023Dim throughType0 = throughType.EnsureVbSymbolOrNothing(Of TypeSymbol)(NameOf(throughType)) 2876Return CreateArrayTypeSymbol(elementType.EnsureVbSymbolOrNothing(Of TypeSymbol)(NameOf(elementType)), rank) 2883Dim typesBuilder = ArrayBuilder(Of TypeSymbol).GetInstance(elementTypes.Length) 2885typesBuilder.Add(elementTypes(i).EnsureVbSymbolOrNothing(Of TypeSymbol)($"{NameOf(elementTypes)}[{i}]")) 2947t.EnsureVbSymbolOrNothing(Of TypeSymbol)($"{NameOf(memberTypes)}({i})") 2959fields.Add(New AnonymousTypeField(name, DirectCast(type, TypeSymbol), loc, isReadOnly)) 2973Dim vbReturnType = returnType.EnsureVbSymbolOrNothing(Of TypeSymbol)(NameOf(returnType)) 2975Dim vbRightType = rightType.EnsureVbSymbolOrNothing(Of TypeSymbol)(NameOf(rightType)) 3001returnType As TypeSymbol, 3003rightType As TypeSymbol, 3056Dim vbReturnType = returnType.EnsureVbSymbolOrNothing(Of TypeSymbol)(NameOf(returnType)) 3073returnType As TypeSymbol,
Declarations\DeclarationTreeBuilder.vb (1)
120name:=TypeSymbol.ImplicitTypeName,
DocumentationComments\DocumentationCommentIDVisitor.PartVisitor.vb (1)
146If Not _inParameterOrReturnType AndAlso TypeSymbol.Equals(symbol, symbol.ConstructedFrom, TypeCompareKind.ConsiderEverything) Then
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
Emit\EditAndContinue\PEDeltaAssemblyBuilder.vb (4)
78Friend Overrides Function EncTranslateLocalVariableType(type As TypeSymbol, diagnostics As DiagnosticBag) As ITypeReference 81Dim visited = DirectCast(_deepTranslator.Visit(type), TypeSymbol) 201Debug.Assert(TypeSymbol.Equals(DirectCast(typeParameter.ContainingSymbol, TypeSymbol), type, TypeCompareKind.ConsiderEverything))
Emit\EditAndContinue\VisualBasicDefinitionMap.vb (2)
111For Each member In DirectCast(stateMachineType, TypeSymbol).GetMembers() 174slotMetadata As ImmutableArray(Of LocalInfo(Of TypeSymbol))) As ImmutableArray(Of EncLocalInfo)
Emit\EditAndContinue\VisualBasicSymbolMatcher.vb (13)
150Dim otherElementType As TypeSymbol = DirectCast(Me.Visit(symbol.ElementType), TypeSymbol) 270Dim newType = DirectCast(v.Visit(t.Type), TypeSymbol) 450Return method.Construct(ImmutableArrayExtensions.Cast(Of TypeParameterSymbol, TypeSymbol)(IndexedTypeParameterSymbol.Take(i))) 501Private Function AreTypesEqual(type As TypeSymbol, other As TypeSymbol) As Boolean 560Public Overloads Function Equals(source As TypeSymbol, other As TypeSymbol) As Boolean 565Dim visitedSource = DirectCast(_matcher.Visit(source), TypeSymbol) 566Dim visitedOther = If(_deepTranslatorOpt IsNot Nothing, DirectCast(_deepTranslatorOpt.Visit(other), TypeSymbol), other) 595Dim translatedElementType As TypeSymbol = DirectCast(Me.Visit(symbol.ElementType), TypeSymbol) 613Dim translatedTypeArguments = type.GetAllTypeArgumentsWithModifiers().SelectAsArray(Function(t, v) New TypeWithModifiers(DirectCast(v.Visit(t.Type), TypeSymbol),
Emit\MethodReference.vb (1)
87Dim returnType As TypeSymbol = m_UnderlyingMethod.ReturnType
Emit\MethodSymbolAdapter.vb (1)
201Dim returnType As TypeSymbol = AdaptedMethodSymbol.ReturnType
Emit\NoPia\EmbeddedTypesManager.vb (1)
57If TypeSymbol.Equals(Interlocked.CompareExchange(Of NamedTypeSymbol)(_lazySystemStringType, type, ErrorTypeSymbol.UnknownResultType), ErrorTypeSymbol.UnknownResultType, TypeCompareKind.ConsiderEverything) Then
Emit\ParameterSymbolAdapter.vb (1)
47Dim paramType As TypeSymbol = AdaptedParameterSymbol.Type
Emit\ParameterTypeInformation.vb (1)
41Dim paramType As TypeSymbol = _underlyingParameter.Type
Emit\PEModuleBuilder.vb (1)
19Inherits PEModuleBuilder(Of VisualBasicCompilation, SourceModuleSymbol, AssemblySymbol, TypeSymbol, NamedTypeSymbol, MethodSymbol, SyntaxNode, NoPia.EmbeddedTypesManager, ModuleCompilationState)
Emit\SymbolTranslator.vb (2)
20Private ReadOnly _reportedErrorTypesMap As New ConcurrentSet(Of TypeSymbol)() 246typeSymbol As TypeSymbol,
Emit\SynthesizedPrivateImplementationDetailsSharedConstructor.vb (2)
18Private ReadOnly _voidType As TypeSymbol 44Public Overrides ReadOnly Property ReturnType As TypeSymbol
Emit\TypeParameterSymbolAdapter.vb (1)
309Friend Overrides Function GetUnificationUseSiteDiagnosticRecursive(owner As Symbol, ByRef checkedTypes As HashSet(Of TypeSymbol)) As DiagnosticInfo
Errors\ErrorFactories.vb (3)
78Public Shared Function ErrorInfo(id As ERRID, ByRef syntaxToken As SyntaxToken, type As TypeSymbol) As DiagnosticInfo 82Public Shared Function ErrorInfo(id As ERRID, ByRef syntaxToken As SyntaxToken, type1 As TypeSymbol, type2 As TypeSymbol) As DiagnosticInfo
Generated\BoundNodes.xml.Generated.vb (423)
200Protected Sub New(kind As BoundKind, syntax as SyntaxNode, type As TypeSymbol, hasErrors As Boolean) 205Protected Sub New(kind As BoundKind, syntax as SyntaxNode, type As TypeSymbol) 211Private ReadOnly _Type As TypeSymbol 212Public ReadOnly Property Type As TypeSymbol 222Public Sub New(syntax As SyntaxNode, arguments As ImmutableArray(Of TypeSymbol), hasErrors As Boolean) 230Public Sub New(syntax As SyntaxNode, arguments As ImmutableArray(Of TypeSymbol)) 239Private ReadOnly _Arguments As ImmutableArray(Of TypeSymbol) 240Public ReadOnly Property Arguments As ImmutableArray(Of TypeSymbol) 251Public Function Update(arguments As ImmutableArray(Of TypeSymbol)) As BoundTypeArguments 264Public Sub New(syntax As SyntaxNode, type As TypeSymbol, hasErrors As Boolean) 268Public Sub New(syntax As SyntaxNode, type As TypeSymbol) 278Public Function Update(type As TypeSymbol) As BoundOmittedArgument 291Protected Sub New(kind As BoundKind, syntax as SyntaxNode, type As TypeSymbol, hasErrors As Boolean) 298Protected Sub New(kind As BoundKind, syntax as SyntaxNode, type As TypeSymbol) 310Public Sub New(syntax As SyntaxNode, underlyingLValue As BoundExpression, type As TypeSymbol, Optional hasErrors As Boolean = False) 337Public Function Update(underlyingLValue As BoundExpression, type As TypeSymbol) As BoundLValueToRValueWrapper 350Protected Sub New(kind As BoundKind, syntax as SyntaxNode, type As TypeSymbol, hasErrors As Boolean) 357Protected Sub New(kind As BoundKind, syntax as SyntaxNode, type As TypeSymbol) 369Protected Sub New(kind As BoundKind, syntax as SyntaxNode, type As TypeSymbol, hasErrors As Boolean) 376Protected Sub New(kind As BoundKind, syntax as SyntaxNode, type As TypeSymbol) 388Public Sub New(syntax As SyntaxNode, type As TypeSymbol, hasErrors As Boolean) 395Public Sub New(syntax As SyntaxNode, type As TypeSymbol) 408Public Function Update(type As TypeSymbol) As BoundWithLValueExpressionPlaceholder 421Public Sub New(syntax As SyntaxNode, type As TypeSymbol, hasErrors As Boolean) 428Public Sub New(syntax As SyntaxNode, type As TypeSymbol) 441Public Function Update(type As TypeSymbol) As BoundWithRValueExpressionPlaceholder 454Public Sub New(syntax As SyntaxNode, type As TypeSymbol, hasErrors As Boolean) 466Public Sub New(syntax As SyntaxNode, type As TypeSymbol) 481Public Function Update(type As TypeSymbol) As BoundRValuePlaceholder 494Public Sub New(syntax As SyntaxNode, type As TypeSymbol, hasErrors As Boolean) 506Public Sub New(syntax As SyntaxNode, type As TypeSymbol) 521Public Function Update(type As TypeSymbol) As BoundLValuePlaceholder 534Public Sub New(syntax As SyntaxNode, isReference As Boolean, type As TypeSymbol, hasErrors As Boolean) 539Public Sub New(syntax As SyntaxNode, isReference As Boolean, type As TypeSymbol) 557Public Function Update(isReference As Boolean, type As TypeSymbol) As BoundDup 570Public Sub New(syntax As SyntaxNode, resultKind As LookupResultKind, symbols As ImmutableArray(Of Symbol), childBoundNodes As ImmutableArray(Of BoundExpression), type As TypeSymbol, Optional hasErrors As Boolean = False) 613Public Function Update(resultKind As LookupResultKind, symbols As ImmutableArray(Of Symbol), childBoundNodes As ImmutableArray(Of BoundExpression), type As TypeSymbol) As BoundBadExpression 660Public Sub New(syntax As SyntaxNode, expression As BoundExpression, type As TypeSymbol, Optional hasErrors As Boolean = False) 686Public Function Update(expression As BoundExpression, type As TypeSymbol) As BoundParenthesized 699Public Sub New(syntax As SyntaxNode, expression As BoundExpression, isLValue As Boolean, type As TypeSymbol, Optional hasErrors As Boolean = False) 728Public Function Update(expression As BoundExpression, isLValue As Boolean, type As TypeSymbol) As BoundBadVariable 741Public Sub New(syntax As SyntaxNode, expression As BoundExpression, indices As ImmutableArray(Of BoundExpression), isLValue As Boolean, type As TypeSymbol, Optional hasErrors As Boolean = False) 785Public Function Update(expression As BoundExpression, indices As ImmutableArray(Of BoundExpression), isLValue As Boolean, type As TypeSymbol) As BoundArrayAccess 798Public Sub New(syntax As SyntaxNode, expression As BoundExpression, type As TypeSymbol, Optional hasErrors As Boolean = False) 820Public Function Update(expression As BoundExpression, type As TypeSymbol) As BoundArrayLength 833Public Sub New(syntax As SyntaxNode, sourceType As BoundTypeExpression, getTypeFromHandle As MethodSymbol, type As TypeSymbol, Optional hasErrors As Boolean = False) 863Public Function Update(sourceType As BoundTypeExpression, getTypeFromHandle As MethodSymbol, type As TypeSymbol) As BoundGetType 876Public Sub New(syntax As SyntaxNode, field As FieldSymbol, type As TypeSymbol, hasErrors As Boolean) 885Public Sub New(syntax As SyntaxNode, field As FieldSymbol, type As TypeSymbol) 907Public Function Update(field As FieldSymbol, type As TypeSymbol) As BoundFieldInfo 920Public Sub New(syntax As SyntaxNode, method As MethodSymbol, getMethodFromHandle As MethodSymbol, type As TypeSymbol, hasErrors As Boolean) 931Public Sub New(syntax As SyntaxNode, method As MethodSymbol, getMethodFromHandle As MethodSymbol, type As TypeSymbol) 962Public Function Update(method As MethodSymbol, getMethodFromHandle As MethodSymbol, type As TypeSymbol) As BoundMethodInfo 975Public Sub New(syntax As SyntaxNode, unevaluatedReceiverOpt As BoundExpression, aliasOpt As AliasSymbol, type As TypeSymbol, Optional hasErrors As Boolean = False) 1004Public Function Update(unevaluatedReceiverOpt As BoundExpression, aliasOpt As AliasSymbol, type As TypeSymbol) As BoundTypeExpression 1017Public Sub New(syntax As SyntaxNode, data As BoundTypeOrValueData, type As TypeSymbol, hasErrors As Boolean) 1025Public Sub New(syntax As SyntaxNode, data As BoundTypeOrValueData, type As TypeSymbol) 1046Public Function Update(data As BoundTypeOrValueData, type As TypeSymbol) As BoundTypeOrValueExpression 1114Public Sub New(syntax As SyntaxNode, method As MethodSymbol, type As TypeSymbol, hasErrors As Boolean) 1128Public Sub New(syntax As SyntaxNode, method As MethodSymbol, type As TypeSymbol) 1152Public Function Update(method As MethodSymbol, type As TypeSymbol) As BoundMethodDefIndex 1165Public Sub New(syntax As SyntaxNode, type As TypeSymbol, hasErrors As Boolean) 1172Public Sub New(syntax As SyntaxNode, type As TypeSymbol) 1185Public Function Update(type As TypeSymbol) As BoundMaximumMethodDefIndex 1198Public Sub New(syntax As SyntaxNode, analysisKind As Integer, isLValue As Boolean, type As TypeSymbol, hasErrors As Boolean) 1207Public Sub New(syntax As SyntaxNode, analysisKind As Integer, isLValue As Boolean, type As TypeSymbol) 1236Public Function Update(analysisKind As Integer, isLValue As Boolean, type As TypeSymbol) As BoundInstrumentationPayloadRoot 1249Public Sub New(syntax As SyntaxNode, isLValue As Boolean, type As TypeSymbol, hasErrors As Boolean) 1257Public Sub New(syntax As SyntaxNode, isLValue As Boolean, type As TypeSymbol) 1278Public Function Update(isLValue As Boolean, type As TypeSymbol) As BoundModuleVersionId 1291Public Sub New(syntax As SyntaxNode, type As TypeSymbol, hasErrors As Boolean) 1298Public Sub New(syntax As SyntaxNode, type As TypeSymbol) 1311Public Function Update(type As TypeSymbol) As BoundModuleVersionIdString 1324Public Sub New(syntax As SyntaxNode, document As Cci.DebugSourceDocument, type As TypeSymbol, hasErrors As Boolean) 1333Public Sub New(syntax As SyntaxNode, document As Cci.DebugSourceDocument, type As TypeSymbol) 1355Public Function Update(document As Cci.DebugSourceDocument, type As TypeSymbol) As BoundSourceDocumentIndex 1368Public Sub New(syntax As SyntaxNode, operatorKind As UnaryOperatorKind, operand As BoundExpression, checked As Boolean, constantValueOpt As ConstantValue, type As TypeSymbol, Optional hasErrors As Boolean = False) 1419Public Function Update(operatorKind As UnaryOperatorKind, operand As BoundExpression, checked As Boolean, constantValueOpt As ConstantValue, type As TypeSymbol) As BoundUnaryOperator 1432Public Sub New(syntax As SyntaxNode, operatorKind As UnaryOperatorKind, underlyingExpression As BoundExpression, type As TypeSymbol, Optional hasErrors As Boolean = False) 1467Public Function Update(operatorKind As UnaryOperatorKind, underlyingExpression As BoundExpression, type As TypeSymbol) As BoundUserDefinedUnaryOperator 1480Public Sub New(syntax As SyntaxNode, operand As BoundExpression, type As TypeSymbol, Optional hasErrors As Boolean = False) 1507Public Function Update(operand As BoundExpression, type As TypeSymbol) As BoundNullableIsTrueOperator 1520Public Sub New(syntax As SyntaxNode, operatorKind As BinaryOperatorKind, left As BoundExpression, right As BoundExpression, checked As Boolean, constantValueOpt As ConstantValue, type As TypeSymbol, Optional hasErrors As Boolean = False) 1580Public Function Update(operatorKind As BinaryOperatorKind, left As BoundExpression, right As BoundExpression, checked As Boolean, constantValueOpt As ConstantValue, type As TypeSymbol) As BoundBinaryOperator 1593Public Sub New(syntax As SyntaxNode, operatorKind As BinaryOperatorKind, underlyingExpression As BoundExpression, checked As Boolean, type As TypeSymbol, Optional hasErrors As Boolean = False) 1636Public Function Update(operatorKind As BinaryOperatorKind, underlyingExpression As BoundExpression, checked As Boolean, type As TypeSymbol) As BoundUserDefinedBinaryOperator 1649Public Sub New(syntax As SyntaxNode, leftOperand As BoundExpression, leftOperandPlaceholder As BoundRValuePlaceholder, leftTest As BoundExpression, bitwiseOperator As BoundUserDefinedBinaryOperator, type As TypeSymbol, Optional hasErrors As Boolean = False) 1700Public Function Update(leftOperand As BoundExpression, leftOperandPlaceholder As BoundRValuePlaceholder, leftTest As BoundExpression, bitwiseOperator As BoundUserDefinedBinaryOperator, type As TypeSymbol) As BoundUserDefinedShortCircuitingOperator 1713Public Sub New(syntax As SyntaxNode, type As TypeSymbol, hasErrors As Boolean) 1720Public Sub New(syntax As SyntaxNode, type As TypeSymbol) 1733Public Function Update(type As TypeSymbol) As BoundCompoundAssignmentTargetPlaceholder 1746Public Sub New(syntax As SyntaxNode, left As BoundExpression, leftOnTheRightOpt As BoundCompoundAssignmentTargetPlaceholder, right As BoundExpression, suppressObjectClone As Boolean, type As TypeSymbol, Optional hasErrors As Boolean = False) 1798Public Function Update(left As BoundExpression, leftOnTheRightOpt As BoundCompoundAssignmentTargetPlaceholder, right As BoundExpression, suppressObjectClone As Boolean, type As TypeSymbol) As BoundAssignmentOperator 1811Public Sub New(syntax As SyntaxNode, byRefLocal As BoundLocal, lValue As BoundExpression, isLValue As Boolean, type As TypeSymbol, Optional hasErrors As Boolean = False) 1854Public Function Update(byRefLocal As BoundLocal, lValue As BoundExpression, isLValue As Boolean, type As TypeSymbol) As BoundReferenceAssignment 1918Public Sub New(syntax As SyntaxNode, condition As BoundExpression, whenTrue As BoundExpression, whenFalse As BoundExpression, constantValueOpt As ConstantValue, type As TypeSymbol, Optional hasErrors As Boolean = False) 1971Public Function Update(condition As BoundExpression, whenTrue As BoundExpression, whenFalse As BoundExpression, constantValueOpt As ConstantValue, type As TypeSymbol) As BoundTernaryConditionalExpression 1984Public Sub New(syntax As SyntaxNode, testExpression As BoundExpression, convertedTestExpression As BoundExpression, testExpressionPlaceholder As BoundRValuePlaceholder, elseExpression As BoundExpression, constantValueOpt As ConstantValue, type As TypeSymbol, Optional hasErrors As Boolean = False) 2044Public Function Update(testExpression As BoundExpression, convertedTestExpression As BoundExpression, testExpressionPlaceholder As BoundRValuePlaceholder, elseExpression As BoundExpression, constantValueOpt As ConstantValue, type As TypeSymbol) As BoundBinaryConditionalExpression 2057Protected Sub New(kind As BoundKind, syntax as SyntaxNode, type As TypeSymbol, hasErrors As Boolean) 2064Protected Sub New(kind As BoundKind, syntax as SyntaxNode, type As TypeSymbol) 2076Public Sub New(syntax As SyntaxNode, operand As BoundExpression, conversionKind As ConversionKind, checked As Boolean, explicitCastInCode As Boolean, constantValueOpt As ConstantValue, extendedInfoOpt As BoundExtendedConversionInfo, type As TypeSymbol, Optional hasErrors As Boolean = False) 2143Public Function Update(operand As BoundExpression, conversionKind As ConversionKind, checked As Boolean, explicitCastInCode As Boolean, constantValueOpt As ConstantValue, extendedInfoOpt As BoundExtendedConversionInfo, type As TypeSymbol) As BoundConversion 2259Public Sub New(syntax As SyntaxNode, underlyingExpression As BoundExpression, inOutConversionFlags As Byte, type As TypeSymbol, Optional hasErrors As Boolean = False) 2294Public Function Update(underlyingExpression As BoundExpression, inOutConversionFlags As Byte, type As TypeSymbol) As BoundUserDefinedConversion 2307Public Sub New(syntax As SyntaxNode, operand As BoundExpression, conversionKind As ConversionKind, suppressVirtualCalls As Boolean, constantValueOpt As ConstantValue, relaxationLambdaOpt As BoundLambda, type As TypeSymbol, Optional hasErrors As Boolean = False) 2366Public Function Update(operand As BoundExpression, conversionKind As ConversionKind, suppressVirtualCalls As Boolean, constantValueOpt As ConstantValue, relaxationLambdaOpt As BoundLambda, type As TypeSymbol) As BoundDirectCast 2379Public Sub New(syntax As SyntaxNode, operand As BoundExpression, conversionKind As ConversionKind, constantValueOpt As ConstantValue, relaxationLambdaOpt As BoundLambda, type As TypeSymbol, Optional hasErrors As Boolean = False) 2430Public Function Update(operand As BoundExpression, conversionKind As ConversionKind, constantValueOpt As ConstantValue, relaxationLambdaOpt As BoundLambda, type As TypeSymbol) As BoundTryCast 2443Public Sub New(syntax As SyntaxNode, operand As BoundExpression, isTypeOfIsNotExpression As Boolean, targetType As TypeSymbol, type As TypeSymbol, Optional hasErrors As Boolean = False) 2470Private ReadOnly _TargetType As TypeSymbol 2471Public ReadOnly Property TargetType As TypeSymbol 2482Public Function Update(operand As BoundExpression, isTypeOfIsNotExpression As Boolean, targetType As TypeSymbol, type As TypeSymbol) As BoundTypeOf 2539Public Sub New(syntax As SyntaxNode, expression As BoundExpression, type As TypeSymbol, Optional hasErrors As Boolean = False) 2560Public Function Update(expression As BoundExpression, type As TypeSymbol) As BoundSequencePointExpression 3027Public Sub New(syntax As SyntaxNode, method As MethodSymbol, methodGroupOpt As BoundMethodGroup, receiverOpt As BoundExpression, arguments As ImmutableArray(Of BoundExpression), defaultArguments As BitVector, constantValueOpt As ConstantValue, isLValue As Boolean, suppressObjectClone As Boolean, type As TypeSymbol, Optional hasErrors As Boolean = False) 3111Public Function Update(method As MethodSymbol, methodGroupOpt As BoundMethodGroup, receiverOpt As BoundExpression, arguments As ImmutableArray(Of BoundExpression), defaultArguments As BitVector, constantValueOpt As ConstantValue, isLValue As Boolean, suppressObjectClone As Boolean, type As TypeSymbol) As BoundCall 3124Public Sub New(syntax As SyntaxNode, constructor As MethodSymbol, constructorArguments As ImmutableArray(Of BoundExpression), constructorDefaultArguments As BitVector, namedArguments As ImmutableArray(Of BoundExpression), resultKind As LookupResultKind, type As TypeSymbol, Optional hasErrors As Boolean = False) 3179Public Function Update(constructor As MethodSymbol, constructorArguments As ImmutableArray(Of BoundExpression), constructorDefaultArguments As BitVector, namedArguments As ImmutableArray(Of BoundExpression), resultKind As LookupResultKind, type As TypeSymbol) As BoundAttribute 3192Public Sub New(syntax As SyntaxNode, nameOpt As String, containerTypeOpt As TypeSymbol, receiverOpt As BoundExpression, typeArgumentsOpt As BoundTypeArguments, accessKind As LateBoundAccessKind, type As TypeSymbol, Optional hasErrors As Boolean = False) 3217Private ReadOnly _ContainerTypeOpt As TypeSymbol 3218Public ReadOnly Property ContainerTypeOpt As TypeSymbol 3250Public Function Update(nameOpt As String, containerTypeOpt As TypeSymbol, receiverOpt As BoundExpression, typeArgumentsOpt As BoundTypeArguments, accessKind As LateBoundAccessKind, type As TypeSymbol) As BoundLateMemberAccess 3263Public Sub New(syntax As SyntaxNode, member As BoundExpression, argumentsOpt As ImmutableArray(Of BoundExpression), argumentNamesOpt As ImmutableArray(Of string), accessKind As LateBoundAccessKind, methodOrPropertyGroupOpt As BoundMethodOrPropertyGroup, type As TypeSymbol, Optional hasErrors As Boolean = False) 3322Public Function Update(member As BoundExpression, argumentsOpt As ImmutableArray(Of BoundExpression), argumentNamesOpt As ImmutableArray(Of string), accessKind As LateBoundAccessKind, methodOrPropertyGroupOpt As BoundMethodOrPropertyGroup, type As TypeSymbol) As BoundLateInvocation 3335Public Sub New(syntax As SyntaxNode, binder As Binder, memberAccess As BoundLateMemberAccess, type As TypeSymbol, Optional hasErrors As Boolean = False) 3365Public Function Update(binder As Binder, memberAccess As BoundLateMemberAccess, type As TypeSymbol) As BoundLateAddressOfOperator 3378Protected Sub New(kind As BoundKind, syntax as SyntaxNode, arguments As ImmutableArray(Of BoundExpression), type As TypeSymbol, Optional hasErrors As Boolean = False) 3398Public Sub New(syntax As SyntaxNode, inferredType As TupleTypeSymbol, argumentNamesOpt As ImmutableArray(Of String), inferredNamesOpt As ImmutableArray(Of Boolean), arguments As ImmutableArray(Of BoundExpression), type As TypeSymbol, Optional hasErrors As Boolean = False) 3435Public Function Update(inferredType As TupleTypeSymbol, argumentNamesOpt As ImmutableArray(Of String), inferredNamesOpt As ImmutableArray(Of Boolean), arguments As ImmutableArray(Of BoundExpression), type As TypeSymbol) As BoundTupleLiteral 3448Public Sub New(syntax As SyntaxNode, naturalTypeOpt As TypeSymbol, arguments As ImmutableArray(Of BoundExpression), type As TypeSymbol, Optional hasErrors As Boolean = False) 3458Private ReadOnly _NaturalTypeOpt As TypeSymbol 3459Public ReadOnly Property NaturalTypeOpt As TypeSymbol 3470Public Function Update(naturalTypeOpt As TypeSymbol, arguments As ImmutableArray(Of BoundExpression), type As TypeSymbol) As BoundConvertedTupleLiteral 3483Protected Sub New(kind As BoundKind, syntax as SyntaxNode, initializerOpt As BoundObjectInitializerExpressionBase, type As TypeSymbol, Optional hasErrors As Boolean = False) 3508Public Sub New(syntax As SyntaxNode, constructorOpt As MethodSymbol, methodGroupOpt As BoundMethodGroup, arguments As ImmutableArray(Of BoundExpression), defaultArguments As BitVector, initializerOpt As BoundObjectInitializerExpressionBase, type As TypeSymbol, Optional hasErrors As Boolean = False) 3559Public Function Update(constructorOpt As MethodSymbol, methodGroupOpt As BoundMethodGroup, arguments As ImmutableArray(Of BoundExpression), defaultArguments As BitVector, initializerOpt As BoundObjectInitializerExpressionBase, type As TypeSymbol) As BoundObjectCreationExpression 3572Public Sub New(syntax As SyntaxNode, guidString As string, initializerOpt As BoundObjectInitializerExpressionBase, type As TypeSymbol, Optional hasErrors As Boolean = False) 3593Public Function Update(guidString As string, initializerOpt As BoundObjectInitializerExpressionBase, type As TypeSymbol) As BoundNoPiaObjectCreationExpression 3606Public Sub New(syntax As SyntaxNode, binderOpt As Binder.AnonymousTypeCreationBinder, declarations As ImmutableArray(Of BoundAnonymousTypePropertyAccess), arguments As ImmutableArray(Of BoundExpression), type As TypeSymbol, Optional hasErrors As Boolean = False) 3644Public Function Update(binderOpt As Binder.AnonymousTypeCreationBinder, declarations As ImmutableArray(Of BoundAnonymousTypePropertyAccess), arguments As ImmutableArray(Of BoundExpression), type As TypeSymbol) As BoundAnonymousTypeCreationExpression 3657Public Sub New(syntax As SyntaxNode, binder As Binder.AnonymousTypeCreationBinder, propertyIndex As Integer, type As TypeSymbol, hasErrors As Boolean) 3666Public Sub New(syntax As SyntaxNode, binder As Binder.AnonymousTypeCreationBinder, propertyIndex As Integer, type As TypeSymbol) 3695Public Function Update(binder As Binder.AnonymousTypeCreationBinder, propertyIndex As Integer, type As TypeSymbol) As BoundAnonymousTypePropertyAccess 3708Public Sub New(syntax As SyntaxNode, binder As Binder.AnonymousTypeFieldInitializerBinder, value As BoundExpression, type As TypeSymbol, Optional hasErrors As Boolean = False) 3738Public Function Update(binder As Binder.AnonymousTypeFieldInitializerBinder, value As BoundExpression, type As TypeSymbol) As BoundAnonymousTypeFieldInitializer 3751Protected Sub New(kind As BoundKind, syntax as SyntaxNode, placeholderOpt As BoundWithLValueExpressionPlaceholder, initializers As ImmutableArray(Of BoundExpression), type As TypeSymbol, Optional hasErrors As Boolean = False) 3779Public Sub New(syntax As SyntaxNode, createTemporaryLocalForInitialization As Boolean, placeholderOpt As BoundWithLValueExpressionPlaceholder, initializers As ImmutableArray(Of BoundExpression), type As TypeSymbol, Optional hasErrors As Boolean = False) 3805Public Function Update(createTemporaryLocalForInitialization As Boolean, placeholderOpt As BoundWithLValueExpressionPlaceholder, initializers As ImmutableArray(Of BoundExpression), type As TypeSymbol) As BoundObjectInitializerExpression 3818Public Sub New(syntax As SyntaxNode, placeholderOpt As BoundWithLValueExpressionPlaceholder, initializers As ImmutableArray(Of BoundExpression), type As TypeSymbol, Optional hasErrors As Boolean = False) 3836Public Function Update(placeholderOpt As BoundWithLValueExpressionPlaceholder, initializers As ImmutableArray(Of BoundExpression), type As TypeSymbol) As BoundCollectionInitializerExpression 3849Public Sub New(syntax As SyntaxNode, initializerOpt As BoundObjectInitializerExpressionBase, type As TypeSymbol, Optional hasErrors As Boolean = False) 3867Public Function Update(initializerOpt As BoundObjectInitializerExpressionBase, type As TypeSymbol) As BoundNewT 3880Public Sub New(syntax As SyntaxNode, receiverOpt As BoundExpression, method As MethodSymbol, relaxationLambdaOpt As BoundLambda, relaxationReceiverPlaceholderOpt As BoundRValuePlaceholder, methodGroupOpt As BoundMethodGroup, type As TypeSymbol, Optional hasErrors As Boolean = False) 3934Public Function Update(receiverOpt As BoundExpression, method As MethodSymbol, relaxationLambdaOpt As BoundLambda, relaxationReceiverPlaceholderOpt As BoundRValuePlaceholder, methodGroupOpt As BoundMethodGroup, type As TypeSymbol) As BoundDelegateCreationExpression 3947Public Sub New(syntax As SyntaxNode, isParamArrayArgument As Boolean, bounds As ImmutableArray(Of BoundExpression), initializerOpt As BoundArrayInitialization, arrayLiteralOpt As BoundArrayLiteral, arrayLiteralConversion As ConversionKind, type As TypeSymbol, Optional hasErrors As Boolean = False) 4006Public Function Update(isParamArrayArgument As Boolean, bounds As ImmutableArray(Of BoundExpression), initializerOpt As BoundArrayInitialization, arrayLiteralOpt As BoundArrayLiteral, arrayLiteralConversion As ConversionKind, type As TypeSymbol) As BoundArrayCreation 4096Public Sub New(syntax As SyntaxNode, initializers As ImmutableArray(Of BoundExpression), type As TypeSymbol, Optional hasErrors As Boolean = False) 4117Public Function Update(initializers As ImmutableArray(Of BoundExpression), type As TypeSymbol) As BoundArrayInitialization 4130Public Sub New(syntax As SyntaxNode, receiverOpt As BoundExpression, fieldSymbol As FieldSymbol, isLValue As Boolean, suppressVirtualCalls As Boolean, constantsInProgressOpt As ConstantFieldsInProgress, type As TypeSymbol, Optional hasErrors As Boolean = False) 4189Public Function Update(receiverOpt As BoundExpression, fieldSymbol As FieldSymbol, isLValue As Boolean, suppressVirtualCalls As Boolean, constantsInProgressOpt As ConstantFieldsInProgress, type As TypeSymbol) As BoundFieldAccess 4202Public Sub New(syntax As SyntaxNode, propertySymbol As PropertySymbol, propertyGroupOpt As BoundPropertyGroup, accessKind As PropertyAccessKind, isWriteable As Boolean, isLValue As Boolean, receiverOpt As BoundExpression, arguments As ImmutableArray(Of BoundExpression), defaultArguments As BitVector, type As TypeSymbol, Optional hasErrors As Boolean = False) 4286Public Function Update(propertySymbol As PropertySymbol, propertyGroupOpt As BoundPropertyGroup, accessKind As PropertyAccessKind, isWriteable As Boolean, isLValue As Boolean, receiverOpt As BoundExpression, arguments As ImmutableArray(Of BoundExpression), defaultArguments As BitVector, type As TypeSymbol) As BoundPropertyAccess 4299Public Sub New(syntax As SyntaxNode, receiverOpt As BoundExpression, eventSymbol As EventSymbol, type As TypeSymbol, Optional hasErrors As Boolean = False) 4329Public Function Update(receiverOpt As BoundExpression, eventSymbol As EventSymbol, type As TypeSymbol) As BoundEventAccess 4815Public Sub New(syntax As SyntaxNode, locals As ImmutableArray(Of LocalSymbol), sideEffects As ImmutableArray(Of BoundExpression), valueOpt As BoundExpression, type As TypeSymbol, Optional hasErrors As Boolean = False) 4859Public Function Update(locals As ImmutableArray(Of LocalSymbol), sideEffects As ImmutableArray(Of BoundExpression), valueOpt As BoundExpression, type As TypeSymbol) As BoundSequence 5891Public Sub New(syntax As SyntaxNode, value As ConstantValue, type As TypeSymbol, hasErrors As Boolean) 5904Public Sub New(syntax As SyntaxNode, value As ConstantValue, type As TypeSymbol) 5927Public Function Update(value As ConstantValue, type As TypeSymbol) As BoundLiteral 5940Public Sub New(syntax As SyntaxNode, type As TypeSymbol, hasErrors As Boolean) 5947Public Sub New(syntax As SyntaxNode, type As TypeSymbol) 5960Public Function Update(type As TypeSymbol) As BoundMeReference 5973Public Sub New(syntax As SyntaxNode, type As TypeSymbol, hasErrors As Boolean) 5985Public Sub New(syntax As SyntaxNode, type As TypeSymbol) 6000Public Function Update(type As TypeSymbol) As BoundValueTypeMeReference 6013Public Sub New(syntax As SyntaxNode, type As TypeSymbol, hasErrors As Boolean) 6020Public Sub New(syntax As SyntaxNode, type As TypeSymbol) 6033Public Function Update(type As TypeSymbol) As BoundMyBaseReference 6046Public Sub New(syntax As SyntaxNode, type As TypeSymbol, hasErrors As Boolean) 6053Public Sub New(syntax As SyntaxNode, type As TypeSymbol) 6066Public Function Update(type As TypeSymbol) As BoundMyClassReference 6079Public Sub New(syntax As SyntaxNode, sourceType As NamedTypeSymbol, type As TypeSymbol, hasErrors As Boolean) 6088Public Sub New(syntax As SyntaxNode, sourceType As NamedTypeSymbol, type As TypeSymbol) 6110Public Function Update(sourceType As NamedTypeSymbol, type As TypeSymbol) As BoundPreviousSubmissionReference 6123Public Sub New(syntax As SyntaxNode, type As TypeSymbol, hasErrors As Boolean) 6130Public Sub New(syntax As SyntaxNode, type As TypeSymbol) 6143Public Function Update(type As TypeSymbol) As BoundHostObjectMemberReference 6156Public Sub New(syntax As SyntaxNode, localSymbol As LocalSymbol, isLValue As Boolean, type As TypeSymbol, hasErrors As Boolean) 6171Public Sub New(syntax As SyntaxNode, localSymbol As LocalSymbol, isLValue As Boolean, type As TypeSymbol) 6203Public Function Update(localSymbol As LocalSymbol, isLValue As Boolean, type As TypeSymbol) As BoundLocal 6216Public Sub New(syntax As SyntaxNode, localSymbol As LocalSymbol, isLValue As Boolean, emitExpressions As PseudoVariableExpressions, type As TypeSymbol, hasErrors As Boolean) 6233Public Sub New(syntax As SyntaxNode, localSymbol As LocalSymbol, isLValue As Boolean, emitExpressions As PseudoVariableExpressions, type As TypeSymbol) 6274Public Function Update(localSymbol As LocalSymbol, isLValue As Boolean, emitExpressions As PseudoVariableExpressions, type As TypeSymbol) As BoundPseudoVariable 6287Public Sub New(syntax As SyntaxNode, parameterSymbol As ParameterSymbol, isLValue As Boolean, suppressVirtualCalls As Boolean, type As TypeSymbol, hasErrors As Boolean) 6298Public Sub New(syntax As SyntaxNode, parameterSymbol As ParameterSymbol, isLValue As Boolean, suppressVirtualCalls As Boolean, type As TypeSymbol) 6336Public Function Update(parameterSymbol As ParameterSymbol, isLValue As Boolean, suppressVirtualCalls As Boolean, type As TypeSymbol) As BoundParameter 6349Public Sub New(syntax As SyntaxNode, isOut As Boolean, type As TypeSymbol, hasErrors As Boolean) 6357Public Sub New(syntax As SyntaxNode, isOut As Boolean, type As TypeSymbol) 6378Public Function Update(isOut As Boolean, type As TypeSymbol) As BoundByRefArgumentPlaceholder 6391Public Sub New(syntax As SyntaxNode, originalArgument As BoundExpression, inConversion As BoundExpression, inPlaceholder As BoundByRefArgumentPlaceholder, outConversion As BoundExpression, outPlaceholder As BoundRValuePlaceholder, type As TypeSymbol, Optional hasErrors As Boolean = False) 6453Public Function Update(originalArgument As BoundExpression, inConversion As BoundExpression, inPlaceholder As BoundByRefArgumentPlaceholder, outConversion As BoundExpression, outPlaceholder As BoundRValuePlaceholder, type As TypeSymbol) As BoundByRefArgumentWithCopyBack 6466Public Sub New(syntax As SyntaxNode, originalArgument As BoundExpression, localSymbol As SynthesizedLocal, type As TypeSymbol, Optional hasErrors As Boolean = False) 6501Public Function Update(originalArgument As BoundExpression, localSymbol As SynthesizedLocal, type As TypeSymbol) As BoundLateBoundArgumentSupportingAssignmentWithCapture 6556Public Sub New(syntax As SyntaxNode, label As LabelSymbol, type As TypeSymbol, hasErrors As Boolean) 6564Public Sub New(syntax As SyntaxNode, label As LabelSymbol, type As TypeSymbol) 6585Public Function Update(label As LabelSymbol, type As TypeSymbol) As BoundLabel 6777Public Sub New(syntax As SyntaxNode, binder As Binder, flags As SourceMemberFlags, parameters As ImmutableArray(Of ParameterSymbol), returnType As TypeSymbol, bindingCache As UnboundLambda.UnboundLambdaBindingCache, hasErrors As Boolean) 6796Public Sub New(syntax As SyntaxNode, binder As Binder, flags As SourceMemberFlags, parameters As ImmutableArray(Of ParameterSymbol), returnType As TypeSymbol, bindingCache As UnboundLambda.UnboundLambdaBindingCache) 6834Private ReadOnly _ReturnType As TypeSymbol 6835Public ReadOnly Property ReturnType As TypeSymbol 6853Public Function Update(binder As Binder, flags As SourceMemberFlags, parameters As ImmutableArray(Of ParameterSymbol), returnType As TypeSymbol, bindingCache As UnboundLambda.UnboundLambdaBindingCache) As UnboundLambda 6946Public Sub New(syntax As SyntaxNode, lastOperator As BoundQueryClauseBase, type As TypeSymbol, Optional hasErrors As Boolean = False) 6968Public Function Update(lastOperator As BoundQueryClauseBase, type As TypeSymbol) As BoundQueryExpression 6981Protected Sub New(kind As BoundKind, syntax as SyntaxNode, type As TypeSymbol, hasErrors As Boolean) 6988Protected Sub New(kind As BoundKind, syntax as SyntaxNode, type As TypeSymbol) 7000Public Sub New(syntax As SyntaxNode, expression As BoundExpression, type As TypeSymbol, Optional hasErrors As Boolean = False) 7022Public Function Update(expression As BoundExpression, type As TypeSymbol) As BoundQuerySource 7035Public Sub New(syntax As SyntaxNode, conversionCall As BoundCall, type As TypeSymbol, Optional hasErrors As Boolean = False) 7057Public Function Update(conversionCall As BoundCall, type As TypeSymbol) As BoundToQueryableCollectionConversion 7070Protected Sub New(kind As BoundKind, syntax as SyntaxNode, rangeVariables As ImmutableArray(Of RangeVariableSymbol), compoundVariableType As TypeSymbol, binders As ImmutableArray(Of Binder), type As TypeSymbol, hasErrors As Boolean) 7083Protected Sub New(kind As BoundKind, syntax as SyntaxNode, rangeVariables As ImmutableArray(Of RangeVariableSymbol), compoundVariableType As TypeSymbol, binders As ImmutableArray(Of Binder), type As TypeSymbol) 7104Private ReadOnly _CompoundVariableType As TypeSymbol 7105Public ReadOnly Property CompoundVariableType As TypeSymbol 7122Public Sub New(syntax As SyntaxNode, source As BoundQueryPart, rangeVariableOpt As RangeVariableSymbol, rangeVariables As ImmutableArray(Of RangeVariableSymbol), compoundVariableType As TypeSymbol, binders As ImmutableArray(Of Binder), type As TypeSymbol, Optional hasErrors As Boolean = False) 7160Public Function Update(source As BoundQueryPart, rangeVariableOpt As RangeVariableSymbol, rangeVariables As ImmutableArray(Of RangeVariableSymbol), compoundVariableType As TypeSymbol, binders As ImmutableArray(Of Binder), type As TypeSymbol) As BoundQueryableSource 7173Public Sub New(syntax As SyntaxNode, underlyingExpression As BoundExpression, rangeVariables As ImmutableArray(Of RangeVariableSymbol), compoundVariableType As TypeSymbol, binders As ImmutableArray(Of Binder), type As TypeSymbol, Optional hasErrors As Boolean = False) 7198Public Function Update(underlyingExpression As BoundExpression, rangeVariables As ImmutableArray(Of RangeVariableSymbol), compoundVariableType As TypeSymbol, binders As ImmutableArray(Of Binder), type As TypeSymbol) As BoundQueryClause 7211Public Sub New(syntax As SyntaxNode, underlyingExpression As BoundExpression, type As TypeSymbol, Optional hasErrors As Boolean = False) 7233Public Function Update(underlyingExpression As BoundExpression, type As TypeSymbol) As BoundOrdering 7306Public Sub New(syntax As SyntaxNode, rangeVariable As RangeVariableSymbol, value As BoundExpression, type As TypeSymbol, Optional hasErrors As Boolean = False) 7337Public Function Update(rangeVariable As RangeVariableSymbol, value As BoundExpression, type As TypeSymbol) As BoundRangeVariableAssignment 7414Public Sub New(syntax As SyntaxNode, capturedGroupOpt As BoundQueryClauseBase, groupPlaceholderOpt As BoundRValuePlaceholder, underlyingExpression As BoundExpression, rangeVariables As ImmutableArray(Of RangeVariableSymbol), compoundVariableType As TypeSymbol, binders As ImmutableArray(Of Binder), type As TypeSymbol, Optional hasErrors As Boolean = False) 7455Public Function Update(capturedGroupOpt As BoundQueryClauseBase, groupPlaceholderOpt As BoundRValuePlaceholder, underlyingExpression As BoundExpression, rangeVariables As ImmutableArray(Of RangeVariableSymbol), compoundVariableType As TypeSymbol, binders As ImmutableArray(Of Binder), type As TypeSymbol) As BoundAggregateClause 7468Public Sub New(syntax As SyntaxNode, group As BoundExpression, type As TypeSymbol, Optional hasErrors As Boolean = False) 7490Public Function Update(group As BoundExpression, type As TypeSymbol) As BoundGroupAggregation 7503Public Sub New(syntax As SyntaxNode, rangeVariable As RangeVariableSymbol, type As TypeSymbol, hasErrors As Boolean) 7512Public Sub New(syntax As SyntaxNode, rangeVariable As RangeVariableSymbol, type As TypeSymbol) 7534Public Function Update(rangeVariable As RangeVariableSymbol, type As TypeSymbol) As BoundRangeVariable 7784Public Sub New(syntax As SyntaxNode, xmlNamespace As BoundExpression, localName As BoundExpression, objectCreation As BoundExpression, type As TypeSymbol, Optional hasErrors As Boolean = False) 7824Public Function Update(xmlNamespace As BoundExpression, localName As BoundExpression, objectCreation As BoundExpression, type As TypeSymbol) As BoundXmlName 7837Public Sub New(syntax As SyntaxNode, xmlNamespace As BoundExpression, objectCreation As BoundExpression, type As TypeSymbol, Optional hasErrors As Boolean = False) 7868Public Function Update(xmlNamespace As BoundExpression, objectCreation As BoundExpression, type As TypeSymbol) As BoundXmlNamespace 7881Public Sub New(syntax As SyntaxNode, declaration As BoundExpression, childNodes As ImmutableArray(Of BoundExpression), rewriterInfo As BoundXmlContainerRewriterInfo, type As TypeSymbol, Optional hasErrors As Boolean = False) 7921Public Function Update(declaration As BoundExpression, childNodes As ImmutableArray(Of BoundExpression), rewriterInfo As BoundXmlContainerRewriterInfo, type As TypeSymbol) As BoundXmlDocument 7934Public Sub New(syntax As SyntaxNode, version As BoundExpression, encoding As BoundExpression, standalone As BoundExpression, objectCreation As BoundExpression, type As TypeSymbol, Optional hasErrors As Boolean = False) 7980Public Function Update(version As BoundExpression, encoding As BoundExpression, standalone As BoundExpression, objectCreation As BoundExpression, type As TypeSymbol) As BoundXmlDeclaration 7993Public Sub New(syntax As SyntaxNode, target As BoundExpression, data As BoundExpression, objectCreation As BoundExpression, type As TypeSymbol, Optional hasErrors As Boolean = False) 8033Public Function Update(target As BoundExpression, data As BoundExpression, objectCreation As BoundExpression, type As TypeSymbol) As BoundXmlProcessingInstruction 8046Public Sub New(syntax As SyntaxNode, value As BoundExpression, objectCreation As BoundExpression, type As TypeSymbol, Optional hasErrors As Boolean = False) 8077Public Function Update(value As BoundExpression, objectCreation As BoundExpression, type As TypeSymbol) As BoundXmlComment 8090Public Sub New(syntax As SyntaxNode, name As BoundExpression, value As BoundExpression, matchesImport As Boolean, objectCreation As BoundExpression, type As TypeSymbol, Optional hasErrors As Boolean = False) 8143Public Function Update(name As BoundExpression, value As BoundExpression, matchesImport As Boolean, objectCreation As BoundExpression, type As TypeSymbol) As BoundXmlAttribute 8156Public Sub New(syntax As SyntaxNode, argument As BoundExpression, childNodes As ImmutableArray(Of BoundExpression), rewriterInfo As BoundXmlContainerRewriterInfo, type As TypeSymbol, Optional hasErrors As Boolean = False) 8196Public Function Update(argument As BoundExpression, childNodes As ImmutableArray(Of BoundExpression), rewriterInfo As BoundXmlContainerRewriterInfo, type As TypeSymbol) As BoundXmlElement 8209Public Sub New(syntax As SyntaxNode, memberAccess As BoundExpression, type As TypeSymbol, Optional hasErrors As Boolean = False) 8231Public Function Update(memberAccess As BoundExpression, type As TypeSymbol) As BoundXmlMemberAccess 8244Public Sub New(syntax As SyntaxNode, expression As BoundExpression, type As TypeSymbol, Optional hasErrors As Boolean = False) 8266Public Function Update(expression As BoundExpression, type As TypeSymbol) As BoundXmlEmbeddedExpression 8279Public Sub New(syntax As SyntaxNode, value As BoundLiteral, objectCreation As BoundExpression, type As TypeSymbol, Optional hasErrors As Boolean = False) 8310Public Function Update(value As BoundLiteral, objectCreation As BoundExpression, type As TypeSymbol) As BoundXmlCData 8498Public Sub New(syntax As SyntaxNode, activeHandlerLocal As BoundLocal, resumeTargetLocal As BoundLocal, type As TypeSymbol, Optional hasErrors As Boolean = False) 8534Public Function Update(activeHandlerLocal As BoundLocal, resumeTargetLocal As BoundLocal, type As TypeSymbol) As BoundUnstructuredExceptionHandlingCatchFilter 8661Public Sub New(syntax As SyntaxNode, operand As BoundExpression, awaitableInstancePlaceholder As BoundRValuePlaceholder, getAwaiter As BoundExpression, awaiterInstancePlaceholder As BoundLValuePlaceholder, isCompleted As BoundExpression, getResult As BoundExpression, type As TypeSymbol, Optional hasErrors As Boolean = False) 8733Public Function Update(operand As BoundExpression, awaitableInstancePlaceholder As BoundRValuePlaceholder, getAwaiter As BoundExpression, awaiterInstancePlaceholder As BoundLValuePlaceholder, isCompleted As BoundExpression, getResult As BoundExpression, type As TypeSymbol) As BoundAwaitOperator 8746Public Sub New(syntax As SyntaxNode, locals As ImmutableArray(Of LocalSymbol), spillFields As ImmutableArray(Of FieldSymbol), statements As ImmutableArray(Of BoundStatement), valueOpt As BoundExpression, type As TypeSymbol, Optional hasErrors As Boolean = False) 8798Public Function Update(locals As ImmutableArray(Of LocalSymbol), spillFields As ImmutableArray(Of FieldSymbol), statements As ImmutableArray(Of BoundStatement), valueOpt As BoundExpression, type As TypeSymbol) As BoundSpillSequence 8847Public Sub New(syntax As SyntaxNode, original As BoundExpression, start As BoundExpression, lengthOpt As BoundExpression, source As BoundExpression, type As TypeSymbol, Optional hasErrors As Boolean = False) 8900Public Function Update(original As BoundExpression, start As BoundExpression, lengthOpt As BoundExpression, source As BoundExpression, type As TypeSymbol) As BoundMidResult 8913Public Sub New(syntax As SyntaxNode, receiver As BoundExpression, placeholder As BoundRValuePlaceholder, accessExpression As BoundExpression, type As TypeSymbol, Optional hasErrors As Boolean = False) 8952Public Function Update(receiver As BoundExpression, placeholder As BoundRValuePlaceholder, accessExpression As BoundExpression, type As TypeSymbol) As BoundConditionalAccess 8965Public Sub New(syntax As SyntaxNode, placeholderId As Integer, capture As Boolean, type As TypeSymbol, hasErrors As Boolean) 8979Public Sub New(syntax As SyntaxNode, placeholderId As Integer, capture As Boolean, type As TypeSymbol) 9010Public Function Update(placeholderId As Integer, capture As Boolean, type As TypeSymbol) As BoundConditionalAccessReceiverPlaceholder 9023Public Sub New(syntax As SyntaxNode, receiver As BoundExpression, captureReceiver As Boolean, placeholderId As Integer, whenNotNull As BoundExpression, whenNullOpt As BoundExpression, type As TypeSymbol, Optional hasErrors As Boolean = False) 9083Public Function Update(receiver As BoundExpression, captureReceiver As Boolean, placeholderId As Integer, whenNotNull As BoundExpression, whenNullOpt As BoundExpression, type As TypeSymbol) As BoundLoweredConditionalAccess 9096Public Sub New(syntax As SyntaxNode, valueTypeReceiver As BoundExpression, referenceTypeReceiver As BoundExpression, type As TypeSymbol, Optional hasErrors As Boolean = False) 9132Public Function Update(valueTypeReceiver As BoundExpression, referenceTypeReceiver As BoundExpression, type As TypeSymbol) As BoundComplexConditionalAccessReceiver 9145Public Sub New(syntax As SyntaxNode, argument As BoundExpression, constantValueOpt As ConstantValue, type As TypeSymbol, Optional hasErrors As Boolean = False) 9180Public Function Update(argument As BoundExpression, constantValueOpt As ConstantValue, type As TypeSymbol) As BoundNameOfOperator 9193Public Sub New(syntax As SyntaxNode, expression As BoundTypeExpression, type As TypeSymbol, Optional hasErrors As Boolean = False) 9220Public Function Update(expression As BoundTypeExpression, type As TypeSymbol) As BoundTypeAsValueExpression 9233Public Sub New(syntax As SyntaxNode, contents As ImmutableArray(Of BoundNode), constructionOpt As BoundExpression, type As TypeSymbol, Optional hasErrors As Boolean = False) 9268Public Function Update(contents As ImmutableArray(Of BoundNode), constructionOpt As BoundExpression, type As TypeSymbol) As BoundInterpolatedStringExpression 12047Dim type as TypeSymbol = Me.VisitType(node.Type) 12052Dim type as TypeSymbol = Me.VisitType(node.Type) 12058Dim type as TypeSymbol = Me.VisitType(node.Type) 12063Dim type as TypeSymbol = Me.VisitType(node.Type) 12068Dim type as TypeSymbol = Me.VisitType(node.Type) 12073Dim type as TypeSymbol = Me.VisitType(node.Type) 12078Dim type as TypeSymbol = Me.VisitType(node.Type) 12083Dim type as TypeSymbol = Me.VisitType(node.Type) 12089Dim type as TypeSymbol = Me.VisitType(node.Type) 12100Dim type as TypeSymbol = Me.VisitType(node.Type) 12106Dim type as TypeSymbol = Me.VisitType(node.Type) 12113Dim type as TypeSymbol = Me.VisitType(node.Type) 12119Dim type as TypeSymbol = Me.VisitType(node.Type) 12125Dim type as TypeSymbol = Me.VisitType(node.Type) 12130Dim type as TypeSymbol = Me.VisitType(node.Type) 12135Dim type as TypeSymbol = Me.VisitType(node.Type) 12141Dim type as TypeSymbol = Me.VisitType(node.Type) 12146Dim type as TypeSymbol = Me.VisitType(node.Type) 12152Dim type as TypeSymbol = Me.VisitType(node.Type) 12157Dim type as TypeSymbol = Me.VisitType(node.Type) 12162Dim type as TypeSymbol = Me.VisitType(node.Type) 12167Dim type as TypeSymbol = Me.VisitType(node.Type) 12172Dim type as TypeSymbol = Me.VisitType(node.Type) 12177Dim type as TypeSymbol = Me.VisitType(node.Type) 12182Dim type as TypeSymbol = Me.VisitType(node.Type) 12188Dim type as TypeSymbol = Me.VisitType(node.Type) 12194Dim type as TypeSymbol = Me.VisitType(node.Type) 12200Dim type as TypeSymbol = Me.VisitType(node.Type) 12207Dim type as TypeSymbol = Me.VisitType(node.Type) 12213Dim type as TypeSymbol = Me.VisitType(node.Type) 12222Dim type as TypeSymbol = Me.VisitType(node.Type) 12227Dim type as TypeSymbol = Me.VisitType(node.Type) 12235Dim type as TypeSymbol = Me.VisitType(node.Type) 12242Dim type as TypeSymbol = Me.VisitType(node.Type) 12248Dim type as TypeSymbol = Me.VisitType(node.Type) 12256Dim type as TypeSymbol = Me.VisitType(node.Type) 12265Dim type as TypeSymbol = Me.VisitType(node.Type) 12272Dim type as TypeSymbol = Me.VisitType(node.Type) 12290Dim type as TypeSymbol = Me.VisitType(node.Type) 12297Dim type as TypeSymbol = Me.VisitType(node.Type) 12304Dim type as TypeSymbol = Me.VisitType(node.Type) 12310Dim targetType as TypeSymbol = Me.VisitType(node.TargetType) 12311Dim type as TypeSymbol = Me.VisitType(node.Type) 12322Dim type as TypeSymbol = Me.VisitType(node.Type) 12338Dim type as TypeSymbol = Me.VisitType(node.Type) 12344Dim type as TypeSymbol = Me.VisitType(node.Type) 12383Dim type as TypeSymbol = Me.VisitType(node.Type) 12390Dim type as TypeSymbol = Me.VisitType(node.Type) 12397Dim containerTypeOpt as TypeSymbol = Me.VisitType(node.ContainerTypeOpt) 12398Dim type as TypeSymbol = Me.VisitType(node.Type) 12406Dim type as TypeSymbol = Me.VisitType(node.Type) 12412Dim type as TypeSymbol = Me.VisitType(node.Type) 12418Dim type as TypeSymbol = Me.VisitType(node.Type) 12424Dim naturalTypeOpt as TypeSymbol = Me.VisitType(node.NaturalTypeOpt) 12425Dim type as TypeSymbol = Me.VisitType(node.Type) 12433Dim type as TypeSymbol = Me.VisitType(node.Type) 12439Dim type as TypeSymbol = Me.VisitType(node.Type) 12446Dim type as TypeSymbol = Me.VisitType(node.Type) 12451Dim type as TypeSymbol = Me.VisitType(node.Type) 12457Dim type as TypeSymbol = Me.VisitType(node.Type) 12464Dim type as TypeSymbol = Me.VisitType(node.Type) 12471Dim type as TypeSymbol = Me.VisitType(node.Type) 12477Dim type as TypeSymbol = Me.VisitType(node.Type) 12486Dim type as TypeSymbol = Me.VisitType(node.Type) 12494Dim type as TypeSymbol = Me.VisitType(node.Type) 12501Dim type as TypeSymbol = Me.VisitType(node.Type) 12507Dim type as TypeSymbol = Me.VisitType(node.Type) 12513Dim type as TypeSymbol = Me.VisitType(node.Type) 12521Dim type as TypeSymbol = Me.VisitType(node.Type) 12527Dim type as TypeSymbol = Me.VisitType(node.Type) 12588Dim type as TypeSymbol = Me.VisitType(node.Type) 12709Dim type as TypeSymbol = Me.VisitType(node.Type) 12714Dim type as TypeSymbol = Me.VisitType(node.Type) 12719Dim type as TypeSymbol = Me.VisitType(node.Type) 12724Dim type as TypeSymbol = Me.VisitType(node.Type) 12729Dim type as TypeSymbol = Me.VisitType(node.Type) 12734Dim type as TypeSymbol = Me.VisitType(node.Type) 12739Dim type as TypeSymbol = Me.VisitType(node.Type) 12744Dim type as TypeSymbol = Me.VisitType(node.Type) 12749Dim type as TypeSymbol = Me.VisitType(node.Type) 12754Dim type as TypeSymbol = Me.VisitType(node.Type) 12759Dim type as TypeSymbol = Me.VisitType(node.Type) 12769Dim type as TypeSymbol = Me.VisitType(node.Type) 12775Dim type as TypeSymbol = Me.VisitType(node.Type) 12784Dim type as TypeSymbol = Me.VisitType(node.Type) 12810Dim returnType as TypeSymbol = Me.VisitType(node.ReturnType) 12811Dim type as TypeSymbol = Me.VisitType(node.Type) 12817Dim type as TypeSymbol = Me.VisitType(node.Type) 12823Dim type as TypeSymbol = Me.VisitType(node.Type) 12829Dim type as TypeSymbol = Me.VisitType(node.Type) 12835Dim type as TypeSymbol = Me.VisitType(node.Type) 12841Dim compoundVariableType as TypeSymbol = Me.VisitType(node.CompoundVariableType) 12842Dim type as TypeSymbol = Me.VisitType(node.Type) 12848Dim compoundVariableType as TypeSymbol = Me.VisitType(node.CompoundVariableType) 12849Dim type as TypeSymbol = Me.VisitType(node.Type) 12855Dim type as TypeSymbol = Me.VisitType(node.Type) 12861Dim type as TypeSymbol = Me.VisitType(node.Type) 12867Dim type as TypeSymbol = Me.VisitType(node.Type) 12872Dim type as TypeSymbol = Me.VisitType(node.Type) 12880Dim compoundVariableType as TypeSymbol = Me.VisitType(node.CompoundVariableType) 12881Dim type as TypeSymbol = Me.VisitType(node.Type) 12887Dim type as TypeSymbol = Me.VisitType(node.Type) 12892Dim type as TypeSymbol = Me.VisitType(node.Type) 12930Dim type as TypeSymbol = Me.VisitType(node.Type) 12937Dim type as TypeSymbol = Me.VisitType(node.Type) 12944Dim type as TypeSymbol = Me.VisitType(node.Type) 12953Dim type as TypeSymbol = Me.VisitType(node.Type) 12961Dim type as TypeSymbol = Me.VisitType(node.Type) 12968Dim type as TypeSymbol = Me.VisitType(node.Type) 12976Dim type as TypeSymbol = Me.VisitType(node.Type) 12983Dim type as TypeSymbol = Me.VisitType(node.Type) 12989Dim type as TypeSymbol = Me.VisitType(node.Type) 12995Dim type as TypeSymbol = Me.VisitType(node.Type) 13002Dim type as TypeSymbol = Me.VisitType(node.Type) 13024Dim type as TypeSymbol = Me.VisitType(node.Type) 13049Dim type as TypeSymbol = Me.VisitType(node.Type) 13056Dim type as TypeSymbol = Me.VisitType(node.Type) 13073Dim type as TypeSymbol = Me.VisitType(node.Type) 13081Dim type as TypeSymbol = Me.VisitType(node.Type) 13086Dim type as TypeSymbol = Me.VisitType(node.Type) 13094Dim type as TypeSymbol = Me.VisitType(node.Type) 13101Dim type as TypeSymbol = Me.VisitType(node.Type) 13107Dim type as TypeSymbol = Me.VisitType(node.Type) 13113Dim type as TypeSymbol = Me.VisitType(node.Type) 13120Dim type as TypeSymbol = Me.VisitType(node.Type)
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Await.vb (9)
34Dim awaiterType As TypeSymbol = node.GetAwaiter.Type.InternalSubstituteTypeParameters(Me.TypeMap).Type 52Dim rewrittenType As TypeSymbol = VisitType(node.Type) 117Dim awaiterType As TypeSymbol = awaiterTemp.Type 118Dim awaiterFieldType As TypeSymbol = awaiterType 139If(TypeSymbol.Equals(awaiterField.Type, awaiterTemp.Type, TypeCompareKind.ConsiderEverything), 182ImmutableArray.Create(Of TypeSymbol)(asCriticalNotifyCompletion.Type, Me.F.Me().Type), 199ImmutableArray.Create(Of TypeSymbol)(asNotifyCompletion.Type, Me.F.Me().Type), 233ImmutableArray.Create(Of TypeSymbol)(awaiterType, Me.F.Me().Type), 264If(TypeSymbol.Equals(awaiterTemp.Type, awaiterField.Type, TypeCompareKind.ConsiderEverything),
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (6)
34Dim rewrittenType As TypeSymbol = VisitType(node.Type) 41Debug.Assert(TypeSymbol.Equals(rewrittenType, spillSeq.Type, TypeCompareKind.ConsiderEverything)) 324Dim rewrittenType As TypeSymbol = VisitType(node.Type) 560Dim type As TypeSymbol = Me.VisitType(node.Type) 817Dim rewrittenType As TypeSymbol = Me.VisitType(node.Type) 867Dim rewrittenType As TypeSymbol = VisitType(node.Type)
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Spilling.vb (1)
461Private Function TypeNeedsClearing(type As TypeSymbol) As Boolean
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.vb (3)
54Private ReadOnly _awaiterFields As New Dictionary(Of TypeSymbol, FieldSymbol)() 62Private ReadOnly _typesNeedingClearingCache As New Dictionary(Of TypeSymbol, Boolean) 104Private Function GetAwaiterField(awaiterType As TypeSymbol) As FieldSymbol
Lowering\AsyncRewriter\AsyncRewriter.CapturedSymbolOrExpression.vb (3)
44Private ReadOnly _type As TypeSymbol 46Public Sub New(constValue As ConstantValue, type As TypeSymbol) 192Dim arrayElementType As TypeSymbol = DirectCast(arrayPointer.Type, ArrayTypeSymbol).ElementType
Lowering\AsyncRewriter\AsyncRewriter.SpillFieldAllocator.vb (2)
26Private ReadOnly _allocatedFields As New KeyedStack(Of TypeSymbol, FieldSymbol) 36Friend Function AllocateField(type As TypeSymbol) As FieldSymbol
Lowering\AsyncRewriter\AsyncRewriter.vb (14)
23Private ReadOnly _resultType As TypeSymbol 226Dim builderType As TypeSymbol = constructedBuilderField.Type 240ImmutableArray.Create(Of TypeSymbol)(frameType), 377Dim returnType As TypeSymbol = method.ReturnType 378If TypeSymbol.Equals(returnType, compilation.GetWellKnownType(WellKnownType.System_Threading_Tasks_Task), TypeCompareKind.ConsiderEverything) Then 383TypeSymbol.Equals(returnType.OriginalDefinition, compilation.GetWellKnownType(WellKnownType.System_Threading_Tasks_Task_T), TypeCompareKind.ConsiderEverything) Then 505type As TypeSymbol, 509Return GenerateMethodCall(receiver, type, methodName, ImmutableArray(Of TypeSymbol).Empty, arguments) 513type As TypeSymbol, 515typeArgs As ImmutableArray(Of TypeSymbol), 540type As TypeSymbol, 542typeArgs As ImmutableArray(Of TypeSymbol)) As BoundMethodGroup 575Private Function GeneratePropertyGet(receiver As BoundExpression, type As TypeSymbol, propertyName As String) As BoundExpression 602Private Function FindPropertyAndReturnPropertyGroup(receiver As BoundExpression, type As TypeSymbol, propertyName As String) As BoundPropertyGroup
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_BinaryOperator.vb (33)
199Dim resultType As TypeSymbol = node.Type 201Dim resultNotNullableType As TypeSymbol = resultType.GetNullableUnderlyingTypeOrSelf 202Dim resultUnderlyingType As TypeSymbol = resultNotNullableType.GetEnumUnderlyingTypeOrSelf 214Dim operandType As TypeSymbol = originalLeft.Type 240Dim operandNotNullableType As TypeSymbol = operandType.GetNullableUnderlyingTypeOrSelf 241Dim operandUnderlyingType As TypeSymbol = operandNotNullableType.GetEnumUnderlyingTypeOrSelf 246Debug.Assert(TypeSymbol.Equals(operandType, originalLeft.Type, TypeCompareKind.ConsiderEverything)) 251Debug.Assert(TypeSymbol.Equals(operandType, originalRight.Type, TypeCompareKind.ConsiderEverything)) 303Dim operandActiveType As TypeSymbol = operandType 308Dim newType As TypeSymbol = If(operandIsNullable, Me._factory.NullableOf(operandUnderlyingType), operandUnderlyingType) 318Dim newType As TypeSymbol = If(operandIsNullable, Me._factory.NullableOf(Me.Int32Type), Me.Int32Type) 334Dim resultType As TypeSymbol = node.Type 336Dim resultUnderlyingType As TypeSymbol = GetUnderlyingType(resultType) 345Debug.Assert(TypeSymbol.Equals(resultType, originalLeft.Type, TypeCompareKind.ConsiderEverything)) 349Debug.Assert(TypeSymbol.Equals(resultType, originalRight.Type, TypeCompareKind.ConsiderEverything)) 352Dim systemBool As TypeSymbol = _factory.SpecialType(SpecialType.System_Boolean) 383Dim resultType As TypeSymbol = node.Type 385Dim resultNotNullableType As TypeSymbol = resultType.GetNullableUnderlyingTypeOrSelf 386Dim resultUnderlyingType As TypeSymbol = resultNotNullableType.GetEnumUnderlyingTypeOrSelf 515notNullableType As TypeSymbol, 521Dim underlyingType As TypeSymbol = notNullableType.GetEnumUnderlyingTypeOrSelf 533Private Function MaskShiftCountOperand(node As BoundBinaryOperator, resultType As TypeSymbol, isChecked As Boolean) As BoundExpression 545Dim shiftedType As TypeSymbol = resultType 550Dim operandType As TypeSymbol = operand.Type 560If Not TypeSymbol.Equals(operandType, Me.Int32Type, TypeCompareKind.ConsiderEverything) Then 587Private Function MaskShiftCountOperand(loweredOperand As BoundExpression, shiftedType As TypeSymbol, shiftMask As Integer, shiftConst As ConstantValue, isChecked As Boolean) As BoundExpression 599Dim int32Nullable As TypeSymbol = If(isNullable, Me._factory.NullableOf(Me.Int32Type), Nothing) 722Private Shared Function AdjustCallArgumentForLiftedOperator(oldArg As BoundExpression, parameterType As TypeSymbol) As BoundExpression 725Debug.Assert(TypeSymbol.Equals(oldArg.Type.GetNullableUnderlyingTypeOrSelf(), parameterType, TypeCompareKind.ConsiderEverything)) 739Private Function AdjustCallForLiftedOperator(opKind As BinaryOperatorKind, [call] As BoundCall, resultType As TypeSymbol) As BoundExpression 746Private Function AdjustCallForLiftedOperator(opKind As UnaryOperatorKind, [call] As BoundCall, resultType As TypeSymbol) As BoundExpression 753Private Function AdjustCallForLiftedOperator_DoNotCallDirectly([call] As BoundCall, resultType As TypeSymbol) As BoundExpression 769Dim methodReturnType As TypeSymbol = [call].Method.ReturnType
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_ConditionalExpresion.vb (16)
34Dim resultType As TypeSymbol = node.Type 35Dim testExpressionType As TypeSymbol = testExpression.Type 64Private Function CreateCoalesceLambdaParameterSymbol(paramType As TypeSymbol) As ParameterSymbol 72Private Function BuildLambdaForCoalesceCall(toType As TypeSymbol, lambdaParameter As ParameterSymbol, body As BoundExpression) As BoundExpression 73Dim parameterExpressionType As TypeSymbol = _factory.WellKnownType(WellKnownType.System_Linq_Expressions_ParameterExpression) 101Private Function BuildLambdaBodyForCoalesce(conversion As BoundConversion, toType As TypeSymbol, lambdaParameter As ParameterSymbol, isChecked As Boolean) As BoundExpression 108Dim parameterType As TypeSymbol = parameter.Type 125Private Function CreateUserDefinedNullableToUnderlyingConversion(expression As BoundExpression, nullableType As TypeSymbol, isChecked As Boolean) As BoundExpression 127Dim underlyingType As TypeSymbol = nullableType.GetNullableUnderlyingType 180toType As TypeSymbol, 188Dim callType As TypeSymbol = [call].Type 195Debug.Assert(TypeSymbol.Equals(method.ReturnType, callType, TypeCompareKind.ConsiderEverything)) 196Debug.Assert(TypeSymbol.Equals(toType, conversion.Type, TypeCompareKind.ConsiderEverything)) 198Dim expectedParameterType As TypeSymbol = method.Parameters(0).Type 199Dim realParameterType As TypeSymbol = parameter.Type 200Debug.Assert(TypeSymbol.Equals(expectedParameterType.GetNullableUnderlyingTypeOrSelf, realParameterType.GetNullableUnderlyingTypeOrSelf, TypeCompareKind.ConsiderEverything))
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_Conversion.vb (36)
53Private Function ConvertExpression(operand As BoundExpression, conversion As ConversionKind, typeFrom As TypeSymbol, typeTo As TypeSymbol, 61Dim notNullableTo As TypeSymbol = typeTo.GetNullableUnderlyingTypeOrSelf 111Private Function ConvertLambda(node As BoundLambda, type As TypeSymbol) As BoundExpression 124Private Function CreateBuiltInConversion(typeFrom As TypeSymbol, 125typeTo As TypeSymbol, 135Dim notNullableTo As TypeSymbol = typeTo.GetNullableUnderlyingTypeOrSelf() 136Dim underlyingTo As TypeSymbol = notNullableTo.GetEnumUnderlyingTypeOrSelf() 138Dim notNullableFrom As TypeSymbol = typeFrom.GetNullableUnderlyingTypeOrSelf() 139Dim underlyingFrom As TypeSymbol = notNullableFrom.GetEnumUnderlyingTypeOrSelf() 148ElseIf TypeSymbol.Equals(notNullableFrom, notNullableTo, TypeCompareKind.ConsiderEverything) Then 161Dim interimType As TypeSymbol = notNullableFrom 162Debug.Assert(Not TypeSymbol.Equals(interimType, typeTo, TypeCompareKind.ConsiderEverything)) 176ElseIf TypeSymbol.Equals(notNullableFrom, notNullableTo, TypeCompareKind.ConsiderEverything) Then 189Dim interimType As TypeSymbol = notNullableTo 190Debug.Assert(Not TypeSymbol.Equals(interimType, typeTo, TypeCompareKind.ConsiderEverything)) 210Dim helperOperandType As TypeSymbol = specialHelper.Parameters(0).Type 215Dim helperReturnType As TypeSymbol = specialHelper.ReturnType 255Dim argumentType As TypeSymbol 272Dim typeBeforeNegation As TypeSymbol = GetSignedVersionOfNumericType(underlyingTo) 309Private Function GetSignedVersionOfNumericType(type As TypeSymbol) As TypeSymbol 324Private Function ConvertUnderlyingToNullable(operand As BoundExpression, nullableType As TypeSymbol, isChecked As Boolean) As BoundExpression 341Private Function ConvertNullableToUnderlying(operand As BoundExpression, nullableType As TypeSymbol, isChecked As Boolean) As BoundExpression 342Dim underlyingType As TypeSymbol = nullableType.GetNullableUnderlyingType 361Private Function CreateUserDefinedConversion(node As BoundUserDefinedConversion, resultType As TypeSymbol, isLifted As Boolean, isChecked As Boolean) As BoundExpression 366Dim methodCallType As TypeSymbol = methodCall.Type 401Private Function CreateTypeAs(expr As BoundExpression, type As TypeSymbol) As BoundExpression 408Private Function CreateTypeAsIfNeeded(operand As BoundExpression, oldType As TypeSymbol, newType As TypeSymbol) As BoundExpression 409Return If((TypeSymbol.Equals(oldType, newType, TypeCompareKind.ConsiderEverything)), operand, CreateTypeAs(operand, newType)) 413Private Function Convert(expr As BoundExpression, type As TypeSymbol, isChecked As Boolean) As BoundExpression 429Private Function Convert(expr As BoundExpression, type As TypeSymbol, helper As MethodSymbol, isChecked As Boolean) As BoundExpression 440Private Function ConvertIfNeeded(operand As BoundExpression, oldType As TypeSymbol, newType As TypeSymbol, isChecked As Boolean) As BoundExpression 441Return If((TypeSymbol.Equals(oldType, newType, TypeCompareKind.ConsiderEverything)), operand, Convert(operand, newType, isChecked))
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_UnaryOperator.vb (6)
23Dim origArgType As TypeSymbol = origArg.Type 24Dim origArgNotNullableType As TypeSymbol = origArgType.GetNullableUnderlyingTypeOrSelf 25Dim origArgUnderlyingType As TypeSymbol = origArgNotNullableType.GetEnumUnderlyingTypeOrSelf 27Debug.Assert(TypeSymbol.Equals(origArgType, node.Type, TypeCompareKind.ConsiderEverything)) 135Dim udoOperandType As TypeSymbol = userDefinedOperator.Operand.Type 154Private Function BuildLambdaBodyForCoalesce(opKind As UnaryOperatorKind, [call] As BoundCall, resultType As TypeSymbol, lambdaParameter As ParameterSymbol) As BoundExpression
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (10)
361ImmutableArray.Create(Of TypeSymbol)(delegateType), 716Dim resultType As TypeSymbol = node.Type 772Private Function [Default](type As TypeSymbol) As BoundExpression 788Private Function InitWithParameterlessValueTypeConstructor(type As TypeSymbol) As BoundExpression 794Private Function IsIntegralType(type As TypeSymbol) As Boolean 798Private Function GetUnderlyingType(type As TypeSymbol) As TypeSymbol 806Private Function CreateLiteralExpression(node As BoundExpression, type As TypeSymbol) As BoundExpression 819Return ConvertRuntimeHelperToExpressionTree(helperMethod, ImmutableArray(Of TypeSymbol).Empty, arguments) 826typeArgs As ImmutableArray(Of TypeSymbol),
Lowering\Instrumentation\CodeCoverageInstrumenter.vb (1)
119Dim payloadElementType As TypeSymbol = methodBodyFactory.SpecialType(SpecialType.System_Boolean)
Lowering\Instrumentation\DebugInfoInjector_SequencePoints.vb (1)
79Debug.Assert(TypeSymbol.Equals(left.Type, right.Type, TypeCompareKind.ConsiderEverything))
Lowering\IteratorRewriter\IteratorRewriter.vb (3)
16Private ReadOnly _elementType As TypeSymbol 60Dim methodReturnType As TypeSymbol = method.ReturnType 66Dim elementType As TypeSymbol
Lowering\IteratorRewriter\IteratorStateMachine.vb (2)
22valueTypeSymbol As TypeSymbol, 44Private Shared Function GetIteratorInterfaces(elementType As TypeSymbol,
Lowering\LambdaRewriter\LambdaCapturedVariable.vb (3)
27Friend Sub New(frame As LambdaFrame, captured As Symbol, type As TypeSymbol, fieldName As String, isMeParameter As Boolean) 75Public Shared Function GetCapturedVariableFieldType(frame As LambdaFrame, captured As Symbol) As TypeSymbol 76Dim type As TypeSymbol
Lowering\LambdaRewriter\LambdaRewriter.Analysis.vb (1)
442Dim type As TypeSymbol
Lowering\LambdaRewriter\LambdaRewriter.vb (9)
381Debug.Assert(TypeSymbol.Equals(result.Type, frameType, TypeCompareKind.ConsiderEverything)) 395If _currentFrameThis IsNot Nothing AndAlso TypeSymbol.Equals(_currentFrameThis.Type, frameClass, TypeCompareKind.ConsiderEverything) Then 502Friend Shared Function ConstructFrameType(Of T As TypeSymbol)(type As LambdaFrame, typeArguments As ImmutableArray(Of T)) As NamedTypeSymbol 504Return type.Construct(StaticCast(Of TypeSymbol).From(typeArguments)) 527Debug.Assert(TypeSymbol.Equals(frameType, constructor.ContainingType, TypeCompareKind.ConsiderEverything)) 829If TypeSymbol.Equals(newType, origLocal.Type, TypeCompareKind.ConsiderEverything) Then 1063Private Function RewriteLambda(node As BoundLambda, type As TypeSymbol, convertToExpressionTree As Boolean) As BoundExpression 1188referencedMethod = referencedMethod.Construct(StaticCast(Of TypeSymbol).From(_currentTypeParameters)) 1218Dim cachedFieldType As TypeSymbol = If(containerAsFrame Is Nothing,
Lowering\LambdaRewriter\SynthesizedLambdaCacheFieldSymbol.vb (1)
22type As TypeSymbol,
Lowering\LambdaRewriter\SynthesizedLambdaMethod.vb (4)
119Public Overrides ReadOnly Property TypeArguments As ImmutableArray(Of TypeSymbol) 123Return StaticCast(Of TypeSymbol).From(Me.TypeParameters) 125Return ImmutableArray(Of TypeSymbol).Empty 142Public Overrides ReadOnly Property ReturnType As TypeSymbol
Lowering\LocalRewriter\LocalRewriter_AddRemoveHandler.vb (3)
92Dim receiverType As TypeSymbol = rewrittenReceiverOpt.Type 102Dim eventType As TypeSymbol = eventSymbol.Type 311Private Function Convert(factory As SyntheticBoundNodeFactory, type As TypeSymbol, expr As BoundExpression) As BoundExpression
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (1)
198TypeSymbol.Equals(sourceProperty.ContainingType, fromMember.ContainingType, TypeCompareKind.ConsiderEverything) AndAlso
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (1)
1320Private Function RewriteNullableIsOrIsNotOperator(isIs As Boolean, operand As BoundExpression, resultType As TypeSymbol) As BoundExpression
Lowering\LocalRewriter\LocalRewriter_ConditionalAccess.vb (2)
36Dim receiverType As TypeSymbol = rewrittenReceiver.Type 114Dim accessResultType As TypeSymbol = node.AccessExpression.Type
Lowering\LocalRewriter\LocalRewriter_ConditionalExpressions.vb (5)
52Dim rewrittenTestExpressionType As TypeSymbol = rewrittenTestExpression.Type 127Dim testExpressionType As TypeSymbol = testExpression.Type 129Debug.Assert(TypeSymbol.Equals(testExpressionType, rewrittenTestExpression.Type, TypeCompareKind.ConsiderEverything)) 144Debug.Assert(node.TestExpressionPlaceholder Is Nothing OrElse TypeSymbol.Equals(node.TestExpressionPlaceholder.Type, testExpressionType.GetNullableUnderlyingTypeOrSelf, TypeCompareKind.ConsiderEverything)) 187If testExpr.IsConstant AndAlso (TypeSymbol.Equals(testExpr.Type, elseExpr.Type, TypeCompareKind.ConsiderEverything)) Then
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (21)
175Private Function MakeTupleConversion(syntax As SyntaxNode, rewrittenOperand As BoundExpression, destinationType As TypeSymbol, convertedElements As BoundConvertedTupleElements) As BoundExpression 186Dim srcType As TypeSymbol = rewrittenOperand.Type 522resultType As TypeSymbol, 622Dim resultType As TypeSymbol = outConversion.Type 787Private Function RewriteReferenceTypeToCharArrayRankOneConversion(node As BoundConversion, typeFrom As TypeSymbol, typeTo As TypeSymbol) As BoundExpression 802Dim objectType As TypeSymbol = memberSymbol.Parameters(0).Type 832Private Function RewriteFromObjectConversion(node As BoundConversion, typeFrom As TypeSymbol, underlyingTypeTo As TypeSymbol) As BoundExpression 910Private Function RewriteToStringConversion(node As BoundConversion, underlyingTypeFrom As TypeSymbol, typeTo As TypeSymbol) As BoundExpression 997Private Function RewriteFromStringConversion(node As BoundConversion, typeFrom As TypeSymbol, underlyingTypeTo As TypeSymbol) As BoundExpression 1055Private Function RewriteNumericOrBooleanToDecimalConversion(node As BoundConversion, underlyingTypeFrom As TypeSymbol, typeTo As TypeSymbol) As BoundExpression 1136Private Function RewriteDecimalToNumericOrBooleanConversion(node As BoundConversion, typeFrom As TypeSymbol, underlyingTypeTo As TypeSymbol) As BoundExpression 1191Private Function RewriteFloatingToIntegralConversion(node As BoundConversion, typeFrom As TypeSymbol, underlyingTypeTo As TypeSymbol) As BoundExpression 1332Dim typeFrom As TypeSymbol = operand.Type 1333Dim typeTo As TypeSymbol = node.Type
Lowering\LocalRewriter\LocalRewriter_FieldAccess.vb (2)
48If Not TypeSymbol.Equals(underlyingField.ContainingType, currentLinkType, TypeCompareKind.ConsiderEverything) Then 63Loop While Not TypeSymbol.Equals(underlyingField.ContainingType, currentLinkType, TypeCompareKind.ConsiderEverything)
Lowering\LocalRewriter\LocalRewriter_ForEach.vb (2)
29Dim collectionType As TypeSymbol 277Dim elementType As TypeSymbol
Lowering\LocalRewriter\LocalRewriter_ForTo.vb (1)
127Dim literalUnderlyingType As TypeSymbol = stepValue.Type.GetEnumUnderlyingTypeOrSelf
Lowering\LocalRewriter\LocalRewriter_LateBindingHelpers.vb (16)
16objectType As TypeSymbol) As BoundExpression 36containerType As TypeSymbol, 37typeType As TypeSymbol) As BoundExpression 47Private Function LateMakeTypeArgumentArrayArgument(node As SyntaxNode, arguments As BoundTypeArguments, typeArrayType As TypeSymbol) As BoundExpression 58booleanArrayType As TypeSymbol) As BoundExpression 87objectArrayType As TypeSymbol) As BoundExpression 159objectArrayType As TypeSymbol) As BoundExpression 248intType As TypeSymbol) As BoundExpression 262objectArrayType As TypeSymbol) As BoundExpression 301stringArrayType As TypeSymbol) As BoundExpression 920stringType As TypeSymbol) As BoundLiteral 931booleanType As TypeSymbol) As BoundLiteral 937type As TypeSymbol, 938typeType As TypeSymbol) As BoundExpression 945types As ImmutableArray(Of TypeSymbol), 946typeArrayType As TypeSymbol) As BoundArrayCreation
Lowering\LocalRewriter\LocalRewriter_NullableHelpers.vb (10)
13Private Function WrapInNullable(expr As BoundExpression, nullableType As TypeSymbol) As BoundExpression 287Private Shared Function NullableNull(syntax As SyntaxNode, nullableType As TypeSymbol) As BoundExpression 303type As TypeSymbol) As BoundExpression 318Private Function NullableFalse(syntax As SyntaxNode, nullableOfBoolean As TypeSymbol) As BoundExpression 324Private Function NullableTrue(syntax As SyntaxNode, nullableOfBoolean As TypeSymbol) As BoundExpression 330Private Function GetNullableMethod(syntax As SyntaxNode, nullableType As TypeSymbol, member As SpecialMember, Optional isOptional As Boolean = False) As MethodSymbol 341Private Function NullableOfBooleanValue(syntax As SyntaxNode, isTrue As Boolean, nullableOfBoolean As TypeSymbol) As BoundExpression 397resultType As TypeSymbol) As BoundExpression 498Debug.Assert(TypeSymbol.Equals(left.Type, right.Type, TypeCompareKind.ConsiderEverything)) 504Private Shared Function MakeNullLiteral(syntax As SyntaxNode, type As TypeSymbol) As BoundLiteral
Lowering\LocalRewriter\LocalRewriter_ObjectCreation.vb (2)
141method = method.Construct(ImmutableArray.Create(Of TypeSymbol)(typeParameter)) 302Dim sequenceType As TypeSymbol
Lowering\LocalRewriter\LocalRewriter_RaiseEvent.vb (1)
122Debug.Assert(TypeSymbol.Equals(getOrCreateMethod.ReturnType, fieldType.OriginalDefinition, TypeCompareKind.ConsiderEverything), "Shape of well-known member")
Lowering\LocalRewriter\LocalRewriter_UnaryOperators.vb (1)
98Dim opType As TypeSymbol = node.Type
Lowering\LocalRewriter\LocalRewriter_With.vb (4)
26Dim type As TypeSymbol = rewrittenExpression.Type 107Dim localType As TypeSymbol = _local.Type 145Private ReadOnly _valueTypesCleanUpCache As New Dictionary(Of TypeSymbol, Boolean) 147Private Function LocalOrFieldNeedsToBeCleanedUp(currentType As TypeSymbol) As Boolean
Lowering\LocalRewriter\LocalRewriter_XmlLiterals.vb (6)
148Private Function CreateTempLocal(syntax As SyntaxNode, type As TypeSymbol, expr As BoundExpression, sideEffects As ArrayBuilder(Of BoundExpression)) As BoundLocal 187Debug.Assert(TypeSymbol.Equals(objCreation.ConstructorOpt.ContainingType, Me.Compilation.GetWellKnownType(WellKnownType.System_Xml_Linq_XElement), TypeCompareKind.ConsiderEverything)) 201Debug.Assert(TypeSymbol.Equals(constructor.ContainingType, Me.Compilation.GetWellKnownType(WellKnownType.System_Xml_Linq_XDocument), TypeCompareKind.ConsiderEverything)) 250Dim secondArgumentType As TypeSymbol = constructor.Parameters(1).Type 280Private Function CreateTempLocalInExpressionLambda(syntax As SyntaxNode, type As TypeSymbol, expr As BoundExpression) As BoundLocal 343arrayType As TypeSymbol,
Lowering\LocalRewriter\LocalRewriter.vb (4)
488type As TypeSymbol 662Private Sub ReportBadType(node As BoundNode, typeSymbol As TypeSymbol) 884TypeSymbol.Equals(node.Type, Compilation.GetWellKnownType(WellKnownType.System_Type), TypeCompareKind.AllIgnoreOptionsForVB)) 902Debug.Assert(TypeSymbol.Equals(result.Type, getTypeFromHandle.ReturnType, TypeCompareKind.AllIgnoreOptionsForVB))
Lowering\MethodToClassRewriter\MethodToClassRewriter.MyBaseMyClassWrapper.vb (9)
33Dim callingMethodType As TypeSymbol = Me.CurrentMethod.ContainingType 34Dim topLevelMethodType As TypeSymbol = Me.TopLevelMethod.ContainingType 46Dim visitedTypeArgs(typeArgs.Length - 1) As TypeSymbol 157Private ReadOnly _returnType As TypeSymbol 184Dim typeArgs(Me._typeParameters.Length - 1) As TypeSymbol 237Public Overrides ReadOnly Property TypeArguments As ImmutableArray(Of TypeSymbol) 241Return StaticCast(Of TypeSymbol).From(Me.TypeParameters) 243Return ImmutableArray(Of TypeSymbol).Empty 260Public Overrides ReadOnly Property ReturnType As TypeSymbol
Lowering\MethodToClassRewriter\MethodToClassRewriter.vb (10)
97Public NotOverridable Overrides Function VisitType(type As TypeSymbol) As TypeSymbol 137Dim type As TypeSymbol = VisitType(node.Type) 262Dim newContainer As TypeSymbol = method.ContainingType.InternalSubstituteTypeParameters(substitution).AsTypeSymbolOnly() 275Dim visitedTypeArgs(typeArgs.Length - 1) As TypeSymbol 297Dim newContainer As TypeSymbol = [property].ContainingType.InternalSubstituteTypeParameters(substitution).AsTypeSymbolOnly() 324Dim newContainer As TypeSymbol = field.ContainingType.InternalSubstituteTypeParameters(substitution).AsTypeSymbolOnly() 353If TypeSymbol.Equals(vType, v.Type, TypeCompareKind.ConsiderEverything) Then 434newType As TypeSymbol, 466If TypeSymbol.Equals(vType, v.Type, TypeCompareKind.ConsiderEverything) Then
Lowering\StateMachineRewriter\StateMachineFieldSymbol.vb (3)
25type As TypeSymbol, 44type As TypeSymbol, 65type As TypeSymbol,
Lowering\StateMachineRewriter\StateMachineRewriter.StateMachineMethodToClassRewriter.vb (2)
145Debug.Assert(TypeSymbol.Equals(frameClass, result.Type, TypeCompareKind.ConsiderEverything)) 425If TypeSymbol.Equals(newType, local.Type, TypeCompareKind.ConsiderEverything) Then
Lowering\StateMachineRewriter\StateMachineRewriter.vb (2)
240Dim paramType As TypeSymbol = parameter.Type.InternalSubstituteTypeParameters(typeMap).Type 342Protected Function MakeHoistedFieldForLocal(local As LocalSymbol, localType As TypeSymbol, slotIndex As Integer, id As LocalDebugId) As FieldSymbol
Lowering\StateMachineRewriter\SynthesizedContainer.vb (2)
57Dim typeArgs(Me._typeParameters.Length - 1) As TypeSymbol 178Friend NotOverridable Overrides ReadOnly Property CoClassType As TypeSymbol
Lowering\StateMachineRewriter\SynthesizedStateMachineMethod.vb (3)
72Public Overrides ReadOnly Property TypeArguments As ImmutableArray(Of TypeSymbol) 74Return ImmutableArray(Of TypeSymbol).Empty 90Public Overrides ReadOnly Property ReturnType As TypeSymbol
Lowering\StateMachineRewriter\SynthesizedStateMachineProperty.vb (1)
106Public Overrides ReadOnly Property Type As TypeSymbol
Lowering\SynthesizedSubmissionFields.vb (1)
56Dim hostObjectTypeSymbol As TypeSymbol = Nothing
Lowering\SyntheticBoundNodeFactory.vb (27)
115Public Function StateMachineField(type As TypeSymbol, implicitlyDefinedBy As Symbol, name As String, Optional accessibility As Accessibility = Accessibility.Private) As SynthesizedFieldSymbol 121Public Function StateMachineField(type As TypeSymbol, implicitlyDefinedBy As Symbol, name As String, synthesizedKind As SynthesizedLocalKind, slotIndex As Integer, Optional accessibility As Accessibility = Accessibility.Private) As SynthesizedFieldSymbol 127Public Function StateMachineField(type As TypeSymbol, implicitlyDefinedBy As Symbol, name As String, slotDebugInfo As LocalSlotDebugInfo, slotIndex As Integer, Optional accessibility As Accessibility = Accessibility.Private) As SynthesizedFieldSymbol 230Public Function NullableOf(type As TypeSymbol) As NamedTypeSymbol 307Debug.Assert(TypeSymbol.Equals(byRefLocal.Type, lValue.Type, TypeCompareKind.ConsiderEverything)) 404Public Function SynthesizedLocal(type As TypeSymbol, Optional kind As SynthesizedLocalKind = SynthesizedLocalKind.LoweringTemp, Optional syntax As SyntaxNode = Nothing) As LocalSymbol 408Public Function SynthesizedParameter(type As TypeSymbol, name As String, Optional container As MethodSymbol = Nothing, Optional ordinal As Integer = 0) As ParameterSymbol 623Public Function [TryCast](expression As BoundExpression, type As TypeSymbol) As BoundTryCast 634Public Function [DirectCast](expression As BoundExpression, type As TypeSymbol) As BoundDirectCast 823Public Function Null(type As TypeSymbol) As BoundExpression 836Public Function Type(typeSym As TypeSymbol) As BoundTypeExpression 842Public Function [Typeof](type As WellKnownType, systemTypeSymbol As TypeSymbol) As BoundExpression 846Public Function [Typeof](typeSym As TypeSymbol, systemTypeSymbol As TypeSymbol) As BoundExpression 859TypeSymbol.Equals(systemTypeSymbol, getTypeFromHandle.ReturnType, TypeCompareKind.AllIgnoreOptionsForVB)) 865Public Function TypeArguments(typeArgs As ImmutableArray(Of TypeSymbol)) As BoundTypeArguments 871Public Function MethodInfo(meth As WellKnownMember, systemReflectionMethodInfo As TypeSymbol) As BoundExpression 880Public Function MethodInfo(meth As SpecialMember, systemReflectionMethodInfo As TypeSymbol) As BoundExpression 889Public Function MethodInfo(method As MethodSymbol, systemReflectionMethodInfo As TypeSymbol) As BoundExpression 999Public Function InstrumentationPayloadRoot(analysisKind As Integer, payloadType As TypeSymbol, isLValue As Boolean) As BoundExpression 1014Public Function Convert(type As TypeSymbol, arg As BoundExpression, Optional isChecked As Boolean = False) As BoundConversion 1024Public Function Convert(type As TypeSymbol, arg As BoundExpression, convKind As ConversionKind, Optional isChecked As Boolean = False) As BoundConversion 1031Public Function Array(elementType As TypeSymbol, ParamArray elements As BoundExpression()) As BoundExpression 1035Public Function Array(elementType As TypeSymbol, elements As ImmutableArray(Of BoundExpression)) As BoundExpression 1042Public Function Array(elementType As TypeSymbol, bounds As ImmutableArray(Of BoundExpression), elements As ImmutableArray(Of BoundExpression)) As BoundExpression 1051Public Function Conditional(condition As BoundExpression, consequence As BoundExpression, alternative As BoundExpression, type As TypeSymbol) As BoundTernaryConditionalExpression 1059Public Function Binary(kind As BinaryOperatorKind, type As TypeSymbol, left As BoundExpression, right As BoundExpression) As BoundBinaryOperator
Lowering\UseTwiceRewriter.vb (2)
140type As TypeSymbol, 248Private Shared Function IsInvariantArray(type As TypeSymbol) As Boolean
Lowering\WithExpressionRewriter.vb (3)
93Dim type As TypeSymbol = value.Type 118Dim type As TypeSymbol = value.Type 281Dim type As TypeSymbol = value.Type
Operations\VisualBasicOperationFactory_Methods.vb (4)
532Not TypeSymbol.Equals(nestedConversion.Type, nestedOperand.Type, TypeCompareKind.ConsiderEverything) AndAlso 534TypeSymbol.Equals(topLevelConversion.Type, nestedConversion.Type, TypeCompareKind.ConsiderEverything) Then 539TypeSymbol.Equals(topLevelConversion.Type, boundOperand.Type, TypeCompareKind.ConsiderEverything) AndAlso 588Private Shared Function IsDelegateCreation(conversionSyntax As SyntaxNode, operand As BoundNode, targetType As TypeSymbol) As Boolean
Operations\VisualBasicOperationFactory.vb (5)
314Dim type As TypeSymbol = Nothing 606If Not TypeSymbol.Equals(boundBinaryConditionalExpression.Type, boundBinaryConditionalExpression.TestExpression.Type, TypeCompareKind.ConsiderEverything) Then 728If boundOperand.Kind = BoundKind.ConvertedTupleLiteral AndAlso TypeSymbol.Equals(boundOperand.Type, boundConversionOrCast.Type, TypeCompareKind.ConsiderEverything) Then 981Not TypeSymbol.Equals(boundLateMemberAccess.ContainerTypeOpt, boundLateMemberAccess.ReceiverOpt.Type, TypeCompareKind.ConsiderEverything))) Then 1417DirectCast(_semanticModel.Compilation.GetSpecialType(SpecialType.System_Boolean), TypeSymbol),
Semantics\AccessCheck.vb (20)
64throughTypeOpt As TypeSymbol, 77throughTypeOpt As TypeSymbol, 92throughTypeOpt As TypeSymbol, 204throughTypeOpt As TypeSymbol, 278throughTypeOpt As TypeSymbol, 409Private Shared Function InheritsFromOrImplementsIgnoringConstruction(derivedType As TypeSymbol, 410baseType As TypeSymbol, 426Dim current As TypeSymbol = derivedType 487Private Shared Sub AddBaseInterfaces(derived As TypeSymbol, baseInterfaces As ArrayBuilder(Of NamedTypeSymbol), interfacesLookedAt As PooledHashSet(Of NamedTypeSymbol), basesBeingResolved As BasesBeingResolved) 493Dim candidates As ImmutableArray(Of TypeSymbol) 499candidates = ImmutableArray(Of TypeSymbol).CastUp(DirectCast(derived, NamedTypeSymbol).GetDeclaredInterfacesNoUseSiteDiagnostics(basesBeingResolved)) 501candidates = ImmutableArray(Of TypeSymbol).CastUp(derived.InterfacesNoUseSiteDiagnostics) 562Public ExposedType As TypeSymbol 588exposedType As TypeSymbol, 1033base As TypeSymbol, 1052Dim exposedType As TypeSymbol = accessExposure.ExposedType.DigThroughArrayType() 1109TypeBehindParam As TypeSymbol, 1124Dim exposedType As TypeSymbol = accessExposure.ExposedType.DigThroughArrayType() 1155typeBehindMember As TypeSymbol, 1185Dim exposedType As TypeSymbol = accessExposure.ExposedType.DigThroughArrayType()
Semantics\CompileTimeCalculations.vb (3)
275sourceType As TypeSymbol, 276resultType As TypeSymbol, 670Friend Function AdjustConstantValueFromMetadata(value As ConstantValue, targetType As TypeSymbol, isByRefParamValue As Boolean) As ConstantValue
Semantics\Conversions.vb (123)
516Public Shared Function ClassifyPredefinedConversion(source As TypeSymbol, target As TypeSymbol) As ConversionKind? 685Private Shared Function FastClassifyPredefinedConversion(source As TypeSymbol, target As TypeSymbol) As ConversionKind? 702destination As TypeSymbol, 799sourceType As TypeSymbol, 800targetType As TypeSymbol, 871targetType As TypeSymbol 886targetType As TypeSymbol 910Public Shared Function ClassifyConversion(source As TypeSymbol, destination As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As KeyValuePair(Of ConversionKind, MethodSymbol) 930Public Shared Function ClassifyPredefinedConversion(source As BoundExpression, destination As TypeSymbol, binder As Binder, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ConversionKind 936destination As TypeSymbol, 987Dim sourceType As TypeSymbol = If(source.Kind = BoundKind.TupleLiteral, 1016Public Shared Function ClassifyConversion(source As BoundExpression, destination As TypeSymbol, binder As Binder, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As KeyValuePair(Of ConversionKind, MethodSymbol) 1046Private Shared Function ClassifyExpressionReclassification(source As BoundExpression, destination As TypeSymbol, binder As Binder, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ConversionKind 1080Private Shared Function ClassifyUnboundLambdaConversion(source As UnboundLambda, destination As TypeSymbol) As ConversionKind 1140Public Shared Function ClassifyArrayLiteralConversion(source As BoundArrayLiteral, destination As TypeSymbol, binder As Binder, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ConversionKind 1176Dim targetElementType As TypeSymbol = Nothing 1226Public Shared Function ClassifyInterpolatedStringConversion(source As BoundInterpolatedStringExpression, destination As TypeSymbol, binder As Binder) As ConversionKind 1239Public Shared Function ClassifyTupleConversion(source As BoundTupleLiteral, destination As TypeSymbol, binder As Binder, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ConversionKind 1240If TypeSymbol.Equals(source.Type, destination, TypeCompareKind.ConsiderEverything) Then 1268Dim targetElementTypes As ImmutableArray(Of TypeSymbol) = destination.GetElementTypesOfTupleOrCompatible() 1312Private Shared Function ClassifyArrayInitialization(source As BoundArrayInitialization, targetElementType As TypeSymbol, binder As Binder, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ConversionKind 1365Private Shared Function ClassifyAddressOfConversion(source As BoundAddressOfOperator, destination As TypeSymbol) As ConversionKind 1369Private Shared Function ClassifyQueryLambdaConversion(source As BoundQueryLambda, destination As TypeSymbol, binder As Binder, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ConversionKind 1433booleanType As TypeSymbol, 1473Dim nullableOfBoolean As TypeSymbol = Nothing 1485nullableOfBoolean = nullableOfT.Construct(ImmutableArray.Create(Of TypeSymbol)(booleanType)) 1530Private Shared Function ClassifyGroupTypeInferenceLambdaConversion(source As GroupTypeInferenceLambda, destination As TypeSymbol) As ConversionKind 1585Private Shared Function ClassifyNumericConstantConversion(constantExpression As BoundExpression, destination As TypeSymbol, binder As Binder) As ConversionKind 1592Dim targetDestinationType As TypeSymbol = destination.GetNullableUnderlyingTypeOrSelf() 1607Dim sourceType As TypeSymbol = constantExpression.Type 1699Private Shared Function ClassifyNothingLiteralConversion(constantExpression As BoundExpression, destination As TypeSymbol) As ConversionKind 1719source As TypeSymbol, 1720destination As TypeSymbol, 1787Public Shared Function ClassifyDirectCastConversion(source As BoundExpression, destination As TypeSymbol, binder As Binder, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ConversionKind 1812Dim sourceType As TypeSymbol = source.Type 1826Public Shared Function ClassifyTryCastConversion(source As TypeSymbol, destination As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ConversionKind 1843Public Shared Function ClassifyTryCastConversion(source As BoundExpression, destination As TypeSymbol, binder As Binder, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ConversionKind 1868Dim sourceType As TypeSymbol = source.Type 1882Private Shared Function ClassifyTryCastConversionForTypeParameters(source As TypeSymbol, destination As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ConversionKind 2030Private Shared Function ClassOrBasesSatisfyConstraints([class] As TypeSymbol, typeParam As TypeParameterSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean 2031Dim candidate As TypeSymbol = [class] 2050Private Shared Function GetNonInterfaceTypeConstraintOrSelf(type As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As TypeSymbol 2084Private Shared Function ClassifyUserDefinedConversion(source As TypeSymbol, destination As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As KeyValuePair(Of ConversionKind, MethodSymbol) 2108Private Shared Function ClassifyUserDefinedConversion(source As BoundExpression, destination As TypeSymbol, binder As Binder, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As KeyValuePair(Of ConversionKind, MethodSymbol) 2113Dim sourceType As TypeSymbol = source.Type 2193Public Shared Function ClassifyPredefinedConversion(source As TypeSymbol, destination As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ConversionKind 2209Private Shared Function ClassifyPredefinedConversionSlow(source As TypeSymbol, destination As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ConversionKind 2267Private Shared Function AddDelegateRelaxationInformationForADelegate(source As TypeSymbol, destination As TypeSymbol, convKind As ConversionKind) As ConversionKind 2294Private Shared Function ClassifyIdentityConversion(source As TypeSymbol, destination As TypeSymbol) As ConversionKind 2310source As TypeSymbol, 2311destination As TypeSymbol, 2440source As TypeSymbol, 2441destination As TypeSymbol, 2515Public Shared Function HasWideningDirectCastConversionButNotEnumTypeConversion(source As TypeSymbol, destination As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean 2765Dim sourceArguments As ImmutableArray(Of TypeSymbol) = source.TypeArgumentsWithDefinitionUseSiteDiagnostics(useSiteInfo) 2766Dim destinationArguments As ImmutableArray(Of TypeSymbol) = destination.TypeArgumentsWithDefinitionUseSiteDiagnostics(useSiteInfo) 2770Dim sourceArg As TypeSymbol = sourceArguments(i) 2771Dim destinationArg As TypeSymbol = destinationArguments(i) 2858candidate As TypeSymbol, 2901Private Shared Function IsClassType(type As TypeSymbol) As Boolean 2906Private Shared Function IsValueType(type As TypeSymbol) As Boolean 2911Private Shared Function IsDelegateType(type As TypeSymbol) As Boolean 2915Private Shared Function IsArrayType(type As TypeSymbol) As Boolean 2919Private Shared Function IsInterfaceType(type As TypeSymbol) As Boolean 2935Public Shared Function IsDerivedFrom(derivedType As TypeSymbol, baseType As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean 2943Private Shared Function ClassifyAnonymousDelegateConversion(source As TypeSymbol, destination As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ConversionKind 2990source As TypeSymbol, 2991destination As TypeSymbol, 3037Public Shared Function ClassifyArrayElementConversion(srcElem As TypeSymbol, dstElem As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ConversionKind 3051srcElem As TypeSymbol, 3052dstElem As TypeSymbol, 3075srcElem As TypeSymbol, 3076dstElem As TypeSymbol, 3209Dim srcValueType As TypeSymbol = srcElem 3210Dim dstValueType As TypeSymbol = dstElem 3338Private Shared Function ArrayElementBitSize(type As TypeSymbol) As Integer 3353Private Shared Function GetValueTypeConstraint(typeParam As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As TypeSymbol 3364Private Shared Function GetNonErrorEnumUnderlyingType(type As TypeSymbol) As NamedTypeSymbol 3376Private Shared Function ClassifyValueTypeConversion(source As TypeSymbol, destination As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ConversionKind 3457Private Shared Function ClassifyNullableConversion(source As TypeSymbol, destination As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ConversionKind 3476Dim srcUnderlying As TypeSymbol = Nothing 3477Dim dstUnderlying As TypeSymbol = Nothing 3568Private Shared Function ClassifyTupleConversion(source As TypeSymbol, destination As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ConversionKind 3581Dim targetElementTypes As ImmutableArray(Of TypeSymbol) = destination.GetElementTypesOfTupleOrCompatible() 3616Public Shared Function ClassifyStringConversion(source As TypeSymbol, destination As TypeSymbol) As ConversionKind 3622Dim shouldBeArray As TypeSymbol 3648source As TypeSymbol, 3649destination As TypeSymbol, 3704destination As TypeSymbol, 3726destination As TypeSymbol, 3774For Each constraint As TypeSymbol In typeParameter.ConstraintTypesWithDefinitionUseSiteDiagnostics(useSiteInfo) 3900source As TypeSymbol, 3939For Each constraint As TypeSymbol In typeParameter.ConstraintTypesWithDefinitionUseSiteDiagnostics(useSiteInfo) 4029returnTypeOfConvertFromMethod As TypeSymbol, 4031returnTypeOfConvertToMethod As TypeSymbol, 4043returnTypeOfConvertFromMethod As TypeSymbol, 4044returnTypeOfConvertToMethod As TypeSymbol, 4126delegateParameterType As TypeSymbol 4205Dim toParameterType As TypeSymbol = toMethodSignature.ParameterTypes(parameterIndex) 4206Dim lambdaParameterType As TypeSymbol = parameters(parameterIndex).Type 4251Dim operandType As TypeSymbol = conversion.Operand.Type 4555Public Overrides ReadOnly Property ElementType As TypeSymbol 4565Friend Overrides Function WithElementType(elementType As TypeSymbol) As ArrayTypeSymbol
Semantics\Operators.vb (64)
398Dim sourceType As TypeSymbol = method.Parameters(0).Type 399Dim targetType As TypeSymbol = method.ReturnType 469Private Shared Function OverloadedOperatorTargetsContainingType(containingType As NamedTypeSymbol, typeFromSignature As TypeSymbol) As Boolean 473Return TypeSymbol.Equals(typeFromSignature.GetNullableUnderlyingTypeOrSelf().GetTupleUnderlyingTypeOrSelf(), containingType.GetTupleUnderlyingTypeOrSelf(), TypeCompareKind.ConsiderEverything) 705resultType As TypeSymbol, 869Dim leftType As TypeSymbol = left.Type 870Dim rightType As TypeSymbol = right.Type 986Public Shared Function UseUserDefinedBinaryOperators(opCode As BinaryOperatorKind, leftType As TypeSymbol, rightType As TypeSymbol) As Boolean 1023resultType As TypeSymbol, 1123operandType As TypeSymbol, 1124resultType As TypeSymbol, 1298operandType As TypeSymbol, 1299resultType As TypeSymbol 1421resultType As TypeSymbol, 1927source As TypeSymbol, 1928destination As TypeSymbol, 1993Dim sourceUnderlying As TypeSymbol = source.GetNullableUnderlyingType() 1994Dim destinationUnderlying As TypeSymbol = destination.GetNullableUnderlyingType() 2032source As TypeSymbol, 2033destination As TypeSymbol, 2052Dim mostSpecificSourceType As TypeSymbol = Nothing 2053Dim mostSpecificTargetType As TypeSymbol = Nothing 2189Dim typeSet As ArrayBuilder(Of TypeSymbol) = Nothing 2192typeSet = ArrayBuilder(Of TypeSymbol).GetInstance() 2209typeSet = ArrayBuilder(Of TypeSymbol).GetInstance() 2259mostSpecificSourceType As TypeSymbol, 2260mostSpecificTargetType As TypeSymbol, 2299source As TypeSymbol, 2300destination As TypeSymbol, 2307Dim inputType As TypeSymbol = method.Parameters(0).Type 2308Dim outputType As TypeSymbol = method.ReturnType 2339inputType As TypeSymbol, 2340outputType As TypeSymbol, 2369source As TypeSymbol, 2370destination As TypeSymbol, 2388Dim mostSpecificSourceType As TypeSymbol = Nothing 2389Dim mostSpecificTargetType As TypeSymbol = Nothing 2582Dim typeSet As ArrayBuilder(Of TypeSymbol) = Nothing 2585typeSet = ArrayBuilder(Of TypeSymbol).GetInstance() 2614typeSet = ArrayBuilder(Of TypeSymbol).GetInstance() 2678Private Shared Function MostEncompassed(typeSet As ArrayBuilder(Of TypeSymbol), <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As TypeSymbol 2679Dim best As TypeSymbol = Nothing 2682Dim type As TypeSymbol = typeSet(i) 2723Private Shared Function MostEncompassing(typeSet As ArrayBuilder(Of TypeSymbol), <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As TypeSymbol 2724Dim best As TypeSymbol = Nothing 2727Dim type As TypeSymbol = typeSet(i) 2831source As TypeSymbol, 2832destination As TypeSymbol, 2848type1 As TypeSymbol, 2849type2 As TypeSymbol, 2909type As TypeSymbol, 2942Private Shared Function GetTypeToLookForOperatorsIn(type As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As TypeSymbol 3201Dim type1 As TypeSymbol = param1.Type 3206Dim type2 As TypeSymbol = Nothing 3227Dim returnType As TypeSymbol = method.ReturnType 3265Friend Shared Function CanLiftType(type As TypeSymbol) As Boolean 3269Friend Shared Function IsValidInLiftedSignature(type As TypeSymbol) As Boolean 3289Private ReadOnly _type As TypeSymbol 3291Public Sub New(parameter As ParameterSymbol, type As TypeSymbol) 3440Public Overrides ReadOnly Property Type As TypeSymbol
Semantics\OverloadResolution.vb (89)
34Friend MustOverride Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) As Candidate 85Public MustOverride ReadOnly Property ReturnType As TypeSymbol 135Public MustOverride ReadOnly Property ReceiverType As TypeSymbol 141Public MustOverride ReadOnly Property ReceiverTypeDefinition As TypeSymbol 160Friend Overrides Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) As Candidate 180Public Overrides ReadOnly Property ReturnType As TypeSymbol 186Public Overrides ReadOnly Property ReceiverType As TypeSymbol 192Public Overrides ReadOnly Property ReceiverTypeDefinition As TypeSymbol 274For Each fixed As KeyValuePair(Of TypeParameterSymbol, TypeSymbol) In method.FixedTypeParameters 309Friend Overrides Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) As Candidate 313Public Overrides ReadOnly Property ReceiverType As TypeSymbol 319Public Overrides ReadOnly Property ReceiverTypeDefinition As TypeSymbol 354Private ReadOnly _returnType As TypeSymbol 356Public Sub New(method As MethodSymbol, parameters As ImmutableArray(Of ParameterSymbol), returnType As TypeSymbol) 373Public Overrides ReadOnly Property ReturnType As TypeSymbol 399Friend Overrides Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) As Candidate 419Public Overrides ReadOnly Property ReturnType As TypeSymbol 425Public Overrides ReadOnly Property ReceiverType As TypeSymbol 431Public Overrides ReadOnly Property ReceiverTypeDefinition As TypeSymbol 923Optional delegateReturnType As TypeSymbol = Nothing, 931Dim typeArguments = If(methodGroup.TypeArgumentsOpt IsNot Nothing, methodGroup.TypeArgumentsOpt.Arguments, ImmutableArray(Of TypeSymbol).Empty) 935typeArguments = ImmutableArray(Of TypeSymbol).Empty 1110CollectOverloadedCandidates(binder, results, candidates, ImmutableArray(Of TypeSymbol).Empty, 1157delegateReturnType As TypeSymbol, 1588delegateReturnType As TypeSymbol, 1680delegateReturnType As TypeSymbol, 1793delegateReturnType As TypeSymbol, 1845delegateReturnType As TypeSymbol, 1943delegateReturnType As TypeSymbol, 2069delegateReturnType As TypeSymbol, 2155Dim leftParamType As TypeSymbol = GetParameterTypeFromVirtualSignature(left, left.ArgsToParamsOpt(k)) 2156Dim rightParamType As TypeSymbol = GetParameterTypeFromVirtualSignature(right, right.ArgsToParamsOpt(k)) 2177Dim leftType As TypeSymbol = left.Candidate.Parameters(k).Type 2178Dim rightType As TypeSymbol = right.Candidate.Parameters(k).Type 2297Dim leftParamType As TypeSymbol 2308Dim rightParamType As TypeSymbol 2374left As TypeSymbol, 2375right As TypeSymbol, 2509Dim argType As TypeSymbol = If(argument.Kind <> BoundKind.ArrayLiteral, argument.Type, DirectCast(argument, BoundArrayLiteral).InferredType) 2600Dim leftParamType As TypeSymbol 2611Dim rightParamType As TypeSymbol 2632leftParamType As TypeSymbol, 2633rightParamType As TypeSymbol, 2691delegateReturnType As TypeSymbol, 2897sourceType As TypeSymbol, 2898targetType As TypeSymbol 2908sourceType As TypeSymbol, 2909targetType As TypeSymbol, 3291Dim targetType As TypeSymbol = param.Type 3564targetType As TypeSymbol, 3643targetType As TypeSymbol, 3793targetType As TypeSymbol, 3851typeArguments As ImmutableArray(Of TypeSymbol), 3855delegateReturnType As TypeSymbol, 4058typeArguments As ImmutableArray(Of TypeSymbol), 4146typeArguments As ImmutableArray(Of TypeSymbol), 4150delegateReturnType As TypeSymbol, 4244typeArguments As ImmutableArray(Of TypeSymbol), 4248delegateReturnType As TypeSymbol, 4470Dim existingType As TypeSymbol = GetParameterTypeFromVirtualSignature(existingCandidate, existingParamIndex) 4471Dim newType As TypeSymbol = GetParameterTypeFromVirtualSignature(newCandidate, newParamIndex) 4493Dim existingType As TypeSymbol = existingCandidate.Candidate.Parameters(j).Type 4494Dim newType As TypeSymbol = newCandidate.Candidate.Parameters(j).Type 4656Dim leftParamType As TypeSymbol 4657Dim leftParamTypeForGenericityCheck As TypeSymbol = Nothing 4668Dim rightParamType As TypeSymbol 4669Dim rightParamTypeForGenericityCheck As TypeSymbol = Nothing 4758leftParamType As TypeSymbol, 4759rightParamType As TypeSymbol, 4836Dim leftParamType As TypeSymbol 4837Dim leftParamTypeForGenericityCheck As TypeSymbol = Nothing 4848Dim rightParamType As TypeSymbol 4849Dim rightParamTypeForGenericityCheck As TypeSymbol = Nothing 4900Private Shared Function CompareParameterTypeGenericDepth(leftType As TypeSymbol, rightType As TypeSymbol, 4952Dim leftTypeArguments As ImmutableArray(Of TypeSymbol) = leftNamedType.TypeArgumentsNoUseSiteDiagnostics 4953Dim rightTypeArguments As ImmutableArray(Of TypeSymbol) = rightNamedType.TypeArgumentsNoUseSiteDiagnostics 5060For Each argument As TypeSymbol In symbol.TypeArgumentsNoUseSiteDiagnostics 5102this As TypeSymbol, 5164Public Shared Function DoesReceiverMatchInstance(instanceType As TypeSymbol, receiverType As TypeSymbol, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As Boolean 5203) As TypeSymbol 5204Dim paramType As TypeSymbol = candidate.Candidate.Parameters(paramIndex).Type 5218ByRef typeForGenericityCheck As TypeSymbol 5219) As TypeSymbol 5230Dim paramType As TypeSymbol = param.Type 5257delegateReturnType As TypeSymbol, 5271Dim typeArguments As ImmutableArray(Of TypeSymbol) = Nothing 5359Private Shared Function ConstructIfNeedTo(candidate As Candidate, typeArguments As ImmutableArray(Of TypeSymbol)) As Candidate
Semantics\TypeInference\TypeArgumentInference.vb (65)
22delegateReturnType As TypeSymbol, 24ByRef typeArguments As ImmutableArray(Of TypeSymbol), 131Private _inferredType As TypeSymbol 138Private _candidateInferredType As TypeSymbol 150Public ReadOnly Property InferredType As TypeSymbol 156Public ReadOnly Property CandidateInferredType As TypeSymbol 174Public Sub RegisterInferredType(inferredType As TypeSymbol, inferredFromLocation As SyntaxNodeOrToken, inferredTypeByAssumption As Boolean) 293Dim firstInferredType As TypeSymbol = Nothing 355type As TypeSymbol, 412Public ReadOnly ParameterType As TypeSymbol 416Public Sub New(graph As InferenceGraph, expression As BoundExpression, parameterType As TypeSymbol, parameter As ParameterSymbol) 494Dim argumentType As TypeSymbol = Nothing 560Dim expressionType As TypeSymbol 608Public ReadOnly DelegateReturnType As TypeSymbol 626delegateReturnType As TypeSymbol, 700delegateReturnType As TypeSymbol, 702ByRef typeArguments As ImmutableArray(Of TypeSymbol), 874Dim inferredTypes(arity - 1) As TypeSymbol 883Dim inferredType As TypeSymbol = typeParameterNode.InferredType 924Dim targetType As TypeSymbol = param.Type 1020targetType As TypeSymbol, 1062parameterType As TypeSymbol, 1096Dim elementTypes As ImmutableArray(Of TypeSymbol) = Nothing 1120parameterType As TypeSymbol, 1145parameterType As TypeSymbol, 1169ElseIf TypeSymbol.Equals(parameterType.OriginalDefinition, binder.Compilation.GetWellKnownType(WellKnownType.System_Linq_Expressions_Expression_T), TypeCompareKind.ConsiderEverything) Then 1180parameterType As TypeSymbol, 1233ElseIf TypeSymbol.Equals(parameterType.OriginalDefinition, binder.Compilation.GetWellKnownType(WellKnownType.System_Linq_Expressions_Expression_T), TypeCompareKind.ConsiderEverything) Then 1239Private Shared Function ArgumentTypePossiblyMatchesParamarrayShape(argument As BoundExpression, paramType As TypeSymbol) As Boolean 1240Dim argumentType As TypeSymbol = argument.Type 1277inferredType As TypeSymbol, 1292parameterType As TypeSymbol 1318Dim elementTypes As ImmutableArray(Of TypeSymbol) = Nothing 1356argumentType As TypeSymbol, 1358parameterType As TypeSymbol, 1392Dim parameterElementTypes As ImmutableArray(Of TypeSymbol) = Nothing 1393Dim argumentElementTypes As ImmutableArray(Of TypeSymbol) = Nothing 1607argumentType As TypeSymbol, 1609parameterType As TypeSymbol, 1767ByRef baseSearchType As TypeSymbol, 1768ByRef fixedType As TypeSymbol 1803Dim matchingBase As TypeSymbol = Nothing 1822Private Shared Function SetMatchIfNothingOrEqual(type As TypeSymbol, ByRef match As TypeSymbol) As Boolean 1837Private Function FindMatchingBaseInterface(derivedType As TypeSymbol, baseInterface As TypeSymbol, ByRef match As TypeSymbol) As Boolean 1870Private Function FindMatchingBaseClass(derivedType As TypeSymbol, baseClass As TypeSymbol, ByRef match As TypeSymbol) As Boolean 1909parameterType As TypeSymbol, 1924Dim returnType As TypeSymbol = invokeMethod.ReturnType 1954Dim targetReturnType As TypeSymbol = fromMethod.ReturnType 1980parameterType As TypeSymbol, 1989Dim anonymousLambdaType As TypeSymbol = Nothing 2053Dim returnType As TypeSymbol = invokeMethod.ReturnType 2111Dim lambdaReturnType As TypeSymbol 2134Dim returnTypeInfo As KeyValuePair(Of TypeSymbol, ReadOnlyBindingDiagnostic(Of AssemblySymbol)) = unboundLambda.InferReturnType(inferenceSignature) 2188Debug.Assert(TypeSymbol.Equals(lambdaReturnNamedType.OriginalDefinition, argument.GetBinderFromLambda().Compilation.GetWellKnownType(WellKnownType.System_Threading_Tasks_Task_T), TypeCompareKind.ConsiderEverything) OrElse 2189TypeSymbol.Equals(lambdaReturnNamedType.OriginalDefinition, argument.GetBinderFromLambda().Compilation.GetSpecialType(SpecialType.System_Collections_Generic_IEnumerable_T), TypeCompareKind.ConsiderEverything) OrElse 2190TypeSymbol.Equals(lambdaReturnNamedType.OriginalDefinition, argument.GetBinderFromLambda().Compilation.GetSpecialType(SpecialType.System_Collections_Generic_IEnumerator_T), TypeCompareKind.ConsiderEverything)) 2238ElseIf TypeSymbol.Equals(parameterType.OriginalDefinition, argument.GetBinderFromLambda().Compilation.GetWellKnownType(WellKnownType.System_Linq_Expressions_Expression_T), TypeCompareKind.ConsiderEverything) Then 2246Public Function ConstructParameterTypeIfNeeded(parameterType As TypeSymbol) As TypeSymbol 2255Dim newType As TypeSymbol
Semantics\TypeInference\TypeInferenceCollection.vb (8)
25Public ResultType As TypeSymbol 304Dim inferredType As TypeSymbol = resultList(0).ResultType 427Dim candidate As TypeSymbol = candidateData.ResultType 428Dim hint As TypeSymbol = hintData.ResultType 560type As TypeSymbol, 612Friend Shared Function MergeTupleNames(first As TypeSymbol, second As TypeSymbol) As TypeSymbol
Symbols\AnonymousTypes\AnonymousTypeDescriptor.vb (4)
160Public ReadOnly Property Type As TypeSymbol 171Private _type As TypeSymbol 185Public Sub New(name As String, type As TypeSymbol, location As Location, Optional isKeyOrByRef As Boolean = False) 204Friend Sub AssignFieldType(newType As TypeSymbol)
Symbols\AnonymousTypes\AnonymousTypeManager_Templates.vb (2)
144Dim typeArguments() As TypeSymbol = New TypeSymbol(template.Arity - 1) {}
Symbols\AnonymousTypes\PublicSymbols\AnonymousDelegate_TypePublicSymbol.vb (2)
32Dim returnType As TypeSymbol = If(parameterDescriptors.IsSubDescription(), DirectCast(manager.System_Void, TypeSymbol), parameterDescriptors.Last.Type)
Symbols\AnonymousTypes\PublicSymbols\AnonymousType_PropertyPublicAccessors.vb (4)
14Private ReadOnly _returnType As TypeSymbol 16Public Sub New([property] As PropertySymbol, returnType As TypeSymbol) 27Public Overrides ReadOnly Property ReturnType As TypeSymbol 70Public Sub New([property] As PropertySymbol, voidTypeSymbol As TypeSymbol)
Symbols\AnonymousTypes\PublicSymbols\AnonymousType_PropertyPublicSymbol.vb (1)
53Public Overrides ReadOnly Property Type As TypeSymbol
Symbols\AnonymousTypes\PublicSymbols\AnonymousType_TypePublicSymbol.vb (1)
74Dim equatableInterface As NamedTypeSymbol = Me.Manager.System_IEquatable_T.Construct(ImmutableArray.Create(Of TypeSymbol)(Me))
Symbols\AnonymousTypes\PublicSymbols\AnonymousTypeOrDelegatePublicSymbol.vb (2)
219Friend Overrides ReadOnly Property CoClassType As TypeSymbol 323Public NotOverridable Overrides Function Equals(other As TypeSymbol, comparison As TypeCompareKind) As Boolean
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousDelegate_TemplateSymbol.vb (3)
40Dim returnType As TypeSymbol = If(parameterDescriptors.IsSubDescription(), DirectCast(manager.System_Void, TypeSymbol), Me.TypeParameters.Last) 221Public Overrides Function Equals(obj As TypeSymbol, comparison As TypeCompareKind) As Boolean
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_EqualsMethodSymbol.vb (1)
80Public Overrides ReadOnly Property ReturnType As TypeSymbol
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_GetHashCodeMethodSymbol.vb (1)
49Public Overrides ReadOnly Property ReturnType As TypeSymbol
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_IEquatable_EqualsMethodSymbol.vb (1)
86Public Overrides ReadOnly Property ReturnType As TypeSymbol
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_PropertyAccessors.vb (4)
18Private ReadOnly _returnType As TypeSymbol 20Public Sub New([property] As PropertySymbol, returnType As TypeSymbol) 35Public Overrides ReadOnly Property ReturnType As TypeSymbol 89Public Sub New([property] As PropertySymbol, voidTypeSymbol As TypeSymbol)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_PropertyBackingFieldSymbol.vb (1)
33Public Overrides ReadOnly Property Type As TypeSymbol
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_PropertySymbol.vb (3)
16Private ReadOnly _type As TypeSymbol 26Public Sub New(container As AnonymousTypeTemplateSymbol, field As AnonymousTypeField, index As Integer, typeSymbol As TypeSymbol) 95Public Overrides ReadOnly Property Type As TypeSymbol
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_TemplateSymbol.vb (1)
77Dim equatableInterface As NamedTypeSymbol = Me.Manager.System_IEquatable_T.Construct(ImmutableArray.Create(Of TypeSymbol)(Me))
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_ToStringMethodSymbol.vb (1)
53Public Overrides ReadOnly Property ReturnType As TypeSymbol
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousTypeOrDelegate_ParameterSymbol.vb (1)
23type As TypeSymbol, ordinal As Integer,
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousTypeOrDelegateTemplateSymbol.vb (1)
195Friend Overrides ReadOnly Property CoClassType As TypeSymbol
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousTypeOrDelegateTypeParameterSymbol.vb (3)
39Friend Overrides ReadOnly Property ConstraintTypesNoUseSiteDiagnostics As ImmutableArray(Of TypeSymbol) 41Return ImmutableArray(Of TypeSymbol).Empty 127Public Overrides Function Equals(other As TypeSymbol, comparison As TypeCompareKind) As Boolean
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\AssemblySymbol.vb (1)
681TypeSymbol.Equals(candidate, result, TypeCompareKind.ConsiderEverything) Then
Symbols\Attributes\AttributeData.vb (1)
234Dim firstArgType = DirectCast(firstArg.TypeInternal, TypeSymbol)
Symbols\Attributes\PEAttributeData.vb (1)
149Dim attributeClass As TypeSymbol = Nothing
Symbols\Attributes\SourceAttributeData.vb (3)
132Dim lazySystemType As TypeSymbol = Nothing 165Dim parameterType As TypeSymbol = parameters(k).Type 257foundMatch = TypeSymbol.Equals(parameterType, lazySystemType, TypeCompareKind.ConsiderEverything)
Symbols\BaseTypeAnalysis.vb (10)
25Public ReadOnly dependent As TypeSymbol 27Friend Sub New(kind As DependencyKind, dependent As TypeSymbol) 49Dim current As ConsList(Of TypeSymbol) = basesBeingResolved.InheritsBeingResolvedOpt 92base As TypeSymbol) As DiagnosticInfo 192current As TypeSymbol) As ConsList(Of DependencyDesc) 193Debug.Assert(TypeSymbol.Equals(root.OriginalDefinition, root, TypeCompareKind.ConsiderEverything), "root must not be a substitution") 315Dim derived As New HashSet(Of TypeSymbol) 320Dim verified As New HashSet(Of TypeSymbol) 333Private Function HasCycles(derived As HashSet(Of TypeSymbol), verified As HashSet(Of TypeSymbol), [interface] As NamedTypeSymbol) As Boolean
Symbols\ConstantValueUtils.vb (3)
13Public Sub New(value As ConstantValue, type As TypeSymbol) 21Public ReadOnly Type As TypeSymbol 40Dim boundValueType As TypeSymbol
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\CustomModifier.vb (2)
50Friend Shared Function Convert(customModifiers As ImmutableArray(Of ModifierInfo(Of TypeSymbol))) As ImmutableArray(Of CustomModifier) 57Private Shared Function Convert(customModifier As ModifierInfo(Of TypeSymbol)) As CustomModifier
Symbols\ErrorMethodSymbol.vb (7)
15Private ReadOnly _containingType As TypeSymbol 16Private ReadOnly _returnType As TypeSymbol 19Public Sub New(containingType As TypeSymbol, returnType As TypeSymbol, name As String) 215Public Overrides ReadOnly Property ReturnType As TypeSymbol 245Public Overrides ReadOnly Property TypeArguments As ImmutableArray(Of TypeSymbol) 247Return ImmutableArray(Of TypeSymbol).Empty
Symbols\ErrorTypeSymbol.vb (6)
41Friend Overrides Function GetUnificationUseSiteDiagnosticRecursive(owner As Symbol, ByRef checkedTypes As HashSet(Of TypeSymbol)) As DiagnosticInfo 183Friend Overrides ReadOnly Property TypeArgumentsNoUseSiteDiagnostics As ImmutableArray(Of TypeSymbol) 185Return ImmutableArray(Of TypeSymbol).Empty 285Friend Overrides ReadOnly Property CoClassType As TypeSymbol 331Public Overrides Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) As NamedTypeSymbol 397Public Overrides Function Equals(obj As TypeSymbol, comparison As TypeCompareKind) As Boolean
Symbols\EventSymbol.vb (3)
55Public MustOverride ReadOnly Property Type As TypeSymbol 155Friend ReadOnly Property DelegateReturnType As TypeSymbol 378Return TypeSymbol.Equals(Me.ContainingType, other.ContainingType, TypeCompareKind.ConsiderEverything) AndAlso Me.OriginalDefinition Is other.OriginalDefinition
Symbols\ExtensionMethods.vb (1)
30For Each constraintType As TypeSymbol In typeParameter.ConstraintTypesNoUseSiteDiagnostics
Symbols\FieldSymbol.vb (4)
53Public MustOverride ReadOnly Property Type As TypeSymbol 173Friend Overridable Function GetInferredType(inProgress As ConstantFieldsInProgress) As TypeSymbol 301Dim unificationCheckedTypes As HashSet(Of TypeSymbol) = Nothing 397Return If(TypeSymbol.Equals(newOwner, Me.ContainingType, TypeCompareKind.ConsiderEverything),
Symbols\IndexedTypeParameterSymbol.vb (3)
99Public Overrides Function Equals(other As TypeSymbol, comparison As TypeCompareKind) As Boolean 137Friend Overrides ReadOnly Property ConstraintTypesNoUseSiteDiagnostics As ImmutableArray(Of TypeSymbol) 139Return ImmutableArray(Of TypeSymbol).Empty
Symbols\InstanceErrorTypeSymbol.vb (7)
43Public NotOverridable Overrides Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) As NamedTypeSymbol 122Friend Overrides ReadOnly Property TypeArgumentsNoUseSiteDiagnostics As ImmutableArray(Of TypeSymbol) 124Return StaticCast(Of TypeSymbol).From(Me.TypeParameters) 142Public NotOverridable Overrides Function Equals(other As TypeSymbol, comparison As TypeCompareKind) As Boolean 202Friend Overrides ReadOnly Property ConstraintTypesNoUseSiteDiagnostics As ImmutableArray(Of TypeSymbol) 204Return ImmutableArray(Of TypeSymbol).Empty 276Public Overrides Function Equals(obj As TypeSymbol, comparison As TypeCompareKind) As Boolean
Symbols\InstanceTypeSymbol.vb (6)
22Friend NotOverridable Overrides ReadOnly Property TypeArgumentsNoUseSiteDiagnostics As ImmutableArray(Of TypeSymbol) 26Return StaticCast(Of TypeSymbol).From(Me.TypeParameters) 28Return ImmutableArray(Of TypeSymbol).Empty 52Public NotOverridable Overrides Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) As NamedTypeSymbol 135Public Overrides Function Equals(other As TypeSymbol, comparison As TypeCompareKind) As Boolean 197Friend NotOverridable Overrides Function GetUnificationUseSiteDiagnosticRecursive(owner As Symbol, ByRef checkedTypes As HashSet(Of TypeSymbol)) As DiagnosticInfo
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\PEEventSymbol.vb (4)
31Private ReadOnly _eventType As TypeSymbol 110TypeSymbol.Equals(_addMethod.ReturnType, evt, TypeCompareKind.ConsiderEverything) AndAlso 113TypeSymbol.Equals(_removeMethod.Parameters(0).Type, evt, TypeCompareKind.ConsiderEverything) 211Public Overrides ReadOnly Property Type As TypeSymbol
Symbols\Metadata\PE\PEFieldSymbol.vb (9)
40Private _lazyType As TypeSymbol 372Dim fieldInfo As FieldInfo(Of TypeSymbol) = New MetadataDecoder(moduleSymbol, _containingType).DecodeFieldSignature(_handle) 374Dim type As TypeSymbol = Nothing 375Dim customModifiers As ImmutableArray(Of ModifierInfo(Of TypeSymbol)) = Nothing 385Friend Shared Sub GetSignatureParts(fieldInfo As FieldInfo(Of TypeSymbol), ByRef type As TypeSymbol, ByRef customModifiers As ImmutableArray(Of ModifierInfo(Of TypeSymbol))) 390Dim refCustomModifiers = fieldInfo.RefCustomModifiers.NullToEmpty.Add(New ModifierInfo(Of TypeSymbol)(isOptional:=False, _byRefPlaceholder)) 397Public Overrides ReadOnly Property Type As TypeSymbol
Symbols\Metadata\PE\PEMethodSymbol.vb (7)
540Dim outputType As TypeSymbol = ReturnType 994Public Overrides ReadOnly Property ReturnType As TypeSymbol 1042Debug.Assert(TypeSymbol.Equals(propertyOrEventSymbol.ContainingType, Me.ContainingType, TypeCompareKind.ConsiderEverything)) 1057Dim paramInfo() As ParamInfo(Of TypeSymbol) = 1121Public Overrides ReadOnly Property TypeArguments As ImmutableArray(Of TypeSymbol) 1124Return StaticCast(Of TypeSymbol).From(Me.TypeParameters) 1126Return ImmutableArray(Of TypeSymbol).Empty
Symbols\Metadata\PE\PEModuleSymbol.vb (4)
55''' This is a map from TypeDef handle to the target <see cref="TypeSymbol"/>. 60Friend ReadOnly TypeHandleToTypeMap As New ConcurrentDictionary(Of TypeDefinitionHandle, TypeSymbol)(concurrencyLevel:=2, capacity:=s_defaultTypeMapCapacity) 63''' This is a map from TypeRef row id to the target <see cref="TypeSymbol"/>. 68Friend ReadOnly TypeRefHandleToTypeMap As New ConcurrentDictionary(Of TypeReferenceHandle, TypeSymbol)(concurrencyLevel:=2, capacity:=s_defaultTypeMapCapacity)
Symbols\Metadata\PE\PENamedTypeSymbol.vb (9)
67Private _lazyCoClassType As TypeSymbol = ErrorTypeSymbol.UnknownResultType 287Dim typeSymbol As TypeSymbol = tokenDecoder.GetTypeOfToken(interfaceHandle) 1020Dim base As TypeSymbol = GetDeclaredBase(Nothing) 1072Friend Overrides ReadOnly Property CoClassType As TypeSymbol 1077DirectCast(ErrorTypeSymbol.UnknownResultType, TypeSymbol)) 1084Private Function MakeComImportCoClassType() As TypeSymbol 1332Dim base As TypeSymbol = GetDeclaredBase(Nothing) 1427IndexedTypeParameterSymbol.Take(n).As(Of TypeSymbol)) 1431IndexedTypeParameterSymbol.Take(nestedTypeParameters.Length).As(Of 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\PEPropertySymbol.vb (11)
30Private ReadOnly _propertyType As TypeSymbol 68Dim returnInfo As ParamInfo(Of TypeSymbol) = propertyParams(0) 93propertyParams As ParamInfo(Of TypeSymbol)() 136Dim returnInfo As ParamInfo(Of TypeSymbol) = propertyParams(0) 289Public Overrides ReadOnly Property Type As TypeSymbol 399propertyParams As ParamInfo(Of TypeSymbol)(), 401getMethodParamsOpt As ParamInfo(Of TypeSymbol)(), 403setMethodParamsOpt As ParamInfo(Of TypeSymbol)()) As Boolean 457propertyParams As ParamInfo(Of TypeSymbol)(), 655propertyParams As ParamInfo(Of TypeSymbol)() 659Dim returnInfo As ParamInfo(Of TypeSymbol) = propertyParams(0)
Symbols\Metadata\PE\PETypeParameterSymbol.vb (6)
37Private _lazyConstraintTypes As ImmutableArray(Of TypeSymbol) 152Friend Overrides ReadOnly Property ConstraintTypesNoUseSiteDiagnostics As ImmutableArray(Of TypeSymbol) 213Dim typeSymbol As TypeSymbol = GetConstraintType(metadataReader, tokenDecoder, constraintHandle, hasUnmanagedModreqPattern) 246) As TypeSymbol 249Dim modifiers As ImmutableArray(Of ModifierInfo(Of TypeSymbol)) = Nothing 257Dim m As ModifierInfo(Of TypeSymbol) = modifiers.Single()
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\Metadata\PE\TupleTypeDecoder.vb (12)
22''' <see cref="DecodeTupleTypesIfApplicable(TypeSymbol, EntityHandle, PEModuleSymbol)"/> 76metadataType As TypeSymbol, 78containingModule As PEModuleSymbol) As TypeSymbol 93metadataType As TypeSymbol, 94elementNames As ImmutableArray(Of String)) As TypeSymbol 99Private Shared Function DecodeTupleTypesInternal(metadataType As TypeSymbol, 101hasTupleElementNamesAttribute As Boolean) As TypeSymbol 125Private Function DecodeType(type As TypeSymbol) As TypeSymbol 237Private Function DecodeTypeArguments(typeArgs As ImmutableArray(Of TypeSymbol)) As ImmutableArray(Of TypeSymbol) 242Dim decodedArgs = ArrayBuilder(Of TypeSymbol).GetInstance(typeArgs.Length)
Symbols\MethodSignatureComparer.vb (9)
809Dim indexedTypeArguments = StaticCast(Of TypeSymbol).From(IndexedTypeParameterSymbol.Take(method.Arity)) 884Dim substitutedTypes1 = ArrayBuilder(Of TypeSymbol).GetInstance() 885Dim substitutedTypes2 = ArrayBuilder(Of TypeSymbol).GetInstance() 913Private Shared Function AreConstraintTypesSubset(constraintTypes1 As ArrayBuilder(Of TypeSymbol), constraintTypes2 As ArrayBuilder(Of TypeSymbol)) As Boolean 928Private Shared Function ContainsIgnoringCustomModifiers(types As ArrayBuilder(Of TypeSymbol), type As TypeSymbol) As Boolean 937Private Shared Sub SubstituteConstraintTypes(constraintTypes As ImmutableArray(Of TypeSymbol), result As ArrayBuilder(Of TypeSymbol), substitution As TypeSubstitution)
Symbols\MethodSymbol.vb (15)
75Public MustOverride ReadOnly Property TypeArguments As ImmutableArray(Of TypeSymbol) 153Public MustOverride ReadOnly Property ReturnType As TypeSymbol 569Dim returnType As TypeSymbol = Me.ReturnType 611Protected Sub CheckCanConstructAndTypeArguments(typeArguments As ImmutableArray(Of TypeSymbol)) 622Public Overridable Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) As MethodSymbol 637Public Function Construct(ParamArray typeArguments() As TypeSymbol) As MethodSymbol 713Dim unificationCheckedTypes As HashSet(Of TypeSymbol) = Nothing 783Public Overridable ReadOnly Property ReceiverType As TypeSymbol 797Public Overridable Function GetTypeInferredDuringReduction(reducedFromTypeParameter As TypeParameterSymbol) As TypeSymbol 804Friend Overridable ReadOnly Property FixedTypeParameters As ImmutableArray(Of KeyValuePair(Of TypeParameterSymbol, TypeSymbol)) 806Return ImmutableArray(Of KeyValuePair(Of TypeParameterSymbol, TypeSymbol)).Empty 817Friend Function ReduceExtensionMethod(instanceType As TypeSymbol, proximity As Integer, ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol), languageVersion As LanguageVersion) As MethodSymbol 825Public Function ReduceExtensionMethod(instanceType As TypeSymbol, ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol), languageVersion As LanguageVersion) As MethodSymbol 1002Return Me.ReduceExtensionMethod(receiverType.EnsureVbSymbolOrNothing(Of TypeSymbol)(NameOf(receiverType)), CompoundUseSiteInfo(Of AssemblySymbol).Discarded, LanguageVersion.Latest) 1177Return Construct(DirectCast(typeArguments, TypeSymbol()))
Symbols\MethodSymbolExtensions.vb (1)
97Friend Function ConstructIfGeneric(method As MethodSymbol, typeArguments As ImmutableArray(Of TypeSymbol)) As MethodSymbol
Symbols\MissingModuleSymbol.vb (1)
144Friend Overrides Function GetUnificationUseSiteErrorInfo(dependentType As TypeSymbol) As DiagnosticInfo
Symbols\ModuleSymbol.vb (1)
213Friend MustOverride Function GetUnificationUseSiteErrorInfo(dependentType As TypeSymbol) As DiagnosticInfo
Symbols\NamedTypeSymbol.vb (15)
76Friend MustOverride ReadOnly Property TypeArgumentsNoUseSiteDiagnostics As ImmutableArray(Of TypeSymbol) 78Friend Function TypeArgumentsWithDefinitionUseSiteDiagnostics(<[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ImmutableArray(Of TypeSymbol) 88Friend Function TypeArgumentWithDefinitionUseSiteDiagnostics(index As Integer, <[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As TypeSymbol 472Public Function Construct(ParamArray typeArguments() As TypeSymbol) As NamedTypeSymbol 479Public Function Construct(typeArguments As IEnumerable(Of TypeSymbol)) As NamedTypeSymbol 491Public MustOverride Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) As NamedTypeSymbol 494Protected Sub CheckCanConstructAndTypeArguments(typeArguments As ImmutableArray(Of TypeSymbol)) 679Friend MustOverride ReadOnly Property CoClassType As TypeSymbol 966Protected NotOverridable Overrides ReadOnly Property OriginalTypeSymbolDefinition As TypeSymbol 1023For Each arg As TypeSymbol In currentType.TypeArgumentsNoUseSiteDiagnostics 1088''' Requires less computation than <see cref="TypeSymbol.TypeKind"/>== <see cref="TypeKind.Interface"/>. 1267Dim fieldType As TypeSymbol = field.Type.GetTupleUnderlyingTypeOrSelf() 1543Dim typeToCheck As TypeSymbol = Me 1549Loop While TypeSymbol.Equals(typeToCheck.OriginalDefinition, Me.OriginalDefinition, TypeCompareKind.ConsiderEverything) AndAlso Not typeToCheck.IsDefinition 1553If underlying.Arity = TupleTypeSymbol.RestPosition AndAlso Not TypeSymbol.Equals(underlying.OriginalDefinition, Me.OriginalDefinition, TypeCompareKind.ConsiderEverything) Then
Symbols\NonMissingModuleSymbol.vb (1)
77Friend Overrides Function GetUnificationUseSiteErrorInfo(dependentType As TypeSymbol) As DiagnosticInfo
Symbols\NoPiaAmbiguousCanonicalTypeSymbol.vb (1)
63Public Overrides Function Equals(obj As TypeSymbol, comparison As TypeCompareKind) As Boolean
Symbols\NoPiaIllegalGenericInstantiationSymbol.vb (1)
42Public Overrides Function Equals(obj As TypeSymbol, comparison As TypeCompareKind) As Boolean
Symbols\NoPiaMissingCanonicalTypeSymbol.vb (1)
88Public Overrides Function Equals(obj As TypeSymbol, comparison As TypeCompareKind) As Boolean
Symbols\OverriddenMembersResult.vb (2)
94If TypeSymbol.Equals(baseType.OriginalDefinition, overriddenByDefinitionContainingTypeDefinition, TypeCompareKind.ConsiderEverything) Then 95If TypeSymbol.Equals(baseType, overriddenByDefinitionContaining, TypeCompareKind.ConsiderEverything) Then
Symbols\ParameterSymbol.vb (1)
107Public MustOverride ReadOnly Property Type As TypeSymbol
Symbols\PointerTypeSymbol.vb (4)
17Private ReadOnly _pointedAtType As TypeSymbol 20Public Sub New(pointedAtType As TypeSymbol, customModifiers As ImmutableArray(Of CustomModifier)) 45Dim last As TypeSymbol 56Public Overrides Function Equals(obj As TypeSymbol, comparison As TypeCompareKind) As Boolean
Symbols\PropertySymbol.vb (4)
54Public MustOverride ReadOnly Property Type As TypeSymbol 212TypeSymbol.Equals(sourceProperty.ContainingType, fromMember.ContainingType, TypeCompareKind.ConsiderEverything) AndAlso 402Friend Overridable ReadOnly Property ReceiverType As TypeSymbol 452Dim unificationCheckedTypes As HashSet(Of TypeSymbol) = Nothing
Symbols\PropertySymbolExtensions.vb (2)
45Public Function GetTypeFromGetMethod([property] As PropertySymbol) As TypeSymbol 51Public Function GetTypeFromSetMethod([property] As PropertySymbol) As 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 725Friend Overrides ReadOnly Property ConstraintTypesNoUseSiteDiagnostics As ImmutableArray(Of TypeSymbol) 822Public Overrides Function Equals(other As TypeSymbol, comparison As TypeCompareKind) As Boolean 844Private _lazyType As TypeSymbol 857Public Overrides ReadOnly Property Type As TypeSymbol 861Dim paramType As TypeSymbol = m_CurriedFromParameter.Type 893Public MustOverride Overrides ReadOnly Property Type As TypeSymbol
Symbols\Retargeting\RetargetingEventSymbol.vb (1)
184Public Overrides ReadOnly Property Type As TypeSymbol
Symbols\Retargeting\RetargetingFieldSymbol.vb (1)
82Public Overrides ReadOnly Property Type As TypeSymbol
Symbols\Retargeting\RetargetingMethodSymbol.vb (4)
122Public Overrides ReadOnly Property TypeArguments As ImmutableArray(Of TypeSymbol) 125Return StaticCast(Of TypeSymbol).From(Me.TypeParameters) 127Return ImmutableArray(Of TypeSymbol).Empty 162Public Overrides ReadOnly Property ReturnType As TypeSymbol
Symbols\Retargeting\RetargetingNamedTypeSymbol.vb (4)
41Private _lazyCoClass As TypeSymbol = ErrorTypeSymbol.UnknownResultType 163Friend Overrides ReadOnly Property CoClassType As TypeSymbol 166Dim coClass As TypeSymbol = _underlyingType.CoClassType 170Interlocked.CompareExchange(_lazyCoClass, coClass, DirectCast(ErrorTypeSymbol.UnknownResultType, TypeSymbol))
Symbols\Retargeting\RetargetingParameterSymbol.vb (1)
72Public Overrides ReadOnly Property Type As TypeSymbol
Symbols\Retargeting\RetargetingPropertySymbol.vb (1)
242Public Overrides ReadOnly Property Type As TypeSymbol
Symbols\Retargeting\RetargetingSymbolTranslator.vb (20)
136Return marshallingInfo.WithTranslatedTypes(Of TypeSymbol, RetargetingSymbolTranslator)( 137Function(type, translator) translator.Retarget(DirectCast(type, TypeSymbol), RetargetOptions.RetargetPrimitiveTypesByTypeCode), Me) 140Public Function Retarget(symbol As TypeSymbol, options As RetargetOptions) As TypeSymbol 141Return DirectCast(symbol.Accept(Me, options), TypeSymbol) 317Dim cached As TypeSymbol = Nothing 451Dim newArg = New TypeWithModifiers(DirectCast(arg.Type.Accept(Me, RetargetOptions.RetargetPrimitiveTypesByTypeCode), TypeSymbol), 454If Not anythingRetargeted AndAlso (modifiersHaveChanged OrElse Not TypeSymbol.Equals(newArg.Type, arg.Type, TypeCompareKind.ConsiderEverything)) Then 542Private Function IsOrClosedOverAnExplicitLocalType(symbol As TypeSymbol) As Boolean 586Dim oldElement As TypeSymbol = type.ElementType 587Dim newElement As TypeSymbol = Retarget(oldElement, RetargetOptions.RetargetPrimitiveTypesByTypeCode) 721Dim oldConstantType As TypeSymbol = DirectCast(oldConstant.TypeInternal, TypeSymbol) 722Dim newConstantType As TypeSymbol = If(oldConstantType Is Nothing, 739newConstantValue = Retarget(DirectCast(oldConstantValue, TypeSymbol), RetargetOptions.RetargetPrimitiveTypesByTypeCode) 852Public Function Retarget(sequence As ImmutableArray(Of TypeSymbol)) As ImmutableArray(Of TypeSymbol) 853Dim result = ArrayBuilder(Of TypeSymbol).GetInstance(sequence.Length) 855For Each ts As TypeSymbol In sequence 1055If TypeSymbol.Equals(retargetedEvent.Type, retargetedEventType, TypeCompareKind.ConsiderEverything) Then
Symbols\Retargeting\RetargetingTypeParameterSymbol.vb (1)
77Friend Overrides ReadOnly Property ConstraintTypesNoUseSiteDiagnostics As ImmutableArray(Of TypeSymbol)
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\SignatureOnlyParameterSymbol.vb (3)
18Private ReadOnly _type As TypeSymbol 27Public Sub New(ByVal type As TypeSymbol, 46Public Overrides ReadOnly Property Type() As TypeSymbol
Symbols\SignatureOnlyPropertySymbol.vb (3)
27Private ReadOnly _type As TypeSymbol 39[type] As TypeSymbol, 99Public Overrides ReadOnly Property Type As TypeSymbol
Symbols\Source\BoundLambdaParameterSymbol.vb (1)
26type As TypeSymbol,
Symbols\Source\CrefTypeParameterSymbol.vb (3)
76Friend Overrides ReadOnly Property ConstraintTypesNoUseSiteDiagnostics As ImmutableArray(Of TypeSymbol) 78Return ImmutableArray(Of TypeSymbol).Empty 128Public Overrides Function Equals(other As TypeSymbol, comparison As TypeCompareKind) As Boolean
Symbols\Source\CustomEventAccessorSymbol.vb (4)
216If Not eventType.IsErrorType AndAlso Not TypeSymbol.Equals(eventType, parameterType, TypeCompareKind.ConsiderEverything) Then 229If Not registrationTokenType.IsErrorType AndAlso firstImplementedEvent.IsWindowsRuntimeEvent <> (TypeSymbol.Equals(parameterType, registrationTokenType, TypeCompareKind.ConsiderEverything)) Then 236If Not registrationTokenType.IsErrorType AndAlso Not TypeSymbol.Equals(parameterType, registrationTokenType, TypeCompareKind.ConsiderEverything) Then 240If Not eventType.IsErrorType AndAlso Not TypeSymbol.Equals(eventType, parameterType, TypeCompareKind.ConsiderEverything) Then
Symbols\Source\CustomModifierUtils.vb (8)
18destinationTypeParameters As ImmutableArray(Of TypeSymbol), 19<[In], Out> ByRef destinationReturnType As TypeSymbol, 49Friend Shared Function CopyTypeCustomModifiers(sourceType As TypeSymbol, destinationType As TypeSymbol) As TypeSymbol 50Dim resultType As TypeSymbol 110Dim thisParamType As TypeSymbol = thisParam.Type 111Dim overriddenParamType As TypeSymbol = overriddenParam.Type
Symbols\Source\ImplementsHelper.vb (6)
177Dim interfaceType As TypeSymbol = binder.BindTypeSyntax(interfaceName, diagBag) 288If TypeSymbol.Equals(first.ContainingType, second.ContainingType, TypeCompareKind.ConsiderEverything) Then 459interfaceType As TypeSymbol, 562implementingType As TypeSymbol, 572Dim currType As TypeSymbol = implementingType 640currType As TypeSymbol,
Symbols\Source\ImplicitNamedTypeSymbol.vb (1)
163Friend Overrides ReadOnly Property CoClassType As TypeSymbol
Symbols\Source\LambdaParameterSymbol.vb (3)
17Private ReadOnly _type As TypeSymbol ' Can be Nothing for UnboundLambdaParameterSymbol. 24type As TypeSymbol, 149Public NotOverridable Overrides ReadOnly Property Type As TypeSymbol
Symbols\Source\LambdaSymbol.vb (10)
21Friend Shared ReadOnly ReturnTypeIsBeingInferred As TypeSymbol = New ErrorTypeSymbol() 27Friend Shared ReadOnly ReturnTypeIsUnknown As TypeSymbol = New ErrorTypeSymbol() 34Friend Shared ReadOnly ReturnTypePendingDelegate As TypeSymbol = New ErrorTypeSymbol() 39Friend Shared ReadOnly ReturnTypeVoidReplacement As TypeSymbol = New ErrorTypeSymbol() 44Friend Shared ReadOnly ErrorRecoveryInferenceError As TypeSymbol = New ErrorTypeSymbol() 53Protected m_ReturnType As TypeSymbol 61returnType As TypeSymbol, 300Public Overrides ReadOnly Property ReturnType As TypeSymbol 324Public Overrides ReadOnly Property TypeArguments As ImmutableArray(Of TypeSymbol) 326Return ImmutableArray(Of TypeSymbol).Empty
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)) 848Friend Overrides Function ComputeTypeInternal(localBinder As Binder) As TypeSymbol 850Dim declType As TypeSymbol = Nothing 851Dim type As TypeSymbol = Nothing 918Private Sub SetConstantExpression(type As TypeSymbol, constantValue As ConstantValue, expression As BoundExpression, diagnostics As ReadOnlyBindingDiagnostic(Of AssemblySymbol)) 947Public Sub New(originalVariable As LocalSymbol, type As TypeSymbol)
Symbols\Source\MeParameterSymbol.vb (3)
18Private ReadOnly _type As TypeSymbol 25Friend Sub New(memberSymbol As Symbol, type As TypeSymbol) 36Public Overrides ReadOnly Property [Type] As TypeSymbol
Symbols\Source\OverrideHidingHelper.vb (2)
821If Not TypeSymbol.Equals(builder(i).ContainingType, memberContainingType, TypeCompareKind.ConsiderEverything) AndAlso 951If TypeSymbol.Equals(originalSym.ContainingType, originalOther.ContainingType, TypeCompareKind.ConsiderEverything) AndAlso
Symbols\Source\RangeVariableSymbol.vb (9)
22Private ReadOnly _type As TypeSymbol 28type As TypeSymbol 46Public Overridable ReadOnly Property Type As TypeSymbol 131type As TypeSymbol 143type As TypeSymbol 152type As TypeSymbol 165type As TypeSymbol 246type As TypeSymbol 287type As TypeSymbol
Symbols\Source\SourceAssemblySymbol.vb (1)
251If uniqueAttributes Is Nothing OrElse Not uniqueAttributes.Contains(Function(a) TypeSymbol.Equals(a.AttributeClass, attributeClass, TypeCompareKind.ConsiderEverything)) Then
Symbols\Source\SourceClonedParameterSymbol.vb (6)
42Public Overrides ReadOnly Property Type As TypeSymbol 161Friend Overrides Function WithTypeAndCustomModifiers(type As TypeSymbol, customModifiers As ImmutableArray(Of CustomModifier), refCustomModifiers As ImmutableArray(Of CustomModifier)) As ParameterSymbol 168Private ReadOnly _type As TypeSymbol 176type As TypeSymbol, 188Public Overrides ReadOnly Property Type As TypeSymbol 230Friend Overrides Function WithTypeAndCustomModifiers(type As TypeSymbol, customModifiers As ImmutableArray(Of CustomModifier), refCustomModifiers As ImmutableArray(Of CustomModifier)) As ParameterSymbol
Symbols\Source\SourceComplexParameterSymbol.vb (5)
278type As TypeSymbol, 294type As TypeSymbol, 406Friend Overrides Function WithTypeAndCustomModifiers(type As TypeSymbol, customModifiers As ImmutableArray(Of CustomModifier), refCustomModifiers As ImmutableArray(Of CustomModifier)) As ParameterSymbol 424type As TypeSymbol, 453Friend Overrides Function WithTypeAndCustomModifiers(type As TypeSymbol, customModifiers As ImmutableArray(Of CustomModifier), refCustomModifiers As ImmutableArray(Of CustomModifier)) As ParameterSymbol
Symbols\Source\SourceDelegateMethodSymbol.vb (13)
27Private ReadOnly _returnType As TypeSymbol 33returnType As TypeSymbol) 48Public Overrides ReadOnly Property ReturnType As TypeSymbol 79Dim returnType As TypeSymbol = BindReturnType(syntax, binder, diagnostics) 109Private Shared Function BindReturnType(syntax As VisualBasicSyntaxNode, binder As Binder, diagnostics As BindingDiagnosticBag) As TypeSymbol 216voidType As TypeSymbol, 217objectType As TypeSymbol, 218intPtrType As TypeSymbol, 249returnType As TypeSymbol, 276iAsyncResultType As TypeSymbol, 277objectType As TypeSymbol, 278asyncCallbackType As TypeSymbol, 324iAsyncResultType As TypeSymbol,
Symbols\Source\SourceEnumConstantSymbol.vb (1)
64Public NotOverridable Overrides ReadOnly Property Type As TypeSymbol
Symbols\Source\SourceEventSymbol.vb (4)
47Private _lazyType As TypeSymbol 154Private Function ComputeType(diagnostics As BindingDiagnosticBag, <Out()> ByRef isTypeInferred As Boolean, <Out()> ByRef isDelegateFromImplements As Boolean) As TypeSymbol 162Dim type As TypeSymbol 462Public Overrides ReadOnly Property Type As TypeSymbol
Symbols\Source\SourceFile.vb (1)
360Dim type = TryCast(namespaceOrType, TypeSymbol)
Symbols\Source\SourceLambdaSymbol.vb (1)
21returnType As TypeSymbol,
Symbols\Source\SourceMemberContainerTypeSymbol.vb (29)
491If TypeSymbol.Equals(iface, implementedInterface, TypeCompareKind.ConsiderEverything) Then 575type As TypeSymbol, 612type As TypeSymbol, 1044For Each constraint As TypeSymbol In param.ConstraintTypesNoUseSiteDiagnostics 1110Dim type As TypeSymbol = [event].Type 3001If Not Equals(TryCast(sym, TypeSymbol), type, TypeCompareKind.ConsiderEverything) Then 3046Dim asType = TryCast(firstAssociatedSymbol, TypeSymbol) 3796Debug.Assert(Not TypeSymbol.Equals([interface], other, TypeCompareKind.ConsiderEverything)) 3822Debug.Assert(interface2.IsGenericType AndAlso TypeSymbol.Equals(interface1.OriginalDefinition, interface2.OriginalDefinition, TypeCompareKind.ConsiderEverything)) 3913If (TypeSymbol.Equals(directInterface1, interface1, TypeCompareKind.ConsiderEverything) AndAlso TypeSymbol.Equals(directInterface2, interface2, TypeCompareKind.ConsiderEverything)) Then 3917ElseIf (Not TypeSymbol.Equals(directInterface1, interface1, TypeCompareKind.ConsiderEverything) AndAlso TypeSymbol.Equals(directInterface2, interface2, TypeCompareKind.ConsiderEverything)) Then 3922ElseIf (TypeSymbol.Equals(directInterface1, interface1, TypeCompareKind.ConsiderEverything) AndAlso Not TypeSymbol.Equals(directInterface2, interface2, TypeCompareKind.ConsiderEverything)) Then 3928Debug.Assert(Not TypeSymbol.Equals(directInterface1, interface1, TypeCompareKind.ConsiderEverything) AndAlso Not TypeSymbol.Equals(directInterface2, interface2, TypeCompareKind.ConsiderEverything)) 3994If (TypeSymbol.Equals(directInterface1, interface1, TypeCompareKind.ConsiderEverything) AndAlso TypeSymbol.Equals(directInterface2, interface2, TypeCompareKind.ConsiderEverything)) Then 3998ElseIf (Not TypeSymbol.Equals(directInterface1, interface1, TypeCompareKind.ConsiderEverything) AndAlso TypeSymbol.Equals(directInterface2, interface2, TypeCompareKind.ConsiderEverything)) Then 4003ElseIf (TypeSymbol.Equals(directInterface1, interface1, TypeCompareKind.ConsiderEverything) AndAlso Not TypeSymbol.Equals(directInterface2, interface2, TypeCompareKind.ConsiderEverything)) Then 4009Debug.Assert(Not TypeSymbol.Equals(directInterface1, interface1, TypeCompareKind.ConsiderEverything) AndAlso Not TypeSymbol.Equals(directInterface2, interface2, TypeCompareKind.ConsiderEverything)) 4066Inherits EqualityComparer(Of TypeSymbol) 4080Public Overrides Function Equals(type1 As TypeSymbol, type2 As TypeSymbol) As Boolean 4086Public Overrides Function GetHashCode(obj As TypeSymbol) As Integer
Symbols\Source\SourceMemberFieldSymbol.vb (13)
21Private _lazyType As TypeSymbol 76Public Overrides ReadOnly Property Type As TypeSymbol 91Private Function ComputeType(diagBag As BindingDiagnosticBag) As TypeSymbol 101Private Function GetDeclaredType(diagBag As BindingDiagnosticBag) As TypeSymbol 141Dim restrictedType As TypeSymbol = Nothing 161ignoreTypeSyntaxDiagnostics As Boolean) As TypeSymbol 165Dim asClauseType As TypeSymbol = Nothing 179Dim varType As TypeSymbol 214diagnostics As BindingDiagnosticBag) As TypeSymbol 254Friend Overrides Function GetInferredType(inProgress As ConstantFieldsInProgress) As TypeSymbol 283Protected Overridable Function GetInferredConstantType(inProgress As ConstantFieldsInProgress) As TypeSymbol 352Protected Overrides Function GetInferredConstantType(inProgress As ConstantFieldsInProgress) As TypeSymbol 399Protected Overrides Function GetInferredConstantType(inProgress As ConstantFieldsInProgress) As TypeSymbol
Symbols\Source\SourceMemberMethodSymbol.vb (5)
603Dim eventContainingType As TypeSymbol = Nothing 659Dim isFromBase = Not TypeSymbol.Equals(witheventsProperty.ContainingType, Me.ContainingType, TypeCompareKind.ConsiderEverything) 854Friend Shared Function FindWithEventsProperty(containingType As TypeSymbol, 892Friend Shared Function FindEvent(containingType As TypeSymbol, 930Private Shared Function FindProperty(containingType As TypeSymbol,
Symbols\Source\SourceMethodSymbol.vb (10)
1247Public NotOverridable Overrides ReadOnly Property TypeArguments As ImmutableArray(Of TypeSymbol) 1250Return StaticCast(Of TypeSymbol).From(TypeParameters) 2049Public MustOverride Overrides ReadOnly Property ReturnType As TypeSymbol 2069Private _lazyReturnType As TypeSymbol 2124Dim retType As TypeSymbol = GetReturnType(sourceModule, errorLocation, diagBag) 2141replaceMethodTypeParametersWithFakeTypeParameters = TypeSubstitution.Create(Me, Me.TypeParameters, StaticCast(Of TypeSymbol).From(fakeTypeParameters)) 2261Public NotOverridable Overrides ReadOnly Property ReturnType As TypeSymbol 2283diagBag As BindingDiagnosticBag) As TypeSymbol 2306Dim retType As TypeSymbol 2345Dim restrictedType As TypeSymbol = Nothing
Symbols\Source\SourceModuleSymbol.vb (3)
502Dim type = TryCast(namespaceOrType, TypeSymbol) 514Dim type = TryCast(target, TypeSymbol) 529Private Sub ValidateImport(type As TypeSymbol, info As GlobalImportInfo, diagnostics As BindingDiagnosticBag)
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (11)
644Public Overrides Function Equals(other As TypeSymbol, comparison As TypeCompareKind) As Boolean 728Public Overloads Overrides Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) As NamedTypeSymbol 838Friend Overrides ReadOnly Property CoClassType As TypeSymbol 948Friend Overrides ReadOnly Property TypeArgumentsNoUseSiteDiagnostics As ImmutableArray(Of TypeSymbol) 950Return ImmutableArray(Of TypeSymbol).Empty 1029Friend Overrides Function GetUnificationUseSiteDiagnosticRecursive(owner As Symbol, ByRef checkedTypes As HashSet(Of TypeSymbol)) As DiagnosticInfo 1298Public Overrides ReadOnly Property ReturnType As TypeSymbol 1322Public Overrides ReadOnly Property TypeArguments As ImmutableArray(Of TypeSymbol) 1324Return ImmutableArray(Of TypeSymbol).Empty 1630Public Overrides ReadOnly Property Type As TypeSymbol 1840Public Overrides ReadOnly Property Type As TypeSymbol
Symbols\Source\SourceNamedTypeSymbol.vb (11)
65Private _lazyCoClassType As TypeSymbol = ErrorTypeSymbol.UnknownResultType 887Dim constraintTypes1 = New HashSet(Of TypeSymbol) 1227Dim interfacesInThisPartial As New HashSet(Of TypeSymbol)() 1347If TypeSymbol.Equals(bt, base, TypeCompareKind.ConsiderEverything) Then 1840Debug.Assert(TypeSymbol.Equals(underlyingType, Me._lazyEnumUnderlyingType, TypeCompareKind.ConsiderEverything)) 2012Friend Overrides ReadOnly Property CoClassType As TypeSymbol 2016Interlocked.CompareExchange(_lazyCoClassType, Nothing, DirectCast(ErrorTypeSymbol.UnknownResultType, TypeSymbol)) 2023DirectCast(ErrorTypeSymbol.UnknownResultType, TypeSymbol)) 2301Debug.Assert(DirectCast(argument.TypeInternal, TypeSymbol).Equals(DeclaringCompilation.GetWellKnownType(WellKnownType.System_Type), TypeCompareKind.ConsiderEverything)) 2308DirectCast(argument.ValueInternal, TypeSymbol), 2309DirectCast(ErrorTypeSymbol.UnknownResultType, TypeSymbol))
Symbols\Source\SourceParameterSymbol.vb (3)
18Private ReadOnly _type As TypeSymbol 24type As TypeSymbol, 79Public NotOverridable Overrides ReadOnly Property Type As TypeSymbol
Symbols\Source\SourceParameterSymbolBase.vb (1)
77Friend MustOverride Function WithTypeAndCustomModifiers(type As TypeSymbol, customModifiers As ImmutableArray(Of CustomModifier), refCustomModifiers As ImmutableArray(Of CustomModifier)) As ParameterSymbol
Symbols\Source\SourcePropertyAccessorSymbol.vb (3)
27Private _lazyReturnType As TypeSymbol 181Public Overrides ReadOnly Property ReturnType As TypeSymbol 225diagBag As BindingDiagnosticBag) As TypeSymbol
Symbols\Source\SourcePropertySymbol.vb (6)
33Private _lazyType As TypeSymbol 333Public Overrides ReadOnly Property Type As TypeSymbol 340Private Function ComputeType(diagnostics As BindingDiagnosticBag) As TypeSymbol 381Dim restrictedType As TypeSymbol = Nothing 788Dim retType As TypeSymbol = ComputeType(diagnostics) 827Dim returnTypeWithCustomModifiers As TypeSymbol = overridden.Type
Symbols\Source\SourceSimpleParameterSymbol.vb (4)
29type As TypeSymbol, 162Friend Overrides Function WithTypeAndCustomModifiers(type As TypeSymbol, customModifiers As ImmutableArray(Of CustomModifier), refCustomModifiers As ImmutableArray(Of CustomModifier)) As ParameterSymbol 180type As TypeSymbol, 206Friend Overrides Function WithTypeAndCustomModifiers(type As TypeSymbol, customModifiers As ImmutableArray(Of CustomModifier), refCustomModifiers As ImmutableArray(Of CustomModifier)) As ParameterSymbol
Symbols\Source\SourceTypeParameterSymbol.vb (2)
21Private _lazyConstraintTypes As ImmutableArray(Of TypeSymbol) 86Friend Overrides ReadOnly Property ConstraintTypesNoUseSiteDiagnostics As ImmutableArray(Of TypeSymbol)
Symbols\Source\SynthesizedBackingFieldSymbol.vb (1)
21Public Overrides ReadOnly Property Type As TypeSymbol
Symbols\Source\SynthesizedEntryPointSymbol.vb (9)
19Private ReadOnly _returnType As TypeSymbol 48Private Sub New(containingType As NamedTypeSymbol, returnType As TypeSymbol) 139Public Overrides ReadOnly Property ReturnType As TypeSymbol 151Public Overrides ReadOnly Property TypeArguments As ImmutableArray(Of TypeSymbol) 153Return ImmutableArray(Of TypeSymbol).Empty 197Private Shared Function GetRequiredMethod(type As TypeSymbol, methodName As String, diagnostics As BindingDiagnosticBag) As MethodSymbol 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 (7)
20Private _lazyReturnType As TypeSymbol 53Dim parameterType As TypeSymbol 73Public Overrides ReadOnly Property ReturnType As TypeSymbol 79Dim type As TypeSymbol 278Dim delegateType As TypeSymbol = eventSymbol.Type 281Dim boolType As TypeSymbol = compilation.GetSpecialType(SpecialType.System_Boolean) 372compareExchangeMethod = compareExchangeMethod.Construct(ImmutableArray.Create(Of TypeSymbol)(delegateType))
Symbols\Source\SynthesizedEventBackingFieldSymbol.vb (2)
18Private _lazyType As TypeSymbol 34Public Overrides ReadOnly Property Type As TypeSymbol
Symbols\Source\SynthesizedFieldSymbol.vb (3)
24Protected ReadOnly _type As TypeSymbol 31type As TypeSymbol, 52Public Overrides ReadOnly Property Type As TypeSymbol
Symbols\Source\SynthesizedInteractiveInitializerMethod.vb (5)
14Friend ReadOnly ResultType As TypeSymbol 19Private ReadOnly _returnType As TypeSymbol 111Public Overrides ReadOnly Property ReturnType As TypeSymbol 151ByRef resultType As TypeSymbol, 152ByRef returnType As TypeSymbol)
Symbols\Source\SynthesizedLambdaSymbol.vb (2)
22returnType As TypeSymbol, 84Public Sub SetQueryLambdaReturnType(returnType As TypeSymbol)
Symbols\Source\SynthesizedMainTypeEntryPoint.vb (1)
40Public Overrides ReadOnly Property ReturnType As TypeSymbol
Symbols\Source\SynthesizedMyGroupCollectionPropertyAccessorSymbol.vb (2)
164Public Overrides ReadOnly Property ReturnType As TypeSymbol 209Public Overrides ReadOnly Property ReturnType As TypeSymbol
Symbols\Source\SynthesizedMyGroupCollectionPropertyBackingFieldSymbol.vb (1)
24type As TypeSymbol,
Symbols\Source\SynthesizedMyGroupCollectionPropertySymbol.vb (1)
55Public Overrides ReadOnly Property Type As TypeSymbol
Symbols\Source\SynthesizedWithEventsAccessorSymbol.vb (4)
149Public Overrides ReadOnly Property ReturnType As TypeSymbol 159Private ReadOnly _returnType As TypeSymbol 164returnType As TypeSymbol, 194Public Overrides ReadOnly Property ReturnType As TypeSymbol
Symbols\Source\UnboundLambdaParameterSymbol.vb (2)
26type As TypeSymbol, 87Dim paramType As TypeSymbol = binder.DecodeModifiedIdentifierType(syntax.Identifier, syntax.AsClause, Nothing, getErrorInfo, diagBag, Binder.ModifiedIdentifierTypeDecoderContext.LambdaParameterType)
Symbols\SubstitutableTypeParameterSymbol.vb (1)
21Public NotOverridable Overrides Function Equals(other As TypeSymbol, comparison As TypeCompareKind) As Boolean
Symbols\SubstitutedErrorType.vb (4)
115Friend Overrides ReadOnly Property TypeArgumentsNoUseSiteDiagnostics As ImmutableArray(Of TypeSymbol) 120Return StaticCast(Of TypeSymbol).From(TypeParameters) 201Public Overrides Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) As NamedTypeSymbol 248Public Overrides Function Equals(obj As TypeSymbol, comparison As TypeCompareKind) As Boolean
Symbols\SubstitutedEventSymbol.vb (2)
27Private _lazyType As TypeSymbol 66Public Overrides ReadOnly Property Type As TypeSymbol
Symbols\SubstitutedFieldSymbol.vb (1)
162Public Overrides ReadOnly Property Type As TypeSymbol
Symbols\SubstitutedMethodSymbol.vb (22)
114Public Overrides ReadOnly Property ReceiverType As TypeSymbol 124Public Overrides Function GetTypeInferredDuringReduction(reducedFromTypeParameter As TypeParameterSymbol) As TypeSymbol 132Friend Overrides ReadOnly Property FixedTypeParameters As ImmutableArray(Of KeyValuePair(Of TypeParameterSymbol, TypeSymbol)) 309Public Overrides ReadOnly Property ReturnType As TypeSymbol 327Public MustOverride Overrides ReadOnly Property TypeArguments As ImmutableArray(Of TypeSymbol) 405Public MustOverride Overrides Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) As MethodSymbol 451Debug.Assert(TypeSymbol.Equals(propertyOrEventSymbol.ContainingType, Me.ContainingType, TypeCompareKind.ConsiderEverything)) 521Public Overrides Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) As MethodSymbol 525Public Overrides ReadOnly Property TypeArguments As ImmutableArray(Of TypeSymbol) 527Return ImmutableArray(Of TypeSymbol).Empty 663Public Overrides Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) As MethodSymbol 685Public Overrides ReadOnly Property TypeArguments As ImmutableArray(Of TypeSymbol) 687Return StaticCast(Of TypeSymbol).From(_typeParameters) 705Protected ReadOnly _typeArguments As ImmutableArray(Of TypeSymbol) 707Protected Sub New(substitution As TypeSubstitution, typeArguments As ImmutableArray(Of TypeSymbol)) 732Public Overrides Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) As MethodSymbol 736Public Overrides ReadOnly Property TypeArguments As ImmutableArray(Of TypeSymbol) 794Public Sub New(constructedFrom As SpecializedGenericMethod, substitution As TypeSubstitution, typeArguments As ImmutableArray(Of TypeSymbol)) 840Public Sub New(substitution As TypeSubstitution, typeArguments As ImmutableArray(Of TypeSymbol)) 884Dim resultTypeArguments(reducedDef.Arity - 1) As TypeSymbol 886For Each pair As KeyValuePair(Of TypeParameterSymbol, TypeSymbol) In Me.FixedTypeParameters 891Dim typeArguments As ImmutableArray(Of TypeSymbol) = Me.TypeArguments
Symbols\SubstitutedNamedType.vb (14)
188Friend Overrides ReadOnly Property CoClassType As TypeSymbol 443Debug.Assert(TypeSymbol.Equals(member.ContainingType, Me.OriginalDefinition, TypeCompareKind.ConsiderEverything)) 521Public NotOverridable Overrides Function Equals(other As TypeSymbol, comparison As TypeCompareKind) As Boolean 648Friend NotOverridable Overrides Function GetUnificationUseSiteDiagnosticRecursive(owner As Symbol, ByRef checkedTypes As HashSet(Of TypeSymbol)) As DiagnosticInfo 728Friend Overrides ReadOnly Property TypeArgumentsNoUseSiteDiagnostics As ImmutableArray(Of TypeSymbol) 730Return StaticCast(Of TypeSymbol).From(TypeParameters) 771Public Overrides Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) As NamedTypeSymbol 893Friend Overrides ReadOnly Property TypeArgumentsNoUseSiteDiagnostics As ImmutableArray(Of TypeSymbol) 895Return ImmutableArray(Of TypeSymbol).Empty 915Public Overrides Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) As NamedTypeSymbol 963Private ReadOnly _typeArguments As ImmutableArray(Of TypeSymbol) 989Friend NotOverridable Overrides ReadOnly Property TypeArgumentsNoUseSiteDiagnostics As ImmutableArray(Of TypeSymbol) 1015Public Overrides Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) As NamedTypeSymbol 1019Friend NotOverridable Overrides Function GetUnificationUseSiteDiagnosticRecursive(owner As Symbol, ByRef checkedTypes As HashSet(Of TypeSymbol)) As DiagnosticInfo
Symbols\SubstitutedParameterSymbol.vb (1)
98Public Overrides ReadOnly Property Type As TypeSymbol
Symbols\SubstitutedPropertySymbol.vb (1)
218Public Overrides ReadOnly Property Type As TypeSymbol
Symbols\SubstitutedTypeParameterSymbol.vb (2)
95Friend Overrides ReadOnly Property ConstraintTypesNoUseSiteDiagnostics As ImmutableArray(Of TypeSymbol) 181Public Overrides Function Equals(other As TypeSymbol, comparison As TypeCompareKind) As Boolean
Symbols\Symbol.vb (12)
991Friend Function DeriveUseSiteInfoFromType(type As TypeSymbol) As UseSiteInfo(Of AssemblySymbol) 1127Friend Overloads Shared Function GetUnificationUseSiteDiagnosticRecursive(Of T As TypeSymbol)(types As ImmutableArray(Of T), owner As Symbol, ByRef checkedTypes As HashSet(Of TypeSymbol)) As DiagnosticInfo 1138Friend Overloads Shared Function GetUnificationUseSiteDiagnosticRecursive(modifiers As ImmutableArray(Of CustomModifier), owner As Symbol, ByRef checkedTypes As HashSet(Of TypeSymbol)) As DiagnosticInfo 1140Dim info = DirectCast(modifier.Modifier, TypeSymbol).GetUnificationUseSiteDiagnosticRecursive(owner, checkedTypes) 1149Friend Overloads Shared Function GetUnificationUseSiteDiagnosticRecursive(parameters As ImmutableArray(Of ParameterSymbol), owner As Symbol, ByRef checkedTypes As HashSet(Of TypeSymbol)) As DiagnosticInfo 1163Friend Overloads Shared Function GetUnificationUseSiteDiagnosticRecursive(typeParameters As ImmutableArray(Of TypeParameterSymbol), owner As Symbol, ByRef checkedTypes As HashSet(Of TypeSymbol)) As DiagnosticInfo 1372Protected Shared Function ConstructTypeArguments(ParamArray typeArguments() As ITypeSymbol) As ImmutableArray(Of TypeSymbol) 1373Dim builder = ArrayBuilder(Of TypeSymbol).GetInstance(typeArguments.Length) 1375builder.Add(typeArg.EnsureVbSymbolOrNothing(Of TypeSymbol)(NameOf(typeArguments))) 1380Protected Shared Function ConstructTypeArguments(typeArguments As ImmutableArray(Of ITypeSymbol), typeArgumentNullableAnnotations As ImmutableArray(Of CodeAnalysis.NullableAnnotation)) As ImmutableArray(Of TypeSymbol) 1390Return typeArguments.SelectAsArray(Function(typeArg) typeArg.EnsureVbSymbolOrNothing(Of TypeSymbol)(NameOf(typeArguments)))
Symbols\SymbolExtensions.vb (1)
34Select Case DirectCast(target, TypeSymbol).TypeKind
Symbols\SynthesizedSymbols\SynthesizedClonedTypeParameterSymbol.vb (2)
33Private _lazyConstraints As ImmutableArray(Of TypeSymbol) 69Friend Overrides ReadOnly Property ConstraintTypesNoUseSiteDiagnostics As ImmutableArray(Of TypeSymbol)
Symbols\SynthesizedSymbols\SynthesizedConstructorBase.vb (2)
26Protected ReadOnly m_voidType As TypeSymbol 199Public NotOverridable Overrides ReadOnly Property ReturnType As TypeSymbol
Symbols\SynthesizedSymbols\SynthesizedDelegateMethodSymbol.vb (5)
23Private ReadOnly _returnType As TypeSymbol 38returnType As TypeSymbol) 349Public Overrides ReadOnly Property ReturnType As TypeSymbol 382Public Overrides ReadOnly Property TypeArguments As ImmutableArray(Of TypeSymbol) 384Return ImmutableArray(Of TypeSymbol).Empty
Symbols\SynthesizedSymbols\SynthesizedEventDelegateSymbol.vb (1)
308Friend Overrides ReadOnly Property CoClassType As TypeSymbol
Symbols\SynthesizedSymbols\SynthesizedGlobal_StringSwitchHashMethodSymbol.vb (2)
26Private ReadOnly _returnType As TypeSymbol 65Public Overrides ReadOnly Property ReturnType As TypeSymbol
Symbols\SynthesizedSymbols\SynthesizedGlobalMethodBase.vb (2)
302Public Overrides ReadOnly Property TypeArguments As ImmutableArray(Of TypeSymbol) 304Return ImmutableArray(Of TypeSymbol).Empty
Symbols\SynthesizedSymbols\SynthesizedHotReloadExceptionConstructorSymbol.vb (2)
16Public Sub New(container As NamedTypeSymbol, stringType As TypeSymbol, intType As TypeSymbol)
Symbols\SynthesizedSymbols\SynthesizedHotReloadExceptionSymbol.vb (3)
25stringType As TypeSymbol, 26intType As TypeSymbol) 213Friend Overrides ReadOnly Property CoClassType As TypeSymbol
Symbols\SynthesizedSymbols\SynthesizedInterfaceImplementationStubSymbol.vb (6)
23Private ReadOnly _returnType As TypeSymbol 41_typeParametersSubstitution = TypeSubstitution.Create(implementingMethod, implementingMethod.TypeParameters, StaticCast(Of TypeSymbol).From(_typeParameters)) 44implementedMethod = implementedMethod.Construct(StaticCast(Of TypeSymbol).From(_typeParameters)) 77Public Overrides ReadOnly Property TypeArguments As ImmutableArray(Of TypeSymbol) 79Return StaticCast(Of TypeSymbol).From(Me.TypeParameters) 83Public Overrides ReadOnly Property ReturnType As 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\SynthesizedLocal.vb (1)
21type As TypeSymbol,
Symbols\SynthesizedSymbols\SynthesizedMethod.vb (2)
51newType As TypeSymbol, 94Public Overrides ReadOnly Property ReturnType As TypeSymbol
Symbols\SynthesizedSymbols\SynthesizedMethodBase.vb (2)
132Public Overrides ReadOnly Property TypeArguments As ImmutableArray(Of TypeSymbol) 134Return ImmutableArray(Of TypeSymbol).Empty
Symbols\SynthesizedSymbols\SynthesizedOverridingWitheventsProperty.vb (1)
209Public Overrides ReadOnly Property Type As TypeSymbol
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\SynthesizedSymbols\SynthesizedSimpleMethodSymbol.vb (3)
22Private ReadOnly _returnType As TypeSymbol 26returnType As TypeSymbol, 76Public Overrides ReadOnly Property ReturnType As TypeSymbol
Symbols\Tuples\TupleErrorFieldSymbol.vb (3)
39type As TypeSymbol, 118Public Overrides ReadOnly Property Type As TypeSymbol 138(other IsNot Nothing AndAlso Me._tupleElementIndex = other._tupleElementIndex AndAlso TypeSymbol.Equals(Me.ContainingType, other.ContainingType, TypeCompareKind.ConsiderEverything))
Symbols\Tuples\TupleEventSymbol.vb (2)
38Public Overrides ReadOnly Property Type As TypeSymbol 101(other IsNot Nothing AndAlso TypeSymbol.Equals(Me._containingType, other._containingType, TypeCompareKind.ConsiderEverything) AndAlso Me._underlyingEvent = other._underlyingEvent)
Symbols\Tuples\TupleFieldSymbol.vb (2)
80Public Overrides ReadOnly Property Type As TypeSymbol 117TypeSymbol.Equals(_containingTuple, other._containingTuple, TypeCompareKind.ConsiderEverything)
Symbols\Tuples\TupleMethodSymbol.vb (4)
77Public Overrides ReadOnly Property ReturnType As TypeSymbol 95Public Overrides ReadOnly Property TypeArguments As ImmutableArray(Of TypeSymbol) 97Return StaticCast(Of TypeSymbol).From(Me._typeParameters) 147(other IsNot Nothing AndAlso TypeSymbol.Equals(Me._containingType, other._containingType, TypeCompareKind.ConsiderEverything) AndAlso Me._underlyingMethod.ConstructedFrom = other._underlyingMethod.ConstructedFrom)
Symbols\Tuples\TuplePropertySymbol.vb (2)
34Public Overrides ReadOnly Property Type As TypeSymbol 133(other IsNot Nothing AndAlso TypeSymbol.Equals(Me._containingType, other._containingType, TypeCompareKind.ConsiderEverything) AndAlso Me._underlyingProperty = other._underlyingProperty)
Symbols\Tuples\TupleTypeSymbol.vb (24)
43Private ReadOnly _elementTypes As ImmutableArray(Of TypeSymbol) 83Public Overrides ReadOnly Property TupleElementTypes As ImmutableArray(Of TypeSymbol) 221Friend Overrides ReadOnly Property TypeArgumentsNoUseSiteDiagnostics As ImmutableArray(Of TypeSymbol) 223Return ImmutableArray(Of TypeSymbol).Empty 338elementNames As ImmutableArray(Of String), elementTypes As ImmutableArray(Of TypeSymbol), 347elementTypes As ImmutableArray(Of TypeSymbol), errorPositions As ImmutableArray(Of Boolean)) 366elementTypes As ImmutableArray(Of TypeSymbol), 418Dim elementTypes As ImmutableArray(Of TypeSymbol) 421Dim tupleElementTypes As ImmutableArray(Of TypeSymbol) = tupleCompatibleType.TypeArgumentsNoUseSiteDiagnostics(TupleTypeSymbol.RestPosition - 1).TupleElementTypes 422Dim instance As ArrayBuilder(Of TypeSymbol) = ArrayBuilder(Of TypeSymbol).GetInstance(TupleTypeSymbol.RestPosition - 1 + tupleElementTypes.Length) 466Dim typeArgumentsNoUseSiteDiagnostics As ImmutableArray(Of TypeSymbol) = tupleCompatibleType.TypeArgumentsNoUseSiteDiagnostics 517Friend Shared Sub AddElementTypes(underlyingTupleType As NamedTypeSymbol, tupleElementTypes As ArrayBuilder(Of TypeSymbol)) 548Private Shared Function GetTupleUnderlyingType(elementTypes As ImmutableArray(Of TypeSymbol), syntax As SyntaxNode, compilation As VisualBasicCompilation, diagnostics As BindingDiagnosticBag) As NamedTypeSymbol 559Dim namedTypeSymbol As NamedTypeSymbol = wellKnownType.Construct(ImmutableArray.Create(Of TypeSymbol)(elementTypes, (chainLength - 1) * (TupleTypeSymbol.RestPosition - 1), remainder)) 568Dim typeArguments As ImmutableArray(Of TypeSymbol) = ImmutableArray.Create(Of TypeSymbol)(elementTypes, ([loop] - 1) * (TupleTypeSymbol.RestPosition - 1), TupleTypeSymbol.RestPosition - 1).Add(namedTypeSymbol) 976Public Overrides Function Equals(obj As TypeSymbol, comparison As TypeCompareKind) As Boolean 1027Friend Overrides Function GetUnificationUseSiteDiagnosticRecursive(owner As Symbol, ByRef checkedTypes As HashSet(Of TypeSymbol)) As DiagnosticInfo 1063Public Shared Function TransformToTupleIfCompatible(target As TypeSymbol) As TypeSymbol 1064Dim result As TypeSymbol 1073Public Overrides Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) As NamedTypeSymbol 1111Friend Shared Sub ReportNamesMismatchesIfAny(destination As TypeSymbol, literal As BoundTupleLiteral, diagnostics As BindingDiagnosticBag)
Symbols\TypeParameterConstraint.vb (3)
22Public Sub New(type As TypeSymbol, loc As Location) 27Private Sub New(kind As TypeParameterConstraintKind, type As TypeSymbol, loc As Location) 40Public ReadOnly TypeConstraint As TypeSymbol
Symbols\TypeParameterSymbol.vb (11)
42Protected NotOverridable Overrides ReadOnly Property OriginalTypeSymbolDefinition As TypeSymbol 62Friend MustOverride ReadOnly Property ConstraintTypesNoUseSiteDiagnostics As ImmutableArray(Of TypeSymbol) 64Friend Function ConstraintTypesWithDefinitionUseSiteDiagnostics(<[In], Out> ByRef useSiteInfo As CompoundUseSiteInfo(Of AssemblySymbol)) As ImmutableArray(Of TypeSymbol) 205Friend Shared Function GetConstraintTypesOnly(constraints As ImmutableArray(Of TypeParameterConstraint)) As ImmutableArray(Of TypeSymbol) 207Return ImmutableArray(Of TypeSymbol).Empty 210Dim builder = ArrayBuilder(Of TypeSymbol).GetInstance() 245Private Shared Function ConstraintImpliesReferenceType(constraint As TypeSymbol) As Boolean 349Friend Shared Function InternalSubstituteTypeParametersDistinct(substitution As TypeSubstitution, types As ImmutableArray(Of TypeSymbol)) As ImmutableArray(Of TypeSymbol) 353Private Shared ReadOnly s_substituteFunc As Func(Of TypeSymbol, TypeSubstitution, TypeSymbol) = Function(type, substitution) type.InternalSubstituteTypeParameters(substitution).Type
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 (148)
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 1337Friend Function IsMicrosoftCodeAnalysisEmbeddedAttribute(typeSymbol As TypeSymbol) As Boolean 1348Private Function IsContainedInNamespace(typeSymbol As TypeSymbol, outerNS As String, midNS As String, Optional innerNS As String = Nothing) As Boolean
Symbols\TypeWithModifiers.vb (7)
12Public ReadOnly Type As TypeSymbol 15Public Sub New(type As TypeSymbol, customModifiers As ImmutableArray(Of CustomModifier)) 21Public Sub New(type As TypeSymbol) 62Public Function [Is](other As TypeSymbol) As Boolean 63Return TypeSymbol.Equals(Me.Type, other, TypeCompareKind.ConsiderEverything) AndAlso Me.CustomModifiers.IsEmpty 67Public Overloads Function Equals(other As TypeSymbol) As Boolean 76Public Function AsTypeSymbolOnly() As TypeSymbol
Symbols\UnboundGenericType.vb (11)
114Friend MustOverride Overrides ReadOnly Property TypeArgumentsNoUseSiteDiagnostics As ImmutableArray(Of TypeSymbol) 180Friend Overrides ReadOnly Property CoClassType As TypeSymbol 294Public NotOverridable Overrides Function Equals(other As TypeSymbol, comparison As TypeCompareKind) As Boolean 316Public Overrides Function Construct(typeArguments As ImmutableArray(Of TypeSymbol)) As NamedTypeSymbol 336Friend NotOverridable Overrides Function GetUnificationUseSiteDiagnosticRecursive(owner As Symbol, ByRef checkedTypes As HashSet(Of TypeSymbol)) As DiagnosticInfo 364Private _lazyTypeArguments As ImmutableArray(Of TypeSymbol) 374_lazyTypeArguments = ImmutableArray(Of TypeSymbol).Empty 448Friend Overrides ReadOnly Property TypeArgumentsNoUseSiteDiagnostics As ImmutableArray(Of TypeSymbol) 452Dim arguments(OriginalDefinition.Arity - 1) As TypeSymbol 628Friend Overrides ReadOnly Property TypeArgumentsNoUseSiteDiagnostics As ImmutableArray(Of TypeSymbol) 630Return StaticCast(Of TypeSymbol).From(_typeParameters)
Symbols\WellKnownMembers.vb (30)
343Return TypeSymbol.Equals(DirectCast(type, TypeSymbol), GetWellKnownType(WellKnownType.System_Type), TypeCompareKind.ConsiderEverything) 422ByVal comparer As SignatureComparer(Of MethodSymbol, FieldSymbol, PropertySymbol, TypeSymbol, ParameterSymbol), 522Inherits SignatureComparer(Of MethodSymbol, FieldSymbol, PropertySymbol, TypeSymbol, ParameterSymbol) 529Protected Overrides Function GetMDArrayElementType(type As TypeSymbol) As TypeSymbol 543Protected Overrides Function MatchArrayRank(type As TypeSymbol, countOfDimensions As Integer) As Boolean 557Protected Overrides Function GetSZArrayElementType(type As TypeSymbol) As TypeSymbol 571Protected Overrides Function GetFieldType(field As FieldSymbol) As TypeSymbol 575Protected Overrides Function GetPropertyType(prop As PropertySymbol) As TypeSymbol 579Protected Overrides Function GetGenericTypeArgument(ByVal type As TypeSymbol, ByVal argumentIndex As Integer) As TypeSymbol 598Protected Overrides Function GetGenericTypeDefinition(type As TypeSymbol) As TypeSymbol 625Protected Overrides Function GetParamType(ByVal parameter As ParameterSymbol) As TypeSymbol 629Protected Overrides Function GetPointedToType(type As TypeSymbol) As TypeSymbol 633Protected Overrides Function GetReturnType(method As MethodSymbol) As TypeSymbol 649Protected Overrides Function IsGenericMethodTypeParam(type As TypeSymbol, paramPosition As Integer) As Boolean 663Protected Overrides Function IsGenericTypeParam(type As TypeSymbol, paramPosition As Integer) As Boolean 677Protected Overrides Function MatchTypeToTypeId(type As TypeSymbol, typeId As Integer) As Boolean 691Protected Overrides Function MatchTypeToTypeId(type As TypeSymbol, typeId As Integer) As Boolean 701Friend Function SynthesizeTupleNamesAttribute(type As TypeSymbol) As SynthesizedAttributeData 717Public Shared Function Encode(type As TypeSymbol) As ImmutableArray(Of String) 728Public Shared Function Encode(type As TypeSymbol, stringType As TypeSymbol) As ImmutableArray(Of TypedConstant) 745Friend Shared Function TryGetNames(type As TypeSymbol, namesBuilder As ArrayBuilder(Of String)) As Boolean 746type.VisitType(Function(t As TypeSymbol, builder As ArrayBuilder(Of String)) AddNames(t, builder), namesBuilder) 750Private Shared Function AddNames(type As TypeSymbol, namesBuilder As ArrayBuilder(Of String)) As Boolean
Symbols\Wrapped\WrappedNamedTypeSymbol.vb (1)
132Friend Overrides ReadOnly Property CoClassType As TypeSymbol
Symbols\Wrapped\WrappedParameterSymbol.vb (1)
31Public Overrides ReadOnly Property Type As TypeSymbol
Utilities\TypeUnification.vb (7)
17Public Shared Function CanUnify(containingGenericType As NamedTypeSymbol, t1 As TypeSymbol, t2 As TypeSymbol) As Boolean 22If TypeSymbol.Equals(t1, t2, TypeCompareKind.ConsiderEverything) Then 122Return Not nt2.IsGenericType AndAlso TypeSymbol.Equals(nt1, nt2, TypeCompareKind.ConsiderEverything) 128If nt2.Arity <> arity OrElse Not TypeSymbol.Equals(nt2.OriginalDefinition, nt1.OriginalDefinition, TypeCompareKind.ConsiderEverything) Then 239Private Shared Function Contains(type As TypeSymbol, typeParam As TypeParameterSymbol) As Boolean 258Return TypeSymbol.Equals(type, typeParam, TypeCompareKind.ConsiderEverything)
Utilities\VarianceAmbiguity.vb (3)
55Debug.Assert(TypeSymbol.Equals(i1.OriginalDefinition, i2.OriginalDefinition, TypeCompareKind.ConsiderEverything)) 116typeArgument1 As TypeSymbol, 117typeArgument2 As TypeSymbol,
VisualBasicExtensions.vb (4)
775Return vbcomp.ClassifyConversion(DirectCast(source, TypeSymbol), DirectCast(destination, TypeSymbol)) 810Return vbmodel.ClassifyConversion(expression, DirectCast(destination, TypeSymbol)) 828Return vbmodel.ClassifyConversion(position, expression, DirectCast(destination, TypeSymbol))