9 references to Option
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (7)
ChangeSignature\AddParameterTests.Formatting.cs (1)
510options: Option(CSharpFormattingOptions2.IndentBraces, true));
CodeActions\MoveType\MoveTypeTests.MoveToNewFile.cs (2)
908options: Option(FormattingOptions2.InsertFinalNewLine, true)); 946options: Option(FormattingOptions2.InsertFinalNewLine, false));
Diagnostics\GenerateType\GenerateTypeTests.cs (1)
5404new 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)
20New TestParameters(options:=[Option](CodeStyleOptions2.OperatorPlacementWhenWrapping, OperatorPlacementWhenWrappingPreference.EndOfLine)) 23New TestParameters(options:=[Option](CodeStyleOptions2.OperatorPlacementWhenWrapping, OperatorPlacementWhenWrappingPreference.BeginningOfLine))