14 references to ContainsTypeParameter
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder_Attributes.cs (2)
955isValidArgument = typeOfArgument.IsUnboundGenericType() || !typeOfArgument.ContainsTypeParameter(); 1018if (typedConstantKind != TypedConstantKind.Error && type.ContainsTypeParameter())
Binder\Binder_Operators.cs (4)
3501if (!operandType.ContainsTypeParameter() && !targetType.ContainsTypeParameter()) 3888if (!operandType.ContainsTypeParameter() && !targetType.ContainsTypeParameter() ||
Binder\Binder_Patterns.cs (3)
600if (inputType.ContainsTypeParameter()) 770if (!conversion.Exists && (inputType.ContainsTypeParameter() || patternType.ContainsTypeParameter()))
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (3)
1009if (parameter.Type.ContainsTypeParameter(typeParameter)) 1075return returnType.ContainsTypeParameter(typeParameter); 3251if (!dest.Type.ContainsTypeParameter(pParam))
BoundTree\UnboundLambda.cs (1)
1209if (!returnType.HasType || returnType.Type.ContainsTypeParameter())
Symbols\Source\SourceMemberContainerSymbol.cs (1)
2713if (!t.ContainsTypeParameter()) return false;