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
Compiler version: '4.8.0-7.23558.1 (e091728)'. Language version: 12.0.
The following does not work in donet interactive which uses Roslyn
if(...)// **does not work**{usingFileStreamf=new FileStream(@"C:\users\jaredpar\using.md");// statements}// Equivalent to (but not in Rosyln) this form works **fine** if(...){using(FileStreamf=new FileStream(@"C:\users\jaredpar\using.md")){// statements}}
Expected Behavior: using declaration form should compile the same as the block form
Actual Behavior:
Error: (39,22): error CS1002: ; expected
(53,46): error CS1525: Invalid expression term ')'
The text was updated successfully, but these errors were encountered:
Compiler version: '4.8.0-7.23558.1 (e091728)'. Language version: 12.0.
The following does not work in donet interactive which uses Roslyn
Expected Behavior: using declaration form should compile the same as the block form
Actual Behavior:
Error: (39,22): error CS1002: ; expected
(53,46): error CS1525: Invalid expression term ')'
The text was updated successfully, but these errors were encountered: