3 instantiations of MetadataNamespace
System.Data.Entity (3)
System\Data\Common\EntitySql\SemanticAnalyzer.cs (1)
191
sr.TypeResolver.AddNamespaceImport(new
MetadataNamespace
(EdmConstants.EdmNamespace), nsImportList != null ? nsImportList.ErrCtx : cmdErrCtx);
System\Data\Common\EntitySql\TypeResolver.cs (2)
376
return new
MetadataNamespace
(fullName);
510
return new
MetadataNamespace
(name);
20 references to MetadataNamespace
System.Data.Entity (20)
System\Data\Common\EntitySql\SemanticAnalyzer.cs (7)
133
List<Tuple<string,
MetadataNamespace
, ErrorContext>> aliasedNamespaceImports = new List<Tuple<string,
MetadataNamespace
, ErrorContext>>();
134
List<Tuple<
MetadataNamespace
, ErrorContext>> namespaceImports = new List<Tuple<
MetadataNamespace
, ErrorContext>>();
172
aliasedNamespaceImports.Add(Tuple.Create(alias, (
MetadataNamespace
)metadataMember, namespaceImport.ErrCtx));
176
namespaceImports.Add(Tuple.Create((
MetadataNamespace
)metadataMember, namespaceImport.ErrCtx));
182
metadataMember.Name, metadataMember.MetadataMemberClassName,
MetadataNamespace
.NamespaceClassName));
System\Data\Common\EntitySql\TypeResolver.cs (13)
176
private readonly Dictionary<string,
MetadataNamespace
> _aliasedNamespaces;
177
private readonly HashSet<
MetadataNamespace
> _namespaces;
194
_aliasedNamespaces = new Dictionary<string,
MetadataNamespace
>(parserOptions.NameComparer);
195
_namespaces = new HashSet<
MetadataNamespace
>(MetadataMember.CreateMetadataMemberNameEqualityComparer(parserOptions.NameComparer));
212
internal ICollection<
MetadataNamespace
> NamespaceImports
244
internal void AddAliasedNamespaceImport(string alias,
MetadataNamespace
@namespace, ErrorContext errCtx)
257
internal void AddNamespaceImport(
MetadataNamespace
@namespace, ErrorContext errCtx)
398
qualifier.Name, qualifier.MetadataMemberClassName,
MetadataNamespace
.NamespaceClassName));
428
MetadataNamespace
aliasedNamespaceImport;
464
MetadataNamespace
importedMemberNamespace = null;
465
foreach (
MetadataNamespace
namespaceImport in _namespaces)
545
private static Exception AmbiguousMetadataMemberName(ErrorContext errCtx, string name,
MetadataNamespace
ns1,
MetadataNamespace
ns2)