25 references to GetPosition
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (10)
Completion\CompletionProviders\DeclarationNameCompletionProviderTests_NameDeclarationInfoTests.cs (1)
811MarkupTestFile.GetPosition(markup, out var text, out int position);
Completion\CompletionProviders\OverrideCompletionProviderTests.cs (5)
834MarkupTestFile.GetPosition(markup, out var code, out int position); 852MarkupTestFile.GetPosition(markup, out var code, out int position); 2483MarkupTestFile.GetPosition(csharpFileAfterCommit, out var actualExpectedCode, out int expectedCaretPosition); 2736MarkupTestFile.GetPosition(csharpFileAfterCommit, out var actualExpectedCode, out int expectedCaretPosition); 2791MarkupTestFile.GetPosition(csharpFileAfterCommit, out var actualExpectedCode, out int expectedCaretPosition);
Completion\CompletionProviders\SuggestionModeCompletionProviderTests.cs (1)
1507MarkupTestFile.GetPosition(markup, out var code, out int position);
ConvertNamespace\ConvertNamespaceCommandHandlerTests.cs (1)
47MarkupTestFile.GetPosition(expectedCode, out var massaged, out int caretPosition);
Extensions\ContextQuery\AbstractContextTests.cs (1)
18MarkupTestFile.GetPosition(markup, out var code, out int position);
Rename\CSharpInlineRenameServiceTests.cs (1)
66MarkupTestFile.GetPosition(markup, out _, out int cursorPosition);
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
CSharpSyntaxFactsServiceTests.cs (1)
17MarkupTestFile.GetPosition(markup, out var code, out int position);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (10)
AbstractTypingCommandHandlerTest.cs (1)
47MarkupTestFile.GetPosition(expectedMarkup, out var expectedCode, out int expectedPosition);
AutomaticCompletion\AbstractAutomaticLineEnderTests.cs (1)
96MarkupTestFile.GetPosition(expectedWithAnnotations, out var expected, out int expectedPosition);
Completion\AbstractCompletionProviderTests.cs (2)
639MarkupTestFile.GetPosition(expectedCodeAfterCommit, out var actualExpectedCode, out int expectedCaretPosition); 680MarkupTestFile.GetPosition(expectedCodeAfterCommit, out var actualExpectedCode, out int expectedCaretPosition);
DocumentationComments\AbstractDocumentationCommentTests.cs (1)
162MarkupTestFile.GetPosition(expectedMarkup, out var expectedCode, out int _);
DocumentationComments\AbstractXmlTagCompletionTests.cs (1)
40MarkupTestFile.GetPosition(expectedMarkup, out var expectedCode, out int expectedPosition);
Formatting\CoreFormatterTestsBase.cs (2)
148MarkupTestFile.GetPosition(expectedWithMarker, out var expected, out int expectedPosition); 265MarkupTestFile.GetPosition(expectedWithMarker, out var expected, out int expectedPosition);
SignatureHelp\AbstractSignatureHelpProviderTests.cs (1)
169MarkupTestFile.GetPosition(markup.NormalizeLineEndings(), out var code, out int cursorPosition);
Workspaces\TestWorkspaceFixture.cs (1)
50MarkupTestFile.GetPosition(markup.NormalizeLineEndings(), out Code, out Position);
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (2)
VisualBasicSyntaxFactsServiceTests.vb (2)
526MarkupTestFile.GetPosition(markup, code, position) 542MarkupTestFile.GetPosition(markup, code, position)
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
SymbolKeyTests.cs (2)
860MarkupTestFile.GetPosition(markup, out var text, out int position); 907MarkupTestFile.GetPosition(markup, out var text, out int position);