1 write to PreferThrowExpression
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CSharpSimplifierOptions.cs (1)
45
PreferThrowExpression
= options.GetOption(CSharpCodeStyleOptions.PreferThrowExpression, fallbackOptions.PreferThrowExpression);
5 references to PreferThrowExpression
Microsoft.CodeAnalysis.CSharp.Features (3)
CSharpAnalyzerOptionsProvider.cs (1)
51
public CodeStyleOption2<bool> PreferThrowExpression => GetOption(CSharpCodeStyleOptions.PreferThrowExpression, FallbackSimplifierOptions.
PreferThrowExpression
);
GenerateConstructorFromMembers\CSharpGenerateConstructorFromMembersCodeRefactoringProvider.cs (1)
57
return options.
PreferThrowExpression
.Value;
InitializeParameter\CSharpAddParameterCheckCodeRefactoringProvider.cs (1)
60
=> options.
PreferThrowExpression
.Value;
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
CSharpCodeStyleOptions.cs (1)
69
CSharpSimplifierOptions.Default.
PreferThrowExpression
);
CSharpSimplifierOptions.cs (1)
45
PreferThrowExpression = options.GetOption(CSharpCodeStyleOptions.PreferThrowExpression, fallbackOptions.
PreferThrowExpression
);