{"action":"opened","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/2784","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/2784/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/2784/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/2784/events","html_url":"https://github.com/dotnet/roslyn/issues/2784","id":76674465,"number":2784,"title":"System.ArgumentException at Microsoft.VisualStudio.LanguageServices.Implementation.TaskList.HostDiagnosticUpdateSource.RaiseDiagnosticsUpdatedForProject","user":{"login":"mavasani","id":10605811,"avatar_url":"https://avatars.githubusercontent.com/u/10605811?v=3","gravatar_id":"","url":"https://api.github.com/users/mavasani","html_url":"https://github.com/mavasani","followers_url":"https://api.github.com/users/mavasani/followers","following_url":"https://api.github.com/users/mavasani/following{/other_user}","gists_url":"https://api.github.com/users/mavasani/gists{/gist_id}","starred_url":"https://api.github.com/users/mavasani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mavasani/subscriptions","organizations_url":"https://api.github.com/users/mavasani/orgs","repos_url":"https://api.github.com/users/mavasani/repos","events_url":"https://api.github.com/users/mavasani/events{/privacy}","received_events_url":"https://api.github.com/users/mavasani/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-Analyzers","name":"Area-Analyzers","color":"5319e7"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Bug","name":"Bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-15T09:58:18Z","updated_at":"2015-05-15T09:58:18Z","closed_at":null,"body":"**Dump shared at:**\r\n`\\\\manish-test\\share_r\\ImmutableArray_ArgumentException\\devenv.dmp`\r\n\r\n**Message:** `Value does not fall within the expected range`\r\n\r\n**Call stack:**\r\n> \t[Managed to Native Transition]\t\r\n \tmscorlib.dll!System.RuntimeTypeHandle.GetTypeByName(string name, bool throwOnError, bool ignoreCase, bool reflectionOnly, ref System.Threading.StackCrawlMark stackMark, System.IntPtr pPrivHostBinder, bool loadTypeFromPartialName)\tUnknown\r\n \tmscorlib.dll!System.RuntimeType.GetType(string typeName, bool throwOnError, bool ignoreCase, bool reflectionOnly, ref System.Threading.StackCrawlMark stackMark)\tUnknown\r\n \tmscorlib.dll!System.Type.GetType(string typeName)\tUnknown\r\n \tEvaluation of: Unknown evaluation\t\r\n \tMicrosoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception exception, System.Action<System.Exception> handler) Line 152\tC#\r\n \tMicrosoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.Diagnostics.EngineV1.DiagnosticIncrementalAnalyzer.LatestDiagnosticsForSpanGetter.TryGetAsync() Line 102\tC#\r\n \t[Resuming Async Method]\t\r\n \t[Native to Managed Transition]\t\r\n \tSystem.Collections.Immutable.dll!System.Collections.Immutable.ImmutableExtensions.ToArray<Microsoft.CodeAnalysis.Diagnostics.DiagnosticData>(System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Diagnostics.DiagnosticData> sequence, int count) Line 110\tC#\r\n \tSystem.Collections.Immutable.dll!System.Collections.Immutable.ImmutableArray.CreateRange<Microsoft.CodeAnalysis.Diagnostics.DiagnosticData>(System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Diagnostics.DiagnosticData> items) Line 137\tC#\r\n>\tMicrosoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.ImmutableArrayExtensions.AsImmutableOrEmpty<Microsoft.CodeAnalysis.Diagnostics.DiagnosticData>(System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Diagnostics.DiagnosticData> items) Line 45\tC#\r\n \tMicrosoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.TaskList.HostDiagnosticUpdateSource.RaiseDiagnosticsUpdatedForProject(Microsoft.CodeAnalysis.ProjectId projectId, object key, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Diagnostics.DiagnosticData> items) Line 39\tC#\r\n \tMicrosoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.TaskList.HostDiagnosticUpdateSource.UpdateDiagnosticsForProject(Microsoft.CodeAnalysis.ProjectId projectId, object key, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Diagnostics.DiagnosticData> items) Line 61\tC#\r\n \tMicrosoft.VisualStudio.LanguageServices.dll!Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioAnalyzer.OnAnalyzerLoadError(object sender, Microsoft.CodeAnalysis.Diagnostics.AnalyzerLoadFailureEventArgs e) Line 120\tC#\r\n \tMicrosoft.CodeAnalysis.dll!Microsoft.CodeAnalysis.Diagnostics.AnalyzerFileReference.GetAnalyzersForTypeNames(System.Reflection.Assembly analyzerAssembly, System.Collections.Generic.IEnumerable<string> analyzerTypeNames, ref bool reportedError)\tUnknown\r\n \tMicrosoft.CodeAnalysis.dll!Microsoft.CodeAnalysis.Diagnostics.AnalyzerFileReference.AddAnalyzers(System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer>.Builder builder, string language)\tUnknown\r\n \tMicrosoft.CodeAnalysis.dll!Microsoft.CodeAnalysis.Diagnostics.AnalyzerFileReference.CreateLanguageSpecificAnalyzers(string langauge, Microsoft.CodeAnalysis.Diagnostics.AnalyzerFileReference reference)\tUnknown\r\n \tSystem.Collections.Immutable.dll!System.Collections.Immutable.ImmutableInterlocked.GetOrAdd<string, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer>, Microsoft.CodeAnalysis.Diagnostics.AnalyzerFileReference>(ref System.Collections.Immutable.ImmutableDictionary<string, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer>> location, string key, System.Func<string, Microsoft.CodeAnalysis.Diagnostics.AnalyzerFileReference, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer>> valueFactory, Microsoft.CodeAnalysis.Diagnostics.AnalyzerFileReference factoryArgument) Line 170\tC#\r\n \tMicrosoft.CodeAnalysis.dll!Microsoft.CodeAnalysis.Diagnostics.AnalyzerFileReference.GetAnalyzers(string language)\tUnknown\r\n \tMicrosoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.Diagnostics.HostAnalyzerManager.CreateDiagnosticAnalyzersPerReferenceMap(System.Collections.Generic.IDictionary<string, Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference> analyzerReferencesMap, string languageOpt) Line 371\tC#\r\n \tMicrosoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.Diagnostics.HostAnalyzerManager.CreateProjectDiagnosticAnalyzersPerReference(Microsoft.CodeAnalysis.Project project) Line 165\tC#\r\n \tMicrosoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.Diagnostics.EngineV1.DiagnosticIncrementalAnalyzer.StateManager.ProjectStates.CreateAnalyzerMap(Microsoft.CodeAnalysis.Project project) Line 132\tC#\r\n \tMicrosoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.Diagnostics.EngineV1.DiagnosticIncrementalAnalyzer.StateManager.GetOrCreateStateSets(Microsoft.CodeAnalysis.Project project) Line 81\tC#\r\n \tMicrosoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.Diagnostics.EngineV1.DiagnosticIncrementalAnalyzer.LatestDiagnosticsForSpanGetter.TryGetAsync() Line 68\tC#\r\n \tMicrosoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.Diagnostics.EngineV1.DiagnosticIncrementalAnalyzer.TryAppendDiagnosticsForSpanAsync(Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Text.TextSpan range, System.Collections.Generic.List<Microsoft.CodeAnalysis.Diagnostics.DiagnosticData> diagnostics, System.Threading.CancellationToken cancellationToken) Line 457\tC#\r\n \tMicrosoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzerService.IncrementalAnalyzerDelegatee.TryAppendDiagnosticsForSpanAsync(Microsoft.CodeAnalysis.Document document, Microsoft.CodeAnalysis.Text.TextSpan range, System.Collections.Generic.List<Microsoft.CodeAnalysis.Diagnostics.DiagnosticData> diagnostics, System.Threading.CancellationToken cancellationToken) Line 167\tC#\r\n \tMicrosoft.CodeAnalysis.Features.dll!Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzerService.TryAppendDiagnosticsForSpanAsync.AnonymousMethod__0() Line 84\tC#\r\n \tmscorlib.dll!System.Threading.Tasks.Task<System.Threading.Tasks.Task<bool>>.InnerInvoke()\tUnknown\r\n \tmscorlib.dll!System.Threading.Tasks.Task.Execute()\tUnknown\r\n \tmscorlib.dll!System.Threading.Tasks.Task.ExecutionContextCallback(object obj)\tUnknown\r\n \tmscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx)\tUnknown\r\n \tmscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx)\tUnknown\r\n \tmscorlib.dll!System.Threading.Tasks.Task.ExecuteWithThreadLocal(ref System.Threading.Tasks.Task currentTaskSlot)\tUnknown\r\n \tmscorlib.dll!System.Threading.Tasks.Task.ExecuteEntry(bool bPreventDoubleExecution)\tUnknown\r\n \tmscorlib.dll!System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()\tUnknown\r\n \tmscorlib.dll!System.Threading.ThreadPoolWorkQueue.Dispatch()\tUnknown\r\n \tmscorlib.dll!System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()\tUnknown"}}