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