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