31 references to GetElementType
System.Data.Linq (31)
DataContext.cs (1)
1150Type eType = System.Data.Linq.SqlClient.TypeSystem.GetElementType(expression.Type);
DataQuery.cs (1)
37Type eType = System.Data.Linq.SqlClient.TypeSystem.GetElementType(expression.Type);
DataServices.cs (3)
257Type elementType = System.Data.Linq.SqlClient.TypeSystem.GetElementType(query.Type); 290? System.Data.Linq.SqlClient.TypeSystem.GetElementType(member.Type) 508Type elementType = System.Data.Linq.SqlClient.TypeSystem.GetElementType(query.Type);
Mapping\AttributedMetaModel.cs (2)
892Type elementType = TypeSystem.GetElementType(mi.ReturnType); 1330Type ot = this.isMany ? TypeSystem.GetElementType(this.thisMember.Type) : this.thisMember.Type;
Mapping\MappedMetaModel.cs (2)
1267Type ot = this.isMany ? TypeSystem.GetElementType(this.thisMember.Type) : this.thisMember.Type; 1353Type elementType = TypeSystem.GetElementType(method.ReturnType);
SqlClient\Common\SqlNode.cs (1)
597return TypeSystem.GetElementType(exp.ClrType);
SqlClient\Common\TypeSystem.cs (1)
131return FindSequenceMethod(name, new Type[] {sequence.GetType()}, new Type[] {GetElementType(sequence.GetType())});
SqlClient\Query\QueryConverter.cs (7)
595Type sourceType = TypeSystem.GetElementType(sequence.Type); 1247Type elementType = TypeSystem.GetElementType(resultType); 1426Type type = TypeSystem.GetElementType(source1.Type); 1450Type type = TypeSystem.GetElementType(source1.Type); 1777Type elemType = TypeSystem.GetElementType(sequence.Type); 1933&& TypeSystem.GetElementType(mc.Method.DeclaringType).IsAssignableFrom(mc.Arguments[0].Type) 1964Type elemType = TypeSystem.GetElementType(c.Type);
SqlClient\Query\Translator.cs (2)
165Type elementType = TypeSystem.GetElementType(source.Type); 232return Expression.Call(typeof(Enumerable), "Count", new Type[] {TypeSystem.GetElementType(exp.Type)}, exp);
SqlClient\Query\TypeSource.cs (1)
44type = TypeSystem.GetElementType(type);
SqlClient\Reader\ObjectReaderCompiler.cs (4)
867Type elemType = TypeSystem.GetElementType(ca.ClrType); 1371? TypeSystem.GetElementType(link.Member.Type) 1421Type clientElementType = cq.Query.NodeType == SqlNodeType.Multiset ? TypeSystem.GetElementType(cq.ClrType) : cq.ClrType; 1575Type elemType = TypeSystem.GetElementType(actualType);
SqlClient\SqlProvider.cs (6)
828factory = this.GetReaderFactory(qi.Query, TypeSystem.GetElementType(qi.ResultType)); 910factory = this.GetReaderFactory(qi.Query, TypeSystem.GetElementType(qi.ResultType)); 970Type clientElementType = cq.Query.NodeType == SqlNodeType.Multiset ? TypeSystem.GetElementType(cq.ClrType) : cq.ClrType; 1018typeof(SequenceOfOne<>).MakeGenericType(TypeSystem.GetElementType(this.GetResultType(query))), 1105typeof(OneTimeEnumerable<>).MakeGenericType(TypeSystem.GetElementType(queryInfo.ResultType)), 1116typeof(SingleResult<>).MakeGenericType(TypeSystem.GetElementType(queryInfo.ResultType)),