50 references to GetSpecialType
Microsoft.CodeAnalysis.VisualBasic (50)
Binding\Binder_Expressions.vb (6)
552
expressionType =
GetSpecialType
(SpecialType.System_Object, expression.Syntax, diagnostics)
972
resultType =
GetSpecialType
(SpecialType.System_Nullable_T, expr.Syntax, diagnostics).Construct(resultType)
1439
GetSpecialType
(SpecialType.System_Object, expr.Syntax, diagnostics), Nothing)
4130
Dim Int32Type =
GetSpecialType
(SpecialType.System_Int32, node, diagnostics)
4606
dominantType =
GetSpecialType
(SpecialType.System_Object, syntax, diagnostics)
4611
dominantType =
GetSpecialType
(SpecialType.System_Object, syntax, diagnostics)
Binding\Binder_Invocation.vb (4)
2719
GetSpecialType
(SpecialType.System_Int32, node, diagnostics)).MakeCompilerGenerated()}).AsImmutableOrNull(),
3178
literal = New BoundLiteral(syntax, callerInfoValue,
GetSpecialType
(SpecialType.System_Int32, syntax, ignoreDiagnostics))
3181
literal = New BoundLiteral(syntax, callerInfoValue,
GetSpecialType
(SpecialType.System_String, syntax, ignoreDiagnostics))
3225
defaultArgumentType =
GetSpecialType
(SpecialType.System_Int32, syntax, diagnostics)
Binding\Binder_Lambda.vb (4)
925
lambdaReturnType =
GetSpecialType
(SpecialType.System_Collections_Generic_IEnumerable_T, source.Syntax, diagnostics).
926
Construct(
GetSpecialType
(SpecialType.System_Object, source.Syntax, diagnostics))
942
lambdaReturnType =
GetSpecialType
(SpecialType.System_Object, source.Syntax, diagnostics)
997
lambdaReturnType =
GetSpecialType
(SpecialType.System_Collections_Generic_IEnumerable_T, source.Syntax, diagnostics).Construct(lambdaReturnType)
Binding\Binder_Latebound.vb (4)
60
Dim objType = Me.
GetSpecialType
(SpecialType.System_Object, node, diagnostics)
165
Dim objectType =
GetSpecialType
(SpecialType.System_Object, node, diagnostics)
183
argument = omitted.Update(
GetSpecialType
(SpecialType.System_Object, argument.Syntax, diagnostics))
227
Dim objType = Me.
GetSpecialType
(SpecialType.System_Object, node, diagnostics)
Binding\Binder_Operators.vb (8)
75
Dim booleanType =
GetSpecialType
(SpecialType.System_Boolean, node, diagnostics)
111
GetSpecialType
(SpecialType.System_Object, targetArgument.Syntax, diagnostics),
134
GetSpecialType
(SpecialType.System_Object, targetArgument.Syntax, diagnostics),
821
stringType =
GetSpecialType
(SpecialType.System_String, dbNullOperand.Syntax, diagnostics)
882
resultType =
GetSpecialType
(specialType, node, diagnostics)
1055
rightType =
GetSpecialType
(defaultRightSpecialType, right.Syntax, diagnostics)
1094
leftType =
GetSpecialType
(defaultLeftSpecialType, left.Syntax, diagnostics)
1123
rightType =
GetSpecialType
(SpecialType.System_String, right.Syntax, diagnostics)
Binding\Binder_Query.vb (1)
4390
inferredType =
GetSpecialType
(SpecialType.System_Object, source.Syntax, additionalDiagnostics)
Binding\Binder_SelectCase.vb (1)
390
Dim booleanType =
GetSpecialType
(SpecialType.System_Boolean, selectExpression.Syntax, diagnostics)
Binding\Binder_Statements.vb (5)
2751
GetSpecialType
(SpecialType.System_Void, conditionalAccess.Syntax, diagnostics))
3771
Dim genericIEnumerable =
GetSpecialType
(SpecialType.System_Collections_Generic_IEnumerable_T, collectionSyntax, ienumerableUseSiteDiagnostics)
3811
Dim ienumerable =
GetSpecialType
(SpecialType.System_Collections_IEnumerable, collectionSyntax, ienumerableUseSiteDiagnostics)
3983
elementType =
GetSpecialType
(SpecialType.System_Char, collectionSyntax, diagnostics)
3989
Dim idisposable =
GetSpecialType
(SpecialType.System_IDisposable, collectionSyntax, diagnostics)
Binding\Binder_Utils.vb (4)
295
Dim nullableType As NamedTypeSymbol = DirectCast(
GetSpecialType
(SpecialType.System_Nullable_T, syntax, diagBag), NamedTypeSymbol)
676
typeCharacterType =
GetSpecialType
(specialType, identifier, diagBag)
695
Return
GetSpecialType
(SpecialType.System_Object, identifier, diagBag)
1408
If(operandType,
GetSpecialType
(SpecialType.System_Object, operand.Syntax, diagnostics)),
Binding\Binder_XmlLiterals.vb (1)
1057
Dim result = New BoundLiteral(syntax, ConstantValue.Create(str),
GetSpecialType
(SpecialType.System_String, syntax, diagnostics), hasErrors:=hasErrors)
Symbols\ConstantValueUtils.vb (1)
44
boundValueType = binder.
GetSpecialType
(SpecialType.System_Object, initValueSyntax, diagnostics)
Symbols\Source\SourceDelegateMethodSymbol.vb (6)
81
Dim voidType = binder.
GetSpecialType
(SpecialType.System_Void, syntax, diagnostics)
82
Dim iAsyncResultType = binder.
GetSpecialType
(SpecialType.System_IAsyncResult, syntax, diagnostics)
83
Dim objectType = binder.
GetSpecialType
(SpecialType.System_Object, syntax, diagnostics)
84
Dim intPtrType = binder.
GetSpecialType
(SpecialType.System_IntPtr, syntax, diagnostics)
85
Dim asyncCallbackType = binder.
GetSpecialType
(SpecialType.System_AsyncCallback, syntax, diagnostics)
123
Return binder.
GetSpecialType
(SpecialType.System_Void, syntax, diagnostics)
Symbols\Source\SourceMethodSymbol.vb (3)
2292
Return binder.
GetSpecialType
(SpecialType.System_Void, Syntax, diagBag)
2298
binder.
GetSpecialType
(SpecialType.System_Void, Syntax, diagBag))
2313
retType = binder.
GetSpecialType
(SpecialType.System_Void, Syntax, diagBag)
Symbols\Source\SourcePropertySymbol.vb (1)
281
bodyBinder.
GetSpecialType
(SpecialType.System_Void, identifier, diagnostics),
Symbols\SynthesizedSymbols\SynthesizedConstructorBase.vb (1)
47
m_voidType = binder.
GetSpecialType
(SpecialType.System_Void, syntaxReference.GetSyntax(), diagnostics)