Example #1
0
        public IErrorReporter Internals()
        {
            NameResolver resolver = null;

            foreach (var mutability in Options.AllMutabilityModes)
            {
                var env = Language.Environment.Create(new Options()
                {
                }.SetMutability(mutability));

                resolver = NameResolver.Create(env);

                Assert.IsTrue(NameReference.CreateBaseInitReference().IsBaseInitReference);
            }

            return(resolver);
        }
Example #2
0
 public static FunctionCall BaseInit(params FunctionArgument[] arguments)
 {
     return(FunctionCall.Constructor(NameReference.CreateBaseInitReference(), arguments));
 }