QuickInfo\SemanticQuickInfoSourceTests.cs (511)
335MainDescription("namespace System"));
343MainDescription("namespace System.Collections"));
351MainDescription("namespace System.Linq"));
359MainDescription("namespace System"));
367MainDescription("class System.Console"));
381MainDescription("interface IGoo"),
397MainDescription("interface IGoo"),
416MainDescription("interface IGoo"),
431MainDescription("class C"),
446MainDescription("class C"),
467MainDescription("class C"),
482MainDescription("class C"),
497MainDescription("class C"),
514MainDescription("class C"),
523MainDescription("class C"),
544MainDescription("class C"),
560MainDescription("class C"),
577MainDescription("class C"),
596MainDescription("class C"),
615MainDescription("class C"),
632MainDescription("class C"),
644MainDescription("class C"),
659MainDescription("void C.M()"),
668MainDescription("struct System.Int32"));
676MainDescription("struct System.Int32"));
684MainDescription("class System.String"));
692MainDescription("class System.String"));
700MainDescription("class System.String"));
708MainDescription("struct System.Boolean"));
716MainDescription("struct System.Boolean"));
724MainDescription("struct System.Single"));
732MainDescription("struct System.Single"));
772MainDescription("class System.Collections.Generic.List<T>"),
790MainDescription("class GenericList<T>"),
808MainDescription("class System.Collections.Generic.List<T>"));
816MainDescription("class System.Collections.Generic.Dictionary<TKey, TValue>"),
835MainDescription("class System.Collections.Generic.Dictionary<TKey, TValue>"),
854MainDescription("interface System.Collections.Generic.IEnumerable<out T>"),
866MainDescription("delegate void System.EventHandler(object sender, System.EventArgs e)"));
879MainDescription($"T {FeaturesResources.in_} C<T>"));
894MainDescription($"T {FeaturesResources.in_} C<T>"),
908MainDescription($"T11 {FeaturesResources.in_} T1<T11>"));
921MainDescription($"T11 {FeaturesResources.in_} T1<T11>"));
934MainDescription($"T11 {FeaturesResources.in_} T1<T11>"));
947MainDescription($"T11 {FeaturesResources.in_} T1<T11>"));
954MainDescription("struct System.Nullable<T> where T : struct"),
974MainDescription($"T1 {FeaturesResources.in_} C.Meth1<T1> where T1 : struct"));
990MainDescription($"T1 {FeaturesResources.in_} C.Meth1<T1> where T1 : struct"));
1006MainDescription($"T1 {FeaturesResources.in_} C.Meth1<T1> where T1 : struct"));
1018MainDescription($"T {FeaturesResources.in_} C<T> where T : class"));
1030MainDescription($"T {FeaturesResources.in_} S<T> where T : class"));
1042MainDescription($"T {FeaturesResources.in_} I<T> where T : class"));
1050MainDescription($"T {FeaturesResources.in_} D<T> where T : class"));
1057MainDescription($"T {FeaturesResources.in_} C<T> where T : IEnumerable<int>"));
1064MainDescription($"T {FeaturesResources.in_} C<T> where T : System.Collections.Generic.IEnumerable<int>"));
1080MainDescription("void C.M()"));
1094MainDescription("void C.M()"),
1112MainDescription($"({FeaturesResources.field}) int C.field"));
1127MainDescription($"({FeaturesResources.field}) int C.field"));
1153MainDescription("int int.operator +(int left, int right)"));
1165MainDescription($"({FeaturesResources.local_variable}) int x"));
1177MainDescription($"({FeaturesResources.local_variable}) int x"));
1189MainDescription("int int.operator +(int left, int right)"));
1201MainDescription($"({FeaturesResources.local_variable}) int x"));
1213MainDescription("int int.operator +(int left, int right)"));
1225MainDescription("int int.operator checked +(int left, int right)"));
1237MainDescription("int int.operator +(int left, int right)"));
1249MainDescription("int int.operator checked +(int left, int right)"));
1261MainDescription("int int.operator -(int value)"));
1273MainDescription("int int.operator -(int value)"));
1285MainDescription("int int.operator checked -(int value)"));
1297MainDescription("int int.operator >>>(int left, int right)"));
1309MainDescription("int int.operator >>>(int left, int right)"));
1353MainDescription("C C.operator +(C a, C b)"));
1369MainDescription("C C.operator +(C a, C b)"));
1386MainDescription("C C.operator +(C a, C b)"));
1403MainDescription("C C.operator checked +(C a, C b)"));
1419MainDescription("C C.operator -(C a)"));
1435MainDescription("C C.operator -(C a)"));
1452MainDescription("C C.operator -(C a)"));
1469MainDescription("C C.operator checked -(C a)"));
1485MainDescription("C C.operator >>>(C a, C b)"));
1501MainDescription("C C.operator >>>(C a, C b)"));
1518MainDescription($"({FeaturesResources.field}) DateTime C.field"));
1535MainDescription($"({FeaturesResources.field}) System.IO.FileInfo C.file"));
1549MainDescription($"({FeaturesResources.field}) static int MyStruct.SomeField"));
1564MainDescription($"({FeaturesResources.field}) static int MyStruct.SomeField"),
1579MainDescription($"({FeaturesResources.field}) static int MyStruct.SomeField"));
1594MainDescription($"({FeaturesResources.field}) static int MyStruct.SomeField"),
1617MainDescription($"void MyClass.MyMethod()"),
1639MainDescription($"void MyClass.MyMethod()"),
1661MainDescription($"void MyClass.MyMethod()"),
1679MainDescription($"void MyClass.MyMethod()"),
1697MainDescription($"void MyClass.MyMethod()"),
1717MainDescription($"void MyClass.MyMethod()"),
1725MainDescription($"({FeaturesResources.field}) static readonly DateTime DateTime.MaxValue"));
1742MainDescription($"({FeaturesResources.field}) static readonly System.DateTime System.DateTime.MaxValue"));
1758MainDescription($"({FeaturesResources.field}) static readonly System.DateTime System.DateTime.MaxValue"));
1776MainDescription($"({FeaturesResources.field}) static readonly DateTime DateTime.MaxValue"));
1797MainDescription($"({FeaturesResources.field}) int C<int>.Field"));
1815MainDescription($"({FeaturesResources.field}) T C<T>.Field"));
1822MainDescription("struct System.Int32"));
1829MainDescription("struct System.Boolean"));
1836MainDescription("struct System.Boolean"));
1843MainDescription("class System.String"));
1854MainDescription("class System.String"));
1871await TestAsync(markup, MainDescription(string.Format(FeaturesResources.Awaited_task_returns_0, "struct System.Int32")));
1888await TestAsync(markup, MainDescription(string.Format(FeaturesResources.Awaited_task_returns_0, "struct System.Int32")));
1904await TestAsync(markup, MainDescription(FeaturesResources.Awaited_task_returns_no_value));
1940await TestAsync(markup, MainDescription(string.Format(FeaturesResources.Awaited_task_returns_0, $"({CSharpFeaturesResources.awaitable}) class System.Threading.Tasks.Task<TResult>")),
1980await TestAsync(markup, MainDescription(string.Format(FeaturesResources.Awaited_task_returns_0, "struct System.Int32")));
2008await TestAsync(markup, MainDescription($"({CSharpFeaturesResources.awaitable}) class C"));
2024await TestAsync(markup, MainDescription($"({CSharpFeaturesResources.awaitable}) class System.Threading.Tasks.Task"));
2041await TestAsync(markup, MainDescription($"({CSharpFeaturesResources.awaitable}) class System.Threading.Tasks.Task<TResult>"),
2063await TestAsync(markup, MainDescription("dynamic C.D()"));
2070MainDescription("class System.String"));
2078MainDescription("readonly ref struct System.ReadOnlySpan<T>"),
2090MainDescription("readonly ref struct System.ReadOnlySpan<T>"),
2101MainDescription("class System.String"));
2109MainDescription("readonly ref struct System.ReadOnlySpan<T>"),
2121MainDescription("readonly ref struct System.ReadOnlySpan<T>"),
2132MainDescription("class System.String"));
2140MainDescription("readonly ref struct System.ReadOnlySpan<T>"),
2152MainDescription("readonly ref struct System.ReadOnlySpan<T>"),
2167MainDescription("class System.String"));
2179MainDescription("readonly ref struct System.ReadOnlySpan<T>"),
2195MainDescription("readonly ref struct System.ReadOnlySpan<T>"),
2205await TestInMethodAsync(@"string f = $""cat""$$", MainDescription("class System.String"));
2208""", MainDescription("class System.String"));
2211""", MainDescription("class System.String"));
2214""", MainDescription("struct System.Int32"));
2220await TestInMethodAsync(@"string f = $@""cat""$$", MainDescription("class System.String"));
2223""", MainDescription("class System.String"));
2226""", MainDescription("class System.String"));
2229""", MainDescription("struct System.Int32"));
2236MainDescription("struct System.Char"));
2244MainDescription("dynamic"),
2260MainDescription($"({FeaturesResources.field}) dynamic C.dyn"));
2275MainDescription("DateTime C.Prop { get; set; }"));
2290MainDescription("DateTime C.Prop { get; private set; }"));
2305MainDescription("int C.Prop { get; private set; }"));
2320MainDescription("System.IO.FileInfo C.Prop { get; set; }"));
2327MainDescription("DateTime DateTime.Now { get; }"));
2339MainDescription("System.IO.FileAttributes System.IO.FileSystemInfo.Attributes { get; set; }"));
2360MainDescription("int C<int>.Property { get; set; }"));
2378MainDescription("T C<T>.Property { get; set; }"));
2394MainDescription($"({FeaturesResources.parameter}) DateTime value"));
2401MainDescription("enum System.ConsoleColor"));
2408MainDescription("enum C.E : byte"));
2421MainDescription("enum C.E : byte"));
2434MainDescription("enum C.E : byte"));
2447MainDescription("enum C.E : byte"));
2460MainDescription("enum C.E : byte"));
2476MainDescription("enum C.E : byte"));
2492MainDescription("enum C.EN : byte"));
2508MainDescription("E.A = 0"));
2524MainDescription("E.A = 0"));
2552MainDescription($"enum C.E : {displayTypeName}"));
2568MainDescription("enum C.E"));
2575MainDescription("ConsoleColor.Black = 0"));
2582MainDescription("AttributeTargets.Class = 4"));
2589MainDescription("AttributeTargets.All = AttributeTargets.Assembly | AttributeTargets.Module | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Interface | AttributeTargets.Parameter | AttributeTargets.Delegate | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter"));
2612MainDescription("E.B = 1 << 1"));
2635MainDescription("E.B = 1"));
2647MainDescription($"({FeaturesResources.parameter}) DateTime dt"));
2659MainDescription($"({FeaturesResources.parameter}) System.IO.FileInfo fileInfo"));
2666MainDescription($"({FeaturesResources.parameter}) string value"));
2681MainDescription($"({FeaturesResources.parameter}) int param = 42"));
2693MainDescription($"({FeaturesResources.parameter}) int param = 42"));
2705MainDescription($"{FeaturesResources.struct_} System.Int32"));
2717MainDescription($"({FeaturesResources.constant}) const int int.MaxValue = 2147483647"));
2729MainDescription($"({FeaturesResources.parameter}) params int[] xs"));
2742MainDescription($"({FeaturesResources.parameter}) params DateTime[] arg"));
2755MainDescription($"({FeaturesResources.parameter}) ref DateTime arg"));
2768MainDescription($"({FeaturesResources.parameter}) out DateTime arg"));
2780MainDescription($"({FeaturesResources.local_variable}) DateTime dt"));
2792MainDescription($"({FeaturesResources.local_variable}) System.IO.FileInfo fileInfo"));
2799MainDescription($"void Console.WriteLine() (+ 18 {FeaturesResources.overloads_})"));
2816MainDescription($"void C.Method() (+ 1 {FeaturesResources.overload})"));
2841MainDescription($"void C.Method(System.IO.FileInfo fileInfo) (+ 3 {FeaturesResources.overloads_})"));
2854MainDescription("DateTime C.GetDate(System.IO.FileInfo ft)"));
2871MainDescription("void C.Method([int i = 0])"));
2883MainDescription($"({FeaturesResources.parameter}) decimal xyz = 10"));
2899MainDescription("DateTime C.Goo<int, DateTime>(int arg)"));
2913MainDescription("TOut C.Goo<TIn, TOut>(TIn arg)"));
2926MainDescription("void C.Goo<int>(int arg)"));
2939MainDescription("void C.Goo(DateTime dt, System.IO.FileInfo fi, int number)"));
2953MainDescription("void C.Goo([int num = 42])"));
2967MainDescription("void C.Goo(ref DateTime dt, out System.IO.FileInfo fi, params int[] numbers)"));
2980MainDescription("void C.Goo(ref readonly DateTime dt, ref readonly System.IO.FileInfo fi, params int[] numbers)"));
2997MainDescription("C.C()"));
3022MainDescription($"C.C(DateTime dt) (+ 2 {FeaturesResources.overloads_})"));
3033MainDescription($"InvalidOperationException.InvalidOperationException(string message) (+ 2 {FeaturesResources.overloads_})"));
3059MainDescription($"InvalidOperationException.InvalidOperationException(string message) (+ 2 {FeaturesResources.overloads_})"));
3067MainDescription($"ArgumentNullException.ArgumentNullException() (+ 3 {FeaturesResources.overloads_})"));
3074MainDescription("System.IO.FileInfo.FileInfo(string fileName)"));
3087MainDescription("string I.Name { get; set; }"));
3115MainDescription("string C.Name { get; set; }"));
3133MainDescription("C C.operator +(C left, C right)"));
3149MainDescription("TOut C.Goo<TIn, TOut>(TIn arg) where TIn : IEquatable<TIn>"));
3166MainDescription("TOut C.Goo<TIn, TOut>(TIn arg) where TIn : Employee, new()"));
3183MainDescription("TOut C.Goo<TIn, TOut>(TIn arg) where TIn : Employee"));
3204MainDescription("class EmployeeList<T> where T : Employee, System.IComparable<T>, new()"));
3217MainDescription($"T11 {FeaturesResources.in_} T1<T11>"));
3230MainDescription($"T1 {FeaturesResources.in_} C.Meth1<T1> where T1 : struct"));
3241MainDescription($"({FeaturesResources.local_variable}) Exception x"));
3264MainDescription($"({FeaturesResources.local_variable}) A<B?> y"));
3289code, MainDescription("string? C.Goo(IEnumerable<object?> arg)"));
3297MainDescription("struct System.Collections.Generic.List<T>.Enumerator"),
3321MainDescription("class Outer<T>.Inner<U>"),
3345MainDescription($"({FeaturesResources.field}) int test.z"));
3366MainDescription("struct System.Int32"));
3383MainDescription($"({FeaturesResources.local_variable}) C<int, DateTime> variable"));
3399MainDescription($"({FeaturesResources.local_variable}) int cc"));
3420MainDescription($"({FeaturesResources.local_variable}) int aa"));
3440MainDescription($"({FeaturesResources.local_variable}) Exception ex"));
3461MainDescription($"({FeaturesResources.local_variable}) int aa"));
3482MainDescription($"({FeaturesResources.local_variable}) int aa"));
3499MainDescription($"({FeaturesResources.local_variable}) C<int, DateTime> variable"));
3517MainDescription($"Dictionary<int, string>.Dictionary() (+ 5 {FeaturesResources.overloads_})"));
3538MainDescription(@"class A.C"));
3546MainDescription($"({FeaturesResources.field}) DateTime C.field"));
3554MainDescription($"({FeaturesResources.field}) NonExistentType<int> C.field"));
3562MainDescription("delegate TResult System.Func<in T, out TResult>(T arg)"),
3587MainDescription($"({FeaturesResources.local_variable}) D1 d"));
3602""", MainDescription("int[]"));
3618MainDescription("struct System.Int32"));
3635MainDescription("C.C()"));
3654MainDescription($"C.C(int i) (+ 1 {FeaturesResources.overload})"));
3673MainDescription("class A<T>"));
3691MainDescription("Goo"));
3707MainDescription($"({FeaturesResources.discard}) int _"));
3723MainDescription($"({FeaturesResources.local_variable}) int _"));
3740MainDescription($"({FeaturesResources.discard}) int _"));
3806MainDescription($"({FeaturesResources.discard}) string _"));
3822MainDescription($"({FeaturesResources.discard}) int _"));
3849MainDescription("struct System.Int32"));
3868MainDescription($"({FeaturesResources.local_variable}) int cc"));
3901MainDescription("SampleEventHandler Publisher.SampleEvent"));
3908MainDescription("ConsoleCancelEventHandler Console.CancelKeyPress"));
3915MainDescription("void Console.CancelKeyPress.add"));
3922MainDescription("void Console.CancelKeyPress.remove"));
3953MainDescription($"({CSharpFeaturesResources.extension}) bool int.In<int>(IEnumerable<int> items)"));
3987MainDescription($"({CSharpFeaturesResources.extension}) void string.TestExt<string>() (+ 2 {FeaturesResources.overloads_})"));
4021MainDescription($"({CSharpFeaturesResources.extension}) void string.TestExt<string>() (+ 1 {FeaturesResources.overload})"));
4041MainDescription($"({FeaturesResources.range_variable}) int n"));
4061MainDescription($"({FeaturesResources.range_variable}) int n"));
4079MainDescription($"({FeaturesResources.range_variable}) ? n"));
4097MainDescription($"({FeaturesResources.range_variable}) ? n"));
4117MainDescription($"({FeaturesResources.range_variable}) object n"));
4137MainDescription($"({FeaturesResources.range_variable}) object n"));
4157MainDescription($"({FeaturesResources.range_variable}) int n"));
4177MainDescription($"({FeaturesResources.range_variable}) int n"));
4198MainDescription($"({FeaturesResources.range_variable}) List<int> x"));
4219MainDescription($"({FeaturesResources.range_variable}) List<int> x"));
4240MainDescription($"({FeaturesResources.range_variable}) int y"));
4261MainDescription($"({FeaturesResources.range_variable}) int y"));
4274MainDescription($"({CSharpFeaturesResources.extension}) IEnumerable<int> IEnumerable<int>.Select<int, int>(Func<int, int> selector)"));
4287MainDescription($"({CSharpFeaturesResources.extension}) IQueryable<int> IQueryable<int>.Select<int, int>(System.Linq.Expressions.Expression<Func<int, int>> selector)"));
4316MainDescription($"({CSharpFeaturesResources.extension}) Lazy<object> Lazy<object>.Select<object, object>(Func<object, object> selector)"));
4343MainDescription($"({CSharpFeaturesResources.extension}) IEnumerable<'a> IEnumerable<int>.Select<int, 'a>(Func<int, 'a> selector)"),
4362MainDescription($"({CSharpFeaturesResources.extension}) IEnumerable<int> IEnumerable<int>.Where<int>(Func<int, bool> predicate)"));
4376MainDescription($"({CSharpFeaturesResources.extension}) IOrderedEnumerable<int> IEnumerable<int>.OrderBy<int, int>(Func<int, int> keySelector)"));
4390MainDescription($"({CSharpFeaturesResources.extension}) IOrderedEnumerable<int> IEnumerable<int>.OrderBy<int, int>(Func<int, int> keySelector)"));
4417MainDescription($"({CSharpFeaturesResources.extension}) IOrderedEnumerable<int> IOrderedEnumerable<int>.ThenBy<int, int>(Func<int, int> keySelector)"));
4431MainDescription($"({CSharpFeaturesResources.extension}) IOrderedEnumerable<int> IEnumerable<int>.OrderBy<int, int>(Func<int, int> keySelector)"));
4445MainDescription($"({CSharpFeaturesResources.extension}) IOrderedEnumerable<int> IEnumerable<int>.OrderBy<int, int>(Func<int, int> keySelector)"));
4472MainDescription($"({CSharpFeaturesResources.extension}) IOrderedEnumerable<int> IOrderedEnumerable<int>.ThenBy<int, int>(Func<int, int> keySelector)"));
4499MainDescription($"({CSharpFeaturesResources.extension}) IOrderedEnumerable<int> IEnumerable<int>.OrderBy<int, int>(Func<int, int> keySelector)"));
4526MainDescription($"({CSharpFeaturesResources.extension}) IOrderedEnumerable<int> IOrderedEnumerable<int>.ThenBy<int, int>(Func<int, int> keySelector)"));
4540MainDescription($"({CSharpFeaturesResources.extension}) IOrderedEnumerable<int> IEnumerable<int>.OrderBy<int, ?>(Func<int, ?> keySelector)"));
4554MainDescription($"({CSharpFeaturesResources.extension}) IEnumerable<int> IEnumerable<int>.SelectMany<int, int, int>(Func<int, IEnumerable<int>> collectionSelector, Func<int, int, int> resultSelector)"));
4568MainDescription($"({CSharpFeaturesResources.extension}) IEnumerable<int> IEnumerable<int>.SelectMany<int, int, int>(Func<int, IEnumerable<int>> collectionSelector, Func<int, int, int> resultSelector)"));
4581MainDescription($"({CSharpFeaturesResources.extension}) IEnumerable<IGrouping<int, int>> IEnumerable<int>.GroupBy<int, int>(Func<int, int> keySelector)"));
4594MainDescription($"({CSharpFeaturesResources.extension}) IEnumerable<IGrouping<int, int>> IEnumerable<int>.GroupBy<int, int>(Func<int, int> keySelector)"));
4608MainDescription($"({CSharpFeaturesResources.extension}) IEnumerable<IGrouping<int, int>> IEnumerable<int>.GroupBy<int, int>(Func<int, int> keySelector)"));
4622MainDescription($"({CSharpFeaturesResources.extension}) IEnumerable<int> IEnumerable<int>.Join<int, int, int, int>(IEnumerable<int> inner, Func<int, int> outerKeySelector, Func<int, int> innerKeySelector, Func<int, int, int> resultSelector)"));
4636MainDescription($"({CSharpFeaturesResources.extension}) IEnumerable<int> IEnumerable<int>.Join<int, int, int, int>(IEnumerable<int> inner, Func<int, int> outerKeySelector, Func<int, int> innerKeySelector, Func<int, int, int> resultSelector)"));
4650MainDescription($"({CSharpFeaturesResources.extension}) IEnumerable<int> IEnumerable<int>.Join<int, int, int, int>(IEnumerable<int> inner, Func<int, int> outerKeySelector, Func<int, int> innerKeySelector, Func<int, int, int> resultSelector)"));
4664MainDescription($"({CSharpFeaturesResources.extension}) IEnumerable<int> IEnumerable<int>.Join<int, int, int, int>(IEnumerable<int> inner, Func<int, int> outerKeySelector, Func<int, int> innerKeySelector, Func<int, int, int> resultSelector)"));
4678MainDescription($"({CSharpFeaturesResources.extension}) IEnumerable<IEnumerable<int>> IEnumerable<int>.GroupJoin<int, int, int, IEnumerable<int>>(IEnumerable<int> inner, Func<int, int> outerKeySelector, Func<int, int> innerKeySelector, Func<int, IEnumerable<int>, IEnumerable<int>> resultSelector)"));
4716MainDescription($"({CSharpFeaturesResources.extension}) IEnumerable<double> System.Collections.IEnumerable.Cast<double>()"));
4729MainDescription($"({CSharpFeaturesResources.extension}) IEnumerable<double> System.Collections.IEnumerable.Cast<double>()"));
4743MainDescription($"({CSharpFeaturesResources.extension}) IEnumerable<int> IEnumerable<int>.SelectMany<int, double, int>(Func<int, IEnumerable<double>> collectionSelector, Func<int, double, int> resultSelector)"));
4757MainDescription($"({CSharpFeaturesResources.extension}) IEnumerable<double> System.Collections.IEnumerable.Cast<double>()"));
4771MainDescription($"({CSharpFeaturesResources.extension}) IEnumerable<int> IEnumerable<int>.Join<int, int, int, int>(IEnumerable<int> inner, Func<int, int> outerKeySelector, Func<int, int> innerKeySelector, Func<int, int, int> resultSelector)"));
4785MainDescription($"({CSharpFeaturesResources.extension}) IEnumerable<int> System.Collections.IEnumerable.Cast<int>()"));
4799MainDescription($"({CSharpFeaturesResources.extension}) IEnumerable<int> IEnumerable<int>.Join<int, int, int, int>(IEnumerable<int> inner, Func<int, int> outerKeySelector, Func<int, int> innerKeySelector, Func<int, int, int> resultSelector)"));
4813MainDescription($"({CSharpFeaturesResources.extension}) IEnumerable<int> IEnumerable<int>.Join<int, int, int, int>(IEnumerable<int> inner, Func<int, int> outerKeySelector, Func<int, int> innerKeySelector, Func<int, int, int> resultSelector)"));
4832MainDescription("<global namespace>"));
4847MainDescription($"({FeaturesResources.field}) classAttribute classAttribute.x"));
4862MainDescription($"({FeaturesResources.field}) class1Attribute class1Attribute.x"));
4925MainDescription($"({FeaturesResources.label}) Goo"));
4944MainDescription("class System.Collections.Generic.List<T>"),
4961MainDescription(@"AnonymousType 'a"),
4982MainDescription(@"'b 'a.Address { get; }"),
4999MainDescription(@"string 'a.Name { get; }"),
5030MainDescription(@"int 'a.N { get; }"),
5053MainDescription("string[]"));
5079MainDescription($"({FeaturesResources.range_variable}) N1.yield yield"));
5108MainDescription("IEnumerable<Program> Program.operator +(Program p1, Program p2)"));
5120MainDescription($"({FeaturesResources.constant}) int C.F = 1"));
5132MainDescription($"({FeaturesResources.constant}) double C.Z = 3.5"));
5151MainDescription($"({FeaturesResources.constant}) int A.X = B.Z + 1"));
5169MainDescription($"({FeaturesResources.constant}) int B.Z = A.X + 1"));
5182MainDescription($"({FeaturesResources.constant}) int B.Z = int.MaxValue + 1"));
5195MainDescription($"({FeaturesResources.constant}) int B.Z = unchecked(int.MaxValue + 1)"));
5222MainDescription($"({FeaturesResources.local_constant}) int x = (int)Days.Sun"));
5249MainDescription($"({FeaturesResources.local_constant}) Days x = default(Days)"));
5262MainDescription($"({FeaturesResources.parameter}) int b = 1"));
5277MainDescription($"({FeaturesResources.local_constant}) int loc = 1"));
5285MainDescription($"({FeaturesResources.local_variable}) Goo v1"));
5293MainDescription($"({FeaturesResources.local_variable}) var v1"));
5301MainDescription($"({FeaturesResources.local_variable}) Goo<Bar> v1"));
5309MainDescription($"({FeaturesResources.local_variable}) ?* v1"));
5316MainDescription($"({FeaturesResources.local_variable}) var* v1"));
5323MainDescription($"({FeaturesResources.local_variable}) Goo[] v1"));
5343MainDescription($"({FeaturesResources.local_variable}) ? v1"));
5350MainDescription($"({FeaturesResources.local_variable}) ? v1"));
5358MainDescription("delegate void F(int x)"));
5373MainDescription("void C.Goo([int* x = null])"));
5380MainDescription($"({FeaturesResources.range_variable}) int y"));
5395MainDescription("void Test.Method([int? t1 = null])"));
5412MainDescription($"""
5432MainDescription($@"({FeaturesResources.local_constant}) int MEGABYTE = 1024 * 1024 + true"));
5452MainDescription($"({FeaturesResources.constant}) int Program.a = true - false"));
5483MainDescription(@"void Program.Main(string[] args)"));
5499MainDescription(@"void Program.Main(string[] args)"));
5594expectedResults: MainDescription("string CCC.IndexProp[int p1, [int p2 = 0]] { get; set; }"));
5617MainDescription(@"enum A<T>.SortOrder"));
5630MainDescription(@"class C<T>"));
5648await VerifyWithMscorlib45Async(markup, MainDescription(description));
5667await TestAsync(markup, MainDescription($"[{CSharpFeaturesResources.deprecated}] void Program.goo()"));
5689await TestAsync(markup, MainDescription("dynamic dynamic.operator ==(dynamic left, dynamic right)"));
6243await VerifyWithReferenceWorkerAsync(markup, new[] { MainDescription($"({FeaturesResources.field}) int C.x"), Usage("") });
6453await VerifyWithReferenceWorkerAsync(markup, new[] { MainDescription($"({FeaturesResources.local_variable}) int x"), Usage("") });
6483await VerifyWithReferenceWorkerAsync(markup, new[] { MainDescription($"({FeaturesResources.local_variable}) int x"), Usage($"""
6515await VerifyWithReferenceWorkerAsync(markup, new[] { MainDescription($"({FeaturesResources.label}) LABEL"), Usage("") });
6542await VerifyWithReferenceWorkerAsync(markup, new[] { MainDescription($"({FeaturesResources.range_variable}) int y"), Usage("") });
6560await TestAsync(markup, MainDescription("bool void*.operator ==(void* left, void* right)"));
6578await TestAsync(markup, MainDescription(string.Format(FeaturesResources.Awaited_task_returns_0, "int[]")));
6596await TestAsync(markup, MainDescription(string.Format(FeaturesResources.Awaited_task_returns_0, "dynamic")));
6628await VerifyWithReferenceWorkerAsync(markup, MainDescription(expectedDescription));
6683await VerifyWithReferenceWorkerAsync(markup, MainDescription(expectedDescription));
7192await TestWithOptionsAsync(workspace, MainDescription($"({FeaturesResources.parameter}) int x = 1"));
7220MainDescription("(int, int) C.Name { get; set; }"));
7239MainDescription($"({FeaturesResources.local_variable}) ValueTuple y"));
7258MainDescription("struct System.ValueTuple"));
7277MainDescription($"({FeaturesResources.local_variable}) ValueTuple<int> y"));
7296MainDescription("struct System.ValueTuple<System.Int32>"));
7315MainDescription($"({FeaturesResources.local_variable}) (int, int) y"));
7334MainDescription("(int, int)"));
7357MainDescription("ref int Program.goo()"));
7380MainDescription($"({FeaturesResources.local_variable}) ref int i"));
7404MainDescription("T Test.F<T>()"));
7422MainDescription("Test.Test()"));
7429await TestAsync(markup, MainDescription("ref struct X"));
7442await TestAsync(markup, MainDescription("ref struct Nested.X"));
7449await TestAsync(markup, MainDescription("readonly struct X"));
7462await TestAsync(markup, MainDescription("readonly struct Nested.X"));
7469await TestAsync(markup, MainDescription("readonly ref struct X"));
7482await TestAsync(markup, MainDescription("readonly ref struct Nested.X"));
7510await VerifyWithReferenceWorkerAsync(xmlString, MainDescription($"ref struct TestRef"));
7537MainDescription($"ConsoleApplication1.A ConsoleApplication1.B.F()"));
7566MainDescription($"void Program.Test<Bar>()"));
7607MainDescription($"({FeaturesResources.parameter}) ? b"));
7621MainDescription($"T {FeaturesResources.in_} X<T> where T : Enum"));
7635MainDescription($"T {FeaturesResources.in_} X<T> where T : Delegate"));
7649MainDescription($"T {FeaturesResources.in_} X<T> where T : MulticastDelegate"));
7662MainDescription("class X<T> where T : unmanaged"));
7676MainDescription("void X.M<T>() where T : unmanaged"));
7684MainDescription("delegate void D<T>() where T : unmanaged"));
7701MainDescription("void M<T>() where T : unmanaged"));
7828MainDescription("bool string.operator ==(string a, string b)"),
7842MainDescription("class X<T> where T : notnull"));
7856MainDescription("void X.M<T>() where T : notnull"));
7869MainDescription("""
7887MainDescription("""
7899MainDescription("delegate void D<T>() where T : notnull"));
7916MainDescription("void M<T>() where T : notnull"));
7934MainDescription($"({FeaturesResources.parameter}) string? s"),
7954MainDescription($"({FeaturesResources.parameter}) string? s"),
7975MainDescription($"({FeaturesResources.field}) string? X.s"),
7997MainDescription($"({FeaturesResources.field}) string? X.s"),
8018MainDescription("string? X.S { get; set; }"),
8040MainDescription("string? X.S { get; set; }"),
8066MainDescription($"({FeaturesResources.local_variable}) string? s"),
8092MainDescription($"({FeaturesResources.local_variable}) string? s"),
8114MainDescription($"({FeaturesResources.local_variable}) string? s"),
8136MainDescription($"({FeaturesResources.local_variable}) string? s"),
8158MainDescription($"({FeaturesResources.local_variable}) string s"),
8180MainDescription($"({FeaturesResources.local_variable}) string s"),
8200MainDescription($"({FeaturesResources.local_variable}) string s"),
8222MainDescription($"({FeaturesResources.local_variable}) int a"),
8244MainDescription($"({FeaturesResources.local_constant}) string? s = null"),
8263MainDescription("void C.M(int x, int y)"),
8285MainDescription("void C.M(int x, int y)"),
8307MainDescription("void C.M(int x, int y)"),
8339MainDescription("Test<int> Test<int>.Clone()"),
8367MainDescription($"void Test.Foo<T>()"),
8388MainDescription("void C.M(int x, int y)"),
8403MainDescription("void C.M(int x)"),
8418MainDescription("void C.M(int x)"),
8437MainDescription($"({FeaturesResources.range_variable}) IGrouping<int, string> g"));
8455MainDescription("int C.this[int x] { get; }"));
8473MainDescription("int C.this[int x] { get; }"));
8490MainDescription("struct System.Int32"));
8512MainDescription("int Program.M()"),
8536MainDescription("int Program.M.get"),
8563MainDescription("int Program.M()"),
8588MainDescription("int Program.M.get"),
8616MainDescription("int Program.M()"),
8641MainDescription("int Program.M.get"),
8665MainDescription("class Person"));
8699""", MainDescription("class Person"));
8716""", MainDescription("struct System.Int32"));
8748""", MainDescription("record Person"));
8767""", MainDescription("record Student"));
8778""", MainDescription("Person.Person(string First, string Last)"));
8789""", MainDescription("Person.Person(string First, string Last)"));
8800""", MainDescription("Person.Person(int id)"));
8823MainDescription($"void C.M(int a, params int[] b) (+ 1 {FeaturesResources.overload})"));
8846MainDescription($"void C.M(int a, params int[] b) (+ 1 {FeaturesResources.overload})"));
8869MainDescription($"void C.M(int a, params int[] b) (+ 1 {FeaturesResources.overload})"));
8884""", MainDescription("record Person"));
8899""", MainDescription("record struct Person"));
8914""", MainDescription("readonly record struct Person"));
8932MainDescription("string Person.First { get; init; }"),
8951MainDescription("(field) int C.Prop.field"));
8971MainDescription("class System.String"));
8991MainDescription($"({FeaturesResources.local_variable}) string? x"));
9009MainDescription("struct System.Char"));
9027MainDescription($"({FeaturesResources.local_variable}) char one"));
9045MainDescription("char[]"));
9063MainDescription($"({FeaturesResources.local_variable}) char[]? one"));
9082MainDescription("interface IGoo"),
9107MainDescription("interface IGoo"),
9133MainDescription("interface IGoo"),
9153MainDescription("interface IGoo"),
9177MainDescription("void C1_1.M1()"),
9206MainDescription("void C1_1.M1()"),
9230MainDescription("void I1.M1()"),
9255MainDescription("void C1_1.M1()"),
9279MainDescription("void C1_1.M1()"),
9304MainDescription("void C1_1.M1()"),
9319MainDescription("struct System.Boolean"));
9334MainDescription("struct A.B"));
9351MainDescription("struct B"));
9367MainDescription("delegate TResult System.Func<in T, out TResult>(T arg)"),
9388MainDescription("delegate TResult System.Func<in T, out TResult>(T arg)"),
9405MainDescription("delegate string <anonymous delegate>(ref int arg)"),
9422MainDescription($"({FeaturesResources.local_variable}) 'a v"),
9447MainDescription("'a C.Goo<'a>('a t)"),
9472MainDescription($"({FeaturesResources.local_variable}) 'a lam"),
9495""", MainDescription("delegate int <anonymous delegate>(int arg = 42)"));
9512""", MainDescription("struct System.Int32"));
9529""", MainDescription($"({FeaturesResources.parameter}) int param = 42"));
9546""", MainDescription("struct System.Int32"));
9562MainDescription($"({FeaturesResources.local_variable}) 'a lam"),
9582MainDescription("delegate int <anonymous delegate>(params int[] arg)"));
9597MainDescription("struct System.Int32"));
9612MainDescription($"({FeaturesResources.parameter}) params int[] xs"));
9626MainDescription(@"void C.M((int x, string y) t)"),
9642MainDescription(@"void C.M('a s, 'a t)"),
9662MainDescription(@"void C.M((int x, string y) s, (int a, string b) u)"),
9677MainDescription(@"void C.M('a s, 'a t, 'b u, 'b v)"),
9698MainDescription(@"void C.M('a s, 'a t, 'b u)"),
9720MainDescription(@"'a C.M<'a>('a t)"),
9741MainDescription(@"'a C.M<'a>('a t)"),
9762MainDescription(@"'a C.M<'a>('a t)"),
9780MainDescription($"({FeaturesResources.local_variable}) int x"));
9791MainDescription($"({FeaturesResources.local_variable}) int x"));
9801MainDescription($""""
9816MainDescription($"({FeaturesResources.local_variable}) int x"));
9829MainDescription($"({FeaturesResources.local_variable}) int x"));
9841MainDescription($""""
9862MainDescription($"({FeaturesResources.parameter}) string[] args"));
9884MainDescription($"({FeaturesResources.parameter}) string[] args"));
9900MainDescription($"({FeaturesResources.parameter}) string s"));
9915MainDescription($"({FeaturesResources.parameter}) string s"));
9934MainDescription($"({FeaturesResources.parameter}) string s"));
9958MainDescription($"void Program.F(R r1, scoped R r2, ref R r3, scoped ref R r4, in R r5, scoped in R r6, out R r7, out R r8)"));
9977MainDescription($"({FeaturesResources.local_variable}) scoped ref int r"));
9996MainDescription($"class System.String?"));
10020MainDescription($"class System.String"));
10029MainDescription($"struct System.Int32"));
10038MainDescription($"struct System.Int32"));
10047MainDescription($"struct System.Int32"));
10056MainDescription($"(int a, int b)"));
10081MainDescription($"delegate*<int, int>"));
10090MainDescription($"struct System.Int32"));
10099MainDescription($"int*"));
10108MainDescription($"int[]"));
10125MainDescription($"int[]"));
10149MainDescription(description),
10184MainDescription("void C.Dispose()"));
10215MainDescription("void CBase.Dispose()"));
10244MainDescription("void C.Dispose()"));
10265MainDescription("void IDisposable.Dispose()"));
10313MainDescription("void S.Dispose()"));
10342MainDescription("void S.Dispose()"));
10363MainDescription("void IDisposable.Dispose()"));
10406MainDescription("void IDisposable.Dispose()"));
10435MainDescription($"({CSharpFeaturesResources.awaitable}) ValueTask C.DisposeAsync()"));
10467MainDescription($"({CSharpFeaturesResources.awaitable}) ValueTask CBase.DisposeAsync()"));
10497MainDescription($"({CSharpFeaturesResources.awaitable}) ValueTask C.DisposeAsync()"));
10519MainDescription($"({CSharpFeaturesResources.awaitable}) ValueTask IAsyncDisposable.DisposeAsync()"));
10568MainDescription($"({CSharpFeaturesResources.awaitable}) ValueTask S.DisposeAsync()"));
10598MainDescription($"({CSharpFeaturesResources.awaitable}) ValueTask S.DisposeAsync()"));
10620MainDescription($"({CSharpFeaturesResources.awaitable}) ValueTask IAsyncDisposable.DisposeAsync()"));
10664MainDescription($"({CSharpFeaturesResources.awaitable}) ValueTask IAsyncDisposable.DisposeAsync()"));