548 references to SymbolDisplayMiscellaneousOptions
ConfigurationSchemaGenerator (2)
GenerateDocumentationAndConfigFiles (7)
Metrics (7)
Metrics.Legacy (7)
Microsoft.Analyzers.Local (8)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (1)
Microsoft.CodeAnalysis (57)
Microsoft.CodeAnalysis.Analyzers (7)
Microsoft.CodeAnalysis.AnalyzerUtilities (7)
Microsoft.CodeAnalysis.BannedApiAnalyzers (7)
Microsoft.CodeAnalysis.CodeStyle (4)
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
Microsoft.CodeAnalysis.CSharp (25)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (6)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.Features (12)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (18)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (118)
SymbolDisplay\SymbolDisplayTests.cs (117)
262miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
300miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
358miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
423miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
479miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
547miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
612miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
668miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
765miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
804miscellaneousOptions: SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers | SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
837miscellaneousOptions: SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers | SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
876miscellaneousOptions: SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers | SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
911miscellaneousOptions: SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers | SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
946miscellaneousOptions: SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers | SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
981miscellaneousOptions: SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers | SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
1016miscellaneousOptions: SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers | SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
1070miscellaneousOptions: SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers | SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
1111miscellaneousOptions: SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers | SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
1157miscellaneousOptions: SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers | SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
1186miscellaneousOptions: SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers | SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
1218miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
1385miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
1411miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseAsterisksInMultiDimensionalArrays);
2294miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
2367miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
2396miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
2880miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
2954typeQualificationStyle: SymbolDisplayTypeQualificationStyle.NameAndContainingTypesAndNamespaces, miscellaneousOptions: SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers);
2985typeQualificationStyle: SymbolDisplayTypeQualificationStyle.NameAndContainingTypesAndNamespaces, miscellaneousOptions: SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers);
3304SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
3305SymbolDisplayMiscellaneousOptions.UseSpecialTypes |
3306SymbolDisplayMiscellaneousOptions.UseErrorTypeSymbolName |
3307SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier |
3308SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral);
3326new SymbolDisplayFormat(miscellaneousOptions: SymbolDisplayMiscellaneousOptions.RemoveAttributeSuffix),
3349new SymbolDisplayFormat(miscellaneousOptions: SymbolDisplayMiscellaneousOptions.RemoveAttributeSuffix),
3370new SymbolDisplayFormat(miscellaneousOptions: SymbolDisplayMiscellaneousOptions.RemoveAttributeSuffix),
3422miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes,
3551miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes,
3612miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes,
3673miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes,
3828SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
3829SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
3882SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
3883SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
3934SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
3935SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
3982SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
3983SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
4063SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
4064SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
4137SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
4138SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
4249SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
4250SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
4359SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
4360SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
4463SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
4464SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
4958miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
5493var format = new SymbolDisplayFormat(memberOptions: SymbolDisplayMemberOptions.IncludeType, miscellaneousOptions: SymbolDisplayMiscellaneousOptions.CollapseTupleTypes);
5593miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
5644miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
5694miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
5793miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
5997miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
6213miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes | SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier);
6216.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier | SymbolDisplayMiscellaneousOptions.IncludeNotNullableReferenceTypeModifier)
6285miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
6288.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier)
6352miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
6353var formatWithNullableModifier = formatWithoutModifiers.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier);
6354var formatWithBothModifiers = formatWithNullableModifier.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.IncludeNotNullableReferenceTypeModifier);
6437Assert.False(formatWithoutAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral));
6438var formatWithAllowDefaultLiteral = formatWithoutAllowDefaultLiteral.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral);
6439Assert.True(formatWithAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral));
6473miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
6474var formatWithNullableModifier = formatWithoutModifiers.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier);
6475var formatWithBothModifiers = formatWithNullableModifier.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.IncludeNotNullableReferenceTypeModifier);
6512miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes | SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier);
6564Assert.False(formatWithoutAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral));
6565var formatWithAllowDefaultLiteral = formatWithoutAllowDefaultLiteral.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral);
6566Assert.True(formatWithAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral));
6608Assert.False(formatWithoutAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral));
6609var formatWithAllowDefaultLiteral = formatWithoutAllowDefaultLiteral.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral);
6610Assert.True(formatWithAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral));
6635miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
6638SymbolDisplayMiscellaneousOptions.ExpandValueTuple);
6746miscellaneousOptions: SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers | SymbolDisplayMiscellaneousOptions.UseSpecialTypes,
7272.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
7357.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
7617.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
7770.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
8288method.ToDisplayParts(formatWithoutOptions.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.UseSpecialTypes)),
8495miscellaneousOptions: SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers | SymbolDisplayMiscellaneousOptions.UseSpecialTypes,
9099SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
9100SymbolDisplayMiscellaneousOptions.UseSpecialTypes |
9101SymbolDisplayMiscellaneousOptions.UseErrorTypeSymbolName |
9102SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier |
9103SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral |
9104SymbolDisplayMiscellaneousOptions.CollapseTupleTypes);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (3)
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (2)
Microsoft.CodeAnalysis.Extensions.Package (4)
Microsoft.CodeAnalysis.Features (36)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (7)
Microsoft.CodeAnalysis.PublicApiAnalyzers (12)
Microsoft.CodeAnalysis.ResxSourceGenerator (7)
Microsoft.CodeAnalysis.VisualBasic (10)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (2)
Microsoft.CodeAnalysis.VisualBasic.ExpressionCompiler (2)
Microsoft.CodeAnalysis.VisualBasic.Features (11)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (56)
SymbolDisplay\SymbolDisplayTests.vb (56)
361miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
379miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
421miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
483miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
551miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
607miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
678miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
749miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
815miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
874miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
970miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
1030miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1050miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1068miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1089miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1119miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1147miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers Or SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
1174miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1189miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1234miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1250miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1277miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1452miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1479miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
1511miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.None)
3093miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes,
3471SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
3528SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
3914TestSymbolDescription(text, findSymbol, New SymbolDisplayFormat(miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.RemoveAttributeSuffix),
3940New SymbolDisplayFormat(miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.RemoveAttributeSuffix),
3965New SymbolDisplayFormat(miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.RemoveAttributeSuffix),
3989New SymbolDisplayFormat(miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.RemoveAttributeSuffix),
4743miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
4933Assert.False(formatWithoutAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral))
4934Dim formatWithAllowDefaultLiteral = formatWithoutAllowDefaultLiteral.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral)
4935Assert.True(formatWithAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral))
4980Dim format = New SymbolDisplayFormat(memberOptions:=SymbolDisplayMemberOptions.IncludeType, miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.CollapseTupleTypes)
5070miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes),
5115miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes),
5163miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
5201miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
5351miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
5537miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers Or SymbolDisplayMiscellaneousOptions.UseSpecialTypes,
5789SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers Or
5790SymbolDisplayMiscellaneousOptions.UseSpecialTypes Or
5791SymbolDisplayMiscellaneousOptions.UseErrorTypeSymbolName Or
5792SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier Or
5793SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral Or
5794SymbolDisplayMiscellaneousOptions.CollapseTupleTypes)
5915miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
5918SymbolDisplayMiscellaneousOptions.ExpandValueTuple)
6010miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
6057miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
6112miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (2)
Microsoft.CodeAnalysis.Workspaces (5)
Microsoft.DotNet.CodeAnalysis (1)
Microsoft.Extensions.Logging.Generators (1)
Microsoft.Extensions.Options.SourceGeneration (1)
Microsoft.Gen.Logging (2)
Microsoft.Gen.MetadataExtractor (2)
Microsoft.Gen.Metrics (2)
Microsoft.Gen.MetricsReports (2)
Microsoft.VisualStudio.LanguageServices (27)
Microsoft.VisualStudio.LanguageServices.CSharp (11)
Microsoft.VisualStudio.LanguageServices.VisualBasic (15)
Roslyn.Diagnostics.Analyzers (7)
Roslyn.Diagnostics.VisualBasic.Analyzers (2)
Test.Utilities (7)
Text.Analyzers (7)