13 references to SourceAssembly
System.Data.Entity (13)
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (9)
69Debug.Assert(IsSchemaAttributePresent(SourceAssembly), "LoadAssembly shouldn't be called with assembly having no schema attribute"); 70Debug.Assert(!SessionData.KnownAssemblies.Contains(SourceAssembly, SessionData.ObjectItemAssemblyLoaderFactory, SessionData.EdmItemCollection), "InternalLoadAssemblyFromCache: This assembly must not be present in the list of known assemblies"); 77SessionData.AssembliesLoaded.Add(SourceAssembly, CacheEntry); 142SourceAssembly != clrType.Assembly, // not from this assembly 168foreach (Type type in EntityUtil.GetTypesSpecial(SourceAssembly)) 208foreach (EdmRelationshipAttribute roleAttribute in SourceAssembly.GetCustomAttributes(typeof(EdmRelationshipAttribute), false /*inherit*/)) 276Debug.Assert(clrType.Assembly == SourceAssembly, "Why are we loading a type that is not in our assembly?"); 382SessionData.EdmItemErrors.Add(new EdmItemError(System.Data.Entity.Strings.NullRelationshipNameforEdmRelationshipAttribute(SourceAssembly.FullName), null)); 719if (SourceAssembly != type.Assembly &&
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (3)
37foreach (Type type in EntityUtil.GetTypesSpecial(SourceAssembly)) 83SessionData.AssembliesLoaded.Add(SourceAssembly, CacheEntry); 462if (SourceAssembly != type.Assembly &&
System\Data\Metadata\ObjectLayer\ObjectItemNoOpAssemblyLoader.cs (1)
22if (!SessionData.KnownAssemblies.Contains(SourceAssembly, SessionData.ObjectItemAssemblyLoaderFactory, SessionData.EdmItemCollection))