20 references to AllowDefaultLiteral
Microsoft.CodeAnalysis.CSharp (1)
SymbolDisplay\SymbolDisplayVisitor_Constants.cs (1)
25
if (!Format.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
))
Microsoft.CodeAnalysis.CSharp.Features (2)
NavigationBar\CSharpNavigationBarItemService.cs (1)
39
SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
|
SignatureHelp\AbstractCSharpSignatureHelpProvider.cs (1)
16
.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (11)
SymbolDisplay\SymbolDisplayTests.cs (11)
3193
SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
);
6322
Assert.False(formatWithoutAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
));
6323
var formatWithAllowDefaultLiteral = formatWithoutAllowDefaultLiteral.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
);
6324
Assert.True(formatWithAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
));
6449
Assert.False(formatWithoutAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
));
6450
var formatWithAllowDefaultLiteral = formatWithoutAllowDefaultLiteral.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
);
6451
Assert.True(formatWithAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
));
6493
Assert.False(formatWithoutAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
));
6494
var formatWithAllowDefaultLiteral = formatWithoutAllowDefaultLiteral.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
);
6495
Assert.True(formatWithAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
));
8988
SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
|
Microsoft.CodeAnalysis.Features (2)
InlineHints\AbstractInlineTypeHintsService.cs (1)
20
miscellaneousOptions: SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
| SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier | SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs (1)
66
SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
|
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (4)
SymbolDisplay\SymbolDisplayTests.vb (4)
4935
Assert.False(formatWithoutAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
))
4936
Dim formatWithAllowDefaultLiteral = formatWithoutAllowDefaultLiteral.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
)
4937
Assert.True(formatWithAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
))
5795
SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
Or