bool validate() { // ReSharper disable AssignNullToNotNullAttribute if (isSimple) { _complex = default; } else { _simple = default; } // ReSharper restore AssignNullToNotNullAttribute return(true); }
[PublicAPI] public SerializedEase(ComplexSerializedEase complex) { _isComplex = true; _complex = complex; }