1 write to ExpectedMissingSourceMappings
Microsoft.AspNetCore.Razor.Language.UnitTests (1)
IntegrationTests\CodeGenerationIntegrationTest.cs (1)
172
ExpectedMissingSourceMappings
= new()
7 references to ExpectedMissingSourceMappings
Microsoft.AspNetCore.Razor.Test.Common (7)
Language\IntegrationTests\IntegrationTestBase.cs (7)
551
if (
ExpectedMissingSourceMappings
?.TryGetValue(SourceLocation.FromSpan(sourceSpan), out var expectedMissingSpan) == true)
555
throw new XunitException($"Remove {sourceSpan} from {nameof(
ExpectedMissingSourceMappings
)}.");
563
ExpectedMissingSourceMappings
.Remove(SourceLocation.FromSpan(sourceSpan));
573
if (
ExpectedMissingSourceMappings
?.Count > 0)
575
throw new XunitException($"Found unused {nameof(
ExpectedMissingSourceMappings
)} ({
ExpectedMissingSourceMappings
.Count}), " +
576
$"for example {
ExpectedMissingSourceMappings
.First()}.");