9 references to Option
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (7)
ChangeSignature\AddParameterTests.Formatting.cs (1)
510
options:
Option
(CSharpFormattingOptions2.IndentBraces, true));
CodeActions\MoveType\MoveTypeTests.MoveToNewFile.cs (2)
908
options:
Option
(FormattingOptions2.InsertFinalNewLine, true));
946
options:
Option
(FormattingOptions2.InsertFinalNewLine, false));
Diagnostics\GenerateType\GenerateTypeTests.cs (1)
5404
new TestParameters(options:
Option
(CodeStyleOptions2.FileHeaderTemplate, "I am a banner")));
InitializeParameter\InitializeMemberFromParameterTests.cs (1)
1678
""", options: this.
Option
(CSharpFormattingOptions2.NewLineBeforeOpenBrace, NewLineBeforeOpenBracePlacement.All & ~NewLineBeforeOpenBracePlacement.Methods));
Wrapping\BinaryExpressionWrappingTests.cs (2)
25
=> new(options:
Option
(CodeStyleOptions2.OperatorPlacementWhenWrapping, OperatorPlacementWhenWrappingPreference.EndOfLine));
28
=> new(options:
Option
(CodeStyleOptions2.OperatorPlacementWhenWrapping, OperatorPlacementWhenWrappingPreference.BeginningOfLine));
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (2)
Wrapping\BinaryExpressionWrappingTests.vb (2)
20
New TestParameters(options:=
[Option]
(CodeStyleOptions2.OperatorPlacementWhenWrapping, OperatorPlacementWhenWrappingPreference.EndOfLine))
23
New TestParameters(options:=
[Option]
(CodeStyleOptions2.OperatorPlacementWhenWrapping, OperatorPlacementWhenWrappingPreference.BeginningOfLine))