12 references to LookupTypeParameterFromConstraintClause
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (12)
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (12)
1484var symbol = LookupTypeParameterFromConstraintClause(model, interfaceDecl.ConstraintClauses[0], "T"); 1489symbol = LookupTypeParameterFromConstraintClause(model, methodDecl.ConstraintClauses[0], "T"); 1493symbol = LookupTypeParameterFromConstraintClause(model, structDecl.ConstraintClauses[0], "T"); 1497symbol = LookupTypeParameterFromConstraintClause(model, methodDecl.ConstraintClauses[0], "U"); 1533var symbol = LookupTypeParameterFromConstraintClause(model, interfaceDecl.ConstraintClauses[0], "T1"); 1535symbol = LookupTypeParameterFromConstraintClause(model, interfaceDecl.ConstraintClauses[0], "T2"); 1538symbol = LookupTypeParameterFromConstraintClause(model, methodDecl.ConstraintClauses[0], "U1"); 1540symbol = LookupTypeParameterFromConstraintClause(model, methodDecl.ConstraintClauses[0], "U2"); 1545symbol = LookupTypeParameterFromConstraintClause(model, interfaceDecl.ConstraintClauses[0], "T4"); 1547symbol = LookupTypeParameterFromConstraintClause(model, interfaceDecl.ConstraintClauses[0], "T3"); 1550symbol = LookupTypeParameterFromConstraintClause(model, methodDecl.ConstraintClauses[0], "U4"); 1552symbol = LookupTypeParameterFromConstraintClause(model, methodDecl.ConstraintClauses[0], "U3");