21 references to NewLine
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
AutomaticCompletion\AutomaticBraceCompletionTests.cs (1)
1340{ FormattingOptions2.NewLine, "\r" }
FileHeaderTests.cs (1)
86{ FormattingOptions2.NewLine, lineEnding },
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CSharpCodeFixOptionsProvider.cs (1)
53public string NewLine => GetOption(FormattingOptions2.NewLine, FallbackLineFormattingOptions.NewLine);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Utilities\GlobalOptionsExtensions.cs (1)
24editorOptions.SetOptionValue(DefaultOptions.NewLineCharacterOptionId, globalOptions.GetOption(FormattingOptions2.NewLine, language));
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (1)
FileHeaderTests.vb (1)
73test.Options.Add(FormattingOptions2.NewLine, lineEnding)
Microsoft.CodeAnalysis.Workspaces (6)
CodeFixOptionsProvider.cs (1)
49public string NewLine => GetOption(FormattingOptions2.NewLine, FallbackLineFormattingOptions.NewLine);
Formatting\FormattingOptions.cs (2)
24/// <inheritdoc cref="FormattingOptions2.NewLine"/> 25public static PerLanguageOption<string> NewLine { get; } = FormattingOptions2.NewLine.ToPublicOption();
FormattingOptions2.cs (1)
73NewLine,
LineFormattingOptions.cs (1)
43NewLine = options.GetOption(FormattingOptions2.NewLine, language, fallbackOptions.NewLine),
OrganizeImports\OrganizeImportsOptions.cs (1)
44NewLine = options.GetOption(FormattingOptions2.NewLine, language, fallbackOptions.Value.NewLine)
Microsoft.CodeAnalysis.Workspaces.UnitTests (4)
CodeStyle\EditorConfigCodeStyleParserTests.cs (1)
82Assert.True(FormattingOptions2.NewLine.Definition.Serializer.TryParseValue(configurationString, out var parsedNewLine));
WorkspaceServiceTests\GlobalOptionServiceTests.cs (3)
120optionService.GlobalOptions.SetGlobalOption(FormattingOptions2.NewLine, "lang", "NEW_LINE"); 127ImmutableArray.Create(KeyValuePairUtil.Create(new OptionKey2(FormattingOptions2.NewLine, "lang"), (object?)"NEW_LINE")), 134optionService.GlobalOptions.SetGlobalOption(FormattingOptions2.NewLine, "lang", "NEW_LINE2");
Microsoft.VisualStudio.LanguageServices (2)
EditorConfigSettings\DataProvider\Whitespace\CommonWhitespaceSettingsProvider.cs (1)
35yield return Setting.Create(FormattingOptions2.NewLine, EditorFeaturesResources.New_Line, options, updater);
EditorConfigSettings\Whitespace\ViewModel\NewLineViewModel.cs (1)
27_key = new OptionKey2(FormattingOptions2.NewLine, LanguageNames.CSharp);
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
EditorConfigSettings\DataProvider\DataProviderTests.cs (1)
188FormattingOptions2.NewLine,
Roslyn.VisualStudio.Next.UnitTests (3)
Services\SolutionServiceTests.cs (3)
469? FormattingOptions2.NewLine.DefaultValue 470: FormattingOptions2.NewLine.DefaultValue + FormattingOptions2.NewLine.DefaultValue;