AlekseyTs

Results 29 issues of AlekseyTs

Area-Compilers
untriaged
New Feature - RefStructInterfaces

## Background and Motivation https://github.com/dotnet/csharplang/blob/main/proposals/ref-struct-interfaces.md ## Proposed API ```diff namespace Microsoft.CodeAnalysis { /// /// Specifies capabilities that may or may not be supported by the common language runtime the compilation...

Concept-API
Area-Compilers
Feature Request
untriaged
api-approved
New Feature - RefStructInterfaces

``` [Fact] [WorkItem("https://github.com/dotnet/roslyn/issues/72750")] [WorkItem("https://github.com/dotnet/roslyn/issues/33011")] public void SingleCandidate_ResultIsDynamic_Property_Assignment_Deconstruction_Method_01() { string source = @" #nullable enable public class C { public static void Main() { dynamic d = 1; var c =...

Area-Compilers
New Language Feature - Nullable Reference Types
untriaged

Meant to mitigate breaking changes like https://github.com/dotnet/roslyn/issues/72750.

``` class Program { static void Main() { var x1 = new Program().Test1; var x2 = new Program().Test2; x1(); // error CS7036: There is no argument given that corresponds to...

Bug
Area-Compilers
New Feature - Lambda Improvements

Compile and run the following code: https://sharplab.io/#v2:EYLgtghglgdgNAFxAJwK4wD4GIaoDZ4TB4CmABACZQDORpAsAFBMuMACATGQMJMDeTMkLJsAjADYyAZTIBZUQAoAlGQC8APjIwSAd2nKyfMgDE1ZURbIBfANythIiWVgI5HBchIAzZzFcAPOGkyAE8lQWEBRgcHNgB2Mn87aOEre2ExSRc5AGZlCKEomIyE2XdPH3llADoAJW9lIIpvCHwEJWSHNOYUoUzfV1kAFnzewwKY+LcPbzlFJTqGpSDtPSkDI1NVcw4c6w6J7on+7NkAVlGHIuKyADcIZESzVf0VTbNRDiHrTpupspmlXmiy8jUSBzG3QcxycbG+smgMEukQmsVE1TEAE4FLI8koITdHBjRNjhsoCX90VicRd8b8hN0jj02HtqAg0ABjVxSfjHPbZYzJCYAbTE1QAIlAIABzGAAezZUA51Gq3DlzQAgjAIHgQtQaNUAKowagcuUABxIFHqXgAunyyBUBmQbcjCqiSo7ZoLDkxukA= ``` class C { static S M1() => new S() { F = 111 }; static int M2(ref int x, S y) {...

Bug
Area-Compilers

``` [Fact] public void Test() { string sourceA = """ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.CompilerServices; [CollectionBuilder(typeof(MyCollectionBuilder), "Dummy")] class MyCollection1 : IEnumerable { IEnumerator IEnumerable.GetEnumerator() => throw null;...

Bug
Area-Compilers
New Feature - Collection Expressions