457 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 (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);
2179miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
2252miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
2281miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
2765miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
2839typeQualificationStyle: SymbolDisplayTypeQualificationStyle.NameAndContainingTypesAndNamespaces, miscellaneousOptions: SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers);
2870typeQualificationStyle: SymbolDisplayTypeQualificationStyle.NameAndContainingTypesAndNamespaces, miscellaneousOptions: SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers);
3189SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
3190SymbolDisplayMiscellaneousOptions.UseSpecialTypes |
3191SymbolDisplayMiscellaneousOptions.UseErrorTypeSymbolName |
3192SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier |
3193SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral);
3211new SymbolDisplayFormat(miscellaneousOptions: SymbolDisplayMiscellaneousOptions.RemoveAttributeSuffix),
3234new SymbolDisplayFormat(miscellaneousOptions: SymbolDisplayMiscellaneousOptions.RemoveAttributeSuffix),
3255new SymbolDisplayFormat(miscellaneousOptions: SymbolDisplayMiscellaneousOptions.RemoveAttributeSuffix),
3307miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes,
3436miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes,
3497miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes,
3558miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes,
3713SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
3714SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
3767SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
3768SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
3819SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
3820SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
3867SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
3868SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
3948SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
3949SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
4022SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
4023SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
4134SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
4135SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
4244SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
4245SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
4348SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
4349SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
4843miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
5378var format = new SymbolDisplayFormat(memberOptions: SymbolDisplayMemberOptions.IncludeType, miscellaneousOptions: SymbolDisplayMiscellaneousOptions.CollapseTupleTypes);
5478miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
5529miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
5579miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
5678miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
5882miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
6098miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes | SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier);
6101.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier | SymbolDisplayMiscellaneousOptions.IncludeNotNullableReferenceTypeModifier)
6170miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
6173.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier)
6237miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
6238var formatWithNullableModifier = formatWithoutModifiers.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier);
6239var formatWithBothModifiers = formatWithNullableModifier.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.IncludeNotNullableReferenceTypeModifier);
6322Assert.False(formatWithoutAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral));
6323var formatWithAllowDefaultLiteral = formatWithoutAllowDefaultLiteral.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral);
6324Assert.True(formatWithAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral));
6358miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
6359var formatWithNullableModifier = formatWithoutModifiers.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier);
6360var formatWithBothModifiers = formatWithNullableModifier.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.IncludeNotNullableReferenceTypeModifier);
6397miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes | SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier);
6449Assert.False(formatWithoutAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral));
6450var formatWithAllowDefaultLiteral = formatWithoutAllowDefaultLiteral.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral);
6451Assert.True(formatWithAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral));
6493Assert.False(formatWithoutAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral));
6494var formatWithAllowDefaultLiteral = formatWithoutAllowDefaultLiteral.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral);
6495Assert.True(formatWithAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral));
6520miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
6523SymbolDisplayMiscellaneousOptions.ExpandValueTuple);
6631miscellaneousOptions: SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers | SymbolDisplayMiscellaneousOptions.UseSpecialTypes,
7157.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
7242.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
7502.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
7655.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
8173method.ToDisplayParts(formatWithoutOptions.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.UseSpecialTypes)),
8380miscellaneousOptions: SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers | SymbolDisplayMiscellaneousOptions.UseSpecialTypes,
8984SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
8985SymbolDisplayMiscellaneousOptions.UseSpecialTypes |
8986SymbolDisplayMiscellaneousOptions.UseErrorTypeSymbolName |
8987SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier |
8988SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral |
8989SymbolDisplayMiscellaneousOptions.CollapseTupleTypes);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (3)
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (2)
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 (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.Metrics (2)
Microsoft.Gen.MetricsReports (2)
Microsoft.VisualStudio.LanguageServices (27)
Microsoft.VisualStudio.LanguageServices.CSharp (13)
Microsoft.VisualStudio.LanguageServices.VisualBasic (17)