127 references to SymbolDisplayKindOptions
Microsoft.Analyzers.Local (8)
ApiLifecycle\AssemblyAnalysis.cs (8)
32kindOptions: SymbolDisplayKindOptions.IncludeNamespaceKeyword | 33SymbolDisplayKindOptions.IncludeTypeKeyword | 34SymbolDisplayKindOptions.IncludeMemberKeyword, 56kindOptions: SymbolDisplayKindOptions.IncludeNamespaceKeyword | 57SymbolDisplayKindOptions.IncludeTypeKeyword | 58SymbolDisplayKindOptions.IncludeMemberKeyword, 90kindOptions: SymbolDisplayKindOptions.IncludeNamespaceKeyword | 91SymbolDisplayKindOptions.IncludeMemberKeyword,
Microsoft.CodeAnalysis (22)
SymbolDisplay\SymbolDisplayExtensions.cs (3)
139/// Determines if a flag is set on the <see cref="SymbolDisplayKindOptions"/> enum. 144internal static bool IncludesOption(this SymbolDisplayKindOptions options, SymbolDisplayKindOptions flag)
SymbolDisplay\SymbolDisplayFormat.cs (19)
82SymbolDisplayKindOptions.IncludeMemberKeyword, 115SymbolDisplayKindOptions.IncludeMemberKeyword, 159SymbolDisplayKindOptions.IncludeMemberKeyword, 188SymbolDisplayKindOptions.IncludeMemberKeyword, 254kindOptions: SymbolDisplayKindOptions.IncludeMemberKeyword, 323public SymbolDisplayKindOptions KindOptions { get; } 382SymbolDisplayKindOptions kindOptions = default(SymbolDisplayKindOptions), 414SymbolDisplayKindOptions kindOptions = default(SymbolDisplayKindOptions), 583/// Creates a copy of the SymbolDisplayFormat but with replaced set of <see cref="SymbolDisplayKindOptions"/>. 589/// A duplicate of the SymbolDisplayFormat, with a replaced set of <see cref="SymbolDisplayKindOptions"/>. 591public SymbolDisplayFormat WithKindOptions(SymbolDisplayKindOptions options) 609/// Creates a copy of the SymbolDisplayFormat but with an additional set of <see cref="SymbolDisplayKindOptions"/>. 615/// A duplicate of the SymbolDisplayFormat, with an additional set of <see cref="SymbolDisplayKindOptions"/>. 617public SymbolDisplayFormat AddKindOptions(SymbolDisplayKindOptions options) 623/// Creates a copy of the SymbolDisplayFormat but with a set of <see cref="SymbolDisplayKindOptions"/> stripped away from the original object. 629/// A duplicate of the SymbolDisplayFormat, with a set of <see cref="SymbolDisplayKindOptions"/> stripped away from the original object. 631public SymbolDisplayFormat RemoveKindOptions(SymbolDisplayKindOptions options)
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolDisplayFormats.cs (1)
46SymbolDisplayKindOptions.IncludeMemberKeyword,
Microsoft.CodeAnalysis.CSharp (3)
SymbolDisplay\SymbolDisplayVisitor.cs (1)
178if (IsFirstSymbolVisited && Format.KindOptions.IncludesOption(SymbolDisplayKindOptions.IncludeNamespaceKeyword))
SymbolDisplay\SymbolDisplayVisitor.Members.cs (1)
241if (Format.KindOptions.IncludesOption(SymbolDisplayKindOptions.IncludeMemberKeyword))
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
682if (IsFirstSymbolVisited && Format.KindOptions.IncludesOption(SymbolDisplayKindOptions.IncludeTypeKeyword))
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (12)
Semantics\RecordTests.cs (12)
3448.ToDisplayString(SymbolDisplayFormat.TestFormat.AddKindOptions(SymbolDisplayKindOptions.IncludeTypeKeyword))); 3479.ToDisplayString(SymbolDisplayFormat.TestFormat.AddKindOptions(SymbolDisplayKindOptions.IncludeTypeKeyword))); 3538.ToDisplayString(SymbolDisplayFormat.TestFormat.AddKindOptions(SymbolDisplayKindOptions.IncludeTypeKeyword))); 3641.ToDisplayString(SymbolDisplayFormat.TestFormat.AddKindOptions(SymbolDisplayKindOptions.IncludeTypeKeyword))); 3744.ToDisplayString(SymbolDisplayFormat.TestFormat.AddKindOptions(SymbolDisplayKindOptions.IncludeTypeKeyword))); 3857.ToDisplayString(SymbolDisplayFormat.TestFormat.AddKindOptions(SymbolDisplayKindOptions.IncludeTypeKeyword))); 3970.ToDisplayString(SymbolDisplayFormat.TestFormat.AddKindOptions(SymbolDisplayKindOptions.IncludeTypeKeyword))); 4082.ToDisplayString(SymbolDisplayFormat.TestFormat.AddKindOptions(SymbolDisplayKindOptions.IncludeTypeKeyword))); 4195.ToDisplayString(SymbolDisplayFormat.TestFormat.AddKindOptions(SymbolDisplayKindOptions.IncludeTypeKeyword))); 4603.ToDisplayString(SymbolDisplayFormat.TestFormat.AddKindOptions(SymbolDisplayKindOptions.IncludeTypeKeyword))); 4706.ToDisplayString(SymbolDisplayFormat.TestFormat.AddKindOptions(SymbolDisplayKindOptions.IncludeTypeKeyword))); 26136SymbolDisplay.ToDisplayString(symbol, SymbolDisplayFormat.TestFormat.AddKindOptions(SymbolDisplayKindOptions.IncludeTypeKeyword)));
Microsoft.CodeAnalysis.CSharp.Features (1)
LanguageServices\CSharpSymbolDisplayService.SymbolDescriptionBuilder.cs (1)
32.WithKindOptions(SymbolDisplayKindOptions.None);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\RecordStructTests.cs (2)
403Assert.Equal("record struct Point", point.ToDisplayString(SymbolDisplayFormat.TestFormat.AddKindOptions(SymbolDisplayKindOptions.IncludeTypeKeyword))); 410Assert.Equal("struct Point", point.ToDisplayString(SymbolDisplayFormat.TestFormat.AddKindOptions(SymbolDisplayKindOptions.IncludeTypeKeyword)));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (17)
SymbolDisplay\SymbolDisplayTests.cs (17)
3175SymbolDisplayKindOptions.IncludeMemberKeyword, 3651kindOptions: SymbolDisplayKindOptions.IncludeNamespaceKeyword | SymbolDisplayKindOptions.IncludeTypeKeyword, 4931kindOptions: SymbolDisplayKindOptions.IncludeMemberKeyword); 4935kindOptions: SymbolDisplayKindOptions.IncludeTypeKeyword); 4939kindOptions: SymbolDisplayKindOptions.IncludeNamespaceKeyword); 7042var format = SymbolDisplayFormat.TestFormat.AddKindOptions(SymbolDisplayKindOptions.IncludeTypeKeyword); 7080var format = SymbolDisplayFormat.TestFormat.AddKindOptions(SymbolDisplayKindOptions.IncludeTypeKeyword); 7118var format = SymbolDisplayFormat.TestFormat.AddKindOptions(SymbolDisplayKindOptions.IncludeTypeKeyword); 7689var format = SymbolDisplayFormat.TestFormat.AddKindOptions(SymbolDisplayKindOptions.IncludeTypeKeyword); 8209var format = new SymbolDisplayFormat(memberOptions: SymbolDisplayMemberOptions.IncludeType, kindOptions: SymbolDisplayKindOptions.IncludeTypeKeyword); 8230var format = new SymbolDisplayFormat(memberOptions: SymbolDisplayMemberOptions.IncludeType, kindOptions: SymbolDisplayKindOptions.IncludeTypeKeyword); 8251var format = new SymbolDisplayFormat(memberOptions: SymbolDisplayMemberOptions.IncludeType, kindOptions: SymbolDisplayKindOptions.IncludeTypeKeyword); 8274var format = new SymbolDisplayFormat(memberOptions: SymbolDisplayMemberOptions.IncludeType, kindOptions: SymbolDisplayKindOptions.IncludeTypeKeyword); 8381kindOptions: SymbolDisplayKindOptions.IncludeNamespaceKeyword | SymbolDisplayKindOptions.IncludeTypeKeyword); 8970SymbolDisplayKindOptions.IncludeMemberKeyword,
Microsoft.CodeAnalysis.Features (6)
FindUsages\FindUsagesHelpers.cs (3)
66kindOptions: SymbolDisplayKindOptions.IncludeMemberKeyword | SymbolDisplayKindOptions.IncludeNamespaceKeyword | SymbolDisplayKindOptions.IncludeTypeKeyword,
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs (3)
48SymbolDisplayKindOptions.IncludeMemberKeyword, 75kindOptions: SymbolDisplayKindOptions.IncludeNamespaceKeyword | SymbolDisplayKindOptions.IncludeTypeKeyword);
Microsoft.CodeAnalysis.VisualBasic (12)
SymbolDisplay\CustomSymbolDisplayFormatter.vb (5)
49kindOptions:=SymbolDisplayKindOptions.None, 60kindOptions:=SymbolDisplayKindOptions.IncludeTypeKeyword Or SymbolDisplayKindOptions.IncludeNamespaceKeyword, 72kindOptions:=SymbolDisplayKindOptions.IncludeTypeKeyword Or SymbolDisplayKindOptions.IncludeNamespaceKeyword,
SymbolDisplay\SymbolDisplayVisitor.Members.vb (4)
87If Format.KindOptions.IncludesOption(SymbolDisplayKindOptions.IncludeMemberKeyword) Then 128If Format.KindOptions.IncludesOption(SymbolDisplayKindOptions.IncludeMemberKeyword) Then 195If Format.KindOptions.IncludesOption(SymbolDisplayKindOptions.IncludeMemberKeyword) Then 456If Format.KindOptions.IncludesOption(SymbolDisplayKindOptions.IncludeMemberKeyword) Then
SymbolDisplay\SymbolDisplayVisitor.Types.vb (1)
429If IsFirstSymbolVisited AndAlso Format.KindOptions.IncludesOption(SymbolDisplayKindOptions.IncludeTypeKeyword) Then
SymbolDisplay\SymbolDisplayVisitor.vb (2)
203If IsFirstSymbolVisited AndAlso Format.KindOptions.IncludesOption(SymbolDisplayKindOptions.IncludeNamespaceKeyword) Then 240If containingNamespace Is Nothing AndAlso Format.KindOptions.IncludesOption(SymbolDisplayKindOptions.IncludeNamespaceKeyword) Then
Microsoft.CodeAnalysis.VisualBasic.Features (5)
CodeLens\VisualBasicDisplayInfoService.vb (1)
26SymbolDisplayKindOptions.None,
Completion\CompletionProviders\CompletionListTagCompletionProvider.vb (1)
87Dim displayFormat = SymbolDisplayFormat.MinimallyQualifiedFormat.WithMemberOptions(SymbolDisplayMemberOptions.IncludeContainingType).WithKindOptions(SymbolDisplayKindOptions.None)
NavigationBar\VisualBasicNavigationBarItemService.vb (1)
405displayFormat = displayFormat.WithKindOptions(displayFormat.KindOptions Or SymbolDisplayKindOptions.IncludeMemberKeyword)
SignatureHelp\AbstractOrdinaryMethodSignatureHelpProvider.vb (1)
42format = format.RemoveKindOptions(SymbolDisplayKindOptions.IncludeMemberKeyword)
SignatureHelp\RaiseEventStatementSignatureHelpProvider.vb (1)
141format = format.RemoveKindOptions(SymbolDisplayKindOptions.IncludeMemberKeyword)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (36)
SymbolDisplay\SymbolDisplayTests.vb (36)
225kindOptions:=SymbolDisplayKindOptions.IncludeTypeKeyword) 258kindOptions:=SymbolDisplayKindOptions.IncludeTypeKeyword) 296kindOptions:=SymbolDisplayKindOptions.IncludeNamespaceKeyword) 328kindOptions:=SymbolDisplayKindOptions.IncludeNamespaceKeyword) 361kindOptions:=SymbolDisplayKindOptions.IncludeMemberKeyword, 421kindOptions:=SymbolDisplayKindOptions.IncludeMemberKeyword, 483kindOptions:=SymbolDisplayKindOptions.IncludeMemberKeyword, 551kindOptions:=SymbolDisplayKindOptions.IncludeMemberKeyword, 607kindOptions:=SymbolDisplayKindOptions.IncludeMemberKeyword, 678kindOptions:=SymbolDisplayKindOptions.IncludeMemberKeyword, 749kindOptions:=SymbolDisplayKindOptions.IncludeMemberKeyword, 815kindOptions:=SymbolDisplayKindOptions.IncludeMemberKeyword, 874kindOptions:=SymbolDisplayKindOptions.IncludeMemberKeyword, 1088kindOptions:=SymbolDisplayKindOptions.IncludeMemberKeyword, 1118kindOptions:=SymbolDisplayKindOptions.IncludeMemberKeyword, 1146kindOptions:=SymbolDisplayKindOptions.IncludeMemberKeyword, 1554kindOptions:=SymbolDisplayKindOptions.IncludeMemberKeyword, 1867kindOptions:=SymbolDisplayKindOptions.IncludeMemberKeyword) 1907kindOptions:=SymbolDisplayKindOptions.IncludeMemberKeyword) 1988kindOptions:=SymbolDisplayKindOptions.IncludeMemberKeyword) 2451kindOptions:=SymbolDisplayKindOptions.IncludeMemberKeyword, 2508kindOptions:=SymbolDisplayKindOptions.IncludeMemberKeyword, 2589kindOptions:=SymbolDisplayKindOptions.IncludeMemberKeyword, 2674kindOptions:=SymbolDisplayKindOptions.IncludeMemberKeyword, 3279kindOptions:=SymbolDisplayKindOptions.IncludeMemberKeyword) 3319kindOptions:=SymbolDisplayKindOptions.IncludeMemberKeyword) 3469kindOptions:=SymbolDisplayKindOptions.IncludeMemberKeyword, 3528kindOptions:=SymbolDisplayKindOptions.IncludeMemberKeyword, 3604kindOptions:=SymbolDisplayKindOptions.IncludeMemberKeyword, 4107kindOptions:=SymbolDisplayKindOptions.IncludeMemberKeyword Or SymbolDisplayKindOptions.IncludeNamespaceKeyword Or SymbolDisplayKindOptions.IncludeTypeKeyword, 4741kindOptions:=SymbolDisplayKindOptions.IncludeMemberKeyword, 5540kindOptions:=SymbolDisplayKindOptions.IncludeNamespaceKeyword Or SymbolDisplayKindOptions.IncludeTypeKeyword) 5777SymbolDisplayKindOptions.IncludeMemberKeyword,
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolDisplayFormats.cs (1)
46SymbolDisplayKindOptions.IncludeMemberKeyword,
Microsoft.VisualStudio.LanguageServices (1)
Utilities\SymbolViewModel.cs (1)
30kindOptions: SymbolDisplayKindOptions.IncludeTypeKeyword,