90 references to GetSpecialType
Microsoft.CodeAnalysis.VisualBasic (90)
Binding\Binder_AnonymousTypes.vb (1)
128Dim objectType As TypeSymbol = GetSpecialType(SpecialType.System_Object, initializerSyntax, diagnostics)
Binding\Binder_Conversions.vb (1)
291Return ApplyConversion(node, GetSpecialType(targetType, node.Keyword, diagnostics),
Binding\Binder_Expressions.vb (20)
531expressionType = GetSpecialType(SpecialType.System_Object, expression.Syntax, diagnostics) 744Return New BoundNameOfOperator(node, argument, ConstantValue.Create(value), GetSpecialType(SpecialType.System_String, node, diagnostics)) 757Dim resultType As TypeSymbol = GetSpecialType(SpecialType.System_Boolean, node, diagnostics) 782operand = ApplyImplicitConversion(node, GetSpecialType(SpecialType.System_Object, node.Expression, diagnostics), operand, diagnostics) 951resultType = GetSpecialType(SpecialType.System_Nullable_T, expr.Syntax, diagnostics).Construct(resultType) 1414GetSpecialType(SpecialType.System_Object, expr.Syntax, diagnostics), Nothing) 1919dominantType = GetSpecialType(SpecialType.System_Object, node, diagnostics) 1986dominantType = If(boundFirstArg.Type, If(boundSecondArg.Type, GetSpecialType(SpecialType.System_Object, node, diagnostics))) 3721GetSpecialType(SpecialType.System_String, node.Name, diagnostics))), 3740Dim arg = New BoundLiteral(name, ConstantValue.Create(node.Name.Identifier.ValueText), GetSpecialType(SpecialType.System_String, name, diagnostics)) 3759Dim arg = New BoundLiteral(name, ConstantValue.Create(node.Name.Identifier.ValueText), GetSpecialType(SpecialType.System_String, name, diagnostics)) 3802GetSpecialType(SpecialType.System_String, node.Name, diagnostics))), 3892Dim int32Type = GetSpecialType(SpecialType.System_Int32, node.ArgumentList, diagnostics) 4103Dim Int32Type = GetSpecialType(SpecialType.System_Int32, node, diagnostics) 4187inferredElementType = GetSpecialType(SpecialType.System_Object, node, diagnostics) 4319Dim int32Type = GetSpecialType(SpecialType.System_Int32, arrayBoundsOpt, diagnostics) 4442type = GetSpecialType(specialType, node, diagnostics) 4579dominantType = GetSpecialType(SpecialType.System_Object, syntax, diagnostics) 4584dominantType = GetSpecialType(SpecialType.System_Object, syntax, diagnostics) 4898resultType = GetSpecialType(SpecialType.System_Void, node, diagnostics)
Binding\Binder_Initializers.vb (1)
511Dim fieldType = If(fieldSymbol.HasDeclaredType, fieldSymbol.Type, GetSpecialType(SpecialType.System_Object, asNewSyntax, BindingDiagnosticBag.Discarded)) ' prevent recursion if field type is inferred.
Binding\Binder_InterpolatedString.vb (1)
32Return New BoundInterpolatedStringExpression(syntax, contentBuilder.ToImmutableAndFree(), binder:=Me, type:=GetSpecialType(SpecialType.System_String, syntax, diagnostics))
Binding\Binder_Invocation.vb (5)
2725GetSpecialType(SpecialType.System_Int32, node, diagnostics)).MakeCompilerGenerated()}).AsImmutableOrNull(), 3184literal = New BoundLiteral(syntax, callerInfoValue, GetSpecialType(SpecialType.System_Int32, syntax, ignoreDiagnostics)) 3187literal = New BoundLiteral(syntax, callerInfoValue, GetSpecialType(SpecialType.System_String, syntax, ignoreDiagnostics)) 3231defaultArgumentType = GetSpecialType(SpecialType.System_Int32, syntax, diagnostics) 3241defaultArgumentType = GetSpecialType(defaultSpecialType, syntax, diagnostics)
Binding\Binder_Lambda.vb (6)
73returnType = GetSpecialType(SpecialType.System_Void, node.SubOrFunctionHeader, diagnostics) 133objectType = GetSpecialType(SpecialType.System_Object, unboundParam.IdentifierSyntax, diagnostics) 925lambdaReturnType = GetSpecialType(SpecialType.System_Collections_Generic_IEnumerable_T, source.Syntax, diagnostics). 926Construct(GetSpecialType(SpecialType.System_Object, source.Syntax, diagnostics)) 942lambdaReturnType = GetSpecialType(SpecialType.System_Object, source.Syntax, diagnostics) 997lambdaReturnType = GetSpecialType(SpecialType.System_Collections_Generic_IEnumerable_T, source.Syntax, diagnostics).Construct(lambdaReturnType)
Binding\Binder_Latebound.vb (4)
60Dim objType = Me.GetSpecialType(SpecialType.System_Object, node, diagnostics) 165Dim objectType = GetSpecialType(SpecialType.System_Object, node, diagnostics) 183argument = omitted.Update(GetSpecialType(SpecialType.System_Object, argument.Syntax, diagnostics)) 227Dim objType = Me.GetSpecialType(SpecialType.System_Object, node, diagnostics)
Binding\Binder_ObjectInitializer.vb (1)
803Dim ienumerable = GetSpecialType(SpecialType.System_Collections_IEnumerable,
Binding\Binder_Operators.vb (10)
45Dim booleanType = GetSpecialType(SpecialType.System_Boolean, node, diagnostics) 81GetSpecialType(SpecialType.System_Object, targetArgument.Syntax, diagnostics), 104GetSpecialType(SpecialType.System_Object, targetArgument.Syntax, diagnostics), 791stringType = GetSpecialType(SpecialType.System_String, dbNullOperand.Syntax, diagnostics) 852resultType = GetSpecialType(specialType, node, diagnostics) 1025rightType = GetSpecialType(defaultRightSpecialType, right.Syntax, diagnostics) 1064leftType = GetSpecialType(defaultLeftSpecialType, left.Syntax, diagnostics) 1093rightType = GetSpecialType(SpecialType.System_String, right.Syntax, diagnostics) 1113Dim int32Type = GetSpecialType(SpecialType.System_Int32, node.Operand, diagnostics) 1166resultType = GetSpecialType(intrinsicOperatorType, node.Operand, diagnostics)
Binding\Binder_Query.vb (2)
2331Dim boolSymbol As NamedTypeSymbol = GetSpecialType(SpecialType.System_Boolean, condition, diagnostics) 4390inferredType = GetSpecialType(SpecialType.System_Object, source.Syntax, additionalDiagnostics)
Binding\Binder_SelectCase.vb (1)
390Dim booleanType = GetSpecialType(SpecialType.System_Boolean, selectExpression.Syntax, diagnostics)
Binding\Binder_Statements.vb (14)
2178Dim int32 As NamedTypeSymbol = GetSpecialType(SpecialType.System_Int32, midExpression, diagnostics) 2190Dim stringType As NamedTypeSymbol = GetSpecialType(SpecialType.System_String, midExpression, diagnostics) 2722GetSpecialType(SpecialType.System_Void, conditionalAccess.Syntax, diagnostics)) 3136Me.GetSpecialType(SpecialType.System_Int32, forStatement, diagnostics)) 3162Dim integerType = GetSpecialType(SpecialType.System_Int32, node, diagnostics) 3163Dim booleanType = GetSpecialType(SpecialType.System_Boolean, node, diagnostics) 3742Dim genericIEnumerable = GetSpecialType(SpecialType.System_Collections_Generic_IEnumerable_T, collectionSyntax, ienumerableUseSiteDiagnostics) 3782Dim ienumerable = GetSpecialType(SpecialType.System_Collections_IEnumerable, collectionSyntax, ienumerableUseSiteDiagnostics) 3954elementType = GetSpecialType(SpecialType.System_Char, collectionSyntax, diagnostics) 3960Dim idisposable = GetSpecialType(SpecialType.System_IDisposable, collectionSyntax, diagnostics) 4417Dim iDisposable = GetSpecialType(SpecialType.System_IDisposable, 4921Dim boolSymbol As NamedTypeSymbol = GetSpecialType(SpecialType.System_Boolean, node, diagnostics) 5087Return GetSpecialType(SpecialType.System_Object, node, diagnostics) 5205GetSpecialType(SpecialType.System_Int32, node.ErrorNumber, diagnostics),
Binding\Binder_Utils.vb (4)
295Dim nullableType As NamedTypeSymbol = DirectCast(GetSpecialType(SpecialType.System_Nullable_T, syntax, diagBag), NamedTypeSymbol) 676typeCharacterType = GetSpecialType(specialType, identifier, diagBag) 695Return GetSpecialType(SpecialType.System_Object, identifier, diagBag) 1408If(operandType, GetSpecialType(SpecialType.System_Object, operand.Syntax, diagnostics)),
Binding\Binder_XmlLiterals.vb (2)
292Dim prefixesType = CreateArrayType(GetSpecialType(SpecialType.System_String, syntax, diagnostics)) 1057Dim result = New BoundLiteral(syntax, ConstantValue.Create(str), GetSpecialType(SpecialType.System_String, syntax, diagnostics), hasErrors:=hasErrors)
Binding\DocumentationCommentCrefBinder_Compat.vb (1)
390symbols.Add(Me.GetSpecialType(type, node, BindingDiagnosticBag.Discarded))
Binding\ImplicitVariableBinder.vb (1)
167GetSpecialType(localSpecialType, nameSyntax, diagnostics))
Semantics\TypeInference\TypeArgumentInference.vb (1)
468Graph.ObjectType = unboundLambda.Binder.GetSpecialType(SpecialType.System_Object, lambdaParameter.IdentifierSyntax, Graph.Diagnostic)
Symbols\ConstantValueUtils.vb (1)
44boundValueType = binder.GetSpecialType(SpecialType.System_Object, initValueSyntax, diagnostics)
Symbols\Source\SourceDelegateMethodSymbol.vb (6)
81Dim voidType = binder.GetSpecialType(SpecialType.System_Void, syntax, diagnostics) 82Dim iAsyncResultType = binder.GetSpecialType(SpecialType.System_IAsyncResult, syntax, diagnostics) 83Dim objectType = binder.GetSpecialType(SpecialType.System_Object, syntax, diagnostics) 84Dim intPtrType = binder.GetSpecialType(SpecialType.System_IntPtr, syntax, diagnostics) 85Dim asyncCallbackType = binder.GetSpecialType(SpecialType.System_AsyncCallback, syntax, diagnostics) 123Return binder.GetSpecialType(SpecialType.System_Void, syntax, diagnostics)
Symbols\Source\SourceMethodSymbol.vb (3)
2249Return binder.GetSpecialType(SpecialType.System_Void, Syntax, diagBag) 2255binder.GetSpecialType(SpecialType.System_Void, Syntax, diagBag)) 2270retType = binder.GetSpecialType(SpecialType.System_Void, Syntax, diagBag)
Symbols\Source\SourceNamedTypeSymbol.vb (1)
1788Return bodyBinder.GetSpecialType(Microsoft.CodeAnalysis.SpecialType.System_Int32, syntax.EnumStatement.Identifier, diagnostics)
Symbols\Source\SourcePropertyAccessorSymbol.vb (1)
240Return binder.GetSpecialType(SpecialType.System_Void, Me.DeclarationSyntax, diagBag)
Symbols\Source\SourcePropertySymbol.vb (1)
279bodyBinder.GetSpecialType(SpecialType.System_Void, identifier, diagnostics),
Symbols\SynthesizedSymbols\SynthesizedConstructorBase.vb (1)
47m_voidType = binder.GetSpecialType(SpecialType.System_Void, syntaxReference.GetSyntax(), diagnostics)