Andy Gocke
9143a30162
Update records-wip.md
2020-04-06 16:57:07 -07:00
Andy Gocke
1cca522b9b
Update records-wip.md
2020-04-06 16:56:29 -07:00
AlekseyTs
75ddc88a40
Limit top-level statements to a single compilation unit within a program ( #3292 )
...
Reflect LDM decision made on 2020-03-09 to limit top-level statements to a single compilation unit within a program.
2020-03-25 16:28:26 -07:00
Neal Gafter
64da1dcf00
target-typed new: reflect LDM decisions 2020-03-25 ( #3311 )
2020-03-25 15:40:49 -07:00
Andy Gocke
23172a7c6d
Add 'with' expression to the spec ( #3282 )
2020-03-25 15:36:47 -07:00
Neal Gafter
74c38d2950
Clean up the specification portion of target-typed new ( #3310 )
2020-03-25 10:06:34 -07:00
Julien Couvreur
7ea0b8e328
Update target-typed-new.md
2020-03-25 07:13:54 -07:00
Julien Couvreur
1f45494dec
Throw new() is allowed
2020-03-25 07:11:57 -07:00
Julien Couvreur
40bf00abdf
Update target-typed-new.md
2020-03-24 08:48:10 -07:00
Petr Kulikov
cf22e016c7
Ranges proposal: fix typos ( #2836 )
2020-03-23 08:42:41 -07:00
Neal Gafter
3fa28e4b54
Update shadowing-in-nested-functions.md
2020-03-19 17:39:49 -07:00
Fred Silberberg
45a1455732
Only allow static methods for applicable members ( #3281 )
...
* Only allow static methods for applicable members
This fixes a very similar problem to https://github.com/dotnet/csharplang/issues/3277 , where this code is unable to be resolved:
```cs
interface I1{}
interface I2{}
public unsafe class C : I1, I2 {
void M(I1 i) {}
static void M(I2 i) {}
public void M1() {
delegate*<C, void> a = M; // Ambiguous because both M's are applicable
}
}
```
With this change, the instance method M is not applicable, so there is no ambiguity.
2020-03-19 12:56:34 -07:00
Julien Couvreur
a6c38525c2
Update target-typed-new.md ( #1989 )
2020-03-19 11:44:21 -07:00
Rikki Gibson
51e8d545c7
Add draft spec for local function attributes ( #3198 )
2020-03-17 13:58:50 -07:00
Neal Gafter
70a7286fac
Add placeholder specs for two features from C# 7.0 ( #3270 )
2020-03-16 18:23:28 -07:00
Bill Wagner
5688b13e66
clarify readonly set ( #3266 )
...
Fixes dotnet/docs#13841
I added a note (first recommendation) but did not make any additions for the second. That's covered in more of the tutorials and conceptual docs.
2020-03-13 09:48:25 -04:00
Fred Silberberg
f3170512e7
Add conversions spec for function pointers ( #3263 )
...
* Add conversions spec for function pointers.
* Fix typo
Co-Authored-By: Jan Kotas <jkotas@microsoft.com>
2020-03-11 14:33:34 -07:00
Neal Gafter
21b0400850
Add placeholder documents for missing specifications. ( #3261 )
2020-03-11 11:48:23 -07:00
LouisFr81
5278336b61
Update tuple-equality.md ( #2204 )
2020-03-10 12:09:55 -07:00
Zhiliang Xu
3cb286fe1d
Fix a grammar issue ( #3176 )
2020-03-10 12:08:19 -07:00
Alexander Köplinger
f530e937c5
Fix typos in function pointers proposal ( #3238 )
...
- Preventing -> Presenting
- Fix markdown link
2020-03-02 15:46:09 -08:00
Andy Gocke
2a6dffb607
Add spec for equality ( #3189 )
2020-02-29 14:21:55 -08:00
AlekseyTs
36b028f4d6
Clarify implicit nature of an async context within top-level statements
2020-02-14 15:24:47 -08:00
AlekseyTs
e0031c5139
Add proposal for "Simple programs" feature ( #3159 )
2020-02-06 10:33:11 -08:00
Andy Gocke
19bc0f521e
Update records-wip.md ( #3106 )
2020-01-27 12:58:42 -08:00
Maher Jendoubi
02b535d712
Contributing: fix typos ( #3125 )
2020-01-24 18:22:11 -05:00
Julien Couvreur
6f24703c82
var infers a nullable type ( #3097 )
2020-01-21 22:49:40 -08:00
Andy Gocke
e134bb7058
Add spec work for record ctor ( #3076 )
...
* Add spec work for record ctor
* Add more detail about constructor implementation
2020-01-15 16:40:26 -08:00
Maira Wenzel
f61a06970f
Fix broken links ( #3091 )
...
* Fix broken link
* update/fix links
* fix broken link
2020-01-13 16:31:13 -08:00
Andy Gocke
162ba7ba85
Update records-wip.md
2020-01-02 22:40:04 -05:00
Andy Gocke
0546ee1a16
Update records-wip.md
2020-01-02 22:36:27 -05:00
Andy Gocke
2b894dc9aa
Add draft spec for records, as approved
2020-01-02 22:35:04 -05:00
Julien Couvreur
42ef673ecc
Create speclet for lambda discard parameters ( #2901 )
2019-12-13 13:43:29 -08:00
Mads Torgersen
1a1ee9e673
Merge pull request #3023 from dotnet/design-notes
...
Add design notes README for 2020
2019-12-13 12:17:28 -08:00
Neal Gafter
32abf01f2e
Add spec for nested stackalloc ( #3010 )
2019-12-06 16:50:21 -08:00
Fred Silberberg
08e94b3029
Update function pointer proposal with LDM changes ( #2923 )
...
* Update function pointer proposal with LDM changes
* Remove unnecessary section about calling convention
2019-11-18 09:44:24 -08:00
Neal Gafter
e14bb331fd
Update DIM proposal to forbid class declared within variant interface. ( #2967 )
2019-11-15 17:04:28 -08:00
Andy Gocke
5983461e05
Add proposal for discriminated unions
2019-11-14 16:40:28 -08:00
Julien Couvreur
f466a1415f
Remove mentions of safeonly context ( #2900 )
2019-10-29 14:18:56 -07:00
Bill Wagner
b8f1103eb6
remove locale ( #2915 )
...
These two links both contained the "en-us" locale. That directs readers to the English version, rather than the localized version based on their browser environment.
2019-10-29 09:33:40 -04:00
Charles Stoner
1b488e76c2
Add static local functions proposal ( #2891 )
2019-10-24 09:55:41 -07:00
Julien Couvreur
e9afb74cc1
Create static-lambdas.md ( #2899 )
2019-10-22 10:11:01 -07:00
Andrew Arnott
da1180f7ea
Fix typo/grammatical error
2019-10-04 15:30:49 -07:00
Neal Gafter
5dd11df697
Update spec for pattern-matching in C# 8.0.
2019-10-04 15:22:27 -07:00
Jared Parsons
da452002c3
Merge pull request #2829 from jaredpar/fix-safety
...
Span safety samples
2019-09-27 12:55:48 -07:00
Bill Wagner
65ea1e6dc0
fold ranges changes into initial spec ( #2797 )
...
* fold ranges changes into initial spec
See https://github.com/dotnet/docs/issues/12772#issuecomment-501451870
This will read better as a coherent story for the Range and Index features as delivered.
* update the description of Slice.
* update precedence rules for range expression.
* Simplify language to move from a proposed design to a spec
This removes some of the history and concerns with the previous design.
2019-09-27 09:40:00 -07:00
Jared Parsons
1c68f302ab
Span safety samples
...
Include same samples and explanations for why several of the `Span<T>`
and `ref struct` rules exist.
2019-09-26 10:47:52 -07:00
Fred Silberberg
e1cdd0e5ff
Updates to the function pointers spec. ( #2812 )
...
* Updates to the function pointers spec.
2019-09-23 11:28:14 -07:00
Mads Torgersen
93cec651e3
Merge branch 'master' into design-notes
2019-09-12 16:02:09 -07:00
Julien Couvreur
4930dbd0f0
Merge pull request #2391 from MihaZupan/master
...
Fix typos in format proposal
2019-09-10 14:32:16 -07:00