66 references to SymbolDisplayLocalOptions
Microsoft.CodeAnalysis (19)
SymbolDisplay\SymbolDisplayExtensions.cs (3)
150/// Determines if a flag is set on the <see cref="SymbolDisplayLocalOptions"/> enum. 155internal static bool IncludesOption(this SymbolDisplayLocalOptions options, SymbolDisplayLocalOptions flag)
SymbolDisplay\SymbolDisplayFormat.cs (16)
165localOptions: SymbolDisplayLocalOptions.IncludeType, 179localOptions: SymbolDisplayLocalOptions.IncludeType, 318public SymbolDisplayLocalOptions LocalOptions { get; } 381SymbolDisplayLocalOptions localOptions = default(SymbolDisplayLocalOptions), 413SymbolDisplayLocalOptions localOptions = default(SymbolDisplayLocalOptions), 713/// Creates a copy of the SymbolDisplayFormat but with replaced set of <see cref="SymbolDisplayLocalOptions"/>. 718/// <returns>A duplicate of the SymbolDisplayFormat, with a replaced set of <see cref="SymbolDisplayLocalOptions"/>.</returns> 719public SymbolDisplayFormat WithLocalOptions(SymbolDisplayLocalOptions options) 737/// Creates a copy of the SymbolDisplayFormat but with an additional set of <see cref="SymbolDisplayLocalOptions"/>. 743/// A duplicate of the SymbolDisplayFormat, with an additional set of <see cref="SymbolDisplayLocalOptions"/>. 745public SymbolDisplayFormat AddLocalOptions(SymbolDisplayLocalOptions options) 751/// Creates a copy of the SymbolDisplayFormat but with a set of <see cref="SymbolDisplayLocalOptions"/> stripped away from the original object. 757/// A duplicate of the SymbolDisplayFormat, with a set of <see cref="SymbolDisplayLocalOptions"/> stripped away from the original object. 759public SymbolDisplayFormat RemoveLocalOptions(SymbolDisplayLocalOptions options)
Microsoft.CodeAnalysis.CSharp (6)
SymbolDisplay\SymbolDisplayVisitor.cs (6)
241if (Format.LocalOptions.IncludesOption(SymbolDisplayLocalOptions.IncludeModifiers)) 267if (Format.LocalOptions.IncludesOption(SymbolDisplayLocalOptions.IncludeType)) 282if (Format.LocalOptions.IncludesOption(SymbolDisplayLocalOptions.IncludeConstantValue) && 297if (Format.LocalOptions.IncludesOption(SymbolDisplayLocalOptions.IncludeType)) 308if (Format.LocalOptions.IncludesOption(SymbolDisplayLocalOptions.IncludeType)) 336if (Format.LocalOptions.IncludesOption(SymbolDisplayLocalOptions.IncludeType))
Microsoft.CodeAnalysis.CSharp.Features (2)
LanguageServices\CSharpSymbolDisplayService.SymbolDescriptionBuilder.cs (2)
29.AddLocalOptions(SymbolDisplayLocalOptions.IncludeRef) 35.AddLocalOptions(SymbolDisplayLocalOptions.IncludeConstantValue)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\RefFieldTests.cs (1)
11990AddLocalOptions(SymbolDisplayLocalOptions.IncludeModifiers);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (18)
SymbolDisplay\SymbolDisplayTests.cs (18)
3186SymbolDisplayLocalOptions.IncludeRef | 3187SymbolDisplayLocalOptions.IncludeType, 3711localOptions: SymbolDisplayLocalOptions.IncludeType, 3765localOptions: SymbolDisplayLocalOptions.IncludeType, 3817localOptions: SymbolDisplayLocalOptions.IncludeType, 3865localOptions: SymbolDisplayLocalOptions.IncludeType, 3946localOptions: SymbolDisplayLocalOptions.IncludeType, 4020localOptions: SymbolDisplayLocalOptions.IncludeType, 4132localOptions: SymbolDisplayLocalOptions.IncludeType, 4242localOptions: SymbolDisplayLocalOptions.IncludeType, 4346localOptions: SymbolDisplayLocalOptions.IncludeType, 6849SymbolDisplayFormat.MinimallyQualifiedFormat.AddLocalOptions(SymbolDisplayLocalOptions.IncludeRef)), 6882SymbolDisplayFormat.MinimallyQualifiedFormat.AddLocalOptions(SymbolDisplayLocalOptions.IncludeRef)), 6927SymbolDisplayFormat.MinimallyQualifiedFormat.AddLocalOptions(SymbolDisplayLocalOptions.IncludeRef)), 8878var formatTypeOnly = SymbolDisplayFormat.TestFormat.WithLocalOptions(SymbolDisplayLocalOptions.IncludeType); 8879var formatTypeRefAndScoped = formatTypeOnly.AddLocalOptions(SymbolDisplayLocalOptions.IncludeRef); 8981SymbolDisplayLocalOptions.IncludeRef | 8982SymbolDisplayLocalOptions.IncludeType,
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Simplification\CSharpSimplificationService.Expander.cs (1)
41localOptions: SymbolDisplayLocalOptions.IncludeType,
Microsoft.CodeAnalysis.Features (4)
FindUsages\FindUsagesHelpers.cs (1)
67localOptions: SymbolDisplayLocalOptions.IncludeType,
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs (3)
59SymbolDisplayLocalOptions.IncludeRef | 60SymbolDisplayLocalOptions.IncludeType, 278.RemoveLocalOptions(SymbolDisplayLocalOptions.IncludeType)
Microsoft.CodeAnalysis.VisualBasic (4)
SymbolDisplay\SymbolDisplayVisitor.vb (4)
192If Format.LocalOptions.IncludesOption(SymbolDisplayLocalOptions.IncludeType) Then 288If Format.LocalOptions.IncludesOption(SymbolDisplayLocalOptions.IncludeType) Then 295If symbol.IsConst AndAlso symbol.HasConstantValue AndAlso Format.LocalOptions.IncludesOption(SymbolDisplayLocalOptions.IncludeConstantValue) Then 307If Format.LocalOptions.IncludesOption(SymbolDisplayLocalOptions.IncludeType) Then
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ExpressionSyntaxExtensions.vb (2)
21localOptions:=SymbolDisplayLocalOptions.IncludeType, 29localOptions:=SymbolDisplayLocalOptions.IncludeType,
Microsoft.CodeAnalysis.VisualBasic.Features (3)
CodeLens\VisualBasicDisplayInfoService.vb (1)
25SymbolDisplayLocalOptions.IncludeType,
Completion\CompletionProviders\EnumCompletionProvider.vb (1)
112Dim displayFormat = SymbolDisplayFormat.MinimallyQualifiedFormat.WithMemberOptions(SymbolDisplayMemberOptions.IncludeContainingType).WithLocalOptions(SymbolDisplayLocalOptions.None)
LanguageServices\VisualBasicSymbolDisplayService.SymbolDescriptionBuilder.vb (1)
23.AddLocalOptions(SymbolDisplayLocalOptions.IncludeConstantValue) _
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (4)
SymbolDisplay\SymbolDisplayTests.vb (4)
5694Dim format = SymbolDisplayFormat.TestFormat.WithLocalOptions(SymbolDisplayLocalOptions.IncludeType) 5696format = format.AddLocalOptions(SymbolDisplayLocalOptions.IncludeRef) 5788SymbolDisplayLocalOptions.IncludeRef Or 5789SymbolDisplayLocalOptions.IncludeType,
Microsoft.CodeAnalysis.VisualBasic.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ExpressionSyntaxExtensions.vb (2)
21localOptions:=SymbolDisplayLocalOptions.IncludeType, 29localOptions:=SymbolDisplayLocalOptions.IncludeType,