8 references to KnownAssemblies
System.Data.Entity (8)
System\Data\Metadata\ObjectLayer\AssemblyCache.cs (2)
99
if (loadingData.
KnownAssemblies
.TryGetKnownAssembly(assembly, loadingData.ObjectItemAssemblyLoaderFactory, loadingData.EdmItemCollection, out entry))
112
if (entry == null && loadingData.
KnownAssemblies
.TryGetKnownAssembly(assembly, loadingData.ObjectItemAssemblyLoaderFactory, loadingData.EdmItemCollection, out entry) ||
System\Data\Metadata\ObjectLayer\ObjectItemAssemblyLoader.cs (3)
64
if (sessionData.
KnownAssemblies
.Contains(assembly, sessionData.ObjectItemAssemblyLoaderFactory, sessionData.EdmItemCollection))
143
Debug.Assert(!_sessionData.
KnownAssemblies
.Contains(_assembly, SessionData.ObjectItemAssemblyLoaderFactory, _sessionData.EdmItemCollection), "This assembly must not be present in the list of known assemblies");
144
_sessionData.
KnownAssemblies
.Add(_assembly, new KnownAssemblyEntry(CacheEntry, SessionData.EdmItemCollection != null));
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (2)
70
Debug.Assert(!SessionData.
KnownAssemblies
.Contains(SourceAssembly, SessionData.ObjectItemAssemblyLoaderFactory, SessionData.EdmItemCollection), "InternalLoadAssemblyFromCache: This assembly must not be present in the list of known assemblies");
148
Debug.Assert(SessionData.
KnownAssemblies
.Contains(clrType.Assembly, SessionData.LoaderCookie, SessionData.EdmItemCollection), "We should only be loading things directly from the cache if they are already in the collection");
System\Data\Metadata\ObjectLayer\ObjectItemNoOpAssemblyLoader.cs (1)
22
if (!SessionData.
KnownAssemblies
.Contains(SourceAssembly, SessionData.ObjectItemAssemblyLoaderFactory, SessionData.EdmItemCollection))