6 implementations of Name
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Completion\CompletionServiceTests.cs (1)
92public string Name => "Option";
Microsoft.CodeAnalysis.Workspaces (4)
Options\Option.cs (1)
23public string Name { get; }
Options\PerLanguageOption.cs (1)
20public string Name { get; }
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\Option2.cs (1)
83string IOption.Name => Definition.ConfigName;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PerLanguageOption2.cs (1)
71string IOption.Name => Definition.ConfigName;
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Options\TestOption.cs (1)
14public string Name { get; set; } = "test";
12 references to Name
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\Configuration\DidChangeConfigurationNotificationHandler.cs (1)
104_lspLogger.LogWarning($"Failed to parse '{valueFromClient}' to type: '{option.Type.Name}'. '{option.Name}' would not be updated.");
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (2)
Configuration\DidChangeConfigurationNotificationHandlerTest.cs (2)
302throw new Exception($"Please return a non-default value based on the config name, config name: {option.Name}."); 320if (option.Name is "end_of_line")
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PublicOptionFactory.cs (1)
118=> $"{option.Feature} - {option.Name}";
Microsoft.CodeAnalysis.Workspaces.UnitTests (8)
Options\OptionKeyTests.cs (2)
82Assert.Equal("name", ((IOption)option1).Name); 88Assert.Equal("name", ((IOption)option2).Name);
Options\OptionSerializerTests.cs (6)
58Assert.True(success, $"Can't parse option: {option.Name}, value: {possibleString}"); 80Contract.ThrowIfNull(defaultValue, $"Option: {option.Name}"); 101Contract.ThrowIfNull(enumType, $"Option: {option.Name}"); 111Assert.True(success, $"Can't parse option for null. Option: {option.Name}"); 132Contract.ThrowIfNull(defaultValue, $"Option: {option.Name}"); 194$"Can't parse option: {option.Name}, value: {value}");