17 references to ReplaceLineEndings
ConfigurationSchemaGenerator.Tests (2)
GeneratorTests.cs (2)
1602var actual = File.ReadAllText(outputPath).ReplaceLineEndings(); 1603var baseline = File.ReadAllText(Path.Combine("Baselines", "IntegrationTest.baseline.json")).ReplaceLineEndings();
Microsoft.AspNetCore.App.Analyzers.Test (8)
Http\HeaderDictionaryAddTest.cs (2)
161source.TrimStart().ReplaceLineEndings(), 168fixedSource.TrimStart().ReplaceLineEndings(),
Verifiers\CSharpAnalyzerVerifier.cs (1)
37TestCode = source.ReplaceLineEndings(),
Verifiers\CSharpCodeFixVerifier.cs (3)
33TestCode = source.ReplaceLineEndings(), 61TestState = { Sources = { source.ReplaceLineEndings() }, OutputKind = OutputKind.ConsoleApplication }, 62FixedState = { Sources = { fixedSource.ReplaceLineEndings() } },
Verifiers\CSharpSourceGeneratorVerifier.cs (2)
22Sources = { source.ReplaceLineEndings() }, 40Sources = { source.ReplaceLineEndings() },
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
EndpointHtmlRendererTest.cs (1)
952Assert.Equal(expectedError.ReplaceLineEndings(), exception.Message.ReplaceLineEndings());
Microsoft.AspNetCore.Http.Extensions.Tests (2)
RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (2)
392var expectedLine = expectedLines[index].Trim().ReplaceLineEndings(); 393var actualLine = textLine.ToString().Trim().ReplaceLineEndings();
Microsoft.AspNetCore.Http.Microbenchmarks (2)
src\Http\Http.Extensions\test\RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (2)
392var expectedLine = expectedLines[index].Trim().ReplaceLineEndings(); 393var actualLine = textLine.ToString().Trim().ReplaceLineEndings();
Microsoft.AspNetCore.SpaProxy (1)
SpaProxyLaunchManager.cs (1)
300File.WriteAllText(scriptPath, stopScript.ReplaceLineEndings());
Microsoft.CodeAnalysis.Test.Utilities (1)
FX\StringExtensions.cs (1)
24return input.ReplaceLineEndings();