Base:
12 references to GetLanguage
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (12)
AbstractCSharpDiagnosticProviderBasedUserDiagnosticTest_OptionHelpers.cs (8)
19
=> (new OptionKey2(option, this.
GetLanguage
()), value);
31
=> SingleOption(option, codeStyle, language:
GetLanguage
());
37
=> new OptionsCollection(
GetLanguage
()) { { option, enabled, notification } };
40
=> new OptionsCollection(
GetLanguage
()) { { option, codeStyle } };
43
=> new OptionsCollection(
GetLanguage
()) { { option, enabled, notification } };
46
=> new OptionsCollection(
GetLanguage
()) { { option, codeStyle } };
49
=> new OptionsCollection(
GetLanguage
()) { { option, value } };
52
=> new OptionsCollection(
GetLanguage
()) { { option, value } };
src\Analyzers\CSharp\Tests\ImplementAbstractClass\ImplementAbstractClassTests_ThroughMember.cs (2)
33
=> new OptionsCollection(
GetLanguage
())
49
options ??= new OptionsCollection(
GetLanguage
());
src\Analyzers\CSharp\Tests\MisplacedUsingDirectives\MisplacedUsingDirectivesTests.cs (2)
72
=> new(options: new OptionsCollection(
GetLanguage
()) { { CSharpCodeStyleOptions.PreferredUsingDirectivePlacement, preferredPlacementOption } });
82
var options = new OptionsCollection(
GetLanguage
())