50 references to GetSpecialType
Microsoft.CodeAnalysis.VisualBasic (50)
Binding\Binder_Expressions.vb (6)
552expressionType = GetSpecialType(SpecialType.System_Object, expression.Syntax, diagnostics) 972resultType = GetSpecialType(SpecialType.System_Nullable_T, expr.Syntax, diagnostics).Construct(resultType) 1439GetSpecialType(SpecialType.System_Object, expr.Syntax, diagnostics), Nothing) 4130Dim Int32Type = GetSpecialType(SpecialType.System_Int32, node, diagnostics) 4606dominantType = GetSpecialType(SpecialType.System_Object, syntax, diagnostics) 4611dominantType = GetSpecialType(SpecialType.System_Object, syntax, diagnostics)
Binding\Binder_Invocation.vb (4)
2719GetSpecialType(SpecialType.System_Int32, node, diagnostics)).MakeCompilerGenerated()}).AsImmutableOrNull(), 3178literal = New BoundLiteral(syntax, callerInfoValue, GetSpecialType(SpecialType.System_Int32, syntax, ignoreDiagnostics)) 3181literal = New BoundLiteral(syntax, callerInfoValue, GetSpecialType(SpecialType.System_String, syntax, ignoreDiagnostics)) 3225defaultArgumentType = GetSpecialType(SpecialType.System_Int32, syntax, diagnostics)
Binding\Binder_Lambda.vb (4)
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_Operators.vb (8)
75Dim booleanType = GetSpecialType(SpecialType.System_Boolean, node, diagnostics) 111GetSpecialType(SpecialType.System_Object, targetArgument.Syntax, diagnostics), 134GetSpecialType(SpecialType.System_Object, targetArgument.Syntax, diagnostics), 821stringType = GetSpecialType(SpecialType.System_String, dbNullOperand.Syntax, diagnostics) 882resultType = GetSpecialType(specialType, node, diagnostics) 1055rightType = GetSpecialType(defaultRightSpecialType, right.Syntax, diagnostics) 1094leftType = GetSpecialType(defaultLeftSpecialType, left.Syntax, diagnostics) 1123rightType = GetSpecialType(SpecialType.System_String, right.Syntax, diagnostics)
Binding\Binder_Query.vb (1)
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 (5)
2751GetSpecialType(SpecialType.System_Void, conditionalAccess.Syntax, diagnostics)) 3771Dim genericIEnumerable = GetSpecialType(SpecialType.System_Collections_Generic_IEnumerable_T, collectionSyntax, ienumerableUseSiteDiagnostics) 3811Dim ienumerable = GetSpecialType(SpecialType.System_Collections_IEnumerable, collectionSyntax, ienumerableUseSiteDiagnostics) 3983elementType = GetSpecialType(SpecialType.System_Char, collectionSyntax, diagnostics) 3989Dim idisposable = GetSpecialType(SpecialType.System_IDisposable, collectionSyntax, 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 (1)
1057Dim result = New BoundLiteral(syntax, ConstantValue.Create(str), GetSpecialType(SpecialType.System_String, syntax, diagnostics), hasErrors:=hasErrors)
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)
2292Return binder.GetSpecialType(SpecialType.System_Void, Syntax, diagBag) 2298binder.GetSpecialType(SpecialType.System_Void, Syntax, diagBag)) 2313retType = binder.GetSpecialType(SpecialType.System_Void, Syntax, diagBag)
Symbols\Source\SourcePropertySymbol.vb (1)
281bodyBinder.GetSpecialType(SpecialType.System_Void, identifier, diagnostics),
Symbols\SynthesizedSymbols\SynthesizedConstructorBase.vb (1)
47m_voidType = binder.GetSpecialType(SpecialType.System_Void, syntaxReference.GetSyntax(), diagnostics)