1 write to identityToDescriptor
System.Data.Services.Client (1)
System\Data\Services\Client\DataServiceContext.cs (1)
3572System.Threading.Interlocked.CompareExchange(ref this.identityToDescriptor, new Dictionary<String, EntityDescriptor>(EqualityComparer<String>.Default), null);
13 references to identityToDescriptor
System.Data.Services.Client (13)
System\Data\Services\Client\DataServiceContext.cs (13)
1626if ((null != this.identityToDescriptor) && 1629Object.ReferenceEquals(resource, this.identityToDescriptor[resource.Identity])) 1739this.identityToDescriptor[identity] = resource; 1771this.identityToDescriptor[identity] = resource; 1853this.identityToDescriptor.TryGetValue(descriptor.Identity, out existing); 1871this.identityToDescriptor.Add(descriptor.Identity, descriptor); 2115if ((null != this.identityToDescriptor) && 2116this.identityToDescriptor.TryGetValue(resourceUri, out resource)) 2641this.identityToDescriptor.TryGetValue(resource.Identity, out existing) && 2644bool removed = this.identityToDescriptor.Remove(resource.Identity); 3119Debug.Assert((null != this.identityToDescriptor) && this.identityToDescriptor.ContainsKey(entry.Identity), "should have identity tracked"); 3570if (null == this.identityToDescriptor)