44namespace StyleCop . Analyzers . CodeGeneration
55{
66 using System ;
7- using System . Collections ;
87 using System . Collections . Generic ;
98 using System . Collections . Immutable ;
109 using System . Diagnostics ;
@@ -18,7 +17,6 @@ namespace StyleCop.Analyzers.CodeGeneration
1817 using Microsoft . CodeAnalysis ;
1918 using Microsoft . CodeAnalysis . CSharp ;
2019 using Microsoft . CodeAnalysis . CSharp . Syntax ;
21- using Microsoft . CodeAnalysis . Text ;
2220
2321 [ Generator ]
2422 internal sealed class SyntaxLightupGenerator : IIncrementalGenerator
@@ -1198,20 +1196,20 @@ private void GenerateSyntaxWrapperHelper(in SourceProductionContext context, Imm
11981196 SyntaxFactory . Trivia ( SyntaxFactory . DocumentationComment (
11991197 SyntaxFactory . XmlText ( " " ) ,
12001198 SyntaxFactory . XmlSummaryElement (
1201- SyntaxFactory . XmlNewLine ( Environment . NewLine ) ,
1199+ SyntaxFactory . XmlText ( XmlSyntaxFactory . XmlCarriageReturnLineFeedWithContinuation ) ,
12021200 SyntaxFactory . XmlText ( " Gets the type that is wrapped by the given wrapper." ) ,
1203- SyntaxFactory . XmlNewLine ( Environment . NewLine ) ,
1201+ SyntaxFactory . XmlText ( XmlSyntaxFactory . XmlCarriageReturnLineFeedWithContinuation ) ,
12041202 SyntaxFactory . XmlText ( " " ) ) ,
1205- SyntaxFactory . XmlNewLine ( Environment . NewLine ) ,
1203+ SyntaxFactory . XmlText ( XmlSyntaxFactory . XmlCarriageReturnLineFeedWithContinuation ) ,
12061204 SyntaxFactory . XmlText ( " " ) ,
12071205 SyntaxFactory . XmlParamElement (
12081206 "wrapperType" ,
12091207 SyntaxFactory . XmlText ( "Type of the wrapper for which the wrapped type should be retrieved." ) ) ,
1210- SyntaxFactory . XmlNewLine ( Environment . NewLine ) ,
1208+ SyntaxFactory . XmlText ( XmlSyntaxFactory . XmlCarriageReturnLineFeedWithContinuation ) ,
12111209 SyntaxFactory . XmlText ( " " ) ,
12121210 SyntaxFactory . XmlReturnsElement (
12131211 SyntaxFactory . XmlText ( "The wrapped type, or null if there is no info." ) ) ,
1214- SyntaxFactory . XmlNewLine ( Environment . NewLine ) . WithoutTrailingTrivia ( ) ) ) ) ) ;
1212+ SyntaxFactory . XmlText ( XmlSyntaxFactory . XmlCarriageReturnLineFeedWithContinuation ) . WithoutTrailingTrivia ( ) ) ) ) ) ;
12151213
12161214 var wrapperHelperClass = SyntaxFactory . ClassDeclaration (
12171215 attributeLists : default ,
0 commit comments