1 write to NewLine
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\LineFormattingOptions.cs (1)
27
NewLine
= options.GetOption(FormattingOptions2.NewLine, language);
11 references to NewLine
Microsoft.CodeAnalysis.CodeStyle (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeCleanup\CodeCleanupOptions.cs (1)
26
NewLine = FormattingOptions.LineFormatting.
NewLine
,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.FormattedWhitespace.cs (1)
24
_newString = CreateString(Options.
NewLine
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\FormattingOptions2.cs (1)
40
"end_of_line", LineFormattingOptions.Default.
NewLine
, FormattingOptionGroups.NewLine, isEditorConfigOption: true,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\SyntaxFormattingOptions.cs (1)
41
public string NewLine => LineFormatting.
NewLine
;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\OrganizeImports\OrganizeImportsOptions.cs (1)
16
[DataMember] public string NewLine { get; init; } = LineFormattingOptions.Default.
NewLine
;
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\Analyzers\Core\CodeFixes\FileHeaders\AbstractFileHeaderCodeFixProvider.cs (1)
52
var newLineTrivia = generator.EndOfLine(options.
NewLine
);
src\Analyzers\Core\CodeFixes\NewLines\ConsecutiveStatementPlacement\ConsecutiveStatementPlacementCodeFixProvider.cs (1)
50
var endOfLineTrivia = generator.EndOfLine(options.
NewLine
);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (4)
src\Analyzers\CSharp\CodeFixes\AddInheritdoc\AddInheritdocCodeFixProvider.cs (1)
70
var newLine = options.
NewLine
;
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordEngine.cs (3)
658
.Prepend(XmlText(XmlTextNewLine(lineFormattingOptions.
NewLine
, continueXmlDocumentationComment: false)
661
.Append(XmlText(XmlTextNewLine(lineFormattingOptions.
NewLine
, continueXmlDocumentationComment: false)))],
764
XmlTextNewLine(lineFormattingOptions.
NewLine
, continueXmlDocumentationComment: false),