System.Collections.Generic.HashSet.Add(YAMLDocument)

Here are the examples of the csharp api System.Collections.Generic.HashSet.Add(YAMLDocument) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 Source : YAMLWriter.cs
with GNU General Public License v3.0
from ds5678

public void AddDoreplacedent(YAMLDoreplacedent doreplacedent)
		{
#if DEBUG
			if (doreplacedent == null)
			{
				throw new ArgumentNullException(nameof(doreplacedent));
			}
			if (m_doreplacedents.Contains(doreplacedent))
			{
				throw new ArgumentException($"Doreplacedent {doreplacedent} is added already", nameof(doreplacedent));
			}
#endif
			m_doreplacedents.Add(doreplacedent);
		}