Commit graph

1263 commits

Author SHA1 Message Date
Stephen Toub 796742db0d
Fix tabs instead of spaces in async method builders proposal 2020-11-08 15:22:18 -05:00
Stephen Toub 4650fd6202
Remove erroneous [Pool] portion of async method builders proposal 2020-11-08 15:21:17 -05:00
Mads Torgersen 1cec9651fd
Update LMD agenda 2020-11-06 14:16:18 -08:00
Rikki Gibson 29b0f41953
Add nullable parameter default proposal (#4101) 2020-11-06 09:57:45 -08:00
Stephen Toub 4c8b0a1c81
Add proposal for per-method AsyncMethodBuilders (#4105)
* Add async methods proposal

* Address PR feedback
2020-11-05 17:58:17 -05:00
Jared Parsons 475c75bfab
Move task like proposal to csharplang (#4107)
Moving the task-like proposal from roslyn to csharplang

https://github.com/dotnet/roslyn/blob/master/docs/features/task-types.md
2020-11-05 14:23:43 -08:00
Fredric Silberberg 1458643eab
Added notes for November 11th, 2020 2020-11-04 16:00:41 -08:00
Julien Couvreur 29df547564
Fork NRT speclet (#4100) 2020-11-04 12:05:09 -08:00
Fred Silberberg 22ab7021c3
Add init accessors in readonly structs and readonly properties (#3915) 2020-11-02 12:55:26 -08:00
Fred Silberberg 87c087f410
Add list patterns to schedule when convenient. 2020-11-02 11:05:37 -08:00
Mads Torgersen 7712303fc6
Update LDM agenda 2020-11-01 16:38:48 -08:00
Youssef Victor 7125a8428a
Fix typo (is -> if) (#4091) 2020-10-31 11:56:08 -07:00
Julien Couvreur b2b83eed29
Disallow unsafe types for record parameters (#4077) 2020-10-29 22:17:22 -07:00
Mads Torgersen a4c37c2d68
Add to the LDM agenda 2020-10-29 17:28:46 -07:00
Yair Halberstadt 75ea1d741f
Allow trailing comma after subpatterns (#4069) 2020-10-27 10:39:10 -07:00
Fred Silberberg ddbd1e2505
Fix bullets 2020-10-26 14:18:25 -07:00
Fredric Silberberg 211d49a34f
Add notes for October 26th, 2020 2020-10-26 14:17:17 -07:00
Charles Stoner 9807f9b2e2
Add proposals/csharp-9.0/unconstrained-type-parameter-annotations.md (#4043) 2020-10-26 13:19:24 -07:00
Julien Couvreur 4fc7fcf83b
Update README.md 2020-10-24 22:20:25 -07:00
Julien Couvreur 0d9762aa9f
Allow semi-colon after block body for record declarations (#4060)
Since we allow `class C { };`
2020-10-23 10:52:39 -07:00
Fredric Silberberg 346d2d2125
Added notes for October 21st, 2020 2020-10-21 14:56:54 -07:00
Mads Torgersen 1042196165
Add LDM dates 2020-10-21 09:33:44 -07:00
Mads Torgersen dc5830cd93
Update C# LDM 2020-10-21 09:16:18 -07:00
Petr Kulikov 94b8189f4a
Covariant returns - typo fixes (#4045) 2020-10-21 10:30:43 -04:00
Fred Silberberg e4b0ade065
Add info about the milestones to the README. (#4011) 2020-10-20 15:02:12 -07:00
Charles Stoner a0b59a6768
Add proposals/csharp-8.0/shadowing-in-nested-functions.md (#4036)
* Add proposals/csharp-8.0/shadowing-in-nested-functions.md

* Use enclosing method rather than scope

* Misc.
2020-10-19 12:56:27 -07:00
Mads Torgersen 8e7d390f6d
Update LDM agenda 2020-10-16 17:36:37 -07:00
Mrxx99 f6a4820041
Updated records in proposal "discriminated-unions" (#4014)
Changed "data class" in examples to "record" and some other adjustments to conform more with records.
Also swapped position of "partial" and "abstract" because apparently the compiler only likes it the other way.
To get the examples to compile the classes that contain the records ("Shape", "Binary" and "Expr") should also be changed to record but I left that out for now.
2020-10-15 10:51:54 -07:00
Fredric Silberberg 843230d5c0
Added notes for October 14th, 2020 2020-10-14 14:57:31 -07:00
Fred Silberberg 87adc18115
Fix links 2020-10-13 11:59:07 -07:00
Fred Silberberg 2878f42415
Fix list formatting 2020-10-13 11:55:19 -07:00
Fredric Silberberg c2b4f93666
Added notes for October 12th, 2020. 2020-10-12 16:00:42 -07:00
Eamon Nerbonne 88ef4b0056
revist => revisit (#3995) 2020-10-11 09:45:46 -07:00
Mads Torgersen d5d2f87c23
Update LDM agenda 2020-10-09 14:30:22 -07:00
Fred Silberberg 1efe320de3
Fix ToC 2020-10-07 16:01:51 -07:00
Fredric Silberberg 41828d6f50
Added notes for October 7th, 2020 2020-10-07 15:58:39 -07:00
Mads Torgersen 57ab7dca0d
Add next design review to agenda 2020-10-07 12:31:12 -07:00
Mads Torgersen b22cb4c657
Update README.md
Remove obsolete agendas
2020-10-07 12:29:53 -07:00
Fredric Silberberg 7cbb29465b
Added notes for October 5th, 2020 2020-10-06 14:58:21 -07:00
WhiteBlackGoose 7014365bd8
System.StringBuilder -> System.Text.StringBuilder (#3976) 2020-10-06 07:59:50 -07:00
Damien Guard 23c9e13493
Add missing , to record_base rule (#3972) 2020-10-05 09:49:56 -07:00
Damien Guard 6bfe301e79
Update records to correct pubic to public (#3971) 2020-10-05 08:04:38 -07:00
Mads Torgersen a2cd3c4947
Update LDM agenda 2020-10-02 13:37:25 -07:00
Fred Silberberg 201a8cb7fe
Remove missing link 2020-10-01 13:29:06 -07:00
Fred Silberberg b5ff2efa01
Fix nested list. 2020-10-01 13:28:42 -07:00
Fredric Silberberg a3d67d1415
Added notes for September 30th, 2020 2020-10-01 13:21:55 -07:00
Jared Parsons 77b2ab88a0
Proposal: Low level struct improvements (#3936)
* Proposal: Low level struct improvements

This design covers adding the following features to C# for low level
struct performance improvements:

- Allowing `ref struct` to contain `ref` fields.
- Allowing `struct` and `ref struct` to return `ref` to their fields.
- Allowing safe fixed buffers for unmanaged and managed types.

Note: the section on providing parameter escape notations is incomplete
at this time. I will send a PR in the future once I finalize this
portion. Feel free to still leave comments though.

Iterations

* Rename to ThisRefEscapes

The name `[RefEscapes]` was causing a lot of confusion in the
discussions. People were mis-interpretting it as a general feature that
could apply to other constructs when in reality it's a very specific and
targetted feature. Renaming to `[ThisRefEscapes]` to make it clear this
is a very targetted feature.

* Allow heap inputs

Based on feedback from several people I've decided that we need to make
the rules for `ref` fields more flexible when the values being passed
around are known to refer to the heap. In those cases there is simply no
reason to restrict the created `ref struct` as it is always
*ref-safe-to-escape* to the enclosing method as well as not requiring
any adjustment to the method invocation rules.

This does mean that we need to add the notion of "refers to the heap" to
the span safety document. That doesn't change any assumptions there.
It's just that before this change the notion of "refers to the heap"
wasn't necessary to describe our safety rules.


Co-authored-by: Ruikuan <liruikuan@outlook.com>
Co-authored-by: Joseph Musser <me@jnm2.com>
2020-09-29 08:31:01 -07:00
Fredric Silberberg cd13c1328c
Added notes for September 28th, 2020 2020-09-28 14:46:57 -07:00
Andrew Hill 3f6a61b29b
We should Inform people about appropriate use of analyzers (#3934)
* We should Inform people about appropriate use of analyzers

as per #3925

* Update README.md

Co-authored-by: Fred Silberberg <fred@silberberg.xyz>
2020-09-27 11:14:17 -07:00
Fred Silberberg 8bcdc05af8
Corrected the date 2020-09-26 21:10:52 -07:00