20 references to AllowDefaultLiteral
Microsoft.CodeAnalysis.CSharp (1)
SymbolDisplay\SymbolDisplayVisitor_Constants.cs (1)
27
if (!format.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
))
Microsoft.CodeAnalysis.CSharp.Features (2)
NavigationBar\CSharpNavigationBarItemService.cs (1)
40
SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
|
SignatureHelp\AbstractCSharpSignatureHelpProvider.cs (1)
27
.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (11)
SymbolDisplay\SymbolDisplayTests.cs (11)
2885
SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
);
6014
Assert.False(formatWithoutAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
));
6015
var formatWithAllowDefaultLiteral = formatWithoutAllowDefaultLiteral.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
);
6016
Assert.True(formatWithAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
));
6141
Assert.False(formatWithoutAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
));
6142
var formatWithAllowDefaultLiteral = formatWithoutAllowDefaultLiteral.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
);
6143
Assert.True(formatWithAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
));
6185
Assert.False(formatWithoutAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
));
6186
var formatWithAllowDefaultLiteral = formatWithoutAllowDefaultLiteral.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
);
6187
Assert.True(formatWithAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
));
8613
SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
|
Microsoft.CodeAnalysis.Features (2)
InlineHints\AbstractInlineTypeHintsService.cs (1)
29
miscellaneousOptions: SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
| SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier | SymbolDisplayMiscellaneousOptions.UseSpecialTypes);
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs (1)
70
SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
|
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (4)
SymbolDisplay\SymbolDisplayTests.vb (4)
4934
Assert.False(formatWithoutAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
))
4935
Dim formatWithAllowDefaultLiteral = formatWithoutAllowDefaultLiteral.AddMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
)
4936
Assert.True(formatWithAllowDefaultLiteral.MiscellaneousOptions.IncludesOption(SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
))
5766
SymbolDisplayMiscellaneousOptions.
AllowDefaultLiteral
Or