public void TestInit()
        {
            var defaultMethod = new BuildDefaultModel().GetMethod();

            _instancePointer         = defaultMethod.InstancePointer.Name;
            _parentReferenceResolver = new MethodReferenceResolver(defaultMethod);
        }
Example #2
0
        public void TestInit()
        {
            var parentMethod  = new BuildDefaultModel().GetMethod();
            var declaredField = parentMethod.ParentClass.Fields.FirstOrDefault();

            _declaredFieldId         = declaredField.Identifier.GetField();
            _instancePointer         = parentMethod.InstancePointer.Name;
            _parentReferenceResolver = new MethodReferenceResolver(parentMethod);
        }