79 references to SymbolDisplayLocalOptions
GenerateDocumentationAndConfigFiles (2)
src\RoslynAnalyzers\Utilities\Compiler\SymbolDisplayFormats.cs (2)
20
SymbolDisplayLocalOptions
.IncludeType,
33
SymbolDisplayLocalOptions
.IncludeType,
Metrics (2)
src\RoslynAnalyzers\Utilities\Compiler\SymbolDisplayFormats.cs (2)
20
SymbolDisplayLocalOptions
.IncludeType,
33
SymbolDisplayLocalOptions
.IncludeType,
Metrics.Legacy (2)
src\RoslynAnalyzers\Utilities\Compiler\SymbolDisplayFormats.cs (2)
20
SymbolDisplayLocalOptions
.IncludeType,
33
SymbolDisplayLocalOptions
.IncludeType,
Microsoft.CodeAnalysis (19)
SymbolDisplay\SymbolDisplayExtensions.cs (3)
150
/// Determines if a flag is set on the <see cref="
SymbolDisplayLocalOptions
"/> enum.
155
internal static bool IncludesOption(this
SymbolDisplayLocalOptions
options,
SymbolDisplayLocalOptions
flag)
SymbolDisplay\SymbolDisplayFormat.cs (16)
165
localOptions:
SymbolDisplayLocalOptions
.IncludeType,
179
localOptions:
SymbolDisplayLocalOptions
.IncludeType,
319
public
SymbolDisplayLocalOptions
LocalOptions { get; }
382
SymbolDisplayLocalOptions
localOptions = default(
SymbolDisplayLocalOptions
),
414
SymbolDisplayLocalOptions
localOptions = default(
SymbolDisplayLocalOptions
),
714
/// Creates a copy of the SymbolDisplayFormat but with replaced set of <see cref="
SymbolDisplayLocalOptions
"/>.
719
/// <returns>A duplicate of the SymbolDisplayFormat, with a replaced set of <see cref="
SymbolDisplayLocalOptions
"/>.</returns>
720
public SymbolDisplayFormat WithLocalOptions(
SymbolDisplayLocalOptions
options)
738
/// Creates a copy of the SymbolDisplayFormat but with an additional set of <see cref="
SymbolDisplayLocalOptions
"/>.
744
/// A duplicate of the SymbolDisplayFormat, with an additional set of <see cref="
SymbolDisplayLocalOptions
"/>.
746
public SymbolDisplayFormat AddLocalOptions(
SymbolDisplayLocalOptions
options)
752
/// Creates a copy of the SymbolDisplayFormat but with a set of <see cref="
SymbolDisplayLocalOptions
"/> stripped away from the original object.
758
/// A duplicate of the SymbolDisplayFormat, with a set of <see cref="
SymbolDisplayLocalOptions
"/> stripped away from the original object.
760
public SymbolDisplayFormat RemoveLocalOptions(
SymbolDisplayLocalOptions
options)
Microsoft.CodeAnalysis.Analyzers (2)
src\RoslynAnalyzers\Utilities\Compiler\SymbolDisplayFormats.cs (2)
20
SymbolDisplayLocalOptions
.IncludeType,
33
SymbolDisplayLocalOptions
.IncludeType,
Microsoft.CodeAnalysis.AnalyzerUtilities (2)
src\RoslynAnalyzers\Utilities\Compiler\SymbolDisplayFormats.cs (2)
20
SymbolDisplayLocalOptions
.IncludeType,
33
SymbolDisplayLocalOptions
.IncludeType,
Microsoft.CodeAnalysis.BannedApiAnalyzers (2)
src\RoslynAnalyzers\Utilities\Compiler\SymbolDisplayFormats.cs (2)
20
SymbolDisplayLocalOptions
.IncludeType,
33
SymbolDisplayLocalOptions
.IncludeType,
Microsoft.CodeAnalysis.CSharp (6)
SymbolDisplay\SymbolDisplayVisitor.cs (6)
241
if (Format.LocalOptions.IncludesOption(
SymbolDisplayLocalOptions
.IncludeModifiers))
267
if (Format.LocalOptions.IncludesOption(
SymbolDisplayLocalOptions
.IncludeType))
282
if (Format.LocalOptions.IncludesOption(
SymbolDisplayLocalOptions
.IncludeConstantValue) &&
297
if (Format.LocalOptions.IncludesOption(
SymbolDisplayLocalOptions
.IncludeType))
308
if (Format.LocalOptions.IncludesOption(
SymbolDisplayLocalOptions
.IncludeType))
336
if (Format.LocalOptions.IncludesOption(
SymbolDisplayLocalOptions
.IncludeType))
Microsoft.CodeAnalysis.CSharp.Features (2)
LanguageServices\CSharpSymbolDisplayService.SymbolDescriptionBuilder.cs (2)
29
.AddLocalOptions(
SymbolDisplayLocalOptions
.IncludeRef)
35
.AddLocalOptions(
SymbolDisplayLocalOptions
.IncludeConstantValue)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\RefFieldTests.cs (1)
12057
AddLocalOptions(
SymbolDisplayLocalOptions
.IncludeModifiers);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (18)
SymbolDisplay\SymbolDisplayTests.cs (18)
3301
SymbolDisplayLocalOptions
.IncludeRef |
3302
SymbolDisplayLocalOptions
.IncludeType,
3826
localOptions:
SymbolDisplayLocalOptions
.IncludeType,
3880
localOptions:
SymbolDisplayLocalOptions
.IncludeType,
3932
localOptions:
SymbolDisplayLocalOptions
.IncludeType,
3980
localOptions:
SymbolDisplayLocalOptions
.IncludeType,
4061
localOptions:
SymbolDisplayLocalOptions
.IncludeType,
4135
localOptions:
SymbolDisplayLocalOptions
.IncludeType,
4247
localOptions:
SymbolDisplayLocalOptions
.IncludeType,
4357
localOptions:
SymbolDisplayLocalOptions
.IncludeType,
4461
localOptions:
SymbolDisplayLocalOptions
.IncludeType,
6964
SymbolDisplayFormat.MinimallyQualifiedFormat.AddLocalOptions(
SymbolDisplayLocalOptions
.IncludeRef)),
6997
SymbolDisplayFormat.MinimallyQualifiedFormat.AddLocalOptions(
SymbolDisplayLocalOptions
.IncludeRef)),
7042
SymbolDisplayFormat.MinimallyQualifiedFormat.AddLocalOptions(
SymbolDisplayLocalOptions
.IncludeRef)),
8993
var formatTypeOnly = SymbolDisplayFormat.TestFormat.WithLocalOptions(
SymbolDisplayLocalOptions
.IncludeType);
8994
var formatTypeRefAndScoped = formatTypeOnly.AddLocalOptions(
SymbolDisplayLocalOptions
.IncludeRef);
9096
SymbolDisplayLocalOptions
.IncludeRef |
9097
SymbolDisplayLocalOptions
.IncludeType,
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Simplification\CSharpSimplificationService.Expander.cs (1)
41
localOptions:
SymbolDisplayLocalOptions
.IncludeType,
Microsoft.CodeAnalysis.Features (4)
FindUsages\FindUsagesHelpers.cs (1)
83
localOptions:
SymbolDisplayLocalOptions
.IncludeType,
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs (3)
60
SymbolDisplayLocalOptions
.IncludeRef |
61
SymbolDisplayLocalOptions
.IncludeType,
356
.RemoveLocalOptions(
SymbolDisplayLocalOptions
.IncludeType)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (2)
src\RoslynAnalyzers\Utilities\Compiler\SymbolDisplayFormats.cs (2)
20
SymbolDisplayLocalOptions
.IncludeType,
33
SymbolDisplayLocalOptions
.IncludeType,
Microsoft.CodeAnalysis.PublicApiAnalyzers (2)
src\RoslynAnalyzers\Utilities\Compiler\SymbolDisplayFormats.cs (2)
20
SymbolDisplayLocalOptions
.IncludeType,
33
SymbolDisplayLocalOptions
.IncludeType,
Microsoft.CodeAnalysis.ResxSourceGenerator (2)
src\RoslynAnalyzers\Utilities\Compiler\SymbolDisplayFormats.cs (2)
20
SymbolDisplayLocalOptions
.IncludeType,
33
SymbolDisplayLocalOptions
.IncludeType,
Microsoft.CodeAnalysis.VisualBasic (4)
SymbolDisplay\SymbolDisplayVisitor.vb (4)
192
If Format.LocalOptions.IncludesOption(
SymbolDisplayLocalOptions
.IncludeType) Then
288
If Format.LocalOptions.IncludesOption(
SymbolDisplayLocalOptions
.IncludeType) Then
295
If symbol.IsConst AndAlso symbol.HasConstantValue AndAlso Format.LocalOptions.IncludesOption(
SymbolDisplayLocalOptions
.IncludeConstantValue) Then
307
If Format.LocalOptions.IncludesOption(
SymbolDisplayLocalOptions
.IncludeType) Then
Roslyn.Diagnostics.Analyzers (2)
src\RoslynAnalyzers\Utilities\Compiler\SymbolDisplayFormats.cs (2)
20
SymbolDisplayLocalOptions
.IncludeType,
33
SymbolDisplayLocalOptions
.IncludeType,
Test.Utilities (2)
src\RoslynAnalyzers\Utilities\Compiler\SymbolDisplayFormats.cs (2)
20
SymbolDisplayLocalOptions
.IncludeType,
33
SymbolDisplayLocalOptions
.IncludeType,
Text.Analyzers (2)
src\RoslynAnalyzers\Utilities\Compiler\SymbolDisplayFormats.cs (2)
20
SymbolDisplayLocalOptions
.IncludeType,
33
SymbolDisplayLocalOptions
.IncludeType,