455 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 (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.Features (36)
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 (54)
SymbolDisplay\SymbolDisplayTests.vb (54)
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)
6012miscellaneousOptions:=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 (13)
Microsoft.VisualStudio.LanguageServices.VisualBasic (17)