Example #1
0
 public void ResolveTopLevelNamespace()
 {
     RunInCompilerContextEnvironment(delegate
     {
         var booCompiler = (INamespace)NamespaceAssert.ResolveSingle(_subject, "Boo");
         Assert.AreEqual(EntityType.Namespace, booCompiler.EntityType);
         Assert.AreEqual("Boo", booCompiler.Name);
         Assert.AreEqual("Boo", booCompiler.FullName);
         Assert.AreSame(_subject, booCompiler.ParentNamespace);
     });
 }
Example #2
0
 private IEntity ResolveQualifiedNameToSingle(string qualifiedName)
 {
     return(NamespaceAssert.ResolveQualifiedNameToSingle(_subject, qualifiedName));
 }
Example #3
0
 private Set <IEntity> ResolveQualifiedName(string qualifiedName)
 {
     return(NamespaceAssert.ResolveQualifiedName(_subject, qualifiedName));
 }