ResolveSimpleName() public method

public ResolveSimpleName ( string identifier, IList typeArguments, bool isInvocationTarget = false ) : ResolveResult
identifier string
typeArguments IList
isInvocationTarget bool
return ResolveResult
Beispiel #1
0
        public void SimpleNamespaceLookup()
        {
            NamespaceResolveResult nrr = (NamespaceResolveResult)resolver.ResolveSimpleName("System", new IType[0]);

            Assert.AreEqual("System", nrr.NamespaceName);
            Assert.AreSame(SpecialType.UnknownType, nrr.Type);
        }
		public override ResolveResult Resolve(CSharpResolver resolver)
		{
			return resolver.ResolveSimpleName(identifier, typeArguments.Resolve(resolver.CurrentTypeResolveContext));
		}