Comments (11)
I confirm having same problem.
Intellisense shows 'Loading...' for 10 seconds or more. Every single time I use it.
Also, I noticed references are not shown.
[ERROR:Microsoft.AspNet.Diagnostics.ErrorHandlerMiddleware] An unhandled exception has occurred: Diagnostic must have span '[359..359)' Parameter name: diagnostics System.ArgumentException: Diagnostic must have span '[359..359)' Parameter name: diagnostics at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext.VerifyDiagnosticsArgument (ImmutableArray
1 diagnostics, TextSpan span) <0x117101120 + 0x00417> in :0
at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext..ctor (Microsoft.CodeAnalysis.Document document, TextSpan span, ImmutableArray1 diagnostics, System.Action
2 registerCodeFix, Boolean verifyArguments, CancellationToken cancellationToken) <0x117100e80 + 0x00057> in :0
at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext..ctor (Microsoft.CodeAnalysis.Document document, TextSpan span, ImmutableArray1 diagnostics, System.Action
2 registerCodeFix, CancellationToken cancellationToken) <0x117100e20 + 0x00042> in :0
at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CodeActionHelper+d__2.MoveNext () <0x117100000 + 0x0080c> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x1054711a0 + 0x00029> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x10546f170 + 0x000b3> in :0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x10546f0d0 + 0x00093> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x10546f080 + 0x0003a> in :0
at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x117101fb0 + 0x0001f> in <filename unknown>:0 at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CodeActionHelper+<GetActions>d__0.MoveNext () <0x116ef8ad0 + 0x00614> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x1054711a0 + 0x00029> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x10546f170 + 0x000b3> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x10546f0d0 + 0x00093> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x10546f080 + 0x0003a> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter
1[TResult].GetResult () <0x10546f3a0 + 0x00017> in :0
at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.GetCodeActionsService+d__4.MoveNext () <0x116ef6300 + 0x00182> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x1054711a0 + 0x00029> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x10546f170 + 0x000b3> in :0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x10546f0d0 + 0x00093> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x10546f080 + 0x0003a> in :0
at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x10546f3a0 + 0x00017> in <filename unknown>:0 at OmniSharp.Middleware.Endpoint.EndpointHandler
2+d__18[TRequest,TResponse].MoveNext () <0x10dbada50 + 0x00421> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x1054711a0 + 0x00029> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x10546f170 + 0x000b3> in :0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x10546f0d0 + 0x00093> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x10546f080 + 0x0003a> in :0
at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x10546f3a0 + 0x00017> in <filename unknown>:0 at OmniSharp.Middleware.Endpoint.EndpointHandler
2+d__16[TRequest,TResponse].MoveNext () <0x10dbaa690 + 0x0093f> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x1054711a0 + 0x00029> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x10546f170 + 0x000b3> in :0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x10546f0d0 + 0x00093> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x10546f080 + 0x0003a> in :0
at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x10546f3a0 + 0x00017> in <filename unknown>:0 at OmniSharp.Middleware.EndpointMiddleware+<Invoke>d__7.MoveNext () <0x10dba5340 + 0x002b2> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x1054711a0 + 0x00029> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x10546f170 + 0x000b3> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x10546f0d0 + 0x00093> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x10546f080 + 0x0003a> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.GetResult () <0x10546f060 + 0x00012> in <filename unknown>:0 at Microsoft.AspNet.Diagnostics.ErrorHandlerMiddleware+<Invoke>d__4.MoveNext () <0x10dba2c80 + 0x003db> in <filename unknown>:0 [INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 500 39ms
from vscode-csharp.
Hi all, is there anything at all I can do to help track down this bug? I am still stuck on Code .10.3, .10.7 still has the same issue. I would kill for a fix!
from vscode-csharp.
Not 100% sure if this is identical, but .10.9 is doing the same thing. This is now happening on a much smaller project.
Below is the output from .10.9:
Diagnostic must have span '[7479..7479)'
Parameter name: diagnostics
System.ArgumentException: Diagnostic must have span '[7479..7479)'
Parameter name: diagnostics
at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext.VerifyDiagnosticsArgument (ImmutableArray1 diagnostics, TextSpan span) <0x7295790 + 0x00307> in <filename unknown>:0 at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext..ctor (Microsoft.CodeAnalysis.Document document, TextSpan span, ImmutableArray
1 diagnostics, System.Action2 registerCodeFix, Boolean verifyArguments, CancellationToken cancellationToken) <0x72955d8 + 0x00043> in <filename unknown>:0 at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext..ctor (Microsoft.CodeAnalysis.Document document, TextSpan span, ImmutableArray
1 diagnostics, System.Action2 registerCodeFix, CancellationToken cancellationToken) <0x7295580 + 0x00043> in <filename unknown>:0 at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CodeActionHelper+<GetCodeFixContext>d__2.MoveNext () <0x7294ac8 + 0x0068f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter
1[TResult].GetResult () <0x7295fb0 + 0x00013> in :0
at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CodeActionHelper+d__0.MoveNext () <0x72926f8 + 0x0046b> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in :0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in :0
at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x188c970 + 0x00024> in <filename unknown>:0 at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.GetCodeActionsService+<Handle>d__4.MoveNext () <0x7290b68 + 0x0013f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter
1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.Endpoint.EndpointHandler2+<HandleSingleRequest>d__18[TRequest,TResponse].MoveNext () <0x55c34c0 + 0x0032f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter
1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.Endpoint.EndpointHandler2+<Process>d__16[TRequest,TResponse].MoveNext () <0x55c16f0 + 0x006e7> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter
1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.EndpointMiddleware+d__7.MoveNext () <0x55be138 + 0x001ff> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.GetResult () in :line 0
at Microsoft.AspNet.Diagnostics.ErrorHandlerMiddleware+d__4.MoveNext () in :line 0
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 500 10ms
[ERROR:Microsoft.AspNet.Diagnostics.ErrorHandlerMiddleware] An unhandled exception has occurred: Diagnostic must have span '[7482..7482)'
Parameter name: diagnostics
System.ArgumentException: Diagnostic must have span '[7482..7482)'
Parameter name: diagnostics
at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext.VerifyDiagnosticsArgument (ImmutableArray1 diagnostics, TextSpan span) <0x7295790 + 0x00307> in <filename unknown>:0 at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext..ctor (Microsoft.CodeAnalysis.Document document, TextSpan span, ImmutableArray
1 diagnostics, System.Action2 registerCodeFix, Boolean verifyArguments, CancellationToken cancellationToken) <0x72955d8 + 0x00043> in <filename unknown>:0 at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext..ctor (Microsoft.CodeAnalysis.Document document, TextSpan span, ImmutableArray
1 diagnostics, System.Action2 registerCodeFix, CancellationToken cancellationToken) <0x7295580 + 0x00043> in <filename unknown>:0 at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CodeActionHelper+<GetCodeFixContext>d__2.MoveNext () <0x7294ac8 + 0x0068f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter
1[TResult].GetResult () <0x7295fb0 + 0x00013> in :0
at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CodeActionHelper+d__0.MoveNext () <0x72926f8 + 0x0046b> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in :0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in :0
at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x188c970 + 0x00024> in <filename unknown>:0 at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.GetCodeActionsService+<Handle>d__4.MoveNext () <0x7290b68 + 0x0013f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter
1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.Endpoint.EndpointHandler2+<HandleSingleRequest>d__18[TRequest,TResponse].MoveNext () <0x55c34c0 + 0x0032f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter
1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.Endpoint.EndpointHandler2+<Process>d__16[TRequest,TResponse].MoveNext () <0x55c16f0 + 0x006e7> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter
1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.EndpointMiddleware+d__7.MoveNext () <0x55be138 + 0x001ff> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.GetResult () in :line 0
at Microsoft.AspNet.Diagnostics.ErrorHandlerMiddleware+d__4.MoveNext () in :line 0
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 500 10ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 105ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 49ms
[ERROR:Microsoft.AspNet.Diagnostics.ErrorHandlerMiddleware] An unhandled exception has occurred: Diagnostic must have span '[7524..7524)'
Parameter name: diagnostics
System.ArgumentException: Diagnostic must have span '[7524..7524)'
Parameter name: diagnostics
at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext.VerifyDiagnosticsArgument (ImmutableArray1 diagnostics, TextSpan span) <0x7295790 + 0x00307> in <filename unknown>:0 at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext..ctor (Microsoft.CodeAnalysis.Document document, TextSpan span, ImmutableArray
1 diagnostics, System.Action2 registerCodeFix, Boolean verifyArguments, CancellationToken cancellationToken) <0x72955d8 + 0x00043> in <filename unknown>:0 at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext..ctor (Microsoft.CodeAnalysis.Document document, TextSpan span, ImmutableArray
1 diagnostics, System.Action2 registerCodeFix, CancellationToken cancellationToken) <0x7295580 + 0x00043> in <filename unknown>:0 at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CodeActionHelper+<GetCodeFixContext>d__2.MoveNext () <0x7294ac8 + 0x0068f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter
1[TResult].GetResult () <0x7295fb0 + 0x00013> in :0
at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CodeActionHelper+d__0.MoveNext () <0x72926f8 + 0x0046b> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in :0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in :0
at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x188c970 + 0x00024> in <filename unknown>:0 at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.GetCodeActionsService+<Handle>d__4.MoveNext () <0x7290b68 + 0x0013f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter
1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.Endpoint.EndpointHandler2+<HandleSingleRequest>d__18[TRequest,TResponse].MoveNext () <0x55c34c0 + 0x0032f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter
1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.Endpoint.EndpointHandler2+<Process>d__16[TRequest,TResponse].MoveNext () <0x55c16f0 + 0x006e7> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter
1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.EndpointMiddleware+d__7.MoveNext () <0x55be138 + 0x001ff> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.GetResult () in :line 0
at Microsoft.AspNet.Diagnostics.ErrorHandlerMiddleware+d__4.MoveNext () in :line 0
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 500 16ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 25ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 80ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 70ms
[ERROR:Microsoft.AspNet.Diagnostics.ErrorHandlerMiddleware] An unhandled exception has occurred: Diagnostic must have span '[7449..7449)'
Parameter name: diagnostics
System.ArgumentException: Diagnostic must have span '[7449..7449)'
Parameter name: diagnostics
at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext.VerifyDiagnosticsArgument (ImmutableArray1 diagnostics, TextSpan span) <0x7295790 + 0x00307> in <filename unknown>:0 at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext..ctor (Microsoft.CodeAnalysis.Document document, TextSpan span, ImmutableArray
1 diagnostics, System.Action2 registerCodeFix, Boolean verifyArguments, CancellationToken cancellationToken) <0x72955d8 + 0x00043> in <filename unknown>:0 at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext..ctor (Microsoft.CodeAnalysis.Document document, TextSpan span, ImmutableArray
1 diagnostics, System.Action2 registerCodeFix, CancellationToken cancellationToken) <0x7295580 + 0x00043> in <filename unknown>:0 at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CodeActionHelper+<GetCodeFixContext>d__2.MoveNext () <0x7294ac8 + 0x0068f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter
1[TResult].GetResult () <0x7295fb0 + 0x00013> in :0
at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CodeActionHelper+d__0.MoveNext () <0x72926f8 + 0x0046b> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in :0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in :0
at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x188c970 + 0x00024> in <filename unknown>:0 at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.GetCodeActionsService+<Handle>d__4.MoveNext () <0x7290b68 + 0x0013f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter
1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.Endpoint.EndpointHandler2+<HandleSingleRequest>d__18[TRequest,TResponse].MoveNext () <0x55c34c0 + 0x0032f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter
1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.Endpoint.EndpointHandler2+<Process>d__16[TRequest,TResponse].MoveNext () <0x55c16f0 + 0x006e7> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter
1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.EndpointMiddleware+d__7.MoveNext () <0x55be138 + 0x001ff> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.GetResult () in :line 0
at Microsoft.AspNet.Diagnostics.ErrorHandlerMiddleware+d__4.MoveNext () in :line 0
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 500 11ms
[ERROR:Microsoft.AspNet.Diagnostics.ErrorHandlerMiddleware] An unhandled exception has occurred: Diagnostic must have span '[7449..7449)'
Parameter name: diagnostics
System.ArgumentException: Diagnostic must have span '[7449..7449)'
Parameter name: diagnostics
at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext.VerifyDiagnosticsArgument (ImmutableArray1 diagnostics, TextSpan span) <0x7295790 + 0x00307> in <filename unknown>:0 at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext..ctor (Microsoft.CodeAnalysis.Document document, TextSpan span, ImmutableArray
1 diagnostics, System.Action2 registerCodeFix, Boolean verifyArguments, CancellationToken cancellationToken) <0x72955d8 + 0x00043> in <filename unknown>:0 at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext..ctor (Microsoft.CodeAnalysis.Document document, TextSpan span, ImmutableArray
1 diagnostics, System.Action2 registerCodeFix, CancellationToken cancellationToken) <0x7295580 + 0x00043> in <filename unknown>:0 at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CodeActionHelper+<GetCodeFixContext>d__2.MoveNext () <0x7294ac8 + 0x0068f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter
1[TResult].GetResult () <0x7295fb0 + 0x00013> in :0
at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CodeActionHelper+d__0.MoveNext () <0x72926f8 + 0x0046b> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in :0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in :0
at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x188c970 + 0x00024> in <filename unknown>:0 at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.GetCodeActionsService+<Handle>d__4.MoveNext () <0x7290b68 + 0x0013f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter
1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.Endpoint.EndpointHandler2+<HandleSingleRequest>d__18[TRequest,TResponse].MoveNext () <0x55c34c0 + 0x0032f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter
1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.Endpoint.EndpointHandler2+<Process>d__16[TRequest,TResponse].MoveNext () <0x55c16f0 + 0x006e7> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter
1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.EndpointMiddleware+d__7.MoveNext () <0x55be138 + 0x001ff> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.GetResult () in :line 0
at Microsoft.AspNet.Diagnostics.ErrorHandlerMiddleware+d__4.MoveNext () in :line 0
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 500 43ms
[ERROR:Microsoft.AspNet.Diagnostics.ErrorHandlerMiddleware] An unhandled exception has occurred: Diagnostic must have span '[7450..7450)'
Parameter name: diagnostics
System.ArgumentException: Diagnostic must have span '[7450..7450)'
Parameter name: diagnostics
at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext.VerifyDiagnosticsArgument (ImmutableArray1 diagnostics, TextSpan span) <0x7295790 + 0x00307> in <filename unknown>:0 at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext..ctor (Microsoft.CodeAnalysis.Document document, TextSpan span, ImmutableArray
1 diagnostics, System.Action2 registerCodeFix, Boolean verifyArguments, CancellationToken cancellationToken) <0x72955d8 + 0x00043> in <filename unknown>:0 at Microsoft.CodeAnalysis.CodeFixes.CodeFixContext..ctor (Microsoft.CodeAnalysis.Document document, TextSpan span, ImmutableArray
1 diagnostics, System.Action2 registerCodeFix, CancellationToken cancellationToken) <0x7295580 + 0x00043> in <filename unknown>:0 at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CodeActionHelper+<GetCodeFixContext>d__2.MoveNext () <0x7294ac8 + 0x0068f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter
1[TResult].GetResult () <0x7295fb0 + 0x00013> in :0
at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.CodeActionHelper+d__0.MoveNext () <0x72926f8 + 0x0046b> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in :0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in :0
at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () <0x188c970 + 0x00024> in <filename unknown>:0 at OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.GetCodeActionsService+<Handle>d__4.MoveNext () <0x7290b68 + 0x0013f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter
1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.Endpoint.EndpointHandler2+<HandleSingleRequest>d__18[TRequest,TResponse].MoveNext () <0x55c34c0 + 0x0032f> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter
1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.Endpoint.EndpointHandler2+<Process>d__16[TRequest,TResponse].MoveNext () <0x55c16f0 + 0x006e7> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188edb0 + 0x00035> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188c6f0 + 0x000b7> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188c650 + 0x00087> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188c600 + 0x0003f> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter
1[TResult].GetResult () <0x188c970 + 0x00024> in :0
at OmniSharp.Middleware.EndpointMiddleware+d__7.MoveNext () <0x55be138 + 0x001ff> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) in :line 0
at System.Runtime.CompilerServices.TaskAwaiter.GetResult () in :line 0
at Microsoft.AspNet.Diagnostics.ErrorHandlerMiddleware+d__4.MoveNext () in :line 0
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 500 121ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 232ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 291ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 23ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 32ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 23ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 551ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 122ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 103ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 960ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 31ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 97ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 24ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 68ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 24ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 45ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 21ms
from vscode-csharp.
I realize that it's been a long while since there was an update on this issue. Are you still experiencing this problem? Note that we've just released a beta of the next release, v1.3.0-beta1. Please try that out and let us know if it works better for you.
from vscode-csharp.
@DustinCampbell I just tried 1.3.0b1 and same issue. I'm not seeing any output in the omnisharp log when it happens though. I can make it happen almost every time when I save the the file I'm working on.
Here is a video of the issue using 1.3.0b1 and Code Insiders 1.4.0. I am holding the command key the entire time:
VSCodeBug.mov.zip
from vscode-csharp.
@DustinCampbell Tried out 1.3.0b1 as well. Fresh VSCode install, the same project I was trying to work with the last time I investigated the issue.
Seems like OmniSharp doesn't start properly at all, there's no "usages" for variables and functions, etc.
Here's the initial startup log:
Flavor: 1, Platform: 2 [INFO] Installing OmniSharp to /Users/user/.vscode/extensions/ms-vscode.csharp-1.3.0-beta1/out/.omnisharp-mono [INFO] Attempting to download omnisharp-1.9-beta12-mono.tar.gz... [INFO] Downloading to /var/folders/2n/t779hmc15n74l6wflgrm_pqc0000gn/T/tmp-30562M2BmJnf6KACG.tmp... [INFO] Download complete! [INFO] Decompressing... [INFO] Done! 160 files unpacked. [INFO] Starting OmniSharp at '/Users/user/Documents/Eclipse/Something.something/Something.something.sln'... [INFO] Started OmniSharp from '/Users/user/.vscode/extensions/ms-vscode.csharp-1.3.0-beta1/out/.omnisharp-mono/OmniSharp.exe' with process id 31396... OmniSharp: -s /Users/user/Documents/Eclipse/Something.something/Something.something.sln --hostPID 30562 DotNet:enablePackageRestore=false --stdio [INFORMATION:OmniSharp.Startup] Omnisharp server running using Stdio at location '/Users/user/Documents/Eclipse/Something.something' on host 30562. [INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Initializing in /Users/user/Documents/Eclipse/Something.something [INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Auto package restore: False [INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Update workspace context [INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Resolving projects references [INFORMATION:OmniSharp#MSBuild] Detecting projects in '/Users/user/Documents/Eclipse/Something.something/Something.something.sln'. [INFORMATION:OmniSharp#MSBuild] Loading project from '/Users/user/Documents/Eclipse/Something.something/Assembly-CSharp-firstpass.csproj'. [INFORMATION:OmniSharp#MSBuild] Loading project from '/Users/user/Documents/Eclipse/Something.something/Assembly-CSharp.csproj'.
And here's the log that keeps popping up each time I try to reboot the OmniSharp:
http://pastebin.com/f4RUuCaB
Note that I deleted/changed some private things, like the title of the project or script names.
from vscode-csharp.
This should be fixed with the 1.5 release. My expectation is that this PR will fix the issue: #902
from vscode-csharp.
This is not fixed at all, codelens is so heavy for omnisharp to process as nothing is cached. No request are cancelled either (after switching editor tabs, old request are still running)
Omnisharp just chokes up at some point, especially with codelens heavy (many referenceable items) files. Switching a few times between files is also a good way to kill omnisharp.
from vscode-csharp.
@NinoFloris, could you file a new issue? The issue here has been reported fixed in another bug report by those that filed this issue.
from vscode-csharp.
Well it is directly linked because the singlethreadedness was a way to at least throttle the incoming barrage of work. This surfaces now that they are run concurrently
from vscode-csharp.
Sorry. I'm not sure I understand what you mean. Again, please file a new issue so that we can dig in.
from vscode-csharp.
Related Issues (20)
- False positives in IDE problems list HOT 6
- False errors that disappear when clicked HOT 11
- Multiple Errors Appear When Creating a C# Text File HOT 6
- Prevent auto-insertion of summary docstrings HOT 1
- Notification Settings not respected using C# Extension HOT 4
- Minimized groups in the "Problems" pane expand after opening the file again
- Please add 'Remove and Sort Usings'
- Minimum .NET version now 8.0 HOT 5
- Failed to attach to process: The .NET debugger can only debug x64 processes. HOT 2
- Generated code (WPF, *.g.cs files) triggers infinite textDocument/diagnostic loop HOT 3
- Language feature loss on C# only extension on Ubuntu HOT 2
- Namespace Renaming on File Does Not Update Usings
- Please keep changelogs up to date HOT 1
- intellisense not show summary in vs code HOT 2
- blazor not working since v2.15.30 HOT 4
- Hot Reload Verbosity "None" Option HOT 1
- Roslyn .NET host takes up a lot of memory (likely background analysis scope related) HOT 4
- Intellisense slow, last 2 releases HOT 2
- Integration diagnostic tests fail with "Stopping server timed out"
- Policy: DevKit should not take a required dependency on `.200+` SDK features HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-csharp.