Skip to content

Commit

Permalink
temporarily disable support for value types (dotnet#5011)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonerdo committed Jun 6, 2019
1 parent 9821fd9 commit fa2f780
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2503,16 +2503,14 @@ private void InterpretCallDelegate(ref MethodCallInfo callInfo, ref LocalVariabl
break;
case TypeFlags.ValueType:
case TypeFlags.Nullable:
localVariableSet.SetVar<ValueType>(i, stackItem.AsValueType());
break;
throw new NotImplementedException();
case TypeFlags.Enum:
argumentType = argumentType.UnderlyingType;
goto setvar;
case TypeFlags.Class:
case TypeFlags.Interface:
case TypeFlags.Array:
case TypeFlags.SzArray:
callInfo.ReturnValue = StackItem.FromObjectRef(localVariableSet.GetVar<object>(0));
localVariableSet.SetVar<object>(i, stackItem.AsObjectRef());
break;
default:
Expand Down

0 comments on commit fa2f780

Please sign in to comment.