GetField() public method

public GetField ( String name, int lexLevel ) : FieldInfo
name String
lexLevel int
return System.Reflection.FieldInfo
        internal void SetWithValue(WithObject scope, object value)
        {
            FieldInfo field = scope.GetField(base.name, this.lexLevel);

            if (field != null)
            {
                field.SetValue(scope, value);
            }
        }
Example #2
0
        internal void SetWithValue(WithObject scope, Object value)
        {
            Debug.Assert(!this.isFullyResolved);
            FieldInfo withField = scope.GetField(this.name, this.lexLevel);

            if (withField != null)
            {
                withField.SetValue(scope, value);
                return;
            }
        }
Example #3
0
 internal void SetWithValue(WithObject scope, Object value){
   Debug.Assert(!this.isFullyResolved);
   FieldInfo withField = scope.GetField(this.name, this.lexLevel);
   if (withField != null){
     withField.SetValue(scope, value);
     return;
   }
 }