protected internal virtual void VisitLoadFieldAddr(LoadFieldAddr node, object data) { throw new NodeNotSupportedException(node); }
protected internal override void VisitLoadFieldAddr(LoadFieldAddr node, object data) { StackTypes stack = data as StackTypes; if(node.Field.IsStatic) stack.Push(TypeEx.BuildRefType(node.Field.FieldType)); else Verifier.ProcessLdFld(stack, node.Field , true); AddTask(node.Next,stack); }
protected internal override void VisitLoadFieldAddr(LoadFieldAddr node, object data) { if(node.Field.IsStatic) generator.Emit(OpCodes.Ldsflda, node.Field); else generator.Emit(OpCodes.Ldflda, node.Field); AddTask(node.Next,null); }