5 references to Contains
System.Data.Entity (5)
System\Data\Metadata\ObjectLayer\ObjectItemAssemblyLoader.cs (2)
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");
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))