Comments (1)
The exception is an unreachable code issue.
Stack trace
System.InvalidOperationException: This program location is thought to be unreachable. File='/_/src/Compilers/CSharp/Portable/FlowAnalysis/AbstractFlowPass.cs' Line=3357
at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.VisitUnconvertedObjectCreationExpression(BoundUnconvertedObjectCreationExpression node) in /_/src/Compilers/CSharp/Portable/FlowAnalysis/AbstractFlowPass.cs:line 3357
at Microsoft.CodeAnalysis.CSharp.BoundUnconvertedObjectCreationExpression.Accept(BoundTreeVisitor visitor) in /_/src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs:line 6203
at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.VisitExpressionWithoutStackGuard(BoundExpression node) in /_/src/Compilers/CSharp/Portable/FlowAnalysis/AbstractFlowPass.cs:line 376
at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(Int32& recursionDepth, BoundExpression node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeVisitors.cs:line 212
at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.VisitRvalue(BoundExpression node, Boolean isKnownToBeAnLvalue) in /_/src/Compilers/CSharp/Portable/FlowAnalysis/AbstractFlowPass.cs:line 663
at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.VisitBadExpression(BoundBadExpression node) in /_/src/Compilers/CSharp/Portable/FlowAnalysis/AbstractFlowPass.cs:line 1521
at Microsoft.CodeAnalysis.CSharp.BoundBadExpression.Accept(BoundTreeVisitor visitor) in /_/src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs:line 992
at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.VisitExpressionWithoutStackGuard(BoundExpression node) in /_/src/Compilers/CSharp/Portable/FlowAnalysis/AbstractFlowPass.cs:line 376
at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(BoundExpression node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeVisitors.cs:line 242
at Microsoft.CodeAnalysis.CSharp.BoundTreeVisitor.VisitExpressionWithStackGuard(Int32& recursionDepth, BoundExpression node) in /_/src/Compilers/CSharp/Portable/BoundTree/BoundTreeVisitors.cs:line 216
at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.VisitRvalue(BoundExpression node, Boolean isKnownToBeAnLvalue) in /_/src/Compilers/CSharp/Portable/FlowAnalysis/AbstractFlowPass.cs:line 663
at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.VisitExpressionStatement(BoundExpressionStatement node) in /_/src/Compilers/CSharp/Portable/FlowAnalysis/AbstractFlowPass.cs:line 1279
at Microsoft.CodeAnalysis.CSharp.BoundExpressionStatement.Accept(BoundTreeVisitor visitor) in /_/src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs:line 3579
at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.Visit(BoundNode node) in /_/src/Compilers/CSharp/Portable/FlowAnalysis/AbstractFlowPass.cs:line 343
at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.VisitStatement(BoundStatement statement) in /_/src/Compilers/CSharp/Portable/FlowAnalysis/AbstractFlowPass.cs:line 673
at Microsoft.CodeAnalysis.CSharp.DefiniteAssignmentPass.VisitStatementsWithLocalFunctions(BoundBlock block) in /_/src/Compilers/CSharp/Portable/FlowAnalysis/DefiniteAssignment.cs:line 2154
at Microsoft.CodeAnalysis.CSharp.DefiniteAssignmentPass.VisitBlock(BoundBlock node) in /_/src/Compilers/CSharp/Portable/FlowAnalysis/DefiniteAssignment.cs:line 2089
at Microsoft.CodeAnalysis.CSharp.BoundBlock.Accept(BoundTreeVisitor visitor) in /_/src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs:line 3223
at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.Visit(BoundNode node) in /_/src/Compilers/CSharp/Portable/FlowAnalysis/AbstractFlowPass.cs:line 343
at Microsoft.CodeAnalysis.CSharp.DefiniteAssignmentPass.Scan(Boolean& badRegion) in /_/src/Compilers/CSharp/Portable/FlowAnalysis/DefiniteAssignment.cs:line 372
at Microsoft.CodeAnalysis.CSharp.AbstractFlowPass`2.Analyze(Boolean& badRegion, Optional`1 initialState) in /_/src/Compilers/CSharp/Portable/FlowAnalysis/AbstractFlowPass.cs:line 448
at Microsoft.CodeAnalysis.CSharp.DefiniteAssignmentPass.Analyze(Boolean& badRegion, DiagnosticBag diagnostics) in /_/src/Compilers/CSharp/Portable/FlowAnalysis/DefiniteAssignment.cs:line 683
at Microsoft.CodeAnalysis.CSharp.DefiniteAssignmentPass.<Analyze>g__analyze|40_1(Boolean strictAnalysis, <>c__DisplayClass40_0&) in /_/src/Compilers/CSharp/Portable/FlowAnalysis/DefiniteAssignment.cs:line 640
at Microsoft.CodeAnalysis.CSharp.DefiniteAssignmentPass.Analyze(CSharpCompilation compilation, MethodSymbol member, BoundNode node, DiagnosticBag diagnostics, ImmutableArray`1& implicitlyInitializedFieldsOpt, Boolean requireOutParamsAssigned) in /_/src/Compilers/CSharp/Portable/FlowAnalysis/DefiniteAssignment.cs:line 553
at Microsoft.CodeAnalysis.CSharp.FlowAnalysisPass.Rewrite(MethodSymbol method, BoundBlock block, TypeCompilationState compilationState, BindingDiagnosticBag diagnostics, Boolean hasTrailingExpression, Boolean originalBodyNested) in /_/src/Compilers/CSharp/Portable/FlowAnalysis/FlowAnalysisPass.cs:line 51
at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethod(MethodSymbol methodSymbol, Int32 methodOrdinal, ProcessedFieldInitializers& processedInitializers, SynthesizedSubmissionFields previousSubmissionFields, TypeCompilationState compilationState) in /_/src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs:line 1080
at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileNamedType(NamedTypeSymbol containingType) in /_/src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs:line 530
at Microsoft.CodeAnalysis.CSharp.MethodCompiler.<>c__DisplayClass25_0.<CompileNamedTypeAsync>b__0() in /_/src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs:line 432
at Roslyn.Utilities.UICultureUtilities.<>c__DisplayClass5_0.<WithCurrentUICulture>b__0() in /_/src/Compilers/Core/Portable/InternalUtilities/UICultureUtilities.cs:line 139
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__281_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.CodeAnalysis.CSharp.MethodCompiler.CompileMethodBodies(CSharpCompilation compilation, PEModuleBuilder moduleBeingBuiltOpt, Boolean emittingPdb, Boolean hasDeclarationErrors, Boolean emitMethodBodies, BindingDiagnosticBag diagnostics, Predicate`1 filterOpt, CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Compiler/MethodCompiler.cs:line 160
at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnosticsForAllMethodBodies(BindingDiagnosticBag diagnostics, Boolean doLowering, CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Compilation/CSharpCompilation.cs:line 2938
at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetDiagnosticsWithoutSeverityFiltering(CompilationStage stage, Boolean includeEarlierStages, BindingDiagnosticBag builder, Predicate`1 symbolFilter, CancellationToken cancellationToken) in /_/src/Compilers/CSharp/Portable/Compilation/CSharpCompilation.cs:line 2910
at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.<GetAllDiagnosticsAsync>g__getAllDiagnosticsWithoutStateTrackingAsync|35_0(ImmutableArray`1 analyzers, CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/DiagnosticAnalyzer/CompilationWithAnalyzers.cs:line 313
at Microsoft.CodeAnalysis.Diagnostics.CompilationWithAnalyzers.GetAllDiagnosticsAsync(CancellationToken cancellationToken) in /_/src/Compilers/Core/Portable/DiagnosticAnalyzer/CompilationWithAnalyzers.cs:line 294
at MirrorSharp.Internal.Roslyn.RoslynSession.GetDiagnosticsAsync(CancellationToken cancellationToken) in D:\a\SharpLab\SharpLab\!roslyn-branches\dotnet-main\sharplab\source\#external\mirrorsharp\Common\Internal\Roslyn\RoslynSession.cs:line 99
at MirrorSharp.Internal.Handlers.SlowUpdateHandler.ExecuteAsync(AsyncData data, WorkSession session, ICommandResultSender sender, CancellationToken cancellationToken) in D:\a\SharpLab\SharpLab\!roslyn-branches\dotnet-main\sharplab\source\#external\mirrorsharp\Common\Internal\Handlers\SlowUpdateHandler.cs:line 27
at MirrorSharp.Internal.Connection.ReceiveAndProcessInternalAsync(CancellationToken cancellationToken) in D:\a\SharpLab\SharpLab\!roslyn-branches\dotnet-main\sharplab\source\#external\mirrorsharp\Common\Internal\Connection.cs:line 96
at MirrorSharp.Internal.Connection.ReceiveAndProcessAsync(CancellationToken cancellationToken) in D:\a\SharpLab\SharpLab\!roslyn-branches\dotnet-main\sharplab\source\#external\mirrorsharp\Common\Internal\Connection.cs:line 54
from roslyn.
Related Issues (20)
- Follow up on used assemblies validation failure for `AnonymousTypeMember_02` unit-test
- Consider adjusting wording for `ErrorCode.ERR_NoConvToIDisp`
- Assert fires in `EnsureMetadataVirtual` HOT 1
- [Automated] PRs inserted in VS build main-34917.78
- Expose `SeparatedSyntaxList<T>.GetWithSeparators()` through interface HOT 9
- "Add await" should be upgraded to a codefix in presence of CS4014
- Remove NETSDK1206 from NoWarn
- Consider having constructors automatically inherit documentation from the containing type HOT 1
- Refactoring ""Extract Method" when a primary constructor property is in the extracted code sends primary constructor property in as a method parameter
- Generate Constructor Quick Action doesn't work on Primary Constructors
- Rename does not work for C# class name in VS 17.9.6
- Serializable exception proposed by visual studio in dotnet 8 HOT 2
- Intellisense hover for suggestions, missing assembly references not working
- Visual Studio only detects problems on build
- Include location for required member missing error HOT 1
- [Automated] PRs inserted in VS build main-34920.65
- [Automated] PRs inserted in VS build feature.debugger.main-34920.221
- Taghelpers break build on 8.0.300 with various errors (major impact, Area-Compilers) HOT 2
- IDE0290 code fix is invalid in `ref struct`
- Overlapped icons in inheritance margin
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 roslyn.