6 references to IsGenericOrNonGenericExpressionType
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Conversions.cs (1)
2222var boundLambda = unboundLambda.Bind((NamedTypeSymbol)destination, isExpressionTree: destination.IsGenericOrNonGenericExpressionType(out _)).WithInAnonymousFunctionConversion();
Binder\Binder_Expressions.cs (1)
5342Debug.Assert(!type.IsGenericOrNonGenericExpressionType(out _));
Binder\Binder_Statements.cs (1)
2066Debug.Assert(targetType.IsGenericOrNonGenericExpressionType(out _));
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (1)
2999if (type.IsGenericOrNonGenericExpressionType(out _))
Symbols\TypeSymbolExtensions.cs (2)
459return type.IsGenericOrNonGenericExpressionType(out bool isGenericType) && isGenericType; 468return type.IsGenericOrNonGenericExpressionType(out bool isGenericType) && !isGenericType;