26 references to Span
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (8)
QuickInfo\SemanticQuickInfoSourceTests.cs (8)
1823TestSources.Span, 1833TestSources.Span, 1848TestSources.Span, 1858TestSources.Span, 1873TestSources.Span, 1883TestSources.Span, 1906TestSources.Span, 1920TestSources.Span,
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Emit\NumericIntPtrTests.cs (1)
11751var comp = CreateCompilation(new[] { TestSources.Span, source }, options: TestOptions.UnsafeReleaseExe);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
FirstClassSpanTests.cs (2)
1994var spanDll = CreateCompilation(TestSources.Span, options: TestOptions.UnsafeReleaseDll) 1997var verifier = CompileAndVerify([source, TestSources.Span],
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (4)
IOperation\IOperationTests_IForEachLoopStatement.cs (4)
3123VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source + TestSources.Span, expectedFlowGraph, expectedDiagnostics, TestOptions.ReleaseDll.WithAllowUnsafe(true)); 3212VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source + TestSources.Span, expectedFlowGraph, expectedDiagnostics, TestOptions.ReleaseDll.WithAllowUnsafe(true)); 3301VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source + TestSources.Span, expectedFlowGraph, expectedDiagnostics, TestOptions.ReleaseDll.WithAllowUnsafe(true)); 3390VerifyFlowGraphAndDiagnosticsForTest<BlockSyntax>(source + TestSources.Span, expectedFlowGraph, expectedDiagnostics, TestOptions.ReleaseDll.WithAllowUnsafe(true));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\NullableReferenceTypesTests.cs (1)
145001var spanRef = CreateCompilation(TestSources.Span, options: TestOptions.UnsafeReleaseDll)
Semantics\RefFieldTests.cs (4)
1513var spanReference = CreateCompilation(TestSources.Span, options: TestOptions.UnsafeReleaseDll); 1569var spanReference = CreateCompilation(TestSources.Span, options: TestOptions.UnsafeReleaseDll); 1621var spanReference = CreateCompilation(TestSources.Span, options: TestOptions.UnsafeReleaseDll); 1677var spanReference = CreateCompilation(TestSources.Span, options: TestOptions.UnsafeReleaseDll);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (6)
CSharpTestBase.cs (6)
2768TestSources.Span, 2785TestSources.Span, 2802var textWitSpan = new string[] { text, TestSources.Span }; 2838var reference = CreateCompilation(new[] { TestSources.Index, TestSources.Range, TestSources.Span }, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 2855var reference = CreateCompilation(new[] { TestSources.Span, TestSources.MemoryExtensions }, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(); 2873var reference = CreateCompilation(new[] { TestSources.Index, TestSources.Range, TestSources.Span, TestSources.MemoryExtensions }, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();