You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publicvoidUseArr(){vararr=default(object[]);
Modify(ref arr[0]);}publicvoidUseRefReturn(){varlst=default(CSProj.MySpecialList<object>);vartmp= lst;varargo= tmp[0];
Modify(ref argo);//note the modified value never makes it back into the list}publicvoidModify(refobjecto){}
VB.Net input code
We need a C#-project with a
ref return
first, f.e.Then in vb.net (array is for comparison)
Erroneous output
Expected output
Details
This is most probably related to #1052 (comment)
The text was updated successfully, but these errors were encountered: