2 writes to Options
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Workspaces\WorkspaceTests_EditorFeatures.cs (1)
1511primaryWorkspace.Options = primaryWorkspace.Options.WithChangedOption(optionKey, FormattingOptions2.IndentStyle.Block);
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
WorkspaceTests\WorkspaceTests.cs (1)
195workspace1.Options = newOptions;
12 references to Options
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (8)
Workspaces\WorkspaceTests_EditorFeatures.cs (8)
1482var value2 = workspace2.Options.GetOption(optionKey); 1504Assert.Equal(FormattingOptions2.IndentStyle.Smart, primaryWorkspace.Options.GetOption(optionKey)); 1505Assert.Equal(FormattingOptions2.IndentStyle.Smart, secondaryWorkspace.Options.GetOption(optionKey)); 1511primaryWorkspace.Options = primaryWorkspace.Options.WithChangedOption(optionKey, FormattingOptions2.IndentStyle.Block); 1517Assert.Equal(FormattingOptions2.IndentStyle.Block, primaryWorkspace.Options.GetOption(optionKey)); 1518Assert.Equal(FormattingOptions2.IndentStyle.Block, secondaryWorkspace.Options.GetOption(optionKey)); 1530Assert.Equal(FormattingOptions2.IndentStyle.Block, primaryWorkspace.Options.GetOption(optionKey)); 1531Assert.Equal(FormattingOptions2.IndentStyle.Block, secondaryWorkspace.Options.GetOption(optionKey));
Microsoft.CodeAnalysis.Workspaces (2)
Options\ILegacyWorkspaceOptionService.cs (1)
13/// <see cref="Workspace.Options"/> and <see cref="Solution.Options"/>.
Workspace\Solution\Solution.cs (1)
1677/// Returns the options that should be applied to this solution. This is equivalent to <see cref="Workspace.Options" /> when the <see cref="Solution"/>
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
WorkspaceTests\WorkspaceTests.cs (1)
202Assert.Equal(value, workspace2.Options.GetOption(new OptionKey(option, language)));
Microsoft.ML.InternalCodeAnalyzer (1)
NameFixProvider.cs (1)
113var optionSet = originalSolution.Workspace.Options;