diff --git a/src/Compilers/CSharp/Test/Emit3/FirstClassSpanTests.cs b/src/Compilers/CSharp/Test/Emit3/FirstClassSpanTests.cs index 2287d69ef80c..eb31fc113b34 100644 --- a/src/Compilers/CSharp/Test/Emit3/FirstClassSpanTests.cs +++ b/src/Compilers/CSharp/Test/Emit3/FirstClassSpanTests.cs @@ -600,10 +600,10 @@ static class C public static void M2(span::System.ReadOnlySpan s) => System.Console.Write(s[0]); } """; - var spanDll = CreateCompilation(SpanSource, options: TestOptions.UnsafeReleaseDll) + var spanDll = CreateCompilation(TestSources.Span, options: TestOptions.UnsafeReleaseDll) .VerifyDiagnostics() .EmitToImageReference(aliases: ["span"]); - var verifier = CompileAndVerify([source, SpanSource], + var verifier = CompileAndVerify([source, TestSources.Span], references: [spanDll], expectedOutput: "12", verify: Verification.Fails,