YAXLib.YAXDictionaryAttribute.CheckIntegrity C# (CSharp) Method

CheckIntegrity() private method

private CheckIntegrity ( ) : void
return void
        private void CheckIntegrity()
        {
            if (_serializeKeyAs == _serializeValueAs && _serializeValueAs == YAXNodeTypes.Content)
            {
                throw new Exception("Key and Value cannot both be serialized as Content at the same time.");
            }
        }