15 instantiations of MetaPosition
System.Data.Linq (15)
DataShape.cs (4)
83
return includes.ContainsKey(new
MetaPosition
(member));
118
subqueries.TryGetValue(new
MetaPosition
(member), out expression);
140
this.includes.Add(new
MetaPosition
(association), association);
154
this.subqueries[new
MetaPosition
(association)] = subquery;
Mapping\AttributedMetaModel.cs (5)
173
MetaPosition mp = new
MetaPosition
(mi);
304
this.metaFunctions.TryGetValue(new
MetaPosition
(method), out function);
611
this.dataMemberMap.Add(new
MetaPosition
(fi), mm);
631
this.dataMemberMap.Add(new
MetaPosition
(pi), mm);
812
if (this.dataMemberMap.TryGetValue(new
MetaPosition
(mi), out mm)) {
Mapping\MappedMetaModel.cs (2)
137
this.metaFunctions.Add(new
MetaPosition
(method), func);
214
this.metaFunctions.TryGetValue(new
MetaPosition
(method), out func);
SqlClient\Common\InheritanceRules.cs (2)
33
return new
MetaPosition
(mi);
52
return new
MetaPosition
(mi);
SqlClient\Common\TypeSystem.cs (2)
87
MetaPosition mp = new
MetaPosition
(fi);
101
MetaPosition mp = new
MetaPosition
(pi);
36 references to MetaPosition
System.Data.Linq (36)
DataShape.cs (5)
14
Dictionary<
MetaPosition
, MemberInfo> includes = new Dictionary<
MetaPosition
, MemberInfo>();
15
Dictionary<
MetaPosition
, LambdaExpression> subqueries = new Dictionary<
MetaPosition
, LambdaExpression>();
99
foreach (
MetaPosition
metaPosition in ds2.includes.Keys) {
Mapping\AttributedMetaModel.cs (5)
67
Dictionary<
MetaPosition
, MetaFunction> metaFunctions;
77
this.metaFunctions = new Dictionary<
MetaPosition
, MetaFunction>();
173
MetaPosition
mp = new MetaPosition(mi);
530
Dictionary<
MetaPosition
, MetaDataMember> dataMemberMap;
597
this.dataMemberMap = new Dictionary<
MetaPosition
, MetaDataMember>();
Mapping\MappedMetaModel.cs (2)
29
Dictionary<
MetaPosition
, MetaFunction> metaFunctions;
129
this.metaFunctions = new Dictionary<
MetaPosition
, MetaFunction>();
SqlClient\Common\TypeSystem.cs (20)
82
Dictionary<
MetaPosition
, FieldInfo> seen = new Dictionary<
MetaPosition
, FieldInfo>();
87
MetaPosition
mp = new MetaPosition(fi);
96
Dictionary<
MetaPosition
, PropertyInfo> seen = new Dictionary<
MetaPosition
, PropertyInfo>();
101
MetaPosition
mp = new MetaPosition(pi);
232
internal struct MetaPosition : IEqualityComparer<
MetaPosition
>, IEqualityComparer {
255
return AreEqual(this, (
MetaPosition
)obj);
263
public bool Equals(
MetaPosition
x,
MetaPosition
y) {
267
public int GetHashCode(
MetaPosition
obj) {
274
return this.Equals((
MetaPosition
)x, (
MetaPosition
)y);
277
return this.GetHashCode((
MetaPosition
) obj);
281
private static bool AreEqual(
MetaPosition
x,
MetaPosition
y) {
288
public static bool operator==(
MetaPosition
x,
MetaPosition
y) {
291
public static bool operator !=(
MetaPosition
x,
MetaPosition
y) {
SqlClient\Query\SqlComparer.cs (1)
216
if (!
MetaPosition
.AreSameMember(l1.Member.Member, l2.Member.Member)) {
SqlClient\Query\Translator.cs (1)
225
if (
MetaPosition
.AreSameMember(m.Member, this.association.ThisMember.Member)) {
SqlClient\Reader\ObjectReaderCompiler.cs (2)
491
if (!
MetaPosition
.AreSameMember(new1.Members[i].Member, new2.Members[i].Member) ||
506
if (!
MetaPosition
.AreSameMember(l1.Member.Member, l2.Member.Member)) {