6 implementations of Type
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Completion\CompletionServiceTests.cs (1)
94public Type Type => typeof(int);
Microsoft.CodeAnalysis.Workspaces (4)
Option2.cs (1)
86Type IOption.Type => Definition.Type;
Options\Option.cs (1)
27public Type Type => _optionDefinition.Type;
Options\PerLanguageOption.cs (1)
23public Type Type => _optionDefinition.Type;
PerLanguageOption2.cs (1)
74Type IOption.Type => Definition.Type;
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Options\TestOption.cs (1)
15public Type Type { get; set; } = typeof(int);
16 references to Type
Microsoft.CodeAnalysis.Workspaces (3)
Options\DocumentOptionSet.cs (1)
85Contract.ThrowIfTrue(internallyDefinedOption.Type == typeof(NamingStylePreferences));
PublicOptionFactory.cs (2)
138equals = Equals(x.DefaultValue, y.DefaultValue) && x.Type == y.Type;
Microsoft.VisualStudio.LanguageServices (7)
Options\LocalUserRegistryOptionPersister.cs (6)
61if (optionKey.Option.Type == typeof(bool)) 66else if (optionKey.Option.Type == typeof(long)) 85else if (optionKey.Option.Type == typeof(int)) 109if (optionKey.Option.Type.IsEnum) 113value = Enum.ToObject(optionKey.Option.Type, value); 139var optionType = optionKey.Option.Type;
Options\VisualStudioSettingsOptionPersister.cs (1)
79var result = TryReadAndMonitorOptionValue(optionKey, storageKey, storageKey, optionKey.Option.Type, optionKey.Option.DefaultValue);
Microsoft.VisualStudio.LanguageServices.CSharp (2)
EditorConfigSettings\BinaryOperatorSpacingOptionsViewModelFactory.cs (1)
30=> key.Option.Type == typeof(BinaryOperatorSpacingOptions);
EditorConfigSettings\LabelPositionOptionsViewModel.cs (1)
33=> key.Option.Type == typeof(LabelPositionOptions);
Microsoft.VisualStudio.LanguageServices.New.IntegrationTests (2)
Options\GlobalOptionsTest.cs (2)
84Nullable.GetUnderlyingType(option.Type) != null) 89var differentValue = OptionsTestHelpers.GetDifferentValue(option.Type, currentValue);
Roslyn.VisualStudio.DiagnosticsWindow (2)
OptionPages\InternalOptionsControl.cs (2)
150if (option.Type == typeof(bool)) 157if (option.Type == typeof(int))