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