18 references to Position
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (18)
TypeInferrer\TypeInferrerTests.cs (18)
33if (mode == TestMode.Position)
2519await TestAsync(text, "global::A[]", TestMode.Position);
2553await TestAsync(text, "global::A[][]", TestMode.Position);
2587await TestAsync(text, "global::A[][]", TestMode.Position);
3176await TestAsync(text, "global::System.ConsoleModifiers", TestMode.Position);
3192await TestAsync(text, "global::System.ConsoleModifiers", TestMode.Position);
3246await TestAsync(text, "global::C", TestMode.Position);
3262@"(int i, _) = [||]", "(global::System.Int32 i, global::System.Object _)", TestMode.Position);
3287await TestAsync(text, "global::Program", TestMode.Position);
3327await TestAsync(text, "global::System.String", TestMode.Position);
3367@"(int, string) x = (1, [||]);", "global::System.String", TestMode.Position);
3423await TestAsync(markup, expectedType, TestMode.Position);
3454await TestAsync(markup, "global::Color", TestMode.Position);
3479await TestAsync(markup, "global::Color", TestMode.Position);
3504await TestAsync(markup, "global::Color", TestMode.Position);
3530await TestAsync(markup, "global::Color", TestMode.Position);
3556await TestAsync(markup, "global::Color", TestMode.Position);
3566await TestAsync(markup, "global::System.Int32", TestMode.Position);