public static IEnumerable <PropertyInfo> ReadReader(Type param, BindingFlags pred) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 ContextClientBridge.RunClient(param, "targetType"); List <PropertyInfo> list = new List <PropertyInfo>(param.GetProperties(pred)); if (param.SortReader()) { Type[] interfaces = param.GetInterfaces(); foreach (Type type in interfaces) { list.AddRange(type.GetProperties(pred)); } } CalcReader(list, param, pred); for (int j = 0; j < list.Count; j++) { PropertyInfo propertyInfo = list[j]; if (propertyInfo.DeclaringType != param) { PropertyInfo propertyInfo3 = list[j] = (PropertyInfo)PrepareReader(propertyInfo.DeclaringType, propertyInfo); } } return(list); }
public override ParserFilterResolver this[object def] { [MethodImpl(MethodImplOptions.NoInlining)] get { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 ContextClientBridge.RunClient(def, "key"); if (def is int) { int lengthinit = (int)def; return(((ConfigurationIssuer)this)._0001(lengthinit)); } throw new ArgumentException("Accessed JConstructor values with invalid key value: {0}. Argument position index expected.".ListReader(CultureInfo.InvariantCulture, CustomerListAnnotation.InvokeIssuer(def))); } [MethodImpl(MethodImplOptions.NoInlining)] set { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 ContextClientBridge.RunClient(v, "key"); if (v is int) { int lastY = (int)v; _0001(lastY, value); return; } throw new ArgumentException("Set JConstructor values with invalid key value: {0}. Argument position index expected.".ListReader(CultureInfo.InvariantCulture, CustomerListAnnotation.InvokeIssuer(v))); } }
public new bool _0001(string init) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 ContextClientBridge.RunClient(init, "propertyName"); return(_StubIssuer.FillRequest(init)); }
public ParserFilterResolver this[string param] { [MethodImpl(MethodImplOptions.NoInlining)] get { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 ContextClientBridge.RunClient(param, "propertyName"); return(DisableRequest(param, StringComparison.Ordinal)?._0004()); } [MethodImpl(MethodImplOptions.NoInlining)] set { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 WatcherIssuer watcherIssuer = DisableRequest(ident, StringComparison.Ordinal); if (watcherIssuer != null) { watcherIssuer._0003(value); return; } this._0002(ident); _0002(ident, value); this._0001(ident); } }
public static TT RegisterClass <[_0008._0012(0)] T, [_0008._0012(2)] TT>(this IEnumerable <T> spec) where T : ParserFilterResolver { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 ContextClientBridge.RunClient(spec, "value"); return(((spec as ParserFilterResolver) ?? throw new ArgumentException("Source value must be a JToken.")).SearchClass <ParserFilterResolver, TT>()); }
public override ParserFilterResolver this[object init] { [MethodImpl(MethodImplOptions.NoInlining)] get { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 ContextClientBridge.RunClient(init, "key"); string text = init as string; if (text == null) { throw new ArgumentException("Accessed JObject values with invalid key value: {0}. Object property name expected.".ListReader(CultureInfo.InvariantCulture, CustomerListAnnotation.InvokeIssuer(init))); } return(this[text]); } [MethodImpl(MethodImplOptions.NoInlining)] set { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 ContextClientBridge.RunClient(init, "key"); string text = init as string; if (text == null) { throw new ArgumentException("Set JObject values with invalid key value: {0}. Object property name expected.".ListReader(CultureInfo.InvariantCulture, CustomerListAnnotation.InvokeIssuer(init))); } this[text] = value; } }
private T SetupClient <[_0008._0012(2)] T>(object spec) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 ContextClientBridge.RunClient(spec, "value"); return((T)Convert.ChangeType(((PoolIssuer)spec)._0001(), typeof(T), CultureInfo.InvariantCulture)); }
public static void MapReader([_0008._0012(1)] Type _0002, out Type second, out Type util) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 ContextClientBridge.RunClient(_0002, "dictionaryType"); if (FillReader(_0002, typeof(IDictionary <, >), out Type _0004)) { if (_0004.PublishReader()) { throw new Exception("Type {0} is not a dictionary.".ListReader(CultureInfo.InvariantCulture, _0002)); } Type[] genericArguments = _0004.GetGenericArguments(); second = genericArguments[0]; util = genericArguments[1]; } else { if (!typeof(IDictionary).IsAssignableFrom(_0002)) { throw new Exception("Type {0} is not a dictionary.".ListReader(CultureInfo.InvariantCulture, _0002)); } second = null; util = null; } }
private static string ConcatReader(this string v, IFormatProvider col, object[] state) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 ContextClientBridge.RunClient(v, "format"); return(string.Format(col, v, state)); }
public static object StopReader(MemberInfo ident, object caller) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 ContextClientBridge.RunClient(ident, "member"); ContextClientBridge.RunClient(caller, "target"); switch (ident.DefineReader()) { case MemberTypes.Field: return(((FieldInfo)ident).GetValue(caller)); case MemberTypes.Property: try { return(((PropertyInfo)ident).GetValue(caller, null)); } catch (TargetParameterCountException innerException) { throw new ArgumentException("MemberInfo '{0}' has index parameters".ListReader(CultureInfo.InvariantCulture, ident.Name), innerException); } default: throw new ArgumentException("MemberInfo '{0}' is not of type FieldInfo or PropertyInfo".ListReader(CultureInfo.InvariantCulture, ident.Name), "member"); } }
public static bool FillReader(Type ident, Type b, [_0008._0012(2)][ConsumerBroadcasterDispatcher(true)] out Type _0004) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 ContextClientBridge.RunClient(ident, "type"); ContextClientBridge.RunClient(b, "genericInterfaceDefinition"); if (!b.SortReader() || !b.PublishReader()) { throw new ArgumentNullException("'{0}' is not a generic interface definition.".ListReader(CultureInfo.InvariantCulture, b)); } if (ident.SortReader() && ident.CallReader()) { Type genericTypeDefinition = ident.GetGenericTypeDefinition(); if (b == genericTypeDefinition) { _0004 = ident; return(true); } } Type[] interfaces = ident.GetInterfaces(); foreach (Type type in interfaces) { if (type.CallReader()) { Type genericTypeDefinition2 = type.GetGenericTypeDefinition(); if (b == genericTypeDefinition2) { _0004 = type; return(true); } } } _0004 = null; return(false); }
public override ParserFilterResolver this[object item] { [MethodImpl(MethodImplOptions.NoInlining)] get { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 ContextClientBridge.RunClient(item, "key"); if (!(item is int)) { throw new ArgumentException("Accessed JArray values with invalid key value: {0}. Int32 array index expected.".ListReader(CultureInfo.InvariantCulture, CustomerListAnnotation.InvokeIssuer(item))); } return(((ConfigurationIssuer)this)._0001((int)item)); } [MethodImpl(MethodImplOptions.NoInlining)] set { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 ContextClientBridge.RunClient(def, "key"); if (!(def is int)) { throw new ArgumentException("Set JArray values with invalid key value: {0}. Int32 array index expected.".ListReader(CultureInfo.InvariantCulture, CustomerListAnnotation.InvokeIssuer(def))); } _0001((int)def, value); } }
public static bool CreateReader(PropertyInfo value) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 ContextClientBridge.RunClient(value, "property"); return(value.GetIndexParameters().Length != 0); }
public override Func <T, object> _0001 <[_0008._0012(2)] T>(PropertyInfo ident) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 ContextClientBridge.RunClient(ident, "propertyInfo"); return((T P_0) => ident.GetValue(P_0, null)); }
public override Func <T, object> _0001 <[_0008._0012(2)] T>(FieldInfo asset) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 ContextClientBridge.RunClient(asset, "fieldInfo"); return((T P_0) => asset.GetValue(P_0)); }
public void NewIterator(string ident, string b) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 ContextClientBridge.RunClient(ident, "pattern"); RateTest(WatcherComposer.Undefined, null); MoveIterator(new MapperComposerPool(ident, b)); }
public PoolPropertyStruct(IEnumerable <T> item) { //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(); ContextClientBridge.RunClient(item, "enumerable"); _StructIssuer = item; }
public TokenComposer(IEnumerator <KeyValuePair <T3, G> > var1) { //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(); ContextClientBridge.RunClient(var1, "e"); _DispatcherComposer = var1; }
public object _0001(object key, TypeCode col) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 ContextClientBridge.RunClient(key, "value"); PoolIssuer poolIssuer = key as PoolIssuer; return(Convert.ChangeType((poolIssuer != null) ? poolIssuer._0001() : key, col, CultureInfo.InvariantCulture)); }
internal bool ExcludeClient(IDynamicMetaObjectProvider value, string second, object consumer) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 ContextClientBridge.RunClient(value, "dynamicProvider"); CallSite <Func <CallSite, object, object, object> > callSite = m_TaskProperty.InitReader(second); return(callSite.Target(callSite, value, consumer) != SchemaComposer.refComposer); }
public void _0002(Type init) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 ContextClientBridge.RunClient(init, "value"); m_IteratorProperty = init; propertyProperty = m_IteratorProperty.DisableClient(); _IssuerProperty = (!m_IteratorProperty.SortReader() && !m_IteratorProperty.VerifyClient()); }
internal virtual void _0001(ParserFilterResolver v, ParserFilterResolver pred) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 ContextClientBridge.RunClient(v, "o"); if (v._0001() == Newtonsoft.Rules.UnicodeCategory.Property) { throw new ArgumentException("Can not add {0} to {1}.".SelectReader(CultureInfo.InvariantCulture, v.GetType(), GetType())); } }
public StructIteratorMapping(MemberInfo spec) { //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(spec, "memberInfo"); _ItemTest = spec; }
public ComparatorProperty(object first) { //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(first, "attributeProvider"); _ProcProperty = first; }
public static IEnumerable <FieldInfo> AwakeReader(Type setup, BindingFlags ord) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 ContextClientBridge.RunClient(setup, "targetType"); List <MemberInfo> list = new List <MemberInfo>(setup.GetFields(ord)); UpdateReader(list, setup, ord); return(list.Cast <FieldInfo>()); }
public AttributeDicCandidate(MemberInfo first) { //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(first, "memberInfo"); recordIssuer = first; }
public DatabaseDicCandidate(ParserFilterResolver spec) { //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(spec, "token"); m_SetterIssuer = spec; }
public static bool PatchReader(Type spec) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 ContextClientBridge.RunClient(spec, "t"); if (spec.CallReader()) { return(spec.GetGenericTypeDefinition() == typeof(Nullable <>)); } return(false); }
public ManagerComposer(TextWriter key) { //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(); m_StateComposer = new char[76]; base._002Ector(); ContextClientBridge.RunClient(key, "writer"); _ResolverComposer = key; }
public static bool VerifyReader(Type param) { //Discarded unreachable code: IL_0002 //IL_0003: Incompatible stack heights: 0 vs 1 ContextClientBridge.RunClient(param, "t"); if (param.FindClient()) { return(PatchReader(param)); } return(true); }