Commit graph

264 commits

Author SHA1 Message Date
Jared Parsons dc6d70e02c
Cleanup 2019-01-14 16:32:00 -08:00
Jared Parsons 32ae3b834c
More work 2019-01-14 16:21:39 -08:00
Jared Parsons 94eef2a172
Responding to LDM feedback 2019-01-14 13:15:37 -08:00
Jared Parsons e3b88f2b10
Null arg checking proposal
Proposal for simplified null argument validation.
2019-01-13 18:16:19 -08:00
Mads Torgersen d0f4efa010
Merge pull request #2134 from dotnet/design-notes
Describe Merging
2019-01-10 16:30:50 -08:00
Mads Torgersen 365604f3d5 Describe Merging 2019-01-10 16:29:57 -08:00
Neal Gafter bb0f682299
Add ref-escape rules for unary operators. (#2117) 2019-01-04 11:27:28 -08:00
Jared Parsons a901f5e21d
params Span discussion 2019-01-03 16:19:24 -08:00
Jared Parsons 60df1b01d7
More outlining 2019-01-03 15:45:39 -08:00
Jared Parsons 3d4b9aad51
Initial template 2019-01-03 15:35:01 -08:00
Amadeusz Sadowski 52307b6f38 Upate patterns.md - always use switch_expression (#2096)
There were some not updated usages of *match_expression*. I've replaced all of them with *switch_expression* as I guess was intended.
2018-12-20 20:57:25 -08:00
Neal Gafter a82f6a7950
Update link to scala paper 2018-12-20 13:14:35 -08:00
Neal Gafter 73c4bd321a
Update patterns.md (#2094)
* Update patterns.md per review comments
2018-12-20 11:19:54 -08:00
Jared Parsons 630811536f
Merge pull request #1703 from jaredpar/fix-using
Using patterns and declarations
2018-12-20 10:51:25 -08:00
Julien Couvreur eee8f9444e
Merge pull request #2022 from pkulikov/patch-2
ref-local-reassignment.md: correct C# version
2018-12-19 22:38:33 -08:00
Neal Gafter 443f521cb7
Update patterns.md 2018-12-19 17:04:12 -08:00
Mads Torgersen 4be884f7ec Fixing nullable spec 2018-12-14 12:40:25 -08:00
Mads Torgersen 10723c7733 Describe generic type inference 2018-12-14 12:37:38 -08:00
Mads Torgersen a29c4ac86f Update nullable-reference-types-specification.md
Add more stuff
2018-12-05 16:17:26 -08:00
Mads Torgersen 15203b2751 Add NRT spec 2018-11-27 17:03:46 -08:00
Petr Kulikov fa13e53bd3
Update ref-local-reassignment.md 2018-11-25 21:13:39 +01:00
Julien Couvreur 5fba6ba2d4
Merge pull request #1780 from alrz/patch-1
Update target-typed-new.md
2018-11-07 17:12:41 -08:00
Julien Couvreur 3f4c0ee50a
Merge pull request #1909 from ajesusflores/patch-1
Minor punctuation changes.
2018-11-07 17:05:31 -08:00
Julien Couvreur 221ca694e3
Merge pull request #1919 from darkstar/fixes
Fix some typos
2018-11-07 17:05:04 -08:00
Julien Couvreur 26869760ff
Merge pull request #1921 from yaakov-h/nits
Fix a few formatting nits
2018-11-07 17:04:11 -08:00
Jared Parsons f4433cc7c5
Merge pull request #1951 from jaredpar/fix-funcptr
Function Pointer Proposal
2018-10-23 11:28:57 -07:00
Kevin Jones 58816d166e
Update proposals/function-pointers.md
Co-Authored-By: jaredpar <jaredpparsons@gmail.com>
2018-10-23 11:27:25 -07:00
Julien Couvreur b52d3de0d1 Update syntax to await foreach (#1934)
* Update syntax to `await foreach`

* Update async-streams.md
2018-10-16 20:08:33 -04:00
Jared Parsons 9bb215a356
Clean up the proposal 2018-10-15 08:25:48 -07:00
Jared Parsons 8bbec585ce
Updates 2018-10-11 11:21:26 -07:00
Jared Parsons 78795986cd
Updates 2018-10-10 17:46:36 -07:00
Yaakov 683e7dc811 Correct some single quotes which should be doubles 2018-10-09 21:11:06 +11:00
Yaakov 7c69baba8f Replace weird quote character with regular single quote 2018-10-09 21:07:42 +11:00
Yaakov 100848e02c Add code formatting to variable 2018-10-09 21:04:31 +11:00
Stephen Toub f5d6fb7fa6
Fix foreach async to be foreach await 2018-10-08 20:29:50 -04:00
Michael D d6f71bba14 Fix typos in patterns 2018-10-08 23:10:52 +02:00
Michael D da4955a23b Fix typos in intrinsics 2018-10-08 23:10:33 +02:00
Michael D abe474b662 Fix typo in intptr-operators 2018-10-08 23:10:15 +02:00
Michael D fabd404c56 Fix typo in default-interface-methods 2018-10-08 23:09:53 +02:00
Michael D 8271328f20 Fix typo in async-streams 2018-10-08 23:09:18 +02:00
Stephen Toub 9d86668fcd
Prototype implemented 2018-10-05 22:34:22 -04:00
Stephen Toub 8eed18fcf6
Update async iterators proposal based on recent discussions 2018-10-05 22:33:35 -04:00
Jared Parsons 9b658fe514
Changes 2018-10-05 14:18:13 -07:00
Alfonso Jesus Flores Alvarado d963cada64
Minor punctuation changes. 2018-10-03 15:07:36 -05:00
Jared Parsons 7ad1b61feb
Delegate thoughts 2018-09-17 14:04:35 -07:00
Jared Parsons a3dfac758f
Proposal Template 2018-09-17 14:04:13 -07:00
Neal Gafter 99413cf787
Add support for common type of int and double?. (#1806) 2018-09-06 16:01:33 -07:00
Alireza Habibi d6b075c66b PR feedback 2018-08-14 00:20:06 +04:30
Alireza Habibi 00fe014118 Update target-typed-new.md 2018-08-14 00:19:59 +04:30
Neal Gafter 3708b698b5
Add draft spec for pattern-matching in C# 7. (#1778) 2018-08-13 11:23:35 -07:00
Jared Parsons ee3d1242f3
Merge pull request #1658 from bbarry/patch-4
abstract/virtual parameters use InAttribute
2018-08-10 10:40:59 -07:00
Neal Gafter 00ed94d94a
Update range proposal (#1770) 2018-08-06 16:08:34 -07:00
Julien Couvreur 1aed67be2b
Merge pull request #1501 from hyagli/patch-1
Fix typo in ref-local-reassignment.md
2018-07-29 11:19:17 -07:00
Julien Couvreur 54fb167419
Merge pull request #1608 from svick/patch-1
Fixed link formatting
2018-07-29 11:18:39 -07:00
Julien Couvreur 5239f5f901
Merge pull request #1635 from lindexi/patch-1
Fix code format
2018-07-29 11:14:19 -07:00
Julien Couvreur 65b8af18a9
Merge pull request #1636 from lindexi/patch-2
Code Formatted
2018-07-29 11:13:47 -07:00
Jared Parsons 72f9edccdd
Merge pull request #1730 from tannergooding/readonly-methods
Adding the readonly-methods proposal document.
2018-07-26 09:14:47 -07:00
Tanner Gooding 5b4b07a066 Adding the readonly-methods proposal document. 2018-07-26 09:07:40 -07:00
Jared Parsons 0b2da3d15f
Move proposal to the right folder 2018-07-19 15:28:59 -07:00
Fredric Silberberg a9c33ef740
the -> and 2018-07-19 11:06:18 -07:00
Fredric Silberberg 7a80baa479
Address PR feedback. 2018-07-19 10:46:09 -07:00
Fredric Silberberg ac7a40a0e7
Update null-coalescing-assignment proposal with changes from LDM. 2018-07-16 17:23:09 -07:00
Julien Couvreur d2ce4cc3e1
Minor terminology tweaks 2018-07-13 15:05:57 -07:00
Jared Parsons ca4da89ce1
Fixed lots of typos 2018-07-09 07:10:27 -07:00
Jared Parsons c725278c68
Using declaration 2018-07-09 06:09:50 -07:00
Jared Parsons 0812c810b6
Using pattern 2018-07-09 05:50:00 -07:00
Jared Parsons b8509a781e
Using Doc 2018-07-03 09:43:19 -07:00
Bill Barry c26d8480d4
abstract/virtual parameters use InAttribute
An `in` parameter must have the attribute `[IsReadOnly]`. It may have the attribute `[In]` if and only if it is either abstract or virtual.
2018-06-22 12:58:01 -04:00
lindexi 2ac7b6e913
Code Formatted
We use Allman style braces, where each brace begins on a new line. 

See: [coding-style.md](https://github.com/dotnet/corefx/blob/master/Documentation/coding-guidelines/coding-style.md )
2018-06-15 14:35:30 +08:00
lindexi ee7b1265d6
Fix code format
We use [Allman style](http://en.wikipedia.org/wiki/Indent_style#Allman_style) braces, where each brace begins on a new line. 

We should use `_camelCase` for internal and private fields

See: [coding-style.md](https://github.com/dotnet/corefx/blob/master/Documentation/coding-guidelines/coding-style.md )
2018-06-15 14:25:46 +08:00
Julien Couvreur 98043cdc88
Rename null-coalecing-assignment.md to null-coalescing-assignment.md 2018-06-14 15:08:28 -07:00
Julien Couvreur 62be28af5e
Delete nullable-reference-types-speclet.md 2018-06-10 10:33:47 -07:00
Julien Couvreur d233ee377a
Move speclet for nullable feature to csharplang 2018-06-10 10:33:25 -07:00
Petr Onderka 6f8c1d8bf3
Fixed link formatting 2018-06-06 14:40:42 +02:00
Julien Couvreur da34bb714b
The method name custom fixed is GetPinnableReference (#1605) 2018-06-04 13:57:50 -07:00
Jared Parsons d0da082089
Respond to PR feedback 2018-06-04 10:25:36 -07:00
Jared Parsons b3aaa91995
Clarify Span<T> rules
While discussing `Span<T>` safety rules with the F# team I realized we
hadn't fully documented our dependency on the shape of the `Span<T>`
API. Added that plus some of the future considerations we discussed for
`Span<T>`.

https://github.com/Microsoft/visualfsharp/pull/4888
2018-06-01 16:25:39 -07:00
Julien Couvreur ec2b071c30
Remove unnecessary checkboxes from 7.3 speclets (#1519) 2018-05-13 20:05:44 -07:00
Julien Couvreur 3ee3c05dfa
Update pattern-based-fixed.md 2018-05-13 12:47:43 -07:00
Julien Couvreur 666f0f2e2a
Create ranges.cs 2018-05-08 15:21:24 -07:00
Hüseyin Yağlı a50d39d09f
Update ref-local-reassignment.md
corrected typo
2018-05-08 02:14:57 +03:00
Omar Tawfik 7c8a788cb9 More comments 2018-04-19 13:44:50 -07:00
Omar Tawfik 3945f6c228 More PR Comments 2018-04-17 12:05:59 -07:00
Omar Tawfik b6e53e8db2 PR Comments 2018-04-13 14:47:05 -07:00
Omar Tawfik 36bc9d56c4 Added ranges proposal 2018-04-13 12:21:36 -07:00
Julien Couvreur 849b28c948
Create improved-overload-candidates.md 2018-03-21 15:23:40 -07:00
Julien Couvreur c94ec9391a
Move tuple equality speclet to 7.3 folder (#1401) 2018-03-20 14:18:29 -07:00
Julien Couvreur 351dc303a4
Proposal for tuple equality/inequality comparisons (#967) 2018-03-20 14:07:28 -07:00
Alireza Habibi 36e8ff8fda Create target-typed-new.md (#1306) 2018-03-17 13:32:59 -07:00
Julien Couvreur d437a2a6aa
Move C# 7.3 proposals to sub-folder (#1384) 2018-03-15 23:36:16 -07:00
Vladimir Sadov 04ef8c064e
Proposal: allow indexing movable fixed fields without pinning. 2018-02-27 18:16:31 -08:00
Julien Couvreur b650b02f3d
Update LDM history 2018-02-16 10:38:24 -08:00
stakx 38370edf77 Fix typos in proposals (#1267) 2018-01-25 13:32:23 -08:00
Bill Barry 195efa0780 should implement IAsyncDisposable correctly (#1250) 2018-01-25 13:14:20 -08:00
Bill Barry 894218d034 spelling mistake (#1275) 2018-01-25 13:08:35 -08:00
Jared Parsons 821f59691c PR feedback 2018-01-25 08:20:38 -08:00
Jared Parsons 277edadd54 PR feedback 2018-01-24 18:20:46 -08:00
Jared Parsons 42bf13e172 Blittable design update
This updates the blittable design to reflect the most recent design
meeting on the subject. Summary of the changes:

1. Decided on `unmanaged` over `blittable`: This is the term used by
the spec and prior art (in F#). Additionally `blittable` is actually
a stronger constraint than what we actually need here.
2. Removed the struct declaration section: After further examination
it was decided that forcing existing structs to be annotated with
`unmanaged` before meeting the `unmanaged` constraint would severely
limit the feature. Decided to focus on the constraint here only.

Note: even though we changed the name I still kept the doc as
blittable.md for now to avoid breaking links and keeping doc history.
2018-01-24 16:33:49 -08:00
Vladimir Sadov c52436f0e5
Merge pull request #1166 from VSadov/buffers
More details on indexable fixed-sized buffers proposal.
2018-01-22 14:26:15 -08:00
Vladimir Sadov 3f42bec0fe
Merge pull request #1100 from VSadov/fixed
Proposal for the Pattern based fixed statement
2018-01-22 14:22:18 -08:00