424 references to SymbolDisplayMiscellaneousOptions
Microsoft.CodeAnalysis (56)
Microsoft.CodeAnalysis.CodeStyle (4)
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp (25)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (10)
Microsoft.CodeAnalysis.CSharp.Features (14)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (18)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (107)
SymbolDisplay\SymbolDisplayTests.cs (106)
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.UseSpecialTypes);
1278miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
1304miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseAsterisksInMultiDimensionalArrays);
2486miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
2881SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
2882SymbolDisplayMiscellaneousOptions.UseSpecialTypes |
2883SymbolDisplayMiscellaneousOptions.UseErrorTypeSymbolName |
2884SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier |
2885SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral);
2903new SymbolDisplayFormat(miscellaneousOptions: SymbolDisplayMiscellaneousOptions.RemoveAttributeSuffix),
2926new SymbolDisplayFormat(miscellaneousOptions: SymbolDisplayMiscellaneousOptions.RemoveAttributeSuffix),
2947new SymbolDisplayFormat(miscellaneousOptions: SymbolDisplayMiscellaneousOptions.RemoveAttributeSuffix),
2999miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes,
3128miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes,
3189miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes,
3250miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes,
3405SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
3406SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
3459SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
3460SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
3511SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
3512SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
3559SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
3560SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
3640SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
3641SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
3714SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
3715SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
3826SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
3827SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
3936SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
3937SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
4040SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
4041SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
4535miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
5070var format = new SymbolDisplayFormat(memberOptions: SymbolDisplayMemberOptions.IncludeType, miscellaneousOptions: SymbolDisplayMiscellaneousOptions.CollapseTupleTypes);
5170miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
5221miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
5271miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
5370miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
5574miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
5790miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes | SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier);
5793.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier | SymbolDisplayMiscellaneousOptions.IncludeNotNullableReferenceTypeModifier)
5862miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
5865.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier)
5929miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
5930var formatWithNullableModifier = formatWithoutModifiers.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier);
5931var formatWithBothModifiers = formatWithNullableModifier.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.IncludeNotNullableReferenceTypeModifier);
6014Assert.False(formatWithoutAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral));
6015var formatWithAllowDefaultLiteral = formatWithoutAllowDefaultLiteral.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral);
6016Assert.True(formatWithAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral));
6050miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
6051var formatWithNullableModifier = formatWithoutModifiers.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier);
6052var formatWithBothModifiers = formatWithNullableModifier.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.IncludeNotNullableReferenceTypeModifier);
6089miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes | SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier);
6141Assert.False(formatWithoutAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral));
6142var formatWithAllowDefaultLiteral = formatWithoutAllowDefaultLiteral.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral);
6143Assert.True(formatWithAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral));
6185Assert.False(formatWithoutAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral));
6186var formatWithAllowDefaultLiteral = formatWithoutAllowDefaultLiteral.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral);
6187Assert.True(formatWithAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral));
6212miscellaneousOptions: SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
6215SymbolDisplayMiscellaneousOptions.ExpandValueTuple);
6323miscellaneousOptions: SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers | SymbolDisplayMiscellaneousOptions.UseSpecialTypes,
6849.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
6934.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
7194.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
7347.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
7865method.ToDisplayParts(formatWithoutOptions.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.UseSpecialTypes)),
8072miscellaneousOptions: SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers | SymbolDisplayMiscellaneousOptions.UseSpecialTypes,
8609SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers |
8610SymbolDisplayMiscellaneousOptions.UseSpecialTypes |
8611SymbolDisplayMiscellaneousOptions.UseErrorTypeSymbolName |
8612SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier |
8613SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral |
8614SymbolDisplayMiscellaneousOptions.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.ExpressionEvaluator.ExpressionCompiler (2)
Microsoft.CodeAnalysis.VisualBasic.Features (11)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (53)
SymbolDisplay\SymbolDisplayTests.vb (53)
362miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
380miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
422miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
484miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
552miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
608miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
679miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
750miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
816miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
875miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
971miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
1031miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1051miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1069miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1090miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1120miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1148miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers Or SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
1175miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1190miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1235miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1251miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1278miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1453miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
1480miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
1512miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.None)
3094miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes,
3472SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
3529SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
3915TestSymbolDescription(text, findSymbol, New SymbolDisplayFormat(miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.RemoveAttributeSuffix),
3941New SymbolDisplayFormat(miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.RemoveAttributeSuffix),
3966New SymbolDisplayFormat(miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.RemoveAttributeSuffix),
3990New SymbolDisplayFormat(miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.RemoveAttributeSuffix),
4744miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
4934Assert.False(formatWithoutAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral))
4935Dim formatWithAllowDefaultLiteral = formatWithoutAllowDefaultLiteral.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral)
4936Assert.True(formatWithAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral))
4981Dim format = New SymbolDisplayFormat(memberOptions:=SymbolDisplayMemberOptions.IncludeType, miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.CollapseTupleTypes)
5071miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes),
5116miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes),
5164miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
5202miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
5324miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
5510miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers Or SymbolDisplayMiscellaneousOptions.UseSpecialTypes,
5762SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers Or
5763SymbolDisplayMiscellaneousOptions.UseSpecialTypes Or
5764SymbolDisplayMiscellaneousOptions.UseErrorTypeSymbolName Or
5765SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier Or
5766SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral Or
5767SymbolDisplayMiscellaneousOptions.CollapseTupleTypes)
5888miscellaneousOptions:=SymbolDisplayMiscellaneousOptions.UseSpecialTypes)
5891SymbolDisplayMiscellaneousOptions.ExpandValueTuple)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (2)
Microsoft.CodeAnalysis.Workspaces (5)
Microsoft.VisualStudio.LanguageServices (27)
Microsoft.VisualStudio.LanguageServices.CSharp (13)
Microsoft.VisualStudio.LanguageServices.Implementation (2)
Microsoft.VisualStudio.LanguageServices.VisualBasic (17)