Base:
23 references to GetLanguage
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (23)
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()) 49options ??= new OptionsCollection(GetLanguage());
src\Analyzers\CSharp\Tests\MisplacedUsingDirectives\MisplacedUsingDirectivesTests.cs (2)
72=> new(options: new OptionsCollection(GetLanguage()) { { CSharpCodeStyleOptions.PreferredUsingDirectivePlacement, preferredPlacementOption } }); 82var options = new OptionsCollection(GetLanguage())
src\Analyzers\CSharp\Tests\UseImplicitOrExplicitType\UseExplicitTypeTests.cs (5)
39=> new(GetLanguage()) 47=> new(GetLanguage()) 55=> new(GetLanguage()) 63=> new(GetLanguage()) 71=> new(GetLanguage())
src\Analyzers\CSharp\Tests\UseImplicitOrExplicitType\UseImplicitTypeTests.cs (6)
40=> new(GetLanguage()) 48=> new(GetLanguage()) 56=> new(GetLanguage()) 64=> new(GetLanguage()) 72=> new(GetLanguage()) 80=> new(GetLanguage())