Base:
method
GetLanguage
Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.AbstractCodeActionOrUserDiagnosticTest.GetLanguage()
31 references to GetLanguage
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (31)
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 } };
MisplacedUsingDirectivesTests.cs (2)
72
=> new(options: new OptionsCollection(
GetLanguage
()) { { CSharpCodeStyleOptions.PreferredUsingDirectivePlacement, preferredPlacementOption } });
82
var options = new OptionsCollection(
GetLanguage
())
UseExplicitTypeTests.cs (5)
39
=> new(
GetLanguage
())
47
=> new(
GetLanguage
())
55
=> new(
GetLanguage
())
63
=> new(
GetLanguage
())
71
=> new(
GetLanguage
())
UseImplicitTypeTests.cs (6)
40
=> new(
GetLanguage
())
48
=> new(
GetLanguage
())
56
=> new(
GetLanguage
())
64
=> new(
GetLanguage
())
72
=> new(
GetLanguage
())
80
=> new(
GetLanguage
())
UseVarTestExtensions.cs (10)
31
=> new OptionsCollection(test.
GetLanguage
())
39
=> new OptionsCollection(test.
GetLanguage
())
47
=> new OptionsCollection(test.
GetLanguage
())
55
=> new OptionsCollection(test.
GetLanguage
())
63
=> new OptionsCollection(test.
GetLanguage
())
71
=> new OptionsCollection(test.
GetLanguage
())
79
=> new OptionsCollection(test.
GetLanguage
())
87
=> new OptionsCollection(test.
GetLanguage
())
95
=> new OptionsCollection(test.
GetLanguage
())
103
=> new OptionsCollection(test.
GetLanguage
())