public static bool TestIssuer(object init, object cust) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 if (init == cust) { return(true); } if (init == null || cust == null) { return(false); } if (init.GetType() != cust.GetType()) { if (HelperDicCandidate.CreateProperty(init) && HelperDicCandidate.CreateProperty(cust)) { return(Convert.ToDecimal(init, CultureInfo.CurrentCulture).Equals(Convert.ToDecimal(cust, CultureInfo.CurrentCulture))); } if ((init is double || init is float || init is decimal) && (cust is double || cust is float || cust is decimal)) { return(IteratorComposerPool.DeleteIssuer(Convert.ToDouble(init, CultureInfo.CurrentCulture), Convert.ToDouble(cust, CultureInfo.CurrentCulture))); } return(false); } return(init.Equals(cust)); }
private static bool DeleteProperty(InvocationTest task, int ID_map, out TimeSpan pool) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 bool flag = task[ID_map] == '-'; if (HelperDicCandidate.StopProperty(task._0001(), ID_map + 1, 2, out int result) != (TYMED)1) { pool = default(TimeSpan); return(false); } int result2 = 0; if (task._0002() - ID_map > 5 && HelperDicCandidate.StopProperty(task._0001(), ID_map + 3, 2, out result2) != (TYMED)1) { pool = default(TimeSpan); return(false); } pool = TimeSpan.FromHours(result) + TimeSpan.FromMinutes(result2); if (flag) { pool = pool.Negate(); } return(true); }
private static bool CalculateProperty(InvocationTest reference, out long second, out TimeSpan state, out DateTimeKind result2) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 result2 = DateTimeKind.Utc; int num = reference.ChangeReader('+', 7, reference._0002() - 8); if (num == -1) { num = reference.ChangeReader('-', 7, reference._0002() - 8); } if (num != -1) { result2 = DateTimeKind.Local; if (!DeleteProperty(reference, num + reference._0001(), out state)) { second = 0L; return(false); } } else { state = TimeSpan.Zero; num = reference._0002() - 2; } return(HelperDicCandidate.CloneProperty(reference._0001(), 6 + reference._0001(), num - 6, out second) == (TYMED)1); }
public static object ReflectReader(Type reference) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 if (!reference.FindClient()) { return(null); } switch (HelperDicCandidate.PatchProperty(reference)) { case (SettingsSerializeAs)4: return(false); case (SettingsSerializeAs)2: case (SettingsSerializeAs)6: case (SettingsSerializeAs)8: case (SettingsSerializeAs)10: case (SettingsSerializeAs)12: case (SettingsSerializeAs)14: case (SettingsSerializeAs)16: return(0); case (SettingsSerializeAs)18: case (SettingsSerializeAs)20: return(0L); case (SettingsSerializeAs)22: return(0f); case (SettingsSerializeAs)24: return(0.0); case (SettingsSerializeAs)30: return(0m); case (SettingsSerializeAs)26: return(default(DateTime)); case (SettingsSerializeAs)36: return(default(BigInteger)); case (SettingsSerializeAs)32: return(default(Guid)); case (SettingsSerializeAs)28: return(default(DateTimeOffset)); default: if (VerifyReader(reference)) { return(null); } return(Activator.CreateInstance(reference)); } }
public ProccesorClassSpec(Type config) { //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(); base._002Ector(config); _ErrorProperty = (ParameterFilterResolver)3; _0001(HelperDicCandidate.PatchProperty(config)); composerProperty = true; if (m_RulesProperty.TryGetValue(_InstanceProperty, out Docking value)) { dicProperty = value; } }
private static ulong StopIssuer(object value) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 bool counter; switch (HelperDicCandidate.FindProperty(value.GetType(), out counter)) { case (SettingsSerializeAs)6: return((ulong)(sbyte)value); case (SettingsSerializeAs)14: return((byte)value); case (SettingsSerializeAs)4: return(Convert.ToByte((bool)value)); case (SettingsSerializeAs)8: return((ulong)(short)value); case (SettingsSerializeAs)10: return((ushort)value); case (SettingsSerializeAs)2: return((char)value); case (SettingsSerializeAs)16: return((uint)value); case (SettingsSerializeAs)12: return((ulong)(int)value); case (SettingsSerializeAs)20: return((ulong)value); case (SettingsSerializeAs)18: return((ulong)(long)value); default: throw new InvalidOperationException("Unknown enum type."); } }
internal ProcTest(Type task) { //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(); base._002Ector(); ContextClientBridge.RunClient(task, "underlyingType"); _TestsProperty = task; task = ResolverErrorFilter.ValidateReader(task); recordProperty = ResolverErrorFilter.VerifyReader(task); _InstanceProperty = ((recordProperty && ResolverErrorFilter.PatchReader(task)) ? Nullable.GetUnderlyingType(task) : task); Type instanceProperty; _0002(instanceProperty = _InstanceProperty); m_IteratorProperty = instanceProperty; m_EventProperty = HelperDicCandidate.OrderProperty(_InstanceProperty); _FilterProperty = _InstanceProperty.LoginClient(); dicProperty = (Docking)0; }
private static int CreateRequest(BigInteger value, object attr) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 int num = value.CompareTo(HelperDicCandidate.RunProperty(attr)); if (num != 0) { return(num); } if (attr is decimal) { decimal num2 = (decimal)attr; return(0m.CompareTo(Math.Abs(num2 - Math.Truncate(num2)))); } if (attr is double || attr is float) { double num3 = Convert.ToDouble(attr, CultureInfo.InvariantCulture); return(0.0.CompareTo(Math.Abs(num3 - Math.Truncate(num3)))); } return(num); }
internal decimal?SelectError(string first) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 if (SetterTest.StartReader(first)) { CancelError(WatcherComposer.Null, null, isstate: false); return(null); } if (decimal.TryParse(first, NumberStyles.Number, this._0001(), out decimal result)) { CancelError(WatcherComposer.Float, result, isstate: false); return(result); } if (HelperDicCandidate.LogoutProperty(first.ToCharArray(), 0, first.Length, out result) == (TYMED)1) { CancelError(WatcherComposer.Float, result, isstate: false); return(result); } CancelError(WatcherComposer.String, first, isstate: false); throw ContextError.CheckComposer(this, "Could not convert string to decimal: {0}.".ListReader(CultureInfo.InvariantCulture, first)); }
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)); } }