32 references to IncludesOption
Microsoft.CodeAnalysis.CSharp (16)
SymbolDisplay\SymbolDisplayVisitor.cs (1)
29
_escapeKeywordIdentifiers = format.MiscellaneousOptions.
IncludesOption
(SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers);
SymbolDisplay\SymbolDisplayVisitor.Types.cs (10)
87
if (format.MiscellaneousOptions.
IncludesOption
(SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier) &&
95
if (format.MiscellaneousOptions.
IncludesOption
(SymbolDisplayMiscellaneousOptions.IncludeNotNullableReferenceTypeModifier) &&
109
bool insertStars = format.MiscellaneousOptions.
IncludesOption
(SymbolDisplayMiscellaneousOptions.UseAsterisksInMultiDimensionalArrays);
204
if (format.MiscellaneousOptions.
IncludesOption
(SymbolDisplayMiscellaneousOptions.UseSpecialTypes) ||
214
if (!format.MiscellaneousOptions.
IncludesOption
(SymbolDisplayMiscellaneousOptions.ExpandNullable))
309
if (format.MiscellaneousOptions.
IncludesOption
(SymbolDisplayMiscellaneousOptions.ExpandValueTuple))
368
if (format.MiscellaneousOptions.
IncludesOption
(SymbolDisplayMiscellaneousOptions.UseErrorTypeSymbolName) &&
535
if (this.format.MiscellaneousOptions.
IncludesOption
(SymbolDisplayMiscellaneousOptions.CollapseTupleTypes))
869
if (format.MiscellaneousOptions.
IncludesOption
(SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier))
876
if (format.MiscellaneousOptions.
IncludesOption
(SymbolDisplayMiscellaneousOptions.IncludeNotNullableReferenceTypeModifier))
SymbolDisplay\SymbolDisplayVisitor_Constants.cs (1)
27
if (!format.MiscellaneousOptions.
IncludesOption
(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral))
SymbolDisplay\SymbolDisplayVisitor_Minimal.cs (1)
268
format.MiscellaneousOptions.
IncludesOption
(SymbolDisplayMiscellaneousOptions.RemoveAttributeSuffix) &&
Symbols\TypeWithAnnotations.cs (3)
284
format.MiscellaneousOptions.
IncludesOption
(SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier))
297
format.MiscellaneousOptions.
IncludesOption
(SymbolDisplayMiscellaneousOptions.IncludeNullableReferenceTypeModifier) &&
303
format.MiscellaneousOptions.
IncludesOption
(SymbolDisplayMiscellaneousOptions.IncludeNotNullableReferenceTypeModifier) &&
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (6)
SymbolDisplay\SymbolDisplayTests.cs (6)
6014
Assert.False(formatWithoutAllowDefaultLiteral.MiscellaneousOptions.
IncludesOption
(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral));
6016
Assert.True(formatWithAllowDefaultLiteral.MiscellaneousOptions.
IncludesOption
(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral));
6141
Assert.False(formatWithoutAllowDefaultLiteral.MiscellaneousOptions.
IncludesOption
(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral));
6143
Assert.True(formatWithAllowDefaultLiteral.MiscellaneousOptions.
IncludesOption
(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral));
6185
Assert.False(formatWithoutAllowDefaultLiteral.MiscellaneousOptions.
IncludesOption
(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral));
6187
Assert.True(formatWithAllowDefaultLiteral.MiscellaneousOptions.
IncludesOption
(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral));
Microsoft.CodeAnalysis.VisualBasic (8)
SymbolDisplay\SymbolDisplayVisitor.Types.vb (6)
46
Dim insertStars As Boolean = format.MiscellaneousOptions.
IncludesOption
(SymbolDisplayMiscellaneousOptions.UseAsterisksInMultiDimensionalArrays)
94
If format.MiscellaneousOptions.
IncludesOption
(SymbolDisplayMiscellaneousOptions.UseSpecialTypes) Then
99
If Not format.MiscellaneousOptions.
IncludesOption
(SymbolDisplayMiscellaneousOptions.ExpandNullable) Then
245
If format.MiscellaneousOptions.
IncludesOption
(SymbolDisplayMiscellaneousOptions.UseErrorTypeSymbolName) AndAlso
315
If format.MiscellaneousOptions.
IncludesOption
(SymbolDisplayMiscellaneousOptions.ExpandValueTuple) Then
378
If Me.format.MiscellaneousOptions.
IncludesOption
(SymbolDisplayMiscellaneousOptions.CollapseTupleTypes) Then
SymbolDisplay\SymbolDisplayVisitor.vb (1)
31
Me._escapeKeywordIdentifiers = format.MiscellaneousOptions.
IncludesOption
(SymbolDisplayMiscellaneousOptions.EscapeKeywordIdentifiers)
SymbolDisplay\SymbolDisplayVisitor_Minimal.vb (1)
190
If format.MiscellaneousOptions.
IncludesOption
(SymbolDisplayMiscellaneousOptions.RemoveAttributeSuffix) AndAlso IsDerivedFromAttributeType(symbol) Then
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (2)
SymbolDisplay\SymbolDisplayTests.vb (2)
4934
Assert.False(formatWithoutAllowDefaultLiteral.MiscellaneousOptions.
IncludesOption
(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral))
4936
Assert.True(formatWithAllowDefaultLiteral.MiscellaneousOptions.
IncludesOption
(SymbolDisplayMiscellaneousOptions.AllowDefaultLiteral))