Kevin Halverson
Kevin Halverson
1. Open C# Interactive and paste the following: ``` C: \ a \b ``` **RESULTS:** ``` System.InvalidOperationException : This program location is thought to be unreachable. Binder\BuckStopsHereBinder.cs(208,0): at Microsoft.CodeAnalysis.CSharp.BuckStopsHereBinder.get_Labels() Binder\Binder_Statements.cs(3251,0):...
1. Create a new C# Windows Forms Application 2. Add a Form1_Load event handler, and set a breakpoint on the open brace 3. When the breakpoint is hit, insert a...
1. Create a new VB UWP application. 2. Witness:  However, the "grayed out" text is not trivia. If I F5, I will hit the breakpoint.
``` Module Module1 Sub Main() Dim row = New DataRow() Stop Dim test = row.Item("Test Row"). Dim test2 = row.Foo(42) End Sub Class DataRow Public ReadOnly Property Item(ByVal str As...
...or _Woops, we forgot late bound member access in the_ `MayHaveSideEffectsVisitor`... 
`Ctrl + W`, I is no good... `Ctrl + W` is bound to "Select Word" if any editor has focus, so you end up sending "Select Word, type character 'i'"...
1. Open C# Interactive 2. Type `#load` RESULTS: ``` Microsoft Visual Studio ----------------------- (X) Object reference not set to an instance of an object. ```
`Microsoft.VisualStudio.InteractiveWindow.dll` and `Microsoft.VisualStudio.VsInteractiveWindow.dll` contain hard-coded resource strings. There are `//TODO` comments for some, but we should scan all the source for strings that are not being appropriately localized.
We can add this back once we've had more time to think though all the related scenarios with `#r` and `#load`, but for now, we shouldn't support compiling script code...
The following should work on *nix without additional pre-processing on the part of the execution host (ala https://github.com/mbaker-dev/scriptcs/commit/4fab22f49839df7f94fbb0f44916e5241c589c8f): ``` #!/usr/bin/env scriptcs System.Console.WriteLine("Hello World!"); ```