protected void InitError() { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 tagURLTEMPLATE tagURLTEMPLATE = RemoveError(); switch (tagURLTEMPLATE) { case tagURLTEMPLATE.Object: resolverError = (MethodAttributes)4; break; case tagURLTEMPLATE.Array: resolverError = (MethodAttributes)6; break; case tagURLTEMPLATE.Constructor: resolverError = (MethodAttributes)10; break; case tagURLTEMPLATE.None: DefineError(); break; default: throw ContextError.CheckComposer(this, "While setting the reader state back to current object an unexpected JsonType was encountered: {0}".ListReader(CultureInfo.InvariantCulture, tagURLTEMPLATE)); } }
internal static bool RestartError(tagURLTEMPLATE instance) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 if (instance != tagURLTEMPLATE.Array) { return(instance == tagURLTEMPLATE.Constructor); } return(true); }
public QueueError(tagURLTEMPLATE instance) { //Discarded unreachable code: IL_0002, IL_0006 //IL_0003: Incompatible stack heights: 0 vs 1 //IL_0007: Incompatible stack heights: 0 vs 1 SingletonReader.PushGlobal(); _RegistryError = instance; m_CandidateError = RestartError(instance); _AttrError = -1; m_ConfigurationError = null; }
private void ManageError(WatcherComposer config) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 tagURLTEMPLATE tagURLTEMPLATE = RateError(); if (CollectError(config) != tagURLTEMPLATE) { throw ContextError.CheckComposer(this, "JsonToken {0} is not valid for closing JsonType {1}.".SelectReader(CultureInfo.InvariantCulture, config, tagURLTEMPLATE)); } if (RemoveError() != 0 || _0004()) { resolverError = (MethodAttributes)8; } else { DefineError(); } }
private void SetError(tagURLTEMPLATE ident) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 SetupError(); if (_PoolError._RegistryError == tagURLTEMPLATE.None) { _PoolError = new QueueError(ident); return; } if (workerError == null) { workerError = new List <QueueError>(); } workerError.Add(_PoolError); _PoolError = new QueueError(ident); if (!definitionError.HasValue || !(this._0003() + 1 > definitionError) || m_SystemError) { return; } m_SystemError = true; throw ContextError.CheckComposer(this, "The reader's MaxDepth of {0} has been exceeded.".ListReader(CultureInfo.InvariantCulture, definitionError)); }