C# 9 record types show as a miss
See original GitHub issueAs you can see on line 32, my tests are running the PathCount
constructor (and are elsewhere calling both getters), but is being registered as a miss.
Version Info
- Target Framework:
.net5.0
- coverlet.collector: 1.3.0
- coverlet.msbuild: 2.9.0
If I have some time tomorrow, I’ll try to create an MVCE.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:7
Top Results From Across the Web
Records - C# 9.0 draft feature specifications
This feature specification describes records. Records are reference types that provide value based equality semantics.
Read more >Do C#9 Record Types Take Longer to Perform Equality ...
We noticed that equality comparison is slower with record types than class types that are otherwise identical. Why is this? Is GetHashCode ...
Read more >What's new in C# 9.0 - C# Guide
C# 9.0 introduces record types. You use the record keyword to define a reference type that provides built-in functionality for encapsulating ...
Read more >Record Types In C# 9 - NET Core Tutorials
The gist of a record type is that it provides an easier way to use the immutability features within C# 9 (init) and...
Read more >Pattern matching and record types in C# 9
The following listing shows how you can use record types to model an Order . To keep things simple, I'm assuming that an...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@MarcoRossignoli I think I’ll have some time tomorrow to test it out. I’ll get back to you.
Done! I wasn’t sure if you wanted to leave it open until it was released or not. Thanks for the great tools!