Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Stfld operand is a MemberReference rather than FieldReference
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Greg Nehus  
View profile  
 More options Sep 24 2012, 11:17 pm
From: Greg Nehus <greg.ne...@addpcs.com>
Date: Mon, 24 Sep 2012 20:17:45 -0700 (PDT)
Local: Mon, Sep 24 2012 11:17 pm
Subject: Stfld operand is a MemberReference rather than FieldReference

In a project that I am working with, I am redirecting a call to a field to
a call to a base class field (a base class that was dynamically added). In
this particular case, a set to a field's stfld cannot be cast to a
FieldReference, but only to a MemberReference. Is there a reason for this?

Thank you,
Greg


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jb Evain  
View profile  
 More options Sep 25 2012, 4:26 am
From: Jb Evain <jbev...@gmail.com>
Date: Tue, 25 Sep 2012 10:26:33 +0200
Local: Tues, Sep 25 2012 4:26 am
Subject: Re: [mono-cecil] Stfld operand is a MemberReference rather than FieldReference
Hi,

The operand of a stfld opcode must be a field. Unless the assemly has
been obfuscated. Some obfuscators are known to inject meaningless and
broken code.

It's easy to see what in the operand, just call ToString on it to diagnose.

Jb


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »