question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Building Corelib in runtime triggers several asserts

See original GitHub issue

Steps:

  1. Enlist in github.com/dotnet/runtime
  2. sync to 57e8776ac5cf5586f5199f0a65329d8a81827cf6
  3. Move to src\libraries\System.Private.Xml\src
  4. Build with a debug version of csc.

The following two asserts will be hit:

https://github.com/dotnet/roslyn/blob/6a9e93ce60d7ef7f0f95030372ed512b0d6fd5ce/src/Compilers/Core/Portable/Operations/ControlFlowGraphBuilder.cs#L94-L100

https://github.com/dotnet/roslyn/blob/6a9e93ce60d7ef7f0f95030372ed512b0d6fd5ce/src/Compilers/CSharp/Portable/CodeGen/EmitConversion.cs#L156-L159

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
333fredcommented, Sep 16, 2022

We had to revert the IAttributeOperation PR for now. We’ll get it back in at some point.

0reactions
333fredcommented, Feb 17, 2023

I don’t believe anything. Closing out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot define a Trigger when using ...
Describe the bug I am attempting to build a stack that includes a Custom Trigger for a Lambda Function; however, when attempting to...
Read more >
Multiple asserts and multiple actions on integration test
I have a integration test that should test the creation of a new account in a CRM software. The account creation triggers several...
Read more >
Runtime Assertion unit and functional testing
Problem Motivation Whenever possible, we need to have PHP 5.x and 7 behave the same way during testing. PHP 7 allows assertions to...
Read more >
Runtime C# Code Compilation Revisited for Roslyn - Rick Strahl
In this post I'll talk about the process of using the Roslyn C# Code compilation APIS and the why's and how's of creating...
Read more >
Stop requiring only one assertion per unit test: Multiple ...
xUnit Test Patterns describes two causes of Assertion Roulette: Eager Test: A single test verifies too much functionality. Missing Assertion ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found