104 references to MarkupTestFile
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (49)
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);
Completion\CompletionServiceTests.cs (2)
166MarkupTestFile.GetPosition(sourceMarkup.NormalizeLineEndings(), out var source, out int? position); 199MarkupTestFile.GetPosition(sourceMarkup.NormalizeLineEndings(), out var source, 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);
ExtractMethod\MiscTests.cs (2)
41MarkupTestFile.GetSpan(markupCode, out var code, out var span); 86MarkupTestFile.GetSpan(markupCode, out var code, out var span);
FixInterpolatedVerbatimString\FixInterpolatedVerbatimStringCommandHandlerTests.cs (1)
64MarkupTestFile.GetSpans(expectedOutputMarkup, out var expectedOutput, out var expectedSpans);
Formatting\Indentation\SmartTokenFormatterFormatTokenTests.cs (2)
560MarkupTestFile.GetPositionAndSpan(markup, 627MarkupTestFile.GetPositionAndSpan(markup,
PdbSourceDocument\AbstractPdbSourceDocumentTests.cs (1)
86MarkupTestFile.GetSpan(metadataSource, out var source, out var expectedSpan);
PdbSourceDocument\ImplementationAssemblyLookupServiceTests.cs (10)
36MarkupTestFile.GetSpan(source, out var metadataSource, out var expectedSpan); 74MarkupTestFile.GetSpan(source, out var metadataSource, out var expectedSpan); 114MarkupTestFile.GetSpan(source, out var metadataSource, out var expectedSpan); 159MarkupTestFile.GetSpan(source, out var metadataSource, out var expectedSpan); 219MarkupTestFile.GetSpan(source, out var metadataSource, out var expectedSpan); 280MarkupTestFile.GetSpan(source, out var metadataSource, out var expectedSpan); 335MarkupTestFile.GetSpan(source, out var metadataSource, out var expectedSpan); 386MarkupTestFile.GetSpan(source, out var metadataSource, out var expectedSpan); 451MarkupTestFile.GetSpan(source, out var metadataSource, out var expectedSpan); 509MarkupTestFile.GetSpan(source, out var metadataSource, out var expectedSpan);
PdbSourceDocument\PdbFileLocatorServiceTests.cs (3)
30MarkupTestFile.GetSpan(source, out var metadataSource, out var expectedSpan); 59MarkupTestFile.GetSpan(source, out var metadataSource, out var expectedSpan); 90MarkupTestFile.GetSpan(source, out var metadataSource, out var expectedSpan);
PdbSourceDocument\PdbSourceDocumentLoaderServiceTests.cs (2)
34MarkupTestFile.GetSpan(source, out var metadataSource, out var expectedSpan); 69MarkupTestFile.GetSpan(source, out var metadataSource, out var expectedSpan);
PdbSourceDocument\PdbSourceDocumentTests.cs (13)
402MarkupTestFile.GetSpan(source, out var metadataSource, out var expectedSpan); 432MarkupTestFile.GetSpan(source, out var metadataSource, out var expectedSpan); 469MarkupTestFile.GetSpan(source, out var metadataSource, out var expectedSpan); 516MarkupTestFile.GetSpan(source, out var metadataSource, out var expectedSpan); 573MarkupTestFile.GetSpan(source, out var metadataSource, out var expectedSpan); 596MarkupTestFile.GetSpan(source, out var metadataSource, out var expectedSpan); 618MarkupTestFile.GetSpan(source, out var metadataSource, out var expectedSpan); 640MarkupTestFile.GetSpan(source, out var metadataSource, out var expectedSpan); 661MarkupTestFile.GetSpan(source, out var metadataSource, out var expectedSpan); 684MarkupTestFile.GetSpan(source, out var metadataSource, out var expectedSpan); 716MarkupTestFile.GetSpan(source1, out var metadataSource, out var expectedSpan); 754MarkupTestFile.GetSpan(source1, out var metadataSource, out var expectedSpan); 925MarkupTestFile.GetSpan(source2, out source2, out var expectedSpan);
RawStringLiteral\RawStringLiteralCommandHandlerTests.cs (1)
54MarkupTestFile.GetPositionAndSpans(expectedCode, out var massaged, out int? caretPosition, out var spans);
Rename\CSharpInlineRenameServiceTests.cs (1)
66MarkupTestFile.GetPosition(markup, out _, out int cursorPosition);
SplitStringLiteral\SplitStringLiteralCommandHandlerTests.cs (1)
97MarkupTestFile.GetSpans(expectedOutputMarkup, out var expectedOutput, out var expectedSpans);
TypeInferrer\TypeInferrerTests.Delegate.cs (1)
24MarkupTestFile.GetSpan(text, out text, out var textSpan);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
PDB\CSharpPDBTestBase.cs (1)
25MarkupTestFile.GetPositionAndSpan(markup, out source, out position, out expectedSpan);
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (2)
EditAndContinue\BreakpointSpansTests.cs (2)
37MarkupTestFile.GetPositionAndSpan( 73MarkupTestFile.GetPositionAndSpans(markup, out var source, out var position, out var expectedSpans);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
LexicalAndXml\RawStringLiteralLexingTests.cs (1)
183MarkupTestFile.GetSpans(markup, out var input, out IDictionary<string, ImmutableArray<TextSpan>> spans);
Syntax\LambdaUtilitiesTests.cs (1)
37MarkupTestFile.GetPositionAndSpan(markedSource, out source, out position, out span);
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (2)
CodeGeneration\SyntaxGeneratorTests.cs (1)
4986MarkupTestFile.GetSpan(markup, out var code, out var span);
CSharpSyntaxFactsServiceTests.cs (1)
17MarkupTestFile.GetPosition(markup, out var code, out int position);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (20)
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);
BraceHighlighting\AbstractBraceHighlightingTests.cs (1)
26MarkupTestFile.GetPositionAndSpans(markup,
BraceMatching\AbstractBraceMatcherTests.cs (1)
32MarkupTestFile.GetSpans(expectedCode, out var parsedExpectedCode, out var expectedSpans);
Classification\AbstractClassifierTests.cs (1)
52MarkupTestFile.GetSpans(allCode, out var rewrittenCode, out spans);
CommentSelection\AbstractToggleCommentTestBase.cs (1)
70MarkupTestFile.GetSpans(expectedText, out var actualExpectedText, out var expectedSpans);
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);
NavigateTo\AbstractNavigateToTests.cs (1)
198MarkupTestFile.GetSpans(displayMarkup, out displayMarkup, out var expectedDisplayNameSpans);
RefactoringHelpers\RefactoringHelpersTestBase.cs (2)
73MarkupTestFile.GetSpans(text, out text, out IDictionary<string, ImmutableArray<TextSpan>> spans); 87MarkupTestFile.GetSpans(text, out text, out IDictionary<string, ImmutableArray<TextSpan>> spans);
SignatureHelp\AbstractSignatureHelpProviderTests.cs (2)
81MarkupTestFile.GetPositionAndSpans( 169MarkupTestFile.GetPosition(markup.NormalizeLineEndings(), out var code, out int cursorPosition);
TypeInferrer\TypeInferrerTestBase.cs (1)
55MarkupTestFile.GetSpan(text.NormalizeLineEndings(), out text, out var textSpan);
Workspaces\EditorTestWorkspace.cs (1)
320MarkupTestFile.GetPositionAndSpans(markup,
Workspaces\TestWorkspaceFixture.cs (1)
50MarkupTestFile.GetPosition(markup.NormalizeLineEndings(), out Code, out Position);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (5)
CodeGeneration\CodeGenerationTests.cs (1)
627MarkupTestFile.GetSpan(symbolSource.NormalizeLineEndings(), out symbolSource, out destSpan);
MetadataAsSource\AbstractMetadataAsSourceTests.TestContext.cs (1)
144MarkupTestFile.GetSpan(expected, out expected, out var expectedSpan);
Snippets\RoslynLSPSnippetConvertTests.cs (1)
490MarkupTestFile.GetPositionAndSpans(markup, out var text, out var cursorPosition, out IDictionary<string, ImmutableArray<TextSpan>> placeholderDictionary);
Utilities\PatternMatcherTests.cs (2)
459MarkupTestFile.GetSpans(candidate, out candidate, out var spans); 478MarkupTestFile.GetSpans(candidate, out candidate, out var expectedSpans);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (2)
SpellCheck\SpellCheckTests.cs (2)
215MarkupTestFile.GetSpans( 510MarkupTestFile.GetSpans(
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\SuppressMessageAttributeTests.cs (1)
1395MarkupTestFile.GetSpans(markup, out var source, out ImmutableArray<TextSpan> spans);
Microsoft.CodeAnalysis.UnitTests (1)
Diagnostics\SuppressMessageTargetSymbolResolverTests.cs (1)
1338MarkupTestFile.GetPositionAndSpans(markup,
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (1)
CompilationTestUtils.vb (1)
651MarkupTestFile.GetSpans(codeWithMarker, codeWithoutMarker, spans)
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (4)
Formatting\VisualBasicFormattingTestBase.vb (1)
87MarkupTestFile.GetSpans(markupCode, code, spans)
VisualBasicSyntaxFactsServiceTests.vb (3)
508MarkupTestFile.GetSpan(markup, code, span) 526MarkupTestFile.GetPosition(markup, code, position) 542MarkupTestFile.GetPosition(markup, code, position)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (2)
Workspaces\TestWorkspace_XmlConsumption.cs (1)
190MarkupTestFile.GetPositionAndSpans(markupCode,
Workspaces\TestWorkspace`1.cs (1)
745MarkupTestFile.GetPositionAndSpans(markupCode,
Microsoft.CodeAnalysis.Workspaces.UnitTests (9)
CodeCleanup\AddMissingTokensTests.cs (1)
2716MarkupTestFile.GetSpans(codeWithMarker, out var codeWithoutMarker, out var textSpans);
CodeCleanup\CodeCleanupTests.cs (2)
370MarkupTestFile.GetSpans(codeWithMarker, 382MarkupTestFile.GetSpans(codeWithMarker,
CodeCleanup\FixIncorrectTokenTests.cs (1)
741MarkupTestFile.GetSpans(codeWithMarker, out var codeWithoutMarker, out var textSpans);
CodeCleanup\NormalizeModifiersOrOperatorsTests.cs (1)
1017MarkupTestFile.GetSpans(codeWithMarker, out var codeWithoutMarker, out var textSpans);
CodeCleanup\ReduceTokenTests.cs (1)
2004MarkupTestFile.GetSpans(codeWithMarker, out var codeWithoutMarker, out var textSpans);
CodeCleanup\RemoveUnnecessaryLineContinuationTests.cs (1)
1439MarkupTestFile.GetSpans(codeWithMarker, out var codeWithoutMarker, out var textSpans);
SymbolKeyTests.cs (2)
860MarkupTestFile.GetPosition(markup, out var text, out int position); 907MarkupTestFile.GetPosition(markup, out var text, out int position);
Microsoft.VisualStudio.LanguageServices.UnitTests (3)
Debugging\VisualBasicBreakpointResolutionServiceTests.vb (1)
25MarkupTestFile.GetPositionAndSpan(markup.NormalizedValue, source, position, expectedSpan)
Snippets\CSharpSnippetExpansionClientTests.vb (1)
355MarkupTestFile.GetPosition(markupCode, originalCode, position)
Snippets\VisualBasicSnippetExpansionClientTests.vb (1)
375MarkupTestFile.GetPosition(markupCode, originalCode, position)