Commit graph

1223 commits

Author SHA1 Message Date
vsadov ae2150b996 Couple tweaks 2017-12-06 15:45:30 -10:00
vsadov 9d0cd3a875 PR feedback and other fixes 2017-12-06 15:19:44 -10:00
Mads Torgersen 3b43266cea
Merge pull request #1172 from dotnet/design-notes
Add raw notes
2017-12-05 17:07:24 -08:00
Mads Torgersen a0eaa09408 Add raw notes 2017-12-05 17:06:17 -08:00
vsadov ec8c4e7a4c More details on indexable fixed-sized buffers. 2017-12-02 23:14:51 -08:00
vsadov 6f99ef0d4f Updating readonly reference proposal to match the final form of features.
Incorporate decisions, changes and motivation from various sources, documents and discussions.
The goal is to have all the relevant information in one place and describe the expected behavior of the actual implementation.
2017-12-01 13:57:24 -08:00
Leonardo Pedro da Silva de Sousa 479f29fc61 Correction of word "contextual" (#1132)
Merging on behalf of @SousaL 
Thanks for the correction
2017-11-29 11:27:23 -08:00
Julien Couvreur 6bd06b58c6
Update language history for C# 7.2 (#1154) 2017-11-28 19:32:21 -08:00
vsadov 183b8d1eed Stackalloc array initializers.
Ordinary arrays can be created through the following syntax:

```C#
new int[3]
new int[3] { 1, 2, 3 }
new int[] { 1, 2, 3 }
new[] { 1, 2, 3 }
```

We should allow stack allocated arrays be created through:

```C#
stackalloc int[3]				// currently allowed
stackalloc int[3] { 1, 2, 3 }
stackalloc int[] { 1, 2, 3 }
stackalloc[] { 1, 2, 3 }
```
2017-11-20 13:38:51 -08:00
Neal Gafter 9cc395104e
Variance for interfaces and delegates was introduced in C# 4, not 2. 2017-11-20 09:37:03 -08:00
vsadov 9dc8b26c7d some more CR feedback 2017-11-13 16:52:26 -08:00
vsadov 8cbf7ce24c addressed some PR comments. Thanks!! 2017-11-12 11:40:27 -08:00
vsadov 89bceec3a8 pattern based fixed 2017-11-11 23:05:03 -08:00
James Ko 5971e753a2 Fix changes from #537 (#718) 2017-11-05 14:34:35 -08:00
Bruno Juchli 5339dde3e5 fixed typo representaion ==> representation (#1008) 2017-10-29 21:22:42 -07:00
Mads Torgersen c0c834e4c9 Merge pull request #1000 from mairaw/patch-1
fix spacing
2017-10-18 08:56:01 -07:00
Mads Torgersen bf3677bc6c Merge pull request #1001 from BillWagner/remove-h1-anchors
remove anchors to H1 tags
2017-10-17 18:09:51 -07:00
Charles Stoner d3fabc1289 Add declaration-expressions.md proposal (#977) 2017-10-17 00:50:27 -04:00
Julien Couvreur f8af0632d2 Moving "ref local reassignment" out of csharp-7.2 folder (#996) 2017-10-15 14:13:36 -07:00
Bill Wagner eb528dbd21 remove anchors to H1 tags
When the C# spec is incorporated into the docs.microsoft.com build, any links that include anchors generate warnings when the link is to the H1 tag in the first line of the file. These should be simple file links.

This PR removes the extra anchor tags
2017-10-14 15:21:38 -04:00
Maira Wenzel 868b881ca5 fix spacing 2017-10-13 15:21:44 -07:00
Jared Parsons ca8a038e01 Merge pull request #999 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
2017-10-13 13:49:40 -07:00
The Gitter Badger f2f73cdf11 Add Gitter badge 2017-10-13 20:24:43 +00:00
Jared Parsons 66f016558e Merge pull request #206 from jaredpar/blittable
Initial blittable proposal
2017-10-11 09:33:10 -07:00
Mads Torgersen 95c9267d0d Add design notes 2017-10-05 20:15:39 -07:00
Neal Gafter ca982efb54 Spec for ref local reassignment. (#963) 2017-10-05 13:23:32 -07:00
Erik Schierboom 45681a8729 Fix missing parameter type argument (#940) 2017-10-03 16:48:50 -07:00
Vladimir Sadov 0b145f3eb4 Update span-safety rules to account for recent changes (#951)
We no longer assume that ` Span<T> span = new Span<T>(ref variable); ` can actually "wrap" the reference to the variable.

This allows to relax some of the safety requirements.
2017-10-03 16:48:15 -07:00
Neal Gafter f1cdf14b6c Add "spec" for leading underscores in hex and binary literals. (#962) 2017-10-03 15:09:36 -07:00
Petr Onderka 08d20126c0 Fix links in Language Version History (#938) 2017-09-25 17:52:47 -04:00
Julien Couvreur ac995bd794 Move feature specs for C# 7.2 to proper folder (#925) 2017-09-21 08:51:24 -07:00
Tanner Gooding a60a3a3644 Merge pull request #685 from tannergooding/fixed-sized-buffers
Adding the 'fixed-sized-buffers' proposal.
2017-09-12 12:59:53 -07:00
Petr Onderka 0bffa700db Small fixes related to async (#759) 2017-09-07 15:30:46 -07:00
James Ko 97dcc16c68 Update CAE spec for extension methods (#719) 2017-09-07 10:14:46 -07:00
Erik Schierboom 7715c3d07c Indent code samples in readonly-ref.md (#740)
The code samples were all indented 8 spaces on the left, which make them slightly harder to read. This PR fixes that.
2017-09-07 10:10:42 -07:00
Michael Clark cc435ac889 Correct rendering of Expressions table (#743) 2017-09-07 10:09:26 -07:00
Petr Onderka b80c3eb907 Fixed formatting in 2014 meetings README (#746) 2017-09-07 10:08:38 -07:00
Andrew Janke abf132bc7d Spec: Fix missing-space typo in Basic Concepts (#800) 2017-09-07 10:03:11 -07:00
Petr Onderka 057c1fde48 Fix formatting in 2015 LDM notes (#745) 2017-09-07 10:01:55 -07:00
gzak c6084741e4 fix typo in property_initializer syntax (#770) 2017-09-07 10:00:05 -07:00
Julien Couvreur c5fbcd6f4e Move C# 7.1 proposals to 7.1 folder (#870) 2017-09-06 13:10:02 -07:00
Drew Noakes b7e7879109 Capitalisation of ReadOnlySpan<T> (#875)
Although C# has the `readonly` keyword, the common usage is to have the term hyphenated as _read-only_.

This would mean the term should have a capital O. I.e. `ReadOnlySpan<T>` rather than `ReadonlySpan<T>`.

This matches `IReadOnlyCollection` and friends.
2017-09-02 07:53:10 -04:00
Stephen Toub cd1c38a546 Merge pull request #866 from stephentoub/update_async_stream_proposal
Update async stream proposal based on design meeting
2017-08-31 00:25:18 -04:00
Stephen Toub 876bf163c7 Update async stream proposal based on design meeting 2017-08-30 17:32:50 -04:00
Stephen Toub 22eb67537f Fix typo in async streams proposal 2017-08-30 08:43:25 -04:00
Stephen Toub 57b83d6fa0 Merge pull request #864 from stephentoub/asyncstream_proposal
Add strawman proposal for async iterators
2017-08-30 08:40:18 -04:00
Stephen Toub cd5130970d Add strawman proposal for async iterators
This is by no means a finished design; rather, it's a starting point for subsequent discussions, design, and prototyping.
2017-08-30 08:39:38 -04:00
Neal Gafter 9bae7bfdf9 Update span-safety.md 2017-08-28 11:47:00 -07:00
Neal Gafter 568b395226 Further refinements to the span safety rules. (#855) 2017-08-27 22:52:26 -07:00
Neal Gafter ee03f0d3fd Adjust span safety rules for in arguments and foreach (#844) 2017-08-24 12:26:11 -07:00