Commit graph

353 commits

Author SHA1 Message Date
AlekseyTs 568e8b0dfc
default-interface-methods.md: Adjust dependency rules for types in "Binding base clauses" section. (#2785) 2019-09-05 16:50:16 -07:00
Youssef Victor 3211a34eac typo (#2705) 2019-08-27 19:27:42 -07:00
Mads Torgersen 68462ba9c5 Merge branch 'master' into design-notes 2019-08-26 13:14:56 -07:00
Leonid Tsarev af27912886 Update recordsv2.md (#2717)
Seems according to prev. text that "final generated code" should have `[WithConstructor]` attribute on `With` method. It's omission, isn't it.
2019-08-08 13:32:29 -04:00
Julien Couvreur f7952cdddf
Update target-typed-default.md 2019-07-30 13:23:29 -07:00
Andy Gocke 856c335cc5 Add new "nominal" records proposal 2019-07-29 18:39:10 -07:00
Mads Torgersen 27487fa029
Create primary-constructors.md 2019-07-23 15:31:23 -07:00
Julien Couvreur 098f046a76
Move Ranges proposal to csharp-8.0 folder (#2594) 2019-06-12 14:08:21 -07:00
Fred Silberberg 5a88d5432d
Merge pull request #2591 from 333fred/update-null-coalescing
Update ??= proposal with changes from LDM
2019-06-11 14:18:13 -07:00
Fredric Silberberg edddfb9e5d
Update ??= proposal with changes from LDM 2019-06-11 14:16:17 -07:00
Julien Couvreur 1f8c618f4b
Move DIM and readonly member proposals to C# 8 folder (#2592) 2019-06-11 13:32:10 -07:00
Mads Torgersen d303e32fea Update nullable-reference-types-specification.md 2019-05-29 14:52:23 -07:00
Nick Schonning 6cd82c21ed fix: MD033/no-inline-html
Inline HTML get swallowed in MD and HTML rendering
2019-05-25 01:31:46 -04:00
Fred Silberberg a98bdb81b4
fix: MD038/no-space-in-code (#2423)
fix: MD038/no-space-in-code
2019-05-23 18:06:50 -07:00
Fred Silberberg 8152182f0a
Fix spelling mistake (#2487)
Fix spelling mistake
2019-05-23 10:30:18 -07:00
Fred Silberberg 31bd4e65fc
typo: Double word "the" (#2426)
typo: Double word "the"
2019-05-23 10:28:06 -07:00
Mitch Bodmer 44b02c7ea2
Fixed link. 2019-05-15 11:10:46 -07:00
Jan Kotas c4937c7e6c
Extensible set of unmanaged calling conventions (#2432) 2019-05-14 15:51:21 -07:00
Bill Wagner ba519de468
Return storage that exists (#2523)
* Return storage that exists

Fixes #12301

* Update proposals/csharp-7.2/readonly-ref.md
2019-05-13 18:12:24 -04:00
Rikki Gibson e2b6b9c497 Fix typo 2019-05-10 15:32:00 -07:00
Bill Wagner df7104b072 Add base interfaces to declarations (#2461)
In the modified sample, I think these base interfaces were missing.
2019-05-08 09:22:50 -07:00
Rich Lander 759bdd3c56
Fix spelling mistake 2019-05-04 20:32:51 -07:00
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