6 references to WithFlagValue
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Formatting\CSharpFormattingOptions.cs (1)
68
=> ((SpacePlacementWithinParentheses)currentInternalValue!).
WithFlagValue
(_flag, (bool)newPublicValue!);
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (3)
Formatting\FormattingTests.cs (1)
6363
{ SpaceBetweenParentheses, SpaceBetweenParentheses.DefaultValue.
WithFlagValue
( SpacePlacementWithinParentheses.ControlFlowStatements, true) },
Formatting\FormattingTests_Patterns.cs (2)
150
{ CSharpFormattingOptions2.SpaceBetweenParentheses, CSharpFormattingOptions2.SpaceBetweenParentheses.DefaultValue.
WithFlagValue
(SpacePlacementWithinParentheses.Expressions, spaceWithinExpressionParentheses) },
291
{ CSharpFormattingOptions2.SpaceBetweenParentheses, CSharpFormattingOptions2.SpaceBetweenParentheses.DefaultValue.
WithFlagValue
(SpacePlacementWithinParentheses.Expressions, spaceWithinExpressionParentheses) },
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Options\DocumentOptionSetTests.cs (1)
168
var newInternalValue = option.DefaultValue.
WithFlagValue
(flag, newValue);
Microsoft.VisualStudio.LanguageServices.CSharp (1)
Options\AutomationObject\AutomationObject.cs (1)
43
=> SetOption(option, GetOption(option).
WithFlagValue
(flag, value != 0));