Commit graph

331 commits

Author SHA1 Message Date
Julien Couvreur
bec6e78996
Document [EnumeratorCancellation] attribute (#2458) 2019-04-20 11:32:44 -07:00
Andy Gocke
c3de968750
Design changes for pattern index/range (#2446) 2019-04-17 00:46:15 -07:00
Nikita Potapenko
2027b149eb Fix link (#2437)
Fixes #11829
2019-04-15 14:43:47 -07:00
Nick Schonning
00de1a1c74 typo: Double word "the" 2019-04-13 14:44:05 -04:00
Nick Schonning
870cc06bea fix: MD038/no-space-in-code
Spaces inside code span elements
2019-04-13 14:23:40 -04:00
Patrick Westerhoff
1262e7f1f7 Fix duplicate part from suggestion 2019-04-08 23:58:03 +02:00
Jared Parsons
c229cae634
Merge pull request #2397 from jaredpar/fix-range
Proposed changes to Index / Range
2019-04-08 08:57:38 -07:00
Jared Parsons
2a61adc3c0
PR feedback 2019-04-08 08:56:51 -07:00
Patrick Westerhoff
0071f73885
Apply suggestions from code review
I asked, @poke delivered.

Co-Authored-By: jaredpar <jaredpparsons@gmail.com>
2019-04-05 16:47:51 -07:00
Bill Wagner
0216f6a7ec
Apply suggestions from code review
Co-Authored-By: jaredpar <jaredpparsons@gmail.com>
2019-04-05 12:54:59 -07:00
Jared Parsons
3e4c165a3c
Update proposal based on LDM 2019-04-05 08:41:10 -07:00
Miha Zupan
0a9af0f248
Fix typos in format proposal 2019-04-04 14:58:14 +02:00
Neal Gafter
2d10906508
Update default-interface-methods.md
Add rule that an interface may not depend on itself.
2019-04-02 17:50:01 -07:00
Neal Gafter
46d1499c77
Update default-interface-methods.md
Add a rule to break cycles while binding an interface's base clause.
2019-04-02 17:06:18 -07:00
Jared Parsons
8dd6726126
First draft 2019-03-31 20:39:22 -07:00
Jared Parsons
7e4658dde1
Target typed new write up 2019-03-31 19:03:26 -07:00
Jared Parsons
a797e9dc95
Rough outline 2019-03-31 16:00:29 -07:00
Maira Wenzel
afe6679f71
Change link to https 2019-03-08 17:42:08 -08:00
Bill Wagner
37efea9c83
markdown lint fixes for 8.0 proposals (#2318)
* markdown lint fixes for 8.0 proposals

Summary:

1. a few header formatting fixes
1. use `csharp` or `antlr` as the language identifier for code fences.
1. update links to relative links for articles published on docs.

* change the links to records.md to absolute links

When published on docs.microsoft.com, the links from these proposals will resolve to the source on dotnet/csharplang.

That's the desired behavior for records.md, because that is a proposal feature that has not been implemented.
2019-03-08 08:30:23 -05:00
Maira Wenzel
fb4d3f3ab3
fix broken links (#2320) 2019-03-07 17:38:27 -08:00
Bill Wagner
ac20120af1
markdown fixes for 7.3 proposals (#2317)
These were:

1. adding `csharp` as the language identifier.
1. making relative links to content published on docs.microsoft.com
1. small grammar fixes.
2019-03-07 17:04:08 -05:00
Bill Wagner
8d75920537
update 7.2 proposals for markdown lint concerns (#2316)
Primarily these changes:

1. ATX style headers.
1. `csharp` as the language identifier
1. relative link to other published proposals.
2019-03-07 17:03:44 -05:00
Bill Wagner
ab7ad82fd9
fix one bad link. (#2319) 2019-03-07 17:01:32 -05:00
Bill Wagner
f69b012846 markdown fixes for 7.3 proposals
These were:

1. adding `csharp` as the language identifier.
1. making relative links to content published on docs.microsoft.com
1. small grammar fixes.
2019-03-07 16:04:57 -05:00
Maira Wenzel
3ec830b86c fix formatting 2019-03-07 10:03:08 -08:00
Maira Wenzel
24289fe11c markdown fixes 2019-03-07 10:00:39 -08:00
Julien Couvreur
725763343a
Merge pull request #2310 from BillWagner/update-proposal-header
markdown syntax updates
2019-03-07 18:31:39 +01:00
Julien Couvreur
2d4ece31c6
Merge pull request #2311 from mairaw/markdown1
markdown fixes - part 1
2019-03-07 18:31:16 +01:00
Julien Couvreur
bb99729454
Merge pull request #2312 from BillWagner/markdown-lint-70
markdown lint changes to C# 7.0 proposals
2019-03-07 18:23:51 +01:00
Bill Wagner
74f60810a3 markdown lint for C# 7.1 proposals
These had two sets of changes:

1. use `csharp` as the language identifier for code fences.
1. use relative links to other articles in the dotnet/csharplang repo that are being published on docs.microsoft.com so those links resolve to the article published there from that site.
2019-03-07 11:50:08 -05:00
Bill Wagner
8b7d2d5410 markdown lint changes to C# 7.0 proposals
These changes are to improve the experience for publishing these proposals.

One change should be carefully reviewed to ensure I didn't introduce any technical errors:
I translated the binary literals grammar into ANTLR to match all other specs and proposals.  See changes in proposals/csharp-7.0/binary-literals.md

Other changes are:
1. Use  consistent ATX headers, with one H1 per proposal.
1. use `csharp` as language identifier in code snippets
1. Use relative links to other markdown from the dotnet/csharplang repo. That way, when published on docs.microsoft.com, the links will resolve to the publsihed articles on the same site. (Links to content not being published are not modified.)
1. spelling / capitalization found by the lint tool.
2019-03-07 11:39:58 -05:00
Maira Wenzel
9d5989ce2d markdown fixes 2019-03-06 22:28:47 -08:00
Bill Wagner
a1349f658b markdown syntax updates
Add an H1

Fix the horizontal rule tag.
2019-03-06 22:32:43 -05:00
Maira Wenzel
16fb40c64a
Change heading to H1 2019-03-05 16:14:18 -08:00
Julien Couvreur
7f11d1a8b6
Merge pull request #2301 from BillWagner/more-broken-links
fix two more broken links
2019-03-05 18:55:04 +01:00
Jared Parsons
68c370b395
Merge pull request #2293 from jaredpar/fix-format
Efficient params and string formatting
2019-03-05 09:24:32 -08:00
Jared Parsons
6e477209f9
Cleaned up based on feedback 2019-03-05 09:23:03 -08:00
Bill Wagner
57b6b64a05 add anchor to correct location
Deconstruct semantics are described in 8.0, in the "Positional pattern" section.
2019-03-05 12:11:51 -05:00
Brian Dukes
ac55957ea8
Apply suggestions from code review
so many typos to fix. Thanks for all the help.

Co-Authored-By: jaredpar <jaredpparsons@gmail.com>
2019-03-05 09:09:06 -08:00
Julien Couvreur
147ebcefe7
Merge pull request #2296 from BillWagner/fix-broken-link
The spec for records is still in the parent directory
2019-03-05 03:34:08 +01:00
Bill Wagner
fbd90c7a3b The spec for records is still in the parent directory
When this file was moved into the 7.0 proposals directory, the link to records should have been updated to the parent directory.
2019-03-04 20:41:06 -05:00
Bruno Logerfo
48cc0093b9
Update proposals/format.md
JaredPar can't spell.

Co-Authored-By: jaredpar <jaredpparsons@gmail.com>
2019-03-04 09:43:44 -08:00
Jared Parsons
a09c16d640
Ready for review 2019-03-04 09:33:04 -08:00
Jared Parsons
d4ab7b995d
More 2019-03-04 07:55:56 -08:00
Jared Parsons
fc0eeac8da
More progress 2019-03-04 07:54:54 -08:00
Jared Parsons
d3527f492a
More progress 2019-03-04 07:47:11 -08:00
Jared Parsons
be08f9ce0c
More 2019-03-03 20:00:59 -08:00
Jared Parsons
dbee66e702
Revision
Changes
- Remove `VariantCollection`
- Move the `IEnumerable<T>` variant into the main section
- Simplify the language around `Span<T>` and `ReadOnlySpan<T>`
2019-03-03 18:44:19 -08:00
MichaWiedenmann
56d8447281 typo (#2270) 2019-02-26 17:59:36 -08:00
Rikki Gibson
f6e07218b6
Specify readonly members behavior for events (#2271)
* Update readonly-instance-members.md

* Update readonly-instance-members.md

* Update readonly-instance-members.md
2019-02-26 16:13:45 -08:00
Andy Gocke
c2ae185e71
Add well-known member details (#2214)
This change reflects the recent CoreFX and language decisions about
naming and signature of the Index/Range types & members.
2019-02-25 16:20:18 -08:00
Rikki Gibson
1f832c1c7d
Update readonly-instance-members.md 2019-02-25 15:07:00 -08:00
Julien Couvreur
a8d1fb6397
Move more proposals to C# 8.0 folder (#2257) 2019-02-23 01:03:19 +01:00
Julien Couvreur
ed560f65a1
Move some proposals to C# 8.0 folder (#2256) 2019-02-23 00:54:47 +01:00
Neal Gafter
ec66ea2ede
Require base(T).M() has *most specific override* (#2223)
Require that `Base` contains a *most specific override* for `M` in the expression `base(Base).M()`.
2019-02-13 16:10:36 -08:00
Joseph Musser
72a4daa853 Fixed typos (#2167)
* Fixed typos in proposals/

* Fixed typos in meetings/2018/
2019-02-12 13:45:25 -08:00
Neal Gafter
b72fe5a1d0
Update default interface method spec per LDM decisions (#2215)
* Update default interface method spec per LDM decisions
* Add open DIM issues to agenda
2019-02-12 12:00:47 -08:00
Neal Gafter
ba74636e6c
Minor changes to patterns spec: (#2171)
- Allow trailing comma in property pattern
- Allow trailing comma in switch expression
- Rename deconstruct_subpattern to positional_subpattern
2019-01-24 16:09:02 -08:00
Jared Parsons
7f75c8c42f
PR feedback 2019-01-23 07:57:56 -08:00
Jared Parsons
4396e64b8a
Native callback 2019-01-23 07:55:27 -08:00
Jared Parsons
9b8e8637ea
Instance members 2019-01-23 07:46:05 -08:00
Jared Parsons
db2719c96c
Clarify static delegates 2019-01-23 07:32:03 -08:00
Jared Parsons
724bc02887
Clarify the naming reasons 2019-01-23 07:22:15 -08:00
Jared Parsons
b3cd4788ff
Move to func* syntax 2019-01-23 07:11:59 -08:00
Jared Parsons
6829da0140
Work on ValueFormattableString 2019-01-14 20:52:35 -08:00
Jared Parsons
eafd1d233a
Variant section 2019-01-14 20:19:19 -08:00
Jared Parsons
1411f2cc75
More work 2019-01-14 18:21:33 -08:00
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