123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729 |
- #include "pch-cpp.hpp"
-
- #ifndef _MSC_VER
- # include <alloca.h>
- #else
- # include <malloc.h>
- #endif
-
-
- #include <limits>
-
-
- struct VirtualActionInvoker0
- {
- typedef void (*Action)(void*, const RuntimeMethod*);
-
- static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
- {
- const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
- ((Action)invokeData.methodPtr)(obj, invokeData.method);
- }
- };
- template <typename R, typename T1>
- struct VirtualFuncInvoker1
- {
- typedef R (*Func)(void*, T1, const RuntimeMethod*);
-
- static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
- {
- const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
- return ((Func)invokeData.methodPtr)(obj, p1, invokeData.method);
- }
- };
-
- // System.Threading.AsyncLocal`1<System.Globalization.CultureInfo>
- struct AsyncLocal_1_t1D3339EA4C8650D2DEDDF9553E5C932B3DC2CCFD;
- // System.Int32[]
- struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C;
- // System.IntPtr[]
- struct IntPtrU5BU5D_tFD177F8C806A6921AD7150264CCC62FA00CAD832;
- // System.Diagnostics.StackTrace[]
- struct StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF;
- // System.ArgumentOutOfRangeException
- struct ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F;
- // System.Threading.AutoResetEvent
- struct AutoResetEvent_t7F792F3F7AD11BEF7B411E771D98E5266A8CE7C0;
- // System.Collections.Generic.BitHelper
- struct BitHelper_t2BEA51BB52EB1672DBF4163ED6757DCEEB3A4DF1;
- // System.Globalization.CultureInfo
- struct CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0;
- // System.Threading.EventWaitHandle
- struct EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E;
- // System.Threading.ExecutionContext
- struct ExecutionContext_t9D6EDFD92F0B2D391751963E2D77A8B03CB81710;
- // System.Collections.IDictionary
- struct IDictionary_t6D03155AF1FA9083817AA5B6AD7DEEACC26AB220;
- // System.Security.Principal.IPrincipal
- struct IPrincipal_tE7AF5096287F6C3472585E124CB38FF2A51EAB5F;
- // System.Int32
- struct Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C;
- // System.Threading.InternalThread
- struct InternalThread_tF40B7BFCBD60C82BD8475A22FF5186CA10293687;
- // System.LocalDataStoreHolder
- struct LocalDataStoreHolder_t789DD474AE5141213C2105CE57830ECFC2D3C03F;
- // System.LocalDataStoreMgr
- struct LocalDataStoreMgr_t205F1783D5CC2B148E829B5882E5406FF9A3AC1E;
- // System.Threading.LockRecursionException
- struct LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496;
- // System.Threading.ManualResetEvent
- struct ManualResetEvent_t63959486AA41A113A4353D0BF4A68E77EBA0A158;
- // System.MulticastDelegate
- struct MulticastDelegate_t;
- // System.ObjectDisposedException
- struct ObjectDisposedException_tC5FB29E8E980E2010A2F6A5B9B791089419F89EB;
- // System.Threading.ReaderWriterCount
- struct ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333;
- // System.Threading.ReaderWriterLockSlim
- struct ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906;
- // System.Runtime.Serialization.SafeSerializationManager
- struct SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6;
- // Microsoft.Win32.SafeHandles.SafeWaitHandle
- struct SafeWaitHandle_t58F5662CD56F6462A687198A64987F8980804449;
- // System.String
- struct String_t;
- // System.Threading.SynchronizationLockException
- struct SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34;
- // System.Threading.Thread
- struct Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F;
- // System.Void
- struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
-
- IL2CPP_EXTERN_C RuntimeClass* ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* AutoResetEvent_t7F792F3F7AD11BEF7B411E771D98E5266A8CE7C0_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* ManualResetEvent_t63959486AA41A113A4353D0BF4A68E77EBA0A158_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* ObjectDisposedException_tC5FB29E8E980E2010A2F6A5B9B791089419F89EB_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* PlatformHelper_t5E497382616B62F0B318E53D098F90E22AB35722_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C RuntimeClass* SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34_il2cpp_TypeInfo_var;
- IL2CPP_EXTERN_C String_t* _stringLiteral10C4AECF4C2A9921D7FDB1EEA6237F828B265648;
- IL2CPP_EXTERN_C String_t* _stringLiteral28BCDD3CA5E41255B6A2EBE02C50B3F4CE3093AA;
- IL2CPP_EXTERN_C String_t* _stringLiteral485C8998D53F77608ABEDAF04A4DBE853A80D357;
- IL2CPP_EXTERN_C String_t* _stringLiteral6DC62F421ABC9EEBA3ED23A09F410EA41A1F72C6;
- IL2CPP_EXTERN_C String_t* _stringLiteral84A266738245DD942C30B2FC8963EC80C662B538;
- IL2CPP_EXTERN_C String_t* _stringLiteral8822CE4A43FFFD3B2CC49B9D5FC1B66F0CCBF3B1;
- IL2CPP_EXTERN_C String_t* _stringLiteralA1E10561E358BF2699823096E8ABA5826AB9E732;
- IL2CPP_EXTERN_C String_t* _stringLiteralCF088CD7CED04705BD5E7559DBB7DD9A14559182;
- IL2CPP_EXTERN_C String_t* _stringLiteralDCB7866DEDA66D0DAAD8C519AF9693DB97A9BF28;
- IL2CPP_EXTERN_C const RuntimeMethod* ReaderWriterLockSlim_Dispose_mA894FFFD0829F6CEDD8318482F57D2A5FCFD5661_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* ReaderWriterLockSlim_ExitUpgradeableReadLock_m70E125A9542852AC8E908571F9EB86670E2CFEEA_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* ReaderWriterLockSlim_ExitWriteLock_m84F7F58C2B3552C5B32744FB06004CACDFCE57E6_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* ReaderWriterLockSlim_TryEnterUpgradeableReadLockCore_mA84580B68864B07DD3D6A2A4F48FCFE72EEA6F6F_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* ReaderWriterLockSlim_TryEnterWriteLockCore_m18B708E74264AC43BAD623C8ACC92370DA32888B_RuntimeMethod_var;
- IL2CPP_EXTERN_C const RuntimeMethod* TimeoutTracker__ctor_mBFE73B99C5BBB93D251DF9731B9C5D824F30CDCE_RuntimeMethod_var;
- struct Exception_t_marshaled_com;
- struct Exception_t_marshaled_pinvoke;
-
- struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C;
-
- IL2CPP_EXTERN_C_BEGIN
- IL2CPP_EXTERN_C_END
-
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
-
- // System.Collections.Generic.BitHelper
- struct BitHelper_t2BEA51BB52EB1672DBF4163ED6757DCEEB3A4DF1 : public RuntimeObject
- {
- // System.Int32 System.Collections.Generic.BitHelper::_length
- int32_t ____length_0;
- // System.Int32* System.Collections.Generic.BitHelper::_arrayPtr
- int32_t* ____arrayPtr_1;
- // System.Int32[] System.Collections.Generic.BitHelper::_array
- Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____array_2;
- // System.Boolean System.Collections.Generic.BitHelper::_useStackAlloc
- bool ____useStackAlloc_3;
- };
-
- // System.Runtime.ConstrainedExecution.CriticalFinalizerObject
- struct CriticalFinalizerObject_t1DCAB623CAEA6529A96F5F3EDE3C7048A6E313C9 : public RuntimeObject
- {
- };
-
- // System.MarshalByRefObject
- struct MarshalByRefObject_t8C2F4C5854177FD60439EB1FCCFC1B3CFAFE8DCE : public RuntimeObject
- {
- // System.Object System.MarshalByRefObject::_identity
- RuntimeObject* ____identity_0;
- };
- // Native definition for P/Invoke marshalling of System.MarshalByRefObject
- struct MarshalByRefObject_t8C2F4C5854177FD60439EB1FCCFC1B3CFAFE8DCE_marshaled_pinvoke
- {
- Il2CppIUnknown* ____identity_0;
- };
- // Native definition for COM marshalling of System.MarshalByRefObject
- struct MarshalByRefObject_t8C2F4C5854177FD60439EB1FCCFC1B3CFAFE8DCE_marshaled_com
- {
- Il2CppIUnknown* ____identity_0;
- };
-
- // System.Threading.ReaderWriterCount
- struct ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333 : public RuntimeObject
- {
- // System.Int64 System.Threading.ReaderWriterCount::lockID
- int64_t ___lockID_0;
- // System.Int32 System.Threading.ReaderWriterCount::readercount
- int32_t ___readercount_1;
- // System.Int32 System.Threading.ReaderWriterCount::writercount
- int32_t ___writercount_2;
- // System.Int32 System.Threading.ReaderWriterCount::upgradecount
- int32_t ___upgradecount_3;
- // System.Threading.ReaderWriterCount System.Threading.ReaderWriterCount::next
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* ___next_4;
- };
-
- // System.Threading.ReaderWriterLockSlim
- struct ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906 : public RuntimeObject
- {
- // System.Boolean System.Threading.ReaderWriterLockSlim::fIsReentrant
- bool ___fIsReentrant_0;
- // System.Int32 System.Threading.ReaderWriterLockSlim::myLock
- int32_t ___myLock_1;
- // System.UInt32 System.Threading.ReaderWriterLockSlim::numWriteWaiters
- uint32_t ___numWriteWaiters_2;
- // System.UInt32 System.Threading.ReaderWriterLockSlim::numReadWaiters
- uint32_t ___numReadWaiters_3;
- // System.UInt32 System.Threading.ReaderWriterLockSlim::numWriteUpgradeWaiters
- uint32_t ___numWriteUpgradeWaiters_4;
- // System.UInt32 System.Threading.ReaderWriterLockSlim::numUpgradeWaiters
- uint32_t ___numUpgradeWaiters_5;
- // System.Boolean System.Threading.ReaderWriterLockSlim::fNoWaiters
- bool ___fNoWaiters_6;
- // System.Int32 System.Threading.ReaderWriterLockSlim::upgradeLockOwnerId
- int32_t ___upgradeLockOwnerId_7;
- // System.Int32 System.Threading.ReaderWriterLockSlim::writeLockOwnerId
- int32_t ___writeLockOwnerId_8;
- // System.Threading.EventWaitHandle System.Threading.ReaderWriterLockSlim::writeEvent
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* ___writeEvent_9;
- // System.Threading.EventWaitHandle System.Threading.ReaderWriterLockSlim::readEvent
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* ___readEvent_10;
- // System.Threading.EventWaitHandle System.Threading.ReaderWriterLockSlim::upgradeEvent
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* ___upgradeEvent_11;
- // System.Threading.EventWaitHandle System.Threading.ReaderWriterLockSlim::waitUpgradeEvent
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* ___waitUpgradeEvent_12;
- // System.Int64 System.Threading.ReaderWriterLockSlim::lockID
- int64_t ___lockID_14;
- // System.Boolean System.Threading.ReaderWriterLockSlim::fUpgradeThreadHoldingRead
- bool ___fUpgradeThreadHoldingRead_16;
- // System.UInt32 System.Threading.ReaderWriterLockSlim::owners
- uint32_t ___owners_17;
- // System.Boolean System.Threading.ReaderWriterLockSlim::fDisposed
- bool ___fDisposed_18;
- };
-
- // System.String
- struct String_t : public RuntimeObject
- {
- // System.Int32 System.String::_stringLength
- int32_t ____stringLength_4;
- // System.Char System.String::_firstChar
- Il2CppChar ____firstChar_5;
- };
-
- // System.ValueType
- struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
- {
- };
- // Native definition for P/Invoke marshalling of System.ValueType
- struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
- {
- };
- // Native definition for COM marshalling of System.ValueType
- struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
- {
- };
-
- // System.Boolean
- struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22
- {
- // System.Boolean System.Boolean::m_value
- bool ___m_value_0;
- };
-
- // System.Int32
- struct Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C
- {
- // System.Int32 System.Int32::m_value
- int32_t ___m_value_0;
- };
-
- // System.Int64
- struct Int64_t092CFB123BE63C28ACDAF65C68F21A526050DBA3
- {
- // System.Int64 System.Int64::m_value
- int64_t ___m_value_0;
- };
-
- // System.IntPtr
- struct IntPtr_t
- {
- // System.Void* System.IntPtr::m_value
- void* ___m_value_0;
- };
-
- // System.Threading.Thread
- struct Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F : public CriticalFinalizerObject_t1DCAB623CAEA6529A96F5F3EDE3C7048A6E313C9
- {
- // System.Threading.InternalThread System.Threading.Thread::internal_thread
- InternalThread_tF40B7BFCBD60C82BD8475A22FF5186CA10293687* ___internal_thread_6;
- // System.Object System.Threading.Thread::m_ThreadStartArg
- RuntimeObject* ___m_ThreadStartArg_7;
- // System.Object System.Threading.Thread::pending_exception
- RuntimeObject* ___pending_exception_8;
- // System.MulticastDelegate System.Threading.Thread::m_Delegate
- MulticastDelegate_t* ___m_Delegate_10;
- // System.Threading.ExecutionContext System.Threading.Thread::m_ExecutionContext
- ExecutionContext_t9D6EDFD92F0B2D391751963E2D77A8B03CB81710* ___m_ExecutionContext_11;
- // System.Boolean System.Threading.Thread::m_ExecutionContextBelongsToOuterScope
- bool ___m_ExecutionContextBelongsToOuterScope_12;
- // System.Security.Principal.IPrincipal System.Threading.Thread::principal
- RuntimeObject* ___principal_13;
- // System.Int32 System.Threading.Thread::principal_version
- int32_t ___principal_version_14;
- };
-
- // System.UInt32
- struct UInt32_t1833D51FFA667B18A5AA4B8D34DE284F8495D29B
- {
- // System.UInt32 System.UInt32::m_value
- uint32_t ___m_value_0;
- };
-
- // System.Void
- struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
- {
- union
- {
- struct
- {
- };
- uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
- };
- };
-
- // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=1024
- struct __StaticArrayInitTypeSizeU3D1024_t2A1518FE93EF6BEE22F2C6BA90AE95237A6E13AE
- {
- union
- {
- struct
- {
- union
- {
- };
- };
- uint8_t __StaticArrayInitTypeSizeU3D1024_t2A1518FE93EF6BEE22F2C6BA90AE95237A6E13AE__padding[1024];
- };
- };
-
- // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=120
- struct __StaticArrayInitTypeSizeU3D120_t6F11AA913DFF35D8B33057BABEFEF1EA9B976881
- {
- union
- {
- struct
- {
- union
- {
- };
- };
- uint8_t __StaticArrayInitTypeSizeU3D120_t6F11AA913DFF35D8B33057BABEFEF1EA9B976881__padding[120];
- };
- };
-
- // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=256
- struct __StaticArrayInitTypeSizeU3D256_t121506E42A9F4B673CDCF2FDFF169D68811BB731
- {
- union
- {
- struct
- {
- union
- {
- };
- };
- uint8_t __StaticArrayInitTypeSizeU3D256_t121506E42A9F4B673CDCF2FDFF169D68811BB731__padding[256];
- };
- };
-
- // System.Threading.ReaderWriterLockSlim/TimeoutTracker
- struct TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C
- {
- // System.Int32 System.Threading.ReaderWriterLockSlim/TimeoutTracker::m_total
- int32_t ___m_total_0;
- // System.Int32 System.Threading.ReaderWriterLockSlim/TimeoutTracker::m_start
- int32_t ___m_start_1;
- };
-
- // <PrivateImplementationDetails>
- struct U3CPrivateImplementationDetailsU3E_t0985298E3928118182D9E60D8C7A51F84FE0D710 : public RuntimeObject
- {
- };
-
- // System.Exception
- struct Exception_t : public RuntimeObject
- {
- // System.String System.Exception::_className
- String_t* ____className_1;
- // System.String System.Exception::_message
- String_t* ____message_2;
- // System.Collections.IDictionary System.Exception::_data
- RuntimeObject* ____data_3;
- // System.Exception System.Exception::_innerException
- Exception_t* ____innerException_4;
- // System.String System.Exception::_helpURL
- String_t* ____helpURL_5;
- // System.Object System.Exception::_stackTrace
- RuntimeObject* ____stackTrace_6;
- // System.String System.Exception::_stackTraceString
- String_t* ____stackTraceString_7;
- // System.String System.Exception::_remoteStackTraceString
- String_t* ____remoteStackTraceString_8;
- // System.Int32 System.Exception::_remoteStackIndex
- int32_t ____remoteStackIndex_9;
- // System.Object System.Exception::_dynamicMethods
- RuntimeObject* ____dynamicMethods_10;
- // System.Int32 System.Exception::_HResult
- int32_t ____HResult_11;
- // System.String System.Exception::_source
- String_t* ____source_12;
- // System.Runtime.Serialization.SafeSerializationManager System.Exception::_safeSerializationManager
- SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager_13;
- // System.Diagnostics.StackTrace[] System.Exception::captured_traces
- StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
- // System.IntPtr[] System.Exception::native_trace_ips
- IntPtrU5BU5D_tFD177F8C806A6921AD7150264CCC62FA00CAD832* ___native_trace_ips_15;
- // System.Int32 System.Exception::caught_in_unmanaged
- int32_t ___caught_in_unmanaged_16;
- };
- // Native definition for P/Invoke marshalling of System.Exception
- struct Exception_t_marshaled_pinvoke
- {
- char* ____className_1;
- char* ____message_2;
- RuntimeObject* ____data_3;
- Exception_t_marshaled_pinvoke* ____innerException_4;
- char* ____helpURL_5;
- Il2CppIUnknown* ____stackTrace_6;
- char* ____stackTraceString_7;
- char* ____remoteStackTraceString_8;
- int32_t ____remoteStackIndex_9;
- Il2CppIUnknown* ____dynamicMethods_10;
- int32_t ____HResult_11;
- char* ____source_12;
- SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager_13;
- StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
- Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
- int32_t ___caught_in_unmanaged_16;
- };
- // Native definition for COM marshalling of System.Exception
- struct Exception_t_marshaled_com
- {
- Il2CppChar* ____className_1;
- Il2CppChar* ____message_2;
- RuntimeObject* ____data_3;
- Exception_t_marshaled_com* ____innerException_4;
- Il2CppChar* ____helpURL_5;
- Il2CppIUnknown* ____stackTrace_6;
- Il2CppChar* ____stackTraceString_7;
- Il2CppChar* ____remoteStackTraceString_8;
- int32_t ____remoteStackIndex_9;
- Il2CppIUnknown* ____dynamicMethods_10;
- int32_t ____HResult_11;
- Il2CppChar* ____source_12;
- SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager_13;
- StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
- Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
- int32_t ___caught_in_unmanaged_16;
- };
-
- // System.Threading.WaitHandle
- struct WaitHandle_t08F8DB54593B241FE32E0DD0BD3D82785D3AE3D8 : public MarshalByRefObject_t8C2F4C5854177FD60439EB1FCCFC1B3CFAFE8DCE
- {
- // System.IntPtr System.Threading.WaitHandle::waitHandle
- intptr_t ___waitHandle_3;
- // Microsoft.Win32.SafeHandles.SafeWaitHandle modreq(System.Runtime.CompilerServices.IsVolatile) System.Threading.WaitHandle::safeWaitHandle
- SafeWaitHandle_t58F5662CD56F6462A687198A64987F8980804449* ___safeWaitHandle_4;
- // System.Boolean System.Threading.WaitHandle::hasThreadAffinity
- bool ___hasThreadAffinity_5;
- };
- // Native definition for P/Invoke marshalling of System.Threading.WaitHandle
- struct WaitHandle_t08F8DB54593B241FE32E0DD0BD3D82785D3AE3D8_marshaled_pinvoke : public MarshalByRefObject_t8C2F4C5854177FD60439EB1FCCFC1B3CFAFE8DCE_marshaled_pinvoke
- {
- intptr_t ___waitHandle_3;
- void* ___safeWaitHandle_4;
- int32_t ___hasThreadAffinity_5;
- };
- // Native definition for COM marshalling of System.Threading.WaitHandle
- struct WaitHandle_t08F8DB54593B241FE32E0DD0BD3D82785D3AE3D8_marshaled_com : public MarshalByRefObject_t8C2F4C5854177FD60439EB1FCCFC1B3CFAFE8DCE_marshaled_com
- {
- intptr_t ___waitHandle_3;
- void* ___safeWaitHandle_4;
- int32_t ___hasThreadAffinity_5;
- };
-
- // System.Threading.EventWaitHandle
- struct EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E : public WaitHandle_t08F8DB54593B241FE32E0DD0BD3D82785D3AE3D8
- {
- };
-
- // System.Threading.LockRecursionException
- struct LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496 : public Exception_t
- {
- };
-
- // System.SystemException
- struct SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295 : public Exception_t
- {
- };
-
- // System.ArgumentException
- struct ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263 : public SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295
- {
- // System.String System.ArgumentException::_paramName
- String_t* ____paramName_18;
- };
-
- // System.Threading.AutoResetEvent
- struct AutoResetEvent_t7F792F3F7AD11BEF7B411E771D98E5266A8CE7C0 : public EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E
- {
- };
-
- // System.InvalidOperationException
- struct InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB : public SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295
- {
- };
-
- // System.Threading.ManualResetEvent
- struct ManualResetEvent_t63959486AA41A113A4353D0BF4A68E77EBA0A158 : public EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E
- {
- };
-
- // System.Threading.SynchronizationLockException
- struct SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34 : public SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295
- {
- };
-
- // System.ArgumentOutOfRangeException
- struct ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F : public ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263
- {
- // System.Object System.ArgumentOutOfRangeException::_actualValue
- RuntimeObject* ____actualValue_19;
- };
-
- // System.ObjectDisposedException
- struct ObjectDisposedException_tC5FB29E8E980E2010A2F6A5B9B791089419F89EB : public InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB
- {
- // System.String System.ObjectDisposedException::_objectName
- String_t* ____objectName_18;
- };
-
- // System.Collections.Generic.BitHelper
-
- // System.Collections.Generic.BitHelper
-
- // System.Threading.ReaderWriterCount
-
- // System.Threading.ReaderWriterCount
-
- // System.Threading.ReaderWriterLockSlim
- struct ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_StaticFields
- {
- // System.Int64 System.Threading.ReaderWriterLockSlim::s_nextLockID
- int64_t ___s_nextLockID_13;
- };
-
- // System.Threading.ReaderWriterLockSlim
- struct ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_ThreadStaticFields
- {
- // System.Threading.ReaderWriterCount System.Threading.ReaderWriterLockSlim::t_rwc
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* ___t_rwc_15;
- };
-
- // System.String
- struct String_t_StaticFields
- {
- // System.String System.String::Empty
- String_t* ___Empty_6;
- };
-
- // System.String
-
- // System.Boolean
- struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_StaticFields
- {
- // System.String System.Boolean::TrueString
- String_t* ___TrueString_5;
- // System.String System.Boolean::FalseString
- String_t* ___FalseString_6;
- };
-
- // System.Boolean
-
- // System.Int32
-
- // System.Int32
-
- // System.Int64
-
- // System.Int64
-
- // System.Threading.Thread
- struct Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F_StaticFields
- {
- // System.LocalDataStoreMgr System.Threading.Thread::s_LocalDataStoreMgr
- LocalDataStoreMgr_t205F1783D5CC2B148E829B5882E5406FF9A3AC1E* ___s_LocalDataStoreMgr_0;
- // System.Threading.AsyncLocal`1<System.Globalization.CultureInfo> System.Threading.Thread::s_asyncLocalCurrentCulture
- AsyncLocal_1_t1D3339EA4C8650D2DEDDF9553E5C932B3DC2CCFD* ___s_asyncLocalCurrentCulture_4;
- // System.Threading.AsyncLocal`1<System.Globalization.CultureInfo> System.Threading.Thread::s_asyncLocalCurrentUICulture
- AsyncLocal_1_t1D3339EA4C8650D2DEDDF9553E5C932B3DC2CCFD* ___s_asyncLocalCurrentUICulture_5;
- };
-
- // System.Threading.Thread
- struct Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F_ThreadStaticFields
- {
- // System.LocalDataStoreHolder System.Threading.Thread::s_LocalDataStore
- LocalDataStoreHolder_t789DD474AE5141213C2105CE57830ECFC2D3C03F* ___s_LocalDataStore_1;
- // System.Globalization.CultureInfo System.Threading.Thread::m_CurrentCulture
- CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0* ___m_CurrentCulture_2;
- // System.Globalization.CultureInfo System.Threading.Thread::m_CurrentUICulture
- CultureInfo_t9BA817D41AD55AC8BD07480DD8AC22F8FFA378E0* ___m_CurrentUICulture_3;
- // System.Threading.Thread System.Threading.Thread::current_thread
- Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* ___current_thread_9;
- };
-
- // System.UInt32
-
- // System.UInt32
-
- // System.Void
-
- // System.Void
-
- // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=1024
-
- // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=1024
-
- // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=120
-
- // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=120
-
- // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=256
-
- // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=256
-
- // System.Threading.ReaderWriterLockSlim/TimeoutTracker
-
- // System.Threading.ReaderWriterLockSlim/TimeoutTracker
-
- // <PrivateImplementationDetails>
- struct U3CPrivateImplementationDetailsU3E_t0985298E3928118182D9E60D8C7A51F84FE0D710_StaticFields
- {
- // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=1024 <PrivateImplementationDetails>::0270BFF41CB170C33C20788C368CB1B5A66B0FD0B98D638A827B783537583821
- __StaticArrayInitTypeSizeU3D1024_t2A1518FE93EF6BEE22F2C6BA90AE95237A6E13AE ___0270BFF41CB170C33C20788C368CB1B5A66B0FD0B98D638A827B783537583821_0;
- // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=1024 <PrivateImplementationDetails>::09FDC69AA887AC8D36E0C8284C7B1D53E580E4880B72A67FF80D7E38317115D9
- __StaticArrayInitTypeSizeU3D1024_t2A1518FE93EF6BEE22F2C6BA90AE95237A6E13AE ___09FDC69AA887AC8D36E0C8284C7B1D53E580E4880B72A67FF80D7E38317115D9_1;
- // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=1024 <PrivateImplementationDetails>::0F4764044BF2E91EFEFAF3D4F1E81C10A2B7F0F45305489925CFC01198CF45B5
- __StaticArrayInitTypeSizeU3D1024_t2A1518FE93EF6BEE22F2C6BA90AE95237A6E13AE ___0F4764044BF2E91EFEFAF3D4F1E81C10A2B7F0F45305489925CFC01198CF45B5_2;
- // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=1024 <PrivateImplementationDetails>::15A0E7628178B3FE6546E9B60F35E2B1C4864E020B16376866F38F72C74B45A9
- __StaticArrayInitTypeSizeU3D1024_t2A1518FE93EF6BEE22F2C6BA90AE95237A6E13AE ___15A0E7628178B3FE6546E9B60F35E2B1C4864E020B16376866F38F72C74B45A9_3;
- // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=1024 <PrivateImplementationDetails>::4CF8DC711CD3210D673D86981355E2609233025ED22E4DC7A1F9B8E75ADE35F4
- __StaticArrayInitTypeSizeU3D1024_t2A1518FE93EF6BEE22F2C6BA90AE95237A6E13AE ___4CF8DC711CD3210D673D86981355E2609233025ED22E4DC7A1F9B8E75ADE35F4_4;
- // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=1024 <PrivateImplementationDetails>::783FB0A44BE7670EB6EC170CF7F16BB2B6F23F4964B87B60C4EB506C7C6A286D
- __StaticArrayInitTypeSizeU3D1024_t2A1518FE93EF6BEE22F2C6BA90AE95237A6E13AE ___783FB0A44BE7670EB6EC170CF7F16BB2B6F23F4964B87B60C4EB506C7C6A286D_5;
- // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=120 <PrivateImplementationDetails>::914FCE8DC82DA59038745B264F743222527FBAE2E4A28E71C89760B7E3DBBA67
- __StaticArrayInitTypeSizeU3D120_t6F11AA913DFF35D8B33057BABEFEF1EA9B976881 ___914FCE8DC82DA59038745B264F743222527FBAE2E4A28E71C89760B7E3DBBA67_6;
- // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=256 <PrivateImplementationDetails>::93631B0726F6FE6629DAA743EE51B49F4477ED07391B68EEEA0672A4A90018AA
- __StaticArrayInitTypeSizeU3D256_t121506E42A9F4B673CDCF2FDFF169D68811BB731 ___93631B0726F6FE6629DAA743EE51B49F4477ED07391B68EEEA0672A4A90018AA_7;
- // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=256 <PrivateImplementationDetails>::C2D8E5EED6CBEBD8625FC18F81486A7733C04F9B0129FFBE974C68B90308B4F2
- __StaticArrayInitTypeSizeU3D256_t121506E42A9F4B673CDCF2FDFF169D68811BB731 ___C2D8E5EED6CBEBD8625FC18F81486A7733C04F9B0129FFBE974C68B90308B4F2_8;
- // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=1024 <PrivateImplementationDetails>::C40A9A77EE05E10AF16DA9D1781A2053159EA8570ADA03637BB5FE3D076C9F89
- __StaticArrayInitTypeSizeU3D1024_t2A1518FE93EF6BEE22F2C6BA90AE95237A6E13AE ___C40A9A77EE05E10AF16DA9D1781A2053159EA8570ADA03637BB5FE3D076C9F89_9;
- // <PrivateImplementationDetails>/__StaticArrayInitTypeSize=1024 <PrivateImplementationDetails>::E8058399671D13082C35B6B3CE7F9E282507EDD458CCFDD3BAD9F35D90016F62
- __StaticArrayInitTypeSizeU3D1024_t2A1518FE93EF6BEE22F2C6BA90AE95237A6E13AE ___E8058399671D13082C35B6B3CE7F9E282507EDD458CCFDD3BAD9F35D90016F62_10;
- };
-
- // <PrivateImplementationDetails>
-
- // System.Threading.WaitHandle
- struct WaitHandle_t08F8DB54593B241FE32E0DD0BD3D82785D3AE3D8_StaticFields
- {
- // System.IntPtr System.Threading.WaitHandle::InvalidHandle
- intptr_t ___InvalidHandle_11;
- };
-
- // System.Threading.WaitHandle
-
- // System.Threading.EventWaitHandle
-
- // System.Threading.EventWaitHandle
-
- // System.Threading.LockRecursionException
-
- // System.Threading.LockRecursionException
-
- // System.Threading.AutoResetEvent
-
- // System.Threading.AutoResetEvent
-
- // System.Threading.ManualResetEvent
-
- // System.Threading.ManualResetEvent
-
- // System.Threading.SynchronizationLockException
-
- // System.Threading.SynchronizationLockException
-
- // System.ArgumentOutOfRangeException
-
- // System.ArgumentOutOfRangeException
-
- // System.ObjectDisposedException
-
- // System.ObjectDisposedException
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- // System.Int32[]
- struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C : public RuntimeArray
- {
- ALIGN_FIELD (8) int32_t m_Items[1];
-
- inline int32_t GetAt(il2cpp_array_size_t index) const
- {
- IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
- return m_Items[index];
- }
- inline int32_t* GetAddressAt(il2cpp_array_size_t index)
- {
- IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
- return m_Items + index;
- }
- inline void SetAt(il2cpp_array_size_t index, int32_t value)
- {
- IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
- m_Items[index] = value;
- }
- inline int32_t GetAtUnchecked(il2cpp_array_size_t index) const
- {
- return m_Items[index];
- }
- inline int32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
- {
- return m_Items + index;
- }
- inline void SetAtUnchecked(il2cpp_array_size_t index, int32_t value)
- {
- m_Items[index] = value;
- }
- };
-
-
-
- // System.Void System.Object::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2 (RuntimeObject* __this, const RuntimeMethod* method) ;
- // System.Void System.Threading.ReaderWriterLockSlim::.ctor(System.Threading.LockRecursionPolicy)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim__ctor_m19E2A503BBF4DF37E4C601EC1E745380EF945F0C (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, int32_t ___0_recursionPolicy, const RuntimeMethod* method) ;
- // System.Void System.Threading.ReaderWriterLockSlim::InitializeThreadCounts()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_InitializeThreadCounts_m7A12BC0D8F0D8C70EC8CA19F435EEEDAE5475A41 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
- // System.Int64 System.Threading.Interlocked::Increment(System.Int64&)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t Interlocked_Increment_m12CD643CCD5FCDE95DBC0AB07D09AF696E26F9C0 (int64_t* ___0_location, const RuntimeMethod* method) ;
- // System.Boolean System.Threading.ReaderWriterLockSlim::IsRWEntryEmpty(System.Threading.ReaderWriterCount)
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_IsRWEntryEmpty_m34743FF639EF9B44D704FC98D3DEA99CFD634E95_inline (ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* ___0_rwc, const RuntimeMethod* method) ;
- // System.Void System.Threading.ReaderWriterCount::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterCount__ctor_m8FE7B774A506545AF710639DB53F7677A2FA658A (ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* __this, const RuntimeMethod* method) ;
- // System.Boolean System.Threading.ReaderWriterLockSlim::TryEnterWriteLock(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_TryEnterWriteLock_mE43F653D65A448225134E0CE1A289C4E112C62A2 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, int32_t ___0_millisecondsTimeout, const RuntimeMethod* method) ;
- // System.Void System.Threading.ReaderWriterLockSlim/TimeoutTracker::.ctor(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimeoutTracker__ctor_mBFE73B99C5BBB93D251DF9731B9C5D824F30CDCE (TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C* __this, int32_t ___0_millisecondsTimeout, const RuntimeMethod* method) ;
- // System.Boolean System.Threading.ReaderWriterLockSlim::TryEnterWriteLock(System.Threading.ReaderWriterLockSlim/TimeoutTracker)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_TryEnterWriteLock_mBFFB3599E5D8C30B2D22A876CC58F647AEA2EDAE (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C ___0_timeout, const RuntimeMethod* method) ;
- // System.Boolean System.Threading.ReaderWriterLockSlim::TryEnterWriteLockCore(System.Threading.ReaderWriterLockSlim/TimeoutTracker)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_TryEnterWriteLockCore_m18B708E74264AC43BAD623C8ACC92370DA32888B (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C ___0_timeout, const RuntimeMethod* method) ;
- // System.Void System.ObjectDisposedException::.ctor(System.String)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ObjectDisposedException__ctor_mB2C8582279AF3F0C1CF9AA52DA7331BF848DFD48 (ObjectDisposedException_tC5FB29E8E980E2010A2F6A5B9B791089419F89EB* __this, String_t* ___0_objectName, const RuntimeMethod* method) ;
- // System.Threading.Thread System.Threading.Thread::get_CurrentThread()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* Thread_get_CurrentThread_m6D4719F4993DB9200490531FF02D4076FF9CA9BD (const RuntimeMethod* method) ;
- // System.Int32 System.Threading.Thread::get_ManagedThreadId()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Thread_get_ManagedThreadId_m74ACB74A574EE535C2B00B7D64F203A62E796B05 (Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* __this, const RuntimeMethod* method) ;
- // System.String SR::GetString(System.String)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_GetString_m2213C501E26D6A1AE8D0644E9685AF8A4204CA7F (String_t* ___0_name, const RuntimeMethod* method) ;
- // System.Void System.Threading.LockRecursionException::.ctor(System.String)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LockRecursionException__ctor_mCC42F0B1F378BC1F03AD51ABA4438BB5807F742B (LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496* __this, String_t* ___0_message, const RuntimeMethod* method) ;
- // System.Void System.Threading.ReaderWriterLockSlim::EnterMyLock()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_EnterMyLock_mDB590C9A0A55830B1C347DAB0A3F4972E9F0DE59_inline (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
- // System.Threading.ReaderWriterCount System.Threading.ReaderWriterLockSlim::GetThreadRWCount(System.Boolean)
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* ReaderWriterLockSlim_GetThreadRWCount_m693F7FFBBFB98DEF312E4B3A200DA95266CA4E96_inline (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, bool ___0_dontAllocate, const RuntimeMethod* method) ;
- // System.Void System.Threading.ReaderWriterLockSlim::ExitMyLock()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
- // System.Boolean System.Threading.ReaderWriterLockSlim::IsWriterAcquired()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_IsWriterAcquired_m6D1FB82F2349C4B48345C9EBEFFCC3FA69EF5A76 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
- // System.Void System.Threading.ReaderWriterLockSlim::SetWriterAcquired()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_SetWriterAcquired_mE496DF38D30454011343EE638FAC1EF2B5E8319C (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
- // System.UInt32 System.Threading.ReaderWriterLockSlim::GetNumReaders()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t ReaderWriterLockSlim_GetNumReaders_m300EBD28D2300167E37C0F67AD04AF7BE87C1DB1 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
- // System.Boolean System.Threading.ReaderWriterLockSlim::IsRwHashEntryChanged(System.Threading.ReaderWriterCount)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_IsRwHashEntryChanged_mCCC27B0221422991C4F5A2CE35263EBC24CB8402 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* ___0_lrwc, const RuntimeMethod* method) ;
- // System.Boolean System.Threading.ReaderWriterLockSlim/TimeoutTracker::get_IsExpired()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeoutTracker_get_IsExpired_m5E08DCC01117EF66ADEBA5472B27833577289813 (TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C* __this, const RuntimeMethod* method) ;
- // System.Void System.Threading.ReaderWriterLockSlim::SpinWait(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_SpinWait_mFFFC84F8CF5AA3863BEE5CD292FE63B335A5D11B (int32_t ___0_SpinCount, const RuntimeMethod* method) ;
- // System.Void System.Threading.ReaderWriterLockSlim::LazyCreateEvent(System.Threading.EventWaitHandle&,System.Boolean)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_LazyCreateEvent_m4D2DFCB1AD5A749408939AA0D12B7C3959A36923 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E** ___0_waitEvent, bool ___1_makeAutoResetEvent, const RuntimeMethod* method) ;
- // System.Boolean System.Threading.ReaderWriterLockSlim::WaitOnEvent(System.Threading.EventWaitHandle,System.UInt32&,System.Threading.ReaderWriterLockSlim/TimeoutTracker,System.Boolean)
- 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) ;
- // System.Boolean System.Threading.ReaderWriterLockSlim::TryEnterUpgradeableReadLock(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_TryEnterUpgradeableReadLock_m8D1AC20D086B7CD5019836984BCE18635DEB34DF (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, int32_t ___0_millisecondsTimeout, const RuntimeMethod* method) ;
- // System.Boolean System.Threading.ReaderWriterLockSlim::TryEnterUpgradeableReadLock(System.Threading.ReaderWriterLockSlim/TimeoutTracker)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_TryEnterUpgradeableReadLock_m67F6B1EC0CCE06AB1F444221036CE7AE614518CC (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C ___0_timeout, const RuntimeMethod* method) ;
- // System.Boolean System.Threading.ReaderWriterLockSlim::TryEnterUpgradeableReadLockCore(System.Threading.ReaderWriterLockSlim/TimeoutTracker)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_TryEnterUpgradeableReadLockCore_mA84580B68864B07DD3D6A2A4F48FCFE72EEA6F6F (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C ___0_timeout, const RuntimeMethod* method) ;
- // System.Void System.Threading.SynchronizationLockException::.ctor(System.String)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SynchronizationLockException__ctor_m2AEF9CF8E5DFE8F5A7CFB02E5AEF7640971BA970 (SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34* __this, String_t* ___0_message, const RuntimeMethod* method) ;
- // System.Void System.Threading.ReaderWriterLockSlim::ClearWriterAcquired()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_ClearWriterAcquired_mBCDFD72656A5D8EFCEE5A0AD39233D37E44461DC (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
- // System.Void System.Threading.ReaderWriterLockSlim::ExitAndWakeUpAppropriateWaiters()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_ExitAndWakeUpAppropriateWaiters_m43EB7B2724EC44E2F0B4E3CA6A51752345978E90 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
- // System.Void System.Threading.AutoResetEvent::.ctor(System.Boolean)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AutoResetEvent__ctor_mB7C8CD30C5BE11A2C8DB79B27593CF0C5FE82ADE (AutoResetEvent_t7F792F3F7AD11BEF7B411E771D98E5266A8CE7C0* __this, bool ___0_initialState, const RuntimeMethod* method) ;
- // System.Void System.Threading.ManualResetEvent::.ctor(System.Boolean)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ManualResetEvent__ctor_m361CFCF6AC28BFFF5C8790DC2B5951791A1C4CEE (ManualResetEvent_t63959486AA41A113A4353D0BF4A68E77EBA0A158* __this, bool ___0_initialState, const RuntimeMethod* method) ;
- // System.Boolean System.Threading.EventWaitHandle::Reset()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool EventWaitHandle_Reset_m84719BED571BDAAEE27EE05F57295C7107A74DE6 (EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* __this, const RuntimeMethod* method) ;
- // System.Void System.Threading.ReaderWriterLockSlim::SetWritersWaiting()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_SetWritersWaiting_mEBE801FBDAFD33AF1B8E3CE71F0AD0C9CDA69902 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
- // System.Void System.Threading.ReaderWriterLockSlim::SetUpgraderWaiting()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_SetUpgraderWaiting_m5C7C47EBCA531D201CA72CB27D0548F71375BCAC (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
- // System.Void System.Threading.ReaderWriterLockSlim::ClearWritersWaiting()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_ClearWritersWaiting_m7587122D0BAD6384DE3B38DB6BF7D38B364A4935 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
- // System.Void System.Threading.ReaderWriterLockSlim::ClearUpgraderWaiting()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_ClearUpgraderWaiting_m214E8B0780542079CB3D9D5C28C58C47A72E91E4 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
- // System.Void System.Threading.ReaderWriterLockSlim::ExitAndWakeUpAppropriateReadWaiters()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_ExitAndWakeUpAppropriateReadWaiters_m19BFCEE3D042633B1F106BBD76E28DA69271606D (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
- // System.Int32 System.Threading.ReaderWriterLockSlim/TimeoutTracker::get_RemainingMilliseconds()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TimeoutTracker_get_RemainingMilliseconds_mDAA8A0E545F8E28D3688095CA346B0A04337BC23 (TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C* __this, const RuntimeMethod* method) ;
- // System.Void System.Threading.ReaderWriterLockSlim::ExitAndWakeUpAppropriateWaitersPreferringWriters()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_ExitAndWakeUpAppropriateWaitersPreferringWriters_m2EE29EE42CEA6142CA8C741BC74CFBE4483E5CA8 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
- // System.Boolean System.Threading.EventWaitHandle::Set()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool EventWaitHandle_Set_mDF98D67F214714A9590DF82A1C51D3D851281E4D (EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* __this, const RuntimeMethod* method) ;
- // System.Int32 System.Threading.Interlocked::CompareExchange(System.Int32&,System.Int32,System.Int32)
- 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) ;
- // System.Void System.Threading.ReaderWriterLockSlim::EnterMyLockSpin()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_EnterMyLockSpin_mC785B7BB91A152B37FF1115AFA5D752AC6DBE9F6 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
- // System.Int32 System.Threading.PlatformHelper::get_ProcessorCount()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PlatformHelper_get_ProcessorCount_m123AB465E201104882D03864A7C6E08F1A55F3F9 (const RuntimeMethod* method) ;
- // System.Void System.Threading.Thread::SpinWait(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_SpinWait_mC14652A66AA1BF72ADC7E0BF702E9F0B8D7B64D7 (int32_t ___0_iterations, const RuntimeMethod* method) ;
- // System.Void System.Threading.Thread::Sleep(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_Sleep_m71DE163765BF465EC4A0163F2ED4D43143094549 (int32_t ___0_millisecondsTimeout, const RuntimeMethod* method) ;
- // System.Void System.Threading.ReaderWriterLockSlim::Dispose(System.Boolean)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_Dispose_mA894FFFD0829F6CEDD8318482F57D2A5FCFD5661 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, bool ___0_disposing, const RuntimeMethod* method) ;
- // System.Int32 System.Threading.ReaderWriterLockSlim::get_WaitingReadCount()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t ReaderWriterLockSlim_get_WaitingReadCount_mD79E93CABC9BFBA4AB306193DDF8CE90F1818C92_inline (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
- // System.Int32 System.Threading.ReaderWriterLockSlim::get_WaitingUpgradeCount()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t ReaderWriterLockSlim_get_WaitingUpgradeCount_m13892A21F7EF1D7ED202D186B2E7B2B6C400F388_inline (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
- // System.Int32 System.Threading.ReaderWriterLockSlim::get_WaitingWriteCount()
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t ReaderWriterLockSlim_get_WaitingWriteCount_m8FE677BDB0E776125691C0A4C1A74B5B8637D246_inline (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
- // System.Boolean System.Threading.ReaderWriterLockSlim::get_IsReadLockHeld()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_get_IsReadLockHeld_mFF28229B26471192A3B8B195EE1C85509B5EA029 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
- // System.Boolean System.Threading.ReaderWriterLockSlim::get_IsUpgradeableReadLockHeld()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_get_IsUpgradeableReadLockHeld_mBDFD4377C488FD48B7E211ADE5F5CDEEFD78E1CF (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
- // System.Boolean System.Threading.ReaderWriterLockSlim::get_IsWriteLockHeld()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_get_IsWriteLockHeld_m2F8585FFD00B88CA788152EA5E0BF460B28782A7 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
- // System.Int32 System.Threading.ReaderWriterLockSlim::get_RecursiveReadCount()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ReaderWriterLockSlim_get_RecursiveReadCount_mA7709352D9817A46AFE62AD5CF94631E15FB1067 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
- // System.Int32 System.Threading.ReaderWriterLockSlim::get_RecursiveUpgradeCount()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ReaderWriterLockSlim_get_RecursiveUpgradeCount_mFF4BF2756AE36B12E7822FAE7BAB8B7CDEF4D41D (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
- // System.Int32 System.Threading.ReaderWriterLockSlim::get_RecursiveWriteCount()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ReaderWriterLockSlim_get_RecursiveWriteCount_m51147A8E3CA34D7D6EDC8986BB8518AE7CE16145 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method) ;
- // System.Void System.ArgumentOutOfRangeException::.ctor(System.String)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentOutOfRangeException__ctor_mBC1D5DEEA1BA41DE77228CB27D6BAFEB6DCCBF4A (ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F* __this, String_t* ___0_paramName, const RuntimeMethod* method) ;
- // System.Int32 System.Environment::get_TickCount()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Environment_get_TickCount_m183BFCF001E12849E3D898957F0B81FD88BA183C (const RuntimeMethod* method) ;
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Void System.Collections.Generic.BitHelper::.ctor(System.Int32*,System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BitHelper__ctor_m141F24AE9FFCB3EA3D2C7EA79BDAC722026EDEB3 (BitHelper_t2BEA51BB52EB1672DBF4163ED6757DCEEB3A4DF1* __this, int32_t* ___0_bitArrayPtr, int32_t ___1_length, const RuntimeMethod* method)
- {
- {
- Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
- int32_t* L_0 = ___0_bitArrayPtr;
- __this->____arrayPtr_1 = L_0;
- int32_t L_1 = ___1_length;
- __this->____length_0 = L_1;
- __this->____useStackAlloc_3 = (bool)1;
- return;
- }
- }
- // System.Void System.Collections.Generic.BitHelper::.ctor(System.Int32[],System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BitHelper__ctor_m795A92E9A03F57547FD78A8E50F730C2778DDD19 (BitHelper_t2BEA51BB52EB1672DBF4163ED6757DCEEB3A4DF1* __this, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___0_bitArray, int32_t ___1_length, const RuntimeMethod* method)
- {
- {
- Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
- Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_0 = ___0_bitArray;
- __this->____array_2 = L_0;
- Il2CppCodeGenWriteBarrier((void**)(&__this->____array_2), (void*)L_0);
- int32_t L_1 = ___1_length;
- __this->____length_0 = L_1;
- return;
- }
- }
- // System.Void System.Collections.Generic.BitHelper::MarkBit(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BitHelper_MarkBit_m12EFF71C5444F4E4D076F514C0C0723B39E50F86 (BitHelper_t2BEA51BB52EB1672DBF4163ED6757DCEEB3A4DF1* __this, int32_t ___0_bitPosition, const RuntimeMethod* method)
- {
- int32_t V_0 = 0;
- int32_t V_1 = 0;
- {
- int32_t L_0 = ___0_bitPosition;
- V_0 = ((int32_t)(L_0/((int32_t)32)));
- int32_t L_1 = V_0;
- int32_t L_2 = __this->____length_0;
- if ((((int32_t)L_1) >= ((int32_t)L_2)))
- {
- goto IL_0046;
- }
- }
- {
- int32_t L_3 = V_0;
- if ((((int32_t)L_3) < ((int32_t)0)))
- {
- goto IL_0046;
- }
- }
- {
- int32_t L_4 = ___0_bitPosition;
- V_1 = ((int32_t)(1<<((int32_t)(((int32_t)(L_4%((int32_t)32)))&((int32_t)31)))));
- bool L_5 = __this->____useStackAlloc_3;
- if (!L_5)
- {
- goto IL_0035;
- }
- }
- {
- int32_t* L_6 = __this->____arrayPtr_1;
- int32_t L_7 = V_0;
- int32_t* L_8 = ((int32_t*)il2cpp_codegen_add((intptr_t)L_6, ((intptr_t)il2cpp_codegen_multiply(((intptr_t)L_7), 4))));
- int32_t L_9 = *((int32_t*)L_8);
- int32_t L_10 = V_1;
- *((int32_t*)L_8) = (int32_t)((int32_t)(L_9|L_10));
- return;
- }
-
- IL_0035:
- {
- Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_11 = __this->____array_2;
- int32_t L_12 = V_0;
- NullCheck(L_11);
- int32_t* L_13 = ((L_11)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_12)));
- int32_t L_14 = *((int32_t*)L_13);
- int32_t L_15 = V_1;
- *((int32_t*)L_13) = (int32_t)((int32_t)(L_14|L_15));
- }
-
- IL_0046:
- {
- return;
- }
- }
- // System.Boolean System.Collections.Generic.BitHelper::IsMarked(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BitHelper_IsMarked_m0A02826959B4EF6381B8F6C7DF0EDBFC55EE8EF2 (BitHelper_t2BEA51BB52EB1672DBF4163ED6757DCEEB3A4DF1* __this, int32_t ___0_bitPosition, const RuntimeMethod* method)
- {
- int32_t V_0 = 0;
- int32_t V_1 = 0;
- {
- int32_t L_0 = ___0_bitPosition;
- V_0 = ((int32_t)(L_0/((int32_t)32)));
- int32_t L_1 = V_0;
- int32_t L_2 = __this->____length_0;
- if ((((int32_t)L_1) >= ((int32_t)L_2)))
- {
- goto IL_0044;
- }
- }
- {
- int32_t L_3 = V_0;
- if ((((int32_t)L_3) < ((int32_t)0)))
- {
- goto IL_0044;
- }
- }
- {
- int32_t L_4 = ___0_bitPosition;
- V_1 = ((int32_t)(1<<((int32_t)(((int32_t)(L_4%((int32_t)32)))&((int32_t)31)))));
- bool L_5 = __this->____useStackAlloc_3;
- if (!L_5)
- {
- goto IL_0036;
- }
- }
- {
- int32_t* L_6 = __this->____arrayPtr_1;
- int32_t L_7 = V_0;
- 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)))));
- int32_t L_9 = V_1;
- return (bool)((!(((uint32_t)((int32_t)(L_8&L_9))) <= ((uint32_t)0)))? 1 : 0);
- }
-
- IL_0036:
- {
- Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_10 = __this->____array_2;
- int32_t L_11 = V_0;
- NullCheck(L_10);
- int32_t L_12 = L_11;
- int32_t L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
- int32_t L_14 = V_1;
- return (bool)((!(((uint32_t)((int32_t)(L_13&L_14))) <= ((uint32_t)0)))? 1 : 0);
- }
-
- IL_0044:
- {
- return (bool)0;
- }
- }
- // System.Int32 System.Collections.Generic.BitHelper::ToIntArrayLength(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t BitHelper_ToIntArrayLength_m59204C3775D26A8B9532246C2F384C92D02E713C (int32_t ___0_n, const RuntimeMethod* method)
- {
- {
- int32_t L_0 = ___0_n;
- if ((((int32_t)L_0) > ((int32_t)0)))
- {
- goto IL_0006;
- }
- }
- {
- return 0;
- }
-
- IL_0006:
- {
- int32_t L_1 = ___0_n;
- return ((int32_t)il2cpp_codegen_add(((int32_t)(((int32_t)il2cpp_codegen_subtract(L_1, 1))/((int32_t)32))), 1));
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Void System.Threading.ReaderWriterCount::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterCount__ctor_m8FE7B774A506545AF710639DB53F7677A2FA658A (ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* __this, const RuntimeMethod* method)
- {
- {
- Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
- return;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Void System.Threading.ReaderWriterLockSlim::InitializeThreadCounts()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_InitializeThreadCounts_m7A12BC0D8F0D8C70EC8CA19F435EEEDAE5475A41 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- {
- __this->___upgradeLockOwnerId_7 = (-1);
- __this->___writeLockOwnerId_8 = (-1);
- return;
- }
- }
- // System.Void System.Threading.ReaderWriterLockSlim::.ctor()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim__ctor_m617A86382C7F076BC04E68726F50961C799688E8 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- {
- ReaderWriterLockSlim__ctor_m19E2A503BBF4DF37E4C601EC1E745380EF945F0C(__this, 0, NULL);
- return;
- }
- }
- // System.Void System.Threading.ReaderWriterLockSlim::.ctor(System.Threading.LockRecursionPolicy)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim__ctor_m19E2A503BBF4DF37E4C601EC1E745380EF945F0C (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, int32_t ___0_recursionPolicy, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
- int32_t L_0 = ___0_recursionPolicy;
- if ((!(((uint32_t)L_0) == ((uint32_t)1))))
- {
- goto IL_0011;
- }
- }
- {
- __this->___fIsReentrant_0 = (bool)1;
- }
-
- IL_0011:
- {
- ReaderWriterLockSlim_InitializeThreadCounts_m7A12BC0D8F0D8C70EC8CA19F435EEEDAE5475A41(__this, NULL);
- __this->___fNoWaiters_6 = (bool)1;
- int64_t L_1;
- L_1 = Interlocked_Increment_m12CD643CCD5FCDE95DBC0AB07D09AF696E26F9C0((&((ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_StaticFields*)il2cpp_codegen_static_fields_for(ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_il2cpp_TypeInfo_var))->___s_nextLockID_13), NULL);
- __this->___lockID_14 = L_1;
- return;
- }
- }
- // System.Boolean System.Threading.ReaderWriterLockSlim::IsRWEntryEmpty(System.Threading.ReaderWriterCount)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_IsRWEntryEmpty_m34743FF639EF9B44D704FC98D3DEA99CFD634E95 (ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* ___0_rwc, const RuntimeMethod* method)
- {
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_0 = ___0_rwc;
- NullCheck(L_0);
- int64_t L_1 = L_0->___lockID_0;
- if (L_1)
- {
- goto IL_000a;
- }
- }
- {
- return (bool)1;
- }
-
- IL_000a:
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_2 = ___0_rwc;
- NullCheck(L_2);
- int32_t L_3 = L_2->___readercount_1;
- if (L_3)
- {
- goto IL_0024;
- }
- }
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_4 = ___0_rwc;
- NullCheck(L_4);
- int32_t L_5 = L_4->___writercount_2;
- if (L_5)
- {
- goto IL_0024;
- }
- }
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_6 = ___0_rwc;
- NullCheck(L_6);
- int32_t L_7 = L_6->___upgradecount_3;
- if (L_7)
- {
- goto IL_0024;
- }
- }
- {
- return (bool)1;
- }
-
- IL_0024:
- {
- return (bool)0;
- }
- }
- // System.Boolean System.Threading.ReaderWriterLockSlim::IsRwHashEntryChanged(System.Threading.ReaderWriterCount)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_IsRwHashEntryChanged_mCCC27B0221422991C4F5A2CE35263EBC24CB8402 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* ___0_lrwc, const RuntimeMethod* method)
- {
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_0 = ___0_lrwc;
- NullCheck(L_0);
- int64_t L_1 = L_0->___lockID_0;
- int64_t L_2 = __this->___lockID_14;
- return (bool)((((int32_t)((((int64_t)L_1) == ((int64_t)L_2))? 1 : 0)) == ((int32_t)0))? 1 : 0);
- }
- }
- // System.Threading.ReaderWriterCount System.Threading.ReaderWriterLockSlim::GetThreadRWCount(System.Boolean)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* ReaderWriterLockSlim_GetThreadRWCount_m693F7FFBBFB98DEF312E4B3A200DA95266CA4E96 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, bool ___0_dontAllocate, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* V_0 = NULL;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* V_1 = NULL;
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_0 = ((ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_il2cpp_TypeInfo_var))->___t_rwc_15;
- V_0 = L_0;
- V_1 = (ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333*)NULL;
- goto IL_0031;
- }
-
- IL_000a:
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_1 = V_0;
- NullCheck(L_1);
- int64_t L_2 = L_1->___lockID_0;
- int64_t L_3 = __this->___lockID_14;
- if ((!(((uint64_t)L_2) == ((uint64_t)L_3))))
- {
- goto IL_001a;
- }
- }
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_4 = V_0;
- return L_4;
- }
-
- IL_001a:
- {
- bool L_5 = ___0_dontAllocate;
- if (L_5)
- {
- goto IL_002a;
- }
- }
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_6 = V_1;
- if (L_6)
- {
- goto IL_002a;
- }
- }
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_7 = V_0;
- bool L_8;
- L_8 = ReaderWriterLockSlim_IsRWEntryEmpty_m34743FF639EF9B44D704FC98D3DEA99CFD634E95_inline(L_7, NULL);
- if (!L_8)
- {
- goto IL_002a;
- }
- }
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_9 = V_0;
- V_1 = L_9;
- }
-
- IL_002a:
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_10 = V_0;
- NullCheck(L_10);
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_11 = L_10->___next_4;
- V_0 = L_11;
- }
-
- IL_0031:
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_12 = V_0;
- if (L_12)
- {
- goto IL_000a;
- }
- }
- {
- bool L_13 = ___0_dontAllocate;
- if (!L_13)
- {
- goto IL_0039;
- }
- }
- {
- return (ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333*)NULL;
- }
-
- IL_0039:
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_14 = V_1;
- if (L_14)
- {
- goto IL_0053;
- }
- }
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_15 = (ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333*)il2cpp_codegen_object_new(ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333_il2cpp_TypeInfo_var);
- NullCheck(L_15);
- ReaderWriterCount__ctor_m8FE7B774A506545AF710639DB53F7677A2FA658A(L_15, NULL);
- V_1 = L_15;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_16 = V_1;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_17 = ((ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_il2cpp_TypeInfo_var))->___t_rwc_15;
- NullCheck(L_16);
- L_16->___next_4 = L_17;
- Il2CppCodeGenWriteBarrier((void**)(&L_16->___next_4), (void*)L_17);
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_18 = V_1;
- ((ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_il2cpp_TypeInfo_var))->___t_rwc_15 = L_18;
- Il2CppCodeGenWriteBarrier((void**)(&((ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_il2cpp_TypeInfo_var))->___t_rwc_15), (void*)L_18);
- }
-
- IL_0053:
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_19 = V_1;
- int64_t L_20 = __this->___lockID_14;
- NullCheck(L_19);
- L_19->___lockID_0 = L_20;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_21 = V_1;
- return L_21;
- }
- }
- // System.Void System.Threading.ReaderWriterLockSlim::EnterWriteLock()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_EnterWriteLock_mB07CEB326AB495488982834C444FA8E7CE70A8BA (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- {
- bool L_0;
- L_0 = ReaderWriterLockSlim_TryEnterWriteLock_mE43F653D65A448225134E0CE1A289C4E112C62A2(__this, (-1), NULL);
- return;
- }
- }
- // System.Boolean System.Threading.ReaderWriterLockSlim::TryEnterWriteLock(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_TryEnterWriteLock_mE43F653D65A448225134E0CE1A289C4E112C62A2 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, int32_t ___0_millisecondsTimeout, const RuntimeMethod* method)
- {
- {
- int32_t L_0 = ___0_millisecondsTimeout;
- TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C L_1;
- memset((&L_1), 0, sizeof(L_1));
- TimeoutTracker__ctor_mBFE73B99C5BBB93D251DF9731B9C5D824F30CDCE((&L_1), L_0, /*hidden argument*/NULL);
- bool L_2;
- L_2 = ReaderWriterLockSlim_TryEnterWriteLock_mBFFB3599E5D8C30B2D22A876CC58F647AEA2EDAE(__this, L_1, NULL);
- return L_2;
- }
- }
- // System.Boolean System.Threading.ReaderWriterLockSlim::TryEnterWriteLock(System.Threading.ReaderWriterLockSlim/TimeoutTracker)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_TryEnterWriteLock_mBFFB3599E5D8C30B2D22A876CC58F647AEA2EDAE (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C ___0_timeout, const RuntimeMethod* method)
- {
- {
- TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C L_0 = ___0_timeout;
- bool L_1;
- L_1 = ReaderWriterLockSlim_TryEnterWriteLockCore_m18B708E74264AC43BAD623C8ACC92370DA32888B(__this, L_0, NULL);
- return L_1;
- }
- }
- // System.Boolean System.Threading.ReaderWriterLockSlim::TryEnterWriteLockCore(System.Threading.ReaderWriterLockSlim/TimeoutTracker)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_TryEnterWriteLockCore_m18B708E74264AC43BAD623C8ACC92370DA32888B (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C ___0_timeout, const RuntimeMethod* method)
- {
- int32_t V_0 = 0;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* V_1 = NULL;
- bool V_2 = false;
- int32_t V_3 = 0;
- uint32_t V_4 = 0;
- {
- bool L_0 = __this->___fDisposed_18;
- if (!L_0)
- {
- goto IL_000f;
- }
- }
- {
- ObjectDisposedException_tC5FB29E8E980E2010A2F6A5B9B791089419F89EB* L_1 = (ObjectDisposedException_tC5FB29E8E980E2010A2F6A5B9B791089419F89EB*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ObjectDisposedException_tC5FB29E8E980E2010A2F6A5B9B791089419F89EB_il2cpp_TypeInfo_var)));
- NullCheck(L_1);
- ObjectDisposedException__ctor_mB2C8582279AF3F0C1CF9AA52DA7331BF848DFD48(L_1, (String_t*)NULL, NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_TryEnterWriteLockCore_m18B708E74264AC43BAD623C8ACC92370DA32888B_RuntimeMethod_var)));
- }
-
- IL_000f:
- {
- Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* L_2;
- L_2 = Thread_get_CurrentThread_m6D4719F4993DB9200490531FF02D4076FF9CA9BD(NULL);
- NullCheck(L_2);
- int32_t L_3;
- L_3 = Thread_get_ManagedThreadId_m74ACB74A574EE535C2B00B7D64F203A62E796B05(L_2, NULL);
- V_0 = L_3;
- V_2 = (bool)0;
- bool L_4 = __this->___fIsReentrant_0;
- if (L_4)
- {
- goto IL_0078;
- }
- }
- {
- int32_t L_5 = V_0;
- int32_t L_6 = __this->___writeLockOwnerId_8;
- if ((!(((uint32_t)L_5) == ((uint32_t)L_6))))
- {
- goto IL_003d;
- }
- }
- {
- String_t* L_7;
- L_7 = SR_GetString_m2213C501E26D6A1AE8D0644E9685AF8A4204CA7F(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral485C8998D53F77608ABEDAF04A4DBE853A80D357)), NULL);
- LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496* L_8 = (LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496_il2cpp_TypeInfo_var)));
- NullCheck(L_8);
- LockRecursionException__ctor_mCC42F0B1F378BC1F03AD51ABA4438BB5807F742B(L_8, L_7, NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_TryEnterWriteLockCore_m18B708E74264AC43BAD623C8ACC92370DA32888B_RuntimeMethod_var)));
- }
-
- IL_003d:
- {
- int32_t L_9 = V_0;
- int32_t L_10 = __this->___upgradeLockOwnerId_7;
- if ((!(((uint32_t)L_9) == ((uint32_t)L_10))))
- {
- goto IL_0048;
- }
- }
- {
- V_2 = (bool)1;
- }
-
- IL_0048:
- {
- ReaderWriterLockSlim_EnterMyLock_mDB590C9A0A55830B1C347DAB0A3F4972E9F0DE59_inline(__this, NULL);
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_11;
- L_11 = ReaderWriterLockSlim_GetThreadRWCount_m693F7FFBBFB98DEF312E4B3A200DA95266CA4E96_inline(__this, (bool)1, NULL);
- V_1 = L_11;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_12 = V_1;
- if (!L_12)
- {
- goto IL_00d1;
- }
- }
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_13 = V_1;
- NullCheck(L_13);
- int32_t L_14 = L_13->___readercount_1;
- if ((((int32_t)L_14) <= ((int32_t)0)))
- {
- goto IL_00d1;
- }
- }
- {
- ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
- String_t* L_15;
- L_15 = SR_GetString_m2213C501E26D6A1AE8D0644E9685AF8A4204CA7F(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral28BCDD3CA5E41255B6A2EBE02C50B3F4CE3093AA)), NULL);
- LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496* L_16 = (LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496_il2cpp_TypeInfo_var)));
- NullCheck(L_16);
- LockRecursionException__ctor_mCC42F0B1F378BC1F03AD51ABA4438BB5807F742B(L_16, L_15, NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_16, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_TryEnterWriteLockCore_m18B708E74264AC43BAD623C8ACC92370DA32888B_RuntimeMethod_var)));
- }
-
- IL_0078:
- {
- ReaderWriterLockSlim_EnterMyLock_mDB590C9A0A55830B1C347DAB0A3F4972E9F0DE59_inline(__this, NULL);
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_17;
- L_17 = ReaderWriterLockSlim_GetThreadRWCount_m693F7FFBBFB98DEF312E4B3A200DA95266CA4E96_inline(__this, (bool)0, NULL);
- V_1 = L_17;
- int32_t L_18 = V_0;
- int32_t L_19 = __this->___writeLockOwnerId_8;
- if ((!(((uint32_t)L_18) == ((uint32_t)L_19))))
- {
- goto IL_00a5;
- }
- }
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_20 = V_1;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_21 = L_20;
- NullCheck(L_21);
- int32_t L_22 = L_21->___writercount_2;
- NullCheck(L_21);
- L_21->___writercount_2 = ((int32_t)il2cpp_codegen_add(L_22, 1));
- ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
- return (bool)1;
- }
-
- IL_00a5:
- {
- int32_t L_23 = V_0;
- int32_t L_24 = __this->___upgradeLockOwnerId_7;
- if ((!(((uint32_t)L_23) == ((uint32_t)L_24))))
- {
- goto IL_00b2;
- }
- }
- {
- V_2 = (bool)1;
- goto IL_00d1;
- }
-
- IL_00b2:
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_25 = V_1;
- NullCheck(L_25);
- int32_t L_26 = L_25->___readercount_1;
- if ((((int32_t)L_26) <= ((int32_t)0)))
- {
- goto IL_00d1;
- }
- }
- {
- ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
- String_t* L_27;
- L_27 = SR_GetString_m2213C501E26D6A1AE8D0644E9685AF8A4204CA7F(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral28BCDD3CA5E41255B6A2EBE02C50B3F4CE3093AA)), NULL);
- LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496* L_28 = (LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496_il2cpp_TypeInfo_var)));
- NullCheck(L_28);
- LockRecursionException__ctor_mCC42F0B1F378BC1F03AD51ABA4438BB5807F742B(L_28, L_27, NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_28, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_TryEnterWriteLockCore_m18B708E74264AC43BAD623C8ACC92370DA32888B_RuntimeMethod_var)));
- }
-
- IL_00d1:
- {
- V_3 = 0;
- }
-
- IL_00d3:
- {
- bool L_29;
- L_29 = ReaderWriterLockSlim_IsWriterAcquired_m6D1FB82F2349C4B48345C9EBEFFCC3FA69EF5A76(__this, NULL);
- if (!L_29)
- {
- goto IL_00e6;
- }
- }
- {
- ReaderWriterLockSlim_SetWriterAcquired_mE496DF38D30454011343EE638FAC1EF2B5E8319C(__this, NULL);
- goto IL_01c6;
- }
-
- IL_00e6:
- {
- bool L_30 = V_2;
- if (!L_30)
- {
- goto IL_012e;
- }
- }
- {
- uint32_t L_31;
- L_31 = ReaderWriterLockSlim_GetNumReaders_m300EBD28D2300167E37C0F67AD04AF7BE87C1DB1(__this, NULL);
- V_4 = L_31;
- uint32_t L_32 = V_4;
- if ((!(((uint32_t)L_32) == ((uint32_t)1))))
- {
- goto IL_0101;
- }
- }
- {
- ReaderWriterLockSlim_SetWriterAcquired_mE496DF38D30454011343EE638FAC1EF2B5E8319C(__this, NULL);
- goto IL_01c6;
- }
-
- IL_0101:
- {
- uint32_t L_33 = V_4;
- if ((!(((uint32_t)L_33) == ((uint32_t)2))))
- {
- goto IL_012e;
- }
- }
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_34 = V_1;
- if (!L_34)
- {
- goto IL_012e;
- }
- }
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_35 = V_1;
- bool L_36;
- L_36 = ReaderWriterLockSlim_IsRwHashEntryChanged_mCCC27B0221422991C4F5A2CE35263EBC24CB8402(__this, L_35, NULL);
- if (!L_36)
- {
- goto IL_011a;
- }
- }
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_37;
- L_37 = ReaderWriterLockSlim_GetThreadRWCount_m693F7FFBBFB98DEF312E4B3A200DA95266CA4E96_inline(__this, (bool)0, NULL);
- V_1 = L_37;
- }
-
- IL_011a:
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_38 = V_1;
- NullCheck(L_38);
- int32_t L_39 = L_38->___readercount_1;
- if ((((int32_t)L_39) <= ((int32_t)0)))
- {
- goto IL_012e;
- }
- }
- {
- ReaderWriterLockSlim_SetWriterAcquired_mE496DF38D30454011343EE638FAC1EF2B5E8319C(__this, NULL);
- goto IL_01c6;
- }
-
- IL_012e:
- {
- int32_t L_40 = V_3;
- if ((((int32_t)L_40) >= ((int32_t)((int32_t)20))))
- {
- goto IL_0159;
- }
- }
- {
- ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
- bool L_41;
- L_41 = TimeoutTracker_get_IsExpired_m5E08DCC01117EF66ADEBA5472B27833577289813((&___0_timeout), NULL);
- if (!L_41)
- {
- goto IL_0144;
- }
- }
- {
- return (bool)0;
- }
-
- IL_0144:
- {
- int32_t L_42 = V_3;
- V_3 = ((int32_t)il2cpp_codegen_add(L_42, 1));
- int32_t L_43 = V_3;
- ReaderWriterLockSlim_SpinWait_mFFFC84F8CF5AA3863BEE5CD292FE63B335A5D11B(L_43, NULL);
- ReaderWriterLockSlim_EnterMyLock_mDB590C9A0A55830B1C347DAB0A3F4972E9F0DE59_inline(__this, NULL);
- goto IL_00d3;
- }
-
- IL_0159:
- {
- bool L_44 = V_2;
- if (!L_44)
- {
- goto IL_0191;
- }
- }
- {
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_45 = __this->___waitUpgradeEvent_12;
- if (L_45)
- {
- goto IL_0176;
- }
- }
- {
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E** L_46 = (&__this->___waitUpgradeEvent_12);
- ReaderWriterLockSlim_LazyCreateEvent_m4D2DFCB1AD5A749408939AA0D12B7C3959A36923(__this, L_46, (bool)1, NULL);
- goto IL_00d3;
- }
-
- IL_0176:
- {
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_47 = __this->___waitUpgradeEvent_12;
- uint32_t* L_48 = (&__this->___numWriteUpgradeWaiters_4);
- TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C L_49 = ___0_timeout;
- bool L_50;
- L_50 = ReaderWriterLockSlim_WaitOnEvent_mFF3B7C48254F2742AED6916DD059ACB2240A78B3(__this, L_47, L_48, L_49, (bool)1, NULL);
- if (L_50)
- {
- goto IL_00d3;
- }
- }
- {
- return (bool)0;
- }
-
- IL_0191:
- {
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_51 = __this->___writeEvent_9;
- if (L_51)
- {
- goto IL_01ab;
- }
- }
- {
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E** L_52 = (&__this->___writeEvent_9);
- ReaderWriterLockSlim_LazyCreateEvent_m4D2DFCB1AD5A749408939AA0D12B7C3959A36923(__this, L_52, (bool)1, NULL);
- goto IL_00d3;
- }
-
- IL_01ab:
- {
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_53 = __this->___writeEvent_9;
- uint32_t* L_54 = (&__this->___numWriteWaiters_2);
- TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C L_55 = ___0_timeout;
- bool L_56;
- L_56 = ReaderWriterLockSlim_WaitOnEvent_mFF3B7C48254F2742AED6916DD059ACB2240A78B3(__this, L_53, L_54, L_55, (bool)1, NULL);
- if (L_56)
- {
- goto IL_00d3;
- }
- }
- {
- return (bool)0;
- }
-
- IL_01c6:
- {
- bool L_57 = __this->___fIsReentrant_0;
- if (!L_57)
- {
- goto IL_01ed;
- }
- }
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_58 = V_1;
- bool L_59;
- L_59 = ReaderWriterLockSlim_IsRwHashEntryChanged_mCCC27B0221422991C4F5A2CE35263EBC24CB8402(__this, L_58, NULL);
- if (!L_59)
- {
- goto IL_01df;
- }
- }
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_60;
- L_60 = ReaderWriterLockSlim_GetThreadRWCount_m693F7FFBBFB98DEF312E4B3A200DA95266CA4E96_inline(__this, (bool)0, NULL);
- V_1 = L_60;
- }
-
- IL_01df:
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_61 = V_1;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_62 = L_61;
- NullCheck(L_62);
- int32_t L_63 = L_62->___writercount_2;
- NullCheck(L_62);
- L_62->___writercount_2 = ((int32_t)il2cpp_codegen_add(L_63, 1));
- }
-
- IL_01ed:
- {
- ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
- int32_t L_64 = V_0;
- __this->___writeLockOwnerId_8 = L_64;
- return (bool)1;
- }
- }
- // System.Void System.Threading.ReaderWriterLockSlim::EnterUpgradeableReadLock()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_EnterUpgradeableReadLock_m2BC6F2E7FDE834363821DAE26B1AAD7DAFE4ECEC (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- {
- bool L_0;
- L_0 = ReaderWriterLockSlim_TryEnterUpgradeableReadLock_m8D1AC20D086B7CD5019836984BCE18635DEB34DF(__this, (-1), NULL);
- return;
- }
- }
- // System.Boolean System.Threading.ReaderWriterLockSlim::TryEnterUpgradeableReadLock(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_TryEnterUpgradeableReadLock_m8D1AC20D086B7CD5019836984BCE18635DEB34DF (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, int32_t ___0_millisecondsTimeout, const RuntimeMethod* method)
- {
- {
- int32_t L_0 = ___0_millisecondsTimeout;
- TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C L_1;
- memset((&L_1), 0, sizeof(L_1));
- TimeoutTracker__ctor_mBFE73B99C5BBB93D251DF9731B9C5D824F30CDCE((&L_1), L_0, /*hidden argument*/NULL);
- bool L_2;
- L_2 = ReaderWriterLockSlim_TryEnterUpgradeableReadLock_m67F6B1EC0CCE06AB1F444221036CE7AE614518CC(__this, L_1, NULL);
- return L_2;
- }
- }
- // System.Boolean System.Threading.ReaderWriterLockSlim::TryEnterUpgradeableReadLock(System.Threading.ReaderWriterLockSlim/TimeoutTracker)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_TryEnterUpgradeableReadLock_m67F6B1EC0CCE06AB1F444221036CE7AE614518CC (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C ___0_timeout, const RuntimeMethod* method)
- {
- {
- TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C L_0 = ___0_timeout;
- bool L_1;
- L_1 = ReaderWriterLockSlim_TryEnterUpgradeableReadLockCore_mA84580B68864B07DD3D6A2A4F48FCFE72EEA6F6F(__this, L_0, NULL);
- return L_1;
- }
- }
- // System.Boolean System.Threading.ReaderWriterLockSlim::TryEnterUpgradeableReadLockCore(System.Threading.ReaderWriterLockSlim/TimeoutTracker)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_TryEnterUpgradeableReadLockCore_mA84580B68864B07DD3D6A2A4F48FCFE72EEA6F6F (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C ___0_timeout, const RuntimeMethod* method)
- {
- int32_t V_0 = 0;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* V_1 = NULL;
- int32_t V_2 = 0;
- {
- bool L_0 = __this->___fDisposed_18;
- if (!L_0)
- {
- goto IL_000f;
- }
- }
- {
- ObjectDisposedException_tC5FB29E8E980E2010A2F6A5B9B791089419F89EB* L_1 = (ObjectDisposedException_tC5FB29E8E980E2010A2F6A5B9B791089419F89EB*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ObjectDisposedException_tC5FB29E8E980E2010A2F6A5B9B791089419F89EB_il2cpp_TypeInfo_var)));
- NullCheck(L_1);
- ObjectDisposedException__ctor_mB2C8582279AF3F0C1CF9AA52DA7331BF848DFD48(L_1, (String_t*)NULL, NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_TryEnterUpgradeableReadLockCore_mA84580B68864B07DD3D6A2A4F48FCFE72EEA6F6F_RuntimeMethod_var)));
- }
-
- IL_000f:
- {
- Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* L_2;
- L_2 = Thread_get_CurrentThread_m6D4719F4993DB9200490531FF02D4076FF9CA9BD(NULL);
- NullCheck(L_2);
- int32_t L_3;
- L_3 = Thread_get_ManagedThreadId_m74ACB74A574EE535C2B00B7D64F203A62E796B05(L_2, NULL);
- V_0 = L_3;
- bool L_4 = __this->___fIsReentrant_0;
- if (L_4)
- {
- goto IL_008a;
- }
- }
- {
- int32_t L_5 = V_0;
- int32_t L_6 = __this->___upgradeLockOwnerId_7;
- if ((!(((uint32_t)L_5) == ((uint32_t)L_6))))
- {
- goto IL_003b;
- }
- }
- {
- String_t* L_7;
- L_7 = SR_GetString_m2213C501E26D6A1AE8D0644E9685AF8A4204CA7F(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral8822CE4A43FFFD3B2CC49B9D5FC1B66F0CCBF3B1)), NULL);
- LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496* L_8 = (LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496_il2cpp_TypeInfo_var)));
- NullCheck(L_8);
- LockRecursionException__ctor_mCC42F0B1F378BC1F03AD51ABA4438BB5807F742B(L_8, L_7, NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_TryEnterUpgradeableReadLockCore_mA84580B68864B07DD3D6A2A4F48FCFE72EEA6F6F_RuntimeMethod_var)));
- }
-
- IL_003b:
- {
- int32_t L_9 = V_0;
- int32_t L_10 = __this->___writeLockOwnerId_8;
- if ((!(((uint32_t)L_9) == ((uint32_t)L_10))))
- {
- goto IL_0054;
- }
- }
- {
- String_t* L_11;
- L_11 = SR_GetString_m2213C501E26D6A1AE8D0644E9685AF8A4204CA7F(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral6DC62F421ABC9EEBA3ED23A09F410EA41A1F72C6)), NULL);
- LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496* L_12 = (LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496_il2cpp_TypeInfo_var)));
- NullCheck(L_12);
- LockRecursionException__ctor_mCC42F0B1F378BC1F03AD51ABA4438BB5807F742B(L_12, L_11, NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_12, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_TryEnterUpgradeableReadLockCore_mA84580B68864B07DD3D6A2A4F48FCFE72EEA6F6F_RuntimeMethod_var)));
- }
-
- IL_0054:
- {
- ReaderWriterLockSlim_EnterMyLock_mDB590C9A0A55830B1C347DAB0A3F4972E9F0DE59_inline(__this, NULL);
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_13;
- L_13 = ReaderWriterLockSlim_GetThreadRWCount_m693F7FFBBFB98DEF312E4B3A200DA95266CA4E96_inline(__this, (bool)1, NULL);
- V_1 = L_13;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_14 = V_1;
- if (!L_14)
- {
- goto IL_011a;
- }
- }
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_15 = V_1;
- NullCheck(L_15);
- int32_t L_16 = L_15->___readercount_1;
- if ((((int32_t)L_16) <= ((int32_t)0)))
- {
- goto IL_011a;
- }
- }
- {
- ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
- String_t* L_17;
- L_17 = SR_GetString_m2213C501E26D6A1AE8D0644E9685AF8A4204CA7F(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral84A266738245DD942C30B2FC8963EC80C662B538)), NULL);
- LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496* L_18 = (LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496_il2cpp_TypeInfo_var)));
- NullCheck(L_18);
- LockRecursionException__ctor_mCC42F0B1F378BC1F03AD51ABA4438BB5807F742B(L_18, L_17, NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_18, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_TryEnterUpgradeableReadLockCore_mA84580B68864B07DD3D6A2A4F48FCFE72EEA6F6F_RuntimeMethod_var)));
- }
-
- IL_008a:
- {
- ReaderWriterLockSlim_EnterMyLock_mDB590C9A0A55830B1C347DAB0A3F4972E9F0DE59_inline(__this, NULL);
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_19;
- L_19 = ReaderWriterLockSlim_GetThreadRWCount_m693F7FFBBFB98DEF312E4B3A200DA95266CA4E96_inline(__this, (bool)0, NULL);
- V_1 = L_19;
- int32_t L_20 = V_0;
- int32_t L_21 = __this->___upgradeLockOwnerId_7;
- if ((!(((uint32_t)L_20) == ((uint32_t)L_21))))
- {
- goto IL_00b7;
- }
- }
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_22 = V_1;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_23 = L_22;
- NullCheck(L_23);
- int32_t L_24 = L_23->___upgradecount_3;
- NullCheck(L_23);
- L_23->___upgradecount_3 = ((int32_t)il2cpp_codegen_add(L_24, 1));
- ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
- return (bool)1;
- }
-
- IL_00b7:
- {
- int32_t L_25 = V_0;
- int32_t L_26 = __this->___writeLockOwnerId_8;
- if ((!(((uint32_t)L_25) == ((uint32_t)L_26))))
- {
- goto IL_00fb;
- }
- }
- {
- uint32_t L_27 = __this->___owners_17;
- __this->___owners_17 = ((int32_t)il2cpp_codegen_add((int32_t)L_27, 1));
- int32_t L_28 = V_0;
- __this->___upgradeLockOwnerId_7 = L_28;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_29 = V_1;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_30 = L_29;
- NullCheck(L_30);
- int32_t L_31 = L_30->___upgradecount_3;
- NullCheck(L_30);
- L_30->___upgradecount_3 = ((int32_t)il2cpp_codegen_add(L_31, 1));
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_32 = V_1;
- NullCheck(L_32);
- int32_t L_33 = L_32->___readercount_1;
- if ((((int32_t)L_33) <= ((int32_t)0)))
- {
- goto IL_00f3;
- }
- }
- {
- __this->___fUpgradeThreadHoldingRead_16 = (bool)1;
- }
-
- IL_00f3:
- {
- ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
- return (bool)1;
- }
-
- IL_00fb:
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_34 = V_1;
- NullCheck(L_34);
- int32_t L_35 = L_34->___readercount_1;
- if ((((int32_t)L_35) <= ((int32_t)0)))
- {
- goto IL_011a;
- }
- }
- {
- ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
- String_t* L_36;
- L_36 = SR_GetString_m2213C501E26D6A1AE8D0644E9685AF8A4204CA7F(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral84A266738245DD942C30B2FC8963EC80C662B538)), NULL);
- LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496* L_37 = (LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&LockRecursionException_t13E66FBCBE64DE379F78D70C0596C0CCF65E9496_il2cpp_TypeInfo_var)));
- NullCheck(L_37);
- LockRecursionException__ctor_mCC42F0B1F378BC1F03AD51ABA4438BB5807F742B(L_37, L_36, NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_37, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_TryEnterUpgradeableReadLockCore_mA84580B68864B07DD3D6A2A4F48FCFE72EEA6F6F_RuntimeMethod_var)));
- }
-
- IL_011a:
- {
- V_2 = 0;
- }
-
- IL_011c:
- {
- int32_t L_38 = __this->___upgradeLockOwnerId_7;
- if ((!(((uint32_t)L_38) == ((uint32_t)(-1)))))
- {
- goto IL_0149;
- }
- }
- {
- uint32_t L_39 = __this->___owners_17;
- if ((!(((uint32_t)L_39) < ((uint32_t)((int32_t)268435454)))))
- {
- goto IL_0149;
- }
- }
- {
- uint32_t L_40 = __this->___owners_17;
- __this->___owners_17 = ((int32_t)il2cpp_codegen_add((int32_t)L_40, 1));
- int32_t L_41 = V_0;
- __this->___upgradeLockOwnerId_7 = L_41;
- goto IL_01a3;
- }
-
- IL_0149:
- {
- int32_t L_42 = V_2;
- if ((((int32_t)L_42) >= ((int32_t)((int32_t)20))))
- {
- goto IL_0171;
- }
- }
- {
- ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
- bool L_43;
- L_43 = TimeoutTracker_get_IsExpired_m5E08DCC01117EF66ADEBA5472B27833577289813((&___0_timeout), NULL);
- if (!L_43)
- {
- goto IL_015f;
- }
- }
- {
- return (bool)0;
- }
-
- IL_015f:
- {
- int32_t L_44 = V_2;
- V_2 = ((int32_t)il2cpp_codegen_add(L_44, 1));
- int32_t L_45 = V_2;
- ReaderWriterLockSlim_SpinWait_mFFFC84F8CF5AA3863BEE5CD292FE63B335A5D11B(L_45, NULL);
- ReaderWriterLockSlim_EnterMyLock_mDB590C9A0A55830B1C347DAB0A3F4972E9F0DE59_inline(__this, NULL);
- goto IL_011c;
- }
-
- IL_0171:
- {
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_46 = __this->___upgradeEvent_11;
- if (L_46)
- {
- goto IL_0188;
- }
- }
- {
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E** L_47 = (&__this->___upgradeEvent_11);
- ReaderWriterLockSlim_LazyCreateEvent_m4D2DFCB1AD5A749408939AA0D12B7C3959A36923(__this, L_47, (bool)1, NULL);
- goto IL_011c;
- }
-
- IL_0188:
- {
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_48 = __this->___upgradeEvent_11;
- uint32_t* L_49 = (&__this->___numUpgradeWaiters_5);
- TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C L_50 = ___0_timeout;
- bool L_51;
- L_51 = ReaderWriterLockSlim_WaitOnEvent_mFF3B7C48254F2742AED6916DD059ACB2240A78B3(__this, L_48, L_49, L_50, (bool)0, NULL);
- if (L_51)
- {
- goto IL_011c;
- }
- }
- {
- return (bool)0;
- }
-
- IL_01a3:
- {
- bool L_52 = __this->___fIsReentrant_0;
- if (!L_52)
- {
- goto IL_01ca;
- }
- }
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_53 = V_1;
- bool L_54;
- L_54 = ReaderWriterLockSlim_IsRwHashEntryChanged_mCCC27B0221422991C4F5A2CE35263EBC24CB8402(__this, L_53, NULL);
- if (!L_54)
- {
- goto IL_01bc;
- }
- }
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_55;
- L_55 = ReaderWriterLockSlim_GetThreadRWCount_m693F7FFBBFB98DEF312E4B3A200DA95266CA4E96_inline(__this, (bool)0, NULL);
- V_1 = L_55;
- }
-
- IL_01bc:
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_56 = V_1;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_57 = L_56;
- NullCheck(L_57);
- int32_t L_58 = L_57->___upgradecount_3;
- NullCheck(L_57);
- L_57->___upgradecount_3 = ((int32_t)il2cpp_codegen_add(L_58, 1));
- }
-
- IL_01ca:
- {
- ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
- return (bool)1;
- }
- }
- // System.Void System.Threading.ReaderWriterLockSlim::ExitWriteLock()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_ExitWriteLock_m84F7F58C2B3552C5B32744FB06004CACDFCE57E6 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* G_B6_0 = NULL;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* G_B5_0 = NULL;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* G_B8_0 = NULL;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* G_B7_0 = NULL;
- {
- bool L_0 = __this->___fIsReentrant_0;
- if (L_0)
- {
- goto IL_0032;
- }
- }
- {
- Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* L_1;
- L_1 = Thread_get_CurrentThread_m6D4719F4993DB9200490531FF02D4076FF9CA9BD(NULL);
- NullCheck(L_1);
- int32_t L_2;
- L_2 = Thread_get_ManagedThreadId_m74ACB74A574EE535C2B00B7D64F203A62E796B05(L_1, NULL);
- int32_t L_3 = __this->___writeLockOwnerId_8;
- if ((((int32_t)L_2) == ((int32_t)L_3)))
- {
- goto IL_002a;
- }
- }
- {
- String_t* L_4;
- L_4 = SR_GetString_m2213C501E26D6A1AE8D0644E9685AF8A4204CA7F(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral10C4AECF4C2A9921D7FDB1EEA6237F828B265648)), NULL);
- SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34* L_5 = (SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34_il2cpp_TypeInfo_var)));
- NullCheck(L_5);
- SynchronizationLockException__ctor_m2AEF9CF8E5DFE8F5A7CFB02E5AEF7640971BA970(L_5, L_4, NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_ExitWriteLock_m84F7F58C2B3552C5B32744FB06004CACDFCE57E6_RuntimeMethod_var)));
- }
-
- IL_002a:
- {
- ReaderWriterLockSlim_EnterMyLock_mDB590C9A0A55830B1C347DAB0A3F4972E9F0DE59_inline(__this, NULL);
- goto IL_0094;
- }
-
- IL_0032:
- {
- ReaderWriterLockSlim_EnterMyLock_mDB590C9A0A55830B1C347DAB0A3F4972E9F0DE59_inline(__this, NULL);
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_6;
- L_6 = ReaderWriterLockSlim_GetThreadRWCount_m693F7FFBBFB98DEF312E4B3A200DA95266CA4E96_inline(__this, (bool)0, NULL);
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_7 = L_6;
- G_B5_0 = L_7;
- if (L_7)
- {
- G_B6_0 = L_7;
- goto IL_0058;
- }
- }
- {
- ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
- String_t* L_8;
- L_8 = SR_GetString_m2213C501E26D6A1AE8D0644E9685AF8A4204CA7F(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral10C4AECF4C2A9921D7FDB1EEA6237F828B265648)), NULL);
- SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34* L_9 = (SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34_il2cpp_TypeInfo_var)));
- NullCheck(L_9);
- SynchronizationLockException__ctor_m2AEF9CF8E5DFE8F5A7CFB02E5AEF7640971BA970(L_9, L_8, NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_9, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_ExitWriteLock_m84F7F58C2B3552C5B32744FB06004CACDFCE57E6_RuntimeMethod_var)));
- }
-
- IL_0058:
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_10 = G_B6_0;
- NullCheck(L_10);
- int32_t L_11 = L_10->___writercount_2;
- G_B7_0 = L_10;
- if ((((int32_t)L_11) >= ((int32_t)1)))
- {
- G_B8_0 = L_10;
- goto IL_0077;
- }
- }
- {
- ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
- String_t* L_12;
- L_12 = SR_GetString_m2213C501E26D6A1AE8D0644E9685AF8A4204CA7F(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral10C4AECF4C2A9921D7FDB1EEA6237F828B265648)), NULL);
- SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34* L_13 = (SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34_il2cpp_TypeInfo_var)));
- NullCheck(L_13);
- SynchronizationLockException__ctor_m2AEF9CF8E5DFE8F5A7CFB02E5AEF7640971BA970(L_13, L_12, NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_13, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_ExitWriteLock_m84F7F58C2B3552C5B32744FB06004CACDFCE57E6_RuntimeMethod_var)));
- }
-
- IL_0077:
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_14 = G_B8_0;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_15 = L_14;
- NullCheck(L_15);
- int32_t L_16 = L_15->___writercount_2;
- NullCheck(L_15);
- L_15->___writercount_2 = ((int32_t)il2cpp_codegen_subtract(L_16, 1));
- NullCheck(L_14);
- int32_t L_17 = L_14->___writercount_2;
- if ((((int32_t)L_17) <= ((int32_t)0)))
- {
- goto IL_0094;
- }
- }
- {
- ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
- return;
- }
-
- IL_0094:
- {
- ReaderWriterLockSlim_ClearWriterAcquired_mBCDFD72656A5D8EFCEE5A0AD39233D37E44461DC(__this, NULL);
- __this->___writeLockOwnerId_8 = (-1);
- ReaderWriterLockSlim_ExitAndWakeUpAppropriateWaiters_m43EB7B2724EC44E2F0B4E3CA6A51752345978E90(__this, NULL);
- return;
- }
- }
- // System.Void System.Threading.ReaderWriterLockSlim::ExitUpgradeableReadLock()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_ExitUpgradeableReadLock_m70E125A9542852AC8E908571F9EB86670E2CFEEA (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* G_B6_0 = NULL;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* G_B5_0 = NULL;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* G_B8_0 = NULL;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* G_B7_0 = NULL;
- {
- bool L_0 = __this->___fIsReentrant_0;
- if (L_0)
- {
- goto IL_0032;
- }
- }
- {
- Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* L_1;
- L_1 = Thread_get_CurrentThread_m6D4719F4993DB9200490531FF02D4076FF9CA9BD(NULL);
- NullCheck(L_1);
- int32_t L_2;
- L_2 = Thread_get_ManagedThreadId_m74ACB74A574EE535C2B00B7D64F203A62E796B05(L_1, NULL);
- int32_t L_3 = __this->___upgradeLockOwnerId_7;
- if ((((int32_t)L_2) == ((int32_t)L_3)))
- {
- goto IL_002a;
- }
- }
- {
- String_t* L_4;
- L_4 = SR_GetString_m2213C501E26D6A1AE8D0644E9685AF8A4204CA7F(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralA1E10561E358BF2699823096E8ABA5826AB9E732)), NULL);
- SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34* L_5 = (SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34_il2cpp_TypeInfo_var)));
- NullCheck(L_5);
- SynchronizationLockException__ctor_m2AEF9CF8E5DFE8F5A7CFB02E5AEF7640971BA970(L_5, L_4, NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_ExitUpgradeableReadLock_m70E125A9542852AC8E908571F9EB86670E2CFEEA_RuntimeMethod_var)));
- }
-
- IL_002a:
- {
- ReaderWriterLockSlim_EnterMyLock_mDB590C9A0A55830B1C347DAB0A3F4972E9F0DE59_inline(__this, NULL);
- goto IL_009b;
- }
-
- IL_0032:
- {
- ReaderWriterLockSlim_EnterMyLock_mDB590C9A0A55830B1C347DAB0A3F4972E9F0DE59_inline(__this, NULL);
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_6;
- L_6 = ReaderWriterLockSlim_GetThreadRWCount_m693F7FFBBFB98DEF312E4B3A200DA95266CA4E96_inline(__this, (bool)1, NULL);
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_7 = L_6;
- G_B5_0 = L_7;
- if (L_7)
- {
- G_B6_0 = L_7;
- goto IL_0058;
- }
- }
- {
- ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
- String_t* L_8;
- L_8 = SR_GetString_m2213C501E26D6A1AE8D0644E9685AF8A4204CA7F(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralA1E10561E358BF2699823096E8ABA5826AB9E732)), NULL);
- SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34* L_9 = (SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34_il2cpp_TypeInfo_var)));
- NullCheck(L_9);
- SynchronizationLockException__ctor_m2AEF9CF8E5DFE8F5A7CFB02E5AEF7640971BA970(L_9, L_8, NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_9, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_ExitUpgradeableReadLock_m70E125A9542852AC8E908571F9EB86670E2CFEEA_RuntimeMethod_var)));
- }
-
- IL_0058:
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_10 = G_B6_0;
- NullCheck(L_10);
- int32_t L_11 = L_10->___upgradecount_3;
- G_B7_0 = L_10;
- if ((((int32_t)L_11) >= ((int32_t)1)))
- {
- G_B8_0 = L_10;
- goto IL_0077;
- }
- }
- {
- ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
- String_t* L_12;
- L_12 = SR_GetString_m2213C501E26D6A1AE8D0644E9685AF8A4204CA7F(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralA1E10561E358BF2699823096E8ABA5826AB9E732)), NULL);
- SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34* L_13 = (SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34_il2cpp_TypeInfo_var)));
- NullCheck(L_13);
- SynchronizationLockException__ctor_m2AEF9CF8E5DFE8F5A7CFB02E5AEF7640971BA970(L_13, L_12, NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_13, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_ExitUpgradeableReadLock_m70E125A9542852AC8E908571F9EB86670E2CFEEA_RuntimeMethod_var)));
- }
-
- IL_0077:
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_14 = G_B8_0;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_15 = L_14;
- NullCheck(L_15);
- int32_t L_16 = L_15->___upgradecount_3;
- NullCheck(L_15);
- L_15->___upgradecount_3 = ((int32_t)il2cpp_codegen_subtract(L_16, 1));
- NullCheck(L_14);
- int32_t L_17 = L_14->___upgradecount_3;
- if ((((int32_t)L_17) <= ((int32_t)0)))
- {
- goto IL_0094;
- }
- }
- {
- ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
- return;
- }
-
- IL_0094:
- {
- __this->___fUpgradeThreadHoldingRead_16 = (bool)0;
- }
-
- IL_009b:
- {
- uint32_t L_18 = __this->___owners_17;
- __this->___owners_17 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_18, 1));
- __this->___upgradeLockOwnerId_7 = (-1);
- ReaderWriterLockSlim_ExitAndWakeUpAppropriateWaiters_m43EB7B2724EC44E2F0B4E3CA6A51752345978E90(__this, NULL);
- return;
- }
- }
- // System.Void System.Threading.ReaderWriterLockSlim::LazyCreateEvent(System.Threading.EventWaitHandle&,System.Boolean)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_LazyCreateEvent_m4D2DFCB1AD5A749408939AA0D12B7C3959A36923 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E** ___0_waitEvent, bool ___1_makeAutoResetEvent, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AutoResetEvent_t7F792F3F7AD11BEF7B411E771D98E5266A8CE7C0_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ManualResetEvent_t63959486AA41A113A4353D0BF4A68E77EBA0A158_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* V_0 = NULL;
- {
- ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
- bool L_0 = ___1_makeAutoResetEvent;
- if (!L_0)
- {
- goto IL_0012;
- }
- }
- {
- AutoResetEvent_t7F792F3F7AD11BEF7B411E771D98E5266A8CE7C0* L_1 = (AutoResetEvent_t7F792F3F7AD11BEF7B411E771D98E5266A8CE7C0*)il2cpp_codegen_object_new(AutoResetEvent_t7F792F3F7AD11BEF7B411E771D98E5266A8CE7C0_il2cpp_TypeInfo_var);
- NullCheck(L_1);
- AutoResetEvent__ctor_mB7C8CD30C5BE11A2C8DB79B27593CF0C5FE82ADE(L_1, (bool)0, NULL);
- V_0 = L_1;
- goto IL_0019;
- }
-
- IL_0012:
- {
- ManualResetEvent_t63959486AA41A113A4353D0BF4A68E77EBA0A158* L_2 = (ManualResetEvent_t63959486AA41A113A4353D0BF4A68E77EBA0A158*)il2cpp_codegen_object_new(ManualResetEvent_t63959486AA41A113A4353D0BF4A68E77EBA0A158_il2cpp_TypeInfo_var);
- NullCheck(L_2);
- ManualResetEvent__ctor_m361CFCF6AC28BFFF5C8790DC2B5951791A1C4CEE(L_2, (bool)0, NULL);
- V_0 = L_2;
- }
-
- IL_0019:
- {
- ReaderWriterLockSlim_EnterMyLock_mDB590C9A0A55830B1C347DAB0A3F4972E9F0DE59_inline(__this, NULL);
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E** L_3 = ___0_waitEvent;
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_4 = *((EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E**)L_3);
- if (L_4)
- {
- goto IL_0027;
- }
- }
- {
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E** L_5 = ___0_waitEvent;
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_6 = V_0;
- *((RuntimeObject**)L_5) = (RuntimeObject*)L_6;
- Il2CppCodeGenWriteBarrier((void**)(RuntimeObject**)L_5, (void*)(RuntimeObject*)L_6);
- return;
- }
-
- IL_0027:
- {
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_7 = V_0;
- NullCheck(L_7);
- VirtualActionInvoker0::Invoke(12 /* System.Void System.Threading.WaitHandle::Close() */, L_7);
- return;
- }
- }
- // System.Boolean System.Threading.ReaderWriterLockSlim::WaitOnEvent(System.Threading.EventWaitHandle,System.UInt32&,System.Threading.ReaderWriterLockSlim/TimeoutTracker,System.Boolean)
- 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)
- {
- bool V_0 = false;
- {
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_0 = ___0_waitEvent;
- NullCheck(L_0);
- bool L_1;
- L_1 = EventWaitHandle_Reset_m84719BED571BDAAEE27EE05F57295C7107A74DE6(L_0, NULL);
- uint32_t* L_2 = ___1_numWaiters;
- uint32_t* L_3 = ___1_numWaiters;
- int32_t L_4 = *((uint32_t*)L_3);
- *((int32_t*)L_2) = (int32_t)((int32_t)il2cpp_codegen_add(L_4, 1));
- __this->___fNoWaiters_6 = (bool)0;
- uint32_t L_5 = __this->___numWriteWaiters_2;
- if ((!(((uint32_t)L_5) == ((uint32_t)1))))
- {
- goto IL_0023;
- }
- }
- {
- ReaderWriterLockSlim_SetWritersWaiting_mEBE801FBDAFD33AF1B8E3CE71F0AD0C9CDA69902(__this, NULL);
- }
-
- IL_0023:
- {
- uint32_t L_6 = __this->___numWriteUpgradeWaiters_4;
- if ((!(((uint32_t)L_6) == ((uint32_t)1))))
- {
- goto IL_0032;
- }
- }
- {
- ReaderWriterLockSlim_SetUpgraderWaiting_m5C7C47EBCA531D201CA72CB27D0548F71375BCAC(__this, NULL);
- }
-
- IL_0032:
- {
- V_0 = (bool)0;
- ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
- }
- {
- auto __finallyBlock = il2cpp::utils::Finally([&]
- {
-
- FINALLY_004a:
- {// begin finally (depth: 1)
- {
- ReaderWriterLockSlim_EnterMyLock_mDB590C9A0A55830B1C347DAB0A3F4972E9F0DE59_inline(__this, NULL);
- uint32_t* L_7 = ___1_numWaiters;
- uint32_t* L_8 = ___1_numWaiters;
- int32_t L_9 = *((uint32_t*)L_8);
- *((int32_t*)L_7) = (int32_t)((int32_t)il2cpp_codegen_subtract(L_9, 1));
- uint32_t L_10 = __this->___numWriteWaiters_2;
- if (L_10)
- {
- goto IL_007d;
- }
- }
- {
- uint32_t L_11 = __this->___numWriteUpgradeWaiters_4;
- if (L_11)
- {
- goto IL_007d;
- }
- }
- {
- uint32_t L_12 = __this->___numUpgradeWaiters_5;
- if (L_12)
- {
- goto IL_007d;
- }
- }
- {
- uint32_t L_13 = __this->___numReadWaiters_3;
- if (L_13)
- {
- goto IL_007d;
- }
- }
- {
- __this->___fNoWaiters_6 = (bool)1;
- }
-
- IL_007d:
- {
- uint32_t L_14 = __this->___numWriteWaiters_2;
- if (L_14)
- {
- goto IL_008b;
- }
- }
- {
- ReaderWriterLockSlim_ClearWritersWaiting_m7587122D0BAD6384DE3B38DB6BF7D38B364A4935(__this, NULL);
- }
-
- IL_008b:
- {
- uint32_t L_15 = __this->___numWriteUpgradeWaiters_4;
- if (L_15)
- {
- goto IL_0099;
- }
- }
- {
- ReaderWriterLockSlim_ClearUpgraderWaiting_m214E8B0780542079CB3D9D5C28C58C47A72E91E4(__this, NULL);
- }
-
- IL_0099:
- {
- bool L_16 = V_0;
- if (L_16)
- {
- goto IL_00ae;
- }
- }
- {
- bool L_17 = ___3_isWriteWaiter;
- if (!L_17)
- {
- goto IL_00a8;
- }
- }
- {
- ReaderWriterLockSlim_ExitAndWakeUpAppropriateReadWaiters_m19BFCEE3D042633B1F106BBD76E28DA69271606D(__this, NULL);
- goto IL_00ae;
- }
-
- IL_00a8:
- {
- ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
- }
-
- IL_00ae:
- {
- return;
- }
- }// end finally (depth: 1)
- });
- try
- {// begin try (depth: 1)
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_18 = ___0_waitEvent;
- int32_t L_19;
- L_19 = TimeoutTracker_get_RemainingMilliseconds_mDAA8A0E545F8E28D3688095CA346B0A04337BC23((&___2_timeout), NULL);
- NullCheck(L_18);
- bool L_20;
- L_20 = VirtualFuncInvoker1< bool, int32_t >::Invoke(11 /* System.Boolean System.Threading.WaitHandle::WaitOne(System.Int32) */, L_18, L_19);
- V_0 = L_20;
- goto IL_00af;
- }// end try (depth: 1)
- catch(Il2CppExceptionWrapper& e)
- {
- __finallyBlock.StoreException(e.ex);
- }
- }
-
- IL_00af:
- {
- bool L_21 = V_0;
- return L_21;
- }
- }
- // System.Void System.Threading.ReaderWriterLockSlim::ExitAndWakeUpAppropriateWaiters()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_ExitAndWakeUpAppropriateWaiters_m43EB7B2724EC44E2F0B4E3CA6A51752345978E90 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- {
- bool L_0 = __this->___fNoWaiters_6;
- if (!L_0)
- {
- goto IL_000f;
- }
- }
- {
- ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
- return;
- }
-
- IL_000f:
- {
- ReaderWriterLockSlim_ExitAndWakeUpAppropriateWaitersPreferringWriters_m2EE29EE42CEA6142CA8C741BC74CFBE4483E5CA8(__this, NULL);
- return;
- }
- }
- // System.Void System.Threading.ReaderWriterLockSlim::ExitAndWakeUpAppropriateWaitersPreferringWriters()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_ExitAndWakeUpAppropriateWaitersPreferringWriters_m2EE29EE42CEA6142CA8C741BC74CFBE4483E5CA8 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- uint32_t V_0 = 0;
- {
- uint32_t L_0;
- L_0 = ReaderWriterLockSlim_GetNumReaders_m300EBD28D2300167E37C0F67AD04AF7BE87C1DB1(__this, NULL);
- V_0 = L_0;
- bool L_1 = __this->___fIsReentrant_0;
- if (!L_1)
- {
- goto IL_0037;
- }
- }
- {
- uint32_t L_2 = __this->___numWriteUpgradeWaiters_4;
- if ((!(((uint32_t)L_2) > ((uint32_t)0))))
- {
- goto IL_0037;
- }
- }
- {
- bool L_3 = __this->___fUpgradeThreadHoldingRead_16;
- if (!L_3)
- {
- goto IL_0037;
- }
- }
- {
- uint32_t L_4 = V_0;
- if ((!(((uint32_t)L_4) == ((uint32_t)2))))
- {
- goto IL_0037;
- }
- }
- {
- ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_5 = __this->___waitUpgradeEvent_12;
- NullCheck(L_5);
- bool L_6;
- L_6 = EventWaitHandle_Set_mDF98D67F214714A9590DF82A1C51D3D851281E4D(L_5, NULL);
- return;
- }
-
- IL_0037:
- {
- uint32_t L_7 = V_0;
- if ((!(((uint32_t)L_7) == ((uint32_t)1))))
- {
- goto IL_0057;
- }
- }
- {
- uint32_t L_8 = __this->___numWriteUpgradeWaiters_4;
- if ((!(((uint32_t)L_8) > ((uint32_t)0))))
- {
- goto IL_0057;
- }
- }
- {
- ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_9 = __this->___waitUpgradeEvent_12;
- NullCheck(L_9);
- bool L_10;
- L_10 = EventWaitHandle_Set_mDF98D67F214714A9590DF82A1C51D3D851281E4D(L_9, NULL);
- return;
- }
-
- IL_0057:
- {
- uint32_t L_11 = V_0;
- if (L_11)
- {
- goto IL_0076;
- }
- }
- {
- uint32_t L_12 = __this->___numWriteWaiters_2;
- if ((!(((uint32_t)L_12) > ((uint32_t)0))))
- {
- goto IL_0076;
- }
- }
- {
- ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_13 = __this->___writeEvent_9;
- NullCheck(L_13);
- bool L_14;
- L_14 = EventWaitHandle_Set_mDF98D67F214714A9590DF82A1C51D3D851281E4D(L_13, NULL);
- return;
- }
-
- IL_0076:
- {
- ReaderWriterLockSlim_ExitAndWakeUpAppropriateReadWaiters_m19BFCEE3D042633B1F106BBD76E28DA69271606D(__this, NULL);
- return;
- }
- }
- // System.Void System.Threading.ReaderWriterLockSlim::ExitAndWakeUpAppropriateReadWaiters()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_ExitAndWakeUpAppropriateReadWaiters_m19BFCEE3D042633B1F106BBD76E28DA69271606D (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- bool V_0 = false;
- int32_t G_B7_0 = 0;
- int32_t G_B9_0 = 0;
- int32_t G_B8_0 = 0;
- {
- uint32_t L_0 = __this->___numWriteWaiters_2;
- if (L_0)
- {
- goto IL_0018;
- }
- }
- {
- uint32_t L_1 = __this->___numWriteUpgradeWaiters_4;
- if (L_1)
- {
- goto IL_0018;
- }
- }
- {
- bool L_2 = __this->___fNoWaiters_6;
- if (!L_2)
- {
- goto IL_001f;
- }
- }
-
- IL_0018:
- {
- ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
- return;
- }
-
- IL_001f:
- {
- uint32_t L_3 = __this->___numReadWaiters_3;
- V_0 = (bool)((!(((uint32_t)L_3) <= ((uint32_t)0)))? 1 : 0);
- uint32_t L_4 = __this->___numUpgradeWaiters_5;
- if (!L_4)
- {
- goto IL_003c;
- }
- }
- {
- int32_t L_5 = __this->___upgradeLockOwnerId_7;
- G_B7_0 = ((((int32_t)L_5) == ((int32_t)(-1)))? 1 : 0);
- goto IL_003d;
- }
-
- IL_003c:
- {
- G_B7_0 = 0;
- }
-
- IL_003d:
- {
- ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B(__this, NULL);
- bool L_6 = V_0;
- G_B8_0 = G_B7_0;
- if (!L_6)
- {
- G_B9_0 = G_B7_0;
- goto IL_0052;
- }
- }
- {
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_7 = __this->___readEvent_10;
- NullCheck(L_7);
- bool L_8;
- L_8 = EventWaitHandle_Set_mDF98D67F214714A9590DF82A1C51D3D851281E4D(L_7, NULL);
- G_B9_0 = G_B8_0;
- }
-
- IL_0052:
- {
- if (!G_B9_0)
- {
- goto IL_0060;
- }
- }
- {
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_9 = __this->___upgradeEvent_11;
- NullCheck(L_9);
- bool L_10;
- L_10 = EventWaitHandle_Set_mDF98D67F214714A9590DF82A1C51D3D851281E4D(L_9, NULL);
- }
-
- IL_0060:
- {
- return;
- }
- }
- // System.Boolean System.Threading.ReaderWriterLockSlim::IsWriterAcquired()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_IsWriterAcquired_m6D1FB82F2349C4B48345C9EBEFFCC3FA69EF5A76 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- {
- uint32_t L_0 = __this->___owners_17;
- return (bool)((((int32_t)((int32_t)((int32_t)L_0&((int32_t)-1073741825)))) == ((int32_t)0))? 1 : 0);
- }
- }
- // System.Void System.Threading.ReaderWriterLockSlim::SetWriterAcquired()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_SetWriterAcquired_mE496DF38D30454011343EE638FAC1EF2B5E8319C (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- {
- uint32_t L_0 = __this->___owners_17;
- __this->___owners_17 = ((int32_t)((int32_t)L_0|((int32_t)-2147483648LL)));
- return;
- }
- }
- // System.Void System.Threading.ReaderWriterLockSlim::ClearWriterAcquired()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_ClearWriterAcquired_mBCDFD72656A5D8EFCEE5A0AD39233D37E44461DC (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- {
- uint32_t L_0 = __this->___owners_17;
- __this->___owners_17 = ((int32_t)((int32_t)L_0&((int32_t)2147483647LL)));
- return;
- }
- }
- // System.Void System.Threading.ReaderWriterLockSlim::SetWritersWaiting()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_SetWritersWaiting_mEBE801FBDAFD33AF1B8E3CE71F0AD0C9CDA69902 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- {
- uint32_t L_0 = __this->___owners_17;
- __this->___owners_17 = ((int32_t)((int32_t)L_0|((int32_t)1073741824)));
- return;
- }
- }
- // System.Void System.Threading.ReaderWriterLockSlim::ClearWritersWaiting()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_ClearWritersWaiting_m7587122D0BAD6384DE3B38DB6BF7D38B364A4935 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- {
- uint32_t L_0 = __this->___owners_17;
- __this->___owners_17 = ((int32_t)((int32_t)L_0&((int32_t)-1073741825)));
- return;
- }
- }
- // System.Void System.Threading.ReaderWriterLockSlim::SetUpgraderWaiting()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_SetUpgraderWaiting_m5C7C47EBCA531D201CA72CB27D0548F71375BCAC (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- {
- uint32_t L_0 = __this->___owners_17;
- __this->___owners_17 = ((int32_t)((int32_t)L_0|((int32_t)536870912)));
- return;
- }
- }
- // System.Void System.Threading.ReaderWriterLockSlim::ClearUpgraderWaiting()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_ClearUpgraderWaiting_m214E8B0780542079CB3D9D5C28C58C47A72E91E4 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- {
- uint32_t L_0 = __this->___owners_17;
- __this->___owners_17 = ((int32_t)((int32_t)L_0&((int32_t)-536870913)));
- return;
- }
- }
- // System.UInt32 System.Threading.ReaderWriterLockSlim::GetNumReaders()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t ReaderWriterLockSlim_GetNumReaders_m300EBD28D2300167E37C0F67AD04AF7BE87C1DB1 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- {
- uint32_t L_0 = __this->___owners_17;
- return ((int32_t)((int32_t)L_0&((int32_t)268435455)));
- }
- }
- // System.Void System.Threading.ReaderWriterLockSlim::EnterMyLock()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_EnterMyLock_mDB590C9A0A55830B1C347DAB0A3F4972E9F0DE59 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- {
- int32_t* L_0 = (&__this->___myLock_1);
- int32_t L_1;
- L_1 = Interlocked_CompareExchange_mB06E8737D3DA41F9FFBC38A6D0583D515EFB5717(L_0, 1, 0, NULL);
- if (!L_1)
- {
- goto IL_0015;
- }
- }
- {
- ReaderWriterLockSlim_EnterMyLockSpin_mC785B7BB91A152B37FF1115AFA5D752AC6DBE9F6(__this, NULL);
- }
-
- IL_0015:
- {
- return;
- }
- }
- // System.Void System.Threading.ReaderWriterLockSlim::EnterMyLockSpin()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_EnterMyLockSpin_mC785B7BB91A152B37FF1115AFA5D752AC6DBE9F6 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PlatformHelper_t5E497382616B62F0B318E53D098F90E22AB35722_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- int32_t V_0 = 0;
- int32_t V_1 = 0;
- {
- il2cpp_codegen_runtime_class_init_inline(PlatformHelper_t5E497382616B62F0B318E53D098F90E22AB35722_il2cpp_TypeInfo_var);
- int32_t L_0;
- L_0 = PlatformHelper_get_ProcessorCount_m123AB465E201104882D03864A7C6E08F1A55F3F9(NULL);
- V_0 = L_0;
- V_1 = 0;
- }
-
- IL_0008:
- {
- int32_t L_1 = V_1;
- if ((((int32_t)L_1) >= ((int32_t)((int32_t)10))))
- {
- goto IL_001e;
- }
- }
- {
- int32_t L_2 = V_0;
- if ((((int32_t)L_2) <= ((int32_t)1)))
- {
- goto IL_001e;
- }
- }
- {
- int32_t L_3 = V_1;
- Thread_SpinWait_mC14652A66AA1BF72ADC7E0BF702E9F0B8D7B64D7(((int32_t)il2cpp_codegen_multiply(((int32_t)20), ((int32_t)il2cpp_codegen_add(L_3, 1)))), NULL);
- goto IL_0031;
- }
-
- IL_001e:
- {
- int32_t L_4 = V_1;
- if ((((int32_t)L_4) >= ((int32_t)((int32_t)15))))
- {
- goto IL_002b;
- }
- }
- {
- Thread_Sleep_m71DE163765BF465EC4A0163F2ED4D43143094549(0, NULL);
- goto IL_0031;
- }
-
- IL_002b:
- {
- Thread_Sleep_m71DE163765BF465EC4A0163F2ED4D43143094549(1, NULL);
- }
-
- IL_0031:
- {
- int32_t L_5 = __this->___myLock_1;
- if (L_5)
- {
- goto IL_0049;
- }
- }
- {
- int32_t* L_6 = (&__this->___myLock_1);
- int32_t L_7;
- L_7 = Interlocked_CompareExchange_mB06E8737D3DA41F9FFBC38A6D0583D515EFB5717(L_6, 1, 0, NULL);
- if (L_7)
- {
- goto IL_0049;
- }
- }
- {
- return;
- }
-
- IL_0049:
- {
- int32_t L_8 = V_1;
- V_1 = ((int32_t)il2cpp_codegen_add(L_8, 1));
- goto IL_0008;
- }
- }
- // System.Void System.Threading.ReaderWriterLockSlim::ExitMyLock()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_ExitMyLock_mA7506AF402F9AA6241ABA227DABFF68BB9D5FF7B (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- {
- int32_t* L_0 = (&__this->___myLock_1);
- VolatileWrite(L_0, 0);
- return;
- }
- }
- // System.Void System.Threading.ReaderWriterLockSlim::SpinWait(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_SpinWait_mFFFC84F8CF5AA3863BEE5CD292FE63B335A5D11B (int32_t ___0_SpinCount, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PlatformHelper_t5E497382616B62F0B318E53D098F90E22AB35722_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- {
- int32_t L_0 = ___0_SpinCount;
- if ((((int32_t)L_0) >= ((int32_t)5)))
- {
- goto IL_0016;
- }
- }
- {
- il2cpp_codegen_runtime_class_init_inline(PlatformHelper_t5E497382616B62F0B318E53D098F90E22AB35722_il2cpp_TypeInfo_var);
- int32_t L_1;
- L_1 = PlatformHelper_get_ProcessorCount_m123AB465E201104882D03864A7C6E08F1A55F3F9(NULL);
- if ((((int32_t)L_1) <= ((int32_t)1)))
- {
- goto IL_0016;
- }
- }
- {
- int32_t L_2 = ___0_SpinCount;
- Thread_SpinWait_mC14652A66AA1BF72ADC7E0BF702E9F0B8D7B64D7(((int32_t)il2cpp_codegen_multiply(((int32_t)20), L_2)), NULL);
- return;
- }
-
- IL_0016:
- {
- int32_t L_3 = ___0_SpinCount;
- if ((((int32_t)L_3) >= ((int32_t)((int32_t)17))))
- {
- goto IL_0022;
- }
- }
- {
- Thread_Sleep_m71DE163765BF465EC4A0163F2ED4D43143094549(0, NULL);
- return;
- }
-
- IL_0022:
- {
- Thread_Sleep_m71DE163765BF465EC4A0163F2ED4D43143094549(1, NULL);
- return;
- }
- }
- // System.Void System.Threading.ReaderWriterLockSlim::Dispose()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_Dispose_mCC076068D0C8A9EF92177147A713C71006A9CD05 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- {
- ReaderWriterLockSlim_Dispose_mA894FFFD0829F6CEDD8318482F57D2A5FCFD5661(__this, (bool)1, NULL);
- return;
- }
- }
- // System.Void System.Threading.ReaderWriterLockSlim::Dispose(System.Boolean)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_Dispose_mA894FFFD0829F6CEDD8318482F57D2A5FCFD5661 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, bool ___0_disposing, const RuntimeMethod* method)
- {
- {
- bool L_0 = ___0_disposing;
- if (!L_0)
- {
- goto IL_00d3;
- }
- }
- {
- bool L_1 = __this->___fDisposed_18;
- if (L_1)
- {
- goto IL_00d3;
- }
- }
- {
- int32_t L_2;
- L_2 = ReaderWriterLockSlim_get_WaitingReadCount_mD79E93CABC9BFBA4AB306193DDF8CE90F1818C92_inline(__this, NULL);
- if ((((int32_t)L_2) > ((int32_t)0)))
- {
- goto IL_002c;
- }
- }
- {
- int32_t L_3;
- L_3 = ReaderWriterLockSlim_get_WaitingUpgradeCount_m13892A21F7EF1D7ED202D186B2E7B2B6C400F388_inline(__this, NULL);
- if ((((int32_t)L_3) > ((int32_t)0)))
- {
- goto IL_002c;
- }
- }
- {
- int32_t L_4;
- L_4 = ReaderWriterLockSlim_get_WaitingWriteCount_m8FE677BDB0E776125691C0A4C1A74B5B8637D246_inline(__this, NULL);
- if ((((int32_t)L_4) <= ((int32_t)0)))
- {
- goto IL_003c;
- }
- }
-
- IL_002c:
- {
- String_t* L_5;
- L_5 = SR_GetString_m2213C501E26D6A1AE8D0644E9685AF8A4204CA7F(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralDCB7866DEDA66D0DAAD8C519AF9693DB97A9BF28)), NULL);
- SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34* L_6 = (SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34_il2cpp_TypeInfo_var)));
- NullCheck(L_6);
- SynchronizationLockException__ctor_m2AEF9CF8E5DFE8F5A7CFB02E5AEF7640971BA970(L_6, L_5, NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_Dispose_mA894FFFD0829F6CEDD8318482F57D2A5FCFD5661_RuntimeMethod_var)));
- }
-
- IL_003c:
- {
- bool L_7;
- L_7 = ReaderWriterLockSlim_get_IsReadLockHeld_mFF28229B26471192A3B8B195EE1C85509B5EA029(__this, NULL);
- if (L_7)
- {
- goto IL_0054;
- }
- }
- {
- bool L_8;
- L_8 = ReaderWriterLockSlim_get_IsUpgradeableReadLockHeld_mBDFD4377C488FD48B7E211ADE5F5CDEEFD78E1CF(__this, NULL);
- if (L_8)
- {
- goto IL_0054;
- }
- }
- {
- bool L_9;
- L_9 = ReaderWriterLockSlim_get_IsWriteLockHeld_m2F8585FFD00B88CA788152EA5E0BF460B28782A7(__this, NULL);
- if (!L_9)
- {
- goto IL_0064;
- }
- }
-
- IL_0054:
- {
- String_t* L_10;
- L_10 = SR_GetString_m2213C501E26D6A1AE8D0644E9685AF8A4204CA7F(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralDCB7866DEDA66D0DAAD8C519AF9693DB97A9BF28)), NULL);
- SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34* L_11 = (SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&SynchronizationLockException_t02C1BC0B121660E0A099F3056637509F56EF2F34_il2cpp_TypeInfo_var)));
- NullCheck(L_11);
- SynchronizationLockException__ctor_m2AEF9CF8E5DFE8F5A7CFB02E5AEF7640971BA970(L_11, L_10, NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_11, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ReaderWriterLockSlim_Dispose_mA894FFFD0829F6CEDD8318482F57D2A5FCFD5661_RuntimeMethod_var)));
- }
-
- IL_0064:
- {
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_12 = __this->___writeEvent_9;
- if (!L_12)
- {
- goto IL_007e;
- }
- }
- {
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_13 = __this->___writeEvent_9;
- NullCheck(L_13);
- VirtualActionInvoker0::Invoke(12 /* System.Void System.Threading.WaitHandle::Close() */, L_13);
- __this->___writeEvent_9 = (EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E*)NULL;
- Il2CppCodeGenWriteBarrier((void**)(&__this->___writeEvent_9), (void*)(EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E*)NULL);
- }
-
- IL_007e:
- {
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_14 = __this->___readEvent_10;
- if (!L_14)
- {
- goto IL_0098;
- }
- }
- {
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_15 = __this->___readEvent_10;
- NullCheck(L_15);
- VirtualActionInvoker0::Invoke(12 /* System.Void System.Threading.WaitHandle::Close() */, L_15);
- __this->___readEvent_10 = (EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E*)NULL;
- Il2CppCodeGenWriteBarrier((void**)(&__this->___readEvent_10), (void*)(EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E*)NULL);
- }
-
- IL_0098:
- {
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_16 = __this->___upgradeEvent_11;
- if (!L_16)
- {
- goto IL_00b2;
- }
- }
- {
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_17 = __this->___upgradeEvent_11;
- NullCheck(L_17);
- VirtualActionInvoker0::Invoke(12 /* System.Void System.Threading.WaitHandle::Close() */, L_17);
- __this->___upgradeEvent_11 = (EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E*)NULL;
- Il2CppCodeGenWriteBarrier((void**)(&__this->___upgradeEvent_11), (void*)(EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E*)NULL);
- }
-
- IL_00b2:
- {
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_18 = __this->___waitUpgradeEvent_12;
- if (!L_18)
- {
- goto IL_00cc;
- }
- }
- {
- EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E* L_19 = __this->___waitUpgradeEvent_12;
- NullCheck(L_19);
- VirtualActionInvoker0::Invoke(12 /* System.Void System.Threading.WaitHandle::Close() */, L_19);
- __this->___waitUpgradeEvent_12 = (EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E*)NULL;
- Il2CppCodeGenWriteBarrier((void**)(&__this->___waitUpgradeEvent_12), (void*)(EventWaitHandle_t18F2EB0161747B0646A9A406015A61A214A1EB7E*)NULL);
- }
-
- IL_00cc:
- {
- __this->___fDisposed_18 = (bool)1;
- }
-
- IL_00d3:
- {
- return;
- }
- }
- // System.Boolean System.Threading.ReaderWriterLockSlim::get_IsReadLockHeld()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_get_IsReadLockHeld_mFF28229B26471192A3B8B195EE1C85509B5EA029 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- {
- int32_t L_0;
- L_0 = ReaderWriterLockSlim_get_RecursiveReadCount_mA7709352D9817A46AFE62AD5CF94631E15FB1067(__this, NULL);
- if ((((int32_t)L_0) <= ((int32_t)0)))
- {
- goto IL_000b;
- }
- }
- {
- return (bool)1;
- }
-
- IL_000b:
- {
- return (bool)0;
- }
- }
- // System.Boolean System.Threading.ReaderWriterLockSlim::get_IsUpgradeableReadLockHeld()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_get_IsUpgradeableReadLockHeld_mBDFD4377C488FD48B7E211ADE5F5CDEEFD78E1CF (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- {
- int32_t L_0;
- L_0 = ReaderWriterLockSlim_get_RecursiveUpgradeCount_mFF4BF2756AE36B12E7822FAE7BAB8B7CDEF4D41D(__this, NULL);
- if ((((int32_t)L_0) <= ((int32_t)0)))
- {
- goto IL_000b;
- }
- }
- {
- return (bool)1;
- }
-
- IL_000b:
- {
- return (bool)0;
- }
- }
- // System.Boolean System.Threading.ReaderWriterLockSlim::get_IsWriteLockHeld()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_get_IsWriteLockHeld_m2F8585FFD00B88CA788152EA5E0BF460B28782A7 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- {
- int32_t L_0;
- L_0 = ReaderWriterLockSlim_get_RecursiveWriteCount_m51147A8E3CA34D7D6EDC8986BB8518AE7CE16145(__this, NULL);
- if ((((int32_t)L_0) <= ((int32_t)0)))
- {
- goto IL_000b;
- }
- }
- {
- return (bool)1;
- }
-
- IL_000b:
- {
- return (bool)0;
- }
- }
- // System.Int32 System.Threading.ReaderWriterLockSlim::get_RecursiveReadCount()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ReaderWriterLockSlim_get_RecursiveReadCount_mA7709352D9817A46AFE62AD5CF94631E15FB1067 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- int32_t V_0 = 0;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* V_1 = NULL;
- {
- V_0 = 0;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_0;
- L_0 = ReaderWriterLockSlim_GetThreadRWCount_m693F7FFBBFB98DEF312E4B3A200DA95266CA4E96_inline(__this, (bool)1, NULL);
- V_1 = L_0;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_1 = V_1;
- if (!L_1)
- {
- goto IL_0014;
- }
- }
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_2 = V_1;
- NullCheck(L_2);
- int32_t L_3 = L_2->___readercount_1;
- V_0 = L_3;
- }
-
- IL_0014:
- {
- int32_t L_4 = V_0;
- return L_4;
- }
- }
- // System.Int32 System.Threading.ReaderWriterLockSlim::get_RecursiveUpgradeCount()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ReaderWriterLockSlim_get_RecursiveUpgradeCount_mFF4BF2756AE36B12E7822FAE7BAB8B7CDEF4D41D (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- int32_t V_0 = 0;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* V_1 = NULL;
- {
- bool L_0 = __this->___fIsReentrant_0;
- if (!L_0)
- {
- goto IL_001e;
- }
- }
- {
- V_0 = 0;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_1;
- L_1 = ReaderWriterLockSlim_GetThreadRWCount_m693F7FFBBFB98DEF312E4B3A200DA95266CA4E96_inline(__this, (bool)1, NULL);
- V_1 = L_1;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_2 = V_1;
- if (!L_2)
- {
- goto IL_001c;
- }
- }
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_3 = V_1;
- NullCheck(L_3);
- int32_t L_4 = L_3->___upgradecount_3;
- V_0 = L_4;
- }
-
- IL_001c:
- {
- int32_t L_5 = V_0;
- return L_5;
- }
-
- IL_001e:
- {
- Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* L_6;
- L_6 = Thread_get_CurrentThread_m6D4719F4993DB9200490531FF02D4076FF9CA9BD(NULL);
- NullCheck(L_6);
- int32_t L_7;
- L_7 = Thread_get_ManagedThreadId_m74ACB74A574EE535C2B00B7D64F203A62E796B05(L_6, NULL);
- int32_t L_8 = __this->___upgradeLockOwnerId_7;
- if ((!(((uint32_t)L_7) == ((uint32_t)L_8))))
- {
- goto IL_0032;
- }
- }
- {
- return 1;
- }
-
- IL_0032:
- {
- return 0;
- }
- }
- // System.Int32 System.Threading.ReaderWriterLockSlim::get_RecursiveWriteCount()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ReaderWriterLockSlim_get_RecursiveWriteCount_m51147A8E3CA34D7D6EDC8986BB8518AE7CE16145 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- int32_t V_0 = 0;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* V_1 = NULL;
- {
- bool L_0 = __this->___fIsReentrant_0;
- if (!L_0)
- {
- goto IL_001e;
- }
- }
- {
- V_0 = 0;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_1;
- L_1 = ReaderWriterLockSlim_GetThreadRWCount_m693F7FFBBFB98DEF312E4B3A200DA95266CA4E96_inline(__this, (bool)1, NULL);
- V_1 = L_1;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_2 = V_1;
- if (!L_2)
- {
- goto IL_001c;
- }
- }
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_3 = V_1;
- NullCheck(L_3);
- int32_t L_4 = L_3->___writercount_2;
- V_0 = L_4;
- }
-
- IL_001c:
- {
- int32_t L_5 = V_0;
- return L_5;
- }
-
- IL_001e:
- {
- Thread_t0A773B9DE873D2DCAA7D229EAB36757B500E207F* L_6;
- L_6 = Thread_get_CurrentThread_m6D4719F4993DB9200490531FF02D4076FF9CA9BD(NULL);
- NullCheck(L_6);
- int32_t L_7;
- L_7 = Thread_get_ManagedThreadId_m74ACB74A574EE535C2B00B7D64F203A62E796B05(L_6, NULL);
- int32_t L_8 = __this->___writeLockOwnerId_8;
- if ((!(((uint32_t)L_7) == ((uint32_t)L_8))))
- {
- goto IL_0032;
- }
- }
- {
- return 1;
- }
-
- IL_0032:
- {
- return 0;
- }
- }
- // System.Int32 System.Threading.ReaderWriterLockSlim::get_WaitingReadCount()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ReaderWriterLockSlim_get_WaitingReadCount_mD79E93CABC9BFBA4AB306193DDF8CE90F1818C92 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- {
- uint32_t L_0 = __this->___numReadWaiters_3;
- return L_0;
- }
- }
- // System.Int32 System.Threading.ReaderWriterLockSlim::get_WaitingUpgradeCount()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ReaderWriterLockSlim_get_WaitingUpgradeCount_m13892A21F7EF1D7ED202D186B2E7B2B6C400F388 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- {
- uint32_t L_0 = __this->___numUpgradeWaiters_5;
- return L_0;
- }
- }
- // System.Int32 System.Threading.ReaderWriterLockSlim::get_WaitingWriteCount()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ReaderWriterLockSlim_get_WaitingWriteCount_m8FE677BDB0E776125691C0A4C1A74B5B8637D246 (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- {
- uint32_t L_0 = __this->___numWriteWaiters_2;
- return L_0;
- }
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // System.Void System.Threading.ReaderWriterLockSlim/TimeoutTracker::.ctor(System.Int32)
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimeoutTracker__ctor_mBFE73B99C5BBB93D251DF9731B9C5D824F30CDCE (TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C* __this, int32_t ___0_millisecondsTimeout, const RuntimeMethod* method)
- {
- {
- int32_t L_0 = ___0_millisecondsTimeout;
- if ((((int32_t)L_0) >= ((int32_t)(-1))))
- {
- goto IL_000f;
- }
- }
- {
- ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F* L_1 = (ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F_il2cpp_TypeInfo_var)));
- NullCheck(L_1);
- ArgumentOutOfRangeException__ctor_mBC1D5DEEA1BA41DE77228CB27D6BAFEB6DCCBF4A(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralCF088CD7CED04705BD5E7559DBB7DD9A14559182)), NULL);
- IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&TimeoutTracker__ctor_mBFE73B99C5BBB93D251DF9731B9C5D824F30CDCE_RuntimeMethod_var)));
- }
-
- IL_000f:
- {
- int32_t L_2 = ___0_millisecondsTimeout;
- __this->___m_total_0 = L_2;
- int32_t L_3 = __this->___m_total_0;
- if ((((int32_t)L_3) == ((int32_t)(-1))))
- {
- goto IL_0033;
- }
- }
- {
- int32_t L_4 = __this->___m_total_0;
- if (!L_4)
- {
- goto IL_0033;
- }
- }
- {
- int32_t L_5;
- L_5 = Environment_get_TickCount_m183BFCF001E12849E3D898957F0B81FD88BA183C(NULL);
- __this->___m_start_1 = L_5;
- return;
- }
-
- IL_0033:
- {
- __this->___m_start_1 = 0;
- return;
- }
- }
- IL2CPP_EXTERN_C void TimeoutTracker__ctor_mBFE73B99C5BBB93D251DF9731B9C5D824F30CDCE_AdjustorThunk (RuntimeObject* __this, int32_t ___0_millisecondsTimeout, const RuntimeMethod* method)
- {
- TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C* _thisAdjusted;
- int32_t _offset = 1;
- _thisAdjusted = reinterpret_cast<TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C*>(__this + _offset);
- TimeoutTracker__ctor_mBFE73B99C5BBB93D251DF9731B9C5D824F30CDCE(_thisAdjusted, ___0_millisecondsTimeout, method);
- }
- // System.Int32 System.Threading.ReaderWriterLockSlim/TimeoutTracker::get_RemainingMilliseconds()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TimeoutTracker_get_RemainingMilliseconds_mDAA8A0E545F8E28D3688095CA346B0A04337BC23 (TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C* __this, const RuntimeMethod* method)
- {
- int32_t V_0 = 0;
- {
- int32_t L_0 = __this->___m_total_0;
- if ((((int32_t)L_0) == ((int32_t)(-1))))
- {
- goto IL_0011;
- }
- }
- {
- int32_t L_1 = __this->___m_total_0;
- if (L_1)
- {
- goto IL_0018;
- }
- }
-
- IL_0011:
- {
- int32_t L_2 = __this->___m_total_0;
- return L_2;
- }
-
- IL_0018:
- {
- int32_t L_3;
- L_3 = Environment_get_TickCount_m183BFCF001E12849E3D898957F0B81FD88BA183C(NULL);
- int32_t L_4 = __this->___m_start_1;
- V_0 = ((int32_t)il2cpp_codegen_subtract(L_3, L_4));
- int32_t L_5 = V_0;
- if ((((int32_t)L_5) < ((int32_t)0)))
- {
- goto IL_0032;
- }
- }
- {
- int32_t L_6 = V_0;
- int32_t L_7 = __this->___m_total_0;
- if ((((int32_t)L_6) < ((int32_t)L_7)))
- {
- goto IL_0034;
- }
- }
-
- IL_0032:
- {
- return 0;
- }
-
- IL_0034:
- {
- int32_t L_8 = __this->___m_total_0;
- int32_t L_9 = V_0;
- return ((int32_t)il2cpp_codegen_subtract(L_8, L_9));
- }
- }
- IL2CPP_EXTERN_C int32_t TimeoutTracker_get_RemainingMilliseconds_mDAA8A0E545F8E28D3688095CA346B0A04337BC23_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
- {
- TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C* _thisAdjusted;
- int32_t _offset = 1;
- _thisAdjusted = reinterpret_cast<TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C*>(__this + _offset);
- int32_t _returnValue;
- _returnValue = TimeoutTracker_get_RemainingMilliseconds_mDAA8A0E545F8E28D3688095CA346B0A04337BC23(_thisAdjusted, method);
- return _returnValue;
- }
- // System.Boolean System.Threading.ReaderWriterLockSlim/TimeoutTracker::get_IsExpired()
- IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TimeoutTracker_get_IsExpired_m5E08DCC01117EF66ADEBA5472B27833577289813 (TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C* __this, const RuntimeMethod* method)
- {
- {
- int32_t L_0;
- L_0 = TimeoutTracker_get_RemainingMilliseconds_mDAA8A0E545F8E28D3688095CA346B0A04337BC23(__this, NULL);
- return (bool)((((int32_t)L_0) == ((int32_t)0))? 1 : 0);
- }
- }
- IL2CPP_EXTERN_C bool TimeoutTracker_get_IsExpired_m5E08DCC01117EF66ADEBA5472B27833577289813_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
- {
- TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C* _thisAdjusted;
- int32_t _offset = 1;
- _thisAdjusted = reinterpret_cast<TimeoutTracker_tF7165D38C7B863F71E6B60DF267C8DDE0D76299C*>(__this + _offset);
- bool _returnValue;
- _returnValue = TimeoutTracker_get_IsExpired_m5E08DCC01117EF66ADEBA5472B27833577289813(_thisAdjusted, method);
- return _returnValue;
- }
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool ReaderWriterLockSlim_IsRWEntryEmpty_m34743FF639EF9B44D704FC98D3DEA99CFD634E95_inline (ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* ___0_rwc, const RuntimeMethod* method)
- {
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_0 = ___0_rwc;
- NullCheck(L_0);
- int64_t L_1 = L_0->___lockID_0;
- if (L_1)
- {
- goto IL_000a;
- }
- }
- {
- return (bool)1;
- }
-
- IL_000a:
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_2 = ___0_rwc;
- NullCheck(L_2);
- int32_t L_3 = L_2->___readercount_1;
- if (L_3)
- {
- goto IL_0024;
- }
- }
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_4 = ___0_rwc;
- NullCheck(L_4);
- int32_t L_5 = L_4->___writercount_2;
- if (L_5)
- {
- goto IL_0024;
- }
- }
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_6 = ___0_rwc;
- NullCheck(L_6);
- int32_t L_7 = L_6->___upgradecount_3;
- if (L_7)
- {
- goto IL_0024;
- }
- }
- {
- return (bool)1;
- }
-
- IL_0024:
- {
- return (bool)0;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void ReaderWriterLockSlim_EnterMyLock_mDB590C9A0A55830B1C347DAB0A3F4972E9F0DE59_inline (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- {
- int32_t* L_0 = (&__this->___myLock_1);
- int32_t L_1;
- L_1 = Interlocked_CompareExchange_mB06E8737D3DA41F9FFBC38A6D0583D515EFB5717(L_0, 1, 0, NULL);
- if (!L_1)
- {
- goto IL_0015;
- }
- }
- {
- ReaderWriterLockSlim_EnterMyLockSpin_mC785B7BB91A152B37FF1115AFA5D752AC6DBE9F6(__this, NULL);
- }
-
- IL_0015:
- {
- return;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* ReaderWriterLockSlim_GetThreadRWCount_m693F7FFBBFB98DEF312E4B3A200DA95266CA4E96_inline (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, bool ___0_dontAllocate, const RuntimeMethod* method)
- {
- static bool s_Il2CppMethodInitialized;
- if (!s_Il2CppMethodInitialized)
- {
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333_il2cpp_TypeInfo_var);
- il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_il2cpp_TypeInfo_var);
- s_Il2CppMethodInitialized = true;
- }
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* V_0 = NULL;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* V_1 = NULL;
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_0 = ((ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_il2cpp_TypeInfo_var))->___t_rwc_15;
- V_0 = L_0;
- V_1 = (ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333*)NULL;
- goto IL_0031;
- }
-
- IL_000a:
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_1 = V_0;
- NullCheck(L_1);
- int64_t L_2 = L_1->___lockID_0;
- int64_t L_3 = __this->___lockID_14;
- if ((!(((uint64_t)L_2) == ((uint64_t)L_3))))
- {
- goto IL_001a;
- }
- }
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_4 = V_0;
- return L_4;
- }
-
- IL_001a:
- {
- bool L_5 = ___0_dontAllocate;
- if (L_5)
- {
- goto IL_002a;
- }
- }
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_6 = V_1;
- if (L_6)
- {
- goto IL_002a;
- }
- }
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_7 = V_0;
- bool L_8;
- L_8 = ReaderWriterLockSlim_IsRWEntryEmpty_m34743FF639EF9B44D704FC98D3DEA99CFD634E95_inline(L_7, NULL);
- if (!L_8)
- {
- goto IL_002a;
- }
- }
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_9 = V_0;
- V_1 = L_9;
- }
-
- IL_002a:
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_10 = V_0;
- NullCheck(L_10);
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_11 = L_10->___next_4;
- V_0 = L_11;
- }
-
- IL_0031:
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_12 = V_0;
- if (L_12)
- {
- goto IL_000a;
- }
- }
- {
- bool L_13 = ___0_dontAllocate;
- if (!L_13)
- {
- goto IL_0039;
- }
- }
- {
- return (ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333*)NULL;
- }
-
- IL_0039:
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_14 = V_1;
- if (L_14)
- {
- goto IL_0053;
- }
- }
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_15 = (ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333*)il2cpp_codegen_object_new(ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333_il2cpp_TypeInfo_var);
- NullCheck(L_15);
- ReaderWriterCount__ctor_m8FE7B774A506545AF710639DB53F7677A2FA658A(L_15, NULL);
- V_1 = L_15;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_16 = V_1;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_17 = ((ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_il2cpp_TypeInfo_var))->___t_rwc_15;
- NullCheck(L_16);
- L_16->___next_4 = L_17;
- Il2CppCodeGenWriteBarrier((void**)(&L_16->___next_4), (void*)L_17);
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_18 = V_1;
- ((ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_il2cpp_TypeInfo_var))->___t_rwc_15 = L_18;
- Il2CppCodeGenWriteBarrier((void**)(&((ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_ThreadStaticFields*)il2cpp_codegen_get_thread_static_data(ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906_il2cpp_TypeInfo_var))->___t_rwc_15), (void*)L_18);
- }
-
- IL_0053:
- {
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_19 = V_1;
- int64_t L_20 = __this->___lockID_14;
- NullCheck(L_19);
- L_19->___lockID_0 = L_20;
- ReaderWriterCount_tD7361BF31DEB70DC7319519D215F400357543333* L_21 = V_1;
- return L_21;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t ReaderWriterLockSlim_get_WaitingReadCount_mD79E93CABC9BFBA4AB306193DDF8CE90F1818C92_inline (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- {
- uint32_t L_0 = __this->___numReadWaiters_3;
- return L_0;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t ReaderWriterLockSlim_get_WaitingUpgradeCount_m13892A21F7EF1D7ED202D186B2E7B2B6C400F388_inline (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- {
- uint32_t L_0 = __this->___numUpgradeWaiters_5;
- return L_0;
- }
- }
- IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t ReaderWriterLockSlim_get_WaitingWriteCount_m8FE677BDB0E776125691C0A4C1A74B5B8637D246_inline (ReaderWriterLockSlim_t3BF29C18C9FC0EE07209EDD54D938EA473FB3906* __this, const RuntimeMethod* method)
- {
- {
- uint32_t L_0 = __this->___numWriteWaiters_2;
- return L_0;
- }
- }
|