Commit graph

1081 commits

Author SHA1 Message Date
Neal Gafter
150100658d Add notes for 2013-11-04 2017-12-27 16:12:17 -08:00
Mads Torgersen
21dc9561ae
Merge pull request #1207 from dotnet/design-notes
Add design notes for nullable reference types
2017-12-20 17:07:57 -08:00
Mads Torgersen
c112d27130 Add design notes for nullable reference types 2017-12-20 17:05:17 -08:00
Zheng Chen
34310c6853 Fix ANTLR in Expression (#1134)
There's no definition of `interpolated_string anywhere`.

But I found the `interpolated_string_expression`.

So I fixed the reference.
2017-12-10 02:09:38 -08:00
Matthieu Mourisson
67d38273af Fixed a copy/paste mistake in readme.md (#1139)
The meeting notes from january 10 to August 9 appeared twice in the 2017 readme file
2017-12-10 02:08:32 -08:00
levanter
cd15c238fb Fix operator '*' to '-' in unary operators section (#1141) 2017-12-10 02:05:51 -08:00
Bill Barry
4d9f1affaf missing spaces between some words (#1160) 2017-12-10 02:05:00 -08:00
Jared Parsons
3f51b4ef7c
Merge pull request #1165 from VSadov/updateRoRefs
Updating readonly reference proposal to match the final form of features.
2017-12-07 09:09:27 -08:00
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