366 instantiations of SignatureHelpTestItem
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (366)
SignatureHelp\AttributeSignatureHelpProviderTests.cs (37)
43
new
SignatureHelpTestItem
("SomethingAttribute()", string.Empty, null, currentParameterIndex: 0)
67
new
SignatureHelpTestItem
("SomethingAttribute()", "Summary For Attribute", null, currentParameterIndex: 0)
88
new
SignatureHelpTestItem
("SomethingAttribute(int i)", currentParameterIndex: 0, isSelected: true),
89
new
SignatureHelpTestItem
("SomethingAttribute(string i)", currentParameterIndex: 0),
110
new
SignatureHelpTestItem
("SomethingAttribute(int i)", currentParameterIndex: 0),
111
new
SignatureHelpTestItem
("SomethingAttribute(string i)", currentParameterIndex: 0, isSelected: true),
134
new
SignatureHelpTestItem
("SomethingAttribute(int someInteger, string someString)", string.Empty, string.Empty, currentParameterIndex: 0)
162
new
SignatureHelpTestItem
("SomethingAttribute(int someInteger, string someString)", "Summary For Attribute", "Param someInteger", currentParameterIndex: 0)
184
new
SignatureHelpTestItem
("SomethingAttribute(int someInteger, string someString)", string.Empty, string.Empty, currentParameterIndex: 1)
212
new
SignatureHelpTestItem
("SomethingAttribute(int someInteger, string someString)", "Summary For Attribute", "Param someString", currentParameterIndex: 1)
233
new
SignatureHelpTestItem
("SomethingAttribute()", string.Empty, null, currentParameterIndex: 0)
338
new
SignatureHelpTestItem
($"SomethingAttribute({FeaturesResources.Properties}: [goo = int])", string.Empty, string.Empty, currentParameterIndex: 0)
361
new
SignatureHelpTestItem
("SomethingAttribute()", string.Empty, null, currentParameterIndex: 0)
384
new
SignatureHelpTestItem
("SomethingAttribute()", string.Empty, null, currentParameterIndex: 0)
407
new
SignatureHelpTestItem
("SomethingAttribute()", string.Empty, null, currentParameterIndex: 0)
435
new
SignatureHelpTestItem
($"SomethingAttribute({FeaturesResources.Properties}: [goo = int])", string.Empty, string.Empty, currentParameterIndex: 0)
459
new
SignatureHelpTestItem
("SomethingAttribute()", string.Empty, null, currentParameterIndex: 0)
482
new
SignatureHelpTestItem
("SomethingAttribute()", string.Empty, null, currentParameterIndex: 0)
505
new
SignatureHelpTestItem
("SomethingAttribute()", string.Empty, null, currentParameterIndex: 0)
528
new
SignatureHelpTestItem
("SomethingAttribute()", string.Empty, null, currentParameterIndex: 0)
551
new
SignatureHelpTestItem
("SomethingAttribute()", string.Empty, null, currentParameterIndex: 0)
583
new
SignatureHelpTestItem
($"DerivedAttribute({FeaturesResources.Properties}: [Name = string])", string.Empty, string.Empty, currentParameterIndex: 0)
615
new
SignatureHelpTestItem
($"SomethingAttribute([int goo = 0], [string bar = null], {FeaturesResources.Properties}: [fieldbar = string], [fieldfoo = int])", string.Empty, "GooParameter", currentParameterIndex: 0)
644
new
SignatureHelpTestItem
($"SomethingAttribute([int goo = 0], [string bar = null], {FeaturesResources.Properties}: [fieldbar = string], [fieldfoo = int])", string.Empty, "BarParameter", currentParameterIndex: 1)
673
new
SignatureHelpTestItem
($"SomethingAttribute([int goo = 0], [string bar = null], {FeaturesResources.Properties}: [fieldbar = string], [fieldfoo = int])", string.Empty, string.Empty, currentParameterIndex: 2)
700
new
SignatureHelpTestItem
($"SomethingAttribute([int goo = 0], {FeaturesResources.Properties}: [goo = int])", string.Empty, "GooParameter", currentParameterIndex: 0)
727
new
SignatureHelpTestItem
($"SomethingAttribute([int goo = 0], {FeaturesResources.Properties}: [goo = int])", string.Empty, string.Empty, currentParameterIndex: 1)
757
new
SignatureHelpTestItem
("SomethingAttribute(int someParameter, bool somethingElse)", string.Empty, string.Empty, currentParameterIndex: 0)
782
new
SignatureHelpTestItem
("SomethingAttribute(int someParameter, bool somethingElse)", string.Empty, string.Empty, currentParameterIndex: 1)
843
new
SignatureHelpTestItem
("MyAttribute(int x)", string.Empty, string.Empty, currentParameterIndex: 0)
876
new
SignatureHelpTestItem
("MyAttribute(int x)", string.Empty, string.Empty, currentParameterIndex: 0)
909
new
SignatureHelpTestItem
("MyAttribute(int x)", string.Empty, string.Empty, currentParameterIndex: 0)
956
new
SignatureHelpTestItem
("MyAttribute(int x)", string.Empty, string.Empty, currentParameterIndex: 0)
961
new
SignatureHelpTestItem
("MyAttribute(int x)", string.Empty, string.Empty, currentParameterIndex: 0),
962
new
SignatureHelpTestItem
("MyAttribute(int x, int y)", string.Empty, string.Empty, currentParameterIndex: 0)
1002
var expectedDescription = new
SignatureHelpTestItem
($"Secret()\r\n\r\n{string.Format(FeaturesResources._0_1, "Proj1", FeaturesResources.Available)}\r\n{string.Format(FeaturesResources._0_1, "Proj2", FeaturesResources.Not_Available)}\r\n\r\n{FeaturesResources.You_can_use_the_navigation_bar_to_switch_contexts}", currentParameterIndex: 0);
1040
var expectedDescription = new
SignatureHelpTestItem
($"Secret()\r\n\r\n{string.Format(FeaturesResources._0_1, "Proj1", FeaturesResources.Available)}\r\n{string.Format(FeaturesResources._0_1, "Proj3", FeaturesResources.Not_Available)}\r\n\r\n{FeaturesResources.You_can_use_the_navigation_bar_to_switch_contexts}", currentParameterIndex: 0);
SignatureHelp\ConstructorInitializerSignatureHelpProviderTests.cs (33)
44
new
SignatureHelpTestItem
("BaseClass()", string.Empty, null, currentParameterIndex: 0)
69
new
SignatureHelpTestItem
("BaseClass()", "Summary for BaseClass", null, currentParameterIndex: 0)
93
new
SignatureHelpTestItem
("BaseClass(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 0)
120
new
SignatureHelpTestItem
("BaseClass(int a, int b)", "Summary for BaseClass", "Param a", currentParameterIndex: 0)
147
new
SignatureHelpTestItem
("BaseClass(int a, int b)", "Summary for BaseClass", "Param b", currentParameterIndex: 1)
174
new
SignatureHelpTestItem
("BaseClass(int a, int b)", "Summary for BaseClass", "Param b", currentParameterIndex: 1)
193
new
SignatureHelpTestItem
("Goo(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 1)
212
new
SignatureHelpTestItem
("Foo()", string.Empty, null, currentParameterIndex: 0),
231
new
SignatureHelpTestItem
("Goo(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 1)
250
new
SignatureHelpTestItem
("Foo()", string.Empty, null, currentParameterIndex: 0),
271
new
SignatureHelpTestItem
("D(int i)", currentParameterIndex: 0, isSelected: true),
272
new
SignatureHelpTestItem
("D(string i)", currentParameterIndex: 0),
293
new
SignatureHelpTestItem
("D(int i)", currentParameterIndex: 0),
294
new
SignatureHelpTestItem
("D(string i)", currentParameterIndex: 0, isSelected: true),
335
new
SignatureHelpTestItem
("Goo(int a)", string.Empty, string.Empty, currentParameterIndex: 0)
354
new
SignatureHelpTestItem
("Foo()", string.Empty, null, currentParameterIndex: 0),
373
new
SignatureHelpTestItem
("Goo(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 1)
392
new
SignatureHelpTestItem
("Foo()", string.Empty, null, currentParameterIndex: 0),
445
new
SignatureHelpTestItem
("BaseClass(int x)", string.Empty, string.Empty, currentParameterIndex: 0)
476
new
SignatureHelpTestItem
("BaseClass(int x)", string.Empty, string.Empty, currentParameterIndex: 0)
507
new
SignatureHelpTestItem
("BaseClass(int x)", string.Empty, string.Empty, currentParameterIndex: 0)
551
new
SignatureHelpTestItem
("BaseClass(int x)", string.Empty, string.Empty, currentParameterIndex: 0)
556
new
SignatureHelpTestItem
("BaseClass(int x)", string.Empty, string.Empty, currentParameterIndex: 0),
557
new
SignatureHelpTestItem
("BaseClass(int x, int y)", string.Empty, string.Empty, currentParameterIndex: 0)
600
var expectedDescription = new
SignatureHelpTestItem
($"Secret(int secret)\r\n\r\n{string.Format(FeaturesResources._0_1, "Proj1", FeaturesResources.Available)}\r\n{string.Format(FeaturesResources._0_1, "Proj2", FeaturesResources.Not_Available)}\r\n\r\n{FeaturesResources.You_can_use_the_navigation_bar_to_switch_contexts}", currentParameterIndex: 0);
641
var expectedDescription = new
SignatureHelpTestItem
($"Secret(int secret)\r\n\r\n{string.Format(FeaturesResources._0_1, "Proj1", FeaturesResources.Available)}\r\n{string.Format(FeaturesResources._0_1, "Proj3", FeaturesResources.Not_Available)}\r\n\r\n{FeaturesResources.You_can_use_the_navigation_bar_to_switch_contexts}", currentParameterIndex: 0);
689
new
SignatureHelpTestItem
("D(object o)", currentParameterIndex: 0)
708
new
SignatureHelpTestItem
("D(object o)", currentParameterIndex: 0)
728
new
SignatureHelpTestItem
("D(object o)", currentParameterIndex: 0)
747
new
SignatureHelpTestItem
("D(object o)", currentParameterIndex: 0)
775
new
SignatureHelpTestItem
("Program(int i1, int i2, int i3)", currentParameterIndex: expectedParameterIndex, isSelected: true),
811
new
SignatureHelpTestItem
("Program(int i, string s)", currentParameterIndex: expectedParameterIndex, isSelected: expecteSelectedIndex == index++),
812
new
SignatureHelpTestItem
("Program(string s, string s2)", currentParameterIndex: expectedParameterIndex, isSelected: expecteSelectedIndex == index++),
SignatureHelp\ElementAccessExpressionSignatureHelpProviderTests.cs (31)
51
new
SignatureHelpTestItem
("string C[int a]", string.Empty, string.Empty, currentParameterIndex: 0)
76
new
SignatureHelpTestItem
("ref int C[int a]", string.Empty, string.Empty, currentParameterIndex: 0)
101
new
SignatureHelpTestItem
("ref readonly int C[int a]", string.Empty, string.Empty, currentParameterIndex: 0)
132
new
SignatureHelpTestItem
("string C[int a]", string.Empty, string.Empty, currentParameterIndex: 0)
167
new
SignatureHelpTestItem
("string C[int a]", "Summary for this.", "Param a", currentParameterIndex: 0)
197
new
SignatureHelpTestItem
("string C[int a, bool b]", string.Empty, string.Empty, currentParameterIndex: 1)
233
new
SignatureHelpTestItem
("string C[int a, bool b]", "Summary for this.", "Param b", currentParameterIndex: 1)
265
new
SignatureHelpTestItem
("string C[int a]", string.Empty, string.Empty, currentParameterIndex: 0)
296
new
SignatureHelpTestItem
("string C[int a, bool b]", string.Empty, string.Empty, currentParameterIndex: 1)
361
new
SignatureHelpTestItem
("string C[int a]", string.Empty, string.Empty, currentParameterIndex: 0)
392
new
SignatureHelpTestItem
("string C[int a, bool b]", string.Empty, string.Empty, currentParameterIndex: 1)
464
new
SignatureHelpTestItem
("int Goo[int x]", string.Empty, string.Empty, currentParameterIndex: 0)
501
new
SignatureHelpTestItem
("int Goo[int x]", string.Empty, string.Empty, currentParameterIndex: 0)
538
new
SignatureHelpTestItem
("int Goo[int x]", string.Empty, string.Empty, currentParameterIndex: 0)
591
new
SignatureHelpTestItem
("int Goo[double d]", string.Empty, string.Empty, currentParameterIndex: 0)
596
new
SignatureHelpTestItem
("int Goo[double d]", string.Empty, string.Empty, currentParameterIndex: 0),
597
new
SignatureHelpTestItem
("int Goo[int x]", string.Empty, string.Empty, currentParameterIndex: 0),
634
new
SignatureHelpTestItem
("int Goo[int x]", string.Empty, string.Empty, currentParameterIndex: 0)
671
new
SignatureHelpTestItem
("int Goo[int x]", string.Empty, string.Empty, currentParameterIndex: 0)
709
new
SignatureHelpTestItem
("int Goo[int x]", string.Empty, string.Empty, currentParameterIndex: 0)
770
new
SignatureHelpTestItem
("string CCC.IndexProp[int p1]", string.Empty, string.Empty, currentParameterIndex: 0)
775
new
SignatureHelpTestItem
("string CCC.IndexProp[int p1]", "An index property from VB", "p1 is an integer index", currentParameterIndex: 0)
819
var expectedDescription = new
SignatureHelpTestItem
($"int C[int z]\r\n\r\n{string.Format(FeaturesResources._0_1, "Proj1", FeaturesResources.Available)}\r\n{string.Format(FeaturesResources._0_1, "Proj2", FeaturesResources.Not_Available)}\r\n\r\n{FeaturesResources.You_can_use_the_navigation_bar_to_switch_contexts}", currentParameterIndex: 0);
861
var expectedDescription = new
SignatureHelpTestItem
($"int C[int z]\r\n\r\n{string.Format(FeaturesResources._0_1, "Proj1", FeaturesResources.Available)}\r\n{string.Format(FeaturesResources._0_1, "Proj3", FeaturesResources.Not_Available)}\r\n\r\n{FeaturesResources.You_can_use_the_navigation_bar_to_switch_contexts}", currentParameterIndex: 0);
896
new
SignatureHelpTestItem
("string C[int a]", string.Empty, string.Empty, currentParameterIndex: 0)
926
new
SignatureHelpTestItem
("int P[int z]", string.Empty, string.Empty, currentParameterIndex: 0)
935
var expected = new[] { new
SignatureHelpTestItem
("char string[int index]") };
982
""", [new
SignatureHelpTestItem
("int System.Collections.Generic.List<int>[int index]")]);
1015
await TestAsync(markup, [new
SignatureHelpTestItem
("int WithIndexer[int index]")], usePreviousCharAsTrigger: true);
1035
await TestAsync(markup, [new
SignatureHelpTestItem
("Indexable Indexable[int x]")], usePreviousCharAsTrigger: false);
1055
await TestAsync(markup, [new
SignatureHelpTestItem
("Indexable Indexable[int x]")], usePreviousCharAsTrigger: false);
SignatureHelp\GenericNamePartiallyWrittenSignatureHelpProviderTests.cs (16)
42
new
SignatureHelpTestItem
("G<T>", string.Empty, string.Empty, currentParameterIndex: 0)
67
new
SignatureHelpTestItem
("G<T>", string.Empty, string.Empty, currentParameterIndex: 0)
92
new
SignatureHelpTestItem
("G<T>", string.Empty, string.Empty, currentParameterIndex: 0)
115
new
SignatureHelpTestItem
("G<T>", string.Empty, string.Empty, currentParameterIndex: 0)
141
new
SignatureHelpTestItem
($"({CSharpFeaturesResources.awaitable}) Task<int> Program.Goo<T>()", methodDocumentation: string.Empty, string.Empty, currentParameterIndex: 0)
172
new
SignatureHelpTestItem
("void C.Goo<T>(T x)", string.Empty, string.Empty, currentParameterIndex: 0)
207
new
SignatureHelpTestItem
("void C.Goo<T>(T x)", string.Empty, string.Empty, currentParameterIndex: 0)
242
new
SignatureHelpTestItem
("void C.Goo<T>(T x)", string.Empty, string.Empty, currentParameterIndex: 0)
289
new
SignatureHelpTestItem
("void C.Goo<T>(T x)", string.Empty, string.Empty, currentParameterIndex: 0)
294
new
SignatureHelpTestItem
("void C.Goo<T>(T x)", string.Empty, string.Empty, currentParameterIndex: 0),
295
new
SignatureHelpTestItem
("void C.Goo<T, U>(T x, U y)", string.Empty, string.Empty, currentParameterIndex: 0)
332
new
SignatureHelpTestItem
("void IGoo.Bar<T>()", currentParameterIndex: 0),
333
new
SignatureHelpTestItem
($"({CSharpFeaturesResources.extension}) void IGoo.Bar<T1, T2>()", currentParameterIndex: 0),
361
new
SignatureHelpTestItem
("void C.Goo<T>()",
385
new
SignatureHelpTestItem
("G<S, T>", string.Empty, string.Empty, currentParameterIndex: 0)
408
new
SignatureHelpTestItem
("G<S, T>", string.Empty, string.Empty, currentParameterIndex: 1)
SignatureHelp\GenericNameSignatureHelpProviderTests.cs (32)
46
new
SignatureHelpTestItem
("G<T>", string.Empty, string.Empty, currentParameterIndex: 0)
69
new
SignatureHelpTestItem
("G<T>", string.Empty, string.Empty, currentParameterIndex: 0)
92
new
SignatureHelpTestItem
("G<S, T>", string.Empty, string.Empty, currentParameterIndex: 0)
115
new
SignatureHelpTestItem
("G<S, T>", string.Empty, string.Empty, currentParameterIndex: 1)
143
new
SignatureHelpTestItem
("G<S, T>",
174
new
SignatureHelpTestItem
("G<S, T>", "Summary for G", "TypeParamT. Also see S", currentParameterIndex: 1)
202
new
SignatureHelpTestItem
("G<S> where S : struct", string.Empty, string.Empty, currentParameterIndex: 0)
226
new
SignatureHelpTestItem
("G<S> where S : class", string.Empty, string.Empty, currentParameterIndex: 0)
250
new
SignatureHelpTestItem
("G<S> where S : new()", string.Empty, string.Empty, currentParameterIndex: 0)
276
new
SignatureHelpTestItem
("G<S> where S : Base", string.Empty, string.Empty, currentParameterIndex: 0)
302
new
SignatureHelpTestItem
("G<S> where S : Base<S>", string.Empty, string.Empty, currentParameterIndex: 0)
328
new
SignatureHelpTestItem
("G<S> where S : Base<int>", string.Empty, string.Empty, currentParameterIndex: 0)
354
new
SignatureHelpTestItem
("G<S> where S : Base<Base<int>>", string.Empty, string.Empty, currentParameterIndex: 0)
378
new
SignatureHelpTestItem
("G<S, T> where S : T", string.Empty, string.Empty, currentParameterIndex: 0)
413
new
SignatureHelpTestItem
("G<S, T> where S : Base, new()", "Summary1", "SummaryS", currentParameterIndex: 0)
448
new
SignatureHelpTestItem
("G<S, T> where T : class, S, IGoo, new()", "Summary1", "SummaryT", currentParameterIndex: 1)
472
new
SignatureHelpTestItem
("G<S> where S : allows ref struct", string.Empty, string.Empty, currentParameterIndex: 0)
499
new
SignatureHelpTestItem
("void C.Goo<T>()", string.Empty, string.Empty, currentParameterIndex: 0)
529
new
SignatureHelpTestItem
("void C.Goo<S, T>(S s, T t)",
553
new
SignatureHelpTestItem
("void C.Goo<S, T>(S s, T t)", string.Empty, string.Empty, currentParameterIndex: 1)
581
new
SignatureHelpTestItem
("void C.Goo<S, T>(S s, T t)", "SummaryForGoo", "SummaryForS", currentParameterIndex: 0)
609
new
SignatureHelpTestItem
("void C.Goo<S, T>(S s, T t)", "SummaryForGoo", "SummaryForT", currentParameterIndex: 1)
639
new
SignatureHelpTestItem
($"({CSharpFeaturesResources.extension}) void G.Goo<T>()", string.Empty, string.Empty, currentParameterIndex: 0)
678
new
SignatureHelpTestItem
("S C.Goo<S, T>(S s, T t) where S : Base, new()", "GooSummary", "ParamS", currentParameterIndex: 0)
712
new
SignatureHelpTestItem
("S C.Goo<S, T>(S s, T t) where T : class, S, IGoo, new()", "GooSummary", "ParamT", currentParameterIndex: 1)
741
new
SignatureHelpTestItem
("void C.M<T>(T arg) where T : unmanaged", "summary headline", "T documentation", currentParameterIndex: 0)
785
var expectedDescription = new
SignatureHelpTestItem
($"D<T>\r\n\r\n{string.Format(FeaturesResources._0_1, "Proj1", FeaturesResources.Available)}\r\n{string.Format(FeaturesResources._0_1, "Proj2", FeaturesResources.Not_Available)}\r\n\r\n{FeaturesResources.You_can_use_the_navigation_bar_to_switch_contexts}", currentParameterIndex: 0);
823
var expectedDescription = new
SignatureHelpTestItem
($"D<T>\r\n\r\n{string.Format(FeaturesResources._0_1, "Proj1", FeaturesResources.Available)}\r\n{string.Format(FeaturesResources._0_1, "Proj3", FeaturesResources.Not_Available)}\r\n\r\n{FeaturesResources.You_can_use_the_navigation_bar_to_switch_contexts}", currentParameterIndex: 0);
853
new
SignatureHelpTestItem
("C<T>", string.Empty, string.Empty, currentParameterIndex: 0)
886
new
SignatureHelpTestItem
("C<T>", string.Empty, string.Empty, currentParameterIndex: 0)
919
new
SignatureHelpTestItem
("C<T>", string.Empty, string.Empty, currentParameterIndex: 0)
986
new
SignatureHelpTestItem
("G<S, T>", """
SignatureHelp\InitializerExpressionSignatureHelpProviderTests.cs (11)
41
new
SignatureHelpTestItem
("void List<int>.Add(int item)", currentParameterIndex: 0)
64
new
SignatureHelpTestItem
("void Dictionary<int, string>.Add(int key, string value)", currentParameterIndex: 0)
87
new
SignatureHelpTestItem
("void Dictionary<int, string>.Add(int key, string value)", currentParameterIndex: 1)
115
new
SignatureHelpTestItem
("void Dictionary<int, string>.Add(int key, string value)", currentParameterIndex: 0)
141
new
SignatureHelpTestItem
("void Dictionary<int, string>.Add(int key, string value)", currentParameterIndex: 0)
169
new
SignatureHelpTestItem
("void Bar.Add(int i)", currentParameterIndex: 0),
170
new
SignatureHelpTestItem
("void Bar.Add(int i, string s)", currentParameterIndex: 0, isSelected: true),
171
new
SignatureHelpTestItem
("void Bar.Add(int i, string s, bool b)", currentParameterIndex: 0)
228
new
SignatureHelpTestItem
($"({CSharpFeaturesResources.extension}) void Bar.Add(int i)", currentParameterIndex: 0),
229
new
SignatureHelpTestItem
($"({CSharpFeaturesResources.extension}) void Bar.Add(int i, string s)", currentParameterIndex: 0, isSelected: true),
230
new
SignatureHelpTestItem
($"({CSharpFeaturesResources.extension}) void Bar.Add(int i, string s, bool b)", currentParameterIndex: 0)
SignatureHelp\InvocationExpressionSignatureHelpProviderTests.cs (131)
38
await TestAsync(markup, [new
SignatureHelpTestItem
("int C.Goo(int x)", currentParameterIndex: 0)]);
56
await TestAsync(markup, [new
SignatureHelpTestItem
("void C.Goo(Action<int> f)", currentParameterIndex: 0)]);
74
await TestAsync(markup, [new
SignatureHelpTestItem
("void C.Goo(Action<int> f)", currentParameterIndex: 0)]);
90
await TestAsync(markup, [new
SignatureHelpTestItem
("void C.Goo()", string.Empty, null, currentParameterIndex: 0)]);
109
await TestAsync(markup, [new
SignatureHelpTestItem
("void C.Goo()", "Summary for goo", null, currentParameterIndex: 0)]);
125
await TestAsync(markup, [new
SignatureHelpTestItem
("void C.Goo(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 0)]);
146
await TestAsync(markup, [new
SignatureHelpTestItem
("void C.Goo(int a, int b)", "Summary for Goo", "Param a", currentParameterIndex: 0)]);
162
await TestAsync(markup, [new
SignatureHelpTestItem
("void C.Goo(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 1)]);
183
await TestAsync(markup, [new
SignatureHelpTestItem
("void C.Goo(int a, int b)", "Summary for Goo", "Param b", currentParameterIndex: 1)]);
202
await TestAsync(markup, [new
SignatureHelpTestItem
("void SomeDelegate(int a)", parameterDocumentation: "Parameter docs", currentParameterIndex: 0)]);
221
await TestAsync(markup, [new
SignatureHelpTestItem
("void SomeDelegate.Invoke(int a)", parameterDocumentation: "Parameter docs", currentParameterIndex: 0)]);
240
await TestAsync(markup, [new
SignatureHelpTestItem
("System.IAsyncResult SomeDelegate.BeginInvoke(int a, System.AsyncCallback callback, object @object)", parameterDocumentation: "Parameter docs", currentParameterIndex: 0)]);
260
await TestAsync(markup, [new
SignatureHelpTestItem
("System.IAsyncResult SomeDelegate.BeginInvoke(int a, System.AsyncCallback callback, object @object)", parameterDocumentation: null, currentParameterIndex: 1)]);
276
await TestAsync(markup, [new
SignatureHelpTestItem
("void C.Goo()", string.Empty, null, currentParameterIndex: 0)]);
293
await TestAsync(markup, [new
SignatureHelpTestItem
("void C.Goo(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 0)]);
309
await TestAsync(markup, [new
SignatureHelpTestItem
("void C.Goo(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 1)]);
328
await TestAsync(markup, [new
SignatureHelpTestItem
("void Action<int>(int obj)", string.Empty, string.Empty, currentParameterIndex: 0)]);
348
await TestAsync(markup, [new
SignatureHelpTestItem
("void C.Bar(int a)", string.Empty, string.Empty, currentParameterIndex: 0)]);
376
await TestAsync(markup, [new
SignatureHelpTestItem
($"({CSharpFeaturesResources.extension}) int string.ExtensionMethod(int x)", string.Empty, string.Empty, currentParameterIndex: 0)], sourceCodeKind: SourceCodeKind.Regular);
396
await TestAsync(markup, [new
SignatureHelpTestItem
("void Class1.Goo([int a = 42])", string.Empty, string.Empty, currentParameterIndex: 0)]);
447
await TestAsync(markup, [new
SignatureHelpTestItem
("double C.Goo(double x)", string.Empty, string.Empty, currentParameterIndex: 0)]);
474
await TestAsync(markup, [new
SignatureHelpTestItem
("double C.Goo(double x, double y)", string.Empty, string.Empty, currentParameterIndex: 0)]);
498
await TestAsync(markup, [new
SignatureHelpTestItem
("void C.Bar()", currentParameterIndex: 0)]);
523
new
SignatureHelpTestItem
("void C.Bar()", currentParameterIndex: 0),
524
new
SignatureHelpTestItem
("void C.Bar(int i)", currentParameterIndex: 0)]);
548
new
SignatureHelpTestItem
(
590
await TestAsync(markup, [new
SignatureHelpTestItem
(
622
await TestAsync(markup, [new
SignatureHelpTestItem
(
649
await TestAsync(markup, [new
SignatureHelpTestItem
(
681
await TestAsync(markup, [new
SignatureHelpTestItem
(
708
await TestAsync(markup, [new
SignatureHelpTestItem
(
740
await TestAsync(markup, [new
SignatureHelpTestItem
(
772
await TestAsync(markup, [new
SignatureHelpTestItem
(
877
markup, [new
SignatureHelpTestItem
("void Program.SomeMethod([CancellationToken token = default])", string.Empty, null, currentParameterIndex: 0)], usePreviousCharAsTrigger: true);
893
await TestAsync(markup, [new
SignatureHelpTestItem
("void C.Goo()", string.Empty, null, currentParameterIndex: 0)], usePreviousCharAsTrigger: true);
909
await TestAsync(markup, [new
SignatureHelpTestItem
("void C.Goo(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 1)], usePreviousCharAsTrigger: true);
1009
List<SignatureHelpTestItem> expectedOrderedItems = [new
SignatureHelpTestItem
("void Goo.Bar()", string.Empty, null, currentParameterIndex: 0)];
1047
expectedOrderedItemsSameSolution: [new
SignatureHelpTestItem
("void Goo.Bar()", string.Empty, null, currentParameterIndex: 0)],
1074
List<SignatureHelpTestItem> expectedOrderedItems = [new
SignatureHelpTestItem
("void Goo.Bar()", string.Empty, null, currentParameterIndex: 0)];
1123
expectedOrderedItemsMetadataReference: [new
SignatureHelpTestItem
("void Goo.Bar()", string.Empty, null, currentParameterIndex: 0)],
1125
new
SignatureHelpTestItem
("void Goo.Bar()", string.Empty, null, currentParameterIndex: 0),
1126
new
SignatureHelpTestItem
("void Goo.Bar(int x)", string.Empty, string.Empty, currentParameterIndex: 0)],
1164
new
SignatureHelpTestItem
("void Goo.Bar()", string.Empty, null, currentParameterIndex: 0),
1165
new
SignatureHelpTestItem
("void Goo.Bar(int x)", string.Empty, string.Empty, currentParameterIndex: 0)],
1201
new
SignatureHelpTestItem
("void D.Goo(int derived)", string.Empty, string.Empty, currentParameterIndex: 0),
1234
List<SignatureHelpTestItem> expectedOrderedItems = [new
SignatureHelpTestItem
("void C.Goo()", string.Empty, null, currentParameterIndex: 0)];
1275
new
SignatureHelpTestItem
("void B.Goo()", string.Empty, null, currentParameterIndex: 0),
1276
new
SignatureHelpTestItem
("void D.Goo(int x)", string.Empty, string.Empty, currentParameterIndex: 0),
1313
expectedOrderedItemsSameSolution: [new
SignatureHelpTestItem
("void B.Goo()", string.Empty, null, currentParameterIndex: 0)],
1340
new
SignatureHelpTestItem
("void C<int>.Goo(int t)", string.Empty, string.Empty, currentParameterIndex: 0),
1341
new
SignatureHelpTestItem
("void C<int>.Goo(int i)", string.Empty, string.Empty, currentParameterIndex: 0),
1376
expectedOrderedItemsMetadataReference: [new
SignatureHelpTestItem
("void C<int>.Goo(int i)", string.Empty, string.Empty, currentParameterIndex: 0)],
1378
new
SignatureHelpTestItem
("void C<int>.Goo(int t)", string.Empty, string.Empty, currentParameterIndex: 0),
1379
new
SignatureHelpTestItem
("void C<int>.Goo(int i)", string.Empty, string.Empty, currentParameterIndex: 0)],
1408
expectedOrderedItemsMetadataReference: [new
SignatureHelpTestItem
("void C<int>.Goo(int t)", string.Empty, string.Empty, currentParameterIndex: 0)],
1410
new
SignatureHelpTestItem
("void C<int>.Goo(int t)", string.Empty, string.Empty, currentParameterIndex: 0),
1411
new
SignatureHelpTestItem
("void C<int>.Goo(int i)", string.Empty, string.Empty, currentParameterIndex: 0)],
1444
new
SignatureHelpTestItem
("void C<int>.Goo(int t)", string.Empty, string.Empty, currentParameterIndex: 0),
1445
new
SignatureHelpTestItem
("void C<int>.Goo(int i)", string.Empty, string.Empty, currentParameterIndex: 0)],
1473
new
SignatureHelpTestItem
("void C<int, int>.Goo(int t)", string.Empty, string.Empty, currentParameterIndex: 0),
1474
new
SignatureHelpTestItem
("void C<int, int>.Goo(int u)", string.Empty, string.Empty, currentParameterIndex: 0),
1509
expectedOrderedItemsMetadataReference: [new
SignatureHelpTestItem
("void C<int, int>.Goo(int u)", string.Empty, string.Empty, currentParameterIndex: 0)],
1511
new
SignatureHelpTestItem
("void C<int, int>.Goo(int t)", string.Empty, string.Empty, currentParameterIndex: 0),
1512
new
SignatureHelpTestItem
("void C<int, int>.Goo(int u)", string.Empty, string.Empty, currentParameterIndex: 0)],
1544
new
SignatureHelpTestItem
("void C<int, int>.Goo(int t)", string.Empty, string.Empty, currentParameterIndex: 0),
1545
new
SignatureHelpTestItem
("void C<int, int>.Goo(int u)", string.Empty, string.Empty, currentParameterIndex: 0)],
1566
await TestSignatureHelpWithMscorlib45Async(markup, [new
SignatureHelpTestItem
($"({CSharpFeaturesResources.awaitable}) Task C.Goo()", methodDocumentation: string.Empty, currentParameterIndex: 0)], "C#");
1583
await TestSignatureHelpWithMscorlib45Async(markup, [new
SignatureHelpTestItem
($"({CSharpFeaturesResources.awaitable}) Task<Task<int>> C.Goo()", methodDocumentation: string.Empty, currentParameterIndex: 0)], "C#");
1610
await TestAsync(markup, [new
SignatureHelpTestItem
("void C<int>.M(int t)", string.Empty, "Real t", currentParameterIndex: 0)]);
1627
new
SignatureHelpTestItem
(
1663
new
SignatureHelpTestItem
("void IGoo.Bar<T>()", currentParameterIndex: 0),
1664
new
SignatureHelpTestItem
($"({CSharpFeaturesResources.extension}) void IGoo.Bar<T1, T2>()", currentParameterIndex: 0)], sourceCodeKind: SourceCodeKind.Regular);
1683
new
SignatureHelpTestItem
("void Program.M(int i)", currentParameterIndex: 0, isSelected: true),
1684
new
SignatureHelpTestItem
($"void Program.M(string s)", currentParameterIndex: 0)]);
1703
new
SignatureHelpTestItem
("void Program.M(int i)", currentParameterIndex: 0, isSelected: true),
1704
new
SignatureHelpTestItem
($"void Program.M(string s)", currentParameterIndex: 0)]);
1723
new
SignatureHelpTestItem
("void Program.M(int i)", currentParameterIndex: 0),
1724
new
SignatureHelpTestItem
($"void Program.M(string s)", currentParameterIndex: 0, isSelected: true)]);
1744
new
SignatureHelpTestItem
("void D.M(int i)", currentParameterIndex: 0, isSelected: true),
1745
new
SignatureHelpTestItem
("void D.M(string i)", currentParameterIndex: 0)]);
1766
new
SignatureHelpTestItem
("void D.M(int i)", currentParameterIndex: 0, isSelected: true),
1767
new
SignatureHelpTestItem
("void D.M(string i)", currentParameterIndex: 0)]);
1787
new
SignatureHelpTestItem
("void D.M(int i)", currentParameterIndex: 0, isSelected: true),
1788
new
SignatureHelpTestItem
("void D.M(string i)", currentParameterIndex: 0)]);
1808
new
SignatureHelpTestItem
("void D.M(int i)", currentParameterIndex: 0),
1809
new
SignatureHelpTestItem
("void D.M(string i)", currentParameterIndex: 0, isSelected: true)]);
1829
new
SignatureHelpTestItem
("void D.M(ref int a, int i)", currentParameterIndex: 0),
1830
new
SignatureHelpTestItem
("void D.M(out int b, int i)", currentParameterIndex: 0, isSelected: true)]);
1856
await TestAsync(markup.Replace("ARGUMENTS", arguments), [new
SignatureHelpTestItem
("void Program.M(int i1, int i2, int i3)", currentParameterIndex: expectedParameterIndex, isSelected: true)]);
1881
await TestAsync(markup.Replace("ARGUMENTS", arguments), [new
SignatureHelpTestItem
("void Delegate(int i1, int i2, int i3)", currentParameterIndex: expectedParameterIndex, isSelected: true)]);
1916
new
SignatureHelpTestItem
("void Program.M(int i, string s)", currentParameterIndex: expectedParameterIndex, isSelected: expectedSelectedIndex == index++),
1917
new
SignatureHelpTestItem
("void Program.M(string s, string s2)", currentParameterIndex: expectedParameterIndex, isSelected: expectedSelectedIndex == index++)]);
1940
await TestAsync(markup.Replace("ARGUMENTS", arguments), [new
SignatureHelpTestItem
($"void Program.M(string s, string s2)", currentParameterIndex: expectedParameterIndex, isSelected: true)]);
1974
await TestAsync(markup.Replace("ARGUMENTS", arguments), [new
SignatureHelpTestItem
("void Program.M(int i1, params int[] i2)", currentParameterIndex: expectedParameterIndex, isSelected: true)]);
1991
await TestAsync(source, [new
SignatureHelpTestItem
("void Program.M(int i1, params int i2)", currentParameterIndex: 1, isSelected: true)]);
2009
await TestAsync(markup, [new
SignatureHelpTestItem
($"void Program.M(string s1, string s2, string s3)", currentParameterIndex: 1, isSelected: true)]);
2030
await TestAsync(markup.Replace("ARGUMENTS", arguments), [new
SignatureHelpTestItem
("void Program.M(int i, string s)", currentParameterIndex: expectedParameterIndex, isSelected: true)]);
2051
await TestAsync(markup, [new
SignatureHelpTestItem
("void C.Goo()", "Summary for goo. See method C.Bar()", null, currentParameterIndex: 0)]);
2082
await VerifyItemWithReferenceWorkerAsync(markup, [new
SignatureHelpTestItem
($"""
2126
await VerifyItemWithReferenceWorkerAsync(markup, [new
SignatureHelpTestItem
($"""
2158
new
SignatureHelpTestItem
("void Goo.Bar(int x)", currentParameterIndex: 0),
2159
new
SignatureHelpTestItem
("void Goo.Bar(string s)", currentParameterIndex: 0)]);
2184
new
SignatureHelpTestItem
("void Goo.Bar(int x)", currentParameterIndex: 0),
2185
new
SignatureHelpTestItem
("void Goo.Bar(string s)", currentParameterIndex: 0)]);
2210
new
SignatureHelpTestItem
("void Goo.Bar(int x)", currentParameterIndex: 0),
2211
new
SignatureHelpTestItem
("void Goo.Bar(string s)", currentParameterIndex: 0)]);
2274
new
SignatureHelpTestItem
("bool object.Equals(object objA, object objB)"),
2275
new
SignatureHelpTestItem
("bool string.Equals(string a, string b)"),
2276
new
SignatureHelpTestItem
("bool string.Equals(string a, string b, System.StringComparison comparisonType)")]);
2300
await TestAsync(markup, [new
SignatureHelpTestItem
("void Test.Goo.Bar(string s)")]);
2341
await VerifyItemWithReferenceWorkerAsync(markup, [new
SignatureHelpTestItem
($"""
2369
new
SignatureHelpTestItem
("void C.Goo<string>(string a)", string.Empty, string.Empty, currentParameterIndex: 0),
2370
new
SignatureHelpTestItem
("void C.Goo<T, U>(T a, U b)", string.Empty)]);
2391
new
SignatureHelpTestItem
("void C.Goo<T>(T a)", string.Empty),
2392
new
SignatureHelpTestItem
("void C.Goo<T, U>(T a, U b)", string.Empty, string.Empty, currentParameterIndex: 1)]);
2415
await TestAsync(markup, [new
SignatureHelpTestItem
("void List<int>.Add(int item)")]);
2431
await TestAsync(markup, [new
SignatureHelpTestItem
("int C.Goo(object x)", currentParameterIndex: 0)], usePreviousCharAsTrigger: true);
2447
await TestAsync(markup, [new
SignatureHelpTestItem
("int C.Goo(object x)", currentParameterIndex: 0)], usePreviousCharAsTrigger: true);
2463
await TestAsync(markup, [new
SignatureHelpTestItem
("int C.Goo(object x)", currentParameterIndex: 0)], usePreviousCharAsTrigger: true);
2479
await TestAsync(markup, [new
SignatureHelpTestItem
("int C.Goo(object x)", currentParameterIndex: 0)], usePreviousCharAsTrigger: true);
2504
new
SignatureHelpTestItem
("bool Comparer.Equals(object x)", currentParameterIndex: 1),
2505
new
SignatureHelpTestItem
("bool Comparer.Equals(string x, string y)", currentParameterIndex: 1, isSelected: true)]);
2523
await TestAsync(markup, [new
SignatureHelpTestItem
("void Local()")]);
2541
await TestAsync(markup, [new
SignatureHelpTestItem
("void Local()")]);
2559
await TestAsync(markup, [new
SignatureHelpTestItem
("int delegate*(int)", currentParameterIndex: 0)]);
2577
await TestAsync(markup, [new
SignatureHelpTestItem
("int delegate*(string, long)", currentParameterIndex: 1)]);
2613
expectedItems.Add(new
SignatureHelpTestItem
($"""
2624
expectedItems.Add(new
SignatureHelpTestItem
($"void C.M(object o)", currentParameterIndex: 0));
2625
expectedItems.Add(new
SignatureHelpTestItem
($"""
2672
markup, [new
SignatureHelpTestItem
($"({CSharpFeaturesResources.extension}) IResourceBuilder<C> IResourceBuilder<C>.WithServiceBinding<C>(int containerPort, [int? hostPort = null], [string? scheme = null], [string? name = null], [string? env = null])", currentParameterIndex: 0)],
2711
markup, [new
SignatureHelpTestItem
($"({CSharpFeaturesResources.extension}) IResourceBuilder<C> IResourceBuilder<C>.WithServiceBinding<C>(int containerPort, [int? hostPort = null], [string? scheme = null], [string? name = null], [string? env = null])", currentParameterIndex: 0)],
SignatureHelp\ObjectCreationExpressionSignatureHelpProviderTests.cs (41)
41
new
SignatureHelpTestItem
("C()", string.Empty, null, currentParameterIndex: 0)
68
new
SignatureHelpTestItem
("C()", string.Empty, null, currentParameterIndex: 0)
94
new
SignatureHelpTestItem
("C()", "Summary for C", null, currentParameterIndex: 0)
116
new
SignatureHelpTestItem
("C(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 0)
139
new
SignatureHelpTestItem
("C(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 0)
167
new
SignatureHelpTestItem
("C(int a, int b)", "Summary for C", "Param a", currentParameterIndex: 0)
189
new
SignatureHelpTestItem
("C(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 1)
216
new
SignatureHelpTestItem
("C(int a, int b)", "Summary for C", "Param b", currentParameterIndex: 1)
239
new
SignatureHelpTestItem
("D(int i)", currentParameterIndex: 0, isSelected: true),
240
new
SignatureHelpTestItem
("D(string i)", currentParameterIndex: 0),
263
new
SignatureHelpTestItem
("D(int i)", currentParameterIndex: 0, isSelected: true),
264
new
SignatureHelpTestItem
("D(string i)", currentParameterIndex: 0),
287
new
SignatureHelpTestItem
("D(int i)", currentParameterIndex: 0),
288
new
SignatureHelpTestItem
("D(string i)", currentParameterIndex: 0, isSelected: true),
311
new
SignatureHelpTestItem
("D(int i)", currentParameterIndex: 0),
312
new
SignatureHelpTestItem
("D(string i)", currentParameterIndex: 0, isSelected: true),
333
new
SignatureHelpTestItem
("C()", string.Empty, null, currentParameterIndex: 0)
356
new
SignatureHelpTestItem
("C(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 0)
379
new
SignatureHelpTestItem
("C(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 1)
402
new
SignatureHelpTestItem
("Action<int, int>(void (int, int) target)", string.Empty, string.Empty, currentParameterIndex: 0, isSelected: true)
451
new
SignatureHelpTestItem
("C()", string.Empty, null, currentParameterIndex: 0)
476
new
SignatureHelpTestItem
("C(int a, string b)", string.Empty, string.Empty, currentParameterIndex: 1)
540
new
SignatureHelpTestItem
("Goo(int x)", string.Empty, string.Empty, currentParameterIndex: 0)
576
new
SignatureHelpTestItem
("Goo(int x)", string.Empty, string.Empty, currentParameterIndex: 0)
611
new
SignatureHelpTestItem
("Goo()", string.Empty, null, currentParameterIndex: 0)
659
new
SignatureHelpTestItem
("Goo(int x)", string.Empty, string.Empty, currentParameterIndex: 0)
664
new
SignatureHelpTestItem
("Goo(int x)", string.Empty, string.Empty, currentParameterIndex: 0),
665
new
SignatureHelpTestItem
("Goo(long y)", string.Empty, string.Empty, currentParameterIndex: 0)
705
var expectedDescription = new
SignatureHelpTestItem
($"D()\r\n\r\n{string.Format(FeaturesResources._0_1, "Proj1", FeaturesResources.Available)}\r\n{string.Format(FeaturesResources._0_1, "Proj2", FeaturesResources.Not_Available)}\r\n\r\n{FeaturesResources.You_can_use_the_navigation_bar_to_switch_contexts}", currentParameterIndex: 0);
743
var expectedDescription = new
SignatureHelpTestItem
($"D()\r\n\r\n{string.Format(FeaturesResources._0_1, "Proj1", FeaturesResources.Available)}\r\n{string.Format(FeaturesResources._0_1, "Proj3", FeaturesResources.Not_Available)}\r\n\r\n{FeaturesResources.You_can_use_the_navigation_bar_to_switch_contexts}", currentParameterIndex: 0);
790
new
SignatureHelpTestItem
("C(object o)", currentParameterIndex: 0)
813
new
SignatureHelpTestItem
("C(object o)", currentParameterIndex: 0)
836
new
SignatureHelpTestItem
("C(object o)", currentParameterIndex: 0)
859
new
SignatureHelpTestItem
("C(object o)", currentParameterIndex: 0)
897
new
SignatureHelpTestItem
("Program(int i, string s)", currentParameterIndex: expectedParameterIndex, isSelected: expecteSelectedIndex == index++),
898
new
SignatureHelpTestItem
("Program(string s, string s2)", currentParameterIndex: expectedParameterIndex, isSelected: expecteSelectedIndex == index++),
948
[new
SignatureHelpTestItem
("BaseClass(int val)", currentParameterIndex: 0)],
972
new
SignatureHelpTestItem
("BaseClass(int val)", currentParameterIndex: 0),
973
new
SignatureHelpTestItem
("BaseClass(int val, int val1)", currentParameterIndex: 0),
995
new
SignatureHelpTestItem
("BaseClass(int val)", currentParameterIndex: 0),
996
new
SignatureHelpTestItem
("BaseClass(int val, int val1)", currentParameterIndex: 0),
SignatureHelp\PrimaryConstructorBaseTypeSignatureHelpProviderTests.cs (19)
37
new
SignatureHelpTestItem
("Base(Base original)", string.Empty, null, currentParameterIndex: 0),
38
new
SignatureHelpTestItem
("Base(int Identifier)", string.Empty, null, currentParameterIndex: 0, isSelected: true)
57
new
SignatureHelpTestItem
("Base(int Identifier)", string.Empty, null, currentParameterIndex: 0, isSelected: true)
76
new
SignatureHelpTestItem
("Base(Base original)", string.Empty, null, currentParameterIndex: 1),
77
new
SignatureHelpTestItem
("Base(string name)", string.Empty, null, currentParameterIndex: 1),
78
new
SignatureHelpTestItem
("Base(int Identifier1, int Identifier2)", string.Empty, null, currentParameterIndex: 1, isSelected: true)
97
new
SignatureHelpTestItem
("Base(string name)", string.Empty, null, currentParameterIndex: 1),
98
new
SignatureHelpTestItem
("Base(int Identifier1, int Identifier2)", string.Empty, null, currentParameterIndex: 1, isSelected: true)
118
new
SignatureHelpTestItem
("Base(Base original)", string.Empty, null, currentParameterIndex: 1),
119
new
SignatureHelpTestItem
("Base(string name)", "Summary for constructor", null, currentParameterIndex: 1),
120
new
SignatureHelpTestItem
("Base(int Identifier1, int Identifier2)", string.Empty, null, currentParameterIndex: 1, isSelected: true)
140
new
SignatureHelpTestItem
("Base(string name)", "Summary for constructor", null, currentParameterIndex: 1),
141
new
SignatureHelpTestItem
("Base(int Identifier1, int Identifier2)", string.Empty, null, currentParameterIndex: 1, isSelected: true)
162
new
SignatureHelpTestItem
("Base(Base original)", string.Empty, null, currentParameterIndex: 0),
163
new
SignatureHelpTestItem
("Base(string name)", "Summary for constructor", "Param name", currentParameterIndex: 0),
164
new
SignatureHelpTestItem
("Base(int Identifier1, int Identifier2)", string.Empty, null, currentParameterIndex: 0, isSelected: true)
185
new
SignatureHelpTestItem
("Base(string name)", "Summary for constructor", "Param name", currentParameterIndex: 0),
186
new
SignatureHelpTestItem
("Base(int Identifier1, int Identifier2)", string.Empty, null, currentParameterIndex: 0, isSelected: true)
204
new
SignatureHelpTestItem
("Base(int Identifier)", string.Empty, null, currentParameterIndex: 0, isSelected: true)
SignatureHelp\TupleConstructionSignatureHelpProviderTests.cs (15)
36
new
SignatureHelpTestItem
("(int, int)", currentParameterIndex: 0, parameterDocumentation: "")
54
new
SignatureHelpTestItem
("(string?, string)", currentParameterIndex: 0)
75
new
SignatureHelpTestItem
("(object a, object)", currentParameterIndex: 0)
93
new
SignatureHelpTestItem
("(int, int)", currentParameterIndex: 0)
111
new
SignatureHelpTestItem
("(int, int)", currentParameterIndex: 1, parameterDocumentation: "")
129
new
SignatureHelpTestItem
("(int, int)", currentParameterIndex: 1)
150
new
SignatureHelpTestItem
("(int a, int b)", currentParameterIndex: 0)
168
new
SignatureHelpTestItem
("(int b, int c)", currentParameterIndex: 0)
186
new
SignatureHelpTestItem
("(int, object)", currentParameterIndex: 1)
204
new
SignatureHelpTestItem
("(int, object)", currentParameterIndex: 1)
222
new
SignatureHelpTestItem
("(int, object)", currentParameterIndex: 1)
240
new
SignatureHelpTestItem
("(object, object)", currentParameterIndex: 0)
264
new
SignatureHelpTestItem
("(int, int)", currentParameterIndex: 0),
265
new
SignatureHelpTestItem
("(string, string)", currentParameterIndex: 0)
298
var expectedDescription = new
SignatureHelpTestItem
($"(int, string)", currentParameterIndex: 0);
236 references to SignatureHelpTestItem
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (222)
SignatureHelp\AttributeSignatureHelpProviderTests.cs (38)
41
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
65
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
86
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
108
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
132
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
160
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
182
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
210
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
231
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
336
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
359
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
382
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
405
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
433
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
457
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
480
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
503
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
526
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
549
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
581
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
613
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
642
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
671
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
698
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
725
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
755
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
780
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
805
var expectedOrderedItems = new List<
SignatureHelpTestItem
>();
841
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
874
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
881
expectedOrderedItemsMetadataReference: new List<
SignatureHelpTestItem
>(),
907
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
914
expectedOrderedItemsMetadataReference: new List<
SignatureHelpTestItem
>(),
954
var expectedOrderedItemsMetadataReference = new List<
SignatureHelpTestItem
>
959
var expectedOrderedItemsSameSolution = new List<
SignatureHelpTestItem
>
1002
var
expectedDescription = new SignatureHelpTestItem($"Secret()\r\n\r\n{string.Format(FeaturesResources._0_1, "Proj1", FeaturesResources.Available)}\r\n{string.Format(FeaturesResources._0_1, "Proj2", FeaturesResources.Not_Available)}\r\n\r\n{FeaturesResources.You_can_use_the_navigation_bar_to_switch_contexts}", currentParameterIndex: 0);
1040
var
expectedDescription = new SignatureHelpTestItem($"Secret()\r\n\r\n{string.Format(FeaturesResources._0_1, "Proj1", FeaturesResources.Available)}\r\n{string.Format(FeaturesResources._0_1, "Proj3", FeaturesResources.Not_Available)}\r\n\r\n{FeaturesResources.You_can_use_the_navigation_bar_to_switch_contexts}", currentParameterIndex: 0);
1068
var expectedOrderedItems = new List<
SignatureHelpTestItem
>();
SignatureHelp\ConstructorInitializerSignatureHelpProviderTests.cs (33)
42
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
67
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
91
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
118
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
145
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
172
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
191
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
210
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
229
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
248
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
269
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
291
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
333
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
352
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
371
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
390
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
409
var expectedOrderedItems = new List<
SignatureHelpTestItem
>();
443
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
474
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
481
expectedOrderedItemsMetadataReference: new List<
SignatureHelpTestItem
>(),
505
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
512
expectedOrderedItemsMetadataReference: new List<
SignatureHelpTestItem
>(),
549
var expectedOrderedItemsMetadataReference = new List<
SignatureHelpTestItem
>
554
var expectedOrderedItemsSameSolution = new List<
SignatureHelpTestItem
>
600
var
expectedDescription = new SignatureHelpTestItem($"Secret(int secret)\r\n\r\n{string.Format(FeaturesResources._0_1, "Proj1", FeaturesResources.Available)}\r\n{string.Format(FeaturesResources._0_1, "Proj2", FeaturesResources.Not_Available)}\r\n\r\n{FeaturesResources.You_can_use_the_navigation_bar_to_switch_contexts}", currentParameterIndex: 0);
641
var
expectedDescription = new SignatureHelpTestItem($"Secret(int secret)\r\n\r\n{string.Format(FeaturesResources._0_1, "Proj1", FeaturesResources.Available)}\r\n{string.Format(FeaturesResources._0_1, "Proj3", FeaturesResources.Not_Available)}\r\n\r\n{FeaturesResources.You_can_use_the_navigation_bar_to_switch_contexts}", currentParameterIndex: 0);
671
var expectedOrderedItems = new List<
SignatureHelpTestItem
>();
687
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
706
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
726
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
745
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
773
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
809
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
SignatureHelp\ElementAccessExpressionSignatureHelpProviderTests.cs (28)
49
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
74
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
99
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
130
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
165
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
195
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
231
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
263
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
294
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
359
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
390
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
421
var expectedOrderedItems = new List<
SignatureHelpTestItem
>();
462
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
499
var expectedOrderedItemsMetadataReference = new List<
SignatureHelpTestItem
>
506
expectedOrderedItemsMetadataReference: new List<
SignatureHelpTestItem
>(),
536
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
543
expectedOrderedItemsMetadataReference: new List<
SignatureHelpTestItem
>(),
589
var expectedOrderedItemsMetadataReference = new List<
SignatureHelpTestItem
>
594
var expectedOrderedItemsSameSolution = new List<
SignatureHelpTestItem
>
632
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
669
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
707
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
768
var metadataItems = new List<
SignatureHelpTestItem
>
773
var projectReferenceItems = new List<
SignatureHelpTestItem
>
819
var
expectedDescription = new SignatureHelpTestItem($"int C[int z]\r\n\r\n{string.Format(FeaturesResources._0_1, "Proj1", FeaturesResources.Available)}\r\n{string.Format(FeaturesResources._0_1, "Proj2", FeaturesResources.Not_Available)}\r\n\r\n{FeaturesResources.You_can_use_the_navigation_bar_to_switch_contexts}", currentParameterIndex: 0);
861
var
expectedDescription = new SignatureHelpTestItem($"int C[int z]\r\n\r\n{string.Format(FeaturesResources._0_1, "Proj1", FeaturesResources.Available)}\r\n{string.Format(FeaturesResources._0_1, "Proj3", FeaturesResources.Not_Available)}\r\n\r\n{FeaturesResources.You_can_use_the_navigation_bar_to_switch_contexts}", currentParameterIndex: 0);
894
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
924
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
SignatureHelp\GenericNamePartiallyWrittenSignatureHelpProviderTests.cs (16)
40
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
65
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
90
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
113
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
139
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
170
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
205
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
212
expectedOrderedItemsMetadataReference: new List<
SignatureHelpTestItem
>(),
240
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
255
expectedOrderedItemsMetadataReference: new List<
SignatureHelpTestItem
>(),
287
var expectedOrderedItemsMetadataReference = new List<
SignatureHelpTestItem
>
292
var expectedOrderedItemsSameSolution = new List<
SignatureHelpTestItem
>
330
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
359
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
383
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
406
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
SignatureHelp\GenericNameSignatureHelpProviderTests.cs (35)
44
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
67
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
90
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
113
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
141
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
172
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
200
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
224
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
248
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
274
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
300
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
326
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
352
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
376
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
411
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
446
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
470
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
497
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
527
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
551
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
579
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
607
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
637
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
676
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
710
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
739
await TestAsync(markup, new List<
SignatureHelpTestItem
>
785
var
expectedDescription = new SignatureHelpTestItem($"D<T>\r\n\r\n{string.Format(FeaturesResources._0_1, "Proj1", FeaturesResources.Available)}\r\n{string.Format(FeaturesResources._0_1, "Proj2", FeaturesResources.Not_Available)}\r\n\r\n{FeaturesResources.You_can_use_the_navigation_bar_to_switch_contexts}", currentParameterIndex: 0);
823
var
expectedDescription = new SignatureHelpTestItem($"D<T>\r\n\r\n{string.Format(FeaturesResources._0_1, "Proj1", FeaturesResources.Available)}\r\n{string.Format(FeaturesResources._0_1, "Proj3", FeaturesResources.Not_Available)}\r\n\r\n{FeaturesResources.You_can_use_the_navigation_bar_to_switch_contexts}", currentParameterIndex: 0);
851
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
884
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
891
expectedOrderedItemsMetadataReference: new List<
SignatureHelpTestItem
>(),
917
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
924
expectedOrderedItemsMetadataReference: new List<
SignatureHelpTestItem
>(),
955
var expectedOrderedItems = new List<
SignatureHelpTestItem
>();
984
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
SignatureHelp\InitializerExpressionSignatureHelpProviderTests.cs (8)
39
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
62
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
85
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
113
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
139
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
167
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
197
var expectedOrderedItems = new List<
SignatureHelpTestItem
>();
226
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
SignatureHelp\InvocationExpressionSignatureHelpProviderTests.cs (8)
1009
List<
SignatureHelpTestItem
> expectedOrderedItems = [new SignatureHelpTestItem("void Goo.Bar()", string.Empty, null, currentParameterIndex: 0)];
1074
List<
SignatureHelpTestItem
> expectedOrderedItems = [new SignatureHelpTestItem("void Goo.Bar()", string.Empty, null, currentParameterIndex: 0)];
1199
List<
SignatureHelpTestItem
> expectedOrderedItems =
1234
List<
SignatureHelpTestItem
> expectedOrderedItems = [new SignatureHelpTestItem("void C.Goo()", string.Empty, null, currentParameterIndex: 0)];
1273
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
1338
List<
SignatureHelpTestItem
> expectedOrderedItems =
1471
List<
SignatureHelpTestItem
> expectedOrderedItems =
2608
var expectedItems = new List<
SignatureHelpTestItem
>();
SignatureHelp\ObjectCreationExpressionSignatureHelpProviderTests.cs (33)
39
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
66
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
92
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
114
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
137
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
165
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
187
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
214
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
237
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
261
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
285
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
309
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
331
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
354
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
377
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
400
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
449
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
474
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
499
var expectedOrderedItems = new List<
SignatureHelpTestItem
>();
538
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
574
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
581
expectedOrderedItemsMetadataReference: new List<
SignatureHelpTestItem
>(),
609
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
616
expectedOrderedItemsMetadataReference: new List<
SignatureHelpTestItem
>(),
657
var expectedOrderedItemsMetadataReference = new List<
SignatureHelpTestItem
>
662
var expectedOrderedItemsSameSolution = new List<
SignatureHelpTestItem
>
705
var
expectedDescription = new SignatureHelpTestItem($"D()\r\n\r\n{string.Format(FeaturesResources._0_1, "Proj1", FeaturesResources.Available)}\r\n{string.Format(FeaturesResources._0_1, "Proj2", FeaturesResources.Not_Available)}\r\n\r\n{FeaturesResources.You_can_use_the_navigation_bar_to_switch_contexts}", currentParameterIndex: 0);
743
var
expectedDescription = new SignatureHelpTestItem($"D()\r\n\r\n{string.Format(FeaturesResources._0_1, "Proj1", FeaturesResources.Available)}\r\n{string.Format(FeaturesResources._0_1, "Proj3", FeaturesResources.Not_Available)}\r\n\r\n{FeaturesResources.You_can_use_the_navigation_bar_to_switch_contexts}", currentParameterIndex: 0);
788
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
811
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
834
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
857
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
895
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
SignatureHelp\PrimaryConstructorBaseTypeSignatureHelpProviderTests.cs (9)
35
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
55
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
74
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
95
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
116
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
138
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
160
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
183
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
202
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
SignatureHelp\TupleConstructionSignatureHelpProviderTests.cs (14)
34
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
52
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
73
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
91
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
109
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
127
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
145
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
166
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
184
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
202
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
220
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
238
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
262
var expectedOrderedItems = new List<
SignatureHelpTestItem
>
298
var
expectedDescription = new SignatureHelpTestItem($"(int, string)", currentParameterIndex: 0);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (14)
SignatureHelp\AbstractSignatureHelpProviderTests.cs (14)
50
IEnumerable<
SignatureHelpTestItem
> expectedOrderedItemsOrNull = null,
72
IEnumerable<
SignatureHelpTestItem
> expectedOrderedItemsOrNull = null,
183
IEnumerable<
SignatureHelpTestItem
> expectedTestItems, SignatureHelpItems actualSignatureHelpItems)
199
SignatureHelpTestItem
expectedTestItem)
263
IEnumerable<
SignatureHelpTestItem
> expectedOrderedItemsMetadataReference,
264
IEnumerable<
SignatureHelpTestItem
> expectedOrderedItemsSameSolution,
282
public Task TestSignatureHelpWithMetadataReferenceHelperAsync(string sourceCode, string referencedCode, IEnumerable<
SignatureHelpTestItem
> expectedOrderedItems,
303
public async Task TestSignatureHelpWithProjectReferenceHelperAsync(string sourceCode, string referencedCode, IEnumerable<
SignatureHelpTestItem
> expectedOrderedItems,
326
private async Task TestSignatureHelpInSameProjectHelperAsync(string sourceCode, string referencedCode, IEnumerable<
SignatureHelpTestItem
> expectedOrderedItems,
344
protected async Task VerifyItemWithReferenceWorkerAsync(string xmlString, IEnumerable<
SignatureHelpTestItem
> expectedOrderedItems, bool hideAdvancedMembers)
380
IEnumerable<
SignatureHelpTestItem
> expectedOrderedItemsOrNull = null,
422
private static void CompareSelectedIndex(IEnumerable<
SignatureHelpTestItem
> expectedOrderedItemsOrNull, int? selectedItemIndex)
434
foreach (
var
item in expectedOrderedItemsOrNull)
453
IEnumerable<
SignatureHelpTestItem
> expectedOrderedItems,