152 references to IsObjectType
Microsoft.CodeAnalysis.VisualBasic (152)
Binding\Binder_Conversions.vb (5)
122
(targetType.
IsObjectType
() OrElse targetType.SpecialType = SpecialType.System_ValueType) Then
249
(targetType.
IsObjectType
() OrElse targetType.SpecialType = SpecialType.System_ValueType) Then
509
(targetType.
IsObjectType
() OrElse targetType.SpecialType = SpecialType.System_ValueType) Then
1519
If targetType.IsStrictSupertypeOfConcreteDelegate() AndAlso Not targetType.
IsObjectType
() Then
1775
(targetElement.
IsObjectType
() OrElse targetElement.SpecialType = SpecialType.System_ValueType) AndAlso
Binding\Binder_Expressions.vb (8)
2059
Debug.Assert(dominantType.
IsObjectType
)
2950
ElseIf (type.
IsObjectType
AndAlso Not left.IsMyBaseReference) OrElse type.IsExtensibleInterfaceNoUseSiteDiagnostics Then
4683
ElseIf operand.Type.
IsObjectType
() Then
4710
If operand.Type.
IsObjectType
Then
4717
Debug.Assert(getAwaiter.Type.
IsObjectType
())
4724
Debug.Assert(isCompleted.Type.
IsObjectType
())
4729
Debug.Assert(getResult.Type.
IsObjectType
())
4773
getAwaiter.Type.
IsObjectType
() Then
Binding\Binder_Initializers.vb (1)
172
If fieldSymbol.Type.
IsObjectType
() AndAlso
Binding\Binder_Lambda.vb (4)
971
Debug.Assert(lambdaReturnType.
IsObjectType
())
975
Debug.Assert(lambdaReturnType.
IsObjectType
())
981
Debug.Assert(lambdaReturnType.
IsObjectType
())
985
Debug.Assert(lambdaReturnType.
IsObjectType
())
Binding\Binder_Lookup.vb (1)
1167
Not container.
IsObjectType
() AndAlso
Binding\Binder_Operators.vb (9)
365
If OptionCompareText AndAlso (operandType.
IsObjectType
() OrElse operandType.IsStringType()) Then
369
If Not operatorResultType.
IsObjectType
() OrElse
388
If Not operatorResultType.
IsObjectType
() Then
414
If leftType.
IsObjectType
Then
419
If rightType.
IsObjectType
() Then
438
If leftType.
IsObjectType
Then
442
If rightType.
IsObjectType
Then
482
Not operandType.
IsObjectType
() Then
951
If resultType Is Nothing OrElse Not (resultType.IsNullableType() OrElse resultType.
IsObjectType
()) Then
Binding\Binder_Query.vb (1)
2340
ElseIf predicateType.
IsObjectType
() Then
Binding\Binder_Statements.vb (7)
746
ElseIf redimTargetType.
IsObjectType
() Then
1440
Not hasExplicitType AndAlso type.
IsObjectType
() AndAlso
2642
Not boundExpression.Type.
IsObjectType
() Then
3336
If targetType.
IsObjectType
Then
3812
If ((collection.IsNothingLiteral OrElse collectionType.
IsObjectType
) AndAlso Me.OptionStrict <> OptionStrict.On) OrElse
3815
Debug.Assert(collection.IsNothingLiteral OrElse collectionType.
IsObjectType
OrElse (TypeSymbol.Equals(matchingInterfaces.First, ienumerable, TypeCompareKind.ConsiderEverything) AndAlso matchingInterfaces.Count = 1))
4612
(resourceType.
IsObjectType
() AndAlso OptionStrict <> OptionStrict.On) Then
Binding\Binder_Utils.vb (2)
510
If asClauseOrValueType Is Nothing AndAlso baseType.
IsObjectType
() Then
1432
If conversionType.
IsObjectType
Then
Binding\Binder_XmlLiterals.vb (1)
180
If argument.Type.
IsObjectType
AndAlso OptionStrict <> VisualBasic.OptionStrict.On Then
Compilation\MethodCompiler.vb (1)
1937
Debug.Assert(defaultConstructorType.
IsObjectType
)
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Await.vb (2)
72
Dim isAwaiterTempImpliesLateBound As Boolean = awaiterType.
IsObjectType
146
Dim isAwaiterTempImpliesLateBound As Boolean = awaiterType.
IsObjectType
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_BinaryOperator.vb (4)
226
Debug.Assert(originalLeft.Type Is Nothing OrElse originalLeft.Type.
IsObjectType
)
233
Debug.Assert(originalRight.Type Is Nothing OrElse originalRight.Type.
IsObjectType
)
351
If resultUnderlyingType.
IsObjectType
Then
371
If resultUnderlyingType.
IsObjectType
Then
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_Conversion.vb (3)
145
If typeTo.
IsObjectType
Then
173
If typeFrom.
IsObjectType
Then
226
ElseIf underlyingFrom.
IsObjectType
() AndAlso underlyingTo.IsTypeParameter() Then
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (1)
480
If Not receiverOpt.Type.
IsObjectType
Then
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (1)
350
If Not result.HasErrors AndAlso result.Type.
IsObjectType
() AndAlso Not Me.ContainingAssembly.IsVbRuntime Then
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (48)
249
If node.Type.
IsObjectType
() Then
256
If node.Left.Type.
IsObjectType
() Then
269
If node.Type.
IsObjectType
() OrElse Me._inExpressionLambda AndAlso leftType.
IsObjectType
() Then
273
If leftType.
IsObjectType
() Then
288
If node.Type.
IsObjectType
() OrElse Me._inExpressionLambda AndAlso leftType.
IsObjectType
() Then
292
If leftType.
IsObjectType
() Then
307
If node.Type.
IsObjectType
() OrElse Me._inExpressionLambda AndAlso leftType.
IsObjectType
() Then
311
If leftType.
IsObjectType
() Then
326
If node.Type.
IsObjectType
() OrElse Me._inExpressionLambda AndAlso leftType.
IsObjectType
() Then
330
If leftType.
IsObjectType
() Then
345
If node.Type.
IsObjectType
() OrElse Me._inExpressionLambda AndAlso leftType.
IsObjectType
() Then
349
If leftType.
IsObjectType
() Then
364
If node.Type.
IsObjectType
() OrElse Me._inExpressionLambda AndAlso leftType.
IsObjectType
() Then
368
If leftType.
IsObjectType
() Then
380
If node.Type.
IsObjectType
() AndAlso Not _inExpressionLambda Then
387
If node.Type.
IsObjectType
() AndAlso Not _inExpressionLambda Then
394
If node.Type.
IsObjectType
() AndAlso Not _inExpressionLambda Then
401
If node.Type.
IsObjectType
() AndAlso Not _inExpressionLambda Then
408
If node.Type.
IsObjectType
() AndAlso Not _inExpressionLambda Then
415
If node.Type.
IsObjectType
() AndAlso Not _inExpressionLambda Then
420
If node.Type.
IsObjectType
() AndAlso Not _inExpressionLambda Then
427
If node.Type.
IsObjectType
() AndAlso Not _inExpressionLambda Then
432
If node.Type.
IsObjectType
() AndAlso Not _inExpressionLambda Then
437
If node.Type.
IsObjectType
() AndAlso Not _inExpressionLambda Then
442
If node.Type.
IsObjectType
() AndAlso Not _inExpressionLambda Then
447
If node.Type.
IsObjectType
() AndAlso Not _inExpressionLambda Then
452
If node.Type.
IsObjectType
() AndAlso Not _inExpressionLambda Then
540
Debug.Assert(node.Type.
IsObjectType
())
546
If rewrittenLeft.Type.
IsObjectType
() AndAlso rewrittenRight.Type.
IsObjectType
() Then
585
Debug.Assert(memberSymbol.Parameters(0).Type.
IsObjectType
())
713
Debug.Assert(node.Left.Type.
IsObjectType
())
714
Debug.Assert(node.Right.Type.
IsObjectType
())
715
Debug.Assert(node.Type.
IsObjectType
() OrElse node.Type.IsBooleanType())
726
Debug.Assert(memberSymbol.ReturnType Is node.Type OrElse Me._inExpressionLambda AndAlso memberSymbol.ReturnType.
IsObjectType
)
737
If Me._inExpressionLambda AndAlso memberSymbol.ReturnType.
IsObjectType
AndAlso node.Type.IsBooleanType Then
748
Debug.Assert((node.Type.
IsObjectType
() AndAlso left.Type.
IsObjectType
() AndAlso right.Type.
IsObjectType
()) OrElse
777
Debug.Assert(left.Type.
IsObjectType
())
778
Debug.Assert(right.Type.
IsObjectType
())
779
Debug.Assert(node.Type.
IsObjectType
())
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (8)
70
If Not node.HasErrors AndAlso node.Type.IsBooleanType() AndAlso node.Operand.Type.
IsObjectType
() Then
92
Debug.Assert(binary.Type.
IsObjectType
())
752
ElseIf underlyingTypeFrom.
IsObjectType
() AndAlso
799
Debug.Assert(memberSymbol.Parameters(0).Type.
IsObjectType
())
801
If Not operand.Type.
IsObjectType
() Then
833
Debug.Assert(typeFrom.
IsObjectType
())
873
If Not operand.Type.
IsObjectType
() Then
874
Debug.Assert(typeFrom.
IsObjectType
())
Lowering\LocalRewriter\LocalRewriter_ForTo.vb (1)
25
Dim isObjectLoop = rewrittenControlVariable.Type.
IsObjectType
Lowering\LocalRewriter\LocalRewriter_LateBindingHelpers.vb (10)
17
Debug.Assert(objectType.
IsObjectType
)
22
If Not rewrittenReceiver.Type.
IsObjectType
Then
107
Debug.Assert(objectType.
IsObjectType
)
127
If Not argument.Type.
IsObjectType
Then
165
Debug.Assert(objectType.
IsObjectType
)
169
If Not rewrittenValue.Type.
IsObjectType
Then
216
If Not argument.Type.
IsObjectType
Then
232
If Not rewrittenValue.Type.
IsObjectType
Then
269
Debug.Assert(objectType.
IsObjectType
)
281
If Not argument.Type.
IsObjectType
Then
Lowering\LocalRewriter\LocalRewriter_OmittedArgument.vb (1)
15
Debug.Assert(node.Type.
IsObjectType
)
Lowering\LocalRewriter\LocalRewriter_SyncLock.vb (1)
93
If node.LockExpression.Type.
IsObjectType
() AndAlso
Lowering\LocalRewriter\LocalRewriter_UnaryOperators.vb (3)
100
If opType.
IsObjectType
() Then
111
Debug.Assert(node.Operand.Type.
IsObjectType
() AndAlso node.Type.
IsObjectType
())
Operations\VisualBasicOperationFactory.vb (1)
1171
Dim loopObj = If(boundForToStatement.ControlVariable.Type.
IsObjectType
,
Semantics\CompileTimeCalculations.vb (1)
685
targetType.
IsObjectType
() OrElse
Semantics\Conversions.vb (11)
538
(sourceEnumUnderlying.IsStringType() OrElse sourceEnumUnderlying.
IsObjectType
()) Then
543
(targetEnumUnderlying.IsStringType() OrElse targetEnumUnderlying.
IsObjectType
()) Then
561
If target.
IsObjectType
() Then
566
If source.
IsObjectType
() Then
578
If ((sourceIsEnum AndAlso Not target.
IsObjectType
()) OrElse
579
(targetIsEnum AndAlso Not source.
IsObjectType
())) Then
630
Debug.Assert(Not source.
IsObjectType
() AndAlso Not target.
IsObjectType
())
1471
If sourceType IsNot Nothing AndAlso Not sourceType.IsErrorType() AndAlso Not sourceType.
IsObjectType
() Then
1707
If destination.
IsObjectType
() AndAlso constantExpression.Type IsNot Nothing AndAlso
1708
constantExpression.Type.
IsObjectType
() Then
Semantics\Operators.vb (9)
401
If sourceType.
IsObjectType
() Then
408
ElseIf targetType.
IsObjectType
() Then
523
(enumUnderlying.IsStringType() OrElse enumUnderlying.
IsObjectType
()) Then
886
(leftEnumUnderlying.IsStringType() OrElse leftEnumUnderlying.
IsObjectType
() OrElse leftEnumUnderlying.IsCharSZArray())) OrElse
888
(rightEnumUnderlying.IsStringType() OrElse rightEnumUnderlying.
IsObjectType
() OrElse rightEnumUnderlying.IsCharSZArray())) Then
918
If leftType.
IsObjectType
() Then
922
ElseIf rightType.
IsObjectType
() Then
3155
argument1.Type.
IsObjectType
OrElse argument2.Type.
IsObjectType
,
Semantics\TypeInference\TypeArgumentInference.vb (3)
246
currentNamedNode.Expression.Type.
IsObjectType
() Then
363
Debug.Assert(Not typeByAssumption OrElse type.
IsObjectType
() OrElse TypeOf type Is ArrayLiteralTypeSymbol, "unexpected: a type which was 'by assumption', but isn't object or array literal")
588
If Not (Expression.Type IsNot Nothing AndAlso Expression.Type.
IsObjectType
()) Then
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (1)
428
If prop.Type.
IsObjectType
() AndAlso prop.SetMethod IsNot Nothing Then
Symbols\Source\SourceNamedTypeSymbol_GroupClass.vb (1)
273
While classType IsNot Nothing AndAlso Not classType.
IsObjectType
()
Symbols\Source\UnboundLambdaParameterSymbol.vb (1)
92
If paramType.
IsObjectType
() AndAlso syntax.AsClause Is Nothing Then
Symbols\TypeSymbolExtensions.vb (1)
503
If Not (underlyingType.IsIntrinsicType() OrElse underlyingType.
IsObjectType
()) Then