Microsoft.VisualStudio.Language.Spellchecker.GlobalDictionary.LoadIgnoreDictionary C# (CSharp) Method

LoadIgnoreDictionary() private method

private LoadIgnoreDictionary ( ) : void
return void
        private void LoadIgnoreDictionary()
        {
            if (File.Exists(_ignoreWordsFile))
            {
                _ignoreWords.Clear();
                using (StreamReader reader = new StreamReader(_ignoreWordsFile))
                {
                    string word;
                    while (!string.IsNullOrEmpty((word = reader.ReadLine())))
                    {
                        _ignoreWords.Add(word);
                    }
                }
            }
        }