1 write to Options
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationContextInfo.cs (1)
17
Options
= options;
11 references to Options
Microsoft.CodeAnalysis.CSharp.Workspaces (11)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ConstructorGenerator.cs (1)
77
declaration.Kind(), info.LanguageVersion, info.
Options
.PreferExpressionBodiedConstructors.Value, cancellationToken,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ConversionGenerator.cs (1)
91
declaration.Kind(), info.LanguageVersion, info.
Options
.PreferExpressionBodiedOperators.Value, cancellationToken,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationContextInfo.cs (2)
29
=>
Options
;
35
=> (Context == value) ? this : new(value,
Options
, Service, LanguageVersion);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\MethodGenerator.cs (2)
164
methodDeclaration.Kind(), info.LanguageVersion, info.
Options
.PreferExpressionBodiedMethods.Value, cancellationToken,
182
localFunctionDeclaration.Kind(), info.LanguageVersion, info.
Options
.PreferExpressionBodiedLocalFunctions.Value, cancellationToken,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\NamespaceGenerator.cs (1)
109
info.
Options
.NamespaceDeclarations.Value == NamespaceDeclarationPreference.FileScoped &&
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\OperatorGenerator.cs (1)
61
declaration.Kind(), info.LanguageVersion, info.
Options
.PreferExpressionBodiedOperators.Value, cancellationToken,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\PropertyGenerator.cs (3)
187
declaration, info.LanguageVersion, info.
Options
.PreferExpressionBodiedProperties.Value, cancellationToken,
206
declaration, info.LanguageVersion, info.
Options
.PreferExpressionBodiedIndexers.Value, cancellationToken,
224
declaration.Kind(), info.LanguageVersion, info.
Options
.PreferExpressionBodiedAccessors.Value, cancellationToken,