1 write to Language
Microsoft.CodeAnalysis.Workspaces (1)
Options\OptionKey.cs (1)
38Language = language;
10 references to Language
Microsoft.CodeAnalysis.Workspaces (9)
Options\OptionKey.cs (5)
43return OptionEqual(Option, other.Option) && Language == other.Language; 62if (Language != null) 64hash = unchecked((hash * (int)0xA5555529) + Language.GetHashCode()); 78? $"({Language}) "
Options\OptionSet.cs (2)
28return mapping.ToPublicOptionValue(GetInternalOptionValue(new OptionKey(mapping.InternalOption, optionKey.Language))); 75var mappedOptionKey = new OptionKey(mapping.InternalOption, optionAndLanguage.Language);
Options\SolutionOptionSet.cs (2)
55? _legacyGlobalOptions.GlobalOptions.GetOption<object?>(new OptionKey2(internallyDefinedOption, optionKey.Language)) 81var internallyDefined = _changedOptionKeys.Where(key => key.Option is IOption2).SelectAsArray(key => KeyValuePairUtil.Create(new OptionKey2((IOption2)key.Option, key.Language), _values[key]));
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Options\OptionKeyTests.cs (1)
68Assert.Null(optionKey.Language);