public virtual DateTimeOffset?_0001() { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 WatcherComposer watcherComposer = LoginComposer(); switch (watcherComposer) { case WatcherComposer.None: case WatcherComposer.Null: case WatcherComposer.EndArray: return(null); case WatcherComposer.Date: { object obj = this._0001(); if (obj is DateTime) { DateTime dateTime = (DateTime)obj; CancelError(WatcherComposer.Date, new DateTimeOffset(dateTime), isstate: false); } return((DateTimeOffset)this._0001()); } case WatcherComposer.String: { string info = (string)this._0001(); return(ConcatError(info)); } default: throw ContextError.CheckComposer(this, "Error reading date. Unexpected token: {0}.".ListReader(CultureInfo.InvariantCulture, watcherComposer)); } }
private static Type SearchRequest(TagTestItem key) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 WatcherComposer watcherComposer = key._0001(); switch (watcherComposer) { case WatcherComposer.Integer: case WatcherComposer.Float: case WatcherComposer.String: case WatcherComposer.Boolean: case WatcherComposer.Date: case WatcherComposer.Bytes: return(key._0001()); case WatcherComposer.Null: case WatcherComposer.Undefined: case WatcherComposer.EndArray: return(typeof(string)); case WatcherComposer.StartArray: key.SortError(); if (key._0001() == WatcherComposer.StartObject) { return(typeof(DataTable)); } return(SearchRequest(key).MakeArrayType()); default: throw StrategyError.PatchComposer(key, "Unexpected JSON token when reading DataTable: {0}".ListReader(CultureInfo.InvariantCulture, watcherComposer)); } }
public virtual void _0001() { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 resolverError = (MethodAttributes)7; facadeError = WatcherComposer.None; _ManagerError = null; }
protected void CancelError(WatcherComposer instance, object reg, bool isstate) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 facadeError = instance; _ManagerError = reg; switch (instance) { case WatcherComposer.Comment: break; case WatcherComposer.StartObject: resolverError = (MethodAttributes)3; SetError(tagURLTEMPLATE.Object); break; case WatcherComposer.StartArray: resolverError = (MethodAttributes)5; SetError(tagURLTEMPLATE.Array); break; case WatcherComposer.StartConstructor: resolverError = (MethodAttributes)9; SetError(tagURLTEMPLATE.Constructor); break; case WatcherComposer.EndObject: ManageError(WatcherComposer.EndObject); break; case WatcherComposer.EndArray: ManageError(WatcherComposer.EndArray); break; case WatcherComposer.EndConstructor: ManageError(WatcherComposer.EndConstructor); break; case WatcherComposer.PropertyName: resolverError = (MethodAttributes)2; _PoolError.m_ConfigurationError = (string)reg; break; case WatcherComposer.Raw: case WatcherComposer.Integer: case WatcherComposer.Float: case WatcherComposer.String: case WatcherComposer.Boolean: case WatcherComposer.Null: case WatcherComposer.Undefined: case WatcherComposer.Date: case WatcherComposer.Bytes: ExcludeError(isstate); break; } }
internal static bool StartIssuer(WatcherComposer def) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 if ((uint)(def - 7) <= 5u || (uint)(def - 16) <= 1u) { return(true); } return(false); }
internal static bool CalculateIssuer(WatcherComposer config) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 if ((uint)(config - 13) <= 2u) { return(true); } return(false); }
protected override void _0001(WatcherComposer task) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 base._0001(task); ViewIterator(); if (base._0002() == 0) { m_ComposerReader.AddIterator(_PropertyReader); } }
public virtual byte[] _0001() { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 WatcherComposer watcherComposer = LoginComposer(); switch (watcherComposer) { case WatcherComposer.StartObject: { CountError(); byte[] array3 = this._0001(); InvokeError(); if (this._0001() != WatcherComposer.EndObject) { throw ContextError.CheckComposer(this, "Error reading bytes. Unexpected token: {0}.".ListReader(CultureInfo.InvariantCulture, this._0001())); } CancelError(WatcherComposer.Bytes, array3, isstate: false); return(array3); } case WatcherComposer.String: { string text = (string)this._0001(); Guid connection; byte[] array2 = (text.Length == 0) ? ObserverIteratorMapping.CheckProperty <byte>() : ((!HelperDicCandidate.VisitProperty(text, out connection)) ? Convert.FromBase64String(text) : connection.ToByteArray()); CancelError(WatcherComposer.Bytes, array2, isstate: false); return(array2); } case WatcherComposer.None: case WatcherComposer.Null: case WatcherComposer.EndArray: return(null); case WatcherComposer.Bytes: { object obj = this._0001(); if (obj is Guid) { byte[] array = ((Guid)obj).ToByteArray(); CancelError(WatcherComposer.Bytes, array, isstate: false); return(array); } return((byte[])this._0001()); } case WatcherComposer.StartArray: return(ChangeError()); default: throw ContextError.CheckComposer(this, "Error reading bytes. Unexpected token: {0}.".ListReader(CultureInfo.InvariantCulture, watcherComposer)); } }
public virtual int?_0001() { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 WatcherComposer watcherComposer = LoginComposer(); switch (watcherComposer) { case WatcherComposer.None: case WatcherComposer.Null: case WatcherComposer.EndArray: return(null); case WatcherComposer.Integer: case WatcherComposer.Float: { object obj = this._0001(); if (obj is int) { return((int)obj); } int num; if (obj is BigInteger) { BigInteger value = (BigInteger)obj; num = (int)value; } else { try { num = Convert.ToInt32(obj, CultureInfo.InvariantCulture); } catch (Exception field) { throw ContextError.DisableComposer(this, "Could not convert to integer: {0}.".ListReader(CultureInfo.InvariantCulture, obj), field); } } CancelError(WatcherComposer.Integer, num, isstate: false); return(num); } case WatcherComposer.String: { string param = (string)this._0001(); return(PostError(param)); } default: throw ContextError.CheckComposer(this, "Error reading integer. Unexpected token: {0}.".ListReader(CultureInfo.InvariantCulture, watcherComposer)); } }
internal bool RevertError() { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 WatcherComposer watcherComposer = this._0001(); while (watcherComposer == WatcherComposer.None || watcherComposer == WatcherComposer.Comment) { if (!this._0001()) { return(false); } watcherComposer = this._0001(); } return(true); }
internal void InstantiateRequest(PoolIssuer first, WatcherComposer col) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 if (m_ParamIssuer != null) { m_ParamIssuer.Add(first); utilsIssuer = ((ParserFilterResolver)m_ParamIssuer)._0003(); if (((ParserFilterResolver)m_ParamIssuer)._0001() == Newtonsoft.Rules.UnicodeCategory.Property) { m_ParamIssuer = ((ParserFilterResolver)m_ParamIssuer)._0001(); } } else { _PublisherIssuer = (first ?? PoolIssuer.VisitRequest()); utilsIssuer = _PublisherIssuer; } }
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 tagURLTEMPLATE CollectError(WatcherComposer item) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 switch (item) { case WatcherComposer.EndObject: return(tagURLTEMPLATE.Object); case WatcherComposer.EndArray: return(tagURLTEMPLATE.Array); case WatcherComposer.EndConstructor: return(tagURLTEMPLATE.Constructor); default: throw ContextError.CheckComposer(this, "Not a valid close JsonToken: {0}".ListReader(CultureInfo.InvariantCulture, item)); } }
public virtual double?_0001() { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 WatcherComposer watcherComposer = LoginComposer(); switch (watcherComposer) { case WatcherComposer.None: case WatcherComposer.Null: case WatcherComposer.EndArray: return(null); case WatcherComposer.Integer: case WatcherComposer.Float: { object obj = this._0001(); if (obj is double) { return((double)obj); } double num; if (obj is BigInteger) { BigInteger value = (BigInteger)obj; num = (double)value; } else { num = Convert.ToDouble(obj, CultureInfo.InvariantCulture); } CancelError(WatcherComposer.Float, num, isstate: false); return(num); } case WatcherComposer.String: return(GetError((string)this._0001())); default: throw ContextError.CheckComposer(this, "Error reading double. Unexpected token: {0}.".ListReader(CultureInfo.InvariantCulture, watcherComposer)); } }
public virtual bool?_0001() { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 WatcherComposer watcherComposer = LoginComposer(); switch (watcherComposer) { case WatcherComposer.None: case WatcherComposer.Null: case WatcherComposer.EndArray: return(null); case WatcherComposer.Integer: case WatcherComposer.Float: { object obj = this._0001(); bool flag; if (obj is BigInteger) { BigInteger left = (BigInteger)obj; flag = (left != 0L); } else { flag = Convert.ToBoolean(this._0001(), CultureInfo.InvariantCulture); } CancelError(WatcherComposer.Boolean, flag, isstate: false); return(flag); } case WatcherComposer.String: return(StartError((string)this._0001())); case WatcherComposer.Boolean: return((bool)this._0001()); default: throw ContextError.CheckComposer(this, "Error reading boolean. Unexpected token: {0}.".ListReader(CultureInfo.InvariantCulture, watcherComposer)); } }
public virtual string _0001() { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 WatcherComposer watcherComposer = LoginComposer(); switch (watcherComposer) { case WatcherComposer.None: case WatcherComposer.Null: case WatcherComposer.EndArray: return(null); case WatcherComposer.String: return((string)this._0001()); default: if (RulesClientBridge.StartIssuer(watcherComposer)) { object obj = this._0001(); if (obj != null) { IFormattable formattable = obj as IFormattable; string text; if (formattable != null) { text = formattable.ToString(null, this._0001()); } else { Uri uri = obj as Uri; text = (((object)uri != null) ? uri.OriginalString : obj.ToString()); } CancelError(WatcherComposer.String, text, isstate: false); return(text); } } throw ContextError.CheckComposer(this, "Error reading string. Unexpected token: {0}.".ListReader(CultureInfo.InvariantCulture, watcherComposer)); } }
protected override void _0001(WatcherComposer instance) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 switch (instance) { case WatcherComposer.EndObject: m_MethodComposer.Write('}'); break; case WatcherComposer.EndArray: m_MethodComposer.Write(']'); break; case WatcherComposer.EndConstructor: m_MethodComposer.Write(')'); break; default: throw CollectionComposer.ListTest(this, "Invalid JsonToken: " + instance, null); } }
protected void QueryError(WatcherComposer i, object cfg) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 CancelError(i, cfg, isstate: true); }
protected void CustomizeError(WatcherComposer asset) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 CancelError(asset, null, isstate: true); }
private void CalcRequest(object ident, WatcherComposer b) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 InstantiateRequest(new PoolIssuer(ident), b); }
private void AddTest(string param, WatcherComposer map) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 m_MethodComposer.Write(param); }
protected override void _0001(WatcherComposer def) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 InterruptRequest(); }