129 references to IsSameTypeIgnoringAll
Microsoft.CodeAnalysis.VisualBasic (129)
Binding\Binder_Conversions.vb (4)
154
sourceType.GetEnumUnderlyingTypeOrSelf().
IsSameTypeIgnoringAll
(targetType.GetEnumUnderlyingTypeOrSelf()))
337
If Not isExplicit AndAlso argument.Type.
IsSameTypeIgnoringAll
(targetType) Then
442
Debug.Assert(argument.Type.
IsSameTypeIgnoringAll
(targetType))
829
If sourceArg.
IsSameTypeIgnoringAll
(destinationArg) Then
Binding\Binder_Invocation.vb (1)
2487
If Not (argument.IsLValue() AndAlso targetType.
IsSameTypeIgnoringAll
(argument.Type)) Then
Binding\Binder_Lambda.vb (1)
879
If Not result.
IsSameTypeIgnoringAll
(candidate) Then
Binding\Binder_ObjectInitializer.vb (1)
514
Debug.Assert(resultExpression.Type.
IsSameTypeIgnoringAll
(type0))
Binding\Binder_Operators.vb (4)
336
leftType.GetNullableUnderlyingTypeOrSelf().
IsSameTypeIgnoringAll
(rightType.GetNullableUnderlyingTypeOrSelf()))
687
If Not operatorType.
IsSameTypeIgnoringAll
(bitwiseCandidate.Parameters(0).Type) OrElse
688
Not operatorType.
IsSameTypeIgnoringAll
(bitwiseCandidate.Parameters(1).Type) Then
735
If Not operatorType.
IsSameTypeIgnoringAll
(checkCandidate.Parameters(0).Type) Then
Binding\Binder_Query.vb (3)
3466
If keysAreGood AndAlso Not outerKey.Type.
IsSameTypeIgnoringAll
(innerKey.Type) Then
4171
Not targetVariableType.
IsSameTypeIgnoringAll
(variableType) Then
4482
ElseIf Not result.
IsSameTypeIgnoringAll
(inferredType) Then
Binding\Binder_Statements.vb (9)
1225
Debug.Assert(declarationInitializer.Type.
IsSameTypeIgnoringAll
(declType))
1241
Not type.
IsSameTypeIgnoringAll
(declarationInitializer.Type) Then
2362
If Not method.Parameters(0).Type.
IsSameTypeIgnoringAll
(targetType) OrElse
2363
Not method.ReturnType.
IsSameTypeIgnoringAll
(tokenType) Then
2366
ElseIf Not method.Parameters(0).Type.
IsSameTypeIgnoringAll
(tokenType) OrElse Not method.IsSub Then
2370
ElseIf Not method.Parameters(0).Type.
IsSameTypeIgnoringAll
(targetType) Then
3297
If Not bestCandidate.Parameters(0).Type.
IsSameTypeIgnoringAll
(left.Type) OrElse
3298
Not bestCandidate.Parameters(1).Type.
IsSameTypeIgnoringAll
(left.Type) OrElse
3299
(Not isRelational AndAlso Not bestCandidate.ReturnType.
IsSameTypeIgnoringAll
(left.Type)) Then
Binding\Binder_Utils.vb (2)
1461
If
IsSameTypeIgnoringAll
(conversionType.GetNullableUnderlyingType, operandType) Then
1488
If
IsSameTypeIgnoringAll
(operandType, conversionType) Then
Binding\DocumentationCommentCrefBinder.vb (1)
139
If candidateMethod.IsSub OrElse Not candidateMethod.ReturnType.
IsSameTypeIgnoringAll
(returnType) Then
CodeGen\EmitConversion.vb (3)
289
Not typeFrom.GetEnumUnderlyingTypeOrSelf().
IsSameTypeIgnoringAll
(typeTo.GetEnumUnderlyingTypeOrSelf()) AndAlso
328
If typeFrom.GetEnumUnderlyingTypeOrSelf().
IsSameTypeIgnoringAll
(typeTo.GetEnumUnderlyingTypeOrSelf()) Then
411
Not [interface].TypeArgumentsNoUseSiteDiagnostics(0).
IsSameTypeIgnoringAll
(fromElementType) Then
CodeGen\Optimizer\StackScheduler.Analyzer.vb (2)
532
Debug.Assert(node.ByRefLocal.Type.
IsSameTypeIgnoringAll
(node.LValue.Type),
602
Debug.Assert(node.Left.Type.
IsSameTypeIgnoringAll
(node.Right.Type),
Compilation\SemanticModel.vb (1)
967
If (type Is Nothing OrElse Not type.
IsSameTypeIgnoringAll
(convertedType)) Then
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_BinaryOperator.vb (3)
171
Debug.Assert(operand.Call.Method.ReturnType.
IsSameTypeIgnoringAll
(operand.Call.Method.Parameters(0).Type) AndAlso
172
operand.Call.Method.ReturnType.
IsSameTypeIgnoringAll
(operand.Call.Method.Parameters(1).Type))
771
IsSameTypeIgnoringAll
(methodReturnType.GetNullableUnderlyingTypeOrSelf))
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_ConditionalExpresion.vb (4)
46
If convTestExpr Is Nothing OrElse resultType.
IsSameTypeIgnoringAll
(testExpressionType) OrElse
47
(testExpressionType.IsNullableType AndAlso resultType.
IsSameTypeIgnoringAll
(testExpressionType.GetNullableUnderlyingType)) Then
193
toType.
IsSameTypeIgnoringAll
(outConv.Type) OrElse
194
toType.
IsSameTypeIgnoringAll
([call].Type))
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_Conversion.vb (1)
393
Debug.Assert(outerConversion.Type.
IsSameTypeIgnoringAll
(resultType))
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (4)
1445
Debug.Assert(leftCallInput.Type.
IsSameTypeIgnoringAll
(operatorCall.Method.Parameters(0).Type),
1447
Debug.Assert(rightCallInput.Type.
IsSameTypeIgnoringAll
(operatorCall.Method.Parameters(1).Type),
1460
If Not whenHasValue.Type.
IsSameTypeIgnoringAll
(resultType) Then
1464
Debug.Assert(whenHasValue.Type.
IsSameTypeIgnoringAll
(resultType), "result type must be same as resultType")
Lowering\LocalRewriter\LocalRewriter_ConditionalExpressions.vb (3)
235
rewrittenRight.Type.
IsSameTypeIgnoringAll
(rewrittenLeft.Type.GetNullableUnderlyingType()) _
273
If capturedleft.Type.
IsSameTypeIgnoringAll
(node.ConvertedTestExpression.Type) Then
301
If rewrittenLeft.Type.
IsSameTypeIgnoringAll
(convertedTestExpression.Type) Then
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (10)
176
If destinationType.
IsSameTypeIgnoringAll
(rewrittenOperand.Type) Then
388
Debug.Assert(rewrittenOperand.Type.
IsSameTypeIgnoringAll
(node.Type))
472
Debug.Assert(Not resultType.
IsSameTypeIgnoringAll
(operandType), "converting to same type")
533
If Not operand.Type.
IsSameTypeIgnoringAll
(unwrappedResultType) Then
814
Debug.Assert(memberSymbol.ReturnType.
IsSameTypeIgnoringAll
(node.Type))
886
Debug.Assert(memberSymbol.ReturnType.
IsSameTypeIgnoringAll
(underlyingTypeTo))
894
If Not targetResultType.
IsSameTypeIgnoringAll
(memberSymbol.ReturnType) Then
963
If Not operandType.
IsSameTypeIgnoringAll
(memberSymbol.Parameters(0).Type) Then
1031
Debug.Assert(memberSymbol.ReturnType.
IsSameTypeIgnoringAll
(underlyingTypeTo))
1039
If Not targetResultType.
IsSameTypeIgnoringAll
(memberSymbol.ReturnType) Then
Lowering\LocalRewriter\LocalRewriter_LateBindingHelpers.vb (1)
360
If Not targetType.
IsSameTypeIgnoringAll
(objectType) Then
Lowering\LocalRewriter\LocalRewriter_NullableHelpers.vb (3)
14
Debug.Assert(nullableType.GetNullableUnderlyingType.
IsSameTypeIgnoringAll
(expr.Type))
309
If (Not type.
IsSameTypeIgnoringAll
(candidateNullExpression.Type)) OrElse
543
Debug.Assert(whenTrue.Type.
IsSameTypeIgnoringAll
(whenFalse.Type), "ternary branches must have same types")
Lowering\LocalRewriter\LocalRewriter_ObjectCreation.vb (1)
48
Debug.Assert(node.Type.
IsSameTypeIgnoringAll
(result.Type))
Lowering\LocalRewriter\LocalRewriter_UnaryOperators.vb (3)
266
Debug.Assert(callInput.Type.
IsSameTypeIgnoringAll
(operatorCall.Method.Parameters(0).Type),
279
If Not whenHasValue.Type.
IsSameTypeIgnoringAll
(resultType) Then
283
Debug.Assert(whenHasValue.Type.
IsSameTypeIgnoringAll
(resultType), "result type must be same as resultType")
Lowering\LocalRewriter\LocalRewriter.vb (1)
74
Debug.Assert(value.Type.
IsSameTypeIgnoringAll
(placeholder.Type))
Lowering\SyntheticBoundNodeFactory.vb (1)
300
Debug.Assert(left.Type.
IsSameTypeIgnoringAll
(right.Type) OrElse right.Type.IsErrorType() OrElse left.Type.IsErrorType())
Semantics\Conversions.vb (20)
596
If Not (Conversions.IsIdentityConversion(conv) AndAlso sourceEnum.
IsSameTypeIgnoringAll
(targetEnum)) Then
657
Debug.Assert(Conversions.IsIdentityConversion(conv) AndAlso sourceNullable.
IsSameTypeIgnoringAll
(targetNullable))
1257
If source.InferredType?.
IsSameTypeIgnoringAll
(destination) Then
1398
Not lambdaParam.Type.
IsSameTypeIgnoringAll
(invokeParam.Type) Then
1424
ElseIf invoke.ReturnType.
IsSameTypeIgnoringAll
(source.LambdaSymbol.ReturnType) Then
1563
(lambdaParam.Type IsNot Nothing AndAlso Not lambdaParam.Type.
IsSameTypeIgnoringAll
(invokeParam.Type)) Then
1578
Not invokeParams(1).Type.
IsSameTypeIgnoringAll
(anonymousType.Properties(0).Type) Then
2301
If source.
IsSameTypeIgnoringAll
(destination) Then
2517
Return source.
IsSameTypeIgnoringAll
(destination)
2681
ElseIf Not _match.
IsSameTypeIgnoringAll
(source) Then
2708
If Not source.OriginalDefinition.
IsSameTypeIgnoringAll
(destination.OriginalDefinition) Then
2773
If sourceArg.
IsSameTypeIgnoringAll
(destinationArg) Then
2949
Debug.Assert(Not source.
IsSameTypeIgnoringAll
(destination))
3101
Debug.Assert(Not srcElem.
IsSameTypeIgnoringAll
(dstElem))
3529
ElseIf srcUnderlying.
IsSameTypeIgnoringAll
(destination) Then
3546
If source.
IsSameTypeIgnoringAll
(dstUnderlying) Then
3779
If constraint.
IsSameTypeIgnoringAll
(destination) Then
3785
DirectCast(constraint, NamedTypeSymbol).EnumUnderlyingType.
IsSameTypeIgnoringAll
(destination) Then
3944
If constraint.
IsSameTypeIgnoringAll
(source) Then
3949
DirectCast(constraint, NamedTypeSymbol).EnumUnderlyingType.
IsSameTypeIgnoringAll
(source) Then
Semantics\Operators.vb (10)
942
leftNullableUnderlying.
IsSameTypeIgnoringAll
(rightNullableUnderlying) Then
1059
Debug.Assert(leftType.
IsSameTypeIgnoringAll
(rightType) OrElse
2274
If Not (mostSpecificSourceType.
IsSameTypeIgnoringAll
(method.Parameters(0).Type) AndAlso
2275
mostSpecificTargetType.
IsSameTypeIgnoringAll
(method.ReturnType)) Then
2326
IsSameTypeIgnoringAll
(arrayLiteralType, inputType) Then
2684
If best IsNot Nothing AndAlso best.
IsSameTypeIgnoringAll
(type) Then
2706
Debug.Assert(Not best.
IsSameTypeIgnoringAll
(type))
2729
If best IsNot Nothing AndAlso best.
IsSameTypeIgnoringAll
(type) Then
2751
Debug.Assert(Not best.
IsSameTypeIgnoringAll
(type))
2889
If commonAncestor IsNot Nothing AndAlso commonAncestor.
IsSameTypeIgnoringAll
(current) Then
Semantics\OverloadResolution.vb (11)
2158
If Not leftParamType.
IsSameTypeIgnoringAll
(rightParamType) Then
2180
If Not leftType.
IsSameTypeIgnoringAll
(rightType) Then
2512
If left.
IsSameTypeIgnoringAll
(argType) Then
2516
If right.
IsSameTypeIgnoringAll
(argType) Then
2639
If Not leftParamType.
IsSameTypeIgnoringAll
(rightParamType) Then
3574
If argument.IsLValue() AndAlso targetType.
IsSameTypeIgnoringAll
(argument.Type) Then
4473
If Not existingType.
IsSameTypeIgnoringAll
(newType) Then
4496
If Not existingType.
IsSameTypeIgnoringAll
(newType) Then
4767
If leftParamType.
IsSameTypeIgnoringAll
(rightParamType) Then
5008
If Not left.Candidate.ReceiverType.
IsSameTypeIgnoringAll
(right.Candidate.ReceiverType) Then
5144
If Not leftType.
IsSameTypeIgnoringAll
(rightType) Then
Semantics\TypeInference\TypeArgumentInference.vb (7)
300
ElseIf Not firstInferredType.
IsSameTypeIgnoringAll
(currentTypeInfo.ResultType) Then
377
If TypeOf competitor.ResultType IsNot ArrayLiteralTypeSymbol AndAlso type.
IsSameTypeIgnoringAll
(competitor.ResultType) Then
1434
If argumentTypeAsNamedType.OriginalDefinition.
IsSameTypeIgnoringAll
(parameterTypeAsNamedType.OriginalDefinition) Then
1796
If baseSearchType.
IsSameTypeIgnoringAll
(fixedType) Then
1826
ElseIf match.
IsSameTypeIgnoringAll
(type) Then
1892
If baseType.OriginalDefinition.
IsSameTypeIgnoringAll
(baseClass.OriginalDefinition) Then
2183
IsSameTypeIgnoringAll
(lambdaReturnNamedType.OriginalDefinition,
Semantics\TypeInference\TypeInferenceCollection.vb (5)
269
IsSameTypeIgnoringAll
(arrayLiteralType, outer.ResultType) Then
457
If
IsSameTypeIgnoringAll
(arrayLiteralType, candidate) Then
514
ElseIf hint.
IsSameTypeIgnoringAll
(candidate) Then
530
ElseIf candidate.
IsSameTypeIgnoringAll
(hint) Then
587
If TypeOf competitor.ResultType IsNot ArrayLiteralTypeSymbol AndAlso type.
IsSameTypeIgnoringAll
(competitor.ResultType) Then
Symbols\Metadata\PE\PEMethodSymbol.vb (2)
573
If potentialMethodKind = MethodKind.Conversion AndAlso Not outputType.
IsSameTypeIgnoringAll
(contender.ReturnType) Then
579
If Not inputParams(j).Type.
IsSameTypeIgnoringAll
(contender.Parameters(j).Type) Then
Symbols\Source\SourceMemberContainerTypeSymbol.vb (1)
1051
constraintInfo.TypeConstraint.
IsSameTypeIgnoringAll
(constraint) Then
Symbols\Source\SourcePropertyAccessorSymbol.vb (1)
234
If overriddenMethod IsNot Nothing AndAlso overriddenMethod.ReturnType.
IsSameTypeIgnoringAll
(result) Then
Symbols\SynthesizedSymbols\SynthesizedParameterSymbol.vb (1)
313
If overriddenParameter.Type.
IsSameTypeIgnoringAll
(valueParameterType) Then
Symbols\Tuples\TupleFieldSymbol.vb (1)
89
Debug.Assert(container.UnderlyingNamedType.
IsSameTypeIgnoringAll
(underlyingField.ContainingType) OrElse TypeOf Me Is TupleVirtualElementFieldSymbol,
Symbols\TypeSymbolExtensions.vb (2)
605
If current.
IsSameTypeIgnoringAll
(superType) Then
619
If current.
IsSameTypeIgnoringAll
(baseType) Then
Utilities\VarianceAmbiguity.vb (1)
121
If Not typeArgument1.
IsSameTypeIgnoringAll
(typeArgument2) Then