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)
3021
SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
);
6150
Assert.False(formatWithoutAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
));
6151
var formatWithAllowDefaultLiteral = formatWithoutAllowDefaultLiteral.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
);
6152
Assert.True(formatWithAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
));
6277
Assert.False(formatWithoutAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
));
6278
var formatWithAllowDefaultLiteral = formatWithoutAllowDefaultLiteral.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
);
6279
Assert.True(formatWithAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
));
6321
Assert.False(formatWithoutAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
));
6322
var formatWithAllowDefaultLiteral = formatWithoutAllowDefaultLiteral.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
);
6323
Assert.True(formatWithAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
));
8816
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