Discussion: C# Design Review Notes for Mar 25, 2019 #2385
Replies: 16 comments
-
Does this approach mean there will be no way to annotate existing versions of external assemblies? |
Beta Was this translation helpful? Give feedback.
-
I do hope not. |
Beta Was this translation helpful? Give feedback.
-
System.Drawing is currently available to .NET Core via Microsoft.Windows.Compatibility NuGet and System.Windows.Forms is now open source on github https://github.com/dotnet/winforms and avilable as part of the upcoming .NET Core 3.0 (though only on Windows) |
Beta Was this translation helpful? Give feedback.
-
You are welcome to create your own reference assemblies with annotations. |
Beta Was this translation helpful? Give feedback.
-
Does that mean this will compile: var dic = new Dictionary<int, int>();
var x = dic[^1]; And if so, is that worth doing anything about? Moved from caf9e90#r32997853 |
Beta Was this translation helpful? Give feedback.
-
@YairHalberstadt It is an open issue whether indexers declared to take a type parameter but constructed so that the indexer takes an |
Beta Was this translation helpful? Give feedback.
-
@gafter will there be a guide accompanying the release on how to make a reference assembly for, say, some old release of Newtonsoft.JSON? |
Beta Was this translation helpful? Give feedback.
-
And for the BCL? If you just need somebody to figure out which things are nullable and which are not, a lot of that work has already been done. |
Beta Was this translation helpful? Give feedback.
-
Could you please describe the |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
@scalablecory And what about sending |
Beta Was this translation helpful? Give feedback.
-
@Thaina I believe that is already settled; an extension method like |
Beta Was this translation helpful? Give feedback.
-
I am not aware of any such documentation effort, but contributions are most welcome! |
Beta Was this translation helpful? Give feedback.
-
...or, APIs that are not available at all, like WCF hosting (not client!) with Net.Tcp, Named Pipes and MSMQ transport. But this is supposed to be about the C# language and getting NRT annotations, so I'll shut up for now |
Beta Was this translation helpful? Give feedback.
-
@BhaaLseN : * and |
Beta Was this translation helpful? Give feedback.
-
@Unknown6656 Based on https://github.com/dotnet/corefx/issues/18012, I believe |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Note: I took it upon myself to create this issue since there wasn't one already.
C# Design Review Notes for Mar 25, 2019
We brought in the design review team to look at some of our recent and open decisions in C# LDM.
Index
andRange
What happens with .NET Framework? Will new Reference Assemblies be produced that contain annotations, or would we have to wait until .NET 4.9 or similar to ship with nullability annotations?
Or is Microsoft going to [continue to] ignore .NET Framework completely, and have another language feature that is semi-exclusive to .NET Core?
Beta Was this translation helpful? Give feedback.
All reactions