Commit graph

31 commits

Author SHA1 Message Date
Julien Couvreur 0c25406d8a
Move C# 9 specs to sub-folder (#3731) 2020-07-27 22:59:33 -07:00
Fredric Silberberg ebaabf6ca3
Only support public calling convention types. 2020-07-21 14:52:22 -07:00
Fredric Silberberg 2ca2a15434
Fix typo. 2020-07-01 15:01:18 -07:00
Fredric Silberberg 07582155a4
Update the calling convention sections with feedback from internal design, LDM decisions, and PR feedback. 2020-06-30 16:05:25 -07:00
Fred Silberberg d073319400
Update proposals/function-pointers.md
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
2020-05-08 23:16:08 -07:00
Fredric Silberberg fc347a5739
Update the calling convention and UnamangedCallersOnly attribute. 2020-05-08 16:14:30 -07:00
Fred Silberberg 71a1696e3a
Add metadata representation section for in and out (#3368) 2020-04-20 13:56:28 -07:00
Fred Silberberg 52624f54c0
Update function pointers proposal for binary operators. (#3348)
* Update function pointers proposal for binary operators.

* Update wording per feedback.
2020-04-09 14:33:18 -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
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
Alexander Köplinger f530e937c5
Fix typos in function pointers proposal (#3238)
- Preventing -> Presenting
- Fix markdown link
2020-03-02 15:46:09 -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
Fred Silberberg e1cdd0e5ff
Updates to the function pointers spec. (#2812)
* Updates to the function pointers spec.
2019-09-23 11:28:14 -07: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
Jan Kotas c4937c7e6c
Extensible set of unmanaged calling conventions (#2432) 2019-05-14 15:51:21 -07:00
Nick Schonning 870cc06bea fix: MD038/no-space-in-code
Spaces inside code span elements
2019-04-13 14:23:40 -04:00
MichaWiedenmann 56d8447281 typo (#2270) 2019-02-26 17:59: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
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
Kevin Jones 58816d166e
Update proposals/function-pointers.md
Co-Authored-By: jaredpar <jaredpparsons@gmail.com>
2018-10-23 11:27:25 -07: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
Jared Parsons 9b658fe514
Changes 2018-10-05 14:18:13 -07: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