説明なし
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

System.Core4.cpp 144KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729
  1. #include "pch-cpp.hpp"
  2. #ifndef _MSC_VER
  3. # include <alloca.h>
  4. #else
  5. # include <malloc.h>
  6. #endif
  7. #include <limits>
  8. struct VirtualActionInvoker0
  9. {
  10. typedef void (*Action)(void*, const RuntimeMethod*);
  11. static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
  12. {
  13. const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
  14. ((Action)invokeData.methodPtr)(obj, invokeData.method);
  15. }
  16. };
  17. template <typename R, typename T1>
  18. struct VirtualFuncInvoker1
  19. {
  20. typedef R (*Func)(void*, T1, const RuntimeMethod*);
  21. static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
  22. {
  23. const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
  24. return ((Func)invokeData.methodPtr)(obj, p1, invokeData.method);
  25. }
  26. };
  27. // System.Threading.AsyncLocal`1<System.Globalization.CultureInfo>
  28. struct AsyncLocal_1_t1D3339EA4C8650D2DEDDF9553E5C932B3DC2CCFD;
  29. // System.Int32[]
  30. struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C;
  31. // System.IntPtr[]
  32. struct IntPtrU5BU5D_tFD177F8C806A6921AD7150264CCC62FA00CAD832;
  33. // System.Diagnostics.StackTrace[]
  34. struct StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF;
  35. // System.ArgumentOutOfRangeException
  36. struct ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F;
  37. // System.Threading.AutoResetEvent
  38. struct AutoResetEvent_t7F792F3F7AD11BEF7B411E771D98E5266A8CE7C0;
  39. // System.Collections.Generic.BitHelper
  40. struct BitHelper_t2BEA51BB52EB1672DBF4163ED6757DCEEB3A4DF1;
  41. // System.Globalization.CultureInfo
  42. struct CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0;
  43. // System.Threading.EventWaitHandle
  44. struct EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E;
  45. // System.Threading.ExecutionContext
  46. struct ExecutionContext_t9D6EDFD92F0B2D391751963E2D77A8B03CB81710;
  47. // System.Collections.IDictionary
  48. struct IDictionary_t6D03155AF1FA9083817AA5B6AD7DEEACC26AB220;
  49. // System.Security.Principal.IPrincipal
  50. struct IPrincipal_tE7AF5096287F6C3472585E124CB38FF2A51EAB5F;
  51. // System.Int32
  52. struct Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C;
  53. // System.Threading.InternalThread
  54. struct InternalThread_tF40B7BFCBD60C82BD8475A22FF5186CA10293687;
  55. // System.LocalDataStoreHolder
  56. struct LocalDataStoreHolder_t789DD474AE5141213C2105CE57830ECFC2D3C03F;
  57. // System.LocalDataStoreMgr
  58. struct LocalDataStoreMgr_t205F1783D5CC2B148E829B5882E5406FF9A3AC1E;
  59. // System.Threading.LockRecursionException
  60. struct LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496;
  61. // System.Threading.ManualResetEvent
  62. struct ManualResetEvent_t63959486AA41A113A4353D0BF4A68E77EBA0A158;
  63. // System.MulticastDelegate
  64. struct MulticastDelegate_t;
  65. // System.ObjectDisposedException
  66. struct ObjectDisposedException_tC5FB29E8E980E2010A2F6A5B9B791089419F89EB;
  67. // System.Threading.ReaderWriterCount
  68. struct ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333;
  69. // System.Threading.ReaderWriterLockSlim
  70. struct ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906;
  71. // System.Runtime.Serialization.SafeSerializationManager
  72. struct SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6;
  73. // Microsoft.Win32.SafeHandles.SafeWaitHandle
  74. struct SafeWaitHandle_t58F5662CD56F6462A687198A64987F8980804449;
  75. // System.String
  76. struct String_t;
  77. // System.Threading.SynchronizationLockException
  78. struct SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34;
  79. // System.Threading.Thread
  80. struct Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F;
  81. // System.Void
  82. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
  83. IL2CPP_EXTERN_C RuntimeClass* ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F_il2cpp_TypeInfo_var;
  84. IL2CPP_EXTERN_C RuntimeClass* AutoResetEvent_t7F792F3F7AD11BEF7B411E771D98E5266A8CE7C0_il2cpp_TypeInfo_var;
  85. IL2CPP_EXTERN_C RuntimeClass* LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496_il2cpp_TypeInfo_var;
  86. IL2CPP_EXTERN_C RuntimeClass* ManualResetEvent_t63959486AA41A113A4353D0BF4A68E77EBA0A158_il2cpp_TypeInfo_var;
  87. IL2CPP_EXTERN_C RuntimeClass* ObjectDisposedException_tC5FB29E8E980E2010A2F6A5B9B791089419F89EB_il2cpp_TypeInfo_var;
  88. IL2CPP_EXTERN_C RuntimeClass* PlatformHelper_t5E497382616B62F0B318E53D098F90E22AB35722_il2cpp_TypeInfo_var;
  89. IL2CPP_EXTERN_C RuntimeClass* ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333_il2cpp_TypeInfo_var;
  90. IL2CPP_EXTERN_C RuntimeClass* ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_il2cpp_TypeInfo_var;
  91. IL2CPP_EXTERN_C RuntimeClass* SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34_il2cpp_TypeInfo_var;
  92. IL2CPP_EXTERN_C String_t* _stringLiteral10C4AECF4C2A9921D7FDB1EEA6237F828B265648;
  93. IL2CPP_EXTERN_C String_t* _stringLiteral28BCDD3CA5E41255B6A2EBE02C50B3F4CE3093AA;
  94. IL2CPP_EXTERN_C String_t* _stringLiteral485C8998D53F77608ABEDAF04A4DBE853A80D357;
  95. IL2CPP_EXTERN_C String_t* _stringLiteral6DC62F421ABC9EEBA3ED23A09F410EA41A1F72C6;
  96. IL2CPP_EXTERN_C String_t* _stringLiteral84A266738245DD942C30B2FC8963EC80C662B538;
  97. IL2CPP_EXTERN_C String_t* _stringLiteral8822CE4A43FFFD3B2CC49B9D5FC1B66F0CCBF3B1;
  98. IL2CPP_EXTERN_C String_t* _stringLiteralA1E10561E358BF2699823096E8ABA5826AB9E732;
  99. IL2CPP_EXTERN_C String_t* _stringLiteralCF088CD7CED04705BD5E7559DBB7DD9A14559182;
  100. IL2CPP_EXTERN_C String_t* _stringLiteralDCB7866DEDA66D0DAAD8C519AF9693DB97A9BF28;
  101. IL2CPP_EXTERN_C const RuntimeMethod* ReaderWriterLockSlim_Dispose_mA894FFFD0829F6CEDD8318482F57D2A5FCFD5661_RuntimeMethod_var;
  102. IL2CPP_EXTERN_C const RuntimeMethod* ReaderWriterLockSlim_ExitUpgradeableReadLock_m70E125A9542852AC8E908571F9EB86670E2CFEEA_RuntimeMethod_var;
  103. IL2CPP_EXTERN_C const RuntimeMethod* ReaderWriterLockSlim_ExitWriteLock_m84F7F58C2B3552C5B32744FB06004CACDFCE57E6_RuntimeMethod_var;
  104. IL2CPP_EXTERN_C const RuntimeMethod* ReaderWriterLockSlim_TryEnterUpgradeableReadLockCore_mA84580B68864B07DD3D6A2A4F48FCFE72EEA6F6F_RuntimeMethod_var;
  105. IL2CPP_EXTERN_C const RuntimeMethod* ReaderWriterLockSlim_TryEnterWriteLockCore_m18B708E74264AC43BAD623C8ACC92370DA32888B_RuntimeMethod_var;
  106. IL2CPP_EXTERN_C const RuntimeMethod* TimeoutTracker__ctor_mBFE73B99C5BBB93D251DF9731B9C5D824F30CDCE_RuntimeMethod_var;
  107. struct Exception_t_marshaled_com;
  108. struct Exception_t_marshaled_pinvoke;
  109. struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C;
  110. IL2CPP_EXTERN_C_BEGIN
  111. IL2CPP_EXTERN_C_END
  112. #ifdef __clang__
  113. #pragma clang diagnostic push
  114. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  115. #pragma clang diagnostic ignored "-Wunused-variable"
  116. #endif
  117. // System.Collections.Generic.BitHelper
  118. struct BitHelper_t2BEA51BB52EB1672DBF4163ED6757DCEEB3A4DF1 : public RuntimeObject
  119. {
  120. // System.Int32 System.Collections.Generic.BitHelper::_length
  121. int32_t ____length_0;
  122. // System.Int32* System.Collections.Generic.BitHelper::_arrayPtr
  123. int32_t* ____arrayPtr_1;
  124. // System.Int32[] System.Collections.Generic.BitHelper::_array
  125. Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____array_2;
  126. // System.Boolean System.Collections.Generic.BitHelper::_useStackAlloc
  127. bool ____useStackAlloc_3;
  128. };
  129. // System.Runtime.ConstrainedExecution.CriticalFinalizerObject
  130. struct CriticalFinalizerObject_t1DCAB623CAEA6529A96F5F3EDE3C7048A6E313C9 : public RuntimeObject
  131. {
  132. };
  133. // System.MarshalByRefObject
  134. struct MarshalByRefObject_t8C2F4C5854177FD60439EB1FCCFC1B3CFAFE8DCE : public RuntimeObject
  135. {
  136. // System.Object System.MarshalByRefObject::_identity
  137. RuntimeObject* ____identity_0;
  138. };
  139. // Native definition for P/Invoke marshalling of System.MarshalByRefObject
  140. struct MarshalByRefObject_t8C2F4C5854177FD60439EB1FCCFC1B3CFAFE8DCE_marshaled_pinvoke
  141. {
  142. Il2CppIUnknown* ____identity_0;
  143. };
  144. // Native definition for COM marshalling of System.MarshalByRefObject
  145. struct MarshalByRefObject_t8C2F4C5854177FD60439EB1FCCFC1B3CFAFE8DCE_marshaled_com
  146. {
  147. Il2CppIUnknown* ____identity_0;
  148. };
  149. // System.Threading.ReaderWriterCount
  150. struct ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333 : public RuntimeObject
  151. {
  152. // System.Int64 System.Threading.ReaderWriterCount::lockID
  153. int64_t ___lockID_0;
  154. // System.Int32 System.Threading.ReaderWriterCount::readercount
  155. int32_t ___readercount_1;
  156. // System.Int32 System.Threading.ReaderWriterCount::writercount
  157. int32_t ___writercount_2;
  158. // System.Int32 System.Threading.ReaderWriterCount::upgradecount
  159. int32_t ___upgradecount_3;
  160. // System.Threading.ReaderWriterCount System.Threading.ReaderWriterCount::next
  161. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* ___next_4;
  162. };
  163. // System.Threading.ReaderWriterLockSlim
  164. struct ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906 : public RuntimeObject
  165. {
  166. // System.Boolean System.Threading.ReaderWriterLockSlim::fIsReentrant
  167. bool ___fIsReentrant_0;
  168. // System.Int32 System.Threading.ReaderWriterLockSlim::myLock
  169. int32_t ___myLock_1;
  170. // System.UInt32 System.Threading.ReaderWriterLockSlim::numWriteWaiters
  171. uint32_t ___numWriteWaiters_2;
  172. // System.UInt32 System.Threading.ReaderWriterLockSlim::numReadWaiters
  173. uint32_t ___numReadWaiters_3;
  174. // System.UInt32 System.Threading.ReaderWriterLockSlim::numWriteUpgradeWaiters
  175. uint32_t ___numWriteUpgradeWaiters_4;
  176. // System.UInt32 System.Threading.ReaderWriterLockSlim::numUpgradeWaiters
  177. uint32_t ___numUpgradeWaiters_5;
  178. // System.Boolean System.Threading.ReaderWriterLockSlim::fNoWaiters
  179. bool ___fNoWaiters_6;
  180. // System.Int32 System.Threading.ReaderWriterLockSlim::upgradeLockOwnerId
  181. int32_t ___upgradeLockOwnerId_7;
  182. // System.Int32 System.Threading.ReaderWriterLockSlim::writeLockOwnerId
  183. int32_t ___writeLockOwnerId_8;
  184. // System.Threading.EventWaitHandle System.Threading.ReaderWriterLockSlim::writeEvent
  185. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* ___writeEvent_9;
  186. // System.Threading.EventWaitHandle System.Threading.ReaderWriterLockSlim::readEvent
  187. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* ___readEvent_10;
  188. // System.Threading.EventWaitHandle System.Threading.ReaderWriterLockSlim::upgradeEvent
  189. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* ___upgradeEvent_11;
  190. // System.Threading.EventWaitHandle System.Threading.ReaderWriterLockSlim::waitUpgradeEvent
  191. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* ___waitUpgradeEvent_12;
  192. // System.Int64 System.Threading.ReaderWriterLockSlim::lockID
  193. int64_t ___lockID_14;
  194. // System.Boolean System.Threading.ReaderWriterLockSlim::fUpgradeThreadHoldingRead
  195. bool ___fUpgradeThreadHoldingRead_16;
  196. // System.UInt32 System.Threading.ReaderWriterLockSlim::owners
  197. uint32_t ___owners_17;
  198. // System.Boolean System.Threading.ReaderWriterLockSlim::fDisposed
  199. bool ___fDisposed_18;
  200. };
  201. // System.String
  202. struct String_t : public RuntimeObject
  203. {
  204. // System.Int32 System.String::_stringLength
  205. int32_t ____stringLength_4;
  206. // System.Char System.String::_firstChar
  207. Il2CppChar ____firstChar_5;
  208. };
  209. // System.ValueType
  210. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
  211. {
  212. };
  213. // Native definition for P/Invoke marshalling of System.ValueType
  214. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
  215. {
  216. };
  217. // Native definition for COM marshalling of System.ValueType
  218. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
  219. {
  220. };
  221. // System.Boolean
  222. struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22
  223. {
  224. // System.Boolean System.Boolean::m_value
  225. bool ___m_value_0;
  226. };
  227. // System.Int32
  228. struct Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C
  229. {
  230. // System.Int32 System.Int32::m_value
  231. int32_t ___m_value_0;
  232. };
  233. // System.Int64
  234. struct Int64_t092CFB123BE63C28ACDAF65C68F21A526050DBA3
  235. {
  236. // System.Int64 System.Int64::m_value
  237. int64_t ___m_value_0;
  238. };
  239. // System.IntPtr
  240. struct IntPtr_t
  241. {
  242. // System.Void* System.IntPtr::m_value
  243. void* ___m_value_0;
  244. };
  245. // System.Threading.Thread
  246. struct Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F : public CriticalFinalizerObject_t1DCAB623CAEA6529A96F5F3EDE3C7048A6E313C9
  247. {
  248. // System.Threading.InternalThread System.Threading.Thread::internal_thread
  249. InternalThread_tF40B7BFCBD60C82BD8475A22FF5186CA10293687* ___internal_thread_6;
  250. // System.Object System.Threading.Thread::m_ThreadStartArg
  251. RuntimeObject* ___m_ThreadStartArg_7;
  252. // System.Object System.Threading.Thread::pending_exception
  253. RuntimeObject* ___pending_exception_8;
  254. // System.MulticastDelegate System.Threading.Thread::m_Delegate
  255. MulticastDelegate_t* ___m_Delegate_10;
  256. // System.Threading.ExecutionContext System.Threading.Thread::m_ExecutionContext
  257. ExecutionContext_t9D6EDFD92F0B2D391751963E2D77A8B03CB81710* ___m_ExecutionContext_11;
  258. // System.Boolean System.Threading.Thread::m_ExecutionContextBelongsToOuterScope
  259. bool ___m_ExecutionContextBelongsToOuterScope_12;
  260. // System.Security.Principal.IPrincipal System.Threading.Thread::principal
  261. RuntimeObject* ___principal_13;
  262. // System.Int32 System.Threading.Thread::principal_version
  263. int32_t ___principal_version_14;
  264. };
  265. // System.UInt32
  266. struct UInt32_t1833D51FFA667B18A5AA4B8D34DE284F8495D29B
  267. {
  268. // System.UInt32 System.UInt32::m_value
  269. uint32_t ___m_value_0;
  270. };
  271. // System.Void
  272. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
  273. {
  274. union
  275. {
  276. struct
  277. {
  278. };
  279. uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
  280. };
  281. };
  282. // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=1024
  283. struct __StaticArrayInitTypeSizeU3D1024_t2A1518FE93EF6BEE22F2C6BA90AE95237A6E13AE
  284. {
  285. union
  286. {
  287. struct
  288. {
  289. union
  290. {
  291. };
  292. };
  293. uint8_t __StaticArrayInitTypeSizeU3D1024_t2A1518FE93EF6BEE22F2C6BA90AE95237A6E13AE__padding[1024];
  294. };
  295. };
  296. // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=120
  297. struct __StaticArrayInitTypeSizeU3D120_t6F11AA913DFF35D8B33057BABEFEF1EA9B976881
  298. {
  299. union
  300. {
  301. struct
  302. {
  303. union
  304. {
  305. };
  306. };
  307. uint8_t __StaticArrayInitTypeSizeU3D120_t6F11AA913DFF35D8B33057BABEFEF1EA9B976881__padding[120];
  308. };
  309. };
  310. // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=256
  311. struct __StaticArrayInitTypeSizeU3D256_t121506E42A9F4B673CDCF2FDFF169D68811BB731
  312. {
  313. union
  314. {
  315. struct
  316. {
  317. union
  318. {
  319. };
  320. };
  321. uint8_t __StaticArrayInitTypeSizeU3D256_t121506E42A9F4B673CDCF2FDFF169D68811BB731__padding[256];
  322. };
  323. };
  324. // System.Threading.ReaderWriterLockSlim/TimeoutTracker
  325. struct TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C
  326. {
  327. // System.Int32 System.Threading.ReaderWriterLockSlim/TimeoutTracker::m_total
  328. int32_t ___m_total_0;
  329. // System.Int32 System.Threading.ReaderWriterLockSlim/TimeoutTracker::m_start
  330. int32_t ___m_start_1;
  331. };
  332. // <PrivateImplementationDetails>
  333. struct U3CPrivateImplementationDetailsU3E_t0985298E3928118182D9E60D8C7A51F84FE0D710 : public RuntimeObject
  334. {
  335. };
  336. // System.Exception
  337. struct Exception_t : public RuntimeObject
  338. {
  339. // System.String System.Exception::_className
  340. String_t* ____className_1;
  341. // System.String System.Exception::_message
  342. String_t* ____message_2;
  343. // System.Collections.IDictionary System.Exception::_data
  344. RuntimeObject* ____data_3;
  345. // System.Exception System.Exception::_innerException
  346. Exception_t* ____innerException_4;
  347. // System.String System.Exception::_helpURL
  348. String_t* ____helpURL_5;
  349. // System.Object System.Exception::_stackTrace
  350. RuntimeObject* ____stackTrace_6;
  351. // System.String System.Exception::_stackTraceString
  352. String_t* ____stackTraceString_7;
  353. // System.String System.Exception::_remoteStackTraceString
  354. String_t* ____remoteStackTraceString_8;
  355. // System.Int32 System.Exception::_remoteStackIndex
  356. int32_t ____remoteStackIndex_9;
  357. // System.Object System.Exception::_dynamicMethods
  358. RuntimeObject* ____dynamicMethods_10;
  359. // System.Int32 System.Exception::_HResult
  360. int32_t ____HResult_11;
  361. // System.String System.Exception::_source
  362. String_t* ____source_12;
  363. // System.Runtime.Serialization.SafeSerializationManager System.Exception::_safeSerializationManager
  364. SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager_13;
  365. // System.Diagnostics.StackTrace[] System.Exception::captured_traces
  366. StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
  367. // System.IntPtr[] System.Exception::native_trace_ips
  368. IntPtrU5BU5D_tFD177F8C806A6921AD7150264CCC62FA00CAD832* ___native_trace_ips_15;
  369. // System.Int32 System.Exception::caught_in_unmanaged
  370. int32_t ___caught_in_unmanaged_16;
  371. };
  372. // Native definition for P/Invoke marshalling of System.Exception
  373. struct Exception_t_marshaled_pinvoke
  374. {
  375. char* ____className_1;
  376. char* ____message_2;
  377. RuntimeObject* ____data_3;
  378. Exception_t_marshaled_pinvoke* ____innerException_4;
  379. char* ____helpURL_5;
  380. Il2CppIUnknown* ____stackTrace_6;
  381. char* ____stackTraceString_7;
  382. char* ____remoteStackTraceString_8;
  383. int32_t ____remoteStackIndex_9;
  384. Il2CppIUnknown* ____dynamicMethods_10;
  385. int32_t ____HResult_11;
  386. char* ____source_12;
  387. SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager_13;
  388. StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
  389. Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
  390. int32_t ___caught_in_unmanaged_16;
  391. };
  392. // Native definition for COM marshalling of System.Exception
  393. struct Exception_t_marshaled_com
  394. {
  395. Il2CppChar* ____className_1;
  396. Il2CppChar* ____message_2;
  397. RuntimeObject* ____data_3;
  398. Exception_t_marshaled_com* ____innerException_4;
  399. Il2CppChar* ____helpURL_5;
  400. Il2CppIUnknown* ____stackTrace_6;
  401. Il2CppChar* ____stackTraceString_7;
  402. Il2CppChar* ____remoteStackTraceString_8;
  403. int32_t ____remoteStackIndex_9;
  404. Il2CppIUnknown* ____dynamicMethods_10;
  405. int32_t ____HResult_11;
  406. Il2CppChar* ____source_12;
  407. SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager_13;
  408. StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
  409. Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
  410. int32_t ___caught_in_unmanaged_16;
  411. };
  412. // System.Threading.WaitHandle
  413. struct WaitHandle_t08F8DB54593B241FE32E0DD0BD3D82785D3AE3D8 : public MarshalByRefObject_t8C2F4C5854177FD60439EB1FCCFC1B3CFAFE8DCE
  414. {
  415. // System.IntPtr System.Threading.WaitHandle::waitHandle
  416. intptr_t ___waitHandle_3;
  417. // Microsoft.Win32.SafeHandles.SafeWaitHandle modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.WaitHandle::safeWaitHandle
  418. SafeWaitHandle_t58F5662CD56F6462A687198A64987F8980804449* ___safeWaitHandle_4;
  419. // System.Boolean System.Threading.WaitHandle::hasThreadAffinity
  420. bool ___hasThreadAffinity_5;
  421. };
  422. // Native definition for P/Invoke marshalling of System.Threading.WaitHandle
  423. struct WaitHandle_t08F8DB54593B241FE32E0DD0BD3D82785D3AE3D8_marshaled_pinvoke : public MarshalByRefObject_t8C2F4C5854177FD60439EB1FCCFC1B3CFAFE8DCE_marshaled_pinvoke
  424. {
  425. intptr_t ___waitHandle_3;
  426. void* ___safeWaitHandle_4;
  427. int32_t ___hasThreadAffinity_5;
  428. };
  429. // Native definition for COM marshalling of System.Threading.WaitHandle
  430. struct WaitHandle_t08F8DB54593B241FE32E0DD0BD3D82785D3AE3D8_marshaled_com : public MarshalByRefObject_t8C2F4C5854177FD60439EB1FCCFC1B3CFAFE8DCE_marshaled_com
  431. {
  432. intptr_t ___waitHandle_3;
  433. void* ___safeWaitHandle_4;
  434. int32_t ___hasThreadAffinity_5;
  435. };
  436. // System.Threading.EventWaitHandle
  437. struct EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E : public WaitHandle_t08F8DB54593B241FE32E0DD0BD3D82785D3AE3D8
  438. {
  439. };
  440. // System.Threading.LockRecursionException
  441. struct LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496 : public Exception_t
  442. {
  443. };
  444. // System.SystemException
  445. struct SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295 : public Exception_t
  446. {
  447. };
  448. // System.ArgumentException
  449. struct ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263 : public SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295
  450. {
  451. // System.String System.ArgumentException::_paramName
  452. String_t* ____paramName_18;
  453. };
  454. // System.Threading.AutoResetEvent
  455. struct AutoResetEvent_t7F792F3F7AD11BEF7B411E771D98E5266A8CE7C0 : public EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E
  456. {
  457. };
  458. // System.InvalidOperationException
  459. struct InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB : public SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295
  460. {
  461. };
  462. // System.Threading.ManualResetEvent
  463. struct ManualResetEvent_t63959486AA41A113A4353D0BF4A68E77EBA0A158 : public EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E
  464. {
  465. };
  466. // System.Threading.SynchronizationLockException
  467. struct SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34 : public SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295
  468. {
  469. };
  470. // System.ArgumentOutOfRangeException
  471. struct ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F : public ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263
  472. {
  473. // System.Object System.ArgumentOutOfRangeException::_actualValue
  474. RuntimeObject* ____actualValue_19;
  475. };
  476. // System.ObjectDisposedException
  477. struct ObjectDisposedException_tC5FB29E8E980E2010A2F6A5B9B791089419F89EB : public InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB
  478. {
  479. // System.String System.ObjectDisposedException::_objectName
  480. String_t* ____objectName_18;
  481. };
  482. // System.Collections.Generic.BitHelper
  483. // System.Collections.Generic.BitHelper
  484. // System.Threading.ReaderWriterCount
  485. // System.Threading.ReaderWriterCount
  486. // System.Threading.ReaderWriterLockSlim
  487. struct ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_StaticFields
  488. {
  489. // System.Int64 System.Threading.ReaderWriterLockSlim::s_nextLockID
  490. int64_t ___s_nextLockID_13;
  491. };
  492. // System.Threading.ReaderWriterLockSlim
  493. struct ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_ThreadStaticFields
  494. {
  495. // System.Threading.ReaderWriterCount System.Threading.ReaderWriterLockSlim::t_rwc
  496. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* ___t_rwc_15;
  497. };
  498. // System.String
  499. struct String_t_StaticFields
  500. {
  501. // System.String System.String::Empty
  502. String_t* ___Empty_6;
  503. };
  504. // System.String
  505. // System.Boolean
  506. struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_StaticFields
  507. {
  508. // System.String System.Boolean::TrueString
  509. String_t* ___TrueString_5;
  510. // System.String System.Boolean::FalseString
  511. String_t* ___FalseString_6;
  512. };
  513. // System.Boolean
  514. // System.Int32
  515. // System.Int32
  516. // System.Int64
  517. // System.Int64
  518. // System.Threading.Thread
  519. struct Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F_StaticFields
  520. {
  521. // System.LocalDataStoreMgr System.Threading.Thread::s_LocalDataStoreMgr
  522. LocalDataStoreMgr_t205F1783D5CC2B148E829B5882E5406FF9A3AC1E* ___s_LocalDataStoreMgr_0;
  523. // System.Threading.AsyncLocal`1<System.Globalization.CultureInfo> System.Threading.Thread::s_asyncLocalCurrentCulture
  524. AsyncLocal_1_t1D3339EA4C8650D2DEDDF9553E5C932B3DC2CCFD* ___s_asyncLocalCurrentCulture_4;
  525. // System.Threading.AsyncLocal`1<System.Globalization.CultureInfo> System.Threading.Thread::s_asyncLocalCurrentUICulture
  526. AsyncLocal_1_t1D3339EA4C8650D2DEDDF9553E5C932B3DC2CCFD* ___s_asyncLocalCurrentUICulture_5;
  527. };
  528. // System.Threading.Thread
  529. struct Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F_ThreadStaticFields
  530. {
  531. // System.LocalDataStoreHolder System.Threading.Thread::s_LocalDataStore
  532. LocalDataStoreHolder_t789DD474AE5141213C2105CE57830ECFC2D3C03F* ___s_LocalDataStore_1;
  533. // System.Globalization.CultureInfo System.Threading.Thread::m_CurrentCulture
  534. CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0* ___m_CurrentCulture_2;
  535. // System.Globalization.CultureInfo System.Threading.Thread::m_CurrentUICulture
  536. CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0* ___m_CurrentUICulture_3;
  537. // System.Threading.Thread System.Threading.Thread::current_thread
  538. Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* ___current_thread_9;
  539. };
  540. // System.UInt32
  541. // System.UInt32
  542. // System.Void
  543. // System.Void
  544. // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=1024
  545. // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=1024
  546. // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=120
  547. // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=120
  548. // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=256
  549. // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=256
  550. // System.Threading.ReaderWriterLockSlim/TimeoutTracker
  551. // System.Threading.ReaderWriterLockSlim/TimeoutTracker
  552. // <PrivateImplementationDetails>
  553. struct U3CPrivateImplementationDetailsU3E_t0985298E3928118182D9E60D8C7A51F84FE0D710_StaticFields
  554. {
  555. // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=1024 <PrivateImplementationDetails>::0270BFF41CB170C33C20788C368CB1B5A66B0FD0B98D638A827B783537583821
  556. __StaticArrayInitTypeSizeU3D1024_t2A1518FE93EF6BEE22F2C6BA90AE95237A6E13AE ___0270BFF41CB170C33C20788C368CB1B5A66B0FD0B98D638A827B783537583821_0;
  557. // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=1024 <PrivateImplementationDetails>::09FDC69AA887AC8D36E0C8284C7B1D53E580E4880B72A67FF80D7E38317115D9
  558. __StaticArrayInitTypeSizeU3D1024_t2A1518FE93EF6BEE22F2C6BA90AE95237A6E13AE ___09FDC69AA887AC8D36E0C8284C7B1D53E580E4880B72A67FF80D7E38317115D9_1;
  559. // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=1024 <PrivateImplementationDetails>::0F4764044BF2E91EFEFAF3D4F1E81C10A2B7F0F45305489925CFC01198CF45B5
  560. __StaticArrayInitTypeSizeU3D1024_t2A1518FE93EF6BEE22F2C6BA90AE95237A6E13AE ___0F4764044BF2E91EFEFAF3D4F1E81C10A2B7F0F45305489925CFC01198CF45B5_2;
  561. // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=1024 <PrivateImplementationDetails>::15A0E7628178B3FE6546E9B60F35E2B1C4864E020B16376866F38F72C74B45A9
  562. __StaticArrayInitTypeSizeU3D1024_t2A1518FE93EF6BEE22F2C6BA90AE95237A6E13AE ___15A0E7628178B3FE6546E9B60F35E2B1C4864E020B16376866F38F72C74B45A9_3;
  563. // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=1024 <PrivateImplementationDetails>::4CF8DC711CD3210D673D86981355E2609233025ED22E4DC7A1F9B8E75ADE35F4
  564. __StaticArrayInitTypeSizeU3D1024_t2A1518FE93EF6BEE22F2C6BA90AE95237A6E13AE ___4CF8DC711CD3210D673D86981355E2609233025ED22E4DC7A1F9B8E75ADE35F4_4;
  565. // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=1024 <PrivateImplementationDetails>::783FB0A44BE7670EB6EC170CF7F16BB2B6F23F4964B87B60C4EB506C7C6A286D
  566. __StaticArrayInitTypeSizeU3D1024_t2A1518FE93EF6BEE22F2C6BA90AE95237A6E13AE ___783FB0A44BE7670EB6EC170CF7F16BB2B6F23F4964B87B60C4EB506C7C6A286D_5;
  567. // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=120 <PrivateImplementationDetails>::914FCE8DC82DA59038745B264F743222527FBAE2E4A28E71C89760B7E3DBBA67
  568. __StaticArrayInitTypeSizeU3D120_t6F11AA913DFF35D8B33057BABEFEF1EA9B976881 ___914FCE8DC82DA59038745B264F743222527FBAE2E4A28E71C89760B7E3DBBA67_6;
  569. // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=256 <PrivateImplementationDetails>::93631B0726F6FE6629DAA743EE51B49F4477ED07391B68EEEA0672A4A90018AA
  570. __StaticArrayInitTypeSizeU3D256_t121506E42A9F4B673CDCF2FDFF169D68811BB731 ___93631B0726F6FE6629DAA743EE51B49F4477ED07391B68EEEA0672A4A90018AA_7;
  571. // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=256 <PrivateImplementationDetails>::C2D8E5EED6CBEBD8625FC18F81486A7733C04F9B0129FFBE974C68B90308B4F2
  572. __StaticArrayInitTypeSizeU3D256_t121506E42A9F4B673CDCF2FDFF169D68811BB731 ___C2D8E5EED6CBEBD8625FC18F81486A7733C04F9B0129FFBE974C68B90308B4F2_8;
  573. // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=1024 <PrivateImplementationDetails>::C40A9A77EE05E10AF16DA9D1781A2053159EA8570ADA03637BB5FE3D076C9F89
  574. __StaticArrayInitTypeSizeU3D1024_t2A1518FE93EF6BEE22F2C6BA90AE95237A6E13AE ___C40A9A77EE05E10AF16DA9D1781A2053159EA8570ADA03637BB5FE3D076C9F89_9;
  575. // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=1024 <PrivateImplementationDetails>::E8058399671D13082C35B6B3CE7F9E282507EDD458CCFDD3BAD9F35D90016F62
  576. __StaticArrayInitTypeSizeU3D1024_t2A1518FE93EF6BEE22F2C6BA90AE95237A6E13AE ___E8058399671D13082C35B6B3CE7F9E282507EDD458CCFDD3BAD9F35D90016F62_10;
  577. };
  578. // <PrivateImplementationDetails>
  579. // System.Threading.WaitHandle
  580. struct WaitHandle_t08F8DB54593B241FE32E0DD0BD3D82785D3AE3D8_StaticFields
  581. {
  582. // System.IntPtr System.Threading.WaitHandle::InvalidHandle
  583. intptr_t ___InvalidHandle_11;
  584. };
  585. // System.Threading.WaitHandle
  586. // System.Threading.EventWaitHandle
  587. // System.Threading.EventWaitHandle
  588. // System.Threading.LockRecursionException
  589. // System.Threading.LockRecursionException
  590. // System.Threading.AutoResetEvent
  591. // System.Threading.AutoResetEvent
  592. // System.Threading.ManualResetEvent
  593. // System.Threading.ManualResetEvent
  594. // System.Threading.SynchronizationLockException
  595. // System.Threading.SynchronizationLockException
  596. // System.ArgumentOutOfRangeException
  597. // System.ArgumentOutOfRangeException
  598. // System.ObjectDisposedException
  599. // System.ObjectDisposedException
  600. #ifdef __clang__
  601. #pragma clang diagnostic pop
  602. #endif
  603. // System.Int32[]
  604. struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C : public RuntimeArray
  605. {
  606. ALIGN_FIELD (8) int32_t m_Items[1];
  607. inline int32_t GetAt(il2cpp_array_size_t index) const
  608. {
  609. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  610. return m_Items[index];
  611. }
  612. inline int32_t* GetAddressAt(il2cpp_array_size_t index)
  613. {
  614. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  615. return m_Items + index;
  616. }
  617. inline void SetAt(il2cpp_array_size_t index, int32_t value)
  618. {
  619. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  620. m_Items[index] = value;
  621. }
  622. inline int32_t GetAtUnchecked(il2cpp_array_size_t index) const
  623. {
  624. return m_Items[index];
  625. }
  626. inline int32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
  627. {
  628. return m_Items + index;
  629. }
  630. inline void SetAtUnchecked(il2cpp_array_size_t index, int32_t value)
  631. {
  632. m_Items[index] = value;
  633. }
  634. };
  635. // System.Void System.Object::.ctor()
  636. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2 (RuntimeObject* __this, const RuntimeMethod* method) ;
  637. // System.Void System.Threading.ReaderWriterLockSlim::.ctor(System.Threading.LockRecursionPolicy)
  638. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim__ctor_m19E2A503BBF4DF37E4C601EC1E745380EF945F0C (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, int32_t ___0_recursionPolicy, const RuntimeMethod* method) ;
  639. // System.Void System.Threading.ReaderWriterLockSlim::InitializeThreadCounts()
  640. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_InitializeThreadCounts_m7A12BC0D8F0D8C70EC8CA19F435EEEDAE5475A41 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
  641. // System.Int64 System.Threading.Interlocked::Increment(System.Int64&)
  642. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t Interlocked_Increment_m12CD643CCD5FCDE95DBC0AB07D09AF696E26F9C0 (int64_t* ___0_location, const RuntimeMethod* method) ;
  643. // System.Boolean System.Threading.ReaderWriterLockSlim::IsRWEntryEmpty(System.Threading.ReaderWriterCount)
  644. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_IsRWEntryEmpty_m34743FF639EF9B44D704FC98D3DEA99CFD634E95_inline (ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* ___0_rwc, const RuntimeMethod* method) ;
  645. // System.Void System.Threading.ReaderWriterCount::.ctor()
  646. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterCount__ctor_m8FE7B774A506545AF710639DB53F7677A2FA658A (ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* __this, const RuntimeMethod* method) ;
  647. // System.Boolean System.Threading.ReaderWriterLockSlim::TryEnterWriteLock(System.Int32)
  648. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_TryEnterWriteLock_mE43F653D65A448225134E0CE1A289C4E112C62A2 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, int32_t ___0_millisecondsTimeout, const RuntimeMethod* method) ;
  649. // System.Void System.Threading.ReaderWriterLockSlim/TimeoutTracker::.ctor(System.Int32)
  650. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimeoutTracker__ctor_mBFE73B99C5BBB93D251DF9731B9C5D824F30CDCE (TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C* __this, int32_t ___0_millisecondsTimeout, const RuntimeMethod* method) ;
  651. // System.Boolean System.Threading.ReaderWriterLockSlim::TryEnterWriteLock(System.Threading.ReaderWriterLockSlim/TimeoutTracker)
  652. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_TryEnterWriteLock_mBFFB3599E5D8C30B2D22A876CC58F647AEA2EDAE (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C ___0_timeout, const RuntimeMethod* method) ;
  653. // System.Boolean System.Threading.ReaderWriterLockSlim::TryEnterWriteLockCore(System.Threading.ReaderWriterLockSlim/TimeoutTracker)
  654. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_TryEnterWriteLockCore_m18B708E74264AC43BAD623C8ACC92370DA32888B (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C ___0_timeout, const RuntimeMethod* method) ;
  655. // System.Void System.ObjectDisposedException::.ctor(System.String)
  656. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ObjectDisposedException__ctor_mB2C8582279AF3F0C1CF9AA52DA7331BF848DFD48 (ObjectDisposedException_tC5FB29E8E980E2010A2F6A5B9B791089419F89EB* __this, String_t* ___0_objectName, const RuntimeMethod* method) ;
  657. // System.Threading.Thread System.Threading.Thread::get_CurrentThread()
  658. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* Thread_get_CurrentThread_m6D4719F4993DB9200490531FF02D4076FF9CA9BD (const RuntimeMethod* method) ;
  659. // System.Int32 System.Threading.Thread::get_ManagedThreadId()
  660. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Thread_get_ManagedThreadId_m74ACB74A574EE535C2B00B7D64F203A62E796B05 (Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* __this, const RuntimeMethod* method) ;
  661. // System.String SR::GetString(System.String)
  662. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_GetString_m2213C501E26D6A1AE8D0644E9685AF8A4204CA7F (String_t* ___0_name, const RuntimeMethod* method) ;
  663. // System.Void System.Threading.LockRecursionException::.ctor(System.String)
  664. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LockRecursionException__ctor_mCC42F0B1F378BC1F03AD51ABA4438BB5807F742B (LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496* __this, String_t* ___0_message, const RuntimeMethod* method) ;
  665. // System.Void System.Threading.ReaderWriterLockSlim::EnterMyLock()
  666. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_EnterMyLock_mDB590C9A0A55830B1C347DAB0A3F4972E9F0DE59_inline (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
  667. // System.Threading.ReaderWriterCount System.Threading.ReaderWriterLockSlim::GetThreadRWCount(System.Boolean)
  668. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* ReaderWriterLockSlim_GetThreadRWCount_m693F7FFBBFB98DEF312E4B3A200DA95266CA4E96_inline (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, bool ___0_dontAllocate, const RuntimeMethod* method) ;
  669. // System.Void System.Threading.ReaderWriterLockSlim::ExitMyLock()
  670. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
  671. // System.Boolean System.Threading.ReaderWriterLockSlim::IsWriterAcquired()
  672. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_IsWriterAcquired_m6D1FB82F2349C4B48345C9EBEFFCC3FA69EF5A76 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
  673. // System.Void System.Threading.ReaderWriterLockSlim::SetWriterAcquired()
  674. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_SetWriterAcquired_mE496DF38D30454011343EE638FAC1EF2B5E8319C (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
  675. // System.UInt32 System.Threading.ReaderWriterLockSlim::GetNumReaders()
  676. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t ReaderWriterLockSlim_GetNumReaders_m300EBD28D2300167E37C0F67AD04AF7BE87C1DB1 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
  677. // System.Boolean System.Threading.ReaderWriterLockSlim::IsRwHashEntryChanged(System.Threading.ReaderWriterCount)
  678. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_IsRwHashEntryChanged_mCCC27B0221422991C4F5A2CE35263EBC24CB8402 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* ___0_lrwc, const RuntimeMethod* method) ;
  679. // System.Boolean System.Threading.ReaderWriterLockSlim/TimeoutTracker::get_IsExpired()
  680. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeoutTracker_get_IsExpired_m5E08DCC01117EF66ADEBA5472B27833577289813 (TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C* __this, const RuntimeMethod* method) ;
  681. // System.Void System.Threading.ReaderWriterLockSlim::SpinWait(System.Int32)
  682. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_SpinWait_mFFFC84F8CF5AA3863BEE5CD292FE63B335A5D11B (int32_t ___0_SpinCount, const RuntimeMethod* method) ;
  683. // System.Void System.Threading.ReaderWriterLockSlim::LazyCreateEvent(System.Threading.EventWaitHandle&,System.Boolean)
  684. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_LazyCreateEvent_m4D2DFCB1AD5A749408939AA0D12B7C3959A36923 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E** ___0_waitEvent, bool ___1_makeAutoResetEvent, const RuntimeMethod* method) ;
  685. // System.Boolean System.Threading.ReaderWriterLockSlim::WaitOnEvent(System.Threading.EventWaitHandle,System.UInt32&,System.Threading.ReaderWriterLockSlim/TimeoutTracker,System.Boolean)
  686. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_WaitOnEvent_mFF3B7C48254F2742AED6916DD059ACB2240A78B3 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* ___0_waitEvent, uint32_t* ___1_numWaiters, TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C ___2_timeout, bool ___3_isWriteWaiter, const RuntimeMethod* method) ;
  687. // System.Boolean System.Threading.ReaderWriterLockSlim::TryEnterUpgradeableReadLock(System.Int32)
  688. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_TryEnterUpgradeableReadLock_m8D1AC20D086B7CD5019836984BCE18635DEB34DF (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, int32_t ___0_millisecondsTimeout, const RuntimeMethod* method) ;
  689. // System.Boolean System.Threading.ReaderWriterLockSlim::TryEnterUpgradeableReadLock(System.Threading.ReaderWriterLockSlim/TimeoutTracker)
  690. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_TryEnterUpgradeableReadLock_m67F6B1EC0CCE06AB1F444221036CE7AE614518CC (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C ___0_timeout, const RuntimeMethod* method) ;
  691. // System.Boolean System.Threading.ReaderWriterLockSlim::TryEnterUpgradeableReadLockCore(System.Threading.ReaderWriterLockSlim/TimeoutTracker)
  692. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_TryEnterUpgradeableReadLockCore_mA84580B68864B07DD3D6A2A4F48FCFE72EEA6F6F (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C ___0_timeout, const RuntimeMethod* method) ;
  693. // System.Void System.Threading.SynchronizationLockException::.ctor(System.String)
  694. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SynchronizationLockException__ctor_m2AEF9CF8E5DFE8F5A7CFB02E5AEF7640971BA970 (SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34* __this, String_t* ___0_message, const RuntimeMethod* method) ;
  695. // System.Void System.Threading.ReaderWriterLockSlim::ClearWriterAcquired()
  696. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_ClearWriterAcquired_mBCDFD72656A5D8EFCEE5A0AD39233D37E44461DC (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
  697. // System.Void System.Threading.ReaderWriterLockSlim::ExitAndWakeUpAppropriateWaiters()
  698. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_ExitAndWakeUpAppropriateWaiters_m43EB7B2724EC44E2F0B4E3CA6A51752345978E90 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
  699. // System.Void System.Threading.AutoResetEvent::.ctor(System.Boolean)
  700. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AutoResetEvent__ctor_mB7C8CD30C5BE11A2C8DB79B27593CF0C5FE82ADE (AutoResetEvent_t7F792F3F7AD11BEF7B411E771D98E5266A8CE7C0* __this, bool ___0_initialState, const RuntimeMethod* method) ;
  701. // System.Void System.Threading.ManualResetEvent::.ctor(System.Boolean)
  702. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ManualResetEvent__ctor_m361CFCF6AC28BFFF5C8790DC2B5951791A1C4CEE (ManualResetEvent_t63959486AA41A113A4353D0BF4A68E77EBA0A158* __this, bool ___0_initialState, const RuntimeMethod* method) ;
  703. // System.Boolean System.Threading.EventWaitHandle::Reset()
  704. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool EventWaitHandle_Reset_m84719BED571BDAAEE27EE05F57295C7107A74DE6 (EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* __this, const RuntimeMethod* method) ;
  705. // System.Void System.Threading.ReaderWriterLockSlim::SetWritersWaiting()
  706. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_SetWritersWaiting_mEBE801FBDAFD33AF1B8E3CE71F0AD0C9CDA69902 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
  707. // System.Void System.Threading.ReaderWriterLockSlim::SetUpgraderWaiting()
  708. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_SetUpgraderWaiting_m5C7C47EBCA531D201CA72CB27D0548F71375BCAC (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
  709. // System.Void System.Threading.ReaderWriterLockSlim::ClearWritersWaiting()
  710. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_ClearWritersWaiting_m7587122D0BAD6384DE3B38DB6BF7D38B364A4935 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
  711. // System.Void System.Threading.ReaderWriterLockSlim::ClearUpgraderWaiting()
  712. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_ClearUpgraderWaiting_m214E8B0780542079CB3D9D5C28C58C47A72E91E4 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
  713. // System.Void System.Threading.ReaderWriterLockSlim::ExitAndWakeUpAppropriateReadWaiters()
  714. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_ExitAndWakeUpAppropriateReadWaiters_m19BFCEE3D042633B1F106BBD76E28DA69271606D (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
  715. // System.Int32 System.Threading.ReaderWriterLockSlim/TimeoutTracker::get_RemainingMilliseconds()
  716. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TimeoutTracker_get_RemainingMilliseconds_mDAA8A0E545F8E28D3688095CA346B0A04337BC23 (TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C* __this, const RuntimeMethod* method) ;
  717. // System.Void System.Threading.ReaderWriterLockSlim::ExitAndWakeUpAppropriateWaitersPreferringWriters()
  718. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_ExitAndWakeUpAppropriateWaitersPreferringWriters_m2EE29EE42CEA6142CA8C741BC74CFBE4483E5CA8 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
  719. // System.Boolean System.Threading.EventWaitHandle::Set()
  720. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool EventWaitHandle_Set_mDF98D67F214714A9590DF82A1C51D3D851281E4D (EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* __this, const RuntimeMethod* method) ;
  721. // System.Int32 System.Threading.Interlocked::CompareExchange(System.Int32&,System.Int32,System.Int32)
  722. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Interlocked_CompareExchange_mB06E8737D3DA41F9FFBC38A6D0583D515EFB5717 (int32_t* ___0_location1, int32_t ___1_value, int32_t ___2_comparand, const RuntimeMethod* method) ;
  723. // System.Void System.Threading.ReaderWriterLockSlim::EnterMyLockSpin()
  724. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_EnterMyLockSpin_mC785B7BB91A152B37FF1115AFA5D752AC6DBE9F6 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
  725. // System.Int32 System.Threading.PlatformHelper::get_ProcessorCount()
  726. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PlatformHelper_get_ProcessorCount_m123AB465E201104882D03864A7C6E08F1A55F3F9 (const RuntimeMethod* method) ;
  727. // System.Void System.Threading.Thread::SpinWait(System.Int32)
  728. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_SpinWait_mC14652A66AA1BF72ADC7E0BF702E9F0B8D7B64D7 (int32_t ___0_iterations, const RuntimeMethod* method) ;
  729. // System.Void System.Threading.Thread::Sleep(System.Int32)
  730. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_Sleep_m71DE163765BF465EC4A0163F2ED4D43143094549 (int32_t ___0_millisecondsTimeout, const RuntimeMethod* method) ;
  731. // System.Void System.Threading.ReaderWriterLockSlim::Dispose(System.Boolean)
  732. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_Dispose_mA894FFFD0829F6CEDD8318482F57D2A5FCFD5661 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, bool ___0_disposing, const RuntimeMethod* method) ;
  733. // System.Int32 System.Threading.ReaderWriterLockSlim::get_WaitingReadCount()
  734. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t ReaderWriterLockSlim_get_WaitingReadCount_mD79E93CABC9BFBA4AB306193DDF8CE90F1818C92_inline (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
  735. // System.Int32 System.Threading.ReaderWriterLockSlim::get_WaitingUpgradeCount()
  736. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t ReaderWriterLockSlim_get_WaitingUpgradeCount_m13892A21F7EF1D7ED202D186B2E7B2B6C400F388_inline (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
  737. // System.Int32 System.Threading.ReaderWriterLockSlim::get_WaitingWriteCount()
  738. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t ReaderWriterLockSlim_get_WaitingWriteCount_m8FE677BDB0E776125691C0A4C1A74B5B8637D246_inline (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
  739. // System.Boolean System.Threading.ReaderWriterLockSlim::get_IsReadLockHeld()
  740. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_get_IsReadLockHeld_mFF28229B26471192A3B8B195EE1C85509B5EA029 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
  741. // System.Boolean System.Threading.ReaderWriterLockSlim::get_IsUpgradeableReadLockHeld()
  742. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_get_IsUpgradeableReadLockHeld_mBDFD4377C488FD48B7E211ADE5F5CDEEFD78E1CF (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
  743. // System.Boolean System.Threading.ReaderWriterLockSlim::get_IsWriteLockHeld()
  744. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_get_IsWriteLockHeld_m2F8585FFD00B88CA788152EA5E0BF460B28782A7 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
  745. // System.Int32 System.Threading.ReaderWriterLockSlim::get_RecursiveReadCount()
  746. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ReaderWriterLockSlim_get_RecursiveReadCount_mA7709352D9817A46AFE62AD5CF94631E15FB1067 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
  747. // System.Int32 System.Threading.ReaderWriterLockSlim::get_RecursiveUpgradeCount()
  748. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ReaderWriterLockSlim_get_RecursiveUpgradeCount_mFF4BF2756AE36B12E7822FAE7BAB8B7CDEF4D41D (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
  749. // System.Int32 System.Threading.ReaderWriterLockSlim::get_RecursiveWriteCount()
  750. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ReaderWriterLockSlim_get_RecursiveWriteCount_m51147A8E3CA34D7D6EDC8986BB8518AE7CE16145 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
  751. // System.Void System.ArgumentOutOfRangeException::.ctor(System.String)
  752. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentOutOfRangeException__ctor_mBC1D5DEEA1BA41DE77228CB27D6BAFEB6DCCBF4A (ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F* __this, String_t* ___0_paramName, const RuntimeMethod* method) ;
  753. // System.Int32 System.Environment::get_TickCount()
  754. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Environment_get_TickCount_m183BFCF001E12849E3D898957F0B81FD88BA183C (const RuntimeMethod* method) ;
  755. #ifdef __clang__
  756. #pragma clang diagnostic push
  757. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  758. #pragma clang diagnostic ignored "-Wunused-variable"
  759. #endif
  760. // System.Void System.Collections.Generic.BitHelper::.ctor(System.Int32*,System.Int32)
  761. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BitHelper__ctor_m141F24AE9FFCB3EA3D2C7EA79BDAC722026EDEB3 (BitHelper_t2BEA51BB52EB1672DBF4163ED6757DCEEB3A4DF1* __this, int32_t* ___0_bitArrayPtr, int32_t ___1_length, const RuntimeMethod* method)
  762. {
  763. {
  764. Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
  765. int32_t* L_0 = ___0_bitArrayPtr;
  766. __this->____arrayPtr_1 = L_0;
  767. int32_t L_1 = ___1_length;
  768. __this->____length_0 = L_1;
  769. __this->____useStackAlloc_3 = (bool)1;
  770. return;
  771. }
  772. }
  773. // System.Void System.Collections.Generic.BitHelper::.ctor(System.Int32[],System.Int32)
  774. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BitHelper__ctor_m795A92E9A03F57547FD78A8E50F730C2778DDD19 (BitHelper_t2BEA51BB52EB1672DBF4163ED6757DCEEB3A4DF1* __this, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___0_bitArray, int32_t ___1_length, const RuntimeMethod* method)
  775. {
  776. {
  777. Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
  778. Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_0 = ___0_bitArray;
  779. __this->____array_2 = L_0;
  780. Il2CppCodeGenWriteBarrier((void**)(&__this->____array_2), (void*)L_0);
  781. int32_t L_1 = ___1_length;
  782. __this->____length_0 = L_1;
  783. return;
  784. }
  785. }
  786. // System.Void System.Collections.Generic.BitHelper::MarkBit(System.Int32)
  787. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BitHelper_MarkBit_m12EFF71C5444F4E4D076F514C0C0723B39E50F86 (BitHelper_t2BEA51BB52EB1672DBF4163ED6757DCEEB3A4DF1* __this, int32_t ___0_bitPosition, const RuntimeMethod* method)
  788. {
  789. int32_t V_0 = 0;
  790. int32_t V_1 = 0;
  791. {
  792. int32_t L_0 = ___0_bitPosition;
  793. V_0 = ((int32_t)(L_0/((int32_t)32)));
  794. int32_t L_1 = V_0;
  795. int32_t L_2 = __this->____length_0;
  796. if ((((int32_t)L_1) >= ((int32_t)L_2)))
  797. {
  798. goto IL_0046;
  799. }
  800. }
  801. {
  802. int32_t L_3 = V_0;
  803. if ((((int32_t)L_3) < ((int32_t)0)))
  804. {
  805. goto IL_0046;
  806. }
  807. }
  808. {
  809. int32_t L_4 = ___0_bitPosition;
  810. V_1 = ((int32_t)(1<<((int32_t)(((int32_t)(L_4%((int32_t)32)))&((int32_t)31)))));
  811. bool L_5 = __this->____useStackAlloc_3;
  812. if (!L_5)
  813. {
  814. goto IL_0035;
  815. }
  816. }
  817. {
  818. int32_t* L_6 = __this->____arrayPtr_1;
  819. int32_t L_7 = V_0;
  820. int32_t* L_8 = ((int32_t*)il2cpp_codegen_add((intptr_t)L_6, ((intptr_t)il2cpp_codegen_multiply(((intptr_t)L_7), 4))));
  821. int32_t L_9 = *((int32_t*)L_8);
  822. int32_t L_10 = V_1;
  823. *((int32_t*)L_8) = (int32_t)((int32_t)(L_9|L_10));
  824. return;
  825. }
  826. IL_0035:
  827. {
  828. Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_11 = __this->____array_2;
  829. int32_t L_12 = V_0;
  830. NullCheck(L_11);
  831. int32_t* L_13 = ((L_11)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_12)));
  832. int32_t L_14 = *((int32_t*)L_13);
  833. int32_t L_15 = V_1;
  834. *((int32_t*)L_13) = (int32_t)((int32_t)(L_14|L_15));
  835. }
  836. IL_0046:
  837. {
  838. return;
  839. }
  840. }
  841. // System.Boolean System.Collections.Generic.BitHelper::IsMarked(System.Int32)
  842. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BitHelper_IsMarked_m0A02826959B4EF6381B8F6C7DF0EDBFC55EE8EF2 (BitHelper_t2BEA51BB52EB1672DBF4163ED6757DCEEB3A4DF1* __this, int32_t ___0_bitPosition, const RuntimeMethod* method)
  843. {
  844. int32_t V_0 = 0;
  845. int32_t V_1 = 0;
  846. {
  847. int32_t L_0 = ___0_bitPosition;
  848. V_0 = ((int32_t)(L_0/((int32_t)32)));
  849. int32_t L_1 = V_0;
  850. int32_t L_2 = __this->____length_0;
  851. if ((((int32_t)L_1) >= ((int32_t)L_2)))
  852. {
  853. goto IL_0044;
  854. }
  855. }
  856. {
  857. int32_t L_3 = V_0;
  858. if ((((int32_t)L_3) < ((int32_t)0)))
  859. {
  860. goto IL_0044;
  861. }
  862. }
  863. {
  864. int32_t L_4 = ___0_bitPosition;
  865. V_1 = ((int32_t)(1<<((int32_t)(((int32_t)(L_4%((int32_t)32)))&((int32_t)31)))));
  866. bool L_5 = __this->____useStackAlloc_3;
  867. if (!L_5)
  868. {
  869. goto IL_0036;
  870. }
  871. }
  872. {
  873. int32_t* L_6 = __this->____arrayPtr_1;
  874. int32_t L_7 = V_0;
  875. int32_t L_8 = *((int32_t*)((int32_t*)il2cpp_codegen_add((intptr_t)L_6, ((intptr_t)il2cpp_codegen_multiply(((intptr_t)L_7), 4)))));
  876. int32_t L_9 = V_1;
  877. return (bool)((!(((uint32_t)((int32_t)(L_8&L_9))) <= ((uint32_t)0)))? 1 : 0);
  878. }
  879. IL_0036:
  880. {
  881. Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_10 = __this->____array_2;
  882. int32_t L_11 = V_0;
  883. NullCheck(L_10);
  884. int32_t L_12 = L_11;
  885. int32_t L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
  886. int32_t L_14 = V_1;
  887. return (bool)((!(((uint32_t)((int32_t)(L_13&L_14))) <= ((uint32_t)0)))? 1 : 0);
  888. }
  889. IL_0044:
  890. {
  891. return (bool)0;
  892. }
  893. }
  894. // System.Int32 System.Collections.Generic.BitHelper::ToIntArrayLength(System.Int32)
  895. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t BitHelper_ToIntArrayLength_m59204C3775D26A8B9532246C2F384C92D02E713C (int32_t ___0_n, const RuntimeMethod* method)
  896. {
  897. {
  898. int32_t L_0 = ___0_n;
  899. if ((((int32_t)L_0) > ((int32_t)0)))
  900. {
  901. goto IL_0006;
  902. }
  903. }
  904. {
  905. return 0;
  906. }
  907. IL_0006:
  908. {
  909. int32_t L_1 = ___0_n;
  910. return ((int32_t)il2cpp_codegen_add(((int32_t)(((int32_t)il2cpp_codegen_subtract(L_1, 1))/((int32_t)32))), 1));
  911. }
  912. }
  913. #ifdef __clang__
  914. #pragma clang diagnostic pop
  915. #endif
  916. #ifdef __clang__
  917. #pragma clang diagnostic push
  918. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  919. #pragma clang diagnostic ignored "-Wunused-variable"
  920. #endif
  921. // System.Void System.Threading.ReaderWriterCount::.ctor()
  922. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterCount__ctor_m8FE7B774A506545AF710639DB53F7677A2FA658A (ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* __this, const RuntimeMethod* method)
  923. {
  924. {
  925. Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
  926. return;
  927. }
  928. }
  929. #ifdef __clang__
  930. #pragma clang diagnostic pop
  931. #endif
  932. #ifdef __clang__
  933. #pragma clang diagnostic push
  934. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  935. #pragma clang diagnostic ignored "-Wunused-variable"
  936. #endif
  937. // System.Void System.Threading.ReaderWriterLockSlim::InitializeThreadCounts()
  938. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_InitializeThreadCounts_m7A12BC0D8F0D8C70EC8CA19F435EEEDAE5475A41 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  939. {
  940. {
  941. __this->___upgradeLockOwnerId_7 = (-1);
  942. __this->___writeLockOwnerId_8 = (-1);
  943. return;
  944. }
  945. }
  946. // System.Void System.Threading.ReaderWriterLockSlim::.ctor()
  947. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim__ctor_m617A86382C7F076BC04E68726F50961C799688E8 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  948. {
  949. {
  950. ReaderWriterLockSlim__ctor_m19E2A503BBF4DF37E4C601EC1E745380EF945F0C(__this, 0, NULL);
  951. return;
  952. }
  953. }
  954. // System.Void System.Threading.ReaderWriterLockSlim::.ctor(System.Threading.LockRecursionPolicy)
  955. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim__ctor_m19E2A503BBF4DF37E4C601EC1E745380EF945F0C (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, int32_t ___0_recursionPolicy, const RuntimeMethod* method)
  956. {
  957. static bool s_Il2CppMethodInitialized;
  958. if (!s_Il2CppMethodInitialized)
  959. {
  960. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_il2cpp_TypeInfo_var);
  961. s_Il2CppMethodInitialized = true;
  962. }
  963. {
  964. Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
  965. int32_t L_0 = ___0_recursionPolicy;
  966. if ((!(((uint32_t)L_0) == ((uint32_t)1))))
  967. {
  968. goto IL_0011;
  969. }
  970. }
  971. {
  972. __this->___fIsReentrant_0 = (bool)1;
  973. }
  974. IL_0011:
  975. {
  976. ReaderWriterLockSlim_InitializeThreadCounts_m7A12BC0D8F0D8C70EC8CA19F435EEEDAE5475A41(__this, NULL);
  977. __this->___fNoWaiters_6 = (bool)1;
  978. int64_t L_1;
  979. L_1 = Interlocked_Increment_m12CD643CCD5FCDE95DBC0AB07D09AF696E26F9C0((&((ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_StaticFields*)il2cpp_codegen_static_fields_for(ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_il2cpp_TypeInfo_var))->___s_nextLockID_13), NULL);
  980. __this->___lockID_14 = L_1;
  981. return;
  982. }
  983. }
  984. // System.Boolean System.Threading.ReaderWriterLockSlim::IsRWEntryEmpty(System.Threading.ReaderWriterCount)
  985. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_IsRWEntryEmpty_m34743FF639EF9B44D704FC98D3DEA99CFD634E95 (ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* ___0_rwc, const RuntimeMethod* method)
  986. {
  987. {
  988. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_0 = ___0_rwc;
  989. NullCheck(L_0);
  990. int64_t L_1 = L_0->___lockID_0;
  991. if (L_1)
  992. {
  993. goto IL_000a;
  994. }
  995. }
  996. {
  997. return (bool)1;
  998. }
  999. IL_000a:
  1000. {
  1001. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_2 = ___0_rwc;
  1002. NullCheck(L_2);
  1003. int32_t L_3 = L_2->___readercount_1;
  1004. if (L_3)
  1005. {
  1006. goto IL_0024;
  1007. }
  1008. }
  1009. {
  1010. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_4 = ___0_rwc;
  1011. NullCheck(L_4);
  1012. int32_t L_5 = L_4->___writercount_2;
  1013. if (L_5)
  1014. {
  1015. goto IL_0024;
  1016. }
  1017. }
  1018. {
  1019. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_6 = ___0_rwc;
  1020. NullCheck(L_6);
  1021. int32_t L_7 = L_6->___upgradecount_3;
  1022. if (L_7)
  1023. {
  1024. goto IL_0024;
  1025. }
  1026. }
  1027. {
  1028. return (bool)1;
  1029. }
  1030. IL_0024:
  1031. {
  1032. return (bool)0;
  1033. }
  1034. }
  1035. // System.Boolean System.Threading.ReaderWriterLockSlim::IsRwHashEntryChanged(System.Threading.ReaderWriterCount)
  1036. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_IsRwHashEntryChanged_mCCC27B0221422991C4F5A2CE35263EBC24CB8402 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* ___0_lrwc, const RuntimeMethod* method)
  1037. {
  1038. {
  1039. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_0 = ___0_lrwc;
  1040. NullCheck(L_0);
  1041. int64_t L_1 = L_0->___lockID_0;
  1042. int64_t L_2 = __this->___lockID_14;
  1043. return (bool)((((int32_t)((((int64_t)L_1) == ((int64_t)L_2))? 1 : 0)) == ((int32_t)0))? 1 : 0);
  1044. }
  1045. }
  1046. // System.Threading.ReaderWriterCount System.Threading.ReaderWriterLockSlim::GetThreadRWCount(System.Boolean)
  1047. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* ReaderWriterLockSlim_GetThreadRWCount_m693F7FFBBFB98DEF312E4B3A200DA95266CA4E96 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, bool ___0_dontAllocate, const RuntimeMethod* method)
  1048. {
  1049. static bool s_Il2CppMethodInitialized;
  1050. if (!s_Il2CppMethodInitialized)
  1051. {
  1052. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333_il2cpp_TypeInfo_var);
  1053. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_il2cpp_TypeInfo_var);
  1054. s_Il2CppMethodInitialized = true;
  1055. }
  1056. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* V_0 = NULL;
  1057. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* V_1 = NULL;
  1058. {
  1059. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_0 = ((ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_il2cpp_TypeInfo_var))->___t_rwc_15;
  1060. V_0 = L_0;
  1061. V_1 = (ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333*)NULL;
  1062. goto IL_0031;
  1063. }
  1064. IL_000a:
  1065. {
  1066. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_1 = V_0;
  1067. NullCheck(L_1);
  1068. int64_t L_2 = L_1->___lockID_0;
  1069. int64_t L_3 = __this->___lockID_14;
  1070. if ((!(((uint64_t)L_2) == ((uint64_t)L_3))))
  1071. {
  1072. goto IL_001a;
  1073. }
  1074. }
  1075. {
  1076. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_4 = V_0;
  1077. return L_4;
  1078. }
  1079. IL_001a:
  1080. {
  1081. bool L_5 = ___0_dontAllocate;
  1082. if (L_5)
  1083. {
  1084. goto IL_002a;
  1085. }
  1086. }
  1087. {
  1088. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_6 = V_1;
  1089. if (L_6)
  1090. {
  1091. goto IL_002a;
  1092. }
  1093. }
  1094. {
  1095. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_7 = V_0;
  1096. bool L_8;
  1097. L_8 = ReaderWriterLockSlim_IsRWEntryEmpty_m34743FF639EF9B44D704FC98D3DEA99CFD634E95_inline(L_7, NULL);
  1098. if (!L_8)
  1099. {
  1100. goto IL_002a;
  1101. }
  1102. }
  1103. {
  1104. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_9 = V_0;
  1105. V_1 = L_9;
  1106. }
  1107. IL_002a:
  1108. {
  1109. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_10 = V_0;
  1110. NullCheck(L_10);
  1111. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_11 = L_10->___next_4;
  1112. V_0 = L_11;
  1113. }
  1114. IL_0031:
  1115. {
  1116. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_12 = V_0;
  1117. if (L_12)
  1118. {
  1119. goto IL_000a;
  1120. }
  1121. }
  1122. {
  1123. bool L_13 = ___0_dontAllocate;
  1124. if (!L_13)
  1125. {
  1126. goto IL_0039;
  1127. }
  1128. }
  1129. {
  1130. return (ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333*)NULL;
  1131. }
  1132. IL_0039:
  1133. {
  1134. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_14 = V_1;
  1135. if (L_14)
  1136. {
  1137. goto IL_0053;
  1138. }
  1139. }
  1140. {
  1141. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_15 = (ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333*)il2cpp_codegen_object_new(ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333_il2cpp_TypeInfo_var);
  1142. NullCheck(L_15);
  1143. ReaderWriterCount__ctor_m8FE7B774A506545AF710639DB53F7677A2FA658A(L_15, NULL);
  1144. V_1 = L_15;
  1145. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_16 = V_1;
  1146. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_17 = ((ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_il2cpp_TypeInfo_var))->___t_rwc_15;
  1147. NullCheck(L_16);
  1148. L_16->___next_4 = L_17;
  1149. Il2CppCodeGenWriteBarrier((void**)(&L_16->___next_4), (void*)L_17);
  1150. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_18 = V_1;
  1151. ((ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_il2cpp_TypeInfo_var))->___t_rwc_15 = L_18;
  1152. Il2CppCodeGenWriteBarrier((void**)(&((ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_il2cpp_TypeInfo_var))->___t_rwc_15), (void*)L_18);
  1153. }
  1154. IL_0053:
  1155. {
  1156. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_19 = V_1;
  1157. int64_t L_20 = __this->___lockID_14;
  1158. NullCheck(L_19);
  1159. L_19->___lockID_0 = L_20;
  1160. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_21 = V_1;
  1161. return L_21;
  1162. }
  1163. }
  1164. // System.Void System.Threading.ReaderWriterLockSlim::EnterWriteLock()
  1165. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_EnterWriteLock_mB07CEB326AB495488982834C444FA8E7CE70A8BA (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  1166. {
  1167. {
  1168. bool L_0;
  1169. L_0 = ReaderWriterLockSlim_TryEnterWriteLock_mE43F653D65A448225134E0CE1A289C4E112C62A2(__this, (-1), NULL);
  1170. return;
  1171. }
  1172. }
  1173. // System.Boolean System.Threading.ReaderWriterLockSlim::TryEnterWriteLock(System.Int32)
  1174. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_TryEnterWriteLock_mE43F653D65A448225134E0CE1A289C4E112C62A2 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, int32_t ___0_millisecondsTimeout, const RuntimeMethod* method)
  1175. {
  1176. {
  1177. int32_t L_0 = ___0_millisecondsTimeout;
  1178. TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C L_1;
  1179. memset((&L_1), 0, sizeof(L_1));
  1180. TimeoutTracker__ctor_mBFE73B99C5BBB93D251DF9731B9C5D824F30CDCE((&L_1), L_0, /*hidden argument*/NULL);
  1181. bool L_2;
  1182. L_2 = ReaderWriterLockSlim_TryEnterWriteLock_mBFFB3599E5D8C30B2D22A876CC58F647AEA2EDAE(__this, L_1, NULL);
  1183. return L_2;
  1184. }
  1185. }
  1186. // System.Boolean System.Threading.ReaderWriterLockSlim::TryEnterWriteLock(System.Threading.ReaderWriterLockSlim/TimeoutTracker)
  1187. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_TryEnterWriteLock_mBFFB3599E5D8C30B2D22A876CC58F647AEA2EDAE (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C ___0_timeout, const RuntimeMethod* method)
  1188. {
  1189. {
  1190. TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C L_0 = ___0_timeout;
  1191. bool L_1;
  1192. L_1 = ReaderWriterLockSlim_TryEnterWriteLockCore_m18B708E74264AC43BAD623C8ACC92370DA32888B(__this, L_0, NULL);
  1193. return L_1;
  1194. }
  1195. }
  1196. // System.Boolean System.Threading.ReaderWriterLockSlim::TryEnterWriteLockCore(System.Threading.ReaderWriterLockSlim/TimeoutTracker)
  1197. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_TryEnterWriteLockCore_m18B708E74264AC43BAD623C8ACC92370DA32888B (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C ___0_timeout, const RuntimeMethod* method)
  1198. {
  1199. int32_t V_0 = 0;
  1200. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* V_1 = NULL;
  1201. bool V_2 = false;
  1202. int32_t V_3 = 0;
  1203. uint32_t V_4 = 0;
  1204. {
  1205. bool L_0 = __this->___fDisposed_18;
  1206. if (!L_0)
  1207. {
  1208. goto IL_000f;
  1209. }
  1210. }
  1211. {
  1212. ObjectDisposedException_tC5FB29E8E980E2010A2F6A5B9B791089419F89EB* L_1 = (ObjectDisposedException_tC5FB29E8E980E2010A2F6A5B9B791089419F89EB*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ObjectDisposedException_tC5FB29E8E980E2010A2F6A5B9B791089419F89EB_il2cpp_TypeInfo_var)));
  1213. NullCheck(L_1);
  1214. ObjectDisposedException__ctor_mB2C8582279AF3F0C1CF9AA52DA7331BF848DFD48(L_1, (String_t*)NULL, NULL);
  1215. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_TryEnterWriteLockCore_m18B708E74264AC43BAD623C8ACC92370DA32888B_RuntimeMethod_var)));
  1216. }
  1217. IL_000f:
  1218. {
  1219. Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* L_2;
  1220. L_2 = Thread_get_CurrentThread_m6D4719F4993DB9200490531FF02D4076FF9CA9BD(NULL);
  1221. NullCheck(L_2);
  1222. int32_t L_3;
  1223. L_3 = Thread_get_ManagedThreadId_m74ACB74A574EE535C2B00B7D64F203A62E796B05(L_2, NULL);
  1224. V_0 = L_3;
  1225. V_2 = (bool)0;
  1226. bool L_4 = __this->___fIsReentrant_0;
  1227. if (L_4)
  1228. {
  1229. goto IL_0078;
  1230. }
  1231. }
  1232. {
  1233. int32_t L_5 = V_0;
  1234. int32_t L_6 = __this->___writeLockOwnerId_8;
  1235. if ((!(((uint32_t)L_5) == ((uint32_t)L_6))))
  1236. {
  1237. goto IL_003d;
  1238. }
  1239. }
  1240. {
  1241. String_t* L_7;
  1242. L_7 = SR_GetString_m2213C501E26D6A1AE8D0644E9685AF8A4204CA7F(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral485C8998D53F77608ABEDAF04A4DBE853A80D357)), NULL);
  1243. LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496* L_8 = (LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496_il2cpp_TypeInfo_var)));
  1244. NullCheck(L_8);
  1245. LockRecursionException__ctor_mCC42F0B1F378BC1F03AD51ABA4438BB5807F742B(L_8, L_7, NULL);
  1246. IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_TryEnterWriteLockCore_m18B708E74264AC43BAD623C8ACC92370DA32888B_RuntimeMethod_var)));
  1247. }
  1248. IL_003d:
  1249. {
  1250. int32_t L_9 = V_0;
  1251. int32_t L_10 = __this->___upgradeLockOwnerId_7;
  1252. if ((!(((uint32_t)L_9) == ((uint32_t)L_10))))
  1253. {
  1254. goto IL_0048;
  1255. }
  1256. }
  1257. {
  1258. V_2 = (bool)1;
  1259. }
  1260. IL_0048:
  1261. {
  1262. ReaderWriterLockSlim_EnterMyLock_mDB590C9A0A55830B1C347DAB0A3F4972E9F0DE59_inline(__this, NULL);
  1263. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_11;
  1264. L_11 = ReaderWriterLockSlim_GetThreadRWCount_m693F7FFBBFB98DEF312E4B3A200DA95266CA4E96_inline(__this, (bool)1, NULL);
  1265. V_1 = L_11;
  1266. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_12 = V_1;
  1267. if (!L_12)
  1268. {
  1269. goto IL_00d1;
  1270. }
  1271. }
  1272. {
  1273. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_13 = V_1;
  1274. NullCheck(L_13);
  1275. int32_t L_14 = L_13->___readercount_1;
  1276. if ((((int32_t)L_14) <= ((int32_t)0)))
  1277. {
  1278. goto IL_00d1;
  1279. }
  1280. }
  1281. {
  1282. ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
  1283. String_t* L_15;
  1284. L_15 = SR_GetString_m2213C501E26D6A1AE8D0644E9685AF8A4204CA7F(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral28BCDD3CA5E41255B6A2EBE02C50B3F4CE3093AA)), NULL);
  1285. LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496* L_16 = (LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496_il2cpp_TypeInfo_var)));
  1286. NullCheck(L_16);
  1287. LockRecursionException__ctor_mCC42F0B1F378BC1F03AD51ABA4438BB5807F742B(L_16, L_15, NULL);
  1288. IL2CPP_RAISE_MANAGED_EXCEPTION(L_16, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_TryEnterWriteLockCore_m18B708E74264AC43BAD623C8ACC92370DA32888B_RuntimeMethod_var)));
  1289. }
  1290. IL_0078:
  1291. {
  1292. ReaderWriterLockSlim_EnterMyLock_mDB590C9A0A55830B1C347DAB0A3F4972E9F0DE59_inline(__this, NULL);
  1293. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_17;
  1294. L_17 = ReaderWriterLockSlim_GetThreadRWCount_m693F7FFBBFB98DEF312E4B3A200DA95266CA4E96_inline(__this, (bool)0, NULL);
  1295. V_1 = L_17;
  1296. int32_t L_18 = V_0;
  1297. int32_t L_19 = __this->___writeLockOwnerId_8;
  1298. if ((!(((uint32_t)L_18) == ((uint32_t)L_19))))
  1299. {
  1300. goto IL_00a5;
  1301. }
  1302. }
  1303. {
  1304. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_20 = V_1;
  1305. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_21 = L_20;
  1306. NullCheck(L_21);
  1307. int32_t L_22 = L_21->___writercount_2;
  1308. NullCheck(L_21);
  1309. L_21->___writercount_2 = ((int32_t)il2cpp_codegen_add(L_22, 1));
  1310. ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
  1311. return (bool)1;
  1312. }
  1313. IL_00a5:
  1314. {
  1315. int32_t L_23 = V_0;
  1316. int32_t L_24 = __this->___upgradeLockOwnerId_7;
  1317. if ((!(((uint32_t)L_23) == ((uint32_t)L_24))))
  1318. {
  1319. goto IL_00b2;
  1320. }
  1321. }
  1322. {
  1323. V_2 = (bool)1;
  1324. goto IL_00d1;
  1325. }
  1326. IL_00b2:
  1327. {
  1328. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_25 = V_1;
  1329. NullCheck(L_25);
  1330. int32_t L_26 = L_25->___readercount_1;
  1331. if ((((int32_t)L_26) <= ((int32_t)0)))
  1332. {
  1333. goto IL_00d1;
  1334. }
  1335. }
  1336. {
  1337. ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
  1338. String_t* L_27;
  1339. L_27 = SR_GetString_m2213C501E26D6A1AE8D0644E9685AF8A4204CA7F(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral28BCDD3CA5E41255B6A2EBE02C50B3F4CE3093AA)), NULL);
  1340. LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496* L_28 = (LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496_il2cpp_TypeInfo_var)));
  1341. NullCheck(L_28);
  1342. LockRecursionException__ctor_mCC42F0B1F378BC1F03AD51ABA4438BB5807F742B(L_28, L_27, NULL);
  1343. IL2CPP_RAISE_MANAGED_EXCEPTION(L_28, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_TryEnterWriteLockCore_m18B708E74264AC43BAD623C8ACC92370DA32888B_RuntimeMethod_var)));
  1344. }
  1345. IL_00d1:
  1346. {
  1347. V_3 = 0;
  1348. }
  1349. IL_00d3:
  1350. {
  1351. bool L_29;
  1352. L_29 = ReaderWriterLockSlim_IsWriterAcquired_m6D1FB82F2349C4B48345C9EBEFFCC3FA69EF5A76(__this, NULL);
  1353. if (!L_29)
  1354. {
  1355. goto IL_00e6;
  1356. }
  1357. }
  1358. {
  1359. ReaderWriterLockSlim_SetWriterAcquired_mE496DF38D30454011343EE638FAC1EF2B5E8319C(__this, NULL);
  1360. goto IL_01c6;
  1361. }
  1362. IL_00e6:
  1363. {
  1364. bool L_30 = V_2;
  1365. if (!L_30)
  1366. {
  1367. goto IL_012e;
  1368. }
  1369. }
  1370. {
  1371. uint32_t L_31;
  1372. L_31 = ReaderWriterLockSlim_GetNumReaders_m300EBD28D2300167E37C0F67AD04AF7BE87C1DB1(__this, NULL);
  1373. V_4 = L_31;
  1374. uint32_t L_32 = V_4;
  1375. if ((!(((uint32_t)L_32) == ((uint32_t)1))))
  1376. {
  1377. goto IL_0101;
  1378. }
  1379. }
  1380. {
  1381. ReaderWriterLockSlim_SetWriterAcquired_mE496DF38D30454011343EE638FAC1EF2B5E8319C(__this, NULL);
  1382. goto IL_01c6;
  1383. }
  1384. IL_0101:
  1385. {
  1386. uint32_t L_33 = V_4;
  1387. if ((!(((uint32_t)L_33) == ((uint32_t)2))))
  1388. {
  1389. goto IL_012e;
  1390. }
  1391. }
  1392. {
  1393. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_34 = V_1;
  1394. if (!L_34)
  1395. {
  1396. goto IL_012e;
  1397. }
  1398. }
  1399. {
  1400. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_35 = V_1;
  1401. bool L_36;
  1402. L_36 = ReaderWriterLockSlim_IsRwHashEntryChanged_mCCC27B0221422991C4F5A2CE35263EBC24CB8402(__this, L_35, NULL);
  1403. if (!L_36)
  1404. {
  1405. goto IL_011a;
  1406. }
  1407. }
  1408. {
  1409. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_37;
  1410. L_37 = ReaderWriterLockSlim_GetThreadRWCount_m693F7FFBBFB98DEF312E4B3A200DA95266CA4E96_inline(__this, (bool)0, NULL);
  1411. V_1 = L_37;
  1412. }
  1413. IL_011a:
  1414. {
  1415. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_38 = V_1;
  1416. NullCheck(L_38);
  1417. int32_t L_39 = L_38->___readercount_1;
  1418. if ((((int32_t)L_39) <= ((int32_t)0)))
  1419. {
  1420. goto IL_012e;
  1421. }
  1422. }
  1423. {
  1424. ReaderWriterLockSlim_SetWriterAcquired_mE496DF38D30454011343EE638FAC1EF2B5E8319C(__this, NULL);
  1425. goto IL_01c6;
  1426. }
  1427. IL_012e:
  1428. {
  1429. int32_t L_40 = V_3;
  1430. if ((((int32_t)L_40) >= ((int32_t)((int32_t)20))))
  1431. {
  1432. goto IL_0159;
  1433. }
  1434. }
  1435. {
  1436. ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
  1437. bool L_41;
  1438. L_41 = TimeoutTracker_get_IsExpired_m5E08DCC01117EF66ADEBA5472B27833577289813((&___0_timeout), NULL);
  1439. if (!L_41)
  1440. {
  1441. goto IL_0144;
  1442. }
  1443. }
  1444. {
  1445. return (bool)0;
  1446. }
  1447. IL_0144:
  1448. {
  1449. int32_t L_42 = V_3;
  1450. V_3 = ((int32_t)il2cpp_codegen_add(L_42, 1));
  1451. int32_t L_43 = V_3;
  1452. ReaderWriterLockSlim_SpinWait_mFFFC84F8CF5AA3863BEE5CD292FE63B335A5D11B(L_43, NULL);
  1453. ReaderWriterLockSlim_EnterMyLock_mDB590C9A0A55830B1C347DAB0A3F4972E9F0DE59_inline(__this, NULL);
  1454. goto IL_00d3;
  1455. }
  1456. IL_0159:
  1457. {
  1458. bool L_44 = V_2;
  1459. if (!L_44)
  1460. {
  1461. goto IL_0191;
  1462. }
  1463. }
  1464. {
  1465. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_45 = __this->___waitUpgradeEvent_12;
  1466. if (L_45)
  1467. {
  1468. goto IL_0176;
  1469. }
  1470. }
  1471. {
  1472. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E** L_46 = (&__this->___waitUpgradeEvent_12);
  1473. ReaderWriterLockSlim_LazyCreateEvent_m4D2DFCB1AD5A749408939AA0D12B7C3959A36923(__this, L_46, (bool)1, NULL);
  1474. goto IL_00d3;
  1475. }
  1476. IL_0176:
  1477. {
  1478. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_47 = __this->___waitUpgradeEvent_12;
  1479. uint32_t* L_48 = (&__this->___numWriteUpgradeWaiters_4);
  1480. TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C L_49 = ___0_timeout;
  1481. bool L_50;
  1482. L_50 = ReaderWriterLockSlim_WaitOnEvent_mFF3B7C48254F2742AED6916DD059ACB2240A78B3(__this, L_47, L_48, L_49, (bool)1, NULL);
  1483. if (L_50)
  1484. {
  1485. goto IL_00d3;
  1486. }
  1487. }
  1488. {
  1489. return (bool)0;
  1490. }
  1491. IL_0191:
  1492. {
  1493. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_51 = __this->___writeEvent_9;
  1494. if (L_51)
  1495. {
  1496. goto IL_01ab;
  1497. }
  1498. }
  1499. {
  1500. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E** L_52 = (&__this->___writeEvent_9);
  1501. ReaderWriterLockSlim_LazyCreateEvent_m4D2DFCB1AD5A749408939AA0D12B7C3959A36923(__this, L_52, (bool)1, NULL);
  1502. goto IL_00d3;
  1503. }
  1504. IL_01ab:
  1505. {
  1506. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_53 = __this->___writeEvent_9;
  1507. uint32_t* L_54 = (&__this->___numWriteWaiters_2);
  1508. TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C L_55 = ___0_timeout;
  1509. bool L_56;
  1510. L_56 = ReaderWriterLockSlim_WaitOnEvent_mFF3B7C48254F2742AED6916DD059ACB2240A78B3(__this, L_53, L_54, L_55, (bool)1, NULL);
  1511. if (L_56)
  1512. {
  1513. goto IL_00d3;
  1514. }
  1515. }
  1516. {
  1517. return (bool)0;
  1518. }
  1519. IL_01c6:
  1520. {
  1521. bool L_57 = __this->___fIsReentrant_0;
  1522. if (!L_57)
  1523. {
  1524. goto IL_01ed;
  1525. }
  1526. }
  1527. {
  1528. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_58 = V_1;
  1529. bool L_59;
  1530. L_59 = ReaderWriterLockSlim_IsRwHashEntryChanged_mCCC27B0221422991C4F5A2CE35263EBC24CB8402(__this, L_58, NULL);
  1531. if (!L_59)
  1532. {
  1533. goto IL_01df;
  1534. }
  1535. }
  1536. {
  1537. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_60;
  1538. L_60 = ReaderWriterLockSlim_GetThreadRWCount_m693F7FFBBFB98DEF312E4B3A200DA95266CA4E96_inline(__this, (bool)0, NULL);
  1539. V_1 = L_60;
  1540. }
  1541. IL_01df:
  1542. {
  1543. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_61 = V_1;
  1544. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_62 = L_61;
  1545. NullCheck(L_62);
  1546. int32_t L_63 = L_62->___writercount_2;
  1547. NullCheck(L_62);
  1548. L_62->___writercount_2 = ((int32_t)il2cpp_codegen_add(L_63, 1));
  1549. }
  1550. IL_01ed:
  1551. {
  1552. ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
  1553. int32_t L_64 = V_0;
  1554. __this->___writeLockOwnerId_8 = L_64;
  1555. return (bool)1;
  1556. }
  1557. }
  1558. // System.Void System.Threading.ReaderWriterLockSlim::EnterUpgradeableReadLock()
  1559. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_EnterUpgradeableReadLock_m2BC6F2E7FDE834363821DAE26B1AAD7DAFE4ECEC (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  1560. {
  1561. {
  1562. bool L_0;
  1563. L_0 = ReaderWriterLockSlim_TryEnterUpgradeableReadLock_m8D1AC20D086B7CD5019836984BCE18635DEB34DF(__this, (-1), NULL);
  1564. return;
  1565. }
  1566. }
  1567. // System.Boolean System.Threading.ReaderWriterLockSlim::TryEnterUpgradeableReadLock(System.Int32)
  1568. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_TryEnterUpgradeableReadLock_m8D1AC20D086B7CD5019836984BCE18635DEB34DF (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, int32_t ___0_millisecondsTimeout, const RuntimeMethod* method)
  1569. {
  1570. {
  1571. int32_t L_0 = ___0_millisecondsTimeout;
  1572. TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C L_1;
  1573. memset((&L_1), 0, sizeof(L_1));
  1574. TimeoutTracker__ctor_mBFE73B99C5BBB93D251DF9731B9C5D824F30CDCE((&L_1), L_0, /*hidden argument*/NULL);
  1575. bool L_2;
  1576. L_2 = ReaderWriterLockSlim_TryEnterUpgradeableReadLock_m67F6B1EC0CCE06AB1F444221036CE7AE614518CC(__this, L_1, NULL);
  1577. return L_2;
  1578. }
  1579. }
  1580. // System.Boolean System.Threading.ReaderWriterLockSlim::TryEnterUpgradeableReadLock(System.Threading.ReaderWriterLockSlim/TimeoutTracker)
  1581. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_TryEnterUpgradeableReadLock_m67F6B1EC0CCE06AB1F444221036CE7AE614518CC (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C ___0_timeout, const RuntimeMethod* method)
  1582. {
  1583. {
  1584. TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C L_0 = ___0_timeout;
  1585. bool L_1;
  1586. L_1 = ReaderWriterLockSlim_TryEnterUpgradeableReadLockCore_mA84580B68864B07DD3D6A2A4F48FCFE72EEA6F6F(__this, L_0, NULL);
  1587. return L_1;
  1588. }
  1589. }
  1590. // System.Boolean System.Threading.ReaderWriterLockSlim::TryEnterUpgradeableReadLockCore(System.Threading.ReaderWriterLockSlim/TimeoutTracker)
  1591. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_TryEnterUpgradeableReadLockCore_mA84580B68864B07DD3D6A2A4F48FCFE72EEA6F6F (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C ___0_timeout, const RuntimeMethod* method)
  1592. {
  1593. int32_t V_0 = 0;
  1594. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* V_1 = NULL;
  1595. int32_t V_2 = 0;
  1596. {
  1597. bool L_0 = __this->___fDisposed_18;
  1598. if (!L_0)
  1599. {
  1600. goto IL_000f;
  1601. }
  1602. }
  1603. {
  1604. ObjectDisposedException_tC5FB29E8E980E2010A2F6A5B9B791089419F89EB* L_1 = (ObjectDisposedException_tC5FB29E8E980E2010A2F6A5B9B791089419F89EB*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ObjectDisposedException_tC5FB29E8E980E2010A2F6A5B9B791089419F89EB_il2cpp_TypeInfo_var)));
  1605. NullCheck(L_1);
  1606. ObjectDisposedException__ctor_mB2C8582279AF3F0C1CF9AA52DA7331BF848DFD48(L_1, (String_t*)NULL, NULL);
  1607. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_TryEnterUpgradeableReadLockCore_mA84580B68864B07DD3D6A2A4F48FCFE72EEA6F6F_RuntimeMethod_var)));
  1608. }
  1609. IL_000f:
  1610. {
  1611. Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* L_2;
  1612. L_2 = Thread_get_CurrentThread_m6D4719F4993DB9200490531FF02D4076FF9CA9BD(NULL);
  1613. NullCheck(L_2);
  1614. int32_t L_3;
  1615. L_3 = Thread_get_ManagedThreadId_m74ACB74A574EE535C2B00B7D64F203A62E796B05(L_2, NULL);
  1616. V_0 = L_3;
  1617. bool L_4 = __this->___fIsReentrant_0;
  1618. if (L_4)
  1619. {
  1620. goto IL_008a;
  1621. }
  1622. }
  1623. {
  1624. int32_t L_5 = V_0;
  1625. int32_t L_6 = __this->___upgradeLockOwnerId_7;
  1626. if ((!(((uint32_t)L_5) == ((uint32_t)L_6))))
  1627. {
  1628. goto IL_003b;
  1629. }
  1630. }
  1631. {
  1632. String_t* L_7;
  1633. L_7 = SR_GetString_m2213C501E26D6A1AE8D0644E9685AF8A4204CA7F(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral8822CE4A43FFFD3B2CC49B9D5FC1B66F0CCBF3B1)), NULL);
  1634. LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496* L_8 = (LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496_il2cpp_TypeInfo_var)));
  1635. NullCheck(L_8);
  1636. LockRecursionException__ctor_mCC42F0B1F378BC1F03AD51ABA4438BB5807F742B(L_8, L_7, NULL);
  1637. IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_TryEnterUpgradeableReadLockCore_mA84580B68864B07DD3D6A2A4F48FCFE72EEA6F6F_RuntimeMethod_var)));
  1638. }
  1639. IL_003b:
  1640. {
  1641. int32_t L_9 = V_0;
  1642. int32_t L_10 = __this->___writeLockOwnerId_8;
  1643. if ((!(((uint32_t)L_9) == ((uint32_t)L_10))))
  1644. {
  1645. goto IL_0054;
  1646. }
  1647. }
  1648. {
  1649. String_t* L_11;
  1650. L_11 = SR_GetString_m2213C501E26D6A1AE8D0644E9685AF8A4204CA7F(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral6DC62F421ABC9EEBA3ED23A09F410EA41A1F72C6)), NULL);
  1651. LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496* L_12 = (LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496_il2cpp_TypeInfo_var)));
  1652. NullCheck(L_12);
  1653. LockRecursionException__ctor_mCC42F0B1F378BC1F03AD51ABA4438BB5807F742B(L_12, L_11, NULL);
  1654. IL2CPP_RAISE_MANAGED_EXCEPTION(L_12, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_TryEnterUpgradeableReadLockCore_mA84580B68864B07DD3D6A2A4F48FCFE72EEA6F6F_RuntimeMethod_var)));
  1655. }
  1656. IL_0054:
  1657. {
  1658. ReaderWriterLockSlim_EnterMyLock_mDB590C9A0A55830B1C347DAB0A3F4972E9F0DE59_inline(__this, NULL);
  1659. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_13;
  1660. L_13 = ReaderWriterLockSlim_GetThreadRWCount_m693F7FFBBFB98DEF312E4B3A200DA95266CA4E96_inline(__this, (bool)1, NULL);
  1661. V_1 = L_13;
  1662. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_14 = V_1;
  1663. if (!L_14)
  1664. {
  1665. goto IL_011a;
  1666. }
  1667. }
  1668. {
  1669. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_15 = V_1;
  1670. NullCheck(L_15);
  1671. int32_t L_16 = L_15->___readercount_1;
  1672. if ((((int32_t)L_16) <= ((int32_t)0)))
  1673. {
  1674. goto IL_011a;
  1675. }
  1676. }
  1677. {
  1678. ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
  1679. String_t* L_17;
  1680. L_17 = SR_GetString_m2213C501E26D6A1AE8D0644E9685AF8A4204CA7F(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral84A266738245DD942C30B2FC8963EC80C662B538)), NULL);
  1681. LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496* L_18 = (LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496_il2cpp_TypeInfo_var)));
  1682. NullCheck(L_18);
  1683. LockRecursionException__ctor_mCC42F0B1F378BC1F03AD51ABA4438BB5807F742B(L_18, L_17, NULL);
  1684. IL2CPP_RAISE_MANAGED_EXCEPTION(L_18, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_TryEnterUpgradeableReadLockCore_mA84580B68864B07DD3D6A2A4F48FCFE72EEA6F6F_RuntimeMethod_var)));
  1685. }
  1686. IL_008a:
  1687. {
  1688. ReaderWriterLockSlim_EnterMyLock_mDB590C9A0A55830B1C347DAB0A3F4972E9F0DE59_inline(__this, NULL);
  1689. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_19;
  1690. L_19 = ReaderWriterLockSlim_GetThreadRWCount_m693F7FFBBFB98DEF312E4B3A200DA95266CA4E96_inline(__this, (bool)0, NULL);
  1691. V_1 = L_19;
  1692. int32_t L_20 = V_0;
  1693. int32_t L_21 = __this->___upgradeLockOwnerId_7;
  1694. if ((!(((uint32_t)L_20) == ((uint32_t)L_21))))
  1695. {
  1696. goto IL_00b7;
  1697. }
  1698. }
  1699. {
  1700. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_22 = V_1;
  1701. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_23 = L_22;
  1702. NullCheck(L_23);
  1703. int32_t L_24 = L_23->___upgradecount_3;
  1704. NullCheck(L_23);
  1705. L_23->___upgradecount_3 = ((int32_t)il2cpp_codegen_add(L_24, 1));
  1706. ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
  1707. return (bool)1;
  1708. }
  1709. IL_00b7:
  1710. {
  1711. int32_t L_25 = V_0;
  1712. int32_t L_26 = __this->___writeLockOwnerId_8;
  1713. if ((!(((uint32_t)L_25) == ((uint32_t)L_26))))
  1714. {
  1715. goto IL_00fb;
  1716. }
  1717. }
  1718. {
  1719. uint32_t L_27 = __this->___owners_17;
  1720. __this->___owners_17 = ((int32_t)il2cpp_codegen_add((int32_t)L_27, 1));
  1721. int32_t L_28 = V_0;
  1722. __this->___upgradeLockOwnerId_7 = L_28;
  1723. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_29 = V_1;
  1724. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_30 = L_29;
  1725. NullCheck(L_30);
  1726. int32_t L_31 = L_30->___upgradecount_3;
  1727. NullCheck(L_30);
  1728. L_30->___upgradecount_3 = ((int32_t)il2cpp_codegen_add(L_31, 1));
  1729. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_32 = V_1;
  1730. NullCheck(L_32);
  1731. int32_t L_33 = L_32->___readercount_1;
  1732. if ((((int32_t)L_33) <= ((int32_t)0)))
  1733. {
  1734. goto IL_00f3;
  1735. }
  1736. }
  1737. {
  1738. __this->___fUpgradeThreadHoldingRead_16 = (bool)1;
  1739. }
  1740. IL_00f3:
  1741. {
  1742. ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
  1743. return (bool)1;
  1744. }
  1745. IL_00fb:
  1746. {
  1747. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_34 = V_1;
  1748. NullCheck(L_34);
  1749. int32_t L_35 = L_34->___readercount_1;
  1750. if ((((int32_t)L_35) <= ((int32_t)0)))
  1751. {
  1752. goto IL_011a;
  1753. }
  1754. }
  1755. {
  1756. ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
  1757. String_t* L_36;
  1758. L_36 = SR_GetString_m2213C501E26D6A1AE8D0644E9685AF8A4204CA7F(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral84A266738245DD942C30B2FC8963EC80C662B538)), NULL);
  1759. LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496* L_37 = (LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496_il2cpp_TypeInfo_var)));
  1760. NullCheck(L_37);
  1761. LockRecursionException__ctor_mCC42F0B1F378BC1F03AD51ABA4438BB5807F742B(L_37, L_36, NULL);
  1762. IL2CPP_RAISE_MANAGED_EXCEPTION(L_37, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_TryEnterUpgradeableReadLockCore_mA84580B68864B07DD3D6A2A4F48FCFE72EEA6F6F_RuntimeMethod_var)));
  1763. }
  1764. IL_011a:
  1765. {
  1766. V_2 = 0;
  1767. }
  1768. IL_011c:
  1769. {
  1770. int32_t L_38 = __this->___upgradeLockOwnerId_7;
  1771. if ((!(((uint32_t)L_38) == ((uint32_t)(-1)))))
  1772. {
  1773. goto IL_0149;
  1774. }
  1775. }
  1776. {
  1777. uint32_t L_39 = __this->___owners_17;
  1778. if ((!(((uint32_t)L_39) < ((uint32_t)((int32_t)268435454)))))
  1779. {
  1780. goto IL_0149;
  1781. }
  1782. }
  1783. {
  1784. uint32_t L_40 = __this->___owners_17;
  1785. __this->___owners_17 = ((int32_t)il2cpp_codegen_add((int32_t)L_40, 1));
  1786. int32_t L_41 = V_0;
  1787. __this->___upgradeLockOwnerId_7 = L_41;
  1788. goto IL_01a3;
  1789. }
  1790. IL_0149:
  1791. {
  1792. int32_t L_42 = V_2;
  1793. if ((((int32_t)L_42) >= ((int32_t)((int32_t)20))))
  1794. {
  1795. goto IL_0171;
  1796. }
  1797. }
  1798. {
  1799. ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
  1800. bool L_43;
  1801. L_43 = TimeoutTracker_get_IsExpired_m5E08DCC01117EF66ADEBA5472B27833577289813((&___0_timeout), NULL);
  1802. if (!L_43)
  1803. {
  1804. goto IL_015f;
  1805. }
  1806. }
  1807. {
  1808. return (bool)0;
  1809. }
  1810. IL_015f:
  1811. {
  1812. int32_t L_44 = V_2;
  1813. V_2 = ((int32_t)il2cpp_codegen_add(L_44, 1));
  1814. int32_t L_45 = V_2;
  1815. ReaderWriterLockSlim_SpinWait_mFFFC84F8CF5AA3863BEE5CD292FE63B335A5D11B(L_45, NULL);
  1816. ReaderWriterLockSlim_EnterMyLock_mDB590C9A0A55830B1C347DAB0A3F4972E9F0DE59_inline(__this, NULL);
  1817. goto IL_011c;
  1818. }
  1819. IL_0171:
  1820. {
  1821. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_46 = __this->___upgradeEvent_11;
  1822. if (L_46)
  1823. {
  1824. goto IL_0188;
  1825. }
  1826. }
  1827. {
  1828. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E** L_47 = (&__this->___upgradeEvent_11);
  1829. ReaderWriterLockSlim_LazyCreateEvent_m4D2DFCB1AD5A749408939AA0D12B7C3959A36923(__this, L_47, (bool)1, NULL);
  1830. goto IL_011c;
  1831. }
  1832. IL_0188:
  1833. {
  1834. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_48 = __this->___upgradeEvent_11;
  1835. uint32_t* L_49 = (&__this->___numUpgradeWaiters_5);
  1836. TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C L_50 = ___0_timeout;
  1837. bool L_51;
  1838. L_51 = ReaderWriterLockSlim_WaitOnEvent_mFF3B7C48254F2742AED6916DD059ACB2240A78B3(__this, L_48, L_49, L_50, (bool)0, NULL);
  1839. if (L_51)
  1840. {
  1841. goto IL_011c;
  1842. }
  1843. }
  1844. {
  1845. return (bool)0;
  1846. }
  1847. IL_01a3:
  1848. {
  1849. bool L_52 = __this->___fIsReentrant_0;
  1850. if (!L_52)
  1851. {
  1852. goto IL_01ca;
  1853. }
  1854. }
  1855. {
  1856. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_53 = V_1;
  1857. bool L_54;
  1858. L_54 = ReaderWriterLockSlim_IsRwHashEntryChanged_mCCC27B0221422991C4F5A2CE35263EBC24CB8402(__this, L_53, NULL);
  1859. if (!L_54)
  1860. {
  1861. goto IL_01bc;
  1862. }
  1863. }
  1864. {
  1865. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_55;
  1866. L_55 = ReaderWriterLockSlim_GetThreadRWCount_m693F7FFBBFB98DEF312E4B3A200DA95266CA4E96_inline(__this, (bool)0, NULL);
  1867. V_1 = L_55;
  1868. }
  1869. IL_01bc:
  1870. {
  1871. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_56 = V_1;
  1872. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_57 = L_56;
  1873. NullCheck(L_57);
  1874. int32_t L_58 = L_57->___upgradecount_3;
  1875. NullCheck(L_57);
  1876. L_57->___upgradecount_3 = ((int32_t)il2cpp_codegen_add(L_58, 1));
  1877. }
  1878. IL_01ca:
  1879. {
  1880. ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
  1881. return (bool)1;
  1882. }
  1883. }
  1884. // System.Void System.Threading.ReaderWriterLockSlim::ExitWriteLock()
  1885. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_ExitWriteLock_m84F7F58C2B3552C5B32744FB06004CACDFCE57E6 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  1886. {
  1887. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* G_B6_0 = NULL;
  1888. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* G_B5_0 = NULL;
  1889. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* G_B8_0 = NULL;
  1890. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* G_B7_0 = NULL;
  1891. {
  1892. bool L_0 = __this->___fIsReentrant_0;
  1893. if (L_0)
  1894. {
  1895. goto IL_0032;
  1896. }
  1897. }
  1898. {
  1899. Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* L_1;
  1900. L_1 = Thread_get_CurrentThread_m6D4719F4993DB9200490531FF02D4076FF9CA9BD(NULL);
  1901. NullCheck(L_1);
  1902. int32_t L_2;
  1903. L_2 = Thread_get_ManagedThreadId_m74ACB74A574EE535C2B00B7D64F203A62E796B05(L_1, NULL);
  1904. int32_t L_3 = __this->___writeLockOwnerId_8;
  1905. if ((((int32_t)L_2) == ((int32_t)L_3)))
  1906. {
  1907. goto IL_002a;
  1908. }
  1909. }
  1910. {
  1911. String_t* L_4;
  1912. L_4 = SR_GetString_m2213C501E26D6A1AE8D0644E9685AF8A4204CA7F(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral10C4AECF4C2A9921D7FDB1EEA6237F828B265648)), NULL);
  1913. SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34* L_5 = (SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34_il2cpp_TypeInfo_var)));
  1914. NullCheck(L_5);
  1915. SynchronizationLockException__ctor_m2AEF9CF8E5DFE8F5A7CFB02E5AEF7640971BA970(L_5, L_4, NULL);
  1916. IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_ExitWriteLock_m84F7F58C2B3552C5B32744FB06004CACDFCE57E6_RuntimeMethod_var)));
  1917. }
  1918. IL_002a:
  1919. {
  1920. ReaderWriterLockSlim_EnterMyLock_mDB590C9A0A55830B1C347DAB0A3F4972E9F0DE59_inline(__this, NULL);
  1921. goto IL_0094;
  1922. }
  1923. IL_0032:
  1924. {
  1925. ReaderWriterLockSlim_EnterMyLock_mDB590C9A0A55830B1C347DAB0A3F4972E9F0DE59_inline(__this, NULL);
  1926. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_6;
  1927. L_6 = ReaderWriterLockSlim_GetThreadRWCount_m693F7FFBBFB98DEF312E4B3A200DA95266CA4E96_inline(__this, (bool)0, NULL);
  1928. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_7 = L_6;
  1929. G_B5_0 = L_7;
  1930. if (L_7)
  1931. {
  1932. G_B6_0 = L_7;
  1933. goto IL_0058;
  1934. }
  1935. }
  1936. {
  1937. ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
  1938. String_t* L_8;
  1939. L_8 = SR_GetString_m2213C501E26D6A1AE8D0644E9685AF8A4204CA7F(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral10C4AECF4C2A9921D7FDB1EEA6237F828B265648)), NULL);
  1940. SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34* L_9 = (SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34_il2cpp_TypeInfo_var)));
  1941. NullCheck(L_9);
  1942. SynchronizationLockException__ctor_m2AEF9CF8E5DFE8F5A7CFB02E5AEF7640971BA970(L_9, L_8, NULL);
  1943. IL2CPP_RAISE_MANAGED_EXCEPTION(L_9, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_ExitWriteLock_m84F7F58C2B3552C5B32744FB06004CACDFCE57E6_RuntimeMethod_var)));
  1944. }
  1945. IL_0058:
  1946. {
  1947. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_10 = G_B6_0;
  1948. NullCheck(L_10);
  1949. int32_t L_11 = L_10->___writercount_2;
  1950. G_B7_0 = L_10;
  1951. if ((((int32_t)L_11) >= ((int32_t)1)))
  1952. {
  1953. G_B8_0 = L_10;
  1954. goto IL_0077;
  1955. }
  1956. }
  1957. {
  1958. ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
  1959. String_t* L_12;
  1960. L_12 = SR_GetString_m2213C501E26D6A1AE8D0644E9685AF8A4204CA7F(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral10C4AECF4C2A9921D7FDB1EEA6237F828B265648)), NULL);
  1961. SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34* L_13 = (SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34_il2cpp_TypeInfo_var)));
  1962. NullCheck(L_13);
  1963. SynchronizationLockException__ctor_m2AEF9CF8E5DFE8F5A7CFB02E5AEF7640971BA970(L_13, L_12, NULL);
  1964. IL2CPP_RAISE_MANAGED_EXCEPTION(L_13, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_ExitWriteLock_m84F7F58C2B3552C5B32744FB06004CACDFCE57E6_RuntimeMethod_var)));
  1965. }
  1966. IL_0077:
  1967. {
  1968. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_14 = G_B8_0;
  1969. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_15 = L_14;
  1970. NullCheck(L_15);
  1971. int32_t L_16 = L_15->___writercount_2;
  1972. NullCheck(L_15);
  1973. L_15->___writercount_2 = ((int32_t)il2cpp_codegen_subtract(L_16, 1));
  1974. NullCheck(L_14);
  1975. int32_t L_17 = L_14->___writercount_2;
  1976. if ((((int32_t)L_17) <= ((int32_t)0)))
  1977. {
  1978. goto IL_0094;
  1979. }
  1980. }
  1981. {
  1982. ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
  1983. return;
  1984. }
  1985. IL_0094:
  1986. {
  1987. ReaderWriterLockSlim_ClearWriterAcquired_mBCDFD72656A5D8EFCEE5A0AD39233D37E44461DC(__this, NULL);
  1988. __this->___writeLockOwnerId_8 = (-1);
  1989. ReaderWriterLockSlim_ExitAndWakeUpAppropriateWaiters_m43EB7B2724EC44E2F0B4E3CA6A51752345978E90(__this, NULL);
  1990. return;
  1991. }
  1992. }
  1993. // System.Void System.Threading.ReaderWriterLockSlim::ExitUpgradeableReadLock()
  1994. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_ExitUpgradeableReadLock_m70E125A9542852AC8E908571F9EB86670E2CFEEA (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  1995. {
  1996. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* G_B6_0 = NULL;
  1997. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* G_B5_0 = NULL;
  1998. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* G_B8_0 = NULL;
  1999. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* G_B7_0 = NULL;
  2000. {
  2001. bool L_0 = __this->___fIsReentrant_0;
  2002. if (L_0)
  2003. {
  2004. goto IL_0032;
  2005. }
  2006. }
  2007. {
  2008. Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* L_1;
  2009. L_1 = Thread_get_CurrentThread_m6D4719F4993DB9200490531FF02D4076FF9CA9BD(NULL);
  2010. NullCheck(L_1);
  2011. int32_t L_2;
  2012. L_2 = Thread_get_ManagedThreadId_m74ACB74A574EE535C2B00B7D64F203A62E796B05(L_1, NULL);
  2013. int32_t L_3 = __this->___upgradeLockOwnerId_7;
  2014. if ((((int32_t)L_2) == ((int32_t)L_3)))
  2015. {
  2016. goto IL_002a;
  2017. }
  2018. }
  2019. {
  2020. String_t* L_4;
  2021. L_4 = SR_GetString_m2213C501E26D6A1AE8D0644E9685AF8A4204CA7F(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralA1E10561E358BF2699823096E8ABA5826AB9E732)), NULL);
  2022. SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34* L_5 = (SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34_il2cpp_TypeInfo_var)));
  2023. NullCheck(L_5);
  2024. SynchronizationLockException__ctor_m2AEF9CF8E5DFE8F5A7CFB02E5AEF7640971BA970(L_5, L_4, NULL);
  2025. IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_ExitUpgradeableReadLock_m70E125A9542852AC8E908571F9EB86670E2CFEEA_RuntimeMethod_var)));
  2026. }
  2027. IL_002a:
  2028. {
  2029. ReaderWriterLockSlim_EnterMyLock_mDB590C9A0A55830B1C347DAB0A3F4972E9F0DE59_inline(__this, NULL);
  2030. goto IL_009b;
  2031. }
  2032. IL_0032:
  2033. {
  2034. ReaderWriterLockSlim_EnterMyLock_mDB590C9A0A55830B1C347DAB0A3F4972E9F0DE59_inline(__this, NULL);
  2035. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_6;
  2036. L_6 = ReaderWriterLockSlim_GetThreadRWCount_m693F7FFBBFB98DEF312E4B3A200DA95266CA4E96_inline(__this, (bool)1, NULL);
  2037. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_7 = L_6;
  2038. G_B5_0 = L_7;
  2039. if (L_7)
  2040. {
  2041. G_B6_0 = L_7;
  2042. goto IL_0058;
  2043. }
  2044. }
  2045. {
  2046. ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
  2047. String_t* L_8;
  2048. L_8 = SR_GetString_m2213C501E26D6A1AE8D0644E9685AF8A4204CA7F(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralA1E10561E358BF2699823096E8ABA5826AB9E732)), NULL);
  2049. SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34* L_9 = (SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34_il2cpp_TypeInfo_var)));
  2050. NullCheck(L_9);
  2051. SynchronizationLockException__ctor_m2AEF9CF8E5DFE8F5A7CFB02E5AEF7640971BA970(L_9, L_8, NULL);
  2052. IL2CPP_RAISE_MANAGED_EXCEPTION(L_9, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_ExitUpgradeableReadLock_m70E125A9542852AC8E908571F9EB86670E2CFEEA_RuntimeMethod_var)));
  2053. }
  2054. IL_0058:
  2055. {
  2056. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_10 = G_B6_0;
  2057. NullCheck(L_10);
  2058. int32_t L_11 = L_10->___upgradecount_3;
  2059. G_B7_0 = L_10;
  2060. if ((((int32_t)L_11) >= ((int32_t)1)))
  2061. {
  2062. G_B8_0 = L_10;
  2063. goto IL_0077;
  2064. }
  2065. }
  2066. {
  2067. ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
  2068. String_t* L_12;
  2069. L_12 = SR_GetString_m2213C501E26D6A1AE8D0644E9685AF8A4204CA7F(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralA1E10561E358BF2699823096E8ABA5826AB9E732)), NULL);
  2070. SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34* L_13 = (SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34_il2cpp_TypeInfo_var)));
  2071. NullCheck(L_13);
  2072. SynchronizationLockException__ctor_m2AEF9CF8E5DFE8F5A7CFB02E5AEF7640971BA970(L_13, L_12, NULL);
  2073. IL2CPP_RAISE_MANAGED_EXCEPTION(L_13, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_ExitUpgradeableReadLock_m70E125A9542852AC8E908571F9EB86670E2CFEEA_RuntimeMethod_var)));
  2074. }
  2075. IL_0077:
  2076. {
  2077. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_14 = G_B8_0;
  2078. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_15 = L_14;
  2079. NullCheck(L_15);
  2080. int32_t L_16 = L_15->___upgradecount_3;
  2081. NullCheck(L_15);
  2082. L_15->___upgradecount_3 = ((int32_t)il2cpp_codegen_subtract(L_16, 1));
  2083. NullCheck(L_14);
  2084. int32_t L_17 = L_14->___upgradecount_3;
  2085. if ((((int32_t)L_17) <= ((int32_t)0)))
  2086. {
  2087. goto IL_0094;
  2088. }
  2089. }
  2090. {
  2091. ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
  2092. return;
  2093. }
  2094. IL_0094:
  2095. {
  2096. __this->___fUpgradeThreadHoldingRead_16 = (bool)0;
  2097. }
  2098. IL_009b:
  2099. {
  2100. uint32_t L_18 = __this->___owners_17;
  2101. __this->___owners_17 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_18, 1));
  2102. __this->___upgradeLockOwnerId_7 = (-1);
  2103. ReaderWriterLockSlim_ExitAndWakeUpAppropriateWaiters_m43EB7B2724EC44E2F0B4E3CA6A51752345978E90(__this, NULL);
  2104. return;
  2105. }
  2106. }
  2107. // System.Void System.Threading.ReaderWriterLockSlim::LazyCreateEvent(System.Threading.EventWaitHandle&,System.Boolean)
  2108. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_LazyCreateEvent_m4D2DFCB1AD5A749408939AA0D12B7C3959A36923 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E** ___0_waitEvent, bool ___1_makeAutoResetEvent, const RuntimeMethod* method)
  2109. {
  2110. static bool s_Il2CppMethodInitialized;
  2111. if (!s_Il2CppMethodInitialized)
  2112. {
  2113. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AutoResetEvent_t7F792F3F7AD11BEF7B411E771D98E5266A8CE7C0_il2cpp_TypeInfo_var);
  2114. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ManualResetEvent_t63959486AA41A113A4353D0BF4A68E77EBA0A158_il2cpp_TypeInfo_var);
  2115. s_Il2CppMethodInitialized = true;
  2116. }
  2117. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* V_0 = NULL;
  2118. {
  2119. ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
  2120. bool L_0 = ___1_makeAutoResetEvent;
  2121. if (!L_0)
  2122. {
  2123. goto IL_0012;
  2124. }
  2125. }
  2126. {
  2127. AutoResetEvent_t7F792F3F7AD11BEF7B411E771D98E5266A8CE7C0* L_1 = (AutoResetEvent_t7F792F3F7AD11BEF7B411E771D98E5266A8CE7C0*)il2cpp_codegen_object_new(AutoResetEvent_t7F792F3F7AD11BEF7B411E771D98E5266A8CE7C0_il2cpp_TypeInfo_var);
  2128. NullCheck(L_1);
  2129. AutoResetEvent__ctor_mB7C8CD30C5BE11A2C8DB79B27593CF0C5FE82ADE(L_1, (bool)0, NULL);
  2130. V_0 = L_1;
  2131. goto IL_0019;
  2132. }
  2133. IL_0012:
  2134. {
  2135. ManualResetEvent_t63959486AA41A113A4353D0BF4A68E77EBA0A158* L_2 = (ManualResetEvent_t63959486AA41A113A4353D0BF4A68E77EBA0A158*)il2cpp_codegen_object_new(ManualResetEvent_t63959486AA41A113A4353D0BF4A68E77EBA0A158_il2cpp_TypeInfo_var);
  2136. NullCheck(L_2);
  2137. ManualResetEvent__ctor_m361CFCF6AC28BFFF5C8790DC2B5951791A1C4CEE(L_2, (bool)0, NULL);
  2138. V_0 = L_2;
  2139. }
  2140. IL_0019:
  2141. {
  2142. ReaderWriterLockSlim_EnterMyLock_mDB590C9A0A55830B1C347DAB0A3F4972E9F0DE59_inline(__this, NULL);
  2143. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E** L_3 = ___0_waitEvent;
  2144. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_4 = *((EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E**)L_3);
  2145. if (L_4)
  2146. {
  2147. goto IL_0027;
  2148. }
  2149. }
  2150. {
  2151. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E** L_5 = ___0_waitEvent;
  2152. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_6 = V_0;
  2153. *((RuntimeObject**)L_5) = (RuntimeObject*)L_6;
  2154. Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_5, (void*)(RuntimeObject*)L_6);
  2155. return;
  2156. }
  2157. IL_0027:
  2158. {
  2159. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_7 = V_0;
  2160. NullCheck(L_7);
  2161. VirtualActionInvoker0::Invoke(12 /* System.Void System.Threading.WaitHandle::Close() */, L_7);
  2162. return;
  2163. }
  2164. }
  2165. // System.Boolean System.Threading.ReaderWriterLockSlim::WaitOnEvent(System.Threading.EventWaitHandle,System.UInt32&,System.Threading.ReaderWriterLockSlim/TimeoutTracker,System.Boolean)
  2166. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_WaitOnEvent_mFF3B7C48254F2742AED6916DD059ACB2240A78B3 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* ___0_waitEvent, uint32_t* ___1_numWaiters, TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C ___2_timeout, bool ___3_isWriteWaiter, const RuntimeMethod* method)
  2167. {
  2168. bool V_0 = false;
  2169. {
  2170. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_0 = ___0_waitEvent;
  2171. NullCheck(L_0);
  2172. bool L_1;
  2173. L_1 = EventWaitHandle_Reset_m84719BED571BDAAEE27EE05F57295C7107A74DE6(L_0, NULL);
  2174. uint32_t* L_2 = ___1_numWaiters;
  2175. uint32_t* L_3 = ___1_numWaiters;
  2176. int32_t L_4 = *((uint32_t*)L_3);
  2177. *((int32_t*)L_2) = (int32_t)((int32_t)il2cpp_codegen_add(L_4, 1));
  2178. __this->___fNoWaiters_6 = (bool)0;
  2179. uint32_t L_5 = __this->___numWriteWaiters_2;
  2180. if ((!(((uint32_t)L_5) == ((uint32_t)1))))
  2181. {
  2182. goto IL_0023;
  2183. }
  2184. }
  2185. {
  2186. ReaderWriterLockSlim_SetWritersWaiting_mEBE801FBDAFD33AF1B8E3CE71F0AD0C9CDA69902(__this, NULL);
  2187. }
  2188. IL_0023:
  2189. {
  2190. uint32_t L_6 = __this->___numWriteUpgradeWaiters_4;
  2191. if ((!(((uint32_t)L_6) == ((uint32_t)1))))
  2192. {
  2193. goto IL_0032;
  2194. }
  2195. }
  2196. {
  2197. ReaderWriterLockSlim_SetUpgraderWaiting_m5C7C47EBCA531D201CA72CB27D0548F71375BCAC(__this, NULL);
  2198. }
  2199. IL_0032:
  2200. {
  2201. V_0 = (bool)0;
  2202. ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
  2203. }
  2204. {
  2205. auto __finallyBlock = il2cpp::utils::Finally([&]
  2206. {
  2207. FINALLY_004a:
  2208. {// begin finally (depth: 1)
  2209. {
  2210. ReaderWriterLockSlim_EnterMyLock_mDB590C9A0A55830B1C347DAB0A3F4972E9F0DE59_inline(__this, NULL);
  2211. uint32_t* L_7 = ___1_numWaiters;
  2212. uint32_t* L_8 = ___1_numWaiters;
  2213. int32_t L_9 = *((uint32_t*)L_8);
  2214. *((int32_t*)L_7) = (int32_t)((int32_t)il2cpp_codegen_subtract(L_9, 1));
  2215. uint32_t L_10 = __this->___numWriteWaiters_2;
  2216. if (L_10)
  2217. {
  2218. goto IL_007d;
  2219. }
  2220. }
  2221. {
  2222. uint32_t L_11 = __this->___numWriteUpgradeWaiters_4;
  2223. if (L_11)
  2224. {
  2225. goto IL_007d;
  2226. }
  2227. }
  2228. {
  2229. uint32_t L_12 = __this->___numUpgradeWaiters_5;
  2230. if (L_12)
  2231. {
  2232. goto IL_007d;
  2233. }
  2234. }
  2235. {
  2236. uint32_t L_13 = __this->___numReadWaiters_3;
  2237. if (L_13)
  2238. {
  2239. goto IL_007d;
  2240. }
  2241. }
  2242. {
  2243. __this->___fNoWaiters_6 = (bool)1;
  2244. }
  2245. IL_007d:
  2246. {
  2247. uint32_t L_14 = __this->___numWriteWaiters_2;
  2248. if (L_14)
  2249. {
  2250. goto IL_008b;
  2251. }
  2252. }
  2253. {
  2254. ReaderWriterLockSlim_ClearWritersWaiting_m7587122D0BAD6384DE3B38DB6BF7D38B364A4935(__this, NULL);
  2255. }
  2256. IL_008b:
  2257. {
  2258. uint32_t L_15 = __this->___numWriteUpgradeWaiters_4;
  2259. if (L_15)
  2260. {
  2261. goto IL_0099;
  2262. }
  2263. }
  2264. {
  2265. ReaderWriterLockSlim_ClearUpgraderWaiting_m214E8B0780542079CB3D9D5C28C58C47A72E91E4(__this, NULL);
  2266. }
  2267. IL_0099:
  2268. {
  2269. bool L_16 = V_0;
  2270. if (L_16)
  2271. {
  2272. goto IL_00ae;
  2273. }
  2274. }
  2275. {
  2276. bool L_17 = ___3_isWriteWaiter;
  2277. if (!L_17)
  2278. {
  2279. goto IL_00a8;
  2280. }
  2281. }
  2282. {
  2283. ReaderWriterLockSlim_ExitAndWakeUpAppropriateReadWaiters_m19BFCEE3D042633B1F106BBD76E28DA69271606D(__this, NULL);
  2284. goto IL_00ae;
  2285. }
  2286. IL_00a8:
  2287. {
  2288. ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
  2289. }
  2290. IL_00ae:
  2291. {
  2292. return;
  2293. }
  2294. }// end finally (depth: 1)
  2295. });
  2296. try
  2297. {// begin try (depth: 1)
  2298. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_18 = ___0_waitEvent;
  2299. int32_t L_19;
  2300. L_19 = TimeoutTracker_get_RemainingMilliseconds_mDAA8A0E545F8E28D3688095CA346B0A04337BC23((&___2_timeout), NULL);
  2301. NullCheck(L_18);
  2302. bool L_20;
  2303. L_20 = VirtualFuncInvoker1< bool, int32_t >::Invoke(11 /* System.Boolean System.Threading.WaitHandle::WaitOne(System.Int32) */, L_18, L_19);
  2304. V_0 = L_20;
  2305. goto IL_00af;
  2306. }// end try (depth: 1)
  2307. catch(Il2CppExceptionWrapper& e)
  2308. {
  2309. __finallyBlock.StoreException(e.ex);
  2310. }
  2311. }
  2312. IL_00af:
  2313. {
  2314. bool L_21 = V_0;
  2315. return L_21;
  2316. }
  2317. }
  2318. // System.Void System.Threading.ReaderWriterLockSlim::ExitAndWakeUpAppropriateWaiters()
  2319. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_ExitAndWakeUpAppropriateWaiters_m43EB7B2724EC44E2F0B4E3CA6A51752345978E90 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  2320. {
  2321. {
  2322. bool L_0 = __this->___fNoWaiters_6;
  2323. if (!L_0)
  2324. {
  2325. goto IL_000f;
  2326. }
  2327. }
  2328. {
  2329. ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
  2330. return;
  2331. }
  2332. IL_000f:
  2333. {
  2334. ReaderWriterLockSlim_ExitAndWakeUpAppropriateWaitersPreferringWriters_m2EE29EE42CEA6142CA8C741BC74CFBE4483E5CA8(__this, NULL);
  2335. return;
  2336. }
  2337. }
  2338. // System.Void System.Threading.ReaderWriterLockSlim::ExitAndWakeUpAppropriateWaitersPreferringWriters()
  2339. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_ExitAndWakeUpAppropriateWaitersPreferringWriters_m2EE29EE42CEA6142CA8C741BC74CFBE4483E5CA8 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  2340. {
  2341. uint32_t V_0 = 0;
  2342. {
  2343. uint32_t L_0;
  2344. L_0 = ReaderWriterLockSlim_GetNumReaders_m300EBD28D2300167E37C0F67AD04AF7BE87C1DB1(__this, NULL);
  2345. V_0 = L_0;
  2346. bool L_1 = __this->___fIsReentrant_0;
  2347. if (!L_1)
  2348. {
  2349. goto IL_0037;
  2350. }
  2351. }
  2352. {
  2353. uint32_t L_2 = __this->___numWriteUpgradeWaiters_4;
  2354. if ((!(((uint32_t)L_2) > ((uint32_t)0))))
  2355. {
  2356. goto IL_0037;
  2357. }
  2358. }
  2359. {
  2360. bool L_3 = __this->___fUpgradeThreadHoldingRead_16;
  2361. if (!L_3)
  2362. {
  2363. goto IL_0037;
  2364. }
  2365. }
  2366. {
  2367. uint32_t L_4 = V_0;
  2368. if ((!(((uint32_t)L_4) == ((uint32_t)2))))
  2369. {
  2370. goto IL_0037;
  2371. }
  2372. }
  2373. {
  2374. ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
  2375. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_5 = __this->___waitUpgradeEvent_12;
  2376. NullCheck(L_5);
  2377. bool L_6;
  2378. L_6 = EventWaitHandle_Set_mDF98D67F214714A9590DF82A1C51D3D851281E4D(L_5, NULL);
  2379. return;
  2380. }
  2381. IL_0037:
  2382. {
  2383. uint32_t L_7 = V_0;
  2384. if ((!(((uint32_t)L_7) == ((uint32_t)1))))
  2385. {
  2386. goto IL_0057;
  2387. }
  2388. }
  2389. {
  2390. uint32_t L_8 = __this->___numWriteUpgradeWaiters_4;
  2391. if ((!(((uint32_t)L_8) > ((uint32_t)0))))
  2392. {
  2393. goto IL_0057;
  2394. }
  2395. }
  2396. {
  2397. ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
  2398. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_9 = __this->___waitUpgradeEvent_12;
  2399. NullCheck(L_9);
  2400. bool L_10;
  2401. L_10 = EventWaitHandle_Set_mDF98D67F214714A9590DF82A1C51D3D851281E4D(L_9, NULL);
  2402. return;
  2403. }
  2404. IL_0057:
  2405. {
  2406. uint32_t L_11 = V_0;
  2407. if (L_11)
  2408. {
  2409. goto IL_0076;
  2410. }
  2411. }
  2412. {
  2413. uint32_t L_12 = __this->___numWriteWaiters_2;
  2414. if ((!(((uint32_t)L_12) > ((uint32_t)0))))
  2415. {
  2416. goto IL_0076;
  2417. }
  2418. }
  2419. {
  2420. ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
  2421. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_13 = __this->___writeEvent_9;
  2422. NullCheck(L_13);
  2423. bool L_14;
  2424. L_14 = EventWaitHandle_Set_mDF98D67F214714A9590DF82A1C51D3D851281E4D(L_13, NULL);
  2425. return;
  2426. }
  2427. IL_0076:
  2428. {
  2429. ReaderWriterLockSlim_ExitAndWakeUpAppropriateReadWaiters_m19BFCEE3D042633B1F106BBD76E28DA69271606D(__this, NULL);
  2430. return;
  2431. }
  2432. }
  2433. // System.Void System.Threading.ReaderWriterLockSlim::ExitAndWakeUpAppropriateReadWaiters()
  2434. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_ExitAndWakeUpAppropriateReadWaiters_m19BFCEE3D042633B1F106BBD76E28DA69271606D (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  2435. {
  2436. bool V_0 = false;
  2437. int32_t G_B7_0 = 0;
  2438. int32_t G_B9_0 = 0;
  2439. int32_t G_B8_0 = 0;
  2440. {
  2441. uint32_t L_0 = __this->___numWriteWaiters_2;
  2442. if (L_0)
  2443. {
  2444. goto IL_0018;
  2445. }
  2446. }
  2447. {
  2448. uint32_t L_1 = __this->___numWriteUpgradeWaiters_4;
  2449. if (L_1)
  2450. {
  2451. goto IL_0018;
  2452. }
  2453. }
  2454. {
  2455. bool L_2 = __this->___fNoWaiters_6;
  2456. if (!L_2)
  2457. {
  2458. goto IL_001f;
  2459. }
  2460. }
  2461. IL_0018:
  2462. {
  2463. ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
  2464. return;
  2465. }
  2466. IL_001f:
  2467. {
  2468. uint32_t L_3 = __this->___numReadWaiters_3;
  2469. V_0 = (bool)((!(((uint32_t)L_3) <= ((uint32_t)0)))? 1 : 0);
  2470. uint32_t L_4 = __this->___numUpgradeWaiters_5;
  2471. if (!L_4)
  2472. {
  2473. goto IL_003c;
  2474. }
  2475. }
  2476. {
  2477. int32_t L_5 = __this->___upgradeLockOwnerId_7;
  2478. G_B7_0 = ((((int32_t)L_5) == ((int32_t)(-1)))? 1 : 0);
  2479. goto IL_003d;
  2480. }
  2481. IL_003c:
  2482. {
  2483. G_B7_0 = 0;
  2484. }
  2485. IL_003d:
  2486. {
  2487. ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
  2488. bool L_6 = V_0;
  2489. G_B8_0 = G_B7_0;
  2490. if (!L_6)
  2491. {
  2492. G_B9_0 = G_B7_0;
  2493. goto IL_0052;
  2494. }
  2495. }
  2496. {
  2497. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_7 = __this->___readEvent_10;
  2498. NullCheck(L_7);
  2499. bool L_8;
  2500. L_8 = EventWaitHandle_Set_mDF98D67F214714A9590DF82A1C51D3D851281E4D(L_7, NULL);
  2501. G_B9_0 = G_B8_0;
  2502. }
  2503. IL_0052:
  2504. {
  2505. if (!G_B9_0)
  2506. {
  2507. goto IL_0060;
  2508. }
  2509. }
  2510. {
  2511. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_9 = __this->___upgradeEvent_11;
  2512. NullCheck(L_9);
  2513. bool L_10;
  2514. L_10 = EventWaitHandle_Set_mDF98D67F214714A9590DF82A1C51D3D851281E4D(L_9, NULL);
  2515. }
  2516. IL_0060:
  2517. {
  2518. return;
  2519. }
  2520. }
  2521. // System.Boolean System.Threading.ReaderWriterLockSlim::IsWriterAcquired()
  2522. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_IsWriterAcquired_m6D1FB82F2349C4B48345C9EBEFFCC3FA69EF5A76 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  2523. {
  2524. {
  2525. uint32_t L_0 = __this->___owners_17;
  2526. return (bool)((((int32_t)((int32_t)((int32_t)L_0&((int32_t)-1073741825)))) == ((int32_t)0))? 1 : 0);
  2527. }
  2528. }
  2529. // System.Void System.Threading.ReaderWriterLockSlim::SetWriterAcquired()
  2530. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_SetWriterAcquired_mE496DF38D30454011343EE638FAC1EF2B5E8319C (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  2531. {
  2532. {
  2533. uint32_t L_0 = __this->___owners_17;
  2534. __this->___owners_17 = ((int32_t)((int32_t)L_0|((int32_t)-2147483648LL)));
  2535. return;
  2536. }
  2537. }
  2538. // System.Void System.Threading.ReaderWriterLockSlim::ClearWriterAcquired()
  2539. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_ClearWriterAcquired_mBCDFD72656A5D8EFCEE5A0AD39233D37E44461DC (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  2540. {
  2541. {
  2542. uint32_t L_0 = __this->___owners_17;
  2543. __this->___owners_17 = ((int32_t)((int32_t)L_0&((int32_t)2147483647LL)));
  2544. return;
  2545. }
  2546. }
  2547. // System.Void System.Threading.ReaderWriterLockSlim::SetWritersWaiting()
  2548. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_SetWritersWaiting_mEBE801FBDAFD33AF1B8E3CE71F0AD0C9CDA69902 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  2549. {
  2550. {
  2551. uint32_t L_0 = __this->___owners_17;
  2552. __this->___owners_17 = ((int32_t)((int32_t)L_0|((int32_t)1073741824)));
  2553. return;
  2554. }
  2555. }
  2556. // System.Void System.Threading.ReaderWriterLockSlim::ClearWritersWaiting()
  2557. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_ClearWritersWaiting_m7587122D0BAD6384DE3B38DB6BF7D38B364A4935 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  2558. {
  2559. {
  2560. uint32_t L_0 = __this->___owners_17;
  2561. __this->___owners_17 = ((int32_t)((int32_t)L_0&((int32_t)-1073741825)));
  2562. return;
  2563. }
  2564. }
  2565. // System.Void System.Threading.ReaderWriterLockSlim::SetUpgraderWaiting()
  2566. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_SetUpgraderWaiting_m5C7C47EBCA531D201CA72CB27D0548F71375BCAC (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  2567. {
  2568. {
  2569. uint32_t L_0 = __this->___owners_17;
  2570. __this->___owners_17 = ((int32_t)((int32_t)L_0|((int32_t)536870912)));
  2571. return;
  2572. }
  2573. }
  2574. // System.Void System.Threading.ReaderWriterLockSlim::ClearUpgraderWaiting()
  2575. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_ClearUpgraderWaiting_m214E8B0780542079CB3D9D5C28C58C47A72E91E4 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  2576. {
  2577. {
  2578. uint32_t L_0 = __this->___owners_17;
  2579. __this->___owners_17 = ((int32_t)((int32_t)L_0&((int32_t)-536870913)));
  2580. return;
  2581. }
  2582. }
  2583. // System.UInt32 System.Threading.ReaderWriterLockSlim::GetNumReaders()
  2584. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t ReaderWriterLockSlim_GetNumReaders_m300EBD28D2300167E37C0F67AD04AF7BE87C1DB1 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  2585. {
  2586. {
  2587. uint32_t L_0 = __this->___owners_17;
  2588. return ((int32_t)((int32_t)L_0&((int32_t)268435455)));
  2589. }
  2590. }
  2591. // System.Void System.Threading.ReaderWriterLockSlim::EnterMyLock()
  2592. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_EnterMyLock_mDB590C9A0A55830B1C347DAB0A3F4972E9F0DE59 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  2593. {
  2594. {
  2595. int32_t* L_0 = (&__this->___myLock_1);
  2596. int32_t L_1;
  2597. L_1 = Interlocked_CompareExchange_mB06E8737D3DA41F9FFBC38A6D0583D515EFB5717(L_0, 1, 0, NULL);
  2598. if (!L_1)
  2599. {
  2600. goto IL_0015;
  2601. }
  2602. }
  2603. {
  2604. ReaderWriterLockSlim_EnterMyLockSpin_mC785B7BB91A152B37FF1115AFA5D752AC6DBE9F6(__this, NULL);
  2605. }
  2606. IL_0015:
  2607. {
  2608. return;
  2609. }
  2610. }
  2611. // System.Void System.Threading.ReaderWriterLockSlim::EnterMyLockSpin()
  2612. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_EnterMyLockSpin_mC785B7BB91A152B37FF1115AFA5D752AC6DBE9F6 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  2613. {
  2614. static bool s_Il2CppMethodInitialized;
  2615. if (!s_Il2CppMethodInitialized)
  2616. {
  2617. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PlatformHelper_t5E497382616B62F0B318E53D098F90E22AB35722_il2cpp_TypeInfo_var);
  2618. s_Il2CppMethodInitialized = true;
  2619. }
  2620. int32_t V_0 = 0;
  2621. int32_t V_1 = 0;
  2622. {
  2623. il2cpp_codegen_runtime_class_init_inline(PlatformHelper_t5E497382616B62F0B318E53D098F90E22AB35722_il2cpp_TypeInfo_var);
  2624. int32_t L_0;
  2625. L_0 = PlatformHelper_get_ProcessorCount_m123AB465E201104882D03864A7C6E08F1A55F3F9(NULL);
  2626. V_0 = L_0;
  2627. V_1 = 0;
  2628. }
  2629. IL_0008:
  2630. {
  2631. int32_t L_1 = V_1;
  2632. if ((((int32_t)L_1) >= ((int32_t)((int32_t)10))))
  2633. {
  2634. goto IL_001e;
  2635. }
  2636. }
  2637. {
  2638. int32_t L_2 = V_0;
  2639. if ((((int32_t)L_2) <= ((int32_t)1)))
  2640. {
  2641. goto IL_001e;
  2642. }
  2643. }
  2644. {
  2645. int32_t L_3 = V_1;
  2646. Thread_SpinWait_mC14652A66AA1BF72ADC7E0BF702E9F0B8D7B64D7(((int32_t)il2cpp_codegen_multiply(((int32_t)20), ((int32_t)il2cpp_codegen_add(L_3, 1)))), NULL);
  2647. goto IL_0031;
  2648. }
  2649. IL_001e:
  2650. {
  2651. int32_t L_4 = V_1;
  2652. if ((((int32_t)L_4) >= ((int32_t)((int32_t)15))))
  2653. {
  2654. goto IL_002b;
  2655. }
  2656. }
  2657. {
  2658. Thread_Sleep_m71DE163765BF465EC4A0163F2ED4D43143094549(0, NULL);
  2659. goto IL_0031;
  2660. }
  2661. IL_002b:
  2662. {
  2663. Thread_Sleep_m71DE163765BF465EC4A0163F2ED4D43143094549(1, NULL);
  2664. }
  2665. IL_0031:
  2666. {
  2667. int32_t L_5 = __this->___myLock_1;
  2668. if (L_5)
  2669. {
  2670. goto IL_0049;
  2671. }
  2672. }
  2673. {
  2674. int32_t* L_6 = (&__this->___myLock_1);
  2675. int32_t L_7;
  2676. L_7 = Interlocked_CompareExchange_mB06E8737D3DA41F9FFBC38A6D0583D515EFB5717(L_6, 1, 0, NULL);
  2677. if (L_7)
  2678. {
  2679. goto IL_0049;
  2680. }
  2681. }
  2682. {
  2683. return;
  2684. }
  2685. IL_0049:
  2686. {
  2687. int32_t L_8 = V_1;
  2688. V_1 = ((int32_t)il2cpp_codegen_add(L_8, 1));
  2689. goto IL_0008;
  2690. }
  2691. }
  2692. // System.Void System.Threading.ReaderWriterLockSlim::ExitMyLock()
  2693. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  2694. {
  2695. {
  2696. int32_t* L_0 = (&__this->___myLock_1);
  2697. VolatileWrite(L_0, 0);
  2698. return;
  2699. }
  2700. }
  2701. // System.Void System.Threading.ReaderWriterLockSlim::SpinWait(System.Int32)
  2702. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_SpinWait_mFFFC84F8CF5AA3863BEE5CD292FE63B335A5D11B (int32_t ___0_SpinCount, const RuntimeMethod* method)
  2703. {
  2704. static bool s_Il2CppMethodInitialized;
  2705. if (!s_Il2CppMethodInitialized)
  2706. {
  2707. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PlatformHelper_t5E497382616B62F0B318E53D098F90E22AB35722_il2cpp_TypeInfo_var);
  2708. s_Il2CppMethodInitialized = true;
  2709. }
  2710. {
  2711. int32_t L_0 = ___0_SpinCount;
  2712. if ((((int32_t)L_0) >= ((int32_t)5)))
  2713. {
  2714. goto IL_0016;
  2715. }
  2716. }
  2717. {
  2718. il2cpp_codegen_runtime_class_init_inline(PlatformHelper_t5E497382616B62F0B318E53D098F90E22AB35722_il2cpp_TypeInfo_var);
  2719. int32_t L_1;
  2720. L_1 = PlatformHelper_get_ProcessorCount_m123AB465E201104882D03864A7C6E08F1A55F3F9(NULL);
  2721. if ((((int32_t)L_1) <= ((int32_t)1)))
  2722. {
  2723. goto IL_0016;
  2724. }
  2725. }
  2726. {
  2727. int32_t L_2 = ___0_SpinCount;
  2728. Thread_SpinWait_mC14652A66AA1BF72ADC7E0BF702E9F0B8D7B64D7(((int32_t)il2cpp_codegen_multiply(((int32_t)20), L_2)), NULL);
  2729. return;
  2730. }
  2731. IL_0016:
  2732. {
  2733. int32_t L_3 = ___0_SpinCount;
  2734. if ((((int32_t)L_3) >= ((int32_t)((int32_t)17))))
  2735. {
  2736. goto IL_0022;
  2737. }
  2738. }
  2739. {
  2740. Thread_Sleep_m71DE163765BF465EC4A0163F2ED4D43143094549(0, NULL);
  2741. return;
  2742. }
  2743. IL_0022:
  2744. {
  2745. Thread_Sleep_m71DE163765BF465EC4A0163F2ED4D43143094549(1, NULL);
  2746. return;
  2747. }
  2748. }
  2749. // System.Void System.Threading.ReaderWriterLockSlim::Dispose()
  2750. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_Dispose_mCC076068D0C8A9EF92177147A713C71006A9CD05 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  2751. {
  2752. {
  2753. ReaderWriterLockSlim_Dispose_mA894FFFD0829F6CEDD8318482F57D2A5FCFD5661(__this, (bool)1, NULL);
  2754. return;
  2755. }
  2756. }
  2757. // System.Void System.Threading.ReaderWriterLockSlim::Dispose(System.Boolean)
  2758. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_Dispose_mA894FFFD0829F6CEDD8318482F57D2A5FCFD5661 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, bool ___0_disposing, const RuntimeMethod* method)
  2759. {
  2760. {
  2761. bool L_0 = ___0_disposing;
  2762. if (!L_0)
  2763. {
  2764. goto IL_00d3;
  2765. }
  2766. }
  2767. {
  2768. bool L_1 = __this->___fDisposed_18;
  2769. if (L_1)
  2770. {
  2771. goto IL_00d3;
  2772. }
  2773. }
  2774. {
  2775. int32_t L_2;
  2776. L_2 = ReaderWriterLockSlim_get_WaitingReadCount_mD79E93CABC9BFBA4AB306193DDF8CE90F1818C92_inline(__this, NULL);
  2777. if ((((int32_t)L_2) > ((int32_t)0)))
  2778. {
  2779. goto IL_002c;
  2780. }
  2781. }
  2782. {
  2783. int32_t L_3;
  2784. L_3 = ReaderWriterLockSlim_get_WaitingUpgradeCount_m13892A21F7EF1D7ED202D186B2E7B2B6C400F388_inline(__this, NULL);
  2785. if ((((int32_t)L_3) > ((int32_t)0)))
  2786. {
  2787. goto IL_002c;
  2788. }
  2789. }
  2790. {
  2791. int32_t L_4;
  2792. L_4 = ReaderWriterLockSlim_get_WaitingWriteCount_m8FE677BDB0E776125691C0A4C1A74B5B8637D246_inline(__this, NULL);
  2793. if ((((int32_t)L_4) <= ((int32_t)0)))
  2794. {
  2795. goto IL_003c;
  2796. }
  2797. }
  2798. IL_002c:
  2799. {
  2800. String_t* L_5;
  2801. L_5 = SR_GetString_m2213C501E26D6A1AE8D0644E9685AF8A4204CA7F(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralDCB7866DEDA66D0DAAD8C519AF9693DB97A9BF28)), NULL);
  2802. SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34* L_6 = (SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34_il2cpp_TypeInfo_var)));
  2803. NullCheck(L_6);
  2804. SynchronizationLockException__ctor_m2AEF9CF8E5DFE8F5A7CFB02E5AEF7640971BA970(L_6, L_5, NULL);
  2805. IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_Dispose_mA894FFFD0829F6CEDD8318482F57D2A5FCFD5661_RuntimeMethod_var)));
  2806. }
  2807. IL_003c:
  2808. {
  2809. bool L_7;
  2810. L_7 = ReaderWriterLockSlim_get_IsReadLockHeld_mFF28229B26471192A3B8B195EE1C85509B5EA029(__this, NULL);
  2811. if (L_7)
  2812. {
  2813. goto IL_0054;
  2814. }
  2815. }
  2816. {
  2817. bool L_8;
  2818. L_8 = ReaderWriterLockSlim_get_IsUpgradeableReadLockHeld_mBDFD4377C488FD48B7E211ADE5F5CDEEFD78E1CF(__this, NULL);
  2819. if (L_8)
  2820. {
  2821. goto IL_0054;
  2822. }
  2823. }
  2824. {
  2825. bool L_9;
  2826. L_9 = ReaderWriterLockSlim_get_IsWriteLockHeld_m2F8585FFD00B88CA788152EA5E0BF460B28782A7(__this, NULL);
  2827. if (!L_9)
  2828. {
  2829. goto IL_0064;
  2830. }
  2831. }
  2832. IL_0054:
  2833. {
  2834. String_t* L_10;
  2835. L_10 = SR_GetString_m2213C501E26D6A1AE8D0644E9685AF8A4204CA7F(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralDCB7866DEDA66D0DAAD8C519AF9693DB97A9BF28)), NULL);
  2836. SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34* L_11 = (SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34_il2cpp_TypeInfo_var)));
  2837. NullCheck(L_11);
  2838. SynchronizationLockException__ctor_m2AEF9CF8E5DFE8F5A7CFB02E5AEF7640971BA970(L_11, L_10, NULL);
  2839. IL2CPP_RAISE_MANAGED_EXCEPTION(L_11, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_Dispose_mA894FFFD0829F6CEDD8318482F57D2A5FCFD5661_RuntimeMethod_var)));
  2840. }
  2841. IL_0064:
  2842. {
  2843. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_12 = __this->___writeEvent_9;
  2844. if (!L_12)
  2845. {
  2846. goto IL_007e;
  2847. }
  2848. }
  2849. {
  2850. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_13 = __this->___writeEvent_9;
  2851. NullCheck(L_13);
  2852. VirtualActionInvoker0::Invoke(12 /* System.Void System.Threading.WaitHandle::Close() */, L_13);
  2853. __this->___writeEvent_9 = (EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E*)NULL;
  2854. Il2CppCodeGenWriteBarrier((void**)(&__this->___writeEvent_9), (void*)(EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E*)NULL);
  2855. }
  2856. IL_007e:
  2857. {
  2858. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_14 = __this->___readEvent_10;
  2859. if (!L_14)
  2860. {
  2861. goto IL_0098;
  2862. }
  2863. }
  2864. {
  2865. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_15 = __this->___readEvent_10;
  2866. NullCheck(L_15);
  2867. VirtualActionInvoker0::Invoke(12 /* System.Void System.Threading.WaitHandle::Close() */, L_15);
  2868. __this->___readEvent_10 = (EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E*)NULL;
  2869. Il2CppCodeGenWriteBarrier((void**)(&__this->___readEvent_10), (void*)(EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E*)NULL);
  2870. }
  2871. IL_0098:
  2872. {
  2873. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_16 = __this->___upgradeEvent_11;
  2874. if (!L_16)
  2875. {
  2876. goto IL_00b2;
  2877. }
  2878. }
  2879. {
  2880. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_17 = __this->___upgradeEvent_11;
  2881. NullCheck(L_17);
  2882. VirtualActionInvoker0::Invoke(12 /* System.Void System.Threading.WaitHandle::Close() */, L_17);
  2883. __this->___upgradeEvent_11 = (EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E*)NULL;
  2884. Il2CppCodeGenWriteBarrier((void**)(&__this->___upgradeEvent_11), (void*)(EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E*)NULL);
  2885. }
  2886. IL_00b2:
  2887. {
  2888. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_18 = __this->___waitUpgradeEvent_12;
  2889. if (!L_18)
  2890. {
  2891. goto IL_00cc;
  2892. }
  2893. }
  2894. {
  2895. EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_19 = __this->___waitUpgradeEvent_12;
  2896. NullCheck(L_19);
  2897. VirtualActionInvoker0::Invoke(12 /* System.Void System.Threading.WaitHandle::Close() */, L_19);
  2898. __this->___waitUpgradeEvent_12 = (EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E*)NULL;
  2899. Il2CppCodeGenWriteBarrier((void**)(&__this->___waitUpgradeEvent_12), (void*)(EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E*)NULL);
  2900. }
  2901. IL_00cc:
  2902. {
  2903. __this->___fDisposed_18 = (bool)1;
  2904. }
  2905. IL_00d3:
  2906. {
  2907. return;
  2908. }
  2909. }
  2910. // System.Boolean System.Threading.ReaderWriterLockSlim::get_IsReadLockHeld()
  2911. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_get_IsReadLockHeld_mFF28229B26471192A3B8B195EE1C85509B5EA029 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  2912. {
  2913. {
  2914. int32_t L_0;
  2915. L_0 = ReaderWriterLockSlim_get_RecursiveReadCount_mA7709352D9817A46AFE62AD5CF94631E15FB1067(__this, NULL);
  2916. if ((((int32_t)L_0) <= ((int32_t)0)))
  2917. {
  2918. goto IL_000b;
  2919. }
  2920. }
  2921. {
  2922. return (bool)1;
  2923. }
  2924. IL_000b:
  2925. {
  2926. return (bool)0;
  2927. }
  2928. }
  2929. // System.Boolean System.Threading.ReaderWriterLockSlim::get_IsUpgradeableReadLockHeld()
  2930. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_get_IsUpgradeableReadLockHeld_mBDFD4377C488FD48B7E211ADE5F5CDEEFD78E1CF (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  2931. {
  2932. {
  2933. int32_t L_0;
  2934. L_0 = ReaderWriterLockSlim_get_RecursiveUpgradeCount_mFF4BF2756AE36B12E7822FAE7BAB8B7CDEF4D41D(__this, NULL);
  2935. if ((((int32_t)L_0) <= ((int32_t)0)))
  2936. {
  2937. goto IL_000b;
  2938. }
  2939. }
  2940. {
  2941. return (bool)1;
  2942. }
  2943. IL_000b:
  2944. {
  2945. return (bool)0;
  2946. }
  2947. }
  2948. // System.Boolean System.Threading.ReaderWriterLockSlim::get_IsWriteLockHeld()
  2949. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_get_IsWriteLockHeld_m2F8585FFD00B88CA788152EA5E0BF460B28782A7 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  2950. {
  2951. {
  2952. int32_t L_0;
  2953. L_0 = ReaderWriterLockSlim_get_RecursiveWriteCount_m51147A8E3CA34D7D6EDC8986BB8518AE7CE16145(__this, NULL);
  2954. if ((((int32_t)L_0) <= ((int32_t)0)))
  2955. {
  2956. goto IL_000b;
  2957. }
  2958. }
  2959. {
  2960. return (bool)1;
  2961. }
  2962. IL_000b:
  2963. {
  2964. return (bool)0;
  2965. }
  2966. }
  2967. // System.Int32 System.Threading.ReaderWriterLockSlim::get_RecursiveReadCount()
  2968. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ReaderWriterLockSlim_get_RecursiveReadCount_mA7709352D9817A46AFE62AD5CF94631E15FB1067 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  2969. {
  2970. int32_t V_0 = 0;
  2971. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* V_1 = NULL;
  2972. {
  2973. V_0 = 0;
  2974. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_0;
  2975. L_0 = ReaderWriterLockSlim_GetThreadRWCount_m693F7FFBBFB98DEF312E4B3A200DA95266CA4E96_inline(__this, (bool)1, NULL);
  2976. V_1 = L_0;
  2977. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_1 = V_1;
  2978. if (!L_1)
  2979. {
  2980. goto IL_0014;
  2981. }
  2982. }
  2983. {
  2984. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_2 = V_1;
  2985. NullCheck(L_2);
  2986. int32_t L_3 = L_2->___readercount_1;
  2987. V_0 = L_3;
  2988. }
  2989. IL_0014:
  2990. {
  2991. int32_t L_4 = V_0;
  2992. return L_4;
  2993. }
  2994. }
  2995. // System.Int32 System.Threading.ReaderWriterLockSlim::get_RecursiveUpgradeCount()
  2996. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ReaderWriterLockSlim_get_RecursiveUpgradeCount_mFF4BF2756AE36B12E7822FAE7BAB8B7CDEF4D41D (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  2997. {
  2998. int32_t V_0 = 0;
  2999. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* V_1 = NULL;
  3000. {
  3001. bool L_0 = __this->___fIsReentrant_0;
  3002. if (!L_0)
  3003. {
  3004. goto IL_001e;
  3005. }
  3006. }
  3007. {
  3008. V_0 = 0;
  3009. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_1;
  3010. L_1 = ReaderWriterLockSlim_GetThreadRWCount_m693F7FFBBFB98DEF312E4B3A200DA95266CA4E96_inline(__this, (bool)1, NULL);
  3011. V_1 = L_1;
  3012. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_2 = V_1;
  3013. if (!L_2)
  3014. {
  3015. goto IL_001c;
  3016. }
  3017. }
  3018. {
  3019. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_3 = V_1;
  3020. NullCheck(L_3);
  3021. int32_t L_4 = L_3->___upgradecount_3;
  3022. V_0 = L_4;
  3023. }
  3024. IL_001c:
  3025. {
  3026. int32_t L_5 = V_0;
  3027. return L_5;
  3028. }
  3029. IL_001e:
  3030. {
  3031. Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* L_6;
  3032. L_6 = Thread_get_CurrentThread_m6D4719F4993DB9200490531FF02D4076FF9CA9BD(NULL);
  3033. NullCheck(L_6);
  3034. int32_t L_7;
  3035. L_7 = Thread_get_ManagedThreadId_m74ACB74A574EE535C2B00B7D64F203A62E796B05(L_6, NULL);
  3036. int32_t L_8 = __this->___upgradeLockOwnerId_7;
  3037. if ((!(((uint32_t)L_7) == ((uint32_t)L_8))))
  3038. {
  3039. goto IL_0032;
  3040. }
  3041. }
  3042. {
  3043. return 1;
  3044. }
  3045. IL_0032:
  3046. {
  3047. return 0;
  3048. }
  3049. }
  3050. // System.Int32 System.Threading.ReaderWriterLockSlim::get_RecursiveWriteCount()
  3051. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ReaderWriterLockSlim_get_RecursiveWriteCount_m51147A8E3CA34D7D6EDC8986BB8518AE7CE16145 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  3052. {
  3053. int32_t V_0 = 0;
  3054. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* V_1 = NULL;
  3055. {
  3056. bool L_0 = __this->___fIsReentrant_0;
  3057. if (!L_0)
  3058. {
  3059. goto IL_001e;
  3060. }
  3061. }
  3062. {
  3063. V_0 = 0;
  3064. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_1;
  3065. L_1 = ReaderWriterLockSlim_GetThreadRWCount_m693F7FFBBFB98DEF312E4B3A200DA95266CA4E96_inline(__this, (bool)1, NULL);
  3066. V_1 = L_1;
  3067. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_2 = V_1;
  3068. if (!L_2)
  3069. {
  3070. goto IL_001c;
  3071. }
  3072. }
  3073. {
  3074. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_3 = V_1;
  3075. NullCheck(L_3);
  3076. int32_t L_4 = L_3->___writercount_2;
  3077. V_0 = L_4;
  3078. }
  3079. IL_001c:
  3080. {
  3081. int32_t L_5 = V_0;
  3082. return L_5;
  3083. }
  3084. IL_001e:
  3085. {
  3086. Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* L_6;
  3087. L_6 = Thread_get_CurrentThread_m6D4719F4993DB9200490531FF02D4076FF9CA9BD(NULL);
  3088. NullCheck(L_6);
  3089. int32_t L_7;
  3090. L_7 = Thread_get_ManagedThreadId_m74ACB74A574EE535C2B00B7D64F203A62E796B05(L_6, NULL);
  3091. int32_t L_8 = __this->___writeLockOwnerId_8;
  3092. if ((!(((uint32_t)L_7) == ((uint32_t)L_8))))
  3093. {
  3094. goto IL_0032;
  3095. }
  3096. }
  3097. {
  3098. return 1;
  3099. }
  3100. IL_0032:
  3101. {
  3102. return 0;
  3103. }
  3104. }
  3105. // System.Int32 System.Threading.ReaderWriterLockSlim::get_WaitingReadCount()
  3106. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ReaderWriterLockSlim_get_WaitingReadCount_mD79E93CABC9BFBA4AB306193DDF8CE90F1818C92 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  3107. {
  3108. {
  3109. uint32_t L_0 = __this->___numReadWaiters_3;
  3110. return L_0;
  3111. }
  3112. }
  3113. // System.Int32 System.Threading.ReaderWriterLockSlim::get_WaitingUpgradeCount()
  3114. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ReaderWriterLockSlim_get_WaitingUpgradeCount_m13892A21F7EF1D7ED202D186B2E7B2B6C400F388 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  3115. {
  3116. {
  3117. uint32_t L_0 = __this->___numUpgradeWaiters_5;
  3118. return L_0;
  3119. }
  3120. }
  3121. // System.Int32 System.Threading.ReaderWriterLockSlim::get_WaitingWriteCount()
  3122. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ReaderWriterLockSlim_get_WaitingWriteCount_m8FE677BDB0E776125691C0A4C1A74B5B8637D246 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  3123. {
  3124. {
  3125. uint32_t L_0 = __this->___numWriteWaiters_2;
  3126. return L_0;
  3127. }
  3128. }
  3129. #ifdef __clang__
  3130. #pragma clang diagnostic pop
  3131. #endif
  3132. #ifdef __clang__
  3133. #pragma clang diagnostic push
  3134. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  3135. #pragma clang diagnostic ignored "-Wunused-variable"
  3136. #endif
  3137. // System.Void System.Threading.ReaderWriterLockSlim/TimeoutTracker::.ctor(System.Int32)
  3138. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimeoutTracker__ctor_mBFE73B99C5BBB93D251DF9731B9C5D824F30CDCE (TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C* __this, int32_t ___0_millisecondsTimeout, const RuntimeMethod* method)
  3139. {
  3140. {
  3141. int32_t L_0 = ___0_millisecondsTimeout;
  3142. if ((((int32_t)L_0) >= ((int32_t)(-1))))
  3143. {
  3144. goto IL_000f;
  3145. }
  3146. }
  3147. {
  3148. ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F* L_1 = (ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F_il2cpp_TypeInfo_var)));
  3149. NullCheck(L_1);
  3150. ArgumentOutOfRangeException__ctor_mBC1D5DEEA1BA41DE77228CB27D6BAFEB6DCCBF4A(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralCF088CD7CED04705BD5E7559DBB7DD9A14559182)), NULL);
  3151. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TimeoutTracker__ctor_mBFE73B99C5BBB93D251DF9731B9C5D824F30CDCE_RuntimeMethod_var)));
  3152. }
  3153. IL_000f:
  3154. {
  3155. int32_t L_2 = ___0_millisecondsTimeout;
  3156. __this->___m_total_0 = L_2;
  3157. int32_t L_3 = __this->___m_total_0;
  3158. if ((((int32_t)L_3) == ((int32_t)(-1))))
  3159. {
  3160. goto IL_0033;
  3161. }
  3162. }
  3163. {
  3164. int32_t L_4 = __this->___m_total_0;
  3165. if (!L_4)
  3166. {
  3167. goto IL_0033;
  3168. }
  3169. }
  3170. {
  3171. int32_t L_5;
  3172. L_5 = Environment_get_TickCount_m183BFCF001E12849E3D898957F0B81FD88BA183C(NULL);
  3173. __this->___m_start_1 = L_5;
  3174. return;
  3175. }
  3176. IL_0033:
  3177. {
  3178. __this->___m_start_1 = 0;
  3179. return;
  3180. }
  3181. }
  3182. IL2CPP_EXTERN_C void TimeoutTracker__ctor_mBFE73B99C5BBB93D251DF9731B9C5D824F30CDCE_AdjustorThunk (RuntimeObject* __this, int32_t ___0_millisecondsTimeout, const RuntimeMethod* method)
  3183. {
  3184. TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C* _thisAdjusted;
  3185. int32_t _offset = 1;
  3186. _thisAdjusted = reinterpret_cast<TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C*>(__this + _offset);
  3187. TimeoutTracker__ctor_mBFE73B99C5BBB93D251DF9731B9C5D824F30CDCE(_thisAdjusted, ___0_millisecondsTimeout, method);
  3188. }
  3189. // System.Int32 System.Threading.ReaderWriterLockSlim/TimeoutTracker::get_RemainingMilliseconds()
  3190. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TimeoutTracker_get_RemainingMilliseconds_mDAA8A0E545F8E28D3688095CA346B0A04337BC23 (TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C* __this, const RuntimeMethod* method)
  3191. {
  3192. int32_t V_0 = 0;
  3193. {
  3194. int32_t L_0 = __this->___m_total_0;
  3195. if ((((int32_t)L_0) == ((int32_t)(-1))))
  3196. {
  3197. goto IL_0011;
  3198. }
  3199. }
  3200. {
  3201. int32_t L_1 = __this->___m_total_0;
  3202. if (L_1)
  3203. {
  3204. goto IL_0018;
  3205. }
  3206. }
  3207. IL_0011:
  3208. {
  3209. int32_t L_2 = __this->___m_total_0;
  3210. return L_2;
  3211. }
  3212. IL_0018:
  3213. {
  3214. int32_t L_3;
  3215. L_3 = Environment_get_TickCount_m183BFCF001E12849E3D898957F0B81FD88BA183C(NULL);
  3216. int32_t L_4 = __this->___m_start_1;
  3217. V_0 = ((int32_t)il2cpp_codegen_subtract(L_3, L_4));
  3218. int32_t L_5 = V_0;
  3219. if ((((int32_t)L_5) < ((int32_t)0)))
  3220. {
  3221. goto IL_0032;
  3222. }
  3223. }
  3224. {
  3225. int32_t L_6 = V_0;
  3226. int32_t L_7 = __this->___m_total_0;
  3227. if ((((int32_t)L_6) < ((int32_t)L_7)))
  3228. {
  3229. goto IL_0034;
  3230. }
  3231. }
  3232. IL_0032:
  3233. {
  3234. return 0;
  3235. }
  3236. IL_0034:
  3237. {
  3238. int32_t L_8 = __this->___m_total_0;
  3239. int32_t L_9 = V_0;
  3240. return ((int32_t)il2cpp_codegen_subtract(L_8, L_9));
  3241. }
  3242. }
  3243. IL2CPP_EXTERN_C int32_t TimeoutTracker_get_RemainingMilliseconds_mDAA8A0E545F8E28D3688095CA346B0A04337BC23_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
  3244. {
  3245. TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C* _thisAdjusted;
  3246. int32_t _offset = 1;
  3247. _thisAdjusted = reinterpret_cast<TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C*>(__this + _offset);
  3248. int32_t _returnValue;
  3249. _returnValue = TimeoutTracker_get_RemainingMilliseconds_mDAA8A0E545F8E28D3688095CA346B0A04337BC23(_thisAdjusted, method);
  3250. return _returnValue;
  3251. }
  3252. // System.Boolean System.Threading.ReaderWriterLockSlim/TimeoutTracker::get_IsExpired()
  3253. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeoutTracker_get_IsExpired_m5E08DCC01117EF66ADEBA5472B27833577289813 (TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C* __this, const RuntimeMethod* method)
  3254. {
  3255. {
  3256. int32_t L_0;
  3257. L_0 = TimeoutTracker_get_RemainingMilliseconds_mDAA8A0E545F8E28D3688095CA346B0A04337BC23(__this, NULL);
  3258. return (bool)((((int32_t)L_0) == ((int32_t)0))? 1 : 0);
  3259. }
  3260. }
  3261. IL2CPP_EXTERN_C bool TimeoutTracker_get_IsExpired_m5E08DCC01117EF66ADEBA5472B27833577289813_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
  3262. {
  3263. TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C* _thisAdjusted;
  3264. int32_t _offset = 1;
  3265. _thisAdjusted = reinterpret_cast<TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C*>(__this + _offset);
  3266. bool _returnValue;
  3267. _returnValue = TimeoutTracker_get_IsExpired_m5E08DCC01117EF66ADEBA5472B27833577289813(_thisAdjusted, method);
  3268. return _returnValue;
  3269. }
  3270. #ifdef __clang__
  3271. #pragma clang diagnostic pop
  3272. #endif
  3273. #ifdef __clang__
  3274. #pragma clang diagnostic push
  3275. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  3276. #pragma clang diagnostic ignored "-Wunused-variable"
  3277. #endif
  3278. #ifdef __clang__
  3279. #pragma clang diagnostic pop
  3280. #endif
  3281. #ifdef __clang__
  3282. #pragma clang diagnostic push
  3283. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  3284. #pragma clang diagnostic ignored "-Wunused-variable"
  3285. #endif
  3286. #ifdef __clang__
  3287. #pragma clang diagnostic pop
  3288. #endif
  3289. #ifdef __clang__
  3290. #pragma clang diagnostic push
  3291. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  3292. #pragma clang diagnostic ignored "-Wunused-variable"
  3293. #endif
  3294. #ifdef __clang__
  3295. #pragma clang diagnostic pop
  3296. #endif
  3297. #ifdef __clang__
  3298. #pragma clang diagnostic push
  3299. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  3300. #pragma clang diagnostic ignored "-Wunused-variable"
  3301. #endif
  3302. #ifdef __clang__
  3303. #pragma clang diagnostic pop
  3304. #endif
  3305. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_IsRWEntryEmpty_m34743FF639EF9B44D704FC98D3DEA99CFD634E95_inline (ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* ___0_rwc, const RuntimeMethod* method)
  3306. {
  3307. {
  3308. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_0 = ___0_rwc;
  3309. NullCheck(L_0);
  3310. int64_t L_1 = L_0->___lockID_0;
  3311. if (L_1)
  3312. {
  3313. goto IL_000a;
  3314. }
  3315. }
  3316. {
  3317. return (bool)1;
  3318. }
  3319. IL_000a:
  3320. {
  3321. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_2 = ___0_rwc;
  3322. NullCheck(L_2);
  3323. int32_t L_3 = L_2->___readercount_1;
  3324. if (L_3)
  3325. {
  3326. goto IL_0024;
  3327. }
  3328. }
  3329. {
  3330. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_4 = ___0_rwc;
  3331. NullCheck(L_4);
  3332. int32_t L_5 = L_4->___writercount_2;
  3333. if (L_5)
  3334. {
  3335. goto IL_0024;
  3336. }
  3337. }
  3338. {
  3339. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_6 = ___0_rwc;
  3340. NullCheck(L_6);
  3341. int32_t L_7 = L_6->___upgradecount_3;
  3342. if (L_7)
  3343. {
  3344. goto IL_0024;
  3345. }
  3346. }
  3347. {
  3348. return (bool)1;
  3349. }
  3350. IL_0024:
  3351. {
  3352. return (bool)0;
  3353. }
  3354. }
  3355. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_EnterMyLock_mDB590C9A0A55830B1C347DAB0A3F4972E9F0DE59_inline (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  3356. {
  3357. {
  3358. int32_t* L_0 = (&__this->___myLock_1);
  3359. int32_t L_1;
  3360. L_1 = Interlocked_CompareExchange_mB06E8737D3DA41F9FFBC38A6D0583D515EFB5717(L_0, 1, 0, NULL);
  3361. if (!L_1)
  3362. {
  3363. goto IL_0015;
  3364. }
  3365. }
  3366. {
  3367. ReaderWriterLockSlim_EnterMyLockSpin_mC785B7BB91A152B37FF1115AFA5D752AC6DBE9F6(__this, NULL);
  3368. }
  3369. IL_0015:
  3370. {
  3371. return;
  3372. }
  3373. }
  3374. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* ReaderWriterLockSlim_GetThreadRWCount_m693F7FFBBFB98DEF312E4B3A200DA95266CA4E96_inline (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, bool ___0_dontAllocate, const RuntimeMethod* method)
  3375. {
  3376. static bool s_Il2CppMethodInitialized;
  3377. if (!s_Il2CppMethodInitialized)
  3378. {
  3379. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333_il2cpp_TypeInfo_var);
  3380. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_il2cpp_TypeInfo_var);
  3381. s_Il2CppMethodInitialized = true;
  3382. }
  3383. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* V_0 = NULL;
  3384. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* V_1 = NULL;
  3385. {
  3386. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_0 = ((ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_il2cpp_TypeInfo_var))->___t_rwc_15;
  3387. V_0 = L_0;
  3388. V_1 = (ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333*)NULL;
  3389. goto IL_0031;
  3390. }
  3391. IL_000a:
  3392. {
  3393. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_1 = V_0;
  3394. NullCheck(L_1);
  3395. int64_t L_2 = L_1->___lockID_0;
  3396. int64_t L_3 = __this->___lockID_14;
  3397. if ((!(((uint64_t)L_2) == ((uint64_t)L_3))))
  3398. {
  3399. goto IL_001a;
  3400. }
  3401. }
  3402. {
  3403. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_4 = V_0;
  3404. return L_4;
  3405. }
  3406. IL_001a:
  3407. {
  3408. bool L_5 = ___0_dontAllocate;
  3409. if (L_5)
  3410. {
  3411. goto IL_002a;
  3412. }
  3413. }
  3414. {
  3415. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_6 = V_1;
  3416. if (L_6)
  3417. {
  3418. goto IL_002a;
  3419. }
  3420. }
  3421. {
  3422. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_7 = V_0;
  3423. bool L_8;
  3424. L_8 = ReaderWriterLockSlim_IsRWEntryEmpty_m34743FF639EF9B44D704FC98D3DEA99CFD634E95_inline(L_7, NULL);
  3425. if (!L_8)
  3426. {
  3427. goto IL_002a;
  3428. }
  3429. }
  3430. {
  3431. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_9 = V_0;
  3432. V_1 = L_9;
  3433. }
  3434. IL_002a:
  3435. {
  3436. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_10 = V_0;
  3437. NullCheck(L_10);
  3438. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_11 = L_10->___next_4;
  3439. V_0 = L_11;
  3440. }
  3441. IL_0031:
  3442. {
  3443. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_12 = V_0;
  3444. if (L_12)
  3445. {
  3446. goto IL_000a;
  3447. }
  3448. }
  3449. {
  3450. bool L_13 = ___0_dontAllocate;
  3451. if (!L_13)
  3452. {
  3453. goto IL_0039;
  3454. }
  3455. }
  3456. {
  3457. return (ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333*)NULL;
  3458. }
  3459. IL_0039:
  3460. {
  3461. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_14 = V_1;
  3462. if (L_14)
  3463. {
  3464. goto IL_0053;
  3465. }
  3466. }
  3467. {
  3468. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_15 = (ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333*)il2cpp_codegen_object_new(ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333_il2cpp_TypeInfo_var);
  3469. NullCheck(L_15);
  3470. ReaderWriterCount__ctor_m8FE7B774A506545AF710639DB53F7677A2FA658A(L_15, NULL);
  3471. V_1 = L_15;
  3472. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_16 = V_1;
  3473. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_17 = ((ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_il2cpp_TypeInfo_var))->___t_rwc_15;
  3474. NullCheck(L_16);
  3475. L_16->___next_4 = L_17;
  3476. Il2CppCodeGenWriteBarrier((void**)(&L_16->___next_4), (void*)L_17);
  3477. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_18 = V_1;
  3478. ((ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_il2cpp_TypeInfo_var))->___t_rwc_15 = L_18;
  3479. Il2CppCodeGenWriteBarrier((void**)(&((ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_il2cpp_TypeInfo_var))->___t_rwc_15), (void*)L_18);
  3480. }
  3481. IL_0053:
  3482. {
  3483. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_19 = V_1;
  3484. int64_t L_20 = __this->___lockID_14;
  3485. NullCheck(L_19);
  3486. L_19->___lockID_0 = L_20;
  3487. ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_21 = V_1;
  3488. return L_21;
  3489. }
  3490. }
  3491. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t ReaderWriterLockSlim_get_WaitingReadCount_mD79E93CABC9BFBA4AB306193DDF8CE90F1818C92_inline (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  3492. {
  3493. {
  3494. uint32_t L_0 = __this->___numReadWaiters_3;
  3495. return L_0;
  3496. }
  3497. }
  3498. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t ReaderWriterLockSlim_get_WaitingUpgradeCount_m13892A21F7EF1D7ED202D186B2E7B2B6C400F388_inline (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  3499. {
  3500. {
  3501. uint32_t L_0 = __this->___numUpgradeWaiters_5;
  3502. return L_0;
  3503. }
  3504. }
  3505. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t ReaderWriterLockSlim_get_WaitingWriteCount_m8FE677BDB0E776125691C0A4C1A74B5B8637D246_inline (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
  3506. {
  3507. {
  3508. uint32_t L_0 = __this->___numWriteWaiters_2;
  3509. return L_0;
  3510. }
  3511. }