2 instantiations of CSharpSimplifierOptions
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\CSharpSimplification.cs (1)
18=> new CSharpSimplifierOptions(options);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\CSharpSimplifierOptions.cs (1)
21public static readonly CSharpSimplifierOptions Default = new();
23 references to CSharpSimplifierOptions
Microsoft.CodeAnalysis.CSharp.CodeStyle (23)
src\Analyzers\CSharp\Analyzers\CodeStyle\CSharpAnalyzerOptionsProvider.cs (1)
31internal CSharpSimplifierOptions GetSimplifierOptions()
src\Analyzers\CSharp\Analyzers\UseImplicitObjectCreation\CSharpUseImplicitObjectCreationDiagnosticAnalyzer.cs (1)
69CSharpSimplifierOptions simplifierOptions,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeStyle\CSharpCodeStyleOptions.cs (7)
29CSharpSimplifierOptions.Default.VarForBuiltInTypes); 33CSharpSimplifierOptions.Default.VarWhenTypeIsApparent); 37CSharpSimplifierOptions.Default.VarElsewhere); 69CSharpSimplifierOptions.Default.PreferThrowExpression); 138CSharpSimplifierOptions.Default.PreferBraces, 146CSharpSimplifierOptions.Default.PreferSimpleDefaultExpression); 246CSharpSimplifierOptions.Default.AllowEmbeddedStatementsOnSameLine);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\CSharpSimplification.cs (1)
15=> CSharpSimplifierOptions.Default;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\CSharpSimplifierOptions.cs (2)
16internal sealed record class CSharpSimplifierOptions : SimplifierOptions, IEquatable<CSharpSimplifierOptions> 21public static readonly CSharpSimplifierOptions Default = new();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpTypeStyleHelper.cs (5)
20private readonly CSharpSimplifierOptions _options; 38public TypeStyleResult(CSharpTypeStyleHelper helper, TypeSyntax typeName, SemanticModel semanticModel, CSharpSimplifierOptions options, bool isStylePreferred, NotificationOption2 notificationOption, CancellationToken cancellationToken) : this() 60CSharpSimplifierOptions options, CancellationToken cancellationToken) 77TypeSyntax typeName, SemanticModel semanticModel, CSharpSimplifierOptions options, CancellationToken cancellationToken); 80SyntaxToken identifier, TypeSyntax typeName, ExpressionSyntax initializer, SemanticModel semanticModel, CSharpSimplifierOptions options, CancellationToken cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpTypeStyleHelper.State.cs (1)
32CSharpSimplifierOptions options, CancellationToken cancellationToken)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpUseExplicitTypeHelper.cs (2)
68CSharpSimplifierOptions options, CancellationToken cancellationToken) 142CSharpSimplifierOptions options,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\TypeStyle\CSharpUseImplicitTypeHelper.cs (3)
31CSharpSimplifierOptions options, CancellationToken cancellationToken) 93CSharpSimplifierOptions options, CancellationToken cancellationToken) 275CSharpSimplifierOptions options,