Comments (2)
This combination of features (record
and InlineArray
) is not particularly useful. @AlekseyTs did we consider making this combination an error at declaration? Can't see any good reasons to allow this.
from roslyn.
did we consider making this combination an error at declaration? Can't see any good reasons to allow this.
This is an oversight, there was no intent to support record-like behavior for inline arrays.
from roslyn.
Related Issues (20)
- 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
- 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
- IDE0055 false positive with `[..XXX]` pattern HOT 14
- Compiler chooses params span overload in expression trees leading to errors HOT 8
- Invalid implicit cast of async lambda expression to Action HOT 8
- Confusing error message when using `in this` with an enum HOT 1
- Regression: static initializer not run on class (worked with the old .NET Framework compiler) HOT 4
- Collection Expression Compile Error after upgrading to SDK 8.0.3. HOT 4
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.