public override void _0001(DateTime item) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 base._0001(item); item = DescriptorIteratorMapping.ReadProperty(item, base._0001()); CalcRequest(item, WatcherComposer.Date); }
public override void _0001(DateTime last) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 GetTest(WatcherComposer.Date); last = DescriptorIteratorMapping.ReadProperty(last, base._0001()); if (SetterTest.StartReader(base._0003())) { int count = MapTest(last); m_MethodComposer.Write(m_RegistryComposer, 0, count); } else { m_MethodComposer.Write(_ServiceComposer); m_MethodComposer.Write(last.ToString(base._0003(), base._0001())); m_MethodComposer.Write(_ServiceComposer); } }
internal DateTime?DeleteError(string info) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 if (SetterTest.StartReader(info)) { CancelError(WatcherComposer.Null, null, isstate: false); return(null); } if (DescriptorIteratorMapping.RemoveProperty(info, this._0001(), setterError, this._0001(), out DateTime res)) { res = DescriptorIteratorMapping.ReadProperty(res, this._0001()); CancelError(WatcherComposer.Date, res, isstate: false); return(res); } if (DateTime.TryParse(info, this._0001(), DateTimeStyles.RoundtripKind, out res)) { res = DescriptorIteratorMapping.ReadProperty(res, this._0001()); CancelError(WatcherComposer.Date, res, isstate: false); return(res); } throw ContextError.CheckComposer(this, "Could not convert string to DateTime: {0}.".ListReader(CultureInfo.InvariantCulture, info)); }
private void AwakeRequest(ParserFilterResolver item) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 switch (item._0001()) { case UnicodeCategory.Object: CustomizeError(WatcherComposer.StartObject); break; case UnicodeCategory.Array: CustomizeError(WatcherComposer.StartArray); break; case UnicodeCategory.Constructor: QueryError(WatcherComposer.StartConstructor, ((IndexerReaderMapper)item)._0001()); break; case UnicodeCategory.Property: QueryError(WatcherComposer.PropertyName, ((WatcherIssuer)item)._0001()); break; case UnicodeCategory.Comment: QueryError(WatcherComposer.Comment, ((PoolIssuer)item)._0001()); break; case UnicodeCategory.Integer: QueryError(WatcherComposer.Integer, ((PoolIssuer)item)._0001()); break; case UnicodeCategory.Float: QueryError(WatcherComposer.Float, ((PoolIssuer)item)._0001()); break; case UnicodeCategory.String: QueryError(WatcherComposer.String, ((PoolIssuer)item)._0001()); break; case UnicodeCategory.Boolean: QueryError(WatcherComposer.Boolean, ((PoolIssuer)item)._0001()); break; case UnicodeCategory.Null: QueryError(WatcherComposer.Null, ((PoolIssuer)item)._0001()); break; case UnicodeCategory.Undefined: QueryError(WatcherComposer.Undefined, ((PoolIssuer)item)._0001()); break; case UnicodeCategory.Date: { object obj2 = ((PoolIssuer)item)._0001(); if (obj2 is DateTime) { DateTime param = (DateTime)obj2; obj2 = DescriptorIteratorMapping.ReadProperty(param, base._0001()); } QueryError(WatcherComposer.Date, obj2); break; } case UnicodeCategory.Raw: QueryError(WatcherComposer.Raw, ((PoolIssuer)item)._0001()); break; case UnicodeCategory.Bytes: QueryError(WatcherComposer.Bytes, ((PoolIssuer)item)._0001()); break; case UnicodeCategory.Guid: QueryError(WatcherComposer.String, UpdateRequest(((PoolIssuer)item)._0001())); break; case UnicodeCategory.Uri: { object obj = ((PoolIssuer)item)._0001(); Uri uri = obj as Uri; QueryError(WatcherComposer.String, ((object)uri != null) ? uri.OriginalString : UpdateRequest(obj)); break; } case UnicodeCategory.TimeSpan: QueryError(WatcherComposer.String, UpdateRequest(((PoolIssuer)item)._0001())); break; default: throw CustomerListAnnotation.ConcatIssuer("Type", item._0001(), "Unexpected JTokenType."); } }
private string AddClass(RecordClassDispatcher item, object result, ProcTest temp, out bool last2) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 if (temp._ErrorProperty == (ParameterFilterResolver)3) { ProccesorClassSpec proccesorClassSpec = (ProccesorClassSpec)temp; switch (proccesorClassSpec._0001()) { case (SettingsSerializeAs)26: case (SettingsSerializeAs)27: { DateTime token = DescriptorIteratorMapping.ReadProperty((DateTime)result, item._0001()); last2 = false; StringWriter stringWriter2 = new StringWriter(CultureInfo.InvariantCulture); DescriptorIteratorMapping.TestProperty(stringWriter2, token, item._0001(), item._0003(), item._0001()); return(stringWriter2.ToString()); } case (SettingsSerializeAs)28: case (SettingsSerializeAs)29: { last2 = false; StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture); DescriptorIteratorMapping.AssetProperty(stringWriter, (DateTimeOffset)result, item._0001(), item._0003(), item._0001()); return(stringWriter.ToString()); } case (SettingsSerializeAs)24: case (SettingsSerializeAs)25: { double num = (double)result; last2 = false; return(num.ToString("R", CultureInfo.InvariantCulture)); } case (SettingsSerializeAs)22: case (SettingsSerializeAs)23: { float num2 = (float)result; last2 = false; return(num2.ToString("R", CultureInfo.InvariantCulture)); } default: { last2 = true; if (proccesorClassSpec._FilterProperty && InfoFilterResolver.InsertIssuer(proccesorClassSpec._InstanceProperty, result, null, out string _0005)) { return(_0005); } return(Convert.ToString(result, CultureInfo.InvariantCulture)); } } } if (ExcludeBroadcaster(result, result.GetType(), out string _0004)) { last2 = true; return(_0004); } last2 = true; return(result.ToString()); }