Comments (6)
Tagging subscribers to this area: @dotnet/area-system-numerics
See info in area-owners.md if you want to be subscribed.
from roslyn.
The comparison operator of nullables are synthesized by compiler:
The difference of SDK version also suggests this. SDK 8.0.205 and 8.0.300 shares the same runtime version of 8.0.5, but different compiler versions. So this is probably a C# compiler bug for https://github.com/dotnet/roslyn.
from roslyn.
Switching to main
in SharpLab, the HasValue
call disappears in decompilation of the third invocation.
from roslyn.
Do I need to repost this issue over to the roslyn repo?
from roslyn.
Do I need to repost this issue over to the roslyn repo?
No, we're addressing it directly now. Thanks for the report!
from roslyn.
Running in visual studio did not reproduce this issue
For us it did, but only after we updated to the most recent version (17.10.0). (that also installed sdk 8.0.300)
from roslyn.
Related Issues (20)
- Assigning members of ICollection types with collection initializers can provably cause NullReferenceExceptions HOT 4
- StaticAbstractMembersInInterfaces - Roslyn does not warn that a most-derived static interface method implementation will not be used HOT 8
- Scripting API - Operation is not supported on this platform. (when AOT published)
- A potential bug in custom string interpolation constructor resolving for `ref` parameters HOT 1
- Compile Error After Upgrading - SDK 8.0.300 - 'Class1' does not contain a definition for 'DisposeAsync' HOT 3
- Allow manually forcing a refresh of the IntelliSense database HOT 2
- Allow manually forcing a refresh of the IntelliSense database HOT 1
- "Use primary constructor" does not produce a diagnostic for an empty public parameterless constructor HOT 6
- Invalid implicit conversion from long to int HOT 6
- SymbolFinder.FindReferencesAsync not returning references used as base constructor
- SymbolFinder.FindReferencesAsync not returning references used as base constructor HOT 1
- Question: MSBuildWorkspace can't open .proj file HOT 8
- Compiler should allow calling a property's setter if it doesn't affect the structure itself HOT 2
- Debug Assert error for __arglist (not handled in ref safety analysis)
- `value` parameter considered in scope in `nameof()` in event accessor attribute
- Having two embedded resources dependent on the same file causes CS1508 error HOT 1
- Better optimizations around combining string concatenation and string interpolation
- ArraySegment<T> s = []; leads to wrong initialization HOT 10
- "Use collection expression" code fix drops comments in certain cases HOT 2
- Unexpected behavior when using ref structs in foreach loop
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.