452 references to SymbolDisplayMiscellaneousOptions
ConfigurationSchemaGenerator (2)
Microsoft.Analyzers.Local (8)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (1)
Microsoft.CodeAnalysis (57)
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 (14)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (18)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (115)
SymbolDisplay\SymbolDisplayTests.cs (114)
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);
2593miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
2667typeQualificationStyle: SymbolDisplayTypeQualificationStyle.NameAndContainingTypesAndNamespaces, miscellaneousOptions: SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers);
2698typeQualificationStyle: SymbolDisplayTypeQualificationStyle.NameAndContainingTypesAndNamespaces, miscellaneousOptions: SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers);
3017SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
3018SymbolDisplayMiscellaneousOptions.UseSpecialTypes |
3019SymbolDisplayMiscellaneousOptions.UseErrorTypeSymbolName |
3020SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier |
3021SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral);
3039new SymbolDisplayFormat(miscellaneousOptions: SymbolDisplayMiscellaneousOptions.RemoveAttributeSuffix),
3062new SymbolDisplayFormat(miscellaneousOptions: SymbolDisplayMiscellaneousOptions.RemoveAttributeSuffix),
3083new SymbolDisplayFormat(miscellaneousOptions: SymbolDisplayMiscellaneousOptions.RemoveAttributeSuffix),
3135miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes,
3264miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes,
3325miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes,
3386miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes,
3541SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
3542SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
3595SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
3596SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
3647SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
3648SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
3695SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
3696SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
3776SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
3777SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
3850SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
3851SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
3962SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
3963SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
4072SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
4073SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
4176SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
4177SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
4671miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
5206var format = new SymbolDisplayFormat(memberOptions: SymbolDisplayMemberOptions.IncludeType, miscellaneousOptions: SymbolDisplayMiscellaneousOptions.CollapseTupleTypes);
5306miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
5357miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
5407miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
5506miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
5710miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
5926miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes | SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier);
5929.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier | SymbolDisplayMiscellaneousOptions.IncludeNotNullableReferenceTypeModifier)
5998miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
6001.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier)
6065miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
6066var formatWithNullableModifier = formatWithoutModifiers.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier);
6067var formatWithBothModifiers = formatWithNullableModifier.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.IncludeNotNullableReferenceTypeModifier);
6150Assert.False(formatWithoutAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral));
6151var formatWithAllowDefaultLiteral = formatWithoutAllowDefaultLiteral.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral);
6152Assert.True(formatWithAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral));
6186miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
6187var formatWithNullableModifier = formatWithoutModifiers.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier);
6188var formatWithBothModifiers = formatWithNullableModifier.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.IncludeNotNullableReferenceTypeModifier);
6225miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes | SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier);
6277Assert.False(formatWithoutAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral));
6278var formatWithAllowDefaultLiteral = formatWithoutAllowDefaultLiteral.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral);
6279Assert.True(formatWithAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral));
6321Assert.False(formatWithoutAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral));
6322var formatWithAllowDefaultLiteral = formatWithoutAllowDefaultLiteral.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral);
6323Assert.True(formatWithAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral));
6348miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
6351SymbolDisplayMiscellaneousOptions.ExpandValueTuple);
6459miscellaneousOptions: SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers | SymbolDisplayMiscellaneousOptions.UseSpecialTypes,
6985.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
7070.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
7330.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
7483.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
8001method.ToDisplayParts(formatWithoutOptions.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.UseSpecialTypes)),
8208miscellaneousOptions: SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers | SymbolDisplayMiscellaneousOptions.UseSpecialTypes,
8812SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
8813SymbolDisplayMiscellaneousOptions.UseSpecialTypes |
8814SymbolDisplayMiscellaneousOptions.UseErrorTypeSymbolName |
8815SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier |
8816SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral |
8817SymbolDisplayMiscellaneousOptions.CollapseTupleTypes);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (3)
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
Microsoft.CodeAnalysis.Features (38)
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 (53)
SymbolDisplay\SymbolDisplayTests.vb (53)
363miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
381miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
423miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
485miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
553miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
609miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
680miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
751miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
817miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
876miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
972miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
1032miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1052miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1070miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1091miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1121miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1149miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers Or SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
1176miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1191miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1236miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1252miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1279miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1454miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1481miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
1513miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.None)
3095miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes,
3473SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
3530SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
3916TestSymbolDescription(text, findSymbol, New SymbolDisplayFormat(miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.RemoveAttributeSuffix),
3942New SymbolDisplayFormat(miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.RemoveAttributeSuffix),
3967New SymbolDisplayFormat(miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.RemoveAttributeSuffix),
3991New SymbolDisplayFormat(miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.RemoveAttributeSuffix),
4745miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
4935Assert.False(formatWithoutAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral))
4936Dim formatWithAllowDefaultLiteral = formatWithoutAllowDefaultLiteral.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral)
4937Assert.True(formatWithAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral))
4982Dim format = New SymbolDisplayFormat(memberOptions:=SymbolDisplayMemberOptions.IncludeType, miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.CollapseTupleTypes)
5072miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes),
5117miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes),
5165miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
5203miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
5353miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
5539miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers Or SymbolDisplayMiscellaneousOptions.UseSpecialTypes,
5791SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers Or
5792SymbolDisplayMiscellaneousOptions.UseSpecialTypes Or
5793SymbolDisplayMiscellaneousOptions.UseErrorTypeSymbolName Or
5794SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier Or
5795SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral Or
5796SymbolDisplayMiscellaneousOptions.CollapseTupleTypes)
5917miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
5920SymbolDisplayMiscellaneousOptions.ExpandValueTuple)
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.Metrics (2)
Microsoft.Gen.MetricsReports (2)
Microsoft.VisualStudio.LanguageServices (27)
Microsoft.VisualStudio.LanguageServices.CSharp (13)
Microsoft.VisualStudio.LanguageServices.VisualBasic (17)