Ei kuvausta
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

FixedStringFormat.gen.cs 637KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386
  1. 
  2. //------------------------------------------------------------------------------
  3. // <auto-generated>
  4. // This code was generated by a tool.
  5. //
  6. // TextTransform Samples/Packages/com.unity.collections/Unity.Collections/FixedStringFormat.tt
  7. //
  8. // Changes to this file may cause incorrect behavior and will be lost if
  9. // the code is regenerated.
  10. // </auto-generated>
  11. //------------------------------------------------------------------------------
  12. using System;
  13. using System.Runtime.InteropServices;
  14. using Unity.Collections.LowLevel.Unsafe;
  15. using UnityEngine.Internal;
  16. namespace Unity.Collections
  17. {
  18. /// <summary>
  19. /// Provides formatting methods for FixedString*N*.
  20. /// </summary>
  21. [GenerateTestsForBurstCompatibility]
  22. public static class FixedString
  23. {
  24. /// <summary>
  25. /// Returns a new string produced by interpolating a format string.
  26. /// </summary>
  27. /// <remarks>
  28. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  29. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  30. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  31. ///
  32. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  33. /// - FixedString*N*Bytes
  34. /// - string
  35. /// - int
  36. /// - float
  37. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  38. ///
  39. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  40. /// </remarks>
  41. /// <param name="formatString">The format string.</param>
  42. /// <param name="arg0">Value to interpolate into the format string.</param>
  43. /// <param name="arg1">Value to interpolate into the format string.</param>
  44. /// <param name="arg2">Value to interpolate into the format string.</param>
  45. /// <param name="arg3">Value to interpolate into the format string.</param>
  46. /// <returns>A new string produced by interpolating the format string.</returns>
  47. public static FixedString512Bytes Format(FixedString512Bytes formatString, int arg0, int arg1, int arg2, int arg3)
  48. {
  49. FixedString512Bytes result = default;
  50. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  51. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  52. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  53. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  54. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  55. return result;
  56. }
  57. /// <summary>
  58. /// Returns a new string produced by interpolating a format string.
  59. /// </summary>
  60. /// <remarks>
  61. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  62. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  63. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  64. ///
  65. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  66. /// - FixedString*N*Bytes
  67. /// - string
  68. /// - int
  69. /// - float
  70. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  71. ///
  72. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  73. /// </remarks>
  74. /// <param name="formatString">The format string.</param>
  75. /// <param name="arg0">Value to interpolate into the format string.</param>
  76. /// <param name="arg1">Value to interpolate into the format string.</param>
  77. /// <param name="arg2">Value to interpolate into the format string.</param>
  78. /// <param name="arg3">Value to interpolate into the format string.</param>
  79. /// <returns>A new string produced by interpolating the format string.</returns>
  80. public static FixedString512Bytes Format(FixedString512Bytes formatString, float arg0, int arg1, int arg2, int arg3)
  81. {
  82. FixedString512Bytes result = default;
  83. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  84. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  85. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  86. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  87. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  88. return result;
  89. }
  90. /// <summary>
  91. /// Returns a new string produced by interpolating a format string.
  92. /// </summary>
  93. /// <remarks>
  94. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  95. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  96. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  97. ///
  98. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  99. /// - FixedString*N*Bytes
  100. /// - string
  101. /// - int
  102. /// - float
  103. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  104. ///
  105. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  106. /// </remarks>
  107. /// <param name="formatString">The format string.</param>
  108. /// <param name="arg0">Value to interpolate into the format string.</param>
  109. /// <param name="arg1">Value to interpolate into the format string.</param>
  110. /// <param name="arg2">Value to interpolate into the format string.</param>
  111. /// <param name="arg3">Value to interpolate into the format string.</param>
  112. /// <returns>A new string produced by interpolating the format string.</returns>
  113. [ExcludeFromBurstCompatTesting("Takes managed string")]
  114. public static FixedString512Bytes Format(FixedString512Bytes formatString, string arg0, int arg1, int arg2, int arg3)
  115. {
  116. FixedString512Bytes result = default;
  117. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  118. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  119. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  120. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  121. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  122. return result;
  123. }
  124. /// <summary>
  125. /// Returns a new string produced by interpolating a format string.
  126. /// </summary>
  127. /// <remarks>
  128. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  129. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  130. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  131. ///
  132. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  133. /// - FixedString*N*Bytes
  134. /// - string
  135. /// - int
  136. /// - float
  137. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  138. ///
  139. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  140. /// </remarks>
  141. /// <param name="formatString">The format string.</param>
  142. /// <typeparam name="T1"><undoc /></typeparam>
  143. /// <param name="arg0">Value to interpolate into the format string.</param>
  144. /// <param name="arg1">Value to interpolate into the format string.</param>
  145. /// <param name="arg2">Value to interpolate into the format string.</param>
  146. /// <param name="arg3">Value to interpolate into the format string.</param>
  147. /// <returns>A new string produced by interpolating the format string.</returns>
  148. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  149. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, T1 arg0, int arg1, int arg2, int arg3)
  150. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  151. {
  152. FixedString512Bytes result = default;
  153. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  154. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  155. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  156. result.AppendFormat(formatString, arg0, carg1, carg2, carg3);
  157. return result;
  158. }
  159. /// <summary>
  160. /// Returns a new string produced by interpolating a format string.
  161. /// </summary>
  162. /// <remarks>
  163. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  164. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  165. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  166. ///
  167. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  168. /// - FixedString*N*Bytes
  169. /// - string
  170. /// - int
  171. /// - float
  172. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  173. ///
  174. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  175. /// </remarks>
  176. /// <param name="formatString">The format string.</param>
  177. /// <param name="arg0">Value to interpolate into the format string.</param>
  178. /// <param name="arg1">Value to interpolate into the format string.</param>
  179. /// <param name="arg2">Value to interpolate into the format string.</param>
  180. /// <param name="arg3">Value to interpolate into the format string.</param>
  181. /// <returns>A new string produced by interpolating the format string.</returns>
  182. public static FixedString512Bytes Format(FixedString512Bytes formatString, int arg0, float arg1, int arg2, int arg3)
  183. {
  184. FixedString512Bytes result = default;
  185. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  186. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  187. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  188. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  189. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  190. return result;
  191. }
  192. /// <summary>
  193. /// Returns a new string produced by interpolating a format string.
  194. /// </summary>
  195. /// <remarks>
  196. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  197. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  198. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  199. ///
  200. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  201. /// - FixedString*N*Bytes
  202. /// - string
  203. /// - int
  204. /// - float
  205. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  206. ///
  207. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  208. /// </remarks>
  209. /// <param name="formatString">The format string.</param>
  210. /// <param name="arg0">Value to interpolate into the format string.</param>
  211. /// <param name="arg1">Value to interpolate into the format string.</param>
  212. /// <param name="arg2">Value to interpolate into the format string.</param>
  213. /// <param name="arg3">Value to interpolate into the format string.</param>
  214. /// <returns>A new string produced by interpolating the format string.</returns>
  215. public static FixedString512Bytes Format(FixedString512Bytes formatString, float arg0, float arg1, int arg2, int arg3)
  216. {
  217. FixedString512Bytes result = default;
  218. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  219. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  220. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  221. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  222. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  223. return result;
  224. }
  225. /// <summary>
  226. /// Returns a new string produced by interpolating a format string.
  227. /// </summary>
  228. /// <remarks>
  229. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  230. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  231. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  232. ///
  233. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  234. /// - FixedString*N*Bytes
  235. /// - string
  236. /// - int
  237. /// - float
  238. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  239. ///
  240. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  241. /// </remarks>
  242. /// <param name="formatString">The format string.</param>
  243. /// <param name="arg0">Value to interpolate into the format string.</param>
  244. /// <param name="arg1">Value to interpolate into the format string.</param>
  245. /// <param name="arg2">Value to interpolate into the format string.</param>
  246. /// <param name="arg3">Value to interpolate into the format string.</param>
  247. /// <returns>A new string produced by interpolating the format string.</returns>
  248. [ExcludeFromBurstCompatTesting("Takes managed string")]
  249. public static FixedString512Bytes Format(FixedString512Bytes formatString, string arg0, float arg1, int arg2, int arg3)
  250. {
  251. FixedString512Bytes result = default;
  252. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  253. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  254. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  255. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  256. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  257. return result;
  258. }
  259. /// <summary>
  260. /// Returns a new string produced by interpolating a format string.
  261. /// </summary>
  262. /// <remarks>
  263. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  264. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  265. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  266. ///
  267. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  268. /// - FixedString*N*Bytes
  269. /// - string
  270. /// - int
  271. /// - float
  272. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  273. ///
  274. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  275. /// </remarks>
  276. /// <param name="formatString">The format string.</param>
  277. /// <typeparam name="T1"><undoc /></typeparam>
  278. /// <param name="arg0">Value to interpolate into the format string.</param>
  279. /// <param name="arg1">Value to interpolate into the format string.</param>
  280. /// <param name="arg2">Value to interpolate into the format string.</param>
  281. /// <param name="arg3">Value to interpolate into the format string.</param>
  282. /// <returns>A new string produced by interpolating the format string.</returns>
  283. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  284. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, T1 arg0, float arg1, int arg2, int arg3)
  285. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  286. {
  287. FixedString512Bytes result = default;
  288. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  289. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  290. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  291. result.AppendFormat(formatString, arg0, carg1, carg2, carg3);
  292. return result;
  293. }
  294. /// <summary>
  295. /// Returns a new string produced by interpolating a format string.
  296. /// </summary>
  297. /// <remarks>
  298. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  299. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  300. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  301. ///
  302. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  303. /// - FixedString*N*Bytes
  304. /// - string
  305. /// - int
  306. /// - float
  307. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  308. ///
  309. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  310. /// </remarks>
  311. /// <param name="formatString">The format string.</param>
  312. /// <param name="arg0">Value to interpolate into the format string.</param>
  313. /// <param name="arg1">Value to interpolate into the format string.</param>
  314. /// <param name="arg2">Value to interpolate into the format string.</param>
  315. /// <param name="arg3">Value to interpolate into the format string.</param>
  316. /// <returns>A new string produced by interpolating the format string.</returns>
  317. [ExcludeFromBurstCompatTesting("Takes managed string")]
  318. public static FixedString512Bytes Format(FixedString512Bytes formatString, int arg0, string arg1, int arg2, int arg3)
  319. {
  320. FixedString512Bytes result = default;
  321. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  322. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  323. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  324. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  325. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  326. return result;
  327. }
  328. /// <summary>
  329. /// Returns a new string produced by interpolating a format string.
  330. /// </summary>
  331. /// <remarks>
  332. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  333. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  334. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  335. ///
  336. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  337. /// - FixedString*N*Bytes
  338. /// - string
  339. /// - int
  340. /// - float
  341. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  342. ///
  343. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  344. /// </remarks>
  345. /// <param name="formatString">The format string.</param>
  346. /// <param name="arg0">Value to interpolate into the format string.</param>
  347. /// <param name="arg1">Value to interpolate into the format string.</param>
  348. /// <param name="arg2">Value to interpolate into the format string.</param>
  349. /// <param name="arg3">Value to interpolate into the format string.</param>
  350. /// <returns>A new string produced by interpolating the format string.</returns>
  351. [ExcludeFromBurstCompatTesting("Takes managed string")]
  352. public static FixedString512Bytes Format(FixedString512Bytes formatString, float arg0, string arg1, int arg2, int arg3)
  353. {
  354. FixedString512Bytes result = default;
  355. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  356. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  357. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  358. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  359. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  360. return result;
  361. }
  362. /// <summary>
  363. /// Returns a new string produced by interpolating a format string.
  364. /// </summary>
  365. /// <remarks>
  366. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  367. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  368. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  369. ///
  370. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  371. /// - FixedString*N*Bytes
  372. /// - string
  373. /// - int
  374. /// - float
  375. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  376. ///
  377. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  378. /// </remarks>
  379. /// <param name="formatString">The format string.</param>
  380. /// <param name="arg0">Value to interpolate into the format string.</param>
  381. /// <param name="arg1">Value to interpolate into the format string.</param>
  382. /// <param name="arg2">Value to interpolate into the format string.</param>
  383. /// <param name="arg3">Value to interpolate into the format string.</param>
  384. /// <returns>A new string produced by interpolating the format string.</returns>
  385. [ExcludeFromBurstCompatTesting("Takes managed string")]
  386. public static FixedString512Bytes Format(FixedString512Bytes formatString, string arg0, string arg1, int arg2, int arg3)
  387. {
  388. FixedString512Bytes result = default;
  389. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  390. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  391. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  392. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  393. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  394. return result;
  395. }
  396. /// <summary>
  397. /// Returns a new string produced by interpolating a format string.
  398. /// </summary>
  399. /// <remarks>
  400. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  401. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  402. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  403. ///
  404. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  405. /// - FixedString*N*Bytes
  406. /// - string
  407. /// - int
  408. /// - float
  409. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  410. ///
  411. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  412. /// </remarks>
  413. /// <param name="formatString">The format string.</param>
  414. /// <typeparam name="T1"><undoc /></typeparam>
  415. /// <param name="arg0">Value to interpolate into the format string.</param>
  416. /// <param name="arg1">Value to interpolate into the format string.</param>
  417. /// <param name="arg2">Value to interpolate into the format string.</param>
  418. /// <param name="arg3">Value to interpolate into the format string.</param>
  419. /// <returns>A new string produced by interpolating the format string.</returns>
  420. [ExcludeFromBurstCompatTesting("Takes managed string")]
  421. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, T1 arg0, string arg1, int arg2, int arg3)
  422. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  423. {
  424. FixedString512Bytes result = default;
  425. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  426. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  427. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  428. result.AppendFormat(formatString, arg0, carg1, carg2, carg3);
  429. return result;
  430. }
  431. /// <summary>
  432. /// Returns a new string produced by interpolating a format string.
  433. /// </summary>
  434. /// <remarks>
  435. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  436. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  437. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  438. ///
  439. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  440. /// - FixedString*N*Bytes
  441. /// - string
  442. /// - int
  443. /// - float
  444. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  445. ///
  446. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  447. /// </remarks>
  448. /// <param name="formatString">The format string.</param>
  449. /// <typeparam name="T1"><undoc /></typeparam>
  450. /// <param name="arg0">Value to interpolate into the format string.</param>
  451. /// <param name="arg1">Value to interpolate into the format string.</param>
  452. /// <param name="arg2">Value to interpolate into the format string.</param>
  453. /// <param name="arg3">Value to interpolate into the format string.</param>
  454. /// <returns>A new string produced by interpolating the format string.</returns>
  455. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  456. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, int arg0, T1 arg1, int arg2, int arg3)
  457. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  458. {
  459. FixedString512Bytes result = default;
  460. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  461. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  462. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  463. result.AppendFormat(formatString, carg0, arg1, carg2, carg3);
  464. return result;
  465. }
  466. /// <summary>
  467. /// Returns a new string produced by interpolating a format string.
  468. /// </summary>
  469. /// <remarks>
  470. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  471. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  472. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  473. ///
  474. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  475. /// - FixedString*N*Bytes
  476. /// - string
  477. /// - int
  478. /// - float
  479. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  480. ///
  481. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  482. /// </remarks>
  483. /// <param name="formatString">The format string.</param>
  484. /// <typeparam name="T1"><undoc /></typeparam>
  485. /// <param name="arg0">Value to interpolate into the format string.</param>
  486. /// <param name="arg1">Value to interpolate into the format string.</param>
  487. /// <param name="arg2">Value to interpolate into the format string.</param>
  488. /// <param name="arg3">Value to interpolate into the format string.</param>
  489. /// <returns>A new string produced by interpolating the format string.</returns>
  490. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  491. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, float arg0, T1 arg1, int arg2, int arg3)
  492. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  493. {
  494. FixedString512Bytes result = default;
  495. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  496. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  497. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  498. result.AppendFormat(formatString, carg0, arg1, carg2, carg3);
  499. return result;
  500. }
  501. /// <summary>
  502. /// Returns a new string produced by interpolating a format string.
  503. /// </summary>
  504. /// <remarks>
  505. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  506. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  507. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  508. ///
  509. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  510. /// - FixedString*N*Bytes
  511. /// - string
  512. /// - int
  513. /// - float
  514. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  515. ///
  516. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  517. /// </remarks>
  518. /// <param name="formatString">The format string.</param>
  519. /// <typeparam name="T1"><undoc /></typeparam>
  520. /// <param name="arg0">Value to interpolate into the format string.</param>
  521. /// <param name="arg1">Value to interpolate into the format string.</param>
  522. /// <param name="arg2">Value to interpolate into the format string.</param>
  523. /// <param name="arg3">Value to interpolate into the format string.</param>
  524. /// <returns>A new string produced by interpolating the format string.</returns>
  525. [ExcludeFromBurstCompatTesting("Takes managed string")]
  526. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, string arg0, T1 arg1, int arg2, int arg3)
  527. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  528. {
  529. FixedString512Bytes result = default;
  530. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  531. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  532. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  533. result.AppendFormat(formatString, carg0, arg1, carg2, carg3);
  534. return result;
  535. }
  536. /// <summary>
  537. /// Returns a new string produced by interpolating a format string.
  538. /// </summary>
  539. /// <remarks>
  540. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  541. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  542. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  543. ///
  544. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  545. /// - FixedString*N*Bytes
  546. /// - string
  547. /// - int
  548. /// - float
  549. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  550. ///
  551. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  552. /// </remarks>
  553. /// <param name="formatString">The format string.</param>
  554. /// <typeparam name="T1"><undoc /></typeparam>
  555. /// <typeparam name="T2"><undoc /></typeparam>
  556. /// <param name="arg0">Value to interpolate into the format string.</param>
  557. /// <param name="arg1">Value to interpolate into the format string.</param>
  558. /// <param name="arg2">Value to interpolate into the format string.</param>
  559. /// <param name="arg3">Value to interpolate into the format string.</param>
  560. /// <returns>A new string produced by interpolating the format string.</returns>
  561. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/) } )]
  562. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, T1 arg0, T2 arg1, int arg2, int arg3)
  563. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  564. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  565. {
  566. FixedString512Bytes result = default;
  567. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  568. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  569. result.AppendFormat(formatString, arg0, arg1, carg2, carg3);
  570. return result;
  571. }
  572. /// <summary>
  573. /// Returns a new string produced by interpolating a format string.
  574. /// </summary>
  575. /// <remarks>
  576. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  577. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  578. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  579. ///
  580. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  581. /// - FixedString*N*Bytes
  582. /// - string
  583. /// - int
  584. /// - float
  585. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  586. ///
  587. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  588. /// </remarks>
  589. /// <param name="formatString">The format string.</param>
  590. /// <param name="arg0">Value to interpolate into the format string.</param>
  591. /// <param name="arg1">Value to interpolate into the format string.</param>
  592. /// <param name="arg2">Value to interpolate into the format string.</param>
  593. /// <param name="arg3">Value to interpolate into the format string.</param>
  594. /// <returns>A new string produced by interpolating the format string.</returns>
  595. public static FixedString512Bytes Format(FixedString512Bytes formatString, int arg0, int arg1, float arg2, int arg3)
  596. {
  597. FixedString512Bytes result = default;
  598. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  599. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  600. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  601. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  602. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  603. return result;
  604. }
  605. /// <summary>
  606. /// Returns a new string produced by interpolating a format string.
  607. /// </summary>
  608. /// <remarks>
  609. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  610. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  611. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  612. ///
  613. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  614. /// - FixedString*N*Bytes
  615. /// - string
  616. /// - int
  617. /// - float
  618. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  619. ///
  620. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  621. /// </remarks>
  622. /// <param name="formatString">The format string.</param>
  623. /// <param name="arg0">Value to interpolate into the format string.</param>
  624. /// <param name="arg1">Value to interpolate into the format string.</param>
  625. /// <param name="arg2">Value to interpolate into the format string.</param>
  626. /// <param name="arg3">Value to interpolate into the format string.</param>
  627. /// <returns>A new string produced by interpolating the format string.</returns>
  628. public static FixedString512Bytes Format(FixedString512Bytes formatString, float arg0, int arg1, float arg2, int arg3)
  629. {
  630. FixedString512Bytes result = default;
  631. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  632. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  633. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  634. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  635. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  636. return result;
  637. }
  638. /// <summary>
  639. /// Returns a new string produced by interpolating a format string.
  640. /// </summary>
  641. /// <remarks>
  642. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  643. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  644. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  645. ///
  646. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  647. /// - FixedString*N*Bytes
  648. /// - string
  649. /// - int
  650. /// - float
  651. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  652. ///
  653. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  654. /// </remarks>
  655. /// <param name="formatString">The format string.</param>
  656. /// <param name="arg0">Value to interpolate into the format string.</param>
  657. /// <param name="arg1">Value to interpolate into the format string.</param>
  658. /// <param name="arg2">Value to interpolate into the format string.</param>
  659. /// <param name="arg3">Value to interpolate into the format string.</param>
  660. /// <returns>A new string produced by interpolating the format string.</returns>
  661. [ExcludeFromBurstCompatTesting("Takes managed string")]
  662. public static FixedString512Bytes Format(FixedString512Bytes formatString, string arg0, int arg1, float arg2, int arg3)
  663. {
  664. FixedString512Bytes result = default;
  665. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  666. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  667. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  668. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  669. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  670. return result;
  671. }
  672. /// <summary>
  673. /// Returns a new string produced by interpolating a format string.
  674. /// </summary>
  675. /// <remarks>
  676. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  677. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  678. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  679. ///
  680. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  681. /// - FixedString*N*Bytes
  682. /// - string
  683. /// - int
  684. /// - float
  685. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  686. ///
  687. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  688. /// </remarks>
  689. /// <param name="formatString">The format string.</param>
  690. /// <typeparam name="T1"><undoc /></typeparam>
  691. /// <param name="arg0">Value to interpolate into the format string.</param>
  692. /// <param name="arg1">Value to interpolate into the format string.</param>
  693. /// <param name="arg2">Value to interpolate into the format string.</param>
  694. /// <param name="arg3">Value to interpolate into the format string.</param>
  695. /// <returns>A new string produced by interpolating the format string.</returns>
  696. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  697. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, T1 arg0, int arg1, float arg2, int arg3)
  698. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  699. {
  700. FixedString512Bytes result = default;
  701. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  702. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  703. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  704. result.AppendFormat(formatString, arg0, carg1, carg2, carg3);
  705. return result;
  706. }
  707. /// <summary>
  708. /// Returns a new string produced by interpolating a format string.
  709. /// </summary>
  710. /// <remarks>
  711. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  712. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  713. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  714. ///
  715. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  716. /// - FixedString*N*Bytes
  717. /// - string
  718. /// - int
  719. /// - float
  720. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  721. ///
  722. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  723. /// </remarks>
  724. /// <param name="formatString">The format string.</param>
  725. /// <param name="arg0">Value to interpolate into the format string.</param>
  726. /// <param name="arg1">Value to interpolate into the format string.</param>
  727. /// <param name="arg2">Value to interpolate into the format string.</param>
  728. /// <param name="arg3">Value to interpolate into the format string.</param>
  729. /// <returns>A new string produced by interpolating the format string.</returns>
  730. public static FixedString512Bytes Format(FixedString512Bytes formatString, int arg0, float arg1, float arg2, int arg3)
  731. {
  732. FixedString512Bytes result = default;
  733. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  734. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  735. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  736. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  737. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  738. return result;
  739. }
  740. /// <summary>
  741. /// Returns a new string produced by interpolating a format string.
  742. /// </summary>
  743. /// <remarks>
  744. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  745. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  746. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  747. ///
  748. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  749. /// - FixedString*N*Bytes
  750. /// - string
  751. /// - int
  752. /// - float
  753. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  754. ///
  755. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  756. /// </remarks>
  757. /// <param name="formatString">The format string.</param>
  758. /// <param name="arg0">Value to interpolate into the format string.</param>
  759. /// <param name="arg1">Value to interpolate into the format string.</param>
  760. /// <param name="arg2">Value to interpolate into the format string.</param>
  761. /// <param name="arg3">Value to interpolate into the format string.</param>
  762. /// <returns>A new string produced by interpolating the format string.</returns>
  763. public static FixedString512Bytes Format(FixedString512Bytes formatString, float arg0, float arg1, float arg2, int arg3)
  764. {
  765. FixedString512Bytes result = default;
  766. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  767. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  768. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  769. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  770. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  771. return result;
  772. }
  773. /// <summary>
  774. /// Returns a new string produced by interpolating a format string.
  775. /// </summary>
  776. /// <remarks>
  777. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  778. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  779. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  780. ///
  781. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  782. /// - FixedString*N*Bytes
  783. /// - string
  784. /// - int
  785. /// - float
  786. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  787. ///
  788. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  789. /// </remarks>
  790. /// <param name="formatString">The format string.</param>
  791. /// <param name="arg0">Value to interpolate into the format string.</param>
  792. /// <param name="arg1">Value to interpolate into the format string.</param>
  793. /// <param name="arg2">Value to interpolate into the format string.</param>
  794. /// <param name="arg3">Value to interpolate into the format string.</param>
  795. /// <returns>A new string produced by interpolating the format string.</returns>
  796. [ExcludeFromBurstCompatTesting("Takes managed string")]
  797. public static FixedString512Bytes Format(FixedString512Bytes formatString, string arg0, float arg1, float arg2, int arg3)
  798. {
  799. FixedString512Bytes result = default;
  800. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  801. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  802. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  803. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  804. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  805. return result;
  806. }
  807. /// <summary>
  808. /// Returns a new string produced by interpolating a format string.
  809. /// </summary>
  810. /// <remarks>
  811. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  812. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  813. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  814. ///
  815. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  816. /// - FixedString*N*Bytes
  817. /// - string
  818. /// - int
  819. /// - float
  820. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  821. ///
  822. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  823. /// </remarks>
  824. /// <param name="formatString">The format string.</param>
  825. /// <typeparam name="T1"><undoc /></typeparam>
  826. /// <param name="arg0">Value to interpolate into the format string.</param>
  827. /// <param name="arg1">Value to interpolate into the format string.</param>
  828. /// <param name="arg2">Value to interpolate into the format string.</param>
  829. /// <param name="arg3">Value to interpolate into the format string.</param>
  830. /// <returns>A new string produced by interpolating the format string.</returns>
  831. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  832. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, T1 arg0, float arg1, float arg2, int arg3)
  833. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  834. {
  835. FixedString512Bytes result = default;
  836. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  837. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  838. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  839. result.AppendFormat(formatString, arg0, carg1, carg2, carg3);
  840. return result;
  841. }
  842. /// <summary>
  843. /// Returns a new string produced by interpolating a format string.
  844. /// </summary>
  845. /// <remarks>
  846. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  847. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  848. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  849. ///
  850. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  851. /// - FixedString*N*Bytes
  852. /// - string
  853. /// - int
  854. /// - float
  855. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  856. ///
  857. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  858. /// </remarks>
  859. /// <param name="formatString">The format string.</param>
  860. /// <param name="arg0">Value to interpolate into the format string.</param>
  861. /// <param name="arg1">Value to interpolate into the format string.</param>
  862. /// <param name="arg2">Value to interpolate into the format string.</param>
  863. /// <param name="arg3">Value to interpolate into the format string.</param>
  864. /// <returns>A new string produced by interpolating the format string.</returns>
  865. [ExcludeFromBurstCompatTesting("Takes managed string")]
  866. public static FixedString512Bytes Format(FixedString512Bytes formatString, int arg0, string arg1, float arg2, int arg3)
  867. {
  868. FixedString512Bytes result = default;
  869. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  870. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  871. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  872. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  873. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  874. return result;
  875. }
  876. /// <summary>
  877. /// Returns a new string produced by interpolating a format string.
  878. /// </summary>
  879. /// <remarks>
  880. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  881. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  882. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  883. ///
  884. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  885. /// - FixedString*N*Bytes
  886. /// - string
  887. /// - int
  888. /// - float
  889. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  890. ///
  891. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  892. /// </remarks>
  893. /// <param name="formatString">The format string.</param>
  894. /// <param name="arg0">Value to interpolate into the format string.</param>
  895. /// <param name="arg1">Value to interpolate into the format string.</param>
  896. /// <param name="arg2">Value to interpolate into the format string.</param>
  897. /// <param name="arg3">Value to interpolate into the format string.</param>
  898. /// <returns>A new string produced by interpolating the format string.</returns>
  899. [ExcludeFromBurstCompatTesting("Takes managed string")]
  900. public static FixedString512Bytes Format(FixedString512Bytes formatString, float arg0, string arg1, float arg2, int arg3)
  901. {
  902. FixedString512Bytes result = default;
  903. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  904. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  905. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  906. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  907. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  908. return result;
  909. }
  910. /// <summary>
  911. /// Returns a new string produced by interpolating a format string.
  912. /// </summary>
  913. /// <remarks>
  914. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  915. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  916. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  917. ///
  918. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  919. /// - FixedString*N*Bytes
  920. /// - string
  921. /// - int
  922. /// - float
  923. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  924. ///
  925. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  926. /// </remarks>
  927. /// <param name="formatString">The format string.</param>
  928. /// <param name="arg0">Value to interpolate into the format string.</param>
  929. /// <param name="arg1">Value to interpolate into the format string.</param>
  930. /// <param name="arg2">Value to interpolate into the format string.</param>
  931. /// <param name="arg3">Value to interpolate into the format string.</param>
  932. /// <returns>A new string produced by interpolating the format string.</returns>
  933. [ExcludeFromBurstCompatTesting("Takes managed string")]
  934. public static FixedString512Bytes Format(FixedString512Bytes formatString, string arg0, string arg1, float arg2, int arg3)
  935. {
  936. FixedString512Bytes result = default;
  937. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  938. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  939. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  940. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  941. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  942. return result;
  943. }
  944. /// <summary>
  945. /// Returns a new string produced by interpolating a format string.
  946. /// </summary>
  947. /// <remarks>
  948. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  949. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  950. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  951. ///
  952. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  953. /// - FixedString*N*Bytes
  954. /// - string
  955. /// - int
  956. /// - float
  957. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  958. ///
  959. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  960. /// </remarks>
  961. /// <param name="formatString">The format string.</param>
  962. /// <typeparam name="T1"><undoc /></typeparam>
  963. /// <param name="arg0">Value to interpolate into the format string.</param>
  964. /// <param name="arg1">Value to interpolate into the format string.</param>
  965. /// <param name="arg2">Value to interpolate into the format string.</param>
  966. /// <param name="arg3">Value to interpolate into the format string.</param>
  967. /// <returns>A new string produced by interpolating the format string.</returns>
  968. [ExcludeFromBurstCompatTesting("Takes managed string")]
  969. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, T1 arg0, string arg1, float arg2, int arg3)
  970. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  971. {
  972. FixedString512Bytes result = default;
  973. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  974. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  975. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  976. result.AppendFormat(formatString, arg0, carg1, carg2, carg3);
  977. return result;
  978. }
  979. /// <summary>
  980. /// Returns a new string produced by interpolating a format string.
  981. /// </summary>
  982. /// <remarks>
  983. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  984. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  985. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  986. ///
  987. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  988. /// - FixedString*N*Bytes
  989. /// - string
  990. /// - int
  991. /// - float
  992. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  993. ///
  994. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  995. /// </remarks>
  996. /// <param name="formatString">The format string.</param>
  997. /// <typeparam name="T1"><undoc /></typeparam>
  998. /// <param name="arg0">Value to interpolate into the format string.</param>
  999. /// <param name="arg1">Value to interpolate into the format string.</param>
  1000. /// <param name="arg2">Value to interpolate into the format string.</param>
  1001. /// <param name="arg3">Value to interpolate into the format string.</param>
  1002. /// <returns>A new string produced by interpolating the format string.</returns>
  1003. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  1004. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, int arg0, T1 arg1, float arg2, int arg3)
  1005. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  1006. {
  1007. FixedString512Bytes result = default;
  1008. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  1009. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  1010. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  1011. result.AppendFormat(formatString, carg0, arg1, carg2, carg3);
  1012. return result;
  1013. }
  1014. /// <summary>
  1015. /// Returns a new string produced by interpolating a format string.
  1016. /// </summary>
  1017. /// <remarks>
  1018. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  1019. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  1020. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  1021. ///
  1022. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  1023. /// - FixedString*N*Bytes
  1024. /// - string
  1025. /// - int
  1026. /// - float
  1027. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  1028. ///
  1029. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  1030. /// </remarks>
  1031. /// <param name="formatString">The format string.</param>
  1032. /// <typeparam name="T1"><undoc /></typeparam>
  1033. /// <param name="arg0">Value to interpolate into the format string.</param>
  1034. /// <param name="arg1">Value to interpolate into the format string.</param>
  1035. /// <param name="arg2">Value to interpolate into the format string.</param>
  1036. /// <param name="arg3">Value to interpolate into the format string.</param>
  1037. /// <returns>A new string produced by interpolating the format string.</returns>
  1038. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  1039. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, float arg0, T1 arg1, float arg2, int arg3)
  1040. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  1041. {
  1042. FixedString512Bytes result = default;
  1043. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  1044. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  1045. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  1046. result.AppendFormat(formatString, carg0, arg1, carg2, carg3);
  1047. return result;
  1048. }
  1049. /// <summary>
  1050. /// Returns a new string produced by interpolating a format string.
  1051. /// </summary>
  1052. /// <remarks>
  1053. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  1054. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  1055. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  1056. ///
  1057. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  1058. /// - FixedString*N*Bytes
  1059. /// - string
  1060. /// - int
  1061. /// - float
  1062. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  1063. ///
  1064. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  1065. /// </remarks>
  1066. /// <param name="formatString">The format string.</param>
  1067. /// <typeparam name="T1"><undoc /></typeparam>
  1068. /// <param name="arg0">Value to interpolate into the format string.</param>
  1069. /// <param name="arg1">Value to interpolate into the format string.</param>
  1070. /// <param name="arg2">Value to interpolate into the format string.</param>
  1071. /// <param name="arg3">Value to interpolate into the format string.</param>
  1072. /// <returns>A new string produced by interpolating the format string.</returns>
  1073. [ExcludeFromBurstCompatTesting("Takes managed string")]
  1074. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, string arg0, T1 arg1, float arg2, int arg3)
  1075. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  1076. {
  1077. FixedString512Bytes result = default;
  1078. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  1079. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  1080. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  1081. result.AppendFormat(formatString, carg0, arg1, carg2, carg3);
  1082. return result;
  1083. }
  1084. /// <summary>
  1085. /// Returns a new string produced by interpolating a format string.
  1086. /// </summary>
  1087. /// <remarks>
  1088. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  1089. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  1090. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  1091. ///
  1092. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  1093. /// - FixedString*N*Bytes
  1094. /// - string
  1095. /// - int
  1096. /// - float
  1097. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  1098. ///
  1099. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  1100. /// </remarks>
  1101. /// <param name="formatString">The format string.</param>
  1102. /// <typeparam name="T1"><undoc /></typeparam>
  1103. /// <typeparam name="T2"><undoc /></typeparam>
  1104. /// <param name="arg0">Value to interpolate into the format string.</param>
  1105. /// <param name="arg1">Value to interpolate into the format string.</param>
  1106. /// <param name="arg2">Value to interpolate into the format string.</param>
  1107. /// <param name="arg3">Value to interpolate into the format string.</param>
  1108. /// <returns>A new string produced by interpolating the format string.</returns>
  1109. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/) } )]
  1110. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, T1 arg0, T2 arg1, float arg2, int arg3)
  1111. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  1112. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  1113. {
  1114. FixedString512Bytes result = default;
  1115. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  1116. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  1117. result.AppendFormat(formatString, arg0, arg1, carg2, carg3);
  1118. return result;
  1119. }
  1120. /// <summary>
  1121. /// Returns a new string produced by interpolating a format string.
  1122. /// </summary>
  1123. /// <remarks>
  1124. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  1125. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  1126. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  1127. ///
  1128. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  1129. /// - FixedString*N*Bytes
  1130. /// - string
  1131. /// - int
  1132. /// - float
  1133. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  1134. ///
  1135. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  1136. /// </remarks>
  1137. /// <param name="formatString">The format string.</param>
  1138. /// <param name="arg0">Value to interpolate into the format string.</param>
  1139. /// <param name="arg1">Value to interpolate into the format string.</param>
  1140. /// <param name="arg2">Value to interpolate into the format string.</param>
  1141. /// <param name="arg3">Value to interpolate into the format string.</param>
  1142. /// <returns>A new string produced by interpolating the format string.</returns>
  1143. [ExcludeFromBurstCompatTesting("Takes managed string")]
  1144. public static FixedString512Bytes Format(FixedString512Bytes formatString, int arg0, int arg1, string arg2, int arg3)
  1145. {
  1146. FixedString512Bytes result = default;
  1147. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  1148. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  1149. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  1150. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  1151. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  1152. return result;
  1153. }
  1154. /// <summary>
  1155. /// Returns a new string produced by interpolating a format string.
  1156. /// </summary>
  1157. /// <remarks>
  1158. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  1159. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  1160. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  1161. ///
  1162. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  1163. /// - FixedString*N*Bytes
  1164. /// - string
  1165. /// - int
  1166. /// - float
  1167. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  1168. ///
  1169. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  1170. /// </remarks>
  1171. /// <param name="formatString">The format string.</param>
  1172. /// <param name="arg0">Value to interpolate into the format string.</param>
  1173. /// <param name="arg1">Value to interpolate into the format string.</param>
  1174. /// <param name="arg2">Value to interpolate into the format string.</param>
  1175. /// <param name="arg3">Value to interpolate into the format string.</param>
  1176. /// <returns>A new string produced by interpolating the format string.</returns>
  1177. [ExcludeFromBurstCompatTesting("Takes managed string")]
  1178. public static FixedString512Bytes Format(FixedString512Bytes formatString, float arg0, int arg1, string arg2, int arg3)
  1179. {
  1180. FixedString512Bytes result = default;
  1181. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  1182. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  1183. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  1184. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  1185. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  1186. return result;
  1187. }
  1188. /// <summary>
  1189. /// Returns a new string produced by interpolating a format string.
  1190. /// </summary>
  1191. /// <remarks>
  1192. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  1193. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  1194. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  1195. ///
  1196. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  1197. /// - FixedString*N*Bytes
  1198. /// - string
  1199. /// - int
  1200. /// - float
  1201. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  1202. ///
  1203. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  1204. /// </remarks>
  1205. /// <param name="formatString">The format string.</param>
  1206. /// <param name="arg0">Value to interpolate into the format string.</param>
  1207. /// <param name="arg1">Value to interpolate into the format string.</param>
  1208. /// <param name="arg2">Value to interpolate into the format string.</param>
  1209. /// <param name="arg3">Value to interpolate into the format string.</param>
  1210. /// <returns>A new string produced by interpolating the format string.</returns>
  1211. [ExcludeFromBurstCompatTesting("Takes managed string")]
  1212. public static FixedString512Bytes Format(FixedString512Bytes formatString, string arg0, int arg1, string arg2, int arg3)
  1213. {
  1214. FixedString512Bytes result = default;
  1215. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  1216. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  1217. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  1218. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  1219. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  1220. return result;
  1221. }
  1222. /// <summary>
  1223. /// Returns a new string produced by interpolating a format string.
  1224. /// </summary>
  1225. /// <remarks>
  1226. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  1227. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  1228. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  1229. ///
  1230. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  1231. /// - FixedString*N*Bytes
  1232. /// - string
  1233. /// - int
  1234. /// - float
  1235. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  1236. ///
  1237. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  1238. /// </remarks>
  1239. /// <param name="formatString">The format string.</param>
  1240. /// <typeparam name="T1"><undoc /></typeparam>
  1241. /// <param name="arg0">Value to interpolate into the format string.</param>
  1242. /// <param name="arg1">Value to interpolate into the format string.</param>
  1243. /// <param name="arg2">Value to interpolate into the format string.</param>
  1244. /// <param name="arg3">Value to interpolate into the format string.</param>
  1245. /// <returns>A new string produced by interpolating the format string.</returns>
  1246. [ExcludeFromBurstCompatTesting("Takes managed string")]
  1247. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, T1 arg0, int arg1, string arg2, int arg3)
  1248. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  1249. {
  1250. FixedString512Bytes result = default;
  1251. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  1252. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  1253. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  1254. result.AppendFormat(formatString, arg0, carg1, carg2, carg3);
  1255. return result;
  1256. }
  1257. /// <summary>
  1258. /// Returns a new string produced by interpolating a format string.
  1259. /// </summary>
  1260. /// <remarks>
  1261. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  1262. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  1263. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  1264. ///
  1265. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  1266. /// - FixedString*N*Bytes
  1267. /// - string
  1268. /// - int
  1269. /// - float
  1270. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  1271. ///
  1272. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  1273. /// </remarks>
  1274. /// <param name="formatString">The format string.</param>
  1275. /// <param name="arg0">Value to interpolate into the format string.</param>
  1276. /// <param name="arg1">Value to interpolate into the format string.</param>
  1277. /// <param name="arg2">Value to interpolate into the format string.</param>
  1278. /// <param name="arg3">Value to interpolate into the format string.</param>
  1279. /// <returns>A new string produced by interpolating the format string.</returns>
  1280. [ExcludeFromBurstCompatTesting("Takes managed string")]
  1281. public static FixedString512Bytes Format(FixedString512Bytes formatString, int arg0, float arg1, string arg2, int arg3)
  1282. {
  1283. FixedString512Bytes result = default;
  1284. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  1285. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  1286. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  1287. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  1288. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  1289. return result;
  1290. }
  1291. /// <summary>
  1292. /// Returns a new string produced by interpolating a format string.
  1293. /// </summary>
  1294. /// <remarks>
  1295. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  1296. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  1297. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  1298. ///
  1299. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  1300. /// - FixedString*N*Bytes
  1301. /// - string
  1302. /// - int
  1303. /// - float
  1304. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  1305. ///
  1306. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  1307. /// </remarks>
  1308. /// <param name="formatString">The format string.</param>
  1309. /// <param name="arg0">Value to interpolate into the format string.</param>
  1310. /// <param name="arg1">Value to interpolate into the format string.</param>
  1311. /// <param name="arg2">Value to interpolate into the format string.</param>
  1312. /// <param name="arg3">Value to interpolate into the format string.</param>
  1313. /// <returns>A new string produced by interpolating the format string.</returns>
  1314. [ExcludeFromBurstCompatTesting("Takes managed string")]
  1315. public static FixedString512Bytes Format(FixedString512Bytes formatString, float arg0, float arg1, string arg2, int arg3)
  1316. {
  1317. FixedString512Bytes result = default;
  1318. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  1319. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  1320. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  1321. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  1322. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  1323. return result;
  1324. }
  1325. /// <summary>
  1326. /// Returns a new string produced by interpolating a format string.
  1327. /// </summary>
  1328. /// <remarks>
  1329. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  1330. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  1331. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  1332. ///
  1333. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  1334. /// - FixedString*N*Bytes
  1335. /// - string
  1336. /// - int
  1337. /// - float
  1338. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  1339. ///
  1340. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  1341. /// </remarks>
  1342. /// <param name="formatString">The format string.</param>
  1343. /// <param name="arg0">Value to interpolate into the format string.</param>
  1344. /// <param name="arg1">Value to interpolate into the format string.</param>
  1345. /// <param name="arg2">Value to interpolate into the format string.</param>
  1346. /// <param name="arg3">Value to interpolate into the format string.</param>
  1347. /// <returns>A new string produced by interpolating the format string.</returns>
  1348. [ExcludeFromBurstCompatTesting("Takes managed string")]
  1349. public static FixedString512Bytes Format(FixedString512Bytes formatString, string arg0, float arg1, string arg2, int arg3)
  1350. {
  1351. FixedString512Bytes result = default;
  1352. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  1353. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  1354. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  1355. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  1356. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  1357. return result;
  1358. }
  1359. /// <summary>
  1360. /// Returns a new string produced by interpolating a format string.
  1361. /// </summary>
  1362. /// <remarks>
  1363. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  1364. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  1365. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  1366. ///
  1367. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  1368. /// - FixedString*N*Bytes
  1369. /// - string
  1370. /// - int
  1371. /// - float
  1372. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  1373. ///
  1374. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  1375. /// </remarks>
  1376. /// <param name="formatString">The format string.</param>
  1377. /// <typeparam name="T1"><undoc /></typeparam>
  1378. /// <param name="arg0">Value to interpolate into the format string.</param>
  1379. /// <param name="arg1">Value to interpolate into the format string.</param>
  1380. /// <param name="arg2">Value to interpolate into the format string.</param>
  1381. /// <param name="arg3">Value to interpolate into the format string.</param>
  1382. /// <returns>A new string produced by interpolating the format string.</returns>
  1383. [ExcludeFromBurstCompatTesting("Takes managed string")]
  1384. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, T1 arg0, float arg1, string arg2, int arg3)
  1385. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  1386. {
  1387. FixedString512Bytes result = default;
  1388. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  1389. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  1390. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  1391. result.AppendFormat(formatString, arg0, carg1, carg2, carg3);
  1392. return result;
  1393. }
  1394. /// <summary>
  1395. /// Returns a new string produced by interpolating a format string.
  1396. /// </summary>
  1397. /// <remarks>
  1398. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  1399. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  1400. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  1401. ///
  1402. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  1403. /// - FixedString*N*Bytes
  1404. /// - string
  1405. /// - int
  1406. /// - float
  1407. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  1408. ///
  1409. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  1410. /// </remarks>
  1411. /// <param name="formatString">The format string.</param>
  1412. /// <param name="arg0">Value to interpolate into the format string.</param>
  1413. /// <param name="arg1">Value to interpolate into the format string.</param>
  1414. /// <param name="arg2">Value to interpolate into the format string.</param>
  1415. /// <param name="arg3">Value to interpolate into the format string.</param>
  1416. /// <returns>A new string produced by interpolating the format string.</returns>
  1417. [ExcludeFromBurstCompatTesting("Takes managed string")]
  1418. public static FixedString512Bytes Format(FixedString512Bytes formatString, int arg0, string arg1, string arg2, int arg3)
  1419. {
  1420. FixedString512Bytes result = default;
  1421. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  1422. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  1423. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  1424. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  1425. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  1426. return result;
  1427. }
  1428. /// <summary>
  1429. /// Returns a new string produced by interpolating a format string.
  1430. /// </summary>
  1431. /// <remarks>
  1432. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  1433. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  1434. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  1435. ///
  1436. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  1437. /// - FixedString*N*Bytes
  1438. /// - string
  1439. /// - int
  1440. /// - float
  1441. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  1442. ///
  1443. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  1444. /// </remarks>
  1445. /// <param name="formatString">The format string.</param>
  1446. /// <param name="arg0">Value to interpolate into the format string.</param>
  1447. /// <param name="arg1">Value to interpolate into the format string.</param>
  1448. /// <param name="arg2">Value to interpolate into the format string.</param>
  1449. /// <param name="arg3">Value to interpolate into the format string.</param>
  1450. /// <returns>A new string produced by interpolating the format string.</returns>
  1451. [ExcludeFromBurstCompatTesting("Takes managed string")]
  1452. public static FixedString512Bytes Format(FixedString512Bytes formatString, float arg0, string arg1, string arg2, int arg3)
  1453. {
  1454. FixedString512Bytes result = default;
  1455. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  1456. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  1457. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  1458. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  1459. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  1460. return result;
  1461. }
  1462. /// <summary>
  1463. /// Returns a new string produced by interpolating a format string.
  1464. /// </summary>
  1465. /// <remarks>
  1466. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  1467. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  1468. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  1469. ///
  1470. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  1471. /// - FixedString*N*Bytes
  1472. /// - string
  1473. /// - int
  1474. /// - float
  1475. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  1476. ///
  1477. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  1478. /// </remarks>
  1479. /// <param name="formatString">The format string.</param>
  1480. /// <param name="arg0">Value to interpolate into the format string.</param>
  1481. /// <param name="arg1">Value to interpolate into the format string.</param>
  1482. /// <param name="arg2">Value to interpolate into the format string.</param>
  1483. /// <param name="arg3">Value to interpolate into the format string.</param>
  1484. /// <returns>A new string produced by interpolating the format string.</returns>
  1485. [ExcludeFromBurstCompatTesting("Takes managed string")]
  1486. public static FixedString512Bytes Format(FixedString512Bytes formatString, string arg0, string arg1, string arg2, int arg3)
  1487. {
  1488. FixedString512Bytes result = default;
  1489. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  1490. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  1491. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  1492. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  1493. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  1494. return result;
  1495. }
  1496. /// <summary>
  1497. /// Returns a new string produced by interpolating a format string.
  1498. /// </summary>
  1499. /// <remarks>
  1500. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  1501. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  1502. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  1503. ///
  1504. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  1505. /// - FixedString*N*Bytes
  1506. /// - string
  1507. /// - int
  1508. /// - float
  1509. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  1510. ///
  1511. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  1512. /// </remarks>
  1513. /// <param name="formatString">The format string.</param>
  1514. /// <typeparam name="T1"><undoc /></typeparam>
  1515. /// <param name="arg0">Value to interpolate into the format string.</param>
  1516. /// <param name="arg1">Value to interpolate into the format string.</param>
  1517. /// <param name="arg2">Value to interpolate into the format string.</param>
  1518. /// <param name="arg3">Value to interpolate into the format string.</param>
  1519. /// <returns>A new string produced by interpolating the format string.</returns>
  1520. [ExcludeFromBurstCompatTesting("Takes managed string")]
  1521. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, T1 arg0, string arg1, string arg2, int arg3)
  1522. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  1523. {
  1524. FixedString512Bytes result = default;
  1525. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  1526. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  1527. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  1528. result.AppendFormat(formatString, arg0, carg1, carg2, carg3);
  1529. return result;
  1530. }
  1531. /// <summary>
  1532. /// Returns a new string produced by interpolating a format string.
  1533. /// </summary>
  1534. /// <remarks>
  1535. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  1536. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  1537. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  1538. ///
  1539. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  1540. /// - FixedString*N*Bytes
  1541. /// - string
  1542. /// - int
  1543. /// - float
  1544. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  1545. ///
  1546. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  1547. /// </remarks>
  1548. /// <param name="formatString">The format string.</param>
  1549. /// <typeparam name="T1"><undoc /></typeparam>
  1550. /// <param name="arg0">Value to interpolate into the format string.</param>
  1551. /// <param name="arg1">Value to interpolate into the format string.</param>
  1552. /// <param name="arg2">Value to interpolate into the format string.</param>
  1553. /// <param name="arg3">Value to interpolate into the format string.</param>
  1554. /// <returns>A new string produced by interpolating the format string.</returns>
  1555. [ExcludeFromBurstCompatTesting("Takes managed string")]
  1556. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, int arg0, T1 arg1, string arg2, int arg3)
  1557. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  1558. {
  1559. FixedString512Bytes result = default;
  1560. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  1561. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  1562. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  1563. result.AppendFormat(formatString, carg0, arg1, carg2, carg3);
  1564. return result;
  1565. }
  1566. /// <summary>
  1567. /// Returns a new string produced by interpolating a format string.
  1568. /// </summary>
  1569. /// <remarks>
  1570. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  1571. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  1572. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  1573. ///
  1574. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  1575. /// - FixedString*N*Bytes
  1576. /// - string
  1577. /// - int
  1578. /// - float
  1579. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  1580. ///
  1581. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  1582. /// </remarks>
  1583. /// <param name="formatString">The format string.</param>
  1584. /// <typeparam name="T1"><undoc /></typeparam>
  1585. /// <param name="arg0">Value to interpolate into the format string.</param>
  1586. /// <param name="arg1">Value to interpolate into the format string.</param>
  1587. /// <param name="arg2">Value to interpolate into the format string.</param>
  1588. /// <param name="arg3">Value to interpolate into the format string.</param>
  1589. /// <returns>A new string produced by interpolating the format string.</returns>
  1590. [ExcludeFromBurstCompatTesting("Takes managed string")]
  1591. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, float arg0, T1 arg1, string arg2, int arg3)
  1592. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  1593. {
  1594. FixedString512Bytes result = default;
  1595. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  1596. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  1597. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  1598. result.AppendFormat(formatString, carg0, arg1, carg2, carg3);
  1599. return result;
  1600. }
  1601. /// <summary>
  1602. /// Returns a new string produced by interpolating a format string.
  1603. /// </summary>
  1604. /// <remarks>
  1605. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  1606. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  1607. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  1608. ///
  1609. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  1610. /// - FixedString*N*Bytes
  1611. /// - string
  1612. /// - int
  1613. /// - float
  1614. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  1615. ///
  1616. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  1617. /// </remarks>
  1618. /// <param name="formatString">The format string.</param>
  1619. /// <typeparam name="T1"><undoc /></typeparam>
  1620. /// <param name="arg0">Value to interpolate into the format string.</param>
  1621. /// <param name="arg1">Value to interpolate into the format string.</param>
  1622. /// <param name="arg2">Value to interpolate into the format string.</param>
  1623. /// <param name="arg3">Value to interpolate into the format string.</param>
  1624. /// <returns>A new string produced by interpolating the format string.</returns>
  1625. [ExcludeFromBurstCompatTesting("Takes managed string")]
  1626. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, string arg0, T1 arg1, string arg2, int arg3)
  1627. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  1628. {
  1629. FixedString512Bytes result = default;
  1630. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  1631. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  1632. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  1633. result.AppendFormat(formatString, carg0, arg1, carg2, carg3);
  1634. return result;
  1635. }
  1636. /// <summary>
  1637. /// Returns a new string produced by interpolating a format string.
  1638. /// </summary>
  1639. /// <remarks>
  1640. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  1641. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  1642. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  1643. ///
  1644. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  1645. /// - FixedString*N*Bytes
  1646. /// - string
  1647. /// - int
  1648. /// - float
  1649. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  1650. ///
  1651. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  1652. /// </remarks>
  1653. /// <param name="formatString">The format string.</param>
  1654. /// <typeparam name="T1"><undoc /></typeparam>
  1655. /// <typeparam name="T2"><undoc /></typeparam>
  1656. /// <param name="arg0">Value to interpolate into the format string.</param>
  1657. /// <param name="arg1">Value to interpolate into the format string.</param>
  1658. /// <param name="arg2">Value to interpolate into the format string.</param>
  1659. /// <param name="arg3">Value to interpolate into the format string.</param>
  1660. /// <returns>A new string produced by interpolating the format string.</returns>
  1661. [ExcludeFromBurstCompatTesting("Takes managed string")]
  1662. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, T1 arg0, T2 arg1, string arg2, int arg3)
  1663. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  1664. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  1665. {
  1666. FixedString512Bytes result = default;
  1667. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  1668. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  1669. result.AppendFormat(formatString, arg0, arg1, carg2, carg3);
  1670. return result;
  1671. }
  1672. /// <summary>
  1673. /// Returns a new string produced by interpolating a format string.
  1674. /// </summary>
  1675. /// <remarks>
  1676. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  1677. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  1678. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  1679. ///
  1680. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  1681. /// - FixedString*N*Bytes
  1682. /// - string
  1683. /// - int
  1684. /// - float
  1685. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  1686. ///
  1687. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  1688. /// </remarks>
  1689. /// <param name="formatString">The format string.</param>
  1690. /// <typeparam name="T1"><undoc /></typeparam>
  1691. /// <param name="arg0">Value to interpolate into the format string.</param>
  1692. /// <param name="arg1">Value to interpolate into the format string.</param>
  1693. /// <param name="arg2">Value to interpolate into the format string.</param>
  1694. /// <param name="arg3">Value to interpolate into the format string.</param>
  1695. /// <returns>A new string produced by interpolating the format string.</returns>
  1696. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  1697. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, int arg0, int arg1, T1 arg2, int arg3)
  1698. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  1699. {
  1700. FixedString512Bytes result = default;
  1701. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  1702. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  1703. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  1704. result.AppendFormat(formatString, carg0, carg1, arg2, carg3);
  1705. return result;
  1706. }
  1707. /// <summary>
  1708. /// Returns a new string produced by interpolating a format string.
  1709. /// </summary>
  1710. /// <remarks>
  1711. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  1712. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  1713. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  1714. ///
  1715. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  1716. /// - FixedString*N*Bytes
  1717. /// - string
  1718. /// - int
  1719. /// - float
  1720. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  1721. ///
  1722. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  1723. /// </remarks>
  1724. /// <param name="formatString">The format string.</param>
  1725. /// <typeparam name="T1"><undoc /></typeparam>
  1726. /// <param name="arg0">Value to interpolate into the format string.</param>
  1727. /// <param name="arg1">Value to interpolate into the format string.</param>
  1728. /// <param name="arg2">Value to interpolate into the format string.</param>
  1729. /// <param name="arg3">Value to interpolate into the format string.</param>
  1730. /// <returns>A new string produced by interpolating the format string.</returns>
  1731. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  1732. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, float arg0, int arg1, T1 arg2, int arg3)
  1733. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  1734. {
  1735. FixedString512Bytes result = default;
  1736. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  1737. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  1738. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  1739. result.AppendFormat(formatString, carg0, carg1, arg2, carg3);
  1740. return result;
  1741. }
  1742. /// <summary>
  1743. /// Returns a new string produced by interpolating a format string.
  1744. /// </summary>
  1745. /// <remarks>
  1746. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  1747. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  1748. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  1749. ///
  1750. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  1751. /// - FixedString*N*Bytes
  1752. /// - string
  1753. /// - int
  1754. /// - float
  1755. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  1756. ///
  1757. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  1758. /// </remarks>
  1759. /// <param name="formatString">The format string.</param>
  1760. /// <typeparam name="T1"><undoc /></typeparam>
  1761. /// <param name="arg0">Value to interpolate into the format string.</param>
  1762. /// <param name="arg1">Value to interpolate into the format string.</param>
  1763. /// <param name="arg2">Value to interpolate into the format string.</param>
  1764. /// <param name="arg3">Value to interpolate into the format string.</param>
  1765. /// <returns>A new string produced by interpolating the format string.</returns>
  1766. [ExcludeFromBurstCompatTesting("Takes managed string")]
  1767. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, string arg0, int arg1, T1 arg2, int arg3)
  1768. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  1769. {
  1770. FixedString512Bytes result = default;
  1771. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  1772. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  1773. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  1774. result.AppendFormat(formatString, carg0, carg1, arg2, carg3);
  1775. return result;
  1776. }
  1777. /// <summary>
  1778. /// Returns a new string produced by interpolating a format string.
  1779. /// </summary>
  1780. /// <remarks>
  1781. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  1782. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  1783. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  1784. ///
  1785. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  1786. /// - FixedString*N*Bytes
  1787. /// - string
  1788. /// - int
  1789. /// - float
  1790. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  1791. ///
  1792. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  1793. /// </remarks>
  1794. /// <param name="formatString">The format string.</param>
  1795. /// <typeparam name="T1"><undoc /></typeparam>
  1796. /// <typeparam name="T2"><undoc /></typeparam>
  1797. /// <param name="arg0">Value to interpolate into the format string.</param>
  1798. /// <param name="arg1">Value to interpolate into the format string.</param>
  1799. /// <param name="arg2">Value to interpolate into the format string.</param>
  1800. /// <param name="arg3">Value to interpolate into the format string.</param>
  1801. /// <returns>A new string produced by interpolating the format string.</returns>
  1802. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/) } )]
  1803. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, T1 arg0, int arg1, T2 arg2, int arg3)
  1804. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  1805. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  1806. {
  1807. FixedString512Bytes result = default;
  1808. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  1809. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  1810. result.AppendFormat(formatString, arg0, carg1, arg2, carg3);
  1811. return result;
  1812. }
  1813. /// <summary>
  1814. /// Returns a new string produced by interpolating a format string.
  1815. /// </summary>
  1816. /// <remarks>
  1817. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  1818. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  1819. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  1820. ///
  1821. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  1822. /// - FixedString*N*Bytes
  1823. /// - string
  1824. /// - int
  1825. /// - float
  1826. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  1827. ///
  1828. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  1829. /// </remarks>
  1830. /// <param name="formatString">The format string.</param>
  1831. /// <typeparam name="T1"><undoc /></typeparam>
  1832. /// <param name="arg0">Value to interpolate into the format string.</param>
  1833. /// <param name="arg1">Value to interpolate into the format string.</param>
  1834. /// <param name="arg2">Value to interpolate into the format string.</param>
  1835. /// <param name="arg3">Value to interpolate into the format string.</param>
  1836. /// <returns>A new string produced by interpolating the format string.</returns>
  1837. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  1838. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, int arg0, float arg1, T1 arg2, int arg3)
  1839. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  1840. {
  1841. FixedString512Bytes result = default;
  1842. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  1843. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  1844. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  1845. result.AppendFormat(formatString, carg0, carg1, arg2, carg3);
  1846. return result;
  1847. }
  1848. /// <summary>
  1849. /// Returns a new string produced by interpolating a format string.
  1850. /// </summary>
  1851. /// <remarks>
  1852. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  1853. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  1854. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  1855. ///
  1856. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  1857. /// - FixedString*N*Bytes
  1858. /// - string
  1859. /// - int
  1860. /// - float
  1861. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  1862. ///
  1863. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  1864. /// </remarks>
  1865. /// <param name="formatString">The format string.</param>
  1866. /// <typeparam name="T1"><undoc /></typeparam>
  1867. /// <param name="arg0">Value to interpolate into the format string.</param>
  1868. /// <param name="arg1">Value to interpolate into the format string.</param>
  1869. /// <param name="arg2">Value to interpolate into the format string.</param>
  1870. /// <param name="arg3">Value to interpolate into the format string.</param>
  1871. /// <returns>A new string produced by interpolating the format string.</returns>
  1872. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  1873. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, float arg0, float arg1, T1 arg2, int arg3)
  1874. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  1875. {
  1876. FixedString512Bytes result = default;
  1877. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  1878. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  1879. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  1880. result.AppendFormat(formatString, carg0, carg1, arg2, carg3);
  1881. return result;
  1882. }
  1883. /// <summary>
  1884. /// Returns a new string produced by interpolating a format string.
  1885. /// </summary>
  1886. /// <remarks>
  1887. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  1888. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  1889. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  1890. ///
  1891. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  1892. /// - FixedString*N*Bytes
  1893. /// - string
  1894. /// - int
  1895. /// - float
  1896. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  1897. ///
  1898. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  1899. /// </remarks>
  1900. /// <param name="formatString">The format string.</param>
  1901. /// <typeparam name="T1"><undoc /></typeparam>
  1902. /// <param name="arg0">Value to interpolate into the format string.</param>
  1903. /// <param name="arg1">Value to interpolate into the format string.</param>
  1904. /// <param name="arg2">Value to interpolate into the format string.</param>
  1905. /// <param name="arg3">Value to interpolate into the format string.</param>
  1906. /// <returns>A new string produced by interpolating the format string.</returns>
  1907. [ExcludeFromBurstCompatTesting("Takes managed string")]
  1908. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, string arg0, float arg1, T1 arg2, int arg3)
  1909. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  1910. {
  1911. FixedString512Bytes result = default;
  1912. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  1913. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  1914. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  1915. result.AppendFormat(formatString, carg0, carg1, arg2, carg3);
  1916. return result;
  1917. }
  1918. /// <summary>
  1919. /// Returns a new string produced by interpolating a format string.
  1920. /// </summary>
  1921. /// <remarks>
  1922. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  1923. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  1924. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  1925. ///
  1926. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  1927. /// - FixedString*N*Bytes
  1928. /// - string
  1929. /// - int
  1930. /// - float
  1931. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  1932. ///
  1933. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  1934. /// </remarks>
  1935. /// <param name="formatString">The format string.</param>
  1936. /// <typeparam name="T1"><undoc /></typeparam>
  1937. /// <typeparam name="T2"><undoc /></typeparam>
  1938. /// <param name="arg0">Value to interpolate into the format string.</param>
  1939. /// <param name="arg1">Value to interpolate into the format string.</param>
  1940. /// <param name="arg2">Value to interpolate into the format string.</param>
  1941. /// <param name="arg3">Value to interpolate into the format string.</param>
  1942. /// <returns>A new string produced by interpolating the format string.</returns>
  1943. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/) } )]
  1944. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, T1 arg0, float arg1, T2 arg2, int arg3)
  1945. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  1946. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  1947. {
  1948. FixedString512Bytes result = default;
  1949. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  1950. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  1951. result.AppendFormat(formatString, arg0, carg1, arg2, carg3);
  1952. return result;
  1953. }
  1954. /// <summary>
  1955. /// Returns a new string produced by interpolating a format string.
  1956. /// </summary>
  1957. /// <remarks>
  1958. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  1959. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  1960. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  1961. ///
  1962. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  1963. /// - FixedString*N*Bytes
  1964. /// - string
  1965. /// - int
  1966. /// - float
  1967. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  1968. ///
  1969. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  1970. /// </remarks>
  1971. /// <param name="formatString">The format string.</param>
  1972. /// <typeparam name="T1"><undoc /></typeparam>
  1973. /// <param name="arg0">Value to interpolate into the format string.</param>
  1974. /// <param name="arg1">Value to interpolate into the format string.</param>
  1975. /// <param name="arg2">Value to interpolate into the format string.</param>
  1976. /// <param name="arg3">Value to interpolate into the format string.</param>
  1977. /// <returns>A new string produced by interpolating the format string.</returns>
  1978. [ExcludeFromBurstCompatTesting("Takes managed string")]
  1979. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, int arg0, string arg1, T1 arg2, int arg3)
  1980. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  1981. {
  1982. FixedString512Bytes result = default;
  1983. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  1984. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  1985. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  1986. result.AppendFormat(formatString, carg0, carg1, arg2, carg3);
  1987. return result;
  1988. }
  1989. /// <summary>
  1990. /// Returns a new string produced by interpolating a format string.
  1991. /// </summary>
  1992. /// <remarks>
  1993. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  1994. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  1995. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  1996. ///
  1997. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  1998. /// - FixedString*N*Bytes
  1999. /// - string
  2000. /// - int
  2001. /// - float
  2002. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  2003. ///
  2004. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  2005. /// </remarks>
  2006. /// <param name="formatString">The format string.</param>
  2007. /// <typeparam name="T1"><undoc /></typeparam>
  2008. /// <param name="arg0">Value to interpolate into the format string.</param>
  2009. /// <param name="arg1">Value to interpolate into the format string.</param>
  2010. /// <param name="arg2">Value to interpolate into the format string.</param>
  2011. /// <param name="arg3">Value to interpolate into the format string.</param>
  2012. /// <returns>A new string produced by interpolating the format string.</returns>
  2013. [ExcludeFromBurstCompatTesting("Takes managed string")]
  2014. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, float arg0, string arg1, T1 arg2, int arg3)
  2015. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  2016. {
  2017. FixedString512Bytes result = default;
  2018. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  2019. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  2020. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  2021. result.AppendFormat(formatString, carg0, carg1, arg2, carg3);
  2022. return result;
  2023. }
  2024. /// <summary>
  2025. /// Returns a new string produced by interpolating a format string.
  2026. /// </summary>
  2027. /// <remarks>
  2028. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  2029. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  2030. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  2031. ///
  2032. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  2033. /// - FixedString*N*Bytes
  2034. /// - string
  2035. /// - int
  2036. /// - float
  2037. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  2038. ///
  2039. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  2040. /// </remarks>
  2041. /// <param name="formatString">The format string.</param>
  2042. /// <typeparam name="T1"><undoc /></typeparam>
  2043. /// <param name="arg0">Value to interpolate into the format string.</param>
  2044. /// <param name="arg1">Value to interpolate into the format string.</param>
  2045. /// <param name="arg2">Value to interpolate into the format string.</param>
  2046. /// <param name="arg3">Value to interpolate into the format string.</param>
  2047. /// <returns>A new string produced by interpolating the format string.</returns>
  2048. [ExcludeFromBurstCompatTesting("Takes managed string")]
  2049. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, string arg0, string arg1, T1 arg2, int arg3)
  2050. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  2051. {
  2052. FixedString512Bytes result = default;
  2053. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  2054. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  2055. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  2056. result.AppendFormat(formatString, carg0, carg1, arg2, carg3);
  2057. return result;
  2058. }
  2059. /// <summary>
  2060. /// Returns a new string produced by interpolating a format string.
  2061. /// </summary>
  2062. /// <remarks>
  2063. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  2064. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  2065. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  2066. ///
  2067. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  2068. /// - FixedString*N*Bytes
  2069. /// - string
  2070. /// - int
  2071. /// - float
  2072. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  2073. ///
  2074. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  2075. /// </remarks>
  2076. /// <param name="formatString">The format string.</param>
  2077. /// <typeparam name="T1"><undoc /></typeparam>
  2078. /// <typeparam name="T2"><undoc /></typeparam>
  2079. /// <param name="arg0">Value to interpolate into the format string.</param>
  2080. /// <param name="arg1">Value to interpolate into the format string.</param>
  2081. /// <param name="arg2">Value to interpolate into the format string.</param>
  2082. /// <param name="arg3">Value to interpolate into the format string.</param>
  2083. /// <returns>A new string produced by interpolating the format string.</returns>
  2084. [ExcludeFromBurstCompatTesting("Takes managed string")]
  2085. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, T1 arg0, string arg1, T2 arg2, int arg3)
  2086. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  2087. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  2088. {
  2089. FixedString512Bytes result = default;
  2090. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  2091. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  2092. result.AppendFormat(formatString, arg0, carg1, arg2, carg3);
  2093. return result;
  2094. }
  2095. /// <summary>
  2096. /// Returns a new string produced by interpolating a format string.
  2097. /// </summary>
  2098. /// <remarks>
  2099. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  2100. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  2101. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  2102. ///
  2103. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  2104. /// - FixedString*N*Bytes
  2105. /// - string
  2106. /// - int
  2107. /// - float
  2108. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  2109. ///
  2110. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  2111. /// </remarks>
  2112. /// <param name="formatString">The format string.</param>
  2113. /// <typeparam name="T1"><undoc /></typeparam>
  2114. /// <typeparam name="T2"><undoc /></typeparam>
  2115. /// <param name="arg0">Value to interpolate into the format string.</param>
  2116. /// <param name="arg1">Value to interpolate into the format string.</param>
  2117. /// <param name="arg2">Value to interpolate into the format string.</param>
  2118. /// <param name="arg3">Value to interpolate into the format string.</param>
  2119. /// <returns>A new string produced by interpolating the format string.</returns>
  2120. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/) } )]
  2121. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, int arg0, T1 arg1, T2 arg2, int arg3)
  2122. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  2123. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  2124. {
  2125. FixedString512Bytes result = default;
  2126. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  2127. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  2128. result.AppendFormat(formatString, carg0, arg1, arg2, carg3);
  2129. return result;
  2130. }
  2131. /// <summary>
  2132. /// Returns a new string produced by interpolating a format string.
  2133. /// </summary>
  2134. /// <remarks>
  2135. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  2136. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  2137. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  2138. ///
  2139. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  2140. /// - FixedString*N*Bytes
  2141. /// - string
  2142. /// - int
  2143. /// - float
  2144. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  2145. ///
  2146. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  2147. /// </remarks>
  2148. /// <param name="formatString">The format string.</param>
  2149. /// <typeparam name="T1"><undoc /></typeparam>
  2150. /// <typeparam name="T2"><undoc /></typeparam>
  2151. /// <param name="arg0">Value to interpolate into the format string.</param>
  2152. /// <param name="arg1">Value to interpolate into the format string.</param>
  2153. /// <param name="arg2">Value to interpolate into the format string.</param>
  2154. /// <param name="arg3">Value to interpolate into the format string.</param>
  2155. /// <returns>A new string produced by interpolating the format string.</returns>
  2156. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/) } )]
  2157. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, float arg0, T1 arg1, T2 arg2, int arg3)
  2158. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  2159. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  2160. {
  2161. FixedString512Bytes result = default;
  2162. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  2163. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  2164. result.AppendFormat(formatString, carg0, arg1, arg2, carg3);
  2165. return result;
  2166. }
  2167. /// <summary>
  2168. /// Returns a new string produced by interpolating a format string.
  2169. /// </summary>
  2170. /// <remarks>
  2171. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  2172. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  2173. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  2174. ///
  2175. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  2176. /// - FixedString*N*Bytes
  2177. /// - string
  2178. /// - int
  2179. /// - float
  2180. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  2181. ///
  2182. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  2183. /// </remarks>
  2184. /// <param name="formatString">The format string.</param>
  2185. /// <typeparam name="T1"><undoc /></typeparam>
  2186. /// <typeparam name="T2"><undoc /></typeparam>
  2187. /// <param name="arg0">Value to interpolate into the format string.</param>
  2188. /// <param name="arg1">Value to interpolate into the format string.</param>
  2189. /// <param name="arg2">Value to interpolate into the format string.</param>
  2190. /// <param name="arg3">Value to interpolate into the format string.</param>
  2191. /// <returns>A new string produced by interpolating the format string.</returns>
  2192. [ExcludeFromBurstCompatTesting("Takes managed string")]
  2193. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, string arg0, T1 arg1, T2 arg2, int arg3)
  2194. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  2195. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  2196. {
  2197. FixedString512Bytes result = default;
  2198. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  2199. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  2200. result.AppendFormat(formatString, carg0, arg1, arg2, carg3);
  2201. return result;
  2202. }
  2203. /// <summary>
  2204. /// Returns a new string produced by interpolating a format string.
  2205. /// </summary>
  2206. /// <remarks>
  2207. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  2208. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  2209. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  2210. ///
  2211. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  2212. /// - FixedString*N*Bytes
  2213. /// - string
  2214. /// - int
  2215. /// - float
  2216. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  2217. ///
  2218. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  2219. /// </remarks>
  2220. /// <param name="formatString">The format string.</param>
  2221. /// <typeparam name="T1"><undoc /></typeparam>
  2222. /// <typeparam name="T2"><undoc /></typeparam>
  2223. /// <typeparam name="T3"><undoc /></typeparam>
  2224. /// <param name="arg0">Value to interpolate into the format string.</param>
  2225. /// <param name="arg1">Value to interpolate into the format string.</param>
  2226. /// <param name="arg2">Value to interpolate into the format string.</param>
  2227. /// <param name="arg3">Value to interpolate into the format string.</param>
  2228. /// <returns>A new string produced by interpolating the format string.</returns>
  2229. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/), typeof(FixedString32Bytes /*$T3*/) } )]
  2230. public static FixedString512Bytes Format<T1,T2,T3>(FixedString512Bytes formatString, T1 arg0, T2 arg1, T3 arg2, int arg3)
  2231. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  2232. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  2233. where T3 : unmanaged, INativeList<byte>, IUTF8Bytes
  2234. {
  2235. FixedString512Bytes result = default;
  2236. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  2237. result.AppendFormat(formatString, arg0, arg1, arg2, carg3);
  2238. return result;
  2239. }
  2240. /// <summary>
  2241. /// Returns a new string produced by interpolating a format string.
  2242. /// </summary>
  2243. /// <remarks>
  2244. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  2245. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  2246. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  2247. ///
  2248. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  2249. /// - FixedString*N*Bytes
  2250. /// - string
  2251. /// - int
  2252. /// - float
  2253. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  2254. ///
  2255. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  2256. /// </remarks>
  2257. /// <param name="formatString">The format string.</param>
  2258. /// <param name="arg0">Value to interpolate into the format string.</param>
  2259. /// <param name="arg1">Value to interpolate into the format string.</param>
  2260. /// <param name="arg2">Value to interpolate into the format string.</param>
  2261. /// <param name="arg3">Value to interpolate into the format string.</param>
  2262. /// <returns>A new string produced by interpolating the format string.</returns>
  2263. public static FixedString512Bytes Format(FixedString512Bytes formatString, int arg0, int arg1, int arg2, float arg3)
  2264. {
  2265. FixedString512Bytes result = default;
  2266. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  2267. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  2268. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  2269. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  2270. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  2271. return result;
  2272. }
  2273. /// <summary>
  2274. /// Returns a new string produced by interpolating a format string.
  2275. /// </summary>
  2276. /// <remarks>
  2277. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  2278. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  2279. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  2280. ///
  2281. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  2282. /// - FixedString*N*Bytes
  2283. /// - string
  2284. /// - int
  2285. /// - float
  2286. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  2287. ///
  2288. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  2289. /// </remarks>
  2290. /// <param name="formatString">The format string.</param>
  2291. /// <param name="arg0">Value to interpolate into the format string.</param>
  2292. /// <param name="arg1">Value to interpolate into the format string.</param>
  2293. /// <param name="arg2">Value to interpolate into the format string.</param>
  2294. /// <param name="arg3">Value to interpolate into the format string.</param>
  2295. /// <returns>A new string produced by interpolating the format string.</returns>
  2296. public static FixedString512Bytes Format(FixedString512Bytes formatString, float arg0, int arg1, int arg2, float arg3)
  2297. {
  2298. FixedString512Bytes result = default;
  2299. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  2300. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  2301. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  2302. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  2303. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  2304. return result;
  2305. }
  2306. /// <summary>
  2307. /// Returns a new string produced by interpolating a format string.
  2308. /// </summary>
  2309. /// <remarks>
  2310. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  2311. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  2312. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  2313. ///
  2314. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  2315. /// - FixedString*N*Bytes
  2316. /// - string
  2317. /// - int
  2318. /// - float
  2319. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  2320. ///
  2321. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  2322. /// </remarks>
  2323. /// <param name="formatString">The format string.</param>
  2324. /// <param name="arg0">Value to interpolate into the format string.</param>
  2325. /// <param name="arg1">Value to interpolate into the format string.</param>
  2326. /// <param name="arg2">Value to interpolate into the format string.</param>
  2327. /// <param name="arg3">Value to interpolate into the format string.</param>
  2328. /// <returns>A new string produced by interpolating the format string.</returns>
  2329. [ExcludeFromBurstCompatTesting("Takes managed string")]
  2330. public static FixedString512Bytes Format(FixedString512Bytes formatString, string arg0, int arg1, int arg2, float arg3)
  2331. {
  2332. FixedString512Bytes result = default;
  2333. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  2334. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  2335. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  2336. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  2337. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  2338. return result;
  2339. }
  2340. /// <summary>
  2341. /// Returns a new string produced by interpolating a format string.
  2342. /// </summary>
  2343. /// <remarks>
  2344. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  2345. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  2346. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  2347. ///
  2348. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  2349. /// - FixedString*N*Bytes
  2350. /// - string
  2351. /// - int
  2352. /// - float
  2353. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  2354. ///
  2355. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  2356. /// </remarks>
  2357. /// <param name="formatString">The format string.</param>
  2358. /// <typeparam name="T1"><undoc /></typeparam>
  2359. /// <param name="arg0">Value to interpolate into the format string.</param>
  2360. /// <param name="arg1">Value to interpolate into the format string.</param>
  2361. /// <param name="arg2">Value to interpolate into the format string.</param>
  2362. /// <param name="arg3">Value to interpolate into the format string.</param>
  2363. /// <returns>A new string produced by interpolating the format string.</returns>
  2364. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  2365. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, T1 arg0, int arg1, int arg2, float arg3)
  2366. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  2367. {
  2368. FixedString512Bytes result = default;
  2369. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  2370. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  2371. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  2372. result.AppendFormat(formatString, arg0, carg1, carg2, carg3);
  2373. return result;
  2374. }
  2375. /// <summary>
  2376. /// Returns a new string produced by interpolating a format string.
  2377. /// </summary>
  2378. /// <remarks>
  2379. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  2380. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  2381. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  2382. ///
  2383. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  2384. /// - FixedString*N*Bytes
  2385. /// - string
  2386. /// - int
  2387. /// - float
  2388. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  2389. ///
  2390. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  2391. /// </remarks>
  2392. /// <param name="formatString">The format string.</param>
  2393. /// <param name="arg0">Value to interpolate into the format string.</param>
  2394. /// <param name="arg1">Value to interpolate into the format string.</param>
  2395. /// <param name="arg2">Value to interpolate into the format string.</param>
  2396. /// <param name="arg3">Value to interpolate into the format string.</param>
  2397. /// <returns>A new string produced by interpolating the format string.</returns>
  2398. public static FixedString512Bytes Format(FixedString512Bytes formatString, int arg0, float arg1, int arg2, float arg3)
  2399. {
  2400. FixedString512Bytes result = default;
  2401. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  2402. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  2403. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  2404. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  2405. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  2406. return result;
  2407. }
  2408. /// <summary>
  2409. /// Returns a new string produced by interpolating a format string.
  2410. /// </summary>
  2411. /// <remarks>
  2412. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  2413. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  2414. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  2415. ///
  2416. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  2417. /// - FixedString*N*Bytes
  2418. /// - string
  2419. /// - int
  2420. /// - float
  2421. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  2422. ///
  2423. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  2424. /// </remarks>
  2425. /// <param name="formatString">The format string.</param>
  2426. /// <param name="arg0">Value to interpolate into the format string.</param>
  2427. /// <param name="arg1">Value to interpolate into the format string.</param>
  2428. /// <param name="arg2">Value to interpolate into the format string.</param>
  2429. /// <param name="arg3">Value to interpolate into the format string.</param>
  2430. /// <returns>A new string produced by interpolating the format string.</returns>
  2431. public static FixedString512Bytes Format(FixedString512Bytes formatString, float arg0, float arg1, int arg2, float arg3)
  2432. {
  2433. FixedString512Bytes result = default;
  2434. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  2435. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  2436. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  2437. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  2438. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  2439. return result;
  2440. }
  2441. /// <summary>
  2442. /// Returns a new string produced by interpolating a format string.
  2443. /// </summary>
  2444. /// <remarks>
  2445. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  2446. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  2447. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  2448. ///
  2449. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  2450. /// - FixedString*N*Bytes
  2451. /// - string
  2452. /// - int
  2453. /// - float
  2454. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  2455. ///
  2456. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  2457. /// </remarks>
  2458. /// <param name="formatString">The format string.</param>
  2459. /// <param name="arg0">Value to interpolate into the format string.</param>
  2460. /// <param name="arg1">Value to interpolate into the format string.</param>
  2461. /// <param name="arg2">Value to interpolate into the format string.</param>
  2462. /// <param name="arg3">Value to interpolate into the format string.</param>
  2463. /// <returns>A new string produced by interpolating the format string.</returns>
  2464. [ExcludeFromBurstCompatTesting("Takes managed string")]
  2465. public static FixedString512Bytes Format(FixedString512Bytes formatString, string arg0, float arg1, int arg2, float arg3)
  2466. {
  2467. FixedString512Bytes result = default;
  2468. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  2469. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  2470. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  2471. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  2472. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  2473. return result;
  2474. }
  2475. /// <summary>
  2476. /// Returns a new string produced by interpolating a format string.
  2477. /// </summary>
  2478. /// <remarks>
  2479. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  2480. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  2481. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  2482. ///
  2483. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  2484. /// - FixedString*N*Bytes
  2485. /// - string
  2486. /// - int
  2487. /// - float
  2488. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  2489. ///
  2490. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  2491. /// </remarks>
  2492. /// <param name="formatString">The format string.</param>
  2493. /// <typeparam name="T1"><undoc /></typeparam>
  2494. /// <param name="arg0">Value to interpolate into the format string.</param>
  2495. /// <param name="arg1">Value to interpolate into the format string.</param>
  2496. /// <param name="arg2">Value to interpolate into the format string.</param>
  2497. /// <param name="arg3">Value to interpolate into the format string.</param>
  2498. /// <returns>A new string produced by interpolating the format string.</returns>
  2499. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  2500. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, T1 arg0, float arg1, int arg2, float arg3)
  2501. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  2502. {
  2503. FixedString512Bytes result = default;
  2504. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  2505. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  2506. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  2507. result.AppendFormat(formatString, arg0, carg1, carg2, carg3);
  2508. return result;
  2509. }
  2510. /// <summary>
  2511. /// Returns a new string produced by interpolating a format string.
  2512. /// </summary>
  2513. /// <remarks>
  2514. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  2515. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  2516. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  2517. ///
  2518. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  2519. /// - FixedString*N*Bytes
  2520. /// - string
  2521. /// - int
  2522. /// - float
  2523. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  2524. ///
  2525. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  2526. /// </remarks>
  2527. /// <param name="formatString">The format string.</param>
  2528. /// <param name="arg0">Value to interpolate into the format string.</param>
  2529. /// <param name="arg1">Value to interpolate into the format string.</param>
  2530. /// <param name="arg2">Value to interpolate into the format string.</param>
  2531. /// <param name="arg3">Value to interpolate into the format string.</param>
  2532. /// <returns>A new string produced by interpolating the format string.</returns>
  2533. [ExcludeFromBurstCompatTesting("Takes managed string")]
  2534. public static FixedString512Bytes Format(FixedString512Bytes formatString, int arg0, string arg1, int arg2, float arg3)
  2535. {
  2536. FixedString512Bytes result = default;
  2537. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  2538. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  2539. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  2540. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  2541. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  2542. return result;
  2543. }
  2544. /// <summary>
  2545. /// Returns a new string produced by interpolating a format string.
  2546. /// </summary>
  2547. /// <remarks>
  2548. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  2549. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  2550. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  2551. ///
  2552. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  2553. /// - FixedString*N*Bytes
  2554. /// - string
  2555. /// - int
  2556. /// - float
  2557. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  2558. ///
  2559. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  2560. /// </remarks>
  2561. /// <param name="formatString">The format string.</param>
  2562. /// <param name="arg0">Value to interpolate into the format string.</param>
  2563. /// <param name="arg1">Value to interpolate into the format string.</param>
  2564. /// <param name="arg2">Value to interpolate into the format string.</param>
  2565. /// <param name="arg3">Value to interpolate into the format string.</param>
  2566. /// <returns>A new string produced by interpolating the format string.</returns>
  2567. [ExcludeFromBurstCompatTesting("Takes managed string")]
  2568. public static FixedString512Bytes Format(FixedString512Bytes formatString, float arg0, string arg1, int arg2, float arg3)
  2569. {
  2570. FixedString512Bytes result = default;
  2571. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  2572. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  2573. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  2574. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  2575. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  2576. return result;
  2577. }
  2578. /// <summary>
  2579. /// Returns a new string produced by interpolating a format string.
  2580. /// </summary>
  2581. /// <remarks>
  2582. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  2583. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  2584. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  2585. ///
  2586. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  2587. /// - FixedString*N*Bytes
  2588. /// - string
  2589. /// - int
  2590. /// - float
  2591. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  2592. ///
  2593. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  2594. /// </remarks>
  2595. /// <param name="formatString">The format string.</param>
  2596. /// <param name="arg0">Value to interpolate into the format string.</param>
  2597. /// <param name="arg1">Value to interpolate into the format string.</param>
  2598. /// <param name="arg2">Value to interpolate into the format string.</param>
  2599. /// <param name="arg3">Value to interpolate into the format string.</param>
  2600. /// <returns>A new string produced by interpolating the format string.</returns>
  2601. [ExcludeFromBurstCompatTesting("Takes managed string")]
  2602. public static FixedString512Bytes Format(FixedString512Bytes formatString, string arg0, string arg1, int arg2, float arg3)
  2603. {
  2604. FixedString512Bytes result = default;
  2605. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  2606. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  2607. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  2608. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  2609. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  2610. return result;
  2611. }
  2612. /// <summary>
  2613. /// Returns a new string produced by interpolating a format string.
  2614. /// </summary>
  2615. /// <remarks>
  2616. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  2617. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  2618. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  2619. ///
  2620. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  2621. /// - FixedString*N*Bytes
  2622. /// - string
  2623. /// - int
  2624. /// - float
  2625. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  2626. ///
  2627. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  2628. /// </remarks>
  2629. /// <param name="formatString">The format string.</param>
  2630. /// <typeparam name="T1"><undoc /></typeparam>
  2631. /// <param name="arg0">Value to interpolate into the format string.</param>
  2632. /// <param name="arg1">Value to interpolate into the format string.</param>
  2633. /// <param name="arg2">Value to interpolate into the format string.</param>
  2634. /// <param name="arg3">Value to interpolate into the format string.</param>
  2635. /// <returns>A new string produced by interpolating the format string.</returns>
  2636. [ExcludeFromBurstCompatTesting("Takes managed string")]
  2637. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, T1 arg0, string arg1, int arg2, float arg3)
  2638. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  2639. {
  2640. FixedString512Bytes result = default;
  2641. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  2642. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  2643. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  2644. result.AppendFormat(formatString, arg0, carg1, carg2, carg3);
  2645. return result;
  2646. }
  2647. /// <summary>
  2648. /// Returns a new string produced by interpolating a format string.
  2649. /// </summary>
  2650. /// <remarks>
  2651. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  2652. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  2653. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  2654. ///
  2655. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  2656. /// - FixedString*N*Bytes
  2657. /// - string
  2658. /// - int
  2659. /// - float
  2660. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  2661. ///
  2662. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  2663. /// </remarks>
  2664. /// <param name="formatString">The format string.</param>
  2665. /// <typeparam name="T1"><undoc /></typeparam>
  2666. /// <param name="arg0">Value to interpolate into the format string.</param>
  2667. /// <param name="arg1">Value to interpolate into the format string.</param>
  2668. /// <param name="arg2">Value to interpolate into the format string.</param>
  2669. /// <param name="arg3">Value to interpolate into the format string.</param>
  2670. /// <returns>A new string produced by interpolating the format string.</returns>
  2671. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  2672. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, int arg0, T1 arg1, int arg2, float arg3)
  2673. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  2674. {
  2675. FixedString512Bytes result = default;
  2676. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  2677. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  2678. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  2679. result.AppendFormat(formatString, carg0, arg1, carg2, carg3);
  2680. return result;
  2681. }
  2682. /// <summary>
  2683. /// Returns a new string produced by interpolating a format string.
  2684. /// </summary>
  2685. /// <remarks>
  2686. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  2687. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  2688. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  2689. ///
  2690. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  2691. /// - FixedString*N*Bytes
  2692. /// - string
  2693. /// - int
  2694. /// - float
  2695. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  2696. ///
  2697. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  2698. /// </remarks>
  2699. /// <param name="formatString">The format string.</param>
  2700. /// <typeparam name="T1"><undoc /></typeparam>
  2701. /// <param name="arg0">Value to interpolate into the format string.</param>
  2702. /// <param name="arg1">Value to interpolate into the format string.</param>
  2703. /// <param name="arg2">Value to interpolate into the format string.</param>
  2704. /// <param name="arg3">Value to interpolate into the format string.</param>
  2705. /// <returns>A new string produced by interpolating the format string.</returns>
  2706. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  2707. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, float arg0, T1 arg1, int arg2, float arg3)
  2708. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  2709. {
  2710. FixedString512Bytes result = default;
  2711. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  2712. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  2713. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  2714. result.AppendFormat(formatString, carg0, arg1, carg2, carg3);
  2715. return result;
  2716. }
  2717. /// <summary>
  2718. /// Returns a new string produced by interpolating a format string.
  2719. /// </summary>
  2720. /// <remarks>
  2721. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  2722. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  2723. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  2724. ///
  2725. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  2726. /// - FixedString*N*Bytes
  2727. /// - string
  2728. /// - int
  2729. /// - float
  2730. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  2731. ///
  2732. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  2733. /// </remarks>
  2734. /// <param name="formatString">The format string.</param>
  2735. /// <typeparam name="T1"><undoc /></typeparam>
  2736. /// <param name="arg0">Value to interpolate into the format string.</param>
  2737. /// <param name="arg1">Value to interpolate into the format string.</param>
  2738. /// <param name="arg2">Value to interpolate into the format string.</param>
  2739. /// <param name="arg3">Value to interpolate into the format string.</param>
  2740. /// <returns>A new string produced by interpolating the format string.</returns>
  2741. [ExcludeFromBurstCompatTesting("Takes managed string")]
  2742. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, string arg0, T1 arg1, int arg2, float arg3)
  2743. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  2744. {
  2745. FixedString512Bytes result = default;
  2746. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  2747. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  2748. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  2749. result.AppendFormat(formatString, carg0, arg1, carg2, carg3);
  2750. return result;
  2751. }
  2752. /// <summary>
  2753. /// Returns a new string produced by interpolating a format string.
  2754. /// </summary>
  2755. /// <remarks>
  2756. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  2757. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  2758. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  2759. ///
  2760. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  2761. /// - FixedString*N*Bytes
  2762. /// - string
  2763. /// - int
  2764. /// - float
  2765. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  2766. ///
  2767. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  2768. /// </remarks>
  2769. /// <param name="formatString">The format string.</param>
  2770. /// <typeparam name="T1"><undoc /></typeparam>
  2771. /// <typeparam name="T2"><undoc /></typeparam>
  2772. /// <param name="arg0">Value to interpolate into the format string.</param>
  2773. /// <param name="arg1">Value to interpolate into the format string.</param>
  2774. /// <param name="arg2">Value to interpolate into the format string.</param>
  2775. /// <param name="arg3">Value to interpolate into the format string.</param>
  2776. /// <returns>A new string produced by interpolating the format string.</returns>
  2777. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/) } )]
  2778. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, T1 arg0, T2 arg1, int arg2, float arg3)
  2779. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  2780. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  2781. {
  2782. FixedString512Bytes result = default;
  2783. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  2784. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  2785. result.AppendFormat(formatString, arg0, arg1, carg2, carg3);
  2786. return result;
  2787. }
  2788. /// <summary>
  2789. /// Returns a new string produced by interpolating a format string.
  2790. /// </summary>
  2791. /// <remarks>
  2792. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  2793. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  2794. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  2795. ///
  2796. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  2797. /// - FixedString*N*Bytes
  2798. /// - string
  2799. /// - int
  2800. /// - float
  2801. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  2802. ///
  2803. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  2804. /// </remarks>
  2805. /// <param name="formatString">The format string.</param>
  2806. /// <param name="arg0">Value to interpolate into the format string.</param>
  2807. /// <param name="arg1">Value to interpolate into the format string.</param>
  2808. /// <param name="arg2">Value to interpolate into the format string.</param>
  2809. /// <param name="arg3">Value to interpolate into the format string.</param>
  2810. /// <returns>A new string produced by interpolating the format string.</returns>
  2811. public static FixedString512Bytes Format(FixedString512Bytes formatString, int arg0, int arg1, float arg2, float arg3)
  2812. {
  2813. FixedString512Bytes result = default;
  2814. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  2815. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  2816. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  2817. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  2818. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  2819. return result;
  2820. }
  2821. /// <summary>
  2822. /// Returns a new string produced by interpolating a format string.
  2823. /// </summary>
  2824. /// <remarks>
  2825. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  2826. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  2827. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  2828. ///
  2829. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  2830. /// - FixedString*N*Bytes
  2831. /// - string
  2832. /// - int
  2833. /// - float
  2834. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  2835. ///
  2836. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  2837. /// </remarks>
  2838. /// <param name="formatString">The format string.</param>
  2839. /// <param name="arg0">Value to interpolate into the format string.</param>
  2840. /// <param name="arg1">Value to interpolate into the format string.</param>
  2841. /// <param name="arg2">Value to interpolate into the format string.</param>
  2842. /// <param name="arg3">Value to interpolate into the format string.</param>
  2843. /// <returns>A new string produced by interpolating the format string.</returns>
  2844. public static FixedString512Bytes Format(FixedString512Bytes formatString, float arg0, int arg1, float arg2, float arg3)
  2845. {
  2846. FixedString512Bytes result = default;
  2847. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  2848. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  2849. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  2850. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  2851. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  2852. return result;
  2853. }
  2854. /// <summary>
  2855. /// Returns a new string produced by interpolating a format string.
  2856. /// </summary>
  2857. /// <remarks>
  2858. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  2859. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  2860. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  2861. ///
  2862. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  2863. /// - FixedString*N*Bytes
  2864. /// - string
  2865. /// - int
  2866. /// - float
  2867. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  2868. ///
  2869. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  2870. /// </remarks>
  2871. /// <param name="formatString">The format string.</param>
  2872. /// <param name="arg0">Value to interpolate into the format string.</param>
  2873. /// <param name="arg1">Value to interpolate into the format string.</param>
  2874. /// <param name="arg2">Value to interpolate into the format string.</param>
  2875. /// <param name="arg3">Value to interpolate into the format string.</param>
  2876. /// <returns>A new string produced by interpolating the format string.</returns>
  2877. [ExcludeFromBurstCompatTesting("Takes managed string")]
  2878. public static FixedString512Bytes Format(FixedString512Bytes formatString, string arg0, int arg1, float arg2, float arg3)
  2879. {
  2880. FixedString512Bytes result = default;
  2881. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  2882. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  2883. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  2884. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  2885. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  2886. return result;
  2887. }
  2888. /// <summary>
  2889. /// Returns a new string produced by interpolating a format string.
  2890. /// </summary>
  2891. /// <remarks>
  2892. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  2893. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  2894. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  2895. ///
  2896. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  2897. /// - FixedString*N*Bytes
  2898. /// - string
  2899. /// - int
  2900. /// - float
  2901. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  2902. ///
  2903. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  2904. /// </remarks>
  2905. /// <param name="formatString">The format string.</param>
  2906. /// <typeparam name="T1"><undoc /></typeparam>
  2907. /// <param name="arg0">Value to interpolate into the format string.</param>
  2908. /// <param name="arg1">Value to interpolate into the format string.</param>
  2909. /// <param name="arg2">Value to interpolate into the format string.</param>
  2910. /// <param name="arg3">Value to interpolate into the format string.</param>
  2911. /// <returns>A new string produced by interpolating the format string.</returns>
  2912. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  2913. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, T1 arg0, int arg1, float arg2, float arg3)
  2914. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  2915. {
  2916. FixedString512Bytes result = default;
  2917. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  2918. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  2919. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  2920. result.AppendFormat(formatString, arg0, carg1, carg2, carg3);
  2921. return result;
  2922. }
  2923. /// <summary>
  2924. /// Returns a new string produced by interpolating a format string.
  2925. /// </summary>
  2926. /// <remarks>
  2927. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  2928. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  2929. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  2930. ///
  2931. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  2932. /// - FixedString*N*Bytes
  2933. /// - string
  2934. /// - int
  2935. /// - float
  2936. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  2937. ///
  2938. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  2939. /// </remarks>
  2940. /// <param name="formatString">The format string.</param>
  2941. /// <param name="arg0">Value to interpolate into the format string.</param>
  2942. /// <param name="arg1">Value to interpolate into the format string.</param>
  2943. /// <param name="arg2">Value to interpolate into the format string.</param>
  2944. /// <param name="arg3">Value to interpolate into the format string.</param>
  2945. /// <returns>A new string produced by interpolating the format string.</returns>
  2946. public static FixedString512Bytes Format(FixedString512Bytes formatString, int arg0, float arg1, float arg2, float arg3)
  2947. {
  2948. FixedString512Bytes result = default;
  2949. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  2950. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  2951. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  2952. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  2953. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  2954. return result;
  2955. }
  2956. /// <summary>
  2957. /// Returns a new string produced by interpolating a format string.
  2958. /// </summary>
  2959. /// <remarks>
  2960. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  2961. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  2962. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  2963. ///
  2964. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  2965. /// - FixedString*N*Bytes
  2966. /// - string
  2967. /// - int
  2968. /// - float
  2969. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  2970. ///
  2971. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  2972. /// </remarks>
  2973. /// <param name="formatString">The format string.</param>
  2974. /// <param name="arg0">Value to interpolate into the format string.</param>
  2975. /// <param name="arg1">Value to interpolate into the format string.</param>
  2976. /// <param name="arg2">Value to interpolate into the format string.</param>
  2977. /// <param name="arg3">Value to interpolate into the format string.</param>
  2978. /// <returns>A new string produced by interpolating the format string.</returns>
  2979. public static FixedString512Bytes Format(FixedString512Bytes formatString, float arg0, float arg1, float arg2, float arg3)
  2980. {
  2981. FixedString512Bytes result = default;
  2982. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  2983. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  2984. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  2985. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  2986. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  2987. return result;
  2988. }
  2989. /// <summary>
  2990. /// Returns a new string produced by interpolating a format string.
  2991. /// </summary>
  2992. /// <remarks>
  2993. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  2994. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  2995. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  2996. ///
  2997. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  2998. /// - FixedString*N*Bytes
  2999. /// - string
  3000. /// - int
  3001. /// - float
  3002. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  3003. ///
  3004. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  3005. /// </remarks>
  3006. /// <param name="formatString">The format string.</param>
  3007. /// <param name="arg0">Value to interpolate into the format string.</param>
  3008. /// <param name="arg1">Value to interpolate into the format string.</param>
  3009. /// <param name="arg2">Value to interpolate into the format string.</param>
  3010. /// <param name="arg3">Value to interpolate into the format string.</param>
  3011. /// <returns>A new string produced by interpolating the format string.</returns>
  3012. [ExcludeFromBurstCompatTesting("Takes managed string")]
  3013. public static FixedString512Bytes Format(FixedString512Bytes formatString, string arg0, float arg1, float arg2, float arg3)
  3014. {
  3015. FixedString512Bytes result = default;
  3016. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  3017. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  3018. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  3019. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  3020. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  3021. return result;
  3022. }
  3023. /// <summary>
  3024. /// Returns a new string produced by interpolating a format string.
  3025. /// </summary>
  3026. /// <remarks>
  3027. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  3028. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  3029. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  3030. ///
  3031. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  3032. /// - FixedString*N*Bytes
  3033. /// - string
  3034. /// - int
  3035. /// - float
  3036. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  3037. ///
  3038. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  3039. /// </remarks>
  3040. /// <param name="formatString">The format string.</param>
  3041. /// <typeparam name="T1"><undoc /></typeparam>
  3042. /// <param name="arg0">Value to interpolate into the format string.</param>
  3043. /// <param name="arg1">Value to interpolate into the format string.</param>
  3044. /// <param name="arg2">Value to interpolate into the format string.</param>
  3045. /// <param name="arg3">Value to interpolate into the format string.</param>
  3046. /// <returns>A new string produced by interpolating the format string.</returns>
  3047. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  3048. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, T1 arg0, float arg1, float arg2, float arg3)
  3049. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  3050. {
  3051. FixedString512Bytes result = default;
  3052. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  3053. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  3054. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  3055. result.AppendFormat(formatString, arg0, carg1, carg2, carg3);
  3056. return result;
  3057. }
  3058. /// <summary>
  3059. /// Returns a new string produced by interpolating a format string.
  3060. /// </summary>
  3061. /// <remarks>
  3062. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  3063. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  3064. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  3065. ///
  3066. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  3067. /// - FixedString*N*Bytes
  3068. /// - string
  3069. /// - int
  3070. /// - float
  3071. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  3072. ///
  3073. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  3074. /// </remarks>
  3075. /// <param name="formatString">The format string.</param>
  3076. /// <param name="arg0">Value to interpolate into the format string.</param>
  3077. /// <param name="arg1">Value to interpolate into the format string.</param>
  3078. /// <param name="arg2">Value to interpolate into the format string.</param>
  3079. /// <param name="arg3">Value to interpolate into the format string.</param>
  3080. /// <returns>A new string produced by interpolating the format string.</returns>
  3081. [ExcludeFromBurstCompatTesting("Takes managed string")]
  3082. public static FixedString512Bytes Format(FixedString512Bytes formatString, int arg0, string arg1, float arg2, float arg3)
  3083. {
  3084. FixedString512Bytes result = default;
  3085. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  3086. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  3087. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  3088. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  3089. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  3090. return result;
  3091. }
  3092. /// <summary>
  3093. /// Returns a new string produced by interpolating a format string.
  3094. /// </summary>
  3095. /// <remarks>
  3096. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  3097. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  3098. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  3099. ///
  3100. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  3101. /// - FixedString*N*Bytes
  3102. /// - string
  3103. /// - int
  3104. /// - float
  3105. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  3106. ///
  3107. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  3108. /// </remarks>
  3109. /// <param name="formatString">The format string.</param>
  3110. /// <param name="arg0">Value to interpolate into the format string.</param>
  3111. /// <param name="arg1">Value to interpolate into the format string.</param>
  3112. /// <param name="arg2">Value to interpolate into the format string.</param>
  3113. /// <param name="arg3">Value to interpolate into the format string.</param>
  3114. /// <returns>A new string produced by interpolating the format string.</returns>
  3115. [ExcludeFromBurstCompatTesting("Takes managed string")]
  3116. public static FixedString512Bytes Format(FixedString512Bytes formatString, float arg0, string arg1, float arg2, float arg3)
  3117. {
  3118. FixedString512Bytes result = default;
  3119. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  3120. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  3121. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  3122. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  3123. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  3124. return result;
  3125. }
  3126. /// <summary>
  3127. /// Returns a new string produced by interpolating a format string.
  3128. /// </summary>
  3129. /// <remarks>
  3130. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  3131. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  3132. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  3133. ///
  3134. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  3135. /// - FixedString*N*Bytes
  3136. /// - string
  3137. /// - int
  3138. /// - float
  3139. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  3140. ///
  3141. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  3142. /// </remarks>
  3143. /// <param name="formatString">The format string.</param>
  3144. /// <param name="arg0">Value to interpolate into the format string.</param>
  3145. /// <param name="arg1">Value to interpolate into the format string.</param>
  3146. /// <param name="arg2">Value to interpolate into the format string.</param>
  3147. /// <param name="arg3">Value to interpolate into the format string.</param>
  3148. /// <returns>A new string produced by interpolating the format string.</returns>
  3149. [ExcludeFromBurstCompatTesting("Takes managed string")]
  3150. public static FixedString512Bytes Format(FixedString512Bytes formatString, string arg0, string arg1, float arg2, float arg3)
  3151. {
  3152. FixedString512Bytes result = default;
  3153. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  3154. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  3155. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  3156. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  3157. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  3158. return result;
  3159. }
  3160. /// <summary>
  3161. /// Returns a new string produced by interpolating a format string.
  3162. /// </summary>
  3163. /// <remarks>
  3164. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  3165. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  3166. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  3167. ///
  3168. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  3169. /// - FixedString*N*Bytes
  3170. /// - string
  3171. /// - int
  3172. /// - float
  3173. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  3174. ///
  3175. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  3176. /// </remarks>
  3177. /// <param name="formatString">The format string.</param>
  3178. /// <typeparam name="T1"><undoc /></typeparam>
  3179. /// <param name="arg0">Value to interpolate into the format string.</param>
  3180. /// <param name="arg1">Value to interpolate into the format string.</param>
  3181. /// <param name="arg2">Value to interpolate into the format string.</param>
  3182. /// <param name="arg3">Value to interpolate into the format string.</param>
  3183. /// <returns>A new string produced by interpolating the format string.</returns>
  3184. [ExcludeFromBurstCompatTesting("Takes managed string")]
  3185. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, T1 arg0, string arg1, float arg2, float arg3)
  3186. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  3187. {
  3188. FixedString512Bytes result = default;
  3189. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  3190. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  3191. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  3192. result.AppendFormat(formatString, arg0, carg1, carg2, carg3);
  3193. return result;
  3194. }
  3195. /// <summary>
  3196. /// Returns a new string produced by interpolating a format string.
  3197. /// </summary>
  3198. /// <remarks>
  3199. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  3200. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  3201. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  3202. ///
  3203. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  3204. /// - FixedString*N*Bytes
  3205. /// - string
  3206. /// - int
  3207. /// - float
  3208. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  3209. ///
  3210. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  3211. /// </remarks>
  3212. /// <param name="formatString">The format string.</param>
  3213. /// <typeparam name="T1"><undoc /></typeparam>
  3214. /// <param name="arg0">Value to interpolate into the format string.</param>
  3215. /// <param name="arg1">Value to interpolate into the format string.</param>
  3216. /// <param name="arg2">Value to interpolate into the format string.</param>
  3217. /// <param name="arg3">Value to interpolate into the format string.</param>
  3218. /// <returns>A new string produced by interpolating the format string.</returns>
  3219. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  3220. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, int arg0, T1 arg1, float arg2, float arg3)
  3221. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  3222. {
  3223. FixedString512Bytes result = default;
  3224. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  3225. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  3226. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  3227. result.AppendFormat(formatString, carg0, arg1, carg2, carg3);
  3228. return result;
  3229. }
  3230. /// <summary>
  3231. /// Returns a new string produced by interpolating a format string.
  3232. /// </summary>
  3233. /// <remarks>
  3234. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  3235. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  3236. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  3237. ///
  3238. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  3239. /// - FixedString*N*Bytes
  3240. /// - string
  3241. /// - int
  3242. /// - float
  3243. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  3244. ///
  3245. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  3246. /// </remarks>
  3247. /// <param name="formatString">The format string.</param>
  3248. /// <typeparam name="T1"><undoc /></typeparam>
  3249. /// <param name="arg0">Value to interpolate into the format string.</param>
  3250. /// <param name="arg1">Value to interpolate into the format string.</param>
  3251. /// <param name="arg2">Value to interpolate into the format string.</param>
  3252. /// <param name="arg3">Value to interpolate into the format string.</param>
  3253. /// <returns>A new string produced by interpolating the format string.</returns>
  3254. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  3255. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, float arg0, T1 arg1, float arg2, float arg3)
  3256. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  3257. {
  3258. FixedString512Bytes result = default;
  3259. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  3260. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  3261. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  3262. result.AppendFormat(formatString, carg0, arg1, carg2, carg3);
  3263. return result;
  3264. }
  3265. /// <summary>
  3266. /// Returns a new string produced by interpolating a format string.
  3267. /// </summary>
  3268. /// <remarks>
  3269. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  3270. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  3271. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  3272. ///
  3273. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  3274. /// - FixedString*N*Bytes
  3275. /// - string
  3276. /// - int
  3277. /// - float
  3278. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  3279. ///
  3280. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  3281. /// </remarks>
  3282. /// <param name="formatString">The format string.</param>
  3283. /// <typeparam name="T1"><undoc /></typeparam>
  3284. /// <param name="arg0">Value to interpolate into the format string.</param>
  3285. /// <param name="arg1">Value to interpolate into the format string.</param>
  3286. /// <param name="arg2">Value to interpolate into the format string.</param>
  3287. /// <param name="arg3">Value to interpolate into the format string.</param>
  3288. /// <returns>A new string produced by interpolating the format string.</returns>
  3289. [ExcludeFromBurstCompatTesting("Takes managed string")]
  3290. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, string arg0, T1 arg1, float arg2, float arg3)
  3291. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  3292. {
  3293. FixedString512Bytes result = default;
  3294. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  3295. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  3296. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  3297. result.AppendFormat(formatString, carg0, arg1, carg2, carg3);
  3298. return result;
  3299. }
  3300. /// <summary>
  3301. /// Returns a new string produced by interpolating a format string.
  3302. /// </summary>
  3303. /// <remarks>
  3304. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  3305. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  3306. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  3307. ///
  3308. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  3309. /// - FixedString*N*Bytes
  3310. /// - string
  3311. /// - int
  3312. /// - float
  3313. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  3314. ///
  3315. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  3316. /// </remarks>
  3317. /// <param name="formatString">The format string.</param>
  3318. /// <typeparam name="T1"><undoc /></typeparam>
  3319. /// <typeparam name="T2"><undoc /></typeparam>
  3320. /// <param name="arg0">Value to interpolate into the format string.</param>
  3321. /// <param name="arg1">Value to interpolate into the format string.</param>
  3322. /// <param name="arg2">Value to interpolate into the format string.</param>
  3323. /// <param name="arg3">Value to interpolate into the format string.</param>
  3324. /// <returns>A new string produced by interpolating the format string.</returns>
  3325. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/) } )]
  3326. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, T1 arg0, T2 arg1, float arg2, float arg3)
  3327. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  3328. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  3329. {
  3330. FixedString512Bytes result = default;
  3331. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  3332. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  3333. result.AppendFormat(formatString, arg0, arg1, carg2, carg3);
  3334. return result;
  3335. }
  3336. /// <summary>
  3337. /// Returns a new string produced by interpolating a format string.
  3338. /// </summary>
  3339. /// <remarks>
  3340. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  3341. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  3342. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  3343. ///
  3344. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  3345. /// - FixedString*N*Bytes
  3346. /// - string
  3347. /// - int
  3348. /// - float
  3349. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  3350. ///
  3351. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  3352. /// </remarks>
  3353. /// <param name="formatString">The format string.</param>
  3354. /// <param name="arg0">Value to interpolate into the format string.</param>
  3355. /// <param name="arg1">Value to interpolate into the format string.</param>
  3356. /// <param name="arg2">Value to interpolate into the format string.</param>
  3357. /// <param name="arg3">Value to interpolate into the format string.</param>
  3358. /// <returns>A new string produced by interpolating the format string.</returns>
  3359. [ExcludeFromBurstCompatTesting("Takes managed string")]
  3360. public static FixedString512Bytes Format(FixedString512Bytes formatString, int arg0, int arg1, string arg2, float arg3)
  3361. {
  3362. FixedString512Bytes result = default;
  3363. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  3364. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  3365. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  3366. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  3367. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  3368. return result;
  3369. }
  3370. /// <summary>
  3371. /// Returns a new string produced by interpolating a format string.
  3372. /// </summary>
  3373. /// <remarks>
  3374. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  3375. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  3376. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  3377. ///
  3378. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  3379. /// - FixedString*N*Bytes
  3380. /// - string
  3381. /// - int
  3382. /// - float
  3383. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  3384. ///
  3385. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  3386. /// </remarks>
  3387. /// <param name="formatString">The format string.</param>
  3388. /// <param name="arg0">Value to interpolate into the format string.</param>
  3389. /// <param name="arg1">Value to interpolate into the format string.</param>
  3390. /// <param name="arg2">Value to interpolate into the format string.</param>
  3391. /// <param name="arg3">Value to interpolate into the format string.</param>
  3392. /// <returns>A new string produced by interpolating the format string.</returns>
  3393. [ExcludeFromBurstCompatTesting("Takes managed string")]
  3394. public static FixedString512Bytes Format(FixedString512Bytes formatString, float arg0, int arg1, string arg2, float arg3)
  3395. {
  3396. FixedString512Bytes result = default;
  3397. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  3398. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  3399. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  3400. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  3401. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  3402. return result;
  3403. }
  3404. /// <summary>
  3405. /// Returns a new string produced by interpolating a format string.
  3406. /// </summary>
  3407. /// <remarks>
  3408. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  3409. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  3410. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  3411. ///
  3412. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  3413. /// - FixedString*N*Bytes
  3414. /// - string
  3415. /// - int
  3416. /// - float
  3417. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  3418. ///
  3419. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  3420. /// </remarks>
  3421. /// <param name="formatString">The format string.</param>
  3422. /// <param name="arg0">Value to interpolate into the format string.</param>
  3423. /// <param name="arg1">Value to interpolate into the format string.</param>
  3424. /// <param name="arg2">Value to interpolate into the format string.</param>
  3425. /// <param name="arg3">Value to interpolate into the format string.</param>
  3426. /// <returns>A new string produced by interpolating the format string.</returns>
  3427. [ExcludeFromBurstCompatTesting("Takes managed string")]
  3428. public static FixedString512Bytes Format(FixedString512Bytes formatString, string arg0, int arg1, string arg2, float arg3)
  3429. {
  3430. FixedString512Bytes result = default;
  3431. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  3432. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  3433. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  3434. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  3435. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  3436. return result;
  3437. }
  3438. /// <summary>
  3439. /// Returns a new string produced by interpolating a format string.
  3440. /// </summary>
  3441. /// <remarks>
  3442. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  3443. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  3444. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  3445. ///
  3446. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  3447. /// - FixedString*N*Bytes
  3448. /// - string
  3449. /// - int
  3450. /// - float
  3451. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  3452. ///
  3453. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  3454. /// </remarks>
  3455. /// <param name="formatString">The format string.</param>
  3456. /// <typeparam name="T1"><undoc /></typeparam>
  3457. /// <param name="arg0">Value to interpolate into the format string.</param>
  3458. /// <param name="arg1">Value to interpolate into the format string.</param>
  3459. /// <param name="arg2">Value to interpolate into the format string.</param>
  3460. /// <param name="arg3">Value to interpolate into the format string.</param>
  3461. /// <returns>A new string produced by interpolating the format string.</returns>
  3462. [ExcludeFromBurstCompatTesting("Takes managed string")]
  3463. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, T1 arg0, int arg1, string arg2, float arg3)
  3464. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  3465. {
  3466. FixedString512Bytes result = default;
  3467. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  3468. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  3469. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  3470. result.AppendFormat(formatString, arg0, carg1, carg2, carg3);
  3471. return result;
  3472. }
  3473. /// <summary>
  3474. /// Returns a new string produced by interpolating a format string.
  3475. /// </summary>
  3476. /// <remarks>
  3477. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  3478. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  3479. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  3480. ///
  3481. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  3482. /// - FixedString*N*Bytes
  3483. /// - string
  3484. /// - int
  3485. /// - float
  3486. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  3487. ///
  3488. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  3489. /// </remarks>
  3490. /// <param name="formatString">The format string.</param>
  3491. /// <param name="arg0">Value to interpolate into the format string.</param>
  3492. /// <param name="arg1">Value to interpolate into the format string.</param>
  3493. /// <param name="arg2">Value to interpolate into the format string.</param>
  3494. /// <param name="arg3">Value to interpolate into the format string.</param>
  3495. /// <returns>A new string produced by interpolating the format string.</returns>
  3496. [ExcludeFromBurstCompatTesting("Takes managed string")]
  3497. public static FixedString512Bytes Format(FixedString512Bytes formatString, int arg0, float arg1, string arg2, float arg3)
  3498. {
  3499. FixedString512Bytes result = default;
  3500. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  3501. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  3502. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  3503. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  3504. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  3505. return result;
  3506. }
  3507. /// <summary>
  3508. /// Returns a new string produced by interpolating a format string.
  3509. /// </summary>
  3510. /// <remarks>
  3511. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  3512. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  3513. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  3514. ///
  3515. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  3516. /// - FixedString*N*Bytes
  3517. /// - string
  3518. /// - int
  3519. /// - float
  3520. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  3521. ///
  3522. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  3523. /// </remarks>
  3524. /// <param name="formatString">The format string.</param>
  3525. /// <param name="arg0">Value to interpolate into the format string.</param>
  3526. /// <param name="arg1">Value to interpolate into the format string.</param>
  3527. /// <param name="arg2">Value to interpolate into the format string.</param>
  3528. /// <param name="arg3">Value to interpolate into the format string.</param>
  3529. /// <returns>A new string produced by interpolating the format string.</returns>
  3530. [ExcludeFromBurstCompatTesting("Takes managed string")]
  3531. public static FixedString512Bytes Format(FixedString512Bytes formatString, float arg0, float arg1, string arg2, float arg3)
  3532. {
  3533. FixedString512Bytes result = default;
  3534. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  3535. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  3536. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  3537. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  3538. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  3539. return result;
  3540. }
  3541. /// <summary>
  3542. /// Returns a new string produced by interpolating a format string.
  3543. /// </summary>
  3544. /// <remarks>
  3545. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  3546. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  3547. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  3548. ///
  3549. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  3550. /// - FixedString*N*Bytes
  3551. /// - string
  3552. /// - int
  3553. /// - float
  3554. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  3555. ///
  3556. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  3557. /// </remarks>
  3558. /// <param name="formatString">The format string.</param>
  3559. /// <param name="arg0">Value to interpolate into the format string.</param>
  3560. /// <param name="arg1">Value to interpolate into the format string.</param>
  3561. /// <param name="arg2">Value to interpolate into the format string.</param>
  3562. /// <param name="arg3">Value to interpolate into the format string.</param>
  3563. /// <returns>A new string produced by interpolating the format string.</returns>
  3564. [ExcludeFromBurstCompatTesting("Takes managed string")]
  3565. public static FixedString512Bytes Format(FixedString512Bytes formatString, string arg0, float arg1, string arg2, float arg3)
  3566. {
  3567. FixedString512Bytes result = default;
  3568. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  3569. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  3570. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  3571. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  3572. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  3573. return result;
  3574. }
  3575. /// <summary>
  3576. /// Returns a new string produced by interpolating a format string.
  3577. /// </summary>
  3578. /// <remarks>
  3579. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  3580. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  3581. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  3582. ///
  3583. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  3584. /// - FixedString*N*Bytes
  3585. /// - string
  3586. /// - int
  3587. /// - float
  3588. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  3589. ///
  3590. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  3591. /// </remarks>
  3592. /// <param name="formatString">The format string.</param>
  3593. /// <typeparam name="T1"><undoc /></typeparam>
  3594. /// <param name="arg0">Value to interpolate into the format string.</param>
  3595. /// <param name="arg1">Value to interpolate into the format string.</param>
  3596. /// <param name="arg2">Value to interpolate into the format string.</param>
  3597. /// <param name="arg3">Value to interpolate into the format string.</param>
  3598. /// <returns>A new string produced by interpolating the format string.</returns>
  3599. [ExcludeFromBurstCompatTesting("Takes managed string")]
  3600. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, T1 arg0, float arg1, string arg2, float arg3)
  3601. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  3602. {
  3603. FixedString512Bytes result = default;
  3604. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  3605. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  3606. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  3607. result.AppendFormat(formatString, arg0, carg1, carg2, carg3);
  3608. return result;
  3609. }
  3610. /// <summary>
  3611. /// Returns a new string produced by interpolating a format string.
  3612. /// </summary>
  3613. /// <remarks>
  3614. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  3615. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  3616. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  3617. ///
  3618. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  3619. /// - FixedString*N*Bytes
  3620. /// - string
  3621. /// - int
  3622. /// - float
  3623. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  3624. ///
  3625. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  3626. /// </remarks>
  3627. /// <param name="formatString">The format string.</param>
  3628. /// <param name="arg0">Value to interpolate into the format string.</param>
  3629. /// <param name="arg1">Value to interpolate into the format string.</param>
  3630. /// <param name="arg2">Value to interpolate into the format string.</param>
  3631. /// <param name="arg3">Value to interpolate into the format string.</param>
  3632. /// <returns>A new string produced by interpolating the format string.</returns>
  3633. [ExcludeFromBurstCompatTesting("Takes managed string")]
  3634. public static FixedString512Bytes Format(FixedString512Bytes formatString, int arg0, string arg1, string arg2, float arg3)
  3635. {
  3636. FixedString512Bytes result = default;
  3637. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  3638. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  3639. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  3640. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  3641. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  3642. return result;
  3643. }
  3644. /// <summary>
  3645. /// Returns a new string produced by interpolating a format string.
  3646. /// </summary>
  3647. /// <remarks>
  3648. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  3649. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  3650. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  3651. ///
  3652. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  3653. /// - FixedString*N*Bytes
  3654. /// - string
  3655. /// - int
  3656. /// - float
  3657. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  3658. ///
  3659. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  3660. /// </remarks>
  3661. /// <param name="formatString">The format string.</param>
  3662. /// <param name="arg0">Value to interpolate into the format string.</param>
  3663. /// <param name="arg1">Value to interpolate into the format string.</param>
  3664. /// <param name="arg2">Value to interpolate into the format string.</param>
  3665. /// <param name="arg3">Value to interpolate into the format string.</param>
  3666. /// <returns>A new string produced by interpolating the format string.</returns>
  3667. [ExcludeFromBurstCompatTesting("Takes managed string")]
  3668. public static FixedString512Bytes Format(FixedString512Bytes formatString, float arg0, string arg1, string arg2, float arg3)
  3669. {
  3670. FixedString512Bytes result = default;
  3671. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  3672. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  3673. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  3674. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  3675. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  3676. return result;
  3677. }
  3678. /// <summary>
  3679. /// Returns a new string produced by interpolating a format string.
  3680. /// </summary>
  3681. /// <remarks>
  3682. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  3683. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  3684. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  3685. ///
  3686. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  3687. /// - FixedString*N*Bytes
  3688. /// - string
  3689. /// - int
  3690. /// - float
  3691. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  3692. ///
  3693. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  3694. /// </remarks>
  3695. /// <param name="formatString">The format string.</param>
  3696. /// <param name="arg0">Value to interpolate into the format string.</param>
  3697. /// <param name="arg1">Value to interpolate into the format string.</param>
  3698. /// <param name="arg2">Value to interpolate into the format string.</param>
  3699. /// <param name="arg3">Value to interpolate into the format string.</param>
  3700. /// <returns>A new string produced by interpolating the format string.</returns>
  3701. [ExcludeFromBurstCompatTesting("Takes managed string")]
  3702. public static FixedString512Bytes Format(FixedString512Bytes formatString, string arg0, string arg1, string arg2, float arg3)
  3703. {
  3704. FixedString512Bytes result = default;
  3705. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  3706. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  3707. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  3708. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  3709. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  3710. return result;
  3711. }
  3712. /// <summary>
  3713. /// Returns a new string produced by interpolating a format string.
  3714. /// </summary>
  3715. /// <remarks>
  3716. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  3717. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  3718. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  3719. ///
  3720. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  3721. /// - FixedString*N*Bytes
  3722. /// - string
  3723. /// - int
  3724. /// - float
  3725. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  3726. ///
  3727. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  3728. /// </remarks>
  3729. /// <param name="formatString">The format string.</param>
  3730. /// <typeparam name="T1"><undoc /></typeparam>
  3731. /// <param name="arg0">Value to interpolate into the format string.</param>
  3732. /// <param name="arg1">Value to interpolate into the format string.</param>
  3733. /// <param name="arg2">Value to interpolate into the format string.</param>
  3734. /// <param name="arg3">Value to interpolate into the format string.</param>
  3735. /// <returns>A new string produced by interpolating the format string.</returns>
  3736. [ExcludeFromBurstCompatTesting("Takes managed string")]
  3737. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, T1 arg0, string arg1, string arg2, float arg3)
  3738. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  3739. {
  3740. FixedString512Bytes result = default;
  3741. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  3742. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  3743. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  3744. result.AppendFormat(formatString, arg0, carg1, carg2, carg3);
  3745. return result;
  3746. }
  3747. /// <summary>
  3748. /// Returns a new string produced by interpolating a format string.
  3749. /// </summary>
  3750. /// <remarks>
  3751. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  3752. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  3753. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  3754. ///
  3755. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  3756. /// - FixedString*N*Bytes
  3757. /// - string
  3758. /// - int
  3759. /// - float
  3760. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  3761. ///
  3762. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  3763. /// </remarks>
  3764. /// <param name="formatString">The format string.</param>
  3765. /// <typeparam name="T1"><undoc /></typeparam>
  3766. /// <param name="arg0">Value to interpolate into the format string.</param>
  3767. /// <param name="arg1">Value to interpolate into the format string.</param>
  3768. /// <param name="arg2">Value to interpolate into the format string.</param>
  3769. /// <param name="arg3">Value to interpolate into the format string.</param>
  3770. /// <returns>A new string produced by interpolating the format string.</returns>
  3771. [ExcludeFromBurstCompatTesting("Takes managed string")]
  3772. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, int arg0, T1 arg1, string arg2, float arg3)
  3773. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  3774. {
  3775. FixedString512Bytes result = default;
  3776. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  3777. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  3778. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  3779. result.AppendFormat(formatString, carg0, arg1, carg2, carg3);
  3780. return result;
  3781. }
  3782. /// <summary>
  3783. /// Returns a new string produced by interpolating a format string.
  3784. /// </summary>
  3785. /// <remarks>
  3786. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  3787. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  3788. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  3789. ///
  3790. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  3791. /// - FixedString*N*Bytes
  3792. /// - string
  3793. /// - int
  3794. /// - float
  3795. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  3796. ///
  3797. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  3798. /// </remarks>
  3799. /// <param name="formatString">The format string.</param>
  3800. /// <typeparam name="T1"><undoc /></typeparam>
  3801. /// <param name="arg0">Value to interpolate into the format string.</param>
  3802. /// <param name="arg1">Value to interpolate into the format string.</param>
  3803. /// <param name="arg2">Value to interpolate into the format string.</param>
  3804. /// <param name="arg3">Value to interpolate into the format string.</param>
  3805. /// <returns>A new string produced by interpolating the format string.</returns>
  3806. [ExcludeFromBurstCompatTesting("Takes managed string")]
  3807. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, float arg0, T1 arg1, string arg2, float arg3)
  3808. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  3809. {
  3810. FixedString512Bytes result = default;
  3811. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  3812. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  3813. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  3814. result.AppendFormat(formatString, carg0, arg1, carg2, carg3);
  3815. return result;
  3816. }
  3817. /// <summary>
  3818. /// Returns a new string produced by interpolating a format string.
  3819. /// </summary>
  3820. /// <remarks>
  3821. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  3822. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  3823. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  3824. ///
  3825. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  3826. /// - FixedString*N*Bytes
  3827. /// - string
  3828. /// - int
  3829. /// - float
  3830. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  3831. ///
  3832. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  3833. /// </remarks>
  3834. /// <param name="formatString">The format string.</param>
  3835. /// <typeparam name="T1"><undoc /></typeparam>
  3836. /// <param name="arg0">Value to interpolate into the format string.</param>
  3837. /// <param name="arg1">Value to interpolate into the format string.</param>
  3838. /// <param name="arg2">Value to interpolate into the format string.</param>
  3839. /// <param name="arg3">Value to interpolate into the format string.</param>
  3840. /// <returns>A new string produced by interpolating the format string.</returns>
  3841. [ExcludeFromBurstCompatTesting("Takes managed string")]
  3842. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, string arg0, T1 arg1, string arg2, float arg3)
  3843. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  3844. {
  3845. FixedString512Bytes result = default;
  3846. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  3847. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  3848. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  3849. result.AppendFormat(formatString, carg0, arg1, carg2, carg3);
  3850. return result;
  3851. }
  3852. /// <summary>
  3853. /// Returns a new string produced by interpolating a format string.
  3854. /// </summary>
  3855. /// <remarks>
  3856. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  3857. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  3858. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  3859. ///
  3860. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  3861. /// - FixedString*N*Bytes
  3862. /// - string
  3863. /// - int
  3864. /// - float
  3865. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  3866. ///
  3867. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  3868. /// </remarks>
  3869. /// <param name="formatString">The format string.</param>
  3870. /// <typeparam name="T1"><undoc /></typeparam>
  3871. /// <typeparam name="T2"><undoc /></typeparam>
  3872. /// <param name="arg0">Value to interpolate into the format string.</param>
  3873. /// <param name="arg1">Value to interpolate into the format string.</param>
  3874. /// <param name="arg2">Value to interpolate into the format string.</param>
  3875. /// <param name="arg3">Value to interpolate into the format string.</param>
  3876. /// <returns>A new string produced by interpolating the format string.</returns>
  3877. [ExcludeFromBurstCompatTesting("Takes managed string")]
  3878. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, T1 arg0, T2 arg1, string arg2, float arg3)
  3879. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  3880. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  3881. {
  3882. FixedString512Bytes result = default;
  3883. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  3884. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  3885. result.AppendFormat(formatString, arg0, arg1, carg2, carg3);
  3886. return result;
  3887. }
  3888. /// <summary>
  3889. /// Returns a new string produced by interpolating a format string.
  3890. /// </summary>
  3891. /// <remarks>
  3892. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  3893. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  3894. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  3895. ///
  3896. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  3897. /// - FixedString*N*Bytes
  3898. /// - string
  3899. /// - int
  3900. /// - float
  3901. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  3902. ///
  3903. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  3904. /// </remarks>
  3905. /// <param name="formatString">The format string.</param>
  3906. /// <typeparam name="T1"><undoc /></typeparam>
  3907. /// <param name="arg0">Value to interpolate into the format string.</param>
  3908. /// <param name="arg1">Value to interpolate into the format string.</param>
  3909. /// <param name="arg2">Value to interpolate into the format string.</param>
  3910. /// <param name="arg3">Value to interpolate into the format string.</param>
  3911. /// <returns>A new string produced by interpolating the format string.</returns>
  3912. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  3913. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, int arg0, int arg1, T1 arg2, float arg3)
  3914. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  3915. {
  3916. FixedString512Bytes result = default;
  3917. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  3918. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  3919. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  3920. result.AppendFormat(formatString, carg0, carg1, arg2, carg3);
  3921. return result;
  3922. }
  3923. /// <summary>
  3924. /// Returns a new string produced by interpolating a format string.
  3925. /// </summary>
  3926. /// <remarks>
  3927. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  3928. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  3929. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  3930. ///
  3931. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  3932. /// - FixedString*N*Bytes
  3933. /// - string
  3934. /// - int
  3935. /// - float
  3936. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  3937. ///
  3938. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  3939. /// </remarks>
  3940. /// <param name="formatString">The format string.</param>
  3941. /// <typeparam name="T1"><undoc /></typeparam>
  3942. /// <param name="arg0">Value to interpolate into the format string.</param>
  3943. /// <param name="arg1">Value to interpolate into the format string.</param>
  3944. /// <param name="arg2">Value to interpolate into the format string.</param>
  3945. /// <param name="arg3">Value to interpolate into the format string.</param>
  3946. /// <returns>A new string produced by interpolating the format string.</returns>
  3947. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  3948. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, float arg0, int arg1, T1 arg2, float arg3)
  3949. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  3950. {
  3951. FixedString512Bytes result = default;
  3952. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  3953. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  3954. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  3955. result.AppendFormat(formatString, carg0, carg1, arg2, carg3);
  3956. return result;
  3957. }
  3958. /// <summary>
  3959. /// Returns a new string produced by interpolating a format string.
  3960. /// </summary>
  3961. /// <remarks>
  3962. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  3963. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  3964. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  3965. ///
  3966. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  3967. /// - FixedString*N*Bytes
  3968. /// - string
  3969. /// - int
  3970. /// - float
  3971. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  3972. ///
  3973. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  3974. /// </remarks>
  3975. /// <param name="formatString">The format string.</param>
  3976. /// <typeparam name="T1"><undoc /></typeparam>
  3977. /// <param name="arg0">Value to interpolate into the format string.</param>
  3978. /// <param name="arg1">Value to interpolate into the format string.</param>
  3979. /// <param name="arg2">Value to interpolate into the format string.</param>
  3980. /// <param name="arg3">Value to interpolate into the format string.</param>
  3981. /// <returns>A new string produced by interpolating the format string.</returns>
  3982. [ExcludeFromBurstCompatTesting("Takes managed string")]
  3983. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, string arg0, int arg1, T1 arg2, float arg3)
  3984. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  3985. {
  3986. FixedString512Bytes result = default;
  3987. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  3988. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  3989. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  3990. result.AppendFormat(formatString, carg0, carg1, arg2, carg3);
  3991. return result;
  3992. }
  3993. /// <summary>
  3994. /// Returns a new string produced by interpolating a format string.
  3995. /// </summary>
  3996. /// <remarks>
  3997. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  3998. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  3999. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  4000. ///
  4001. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  4002. /// - FixedString*N*Bytes
  4003. /// - string
  4004. /// - int
  4005. /// - float
  4006. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  4007. ///
  4008. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  4009. /// </remarks>
  4010. /// <param name="formatString">The format string.</param>
  4011. /// <typeparam name="T1"><undoc /></typeparam>
  4012. /// <typeparam name="T2"><undoc /></typeparam>
  4013. /// <param name="arg0">Value to interpolate into the format string.</param>
  4014. /// <param name="arg1">Value to interpolate into the format string.</param>
  4015. /// <param name="arg2">Value to interpolate into the format string.</param>
  4016. /// <param name="arg3">Value to interpolate into the format string.</param>
  4017. /// <returns>A new string produced by interpolating the format string.</returns>
  4018. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/) } )]
  4019. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, T1 arg0, int arg1, T2 arg2, float arg3)
  4020. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  4021. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  4022. {
  4023. FixedString512Bytes result = default;
  4024. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  4025. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  4026. result.AppendFormat(formatString, arg0, carg1, arg2, carg3);
  4027. return result;
  4028. }
  4029. /// <summary>
  4030. /// Returns a new string produced by interpolating a format string.
  4031. /// </summary>
  4032. /// <remarks>
  4033. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  4034. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  4035. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  4036. ///
  4037. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  4038. /// - FixedString*N*Bytes
  4039. /// - string
  4040. /// - int
  4041. /// - float
  4042. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  4043. ///
  4044. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  4045. /// </remarks>
  4046. /// <param name="formatString">The format string.</param>
  4047. /// <typeparam name="T1"><undoc /></typeparam>
  4048. /// <param name="arg0">Value to interpolate into the format string.</param>
  4049. /// <param name="arg1">Value to interpolate into the format string.</param>
  4050. /// <param name="arg2">Value to interpolate into the format string.</param>
  4051. /// <param name="arg3">Value to interpolate into the format string.</param>
  4052. /// <returns>A new string produced by interpolating the format string.</returns>
  4053. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  4054. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, int arg0, float arg1, T1 arg2, float arg3)
  4055. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  4056. {
  4057. FixedString512Bytes result = default;
  4058. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  4059. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  4060. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  4061. result.AppendFormat(formatString, carg0, carg1, arg2, carg3);
  4062. return result;
  4063. }
  4064. /// <summary>
  4065. /// Returns a new string produced by interpolating a format string.
  4066. /// </summary>
  4067. /// <remarks>
  4068. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  4069. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  4070. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  4071. ///
  4072. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  4073. /// - FixedString*N*Bytes
  4074. /// - string
  4075. /// - int
  4076. /// - float
  4077. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  4078. ///
  4079. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  4080. /// </remarks>
  4081. /// <param name="formatString">The format string.</param>
  4082. /// <typeparam name="T1"><undoc /></typeparam>
  4083. /// <param name="arg0">Value to interpolate into the format string.</param>
  4084. /// <param name="arg1">Value to interpolate into the format string.</param>
  4085. /// <param name="arg2">Value to interpolate into the format string.</param>
  4086. /// <param name="arg3">Value to interpolate into the format string.</param>
  4087. /// <returns>A new string produced by interpolating the format string.</returns>
  4088. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  4089. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, float arg0, float arg1, T1 arg2, float arg3)
  4090. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  4091. {
  4092. FixedString512Bytes result = default;
  4093. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  4094. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  4095. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  4096. result.AppendFormat(formatString, carg0, carg1, arg2, carg3);
  4097. return result;
  4098. }
  4099. /// <summary>
  4100. /// Returns a new string produced by interpolating a format string.
  4101. /// </summary>
  4102. /// <remarks>
  4103. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  4104. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  4105. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  4106. ///
  4107. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  4108. /// - FixedString*N*Bytes
  4109. /// - string
  4110. /// - int
  4111. /// - float
  4112. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  4113. ///
  4114. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  4115. /// </remarks>
  4116. /// <param name="formatString">The format string.</param>
  4117. /// <typeparam name="T1"><undoc /></typeparam>
  4118. /// <param name="arg0">Value to interpolate into the format string.</param>
  4119. /// <param name="arg1">Value to interpolate into the format string.</param>
  4120. /// <param name="arg2">Value to interpolate into the format string.</param>
  4121. /// <param name="arg3">Value to interpolate into the format string.</param>
  4122. /// <returns>A new string produced by interpolating the format string.</returns>
  4123. [ExcludeFromBurstCompatTesting("Takes managed string")]
  4124. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, string arg0, float arg1, T1 arg2, float arg3)
  4125. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  4126. {
  4127. FixedString512Bytes result = default;
  4128. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  4129. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  4130. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  4131. result.AppendFormat(formatString, carg0, carg1, arg2, carg3);
  4132. return result;
  4133. }
  4134. /// <summary>
  4135. /// Returns a new string produced by interpolating a format string.
  4136. /// </summary>
  4137. /// <remarks>
  4138. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  4139. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  4140. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  4141. ///
  4142. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  4143. /// - FixedString*N*Bytes
  4144. /// - string
  4145. /// - int
  4146. /// - float
  4147. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  4148. ///
  4149. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  4150. /// </remarks>
  4151. /// <param name="formatString">The format string.</param>
  4152. /// <typeparam name="T1"><undoc /></typeparam>
  4153. /// <typeparam name="T2"><undoc /></typeparam>
  4154. /// <param name="arg0">Value to interpolate into the format string.</param>
  4155. /// <param name="arg1">Value to interpolate into the format string.</param>
  4156. /// <param name="arg2">Value to interpolate into the format string.</param>
  4157. /// <param name="arg3">Value to interpolate into the format string.</param>
  4158. /// <returns>A new string produced by interpolating the format string.</returns>
  4159. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/) } )]
  4160. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, T1 arg0, float arg1, T2 arg2, float arg3)
  4161. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  4162. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  4163. {
  4164. FixedString512Bytes result = default;
  4165. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  4166. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  4167. result.AppendFormat(formatString, arg0, carg1, arg2, carg3);
  4168. return result;
  4169. }
  4170. /// <summary>
  4171. /// Returns a new string produced by interpolating a format string.
  4172. /// </summary>
  4173. /// <remarks>
  4174. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  4175. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  4176. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  4177. ///
  4178. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  4179. /// - FixedString*N*Bytes
  4180. /// - string
  4181. /// - int
  4182. /// - float
  4183. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  4184. ///
  4185. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  4186. /// </remarks>
  4187. /// <param name="formatString">The format string.</param>
  4188. /// <typeparam name="T1"><undoc /></typeparam>
  4189. /// <param name="arg0">Value to interpolate into the format string.</param>
  4190. /// <param name="arg1">Value to interpolate into the format string.</param>
  4191. /// <param name="arg2">Value to interpolate into the format string.</param>
  4192. /// <param name="arg3">Value to interpolate into the format string.</param>
  4193. /// <returns>A new string produced by interpolating the format string.</returns>
  4194. [ExcludeFromBurstCompatTesting("Takes managed string")]
  4195. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, int arg0, string arg1, T1 arg2, float arg3)
  4196. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  4197. {
  4198. FixedString512Bytes result = default;
  4199. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  4200. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  4201. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  4202. result.AppendFormat(formatString, carg0, carg1, arg2, carg3);
  4203. return result;
  4204. }
  4205. /// <summary>
  4206. /// Returns a new string produced by interpolating a format string.
  4207. /// </summary>
  4208. /// <remarks>
  4209. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  4210. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  4211. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  4212. ///
  4213. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  4214. /// - FixedString*N*Bytes
  4215. /// - string
  4216. /// - int
  4217. /// - float
  4218. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  4219. ///
  4220. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  4221. /// </remarks>
  4222. /// <param name="formatString">The format string.</param>
  4223. /// <typeparam name="T1"><undoc /></typeparam>
  4224. /// <param name="arg0">Value to interpolate into the format string.</param>
  4225. /// <param name="arg1">Value to interpolate into the format string.</param>
  4226. /// <param name="arg2">Value to interpolate into the format string.</param>
  4227. /// <param name="arg3">Value to interpolate into the format string.</param>
  4228. /// <returns>A new string produced by interpolating the format string.</returns>
  4229. [ExcludeFromBurstCompatTesting("Takes managed string")]
  4230. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, float arg0, string arg1, T1 arg2, float arg3)
  4231. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  4232. {
  4233. FixedString512Bytes result = default;
  4234. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  4235. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  4236. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  4237. result.AppendFormat(formatString, carg0, carg1, arg2, carg3);
  4238. return result;
  4239. }
  4240. /// <summary>
  4241. /// Returns a new string produced by interpolating a format string.
  4242. /// </summary>
  4243. /// <remarks>
  4244. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  4245. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  4246. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  4247. ///
  4248. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  4249. /// - FixedString*N*Bytes
  4250. /// - string
  4251. /// - int
  4252. /// - float
  4253. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  4254. ///
  4255. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  4256. /// </remarks>
  4257. /// <param name="formatString">The format string.</param>
  4258. /// <typeparam name="T1"><undoc /></typeparam>
  4259. /// <param name="arg0">Value to interpolate into the format string.</param>
  4260. /// <param name="arg1">Value to interpolate into the format string.</param>
  4261. /// <param name="arg2">Value to interpolate into the format string.</param>
  4262. /// <param name="arg3">Value to interpolate into the format string.</param>
  4263. /// <returns>A new string produced by interpolating the format string.</returns>
  4264. [ExcludeFromBurstCompatTesting("Takes managed string")]
  4265. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, string arg0, string arg1, T1 arg2, float arg3)
  4266. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  4267. {
  4268. FixedString512Bytes result = default;
  4269. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  4270. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  4271. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  4272. result.AppendFormat(formatString, carg0, carg1, arg2, carg3);
  4273. return result;
  4274. }
  4275. /// <summary>
  4276. /// Returns a new string produced by interpolating a format string.
  4277. /// </summary>
  4278. /// <remarks>
  4279. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  4280. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  4281. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  4282. ///
  4283. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  4284. /// - FixedString*N*Bytes
  4285. /// - string
  4286. /// - int
  4287. /// - float
  4288. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  4289. ///
  4290. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  4291. /// </remarks>
  4292. /// <param name="formatString">The format string.</param>
  4293. /// <typeparam name="T1"><undoc /></typeparam>
  4294. /// <typeparam name="T2"><undoc /></typeparam>
  4295. /// <param name="arg0">Value to interpolate into the format string.</param>
  4296. /// <param name="arg1">Value to interpolate into the format string.</param>
  4297. /// <param name="arg2">Value to interpolate into the format string.</param>
  4298. /// <param name="arg3">Value to interpolate into the format string.</param>
  4299. /// <returns>A new string produced by interpolating the format string.</returns>
  4300. [ExcludeFromBurstCompatTesting("Takes managed string")]
  4301. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, T1 arg0, string arg1, T2 arg2, float arg3)
  4302. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  4303. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  4304. {
  4305. FixedString512Bytes result = default;
  4306. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  4307. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  4308. result.AppendFormat(formatString, arg0, carg1, arg2, carg3);
  4309. return result;
  4310. }
  4311. /// <summary>
  4312. /// Returns a new string produced by interpolating a format string.
  4313. /// </summary>
  4314. /// <remarks>
  4315. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  4316. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  4317. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  4318. ///
  4319. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  4320. /// - FixedString*N*Bytes
  4321. /// - string
  4322. /// - int
  4323. /// - float
  4324. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  4325. ///
  4326. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  4327. /// </remarks>
  4328. /// <param name="formatString">The format string.</param>
  4329. /// <typeparam name="T1"><undoc /></typeparam>
  4330. /// <typeparam name="T2"><undoc /></typeparam>
  4331. /// <param name="arg0">Value to interpolate into the format string.</param>
  4332. /// <param name="arg1">Value to interpolate into the format string.</param>
  4333. /// <param name="arg2">Value to interpolate into the format string.</param>
  4334. /// <param name="arg3">Value to interpolate into the format string.</param>
  4335. /// <returns>A new string produced by interpolating the format string.</returns>
  4336. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/) } )]
  4337. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, int arg0, T1 arg1, T2 arg2, float arg3)
  4338. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  4339. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  4340. {
  4341. FixedString512Bytes result = default;
  4342. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  4343. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  4344. result.AppendFormat(formatString, carg0, arg1, arg2, carg3);
  4345. return result;
  4346. }
  4347. /// <summary>
  4348. /// Returns a new string produced by interpolating a format string.
  4349. /// </summary>
  4350. /// <remarks>
  4351. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  4352. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  4353. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  4354. ///
  4355. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  4356. /// - FixedString*N*Bytes
  4357. /// - string
  4358. /// - int
  4359. /// - float
  4360. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  4361. ///
  4362. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  4363. /// </remarks>
  4364. /// <param name="formatString">The format string.</param>
  4365. /// <typeparam name="T1"><undoc /></typeparam>
  4366. /// <typeparam name="T2"><undoc /></typeparam>
  4367. /// <param name="arg0">Value to interpolate into the format string.</param>
  4368. /// <param name="arg1">Value to interpolate into the format string.</param>
  4369. /// <param name="arg2">Value to interpolate into the format string.</param>
  4370. /// <param name="arg3">Value to interpolate into the format string.</param>
  4371. /// <returns>A new string produced by interpolating the format string.</returns>
  4372. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/) } )]
  4373. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, float arg0, T1 arg1, T2 arg2, float arg3)
  4374. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  4375. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  4376. {
  4377. FixedString512Bytes result = default;
  4378. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  4379. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  4380. result.AppendFormat(formatString, carg0, arg1, arg2, carg3);
  4381. return result;
  4382. }
  4383. /// <summary>
  4384. /// Returns a new string produced by interpolating a format string.
  4385. /// </summary>
  4386. /// <remarks>
  4387. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  4388. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  4389. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  4390. ///
  4391. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  4392. /// - FixedString*N*Bytes
  4393. /// - string
  4394. /// - int
  4395. /// - float
  4396. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  4397. ///
  4398. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  4399. /// </remarks>
  4400. /// <param name="formatString">The format string.</param>
  4401. /// <typeparam name="T1"><undoc /></typeparam>
  4402. /// <typeparam name="T2"><undoc /></typeparam>
  4403. /// <param name="arg0">Value to interpolate into the format string.</param>
  4404. /// <param name="arg1">Value to interpolate into the format string.</param>
  4405. /// <param name="arg2">Value to interpolate into the format string.</param>
  4406. /// <param name="arg3">Value to interpolate into the format string.</param>
  4407. /// <returns>A new string produced by interpolating the format string.</returns>
  4408. [ExcludeFromBurstCompatTesting("Takes managed string")]
  4409. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, string arg0, T1 arg1, T2 arg2, float arg3)
  4410. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  4411. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  4412. {
  4413. FixedString512Bytes result = default;
  4414. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  4415. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  4416. result.AppendFormat(formatString, carg0, arg1, arg2, carg3);
  4417. return result;
  4418. }
  4419. /// <summary>
  4420. /// Returns a new string produced by interpolating a format string.
  4421. /// </summary>
  4422. /// <remarks>
  4423. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  4424. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  4425. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  4426. ///
  4427. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  4428. /// - FixedString*N*Bytes
  4429. /// - string
  4430. /// - int
  4431. /// - float
  4432. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  4433. ///
  4434. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  4435. /// </remarks>
  4436. /// <param name="formatString">The format string.</param>
  4437. /// <typeparam name="T1"><undoc /></typeparam>
  4438. /// <typeparam name="T2"><undoc /></typeparam>
  4439. /// <typeparam name="T3"><undoc /></typeparam>
  4440. /// <param name="arg0">Value to interpolate into the format string.</param>
  4441. /// <param name="arg1">Value to interpolate into the format string.</param>
  4442. /// <param name="arg2">Value to interpolate into the format string.</param>
  4443. /// <param name="arg3">Value to interpolate into the format string.</param>
  4444. /// <returns>A new string produced by interpolating the format string.</returns>
  4445. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/), typeof(FixedString32Bytes /*$T3*/) } )]
  4446. public static FixedString512Bytes Format<T1,T2,T3>(FixedString512Bytes formatString, T1 arg0, T2 arg1, T3 arg2, float arg3)
  4447. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  4448. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  4449. where T3 : unmanaged, INativeList<byte>, IUTF8Bytes
  4450. {
  4451. FixedString512Bytes result = default;
  4452. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  4453. result.AppendFormat(formatString, arg0, arg1, arg2, carg3);
  4454. return result;
  4455. }
  4456. /// <summary>
  4457. /// Returns a new string produced by interpolating a format string.
  4458. /// </summary>
  4459. /// <remarks>
  4460. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  4461. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  4462. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  4463. ///
  4464. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  4465. /// - FixedString*N*Bytes
  4466. /// - string
  4467. /// - int
  4468. /// - float
  4469. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  4470. ///
  4471. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  4472. /// </remarks>
  4473. /// <param name="formatString">The format string.</param>
  4474. /// <param name="arg0">Value to interpolate into the format string.</param>
  4475. /// <param name="arg1">Value to interpolate into the format string.</param>
  4476. /// <param name="arg2">Value to interpolate into the format string.</param>
  4477. /// <param name="arg3">Value to interpolate into the format string.</param>
  4478. /// <returns>A new string produced by interpolating the format string.</returns>
  4479. [ExcludeFromBurstCompatTesting("Takes managed string")]
  4480. public static FixedString512Bytes Format(FixedString512Bytes formatString, int arg0, int arg1, int arg2, string arg3)
  4481. {
  4482. FixedString512Bytes result = default;
  4483. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  4484. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  4485. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  4486. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  4487. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  4488. return result;
  4489. }
  4490. /// <summary>
  4491. /// Returns a new string produced by interpolating a format string.
  4492. /// </summary>
  4493. /// <remarks>
  4494. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  4495. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  4496. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  4497. ///
  4498. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  4499. /// - FixedString*N*Bytes
  4500. /// - string
  4501. /// - int
  4502. /// - float
  4503. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  4504. ///
  4505. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  4506. /// </remarks>
  4507. /// <param name="formatString">The format string.</param>
  4508. /// <param name="arg0">Value to interpolate into the format string.</param>
  4509. /// <param name="arg1">Value to interpolate into the format string.</param>
  4510. /// <param name="arg2">Value to interpolate into the format string.</param>
  4511. /// <param name="arg3">Value to interpolate into the format string.</param>
  4512. /// <returns>A new string produced by interpolating the format string.</returns>
  4513. [ExcludeFromBurstCompatTesting("Takes managed string")]
  4514. public static FixedString512Bytes Format(FixedString512Bytes formatString, float arg0, int arg1, int arg2, string arg3)
  4515. {
  4516. FixedString512Bytes result = default;
  4517. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  4518. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  4519. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  4520. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  4521. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  4522. return result;
  4523. }
  4524. /// <summary>
  4525. /// Returns a new string produced by interpolating a format string.
  4526. /// </summary>
  4527. /// <remarks>
  4528. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  4529. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  4530. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  4531. ///
  4532. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  4533. /// - FixedString*N*Bytes
  4534. /// - string
  4535. /// - int
  4536. /// - float
  4537. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  4538. ///
  4539. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  4540. /// </remarks>
  4541. /// <param name="formatString">The format string.</param>
  4542. /// <param name="arg0">Value to interpolate into the format string.</param>
  4543. /// <param name="arg1">Value to interpolate into the format string.</param>
  4544. /// <param name="arg2">Value to interpolate into the format string.</param>
  4545. /// <param name="arg3">Value to interpolate into the format string.</param>
  4546. /// <returns>A new string produced by interpolating the format string.</returns>
  4547. [ExcludeFromBurstCompatTesting("Takes managed string")]
  4548. public static FixedString512Bytes Format(FixedString512Bytes formatString, string arg0, int arg1, int arg2, string arg3)
  4549. {
  4550. FixedString512Bytes result = default;
  4551. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  4552. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  4553. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  4554. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  4555. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  4556. return result;
  4557. }
  4558. /// <summary>
  4559. /// Returns a new string produced by interpolating a format string.
  4560. /// </summary>
  4561. /// <remarks>
  4562. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  4563. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  4564. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  4565. ///
  4566. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  4567. /// - FixedString*N*Bytes
  4568. /// - string
  4569. /// - int
  4570. /// - float
  4571. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  4572. ///
  4573. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  4574. /// </remarks>
  4575. /// <param name="formatString">The format string.</param>
  4576. /// <typeparam name="T1"><undoc /></typeparam>
  4577. /// <param name="arg0">Value to interpolate into the format string.</param>
  4578. /// <param name="arg1">Value to interpolate into the format string.</param>
  4579. /// <param name="arg2">Value to interpolate into the format string.</param>
  4580. /// <param name="arg3">Value to interpolate into the format string.</param>
  4581. /// <returns>A new string produced by interpolating the format string.</returns>
  4582. [ExcludeFromBurstCompatTesting("Takes managed string")]
  4583. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, T1 arg0, int arg1, int arg2, string arg3)
  4584. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  4585. {
  4586. FixedString512Bytes result = default;
  4587. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  4588. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  4589. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  4590. result.AppendFormat(formatString, arg0, carg1, carg2, carg3);
  4591. return result;
  4592. }
  4593. /// <summary>
  4594. /// Returns a new string produced by interpolating a format string.
  4595. /// </summary>
  4596. /// <remarks>
  4597. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  4598. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  4599. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  4600. ///
  4601. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  4602. /// - FixedString*N*Bytes
  4603. /// - string
  4604. /// - int
  4605. /// - float
  4606. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  4607. ///
  4608. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  4609. /// </remarks>
  4610. /// <param name="formatString">The format string.</param>
  4611. /// <param name="arg0">Value to interpolate into the format string.</param>
  4612. /// <param name="arg1">Value to interpolate into the format string.</param>
  4613. /// <param name="arg2">Value to interpolate into the format string.</param>
  4614. /// <param name="arg3">Value to interpolate into the format string.</param>
  4615. /// <returns>A new string produced by interpolating the format string.</returns>
  4616. [ExcludeFromBurstCompatTesting("Takes managed string")]
  4617. public static FixedString512Bytes Format(FixedString512Bytes formatString, int arg0, float arg1, int arg2, string arg3)
  4618. {
  4619. FixedString512Bytes result = default;
  4620. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  4621. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  4622. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  4623. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  4624. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  4625. return result;
  4626. }
  4627. /// <summary>
  4628. /// Returns a new string produced by interpolating a format string.
  4629. /// </summary>
  4630. /// <remarks>
  4631. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  4632. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  4633. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  4634. ///
  4635. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  4636. /// - FixedString*N*Bytes
  4637. /// - string
  4638. /// - int
  4639. /// - float
  4640. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  4641. ///
  4642. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  4643. /// </remarks>
  4644. /// <param name="formatString">The format string.</param>
  4645. /// <param name="arg0">Value to interpolate into the format string.</param>
  4646. /// <param name="arg1">Value to interpolate into the format string.</param>
  4647. /// <param name="arg2">Value to interpolate into the format string.</param>
  4648. /// <param name="arg3">Value to interpolate into the format string.</param>
  4649. /// <returns>A new string produced by interpolating the format string.</returns>
  4650. [ExcludeFromBurstCompatTesting("Takes managed string")]
  4651. public static FixedString512Bytes Format(FixedString512Bytes formatString, float arg0, float arg1, int arg2, string arg3)
  4652. {
  4653. FixedString512Bytes result = default;
  4654. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  4655. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  4656. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  4657. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  4658. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  4659. return result;
  4660. }
  4661. /// <summary>
  4662. /// Returns a new string produced by interpolating a format string.
  4663. /// </summary>
  4664. /// <remarks>
  4665. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  4666. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  4667. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  4668. ///
  4669. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  4670. /// - FixedString*N*Bytes
  4671. /// - string
  4672. /// - int
  4673. /// - float
  4674. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  4675. ///
  4676. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  4677. /// </remarks>
  4678. /// <param name="formatString">The format string.</param>
  4679. /// <param name="arg0">Value to interpolate into the format string.</param>
  4680. /// <param name="arg1">Value to interpolate into the format string.</param>
  4681. /// <param name="arg2">Value to interpolate into the format string.</param>
  4682. /// <param name="arg3">Value to interpolate into the format string.</param>
  4683. /// <returns>A new string produced by interpolating the format string.</returns>
  4684. [ExcludeFromBurstCompatTesting("Takes managed string")]
  4685. public static FixedString512Bytes Format(FixedString512Bytes formatString, string arg0, float arg1, int arg2, string arg3)
  4686. {
  4687. FixedString512Bytes result = default;
  4688. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  4689. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  4690. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  4691. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  4692. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  4693. return result;
  4694. }
  4695. /// <summary>
  4696. /// Returns a new string produced by interpolating a format string.
  4697. /// </summary>
  4698. /// <remarks>
  4699. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  4700. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  4701. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  4702. ///
  4703. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  4704. /// - FixedString*N*Bytes
  4705. /// - string
  4706. /// - int
  4707. /// - float
  4708. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  4709. ///
  4710. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  4711. /// </remarks>
  4712. /// <param name="formatString">The format string.</param>
  4713. /// <typeparam name="T1"><undoc /></typeparam>
  4714. /// <param name="arg0">Value to interpolate into the format string.</param>
  4715. /// <param name="arg1">Value to interpolate into the format string.</param>
  4716. /// <param name="arg2">Value to interpolate into the format string.</param>
  4717. /// <param name="arg3">Value to interpolate into the format string.</param>
  4718. /// <returns>A new string produced by interpolating the format string.</returns>
  4719. [ExcludeFromBurstCompatTesting("Takes managed string")]
  4720. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, T1 arg0, float arg1, int arg2, string arg3)
  4721. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  4722. {
  4723. FixedString512Bytes result = default;
  4724. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  4725. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  4726. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  4727. result.AppendFormat(formatString, arg0, carg1, carg2, carg3);
  4728. return result;
  4729. }
  4730. /// <summary>
  4731. /// Returns a new string produced by interpolating a format string.
  4732. /// </summary>
  4733. /// <remarks>
  4734. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  4735. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  4736. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  4737. ///
  4738. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  4739. /// - FixedString*N*Bytes
  4740. /// - string
  4741. /// - int
  4742. /// - float
  4743. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  4744. ///
  4745. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  4746. /// </remarks>
  4747. /// <param name="formatString">The format string.</param>
  4748. /// <param name="arg0">Value to interpolate into the format string.</param>
  4749. /// <param name="arg1">Value to interpolate into the format string.</param>
  4750. /// <param name="arg2">Value to interpolate into the format string.</param>
  4751. /// <param name="arg3">Value to interpolate into the format string.</param>
  4752. /// <returns>A new string produced by interpolating the format string.</returns>
  4753. [ExcludeFromBurstCompatTesting("Takes managed string")]
  4754. public static FixedString512Bytes Format(FixedString512Bytes formatString, int arg0, string arg1, int arg2, string arg3)
  4755. {
  4756. FixedString512Bytes result = default;
  4757. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  4758. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  4759. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  4760. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  4761. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  4762. return result;
  4763. }
  4764. /// <summary>
  4765. /// Returns a new string produced by interpolating a format string.
  4766. /// </summary>
  4767. /// <remarks>
  4768. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  4769. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  4770. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  4771. ///
  4772. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  4773. /// - FixedString*N*Bytes
  4774. /// - string
  4775. /// - int
  4776. /// - float
  4777. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  4778. ///
  4779. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  4780. /// </remarks>
  4781. /// <param name="formatString">The format string.</param>
  4782. /// <param name="arg0">Value to interpolate into the format string.</param>
  4783. /// <param name="arg1">Value to interpolate into the format string.</param>
  4784. /// <param name="arg2">Value to interpolate into the format string.</param>
  4785. /// <param name="arg3">Value to interpolate into the format string.</param>
  4786. /// <returns>A new string produced by interpolating the format string.</returns>
  4787. [ExcludeFromBurstCompatTesting("Takes managed string")]
  4788. public static FixedString512Bytes Format(FixedString512Bytes formatString, float arg0, string arg1, int arg2, string arg3)
  4789. {
  4790. FixedString512Bytes result = default;
  4791. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  4792. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  4793. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  4794. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  4795. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  4796. return result;
  4797. }
  4798. /// <summary>
  4799. /// Returns a new string produced by interpolating a format string.
  4800. /// </summary>
  4801. /// <remarks>
  4802. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  4803. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  4804. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  4805. ///
  4806. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  4807. /// - FixedString*N*Bytes
  4808. /// - string
  4809. /// - int
  4810. /// - float
  4811. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  4812. ///
  4813. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  4814. /// </remarks>
  4815. /// <param name="formatString">The format string.</param>
  4816. /// <param name="arg0">Value to interpolate into the format string.</param>
  4817. /// <param name="arg1">Value to interpolate into the format string.</param>
  4818. /// <param name="arg2">Value to interpolate into the format string.</param>
  4819. /// <param name="arg3">Value to interpolate into the format string.</param>
  4820. /// <returns>A new string produced by interpolating the format string.</returns>
  4821. [ExcludeFromBurstCompatTesting("Takes managed string")]
  4822. public static FixedString512Bytes Format(FixedString512Bytes formatString, string arg0, string arg1, int arg2, string arg3)
  4823. {
  4824. FixedString512Bytes result = default;
  4825. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  4826. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  4827. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  4828. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  4829. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  4830. return result;
  4831. }
  4832. /// <summary>
  4833. /// Returns a new string produced by interpolating a format string.
  4834. /// </summary>
  4835. /// <remarks>
  4836. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  4837. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  4838. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  4839. ///
  4840. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  4841. /// - FixedString*N*Bytes
  4842. /// - string
  4843. /// - int
  4844. /// - float
  4845. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  4846. ///
  4847. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  4848. /// </remarks>
  4849. /// <param name="formatString">The format string.</param>
  4850. /// <typeparam name="T1"><undoc /></typeparam>
  4851. /// <param name="arg0">Value to interpolate into the format string.</param>
  4852. /// <param name="arg1">Value to interpolate into the format string.</param>
  4853. /// <param name="arg2">Value to interpolate into the format string.</param>
  4854. /// <param name="arg3">Value to interpolate into the format string.</param>
  4855. /// <returns>A new string produced by interpolating the format string.</returns>
  4856. [ExcludeFromBurstCompatTesting("Takes managed string")]
  4857. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, T1 arg0, string arg1, int arg2, string arg3)
  4858. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  4859. {
  4860. FixedString512Bytes result = default;
  4861. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  4862. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  4863. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  4864. result.AppendFormat(formatString, arg0, carg1, carg2, carg3);
  4865. return result;
  4866. }
  4867. /// <summary>
  4868. /// Returns a new string produced by interpolating a format string.
  4869. /// </summary>
  4870. /// <remarks>
  4871. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  4872. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  4873. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  4874. ///
  4875. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  4876. /// - FixedString*N*Bytes
  4877. /// - string
  4878. /// - int
  4879. /// - float
  4880. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  4881. ///
  4882. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  4883. /// </remarks>
  4884. /// <param name="formatString">The format string.</param>
  4885. /// <typeparam name="T1"><undoc /></typeparam>
  4886. /// <param name="arg0">Value to interpolate into the format string.</param>
  4887. /// <param name="arg1">Value to interpolate into the format string.</param>
  4888. /// <param name="arg2">Value to interpolate into the format string.</param>
  4889. /// <param name="arg3">Value to interpolate into the format string.</param>
  4890. /// <returns>A new string produced by interpolating the format string.</returns>
  4891. [ExcludeFromBurstCompatTesting("Takes managed string")]
  4892. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, int arg0, T1 arg1, int arg2, string arg3)
  4893. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  4894. {
  4895. FixedString512Bytes result = default;
  4896. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  4897. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  4898. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  4899. result.AppendFormat(formatString, carg0, arg1, carg2, carg3);
  4900. return result;
  4901. }
  4902. /// <summary>
  4903. /// Returns a new string produced by interpolating a format string.
  4904. /// </summary>
  4905. /// <remarks>
  4906. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  4907. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  4908. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  4909. ///
  4910. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  4911. /// - FixedString*N*Bytes
  4912. /// - string
  4913. /// - int
  4914. /// - float
  4915. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  4916. ///
  4917. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  4918. /// </remarks>
  4919. /// <param name="formatString">The format string.</param>
  4920. /// <typeparam name="T1"><undoc /></typeparam>
  4921. /// <param name="arg0">Value to interpolate into the format string.</param>
  4922. /// <param name="arg1">Value to interpolate into the format string.</param>
  4923. /// <param name="arg2">Value to interpolate into the format string.</param>
  4924. /// <param name="arg3">Value to interpolate into the format string.</param>
  4925. /// <returns>A new string produced by interpolating the format string.</returns>
  4926. [ExcludeFromBurstCompatTesting("Takes managed string")]
  4927. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, float arg0, T1 arg1, int arg2, string arg3)
  4928. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  4929. {
  4930. FixedString512Bytes result = default;
  4931. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  4932. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  4933. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  4934. result.AppendFormat(formatString, carg0, arg1, carg2, carg3);
  4935. return result;
  4936. }
  4937. /// <summary>
  4938. /// Returns a new string produced by interpolating a format string.
  4939. /// </summary>
  4940. /// <remarks>
  4941. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  4942. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  4943. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  4944. ///
  4945. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  4946. /// - FixedString*N*Bytes
  4947. /// - string
  4948. /// - int
  4949. /// - float
  4950. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  4951. ///
  4952. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  4953. /// </remarks>
  4954. /// <param name="formatString">The format string.</param>
  4955. /// <typeparam name="T1"><undoc /></typeparam>
  4956. /// <param name="arg0">Value to interpolate into the format string.</param>
  4957. /// <param name="arg1">Value to interpolate into the format string.</param>
  4958. /// <param name="arg2">Value to interpolate into the format string.</param>
  4959. /// <param name="arg3">Value to interpolate into the format string.</param>
  4960. /// <returns>A new string produced by interpolating the format string.</returns>
  4961. [ExcludeFromBurstCompatTesting("Takes managed string")]
  4962. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, string arg0, T1 arg1, int arg2, string arg3)
  4963. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  4964. {
  4965. FixedString512Bytes result = default;
  4966. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  4967. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  4968. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  4969. result.AppendFormat(formatString, carg0, arg1, carg2, carg3);
  4970. return result;
  4971. }
  4972. /// <summary>
  4973. /// Returns a new string produced by interpolating a format string.
  4974. /// </summary>
  4975. /// <remarks>
  4976. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  4977. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  4978. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  4979. ///
  4980. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  4981. /// - FixedString*N*Bytes
  4982. /// - string
  4983. /// - int
  4984. /// - float
  4985. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  4986. ///
  4987. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  4988. /// </remarks>
  4989. /// <param name="formatString">The format string.</param>
  4990. /// <typeparam name="T1"><undoc /></typeparam>
  4991. /// <typeparam name="T2"><undoc /></typeparam>
  4992. /// <param name="arg0">Value to interpolate into the format string.</param>
  4993. /// <param name="arg1">Value to interpolate into the format string.</param>
  4994. /// <param name="arg2">Value to interpolate into the format string.</param>
  4995. /// <param name="arg3">Value to interpolate into the format string.</param>
  4996. /// <returns>A new string produced by interpolating the format string.</returns>
  4997. [ExcludeFromBurstCompatTesting("Takes managed string")]
  4998. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, T1 arg0, T2 arg1, int arg2, string arg3)
  4999. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  5000. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  5001. {
  5002. FixedString512Bytes result = default;
  5003. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  5004. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  5005. result.AppendFormat(formatString, arg0, arg1, carg2, carg3);
  5006. return result;
  5007. }
  5008. /// <summary>
  5009. /// Returns a new string produced by interpolating a format string.
  5010. /// </summary>
  5011. /// <remarks>
  5012. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  5013. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  5014. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  5015. ///
  5016. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  5017. /// - FixedString*N*Bytes
  5018. /// - string
  5019. /// - int
  5020. /// - float
  5021. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  5022. ///
  5023. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  5024. /// </remarks>
  5025. /// <param name="formatString">The format string.</param>
  5026. /// <param name="arg0">Value to interpolate into the format string.</param>
  5027. /// <param name="arg1">Value to interpolate into the format string.</param>
  5028. /// <param name="arg2">Value to interpolate into the format string.</param>
  5029. /// <param name="arg3">Value to interpolate into the format string.</param>
  5030. /// <returns>A new string produced by interpolating the format string.</returns>
  5031. [ExcludeFromBurstCompatTesting("Takes managed string")]
  5032. public static FixedString512Bytes Format(FixedString512Bytes formatString, int arg0, int arg1, float arg2, string arg3)
  5033. {
  5034. FixedString512Bytes result = default;
  5035. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  5036. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  5037. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  5038. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  5039. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  5040. return result;
  5041. }
  5042. /// <summary>
  5043. /// Returns a new string produced by interpolating a format string.
  5044. /// </summary>
  5045. /// <remarks>
  5046. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  5047. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  5048. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  5049. ///
  5050. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  5051. /// - FixedString*N*Bytes
  5052. /// - string
  5053. /// - int
  5054. /// - float
  5055. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  5056. ///
  5057. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  5058. /// </remarks>
  5059. /// <param name="formatString">The format string.</param>
  5060. /// <param name="arg0">Value to interpolate into the format string.</param>
  5061. /// <param name="arg1">Value to interpolate into the format string.</param>
  5062. /// <param name="arg2">Value to interpolate into the format string.</param>
  5063. /// <param name="arg3">Value to interpolate into the format string.</param>
  5064. /// <returns>A new string produced by interpolating the format string.</returns>
  5065. [ExcludeFromBurstCompatTesting("Takes managed string")]
  5066. public static FixedString512Bytes Format(FixedString512Bytes formatString, float arg0, int arg1, float arg2, string arg3)
  5067. {
  5068. FixedString512Bytes result = default;
  5069. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  5070. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  5071. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  5072. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  5073. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  5074. return result;
  5075. }
  5076. /// <summary>
  5077. /// Returns a new string produced by interpolating a format string.
  5078. /// </summary>
  5079. /// <remarks>
  5080. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  5081. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  5082. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  5083. ///
  5084. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  5085. /// - FixedString*N*Bytes
  5086. /// - string
  5087. /// - int
  5088. /// - float
  5089. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  5090. ///
  5091. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  5092. /// </remarks>
  5093. /// <param name="formatString">The format string.</param>
  5094. /// <param name="arg0">Value to interpolate into the format string.</param>
  5095. /// <param name="arg1">Value to interpolate into the format string.</param>
  5096. /// <param name="arg2">Value to interpolate into the format string.</param>
  5097. /// <param name="arg3">Value to interpolate into the format string.</param>
  5098. /// <returns>A new string produced by interpolating the format string.</returns>
  5099. [ExcludeFromBurstCompatTesting("Takes managed string")]
  5100. public static FixedString512Bytes Format(FixedString512Bytes formatString, string arg0, int arg1, float arg2, string arg3)
  5101. {
  5102. FixedString512Bytes result = default;
  5103. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  5104. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  5105. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  5106. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  5107. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  5108. return result;
  5109. }
  5110. /// <summary>
  5111. /// Returns a new string produced by interpolating a format string.
  5112. /// </summary>
  5113. /// <remarks>
  5114. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  5115. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  5116. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  5117. ///
  5118. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  5119. /// - FixedString*N*Bytes
  5120. /// - string
  5121. /// - int
  5122. /// - float
  5123. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  5124. ///
  5125. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  5126. /// </remarks>
  5127. /// <param name="formatString">The format string.</param>
  5128. /// <typeparam name="T1"><undoc /></typeparam>
  5129. /// <param name="arg0">Value to interpolate into the format string.</param>
  5130. /// <param name="arg1">Value to interpolate into the format string.</param>
  5131. /// <param name="arg2">Value to interpolate into the format string.</param>
  5132. /// <param name="arg3">Value to interpolate into the format string.</param>
  5133. /// <returns>A new string produced by interpolating the format string.</returns>
  5134. [ExcludeFromBurstCompatTesting("Takes managed string")]
  5135. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, T1 arg0, int arg1, float arg2, string arg3)
  5136. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  5137. {
  5138. FixedString512Bytes result = default;
  5139. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  5140. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  5141. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  5142. result.AppendFormat(formatString, arg0, carg1, carg2, carg3);
  5143. return result;
  5144. }
  5145. /// <summary>
  5146. /// Returns a new string produced by interpolating a format string.
  5147. /// </summary>
  5148. /// <remarks>
  5149. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  5150. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  5151. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  5152. ///
  5153. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  5154. /// - FixedString*N*Bytes
  5155. /// - string
  5156. /// - int
  5157. /// - float
  5158. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  5159. ///
  5160. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  5161. /// </remarks>
  5162. /// <param name="formatString">The format string.</param>
  5163. /// <param name="arg0">Value to interpolate into the format string.</param>
  5164. /// <param name="arg1">Value to interpolate into the format string.</param>
  5165. /// <param name="arg2">Value to interpolate into the format string.</param>
  5166. /// <param name="arg3">Value to interpolate into the format string.</param>
  5167. /// <returns>A new string produced by interpolating the format string.</returns>
  5168. [ExcludeFromBurstCompatTesting("Takes managed string")]
  5169. public static FixedString512Bytes Format(FixedString512Bytes formatString, int arg0, float arg1, float arg2, string arg3)
  5170. {
  5171. FixedString512Bytes result = default;
  5172. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  5173. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  5174. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  5175. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  5176. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  5177. return result;
  5178. }
  5179. /// <summary>
  5180. /// Returns a new string produced by interpolating a format string.
  5181. /// </summary>
  5182. /// <remarks>
  5183. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  5184. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  5185. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  5186. ///
  5187. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  5188. /// - FixedString*N*Bytes
  5189. /// - string
  5190. /// - int
  5191. /// - float
  5192. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  5193. ///
  5194. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  5195. /// </remarks>
  5196. /// <param name="formatString">The format string.</param>
  5197. /// <param name="arg0">Value to interpolate into the format string.</param>
  5198. /// <param name="arg1">Value to interpolate into the format string.</param>
  5199. /// <param name="arg2">Value to interpolate into the format string.</param>
  5200. /// <param name="arg3">Value to interpolate into the format string.</param>
  5201. /// <returns>A new string produced by interpolating the format string.</returns>
  5202. [ExcludeFromBurstCompatTesting("Takes managed string")]
  5203. public static FixedString512Bytes Format(FixedString512Bytes formatString, float arg0, float arg1, float arg2, string arg3)
  5204. {
  5205. FixedString512Bytes result = default;
  5206. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  5207. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  5208. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  5209. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  5210. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  5211. return result;
  5212. }
  5213. /// <summary>
  5214. /// Returns a new string produced by interpolating a format string.
  5215. /// </summary>
  5216. /// <remarks>
  5217. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  5218. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  5219. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  5220. ///
  5221. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  5222. /// - FixedString*N*Bytes
  5223. /// - string
  5224. /// - int
  5225. /// - float
  5226. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  5227. ///
  5228. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  5229. /// </remarks>
  5230. /// <param name="formatString">The format string.</param>
  5231. /// <param name="arg0">Value to interpolate into the format string.</param>
  5232. /// <param name="arg1">Value to interpolate into the format string.</param>
  5233. /// <param name="arg2">Value to interpolate into the format string.</param>
  5234. /// <param name="arg3">Value to interpolate into the format string.</param>
  5235. /// <returns>A new string produced by interpolating the format string.</returns>
  5236. [ExcludeFromBurstCompatTesting("Takes managed string")]
  5237. public static FixedString512Bytes Format(FixedString512Bytes formatString, string arg0, float arg1, float arg2, string arg3)
  5238. {
  5239. FixedString512Bytes result = default;
  5240. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  5241. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  5242. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  5243. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  5244. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  5245. return result;
  5246. }
  5247. /// <summary>
  5248. /// Returns a new string produced by interpolating a format string.
  5249. /// </summary>
  5250. /// <remarks>
  5251. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  5252. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  5253. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  5254. ///
  5255. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  5256. /// - FixedString*N*Bytes
  5257. /// - string
  5258. /// - int
  5259. /// - float
  5260. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  5261. ///
  5262. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  5263. /// </remarks>
  5264. /// <param name="formatString">The format string.</param>
  5265. /// <typeparam name="T1"><undoc /></typeparam>
  5266. /// <param name="arg0">Value to interpolate into the format string.</param>
  5267. /// <param name="arg1">Value to interpolate into the format string.</param>
  5268. /// <param name="arg2">Value to interpolate into the format string.</param>
  5269. /// <param name="arg3">Value to interpolate into the format string.</param>
  5270. /// <returns>A new string produced by interpolating the format string.</returns>
  5271. [ExcludeFromBurstCompatTesting("Takes managed string")]
  5272. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, T1 arg0, float arg1, float arg2, string arg3)
  5273. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  5274. {
  5275. FixedString512Bytes result = default;
  5276. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  5277. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  5278. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  5279. result.AppendFormat(formatString, arg0, carg1, carg2, carg3);
  5280. return result;
  5281. }
  5282. /// <summary>
  5283. /// Returns a new string produced by interpolating a format string.
  5284. /// </summary>
  5285. /// <remarks>
  5286. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  5287. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  5288. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  5289. ///
  5290. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  5291. /// - FixedString*N*Bytes
  5292. /// - string
  5293. /// - int
  5294. /// - float
  5295. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  5296. ///
  5297. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  5298. /// </remarks>
  5299. /// <param name="formatString">The format string.</param>
  5300. /// <param name="arg0">Value to interpolate into the format string.</param>
  5301. /// <param name="arg1">Value to interpolate into the format string.</param>
  5302. /// <param name="arg2">Value to interpolate into the format string.</param>
  5303. /// <param name="arg3">Value to interpolate into the format string.</param>
  5304. /// <returns>A new string produced by interpolating the format string.</returns>
  5305. [ExcludeFromBurstCompatTesting("Takes managed string")]
  5306. public static FixedString512Bytes Format(FixedString512Bytes formatString, int arg0, string arg1, float arg2, string arg3)
  5307. {
  5308. FixedString512Bytes result = default;
  5309. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  5310. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  5311. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  5312. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  5313. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  5314. return result;
  5315. }
  5316. /// <summary>
  5317. /// Returns a new string produced by interpolating a format string.
  5318. /// </summary>
  5319. /// <remarks>
  5320. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  5321. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  5322. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  5323. ///
  5324. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  5325. /// - FixedString*N*Bytes
  5326. /// - string
  5327. /// - int
  5328. /// - float
  5329. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  5330. ///
  5331. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  5332. /// </remarks>
  5333. /// <param name="formatString">The format string.</param>
  5334. /// <param name="arg0">Value to interpolate into the format string.</param>
  5335. /// <param name="arg1">Value to interpolate into the format string.</param>
  5336. /// <param name="arg2">Value to interpolate into the format string.</param>
  5337. /// <param name="arg3">Value to interpolate into the format string.</param>
  5338. /// <returns>A new string produced by interpolating the format string.</returns>
  5339. [ExcludeFromBurstCompatTesting("Takes managed string")]
  5340. public static FixedString512Bytes Format(FixedString512Bytes formatString, float arg0, string arg1, float arg2, string arg3)
  5341. {
  5342. FixedString512Bytes result = default;
  5343. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  5344. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  5345. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  5346. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  5347. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  5348. return result;
  5349. }
  5350. /// <summary>
  5351. /// Returns a new string produced by interpolating a format string.
  5352. /// </summary>
  5353. /// <remarks>
  5354. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  5355. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  5356. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  5357. ///
  5358. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  5359. /// - FixedString*N*Bytes
  5360. /// - string
  5361. /// - int
  5362. /// - float
  5363. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  5364. ///
  5365. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  5366. /// </remarks>
  5367. /// <param name="formatString">The format string.</param>
  5368. /// <param name="arg0">Value to interpolate into the format string.</param>
  5369. /// <param name="arg1">Value to interpolate into the format string.</param>
  5370. /// <param name="arg2">Value to interpolate into the format string.</param>
  5371. /// <param name="arg3">Value to interpolate into the format string.</param>
  5372. /// <returns>A new string produced by interpolating the format string.</returns>
  5373. [ExcludeFromBurstCompatTesting("Takes managed string")]
  5374. public static FixedString512Bytes Format(FixedString512Bytes formatString, string arg0, string arg1, float arg2, string arg3)
  5375. {
  5376. FixedString512Bytes result = default;
  5377. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  5378. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  5379. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  5380. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  5381. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  5382. return result;
  5383. }
  5384. /// <summary>
  5385. /// Returns a new string produced by interpolating a format string.
  5386. /// </summary>
  5387. /// <remarks>
  5388. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  5389. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  5390. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  5391. ///
  5392. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  5393. /// - FixedString*N*Bytes
  5394. /// - string
  5395. /// - int
  5396. /// - float
  5397. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  5398. ///
  5399. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  5400. /// </remarks>
  5401. /// <param name="formatString">The format string.</param>
  5402. /// <typeparam name="T1"><undoc /></typeparam>
  5403. /// <param name="arg0">Value to interpolate into the format string.</param>
  5404. /// <param name="arg1">Value to interpolate into the format string.</param>
  5405. /// <param name="arg2">Value to interpolate into the format string.</param>
  5406. /// <param name="arg3">Value to interpolate into the format string.</param>
  5407. /// <returns>A new string produced by interpolating the format string.</returns>
  5408. [ExcludeFromBurstCompatTesting("Takes managed string")]
  5409. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, T1 arg0, string arg1, float arg2, string arg3)
  5410. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  5411. {
  5412. FixedString512Bytes result = default;
  5413. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  5414. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  5415. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  5416. result.AppendFormat(formatString, arg0, carg1, carg2, carg3);
  5417. return result;
  5418. }
  5419. /// <summary>
  5420. /// Returns a new string produced by interpolating a format string.
  5421. /// </summary>
  5422. /// <remarks>
  5423. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  5424. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  5425. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  5426. ///
  5427. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  5428. /// - FixedString*N*Bytes
  5429. /// - string
  5430. /// - int
  5431. /// - float
  5432. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  5433. ///
  5434. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  5435. /// </remarks>
  5436. /// <param name="formatString">The format string.</param>
  5437. /// <typeparam name="T1"><undoc /></typeparam>
  5438. /// <param name="arg0">Value to interpolate into the format string.</param>
  5439. /// <param name="arg1">Value to interpolate into the format string.</param>
  5440. /// <param name="arg2">Value to interpolate into the format string.</param>
  5441. /// <param name="arg3">Value to interpolate into the format string.</param>
  5442. /// <returns>A new string produced by interpolating the format string.</returns>
  5443. [ExcludeFromBurstCompatTesting("Takes managed string")]
  5444. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, int arg0, T1 arg1, float arg2, string arg3)
  5445. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  5446. {
  5447. FixedString512Bytes result = default;
  5448. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  5449. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  5450. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  5451. result.AppendFormat(formatString, carg0, arg1, carg2, carg3);
  5452. return result;
  5453. }
  5454. /// <summary>
  5455. /// Returns a new string produced by interpolating a format string.
  5456. /// </summary>
  5457. /// <remarks>
  5458. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  5459. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  5460. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  5461. ///
  5462. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  5463. /// - FixedString*N*Bytes
  5464. /// - string
  5465. /// - int
  5466. /// - float
  5467. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  5468. ///
  5469. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  5470. /// </remarks>
  5471. /// <param name="formatString">The format string.</param>
  5472. /// <typeparam name="T1"><undoc /></typeparam>
  5473. /// <param name="arg0">Value to interpolate into the format string.</param>
  5474. /// <param name="arg1">Value to interpolate into the format string.</param>
  5475. /// <param name="arg2">Value to interpolate into the format string.</param>
  5476. /// <param name="arg3">Value to interpolate into the format string.</param>
  5477. /// <returns>A new string produced by interpolating the format string.</returns>
  5478. [ExcludeFromBurstCompatTesting("Takes managed string")]
  5479. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, float arg0, T1 arg1, float arg2, string arg3)
  5480. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  5481. {
  5482. FixedString512Bytes result = default;
  5483. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  5484. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  5485. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  5486. result.AppendFormat(formatString, carg0, arg1, carg2, carg3);
  5487. return result;
  5488. }
  5489. /// <summary>
  5490. /// Returns a new string produced by interpolating a format string.
  5491. /// </summary>
  5492. /// <remarks>
  5493. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  5494. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  5495. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  5496. ///
  5497. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  5498. /// - FixedString*N*Bytes
  5499. /// - string
  5500. /// - int
  5501. /// - float
  5502. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  5503. ///
  5504. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  5505. /// </remarks>
  5506. /// <param name="formatString">The format string.</param>
  5507. /// <typeparam name="T1"><undoc /></typeparam>
  5508. /// <param name="arg0">Value to interpolate into the format string.</param>
  5509. /// <param name="arg1">Value to interpolate into the format string.</param>
  5510. /// <param name="arg2">Value to interpolate into the format string.</param>
  5511. /// <param name="arg3">Value to interpolate into the format string.</param>
  5512. /// <returns>A new string produced by interpolating the format string.</returns>
  5513. [ExcludeFromBurstCompatTesting("Takes managed string")]
  5514. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, string arg0, T1 arg1, float arg2, string arg3)
  5515. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  5516. {
  5517. FixedString512Bytes result = default;
  5518. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  5519. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  5520. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  5521. result.AppendFormat(formatString, carg0, arg1, carg2, carg3);
  5522. return result;
  5523. }
  5524. /// <summary>
  5525. /// Returns a new string produced by interpolating a format string.
  5526. /// </summary>
  5527. /// <remarks>
  5528. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  5529. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  5530. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  5531. ///
  5532. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  5533. /// - FixedString*N*Bytes
  5534. /// - string
  5535. /// - int
  5536. /// - float
  5537. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  5538. ///
  5539. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  5540. /// </remarks>
  5541. /// <param name="formatString">The format string.</param>
  5542. /// <typeparam name="T1"><undoc /></typeparam>
  5543. /// <typeparam name="T2"><undoc /></typeparam>
  5544. /// <param name="arg0">Value to interpolate into the format string.</param>
  5545. /// <param name="arg1">Value to interpolate into the format string.</param>
  5546. /// <param name="arg2">Value to interpolate into the format string.</param>
  5547. /// <param name="arg3">Value to interpolate into the format string.</param>
  5548. /// <returns>A new string produced by interpolating the format string.</returns>
  5549. [ExcludeFromBurstCompatTesting("Takes managed string")]
  5550. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, T1 arg0, T2 arg1, float arg2, string arg3)
  5551. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  5552. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  5553. {
  5554. FixedString512Bytes result = default;
  5555. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  5556. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  5557. result.AppendFormat(formatString, arg0, arg1, carg2, carg3);
  5558. return result;
  5559. }
  5560. /// <summary>
  5561. /// Returns a new string produced by interpolating a format string.
  5562. /// </summary>
  5563. /// <remarks>
  5564. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  5565. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  5566. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  5567. ///
  5568. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  5569. /// - FixedString*N*Bytes
  5570. /// - string
  5571. /// - int
  5572. /// - float
  5573. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  5574. ///
  5575. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  5576. /// </remarks>
  5577. /// <param name="formatString">The format string.</param>
  5578. /// <param name="arg0">Value to interpolate into the format string.</param>
  5579. /// <param name="arg1">Value to interpolate into the format string.</param>
  5580. /// <param name="arg2">Value to interpolate into the format string.</param>
  5581. /// <param name="arg3">Value to interpolate into the format string.</param>
  5582. /// <returns>A new string produced by interpolating the format string.</returns>
  5583. [ExcludeFromBurstCompatTesting("Takes managed string")]
  5584. public static FixedString512Bytes Format(FixedString512Bytes formatString, int arg0, int arg1, string arg2, string arg3)
  5585. {
  5586. FixedString512Bytes result = default;
  5587. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  5588. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  5589. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  5590. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  5591. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  5592. return result;
  5593. }
  5594. /// <summary>
  5595. /// Returns a new string produced by interpolating a format string.
  5596. /// </summary>
  5597. /// <remarks>
  5598. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  5599. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  5600. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  5601. ///
  5602. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  5603. /// - FixedString*N*Bytes
  5604. /// - string
  5605. /// - int
  5606. /// - float
  5607. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  5608. ///
  5609. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  5610. /// </remarks>
  5611. /// <param name="formatString">The format string.</param>
  5612. /// <param name="arg0">Value to interpolate into the format string.</param>
  5613. /// <param name="arg1">Value to interpolate into the format string.</param>
  5614. /// <param name="arg2">Value to interpolate into the format string.</param>
  5615. /// <param name="arg3">Value to interpolate into the format string.</param>
  5616. /// <returns>A new string produced by interpolating the format string.</returns>
  5617. [ExcludeFromBurstCompatTesting("Takes managed string")]
  5618. public static FixedString512Bytes Format(FixedString512Bytes formatString, float arg0, int arg1, string arg2, string arg3)
  5619. {
  5620. FixedString512Bytes result = default;
  5621. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  5622. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  5623. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  5624. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  5625. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  5626. return result;
  5627. }
  5628. /// <summary>
  5629. /// Returns a new string produced by interpolating a format string.
  5630. /// </summary>
  5631. /// <remarks>
  5632. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  5633. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  5634. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  5635. ///
  5636. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  5637. /// - FixedString*N*Bytes
  5638. /// - string
  5639. /// - int
  5640. /// - float
  5641. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  5642. ///
  5643. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  5644. /// </remarks>
  5645. /// <param name="formatString">The format string.</param>
  5646. /// <param name="arg0">Value to interpolate into the format string.</param>
  5647. /// <param name="arg1">Value to interpolate into the format string.</param>
  5648. /// <param name="arg2">Value to interpolate into the format string.</param>
  5649. /// <param name="arg3">Value to interpolate into the format string.</param>
  5650. /// <returns>A new string produced by interpolating the format string.</returns>
  5651. [ExcludeFromBurstCompatTesting("Takes managed string")]
  5652. public static FixedString512Bytes Format(FixedString512Bytes formatString, string arg0, int arg1, string arg2, string arg3)
  5653. {
  5654. FixedString512Bytes result = default;
  5655. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  5656. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  5657. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  5658. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  5659. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  5660. return result;
  5661. }
  5662. /// <summary>
  5663. /// Returns a new string produced by interpolating a format string.
  5664. /// </summary>
  5665. /// <remarks>
  5666. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  5667. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  5668. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  5669. ///
  5670. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  5671. /// - FixedString*N*Bytes
  5672. /// - string
  5673. /// - int
  5674. /// - float
  5675. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  5676. ///
  5677. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  5678. /// </remarks>
  5679. /// <param name="formatString">The format string.</param>
  5680. /// <typeparam name="T1"><undoc /></typeparam>
  5681. /// <param name="arg0">Value to interpolate into the format string.</param>
  5682. /// <param name="arg1">Value to interpolate into the format string.</param>
  5683. /// <param name="arg2">Value to interpolate into the format string.</param>
  5684. /// <param name="arg3">Value to interpolate into the format string.</param>
  5685. /// <returns>A new string produced by interpolating the format string.</returns>
  5686. [ExcludeFromBurstCompatTesting("Takes managed string")]
  5687. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, T1 arg0, int arg1, string arg2, string arg3)
  5688. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  5689. {
  5690. FixedString512Bytes result = default;
  5691. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  5692. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  5693. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  5694. result.AppendFormat(formatString, arg0, carg1, carg2, carg3);
  5695. return result;
  5696. }
  5697. /// <summary>
  5698. /// Returns a new string produced by interpolating a format string.
  5699. /// </summary>
  5700. /// <remarks>
  5701. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  5702. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  5703. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  5704. ///
  5705. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  5706. /// - FixedString*N*Bytes
  5707. /// - string
  5708. /// - int
  5709. /// - float
  5710. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  5711. ///
  5712. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  5713. /// </remarks>
  5714. /// <param name="formatString">The format string.</param>
  5715. /// <param name="arg0">Value to interpolate into the format string.</param>
  5716. /// <param name="arg1">Value to interpolate into the format string.</param>
  5717. /// <param name="arg2">Value to interpolate into the format string.</param>
  5718. /// <param name="arg3">Value to interpolate into the format string.</param>
  5719. /// <returns>A new string produced by interpolating the format string.</returns>
  5720. [ExcludeFromBurstCompatTesting("Takes managed string")]
  5721. public static FixedString512Bytes Format(FixedString512Bytes formatString, int arg0, float arg1, string arg2, string arg3)
  5722. {
  5723. FixedString512Bytes result = default;
  5724. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  5725. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  5726. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  5727. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  5728. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  5729. return result;
  5730. }
  5731. /// <summary>
  5732. /// Returns a new string produced by interpolating a format string.
  5733. /// </summary>
  5734. /// <remarks>
  5735. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  5736. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  5737. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  5738. ///
  5739. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  5740. /// - FixedString*N*Bytes
  5741. /// - string
  5742. /// - int
  5743. /// - float
  5744. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  5745. ///
  5746. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  5747. /// </remarks>
  5748. /// <param name="formatString">The format string.</param>
  5749. /// <param name="arg0">Value to interpolate into the format string.</param>
  5750. /// <param name="arg1">Value to interpolate into the format string.</param>
  5751. /// <param name="arg2">Value to interpolate into the format string.</param>
  5752. /// <param name="arg3">Value to interpolate into the format string.</param>
  5753. /// <returns>A new string produced by interpolating the format string.</returns>
  5754. [ExcludeFromBurstCompatTesting("Takes managed string")]
  5755. public static FixedString512Bytes Format(FixedString512Bytes formatString, float arg0, float arg1, string arg2, string arg3)
  5756. {
  5757. FixedString512Bytes result = default;
  5758. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  5759. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  5760. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  5761. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  5762. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  5763. return result;
  5764. }
  5765. /// <summary>
  5766. /// Returns a new string produced by interpolating a format string.
  5767. /// </summary>
  5768. /// <remarks>
  5769. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  5770. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  5771. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  5772. ///
  5773. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  5774. /// - FixedString*N*Bytes
  5775. /// - string
  5776. /// - int
  5777. /// - float
  5778. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  5779. ///
  5780. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  5781. /// </remarks>
  5782. /// <param name="formatString">The format string.</param>
  5783. /// <param name="arg0">Value to interpolate into the format string.</param>
  5784. /// <param name="arg1">Value to interpolate into the format string.</param>
  5785. /// <param name="arg2">Value to interpolate into the format string.</param>
  5786. /// <param name="arg3">Value to interpolate into the format string.</param>
  5787. /// <returns>A new string produced by interpolating the format string.</returns>
  5788. [ExcludeFromBurstCompatTesting("Takes managed string")]
  5789. public static FixedString512Bytes Format(FixedString512Bytes formatString, string arg0, float arg1, string arg2, string arg3)
  5790. {
  5791. FixedString512Bytes result = default;
  5792. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  5793. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  5794. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  5795. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  5796. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  5797. return result;
  5798. }
  5799. /// <summary>
  5800. /// Returns a new string produced by interpolating a format string.
  5801. /// </summary>
  5802. /// <remarks>
  5803. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  5804. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  5805. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  5806. ///
  5807. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  5808. /// - FixedString*N*Bytes
  5809. /// - string
  5810. /// - int
  5811. /// - float
  5812. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  5813. ///
  5814. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  5815. /// </remarks>
  5816. /// <param name="formatString">The format string.</param>
  5817. /// <typeparam name="T1"><undoc /></typeparam>
  5818. /// <param name="arg0">Value to interpolate into the format string.</param>
  5819. /// <param name="arg1">Value to interpolate into the format string.</param>
  5820. /// <param name="arg2">Value to interpolate into the format string.</param>
  5821. /// <param name="arg3">Value to interpolate into the format string.</param>
  5822. /// <returns>A new string produced by interpolating the format string.</returns>
  5823. [ExcludeFromBurstCompatTesting("Takes managed string")]
  5824. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, T1 arg0, float arg1, string arg2, string arg3)
  5825. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  5826. {
  5827. FixedString512Bytes result = default;
  5828. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  5829. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  5830. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  5831. result.AppendFormat(formatString, arg0, carg1, carg2, carg3);
  5832. return result;
  5833. }
  5834. /// <summary>
  5835. /// Returns a new string produced by interpolating a format string.
  5836. /// </summary>
  5837. /// <remarks>
  5838. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  5839. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  5840. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  5841. ///
  5842. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  5843. /// - FixedString*N*Bytes
  5844. /// - string
  5845. /// - int
  5846. /// - float
  5847. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  5848. ///
  5849. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  5850. /// </remarks>
  5851. /// <param name="formatString">The format string.</param>
  5852. /// <param name="arg0">Value to interpolate into the format string.</param>
  5853. /// <param name="arg1">Value to interpolate into the format string.</param>
  5854. /// <param name="arg2">Value to interpolate into the format string.</param>
  5855. /// <param name="arg3">Value to interpolate into the format string.</param>
  5856. /// <returns>A new string produced by interpolating the format string.</returns>
  5857. [ExcludeFromBurstCompatTesting("Takes managed string")]
  5858. public static FixedString512Bytes Format(FixedString512Bytes formatString, int arg0, string arg1, string arg2, string arg3)
  5859. {
  5860. FixedString512Bytes result = default;
  5861. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  5862. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  5863. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  5864. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  5865. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  5866. return result;
  5867. }
  5868. /// <summary>
  5869. /// Returns a new string produced by interpolating a format string.
  5870. /// </summary>
  5871. /// <remarks>
  5872. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  5873. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  5874. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  5875. ///
  5876. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  5877. /// - FixedString*N*Bytes
  5878. /// - string
  5879. /// - int
  5880. /// - float
  5881. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  5882. ///
  5883. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  5884. /// </remarks>
  5885. /// <param name="formatString">The format string.</param>
  5886. /// <param name="arg0">Value to interpolate into the format string.</param>
  5887. /// <param name="arg1">Value to interpolate into the format string.</param>
  5888. /// <param name="arg2">Value to interpolate into the format string.</param>
  5889. /// <param name="arg3">Value to interpolate into the format string.</param>
  5890. /// <returns>A new string produced by interpolating the format string.</returns>
  5891. [ExcludeFromBurstCompatTesting("Takes managed string")]
  5892. public static FixedString512Bytes Format(FixedString512Bytes formatString, float arg0, string arg1, string arg2, string arg3)
  5893. {
  5894. FixedString512Bytes result = default;
  5895. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  5896. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  5897. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  5898. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  5899. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  5900. return result;
  5901. }
  5902. /// <summary>
  5903. /// Returns a new string produced by interpolating a format string.
  5904. /// </summary>
  5905. /// <remarks>
  5906. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  5907. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  5908. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  5909. ///
  5910. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  5911. /// - FixedString*N*Bytes
  5912. /// - string
  5913. /// - int
  5914. /// - float
  5915. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  5916. ///
  5917. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  5918. /// </remarks>
  5919. /// <param name="formatString">The format string.</param>
  5920. /// <param name="arg0">Value to interpolate into the format string.</param>
  5921. /// <param name="arg1">Value to interpolate into the format string.</param>
  5922. /// <param name="arg2">Value to interpolate into the format string.</param>
  5923. /// <param name="arg3">Value to interpolate into the format string.</param>
  5924. /// <returns>A new string produced by interpolating the format string.</returns>
  5925. [ExcludeFromBurstCompatTesting("Takes managed string")]
  5926. public static FixedString512Bytes Format(FixedString512Bytes formatString, string arg0, string arg1, string arg2, string arg3)
  5927. {
  5928. FixedString512Bytes result = default;
  5929. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  5930. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  5931. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  5932. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  5933. result.AppendFormat(formatString, carg0, carg1, carg2, carg3);
  5934. return result;
  5935. }
  5936. /// <summary>
  5937. /// Returns a new string produced by interpolating a format string.
  5938. /// </summary>
  5939. /// <remarks>
  5940. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  5941. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  5942. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  5943. ///
  5944. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  5945. /// - FixedString*N*Bytes
  5946. /// - string
  5947. /// - int
  5948. /// - float
  5949. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  5950. ///
  5951. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  5952. /// </remarks>
  5953. /// <param name="formatString">The format string.</param>
  5954. /// <typeparam name="T1"><undoc /></typeparam>
  5955. /// <param name="arg0">Value to interpolate into the format string.</param>
  5956. /// <param name="arg1">Value to interpolate into the format string.</param>
  5957. /// <param name="arg2">Value to interpolate into the format string.</param>
  5958. /// <param name="arg3">Value to interpolate into the format string.</param>
  5959. /// <returns>A new string produced by interpolating the format string.</returns>
  5960. [ExcludeFromBurstCompatTesting("Takes managed string")]
  5961. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, T1 arg0, string arg1, string arg2, string arg3)
  5962. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  5963. {
  5964. FixedString512Bytes result = default;
  5965. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  5966. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  5967. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  5968. result.AppendFormat(formatString, arg0, carg1, carg2, carg3);
  5969. return result;
  5970. }
  5971. /// <summary>
  5972. /// Returns a new string produced by interpolating a format string.
  5973. /// </summary>
  5974. /// <remarks>
  5975. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  5976. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  5977. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  5978. ///
  5979. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  5980. /// - FixedString*N*Bytes
  5981. /// - string
  5982. /// - int
  5983. /// - float
  5984. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  5985. ///
  5986. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  5987. /// </remarks>
  5988. /// <param name="formatString">The format string.</param>
  5989. /// <typeparam name="T1"><undoc /></typeparam>
  5990. /// <param name="arg0">Value to interpolate into the format string.</param>
  5991. /// <param name="arg1">Value to interpolate into the format string.</param>
  5992. /// <param name="arg2">Value to interpolate into the format string.</param>
  5993. /// <param name="arg3">Value to interpolate into the format string.</param>
  5994. /// <returns>A new string produced by interpolating the format string.</returns>
  5995. [ExcludeFromBurstCompatTesting("Takes managed string")]
  5996. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, int arg0, T1 arg1, string arg2, string arg3)
  5997. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  5998. {
  5999. FixedString512Bytes result = default;
  6000. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  6001. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  6002. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  6003. result.AppendFormat(formatString, carg0, arg1, carg2, carg3);
  6004. return result;
  6005. }
  6006. /// <summary>
  6007. /// Returns a new string produced by interpolating a format string.
  6008. /// </summary>
  6009. /// <remarks>
  6010. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  6011. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  6012. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  6013. ///
  6014. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  6015. /// - FixedString*N*Bytes
  6016. /// - string
  6017. /// - int
  6018. /// - float
  6019. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  6020. ///
  6021. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  6022. /// </remarks>
  6023. /// <param name="formatString">The format string.</param>
  6024. /// <typeparam name="T1"><undoc /></typeparam>
  6025. /// <param name="arg0">Value to interpolate into the format string.</param>
  6026. /// <param name="arg1">Value to interpolate into the format string.</param>
  6027. /// <param name="arg2">Value to interpolate into the format string.</param>
  6028. /// <param name="arg3">Value to interpolate into the format string.</param>
  6029. /// <returns>A new string produced by interpolating the format string.</returns>
  6030. [ExcludeFromBurstCompatTesting("Takes managed string")]
  6031. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, float arg0, T1 arg1, string arg2, string arg3)
  6032. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  6033. {
  6034. FixedString512Bytes result = default;
  6035. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  6036. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  6037. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  6038. result.AppendFormat(formatString, carg0, arg1, carg2, carg3);
  6039. return result;
  6040. }
  6041. /// <summary>
  6042. /// Returns a new string produced by interpolating a format string.
  6043. /// </summary>
  6044. /// <remarks>
  6045. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  6046. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  6047. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  6048. ///
  6049. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  6050. /// - FixedString*N*Bytes
  6051. /// - string
  6052. /// - int
  6053. /// - float
  6054. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  6055. ///
  6056. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  6057. /// </remarks>
  6058. /// <param name="formatString">The format string.</param>
  6059. /// <typeparam name="T1"><undoc /></typeparam>
  6060. /// <param name="arg0">Value to interpolate into the format string.</param>
  6061. /// <param name="arg1">Value to interpolate into the format string.</param>
  6062. /// <param name="arg2">Value to interpolate into the format string.</param>
  6063. /// <param name="arg3">Value to interpolate into the format string.</param>
  6064. /// <returns>A new string produced by interpolating the format string.</returns>
  6065. [ExcludeFromBurstCompatTesting("Takes managed string")]
  6066. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, string arg0, T1 arg1, string arg2, string arg3)
  6067. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  6068. {
  6069. FixedString512Bytes result = default;
  6070. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  6071. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  6072. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  6073. result.AppendFormat(formatString, carg0, arg1, carg2, carg3);
  6074. return result;
  6075. }
  6076. /// <summary>
  6077. /// Returns a new string produced by interpolating a format string.
  6078. /// </summary>
  6079. /// <remarks>
  6080. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  6081. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  6082. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  6083. ///
  6084. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  6085. /// - FixedString*N*Bytes
  6086. /// - string
  6087. /// - int
  6088. /// - float
  6089. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  6090. ///
  6091. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  6092. /// </remarks>
  6093. /// <param name="formatString">The format string.</param>
  6094. /// <typeparam name="T1"><undoc /></typeparam>
  6095. /// <typeparam name="T2"><undoc /></typeparam>
  6096. /// <param name="arg0">Value to interpolate into the format string.</param>
  6097. /// <param name="arg1">Value to interpolate into the format string.</param>
  6098. /// <param name="arg2">Value to interpolate into the format string.</param>
  6099. /// <param name="arg3">Value to interpolate into the format string.</param>
  6100. /// <returns>A new string produced by interpolating the format string.</returns>
  6101. [ExcludeFromBurstCompatTesting("Takes managed string")]
  6102. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, T1 arg0, T2 arg1, string arg2, string arg3)
  6103. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  6104. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  6105. {
  6106. FixedString512Bytes result = default;
  6107. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  6108. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  6109. result.AppendFormat(formatString, arg0, arg1, carg2, carg3);
  6110. return result;
  6111. }
  6112. /// <summary>
  6113. /// Returns a new string produced by interpolating a format string.
  6114. /// </summary>
  6115. /// <remarks>
  6116. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  6117. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  6118. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  6119. ///
  6120. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  6121. /// - FixedString*N*Bytes
  6122. /// - string
  6123. /// - int
  6124. /// - float
  6125. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  6126. ///
  6127. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  6128. /// </remarks>
  6129. /// <param name="formatString">The format string.</param>
  6130. /// <typeparam name="T1"><undoc /></typeparam>
  6131. /// <param name="arg0">Value to interpolate into the format string.</param>
  6132. /// <param name="arg1">Value to interpolate into the format string.</param>
  6133. /// <param name="arg2">Value to interpolate into the format string.</param>
  6134. /// <param name="arg3">Value to interpolate into the format string.</param>
  6135. /// <returns>A new string produced by interpolating the format string.</returns>
  6136. [ExcludeFromBurstCompatTesting("Takes managed string")]
  6137. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, int arg0, int arg1, T1 arg2, string arg3)
  6138. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  6139. {
  6140. FixedString512Bytes result = default;
  6141. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  6142. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  6143. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  6144. result.AppendFormat(formatString, carg0, carg1, arg2, carg3);
  6145. return result;
  6146. }
  6147. /// <summary>
  6148. /// Returns a new string produced by interpolating a format string.
  6149. /// </summary>
  6150. /// <remarks>
  6151. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  6152. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  6153. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  6154. ///
  6155. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  6156. /// - FixedString*N*Bytes
  6157. /// - string
  6158. /// - int
  6159. /// - float
  6160. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  6161. ///
  6162. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  6163. /// </remarks>
  6164. /// <param name="formatString">The format string.</param>
  6165. /// <typeparam name="T1"><undoc /></typeparam>
  6166. /// <param name="arg0">Value to interpolate into the format string.</param>
  6167. /// <param name="arg1">Value to interpolate into the format string.</param>
  6168. /// <param name="arg2">Value to interpolate into the format string.</param>
  6169. /// <param name="arg3">Value to interpolate into the format string.</param>
  6170. /// <returns>A new string produced by interpolating the format string.</returns>
  6171. [ExcludeFromBurstCompatTesting("Takes managed string")]
  6172. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, float arg0, int arg1, T1 arg2, string arg3)
  6173. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  6174. {
  6175. FixedString512Bytes result = default;
  6176. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  6177. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  6178. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  6179. result.AppendFormat(formatString, carg0, carg1, arg2, carg3);
  6180. return result;
  6181. }
  6182. /// <summary>
  6183. /// Returns a new string produced by interpolating a format string.
  6184. /// </summary>
  6185. /// <remarks>
  6186. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  6187. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  6188. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  6189. ///
  6190. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  6191. /// - FixedString*N*Bytes
  6192. /// - string
  6193. /// - int
  6194. /// - float
  6195. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  6196. ///
  6197. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  6198. /// </remarks>
  6199. /// <param name="formatString">The format string.</param>
  6200. /// <typeparam name="T1"><undoc /></typeparam>
  6201. /// <param name="arg0">Value to interpolate into the format string.</param>
  6202. /// <param name="arg1">Value to interpolate into the format string.</param>
  6203. /// <param name="arg2">Value to interpolate into the format string.</param>
  6204. /// <param name="arg3">Value to interpolate into the format string.</param>
  6205. /// <returns>A new string produced by interpolating the format string.</returns>
  6206. [ExcludeFromBurstCompatTesting("Takes managed string")]
  6207. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, string arg0, int arg1, T1 arg2, string arg3)
  6208. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  6209. {
  6210. FixedString512Bytes result = default;
  6211. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  6212. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  6213. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  6214. result.AppendFormat(formatString, carg0, carg1, arg2, carg3);
  6215. return result;
  6216. }
  6217. /// <summary>
  6218. /// Returns a new string produced by interpolating a format string.
  6219. /// </summary>
  6220. /// <remarks>
  6221. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  6222. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  6223. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  6224. ///
  6225. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  6226. /// - FixedString*N*Bytes
  6227. /// - string
  6228. /// - int
  6229. /// - float
  6230. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  6231. ///
  6232. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  6233. /// </remarks>
  6234. /// <param name="formatString">The format string.</param>
  6235. /// <typeparam name="T1"><undoc /></typeparam>
  6236. /// <typeparam name="T2"><undoc /></typeparam>
  6237. /// <param name="arg0">Value to interpolate into the format string.</param>
  6238. /// <param name="arg1">Value to interpolate into the format string.</param>
  6239. /// <param name="arg2">Value to interpolate into the format string.</param>
  6240. /// <param name="arg3">Value to interpolate into the format string.</param>
  6241. /// <returns>A new string produced by interpolating the format string.</returns>
  6242. [ExcludeFromBurstCompatTesting("Takes managed string")]
  6243. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, T1 arg0, int arg1, T2 arg2, string arg3)
  6244. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  6245. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  6246. {
  6247. FixedString512Bytes result = default;
  6248. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  6249. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  6250. result.AppendFormat(formatString, arg0, carg1, arg2, carg3);
  6251. return result;
  6252. }
  6253. /// <summary>
  6254. /// Returns a new string produced by interpolating a format string.
  6255. /// </summary>
  6256. /// <remarks>
  6257. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  6258. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  6259. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  6260. ///
  6261. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  6262. /// - FixedString*N*Bytes
  6263. /// - string
  6264. /// - int
  6265. /// - float
  6266. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  6267. ///
  6268. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  6269. /// </remarks>
  6270. /// <param name="formatString">The format string.</param>
  6271. /// <typeparam name="T1"><undoc /></typeparam>
  6272. /// <param name="arg0">Value to interpolate into the format string.</param>
  6273. /// <param name="arg1">Value to interpolate into the format string.</param>
  6274. /// <param name="arg2">Value to interpolate into the format string.</param>
  6275. /// <param name="arg3">Value to interpolate into the format string.</param>
  6276. /// <returns>A new string produced by interpolating the format string.</returns>
  6277. [ExcludeFromBurstCompatTesting("Takes managed string")]
  6278. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, int arg0, float arg1, T1 arg2, string arg3)
  6279. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  6280. {
  6281. FixedString512Bytes result = default;
  6282. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  6283. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  6284. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  6285. result.AppendFormat(formatString, carg0, carg1, arg2, carg3);
  6286. return result;
  6287. }
  6288. /// <summary>
  6289. /// Returns a new string produced by interpolating a format string.
  6290. /// </summary>
  6291. /// <remarks>
  6292. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  6293. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  6294. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  6295. ///
  6296. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  6297. /// - FixedString*N*Bytes
  6298. /// - string
  6299. /// - int
  6300. /// - float
  6301. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  6302. ///
  6303. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  6304. /// </remarks>
  6305. /// <param name="formatString">The format string.</param>
  6306. /// <typeparam name="T1"><undoc /></typeparam>
  6307. /// <param name="arg0">Value to interpolate into the format string.</param>
  6308. /// <param name="arg1">Value to interpolate into the format string.</param>
  6309. /// <param name="arg2">Value to interpolate into the format string.</param>
  6310. /// <param name="arg3">Value to interpolate into the format string.</param>
  6311. /// <returns>A new string produced by interpolating the format string.</returns>
  6312. [ExcludeFromBurstCompatTesting("Takes managed string")]
  6313. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, float arg0, float arg1, T1 arg2, string arg3)
  6314. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  6315. {
  6316. FixedString512Bytes result = default;
  6317. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  6318. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  6319. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  6320. result.AppendFormat(formatString, carg0, carg1, arg2, carg3);
  6321. return result;
  6322. }
  6323. /// <summary>
  6324. /// Returns a new string produced by interpolating a format string.
  6325. /// </summary>
  6326. /// <remarks>
  6327. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  6328. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  6329. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  6330. ///
  6331. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  6332. /// - FixedString*N*Bytes
  6333. /// - string
  6334. /// - int
  6335. /// - float
  6336. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  6337. ///
  6338. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  6339. /// </remarks>
  6340. /// <param name="formatString">The format string.</param>
  6341. /// <typeparam name="T1"><undoc /></typeparam>
  6342. /// <param name="arg0">Value to interpolate into the format string.</param>
  6343. /// <param name="arg1">Value to interpolate into the format string.</param>
  6344. /// <param name="arg2">Value to interpolate into the format string.</param>
  6345. /// <param name="arg3">Value to interpolate into the format string.</param>
  6346. /// <returns>A new string produced by interpolating the format string.</returns>
  6347. [ExcludeFromBurstCompatTesting("Takes managed string")]
  6348. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, string arg0, float arg1, T1 arg2, string arg3)
  6349. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  6350. {
  6351. FixedString512Bytes result = default;
  6352. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  6353. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  6354. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  6355. result.AppendFormat(formatString, carg0, carg1, arg2, carg3);
  6356. return result;
  6357. }
  6358. /// <summary>
  6359. /// Returns a new string produced by interpolating a format string.
  6360. /// </summary>
  6361. /// <remarks>
  6362. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  6363. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  6364. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  6365. ///
  6366. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  6367. /// - FixedString*N*Bytes
  6368. /// - string
  6369. /// - int
  6370. /// - float
  6371. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  6372. ///
  6373. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  6374. /// </remarks>
  6375. /// <param name="formatString">The format string.</param>
  6376. /// <typeparam name="T1"><undoc /></typeparam>
  6377. /// <typeparam name="T2"><undoc /></typeparam>
  6378. /// <param name="arg0">Value to interpolate into the format string.</param>
  6379. /// <param name="arg1">Value to interpolate into the format string.</param>
  6380. /// <param name="arg2">Value to interpolate into the format string.</param>
  6381. /// <param name="arg3">Value to interpolate into the format string.</param>
  6382. /// <returns>A new string produced by interpolating the format string.</returns>
  6383. [ExcludeFromBurstCompatTesting("Takes managed string")]
  6384. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, T1 arg0, float arg1, T2 arg2, string arg3)
  6385. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  6386. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  6387. {
  6388. FixedString512Bytes result = default;
  6389. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  6390. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  6391. result.AppendFormat(formatString, arg0, carg1, arg2, carg3);
  6392. return result;
  6393. }
  6394. /// <summary>
  6395. /// Returns a new string produced by interpolating a format string.
  6396. /// </summary>
  6397. /// <remarks>
  6398. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  6399. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  6400. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  6401. ///
  6402. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  6403. /// - FixedString*N*Bytes
  6404. /// - string
  6405. /// - int
  6406. /// - float
  6407. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  6408. ///
  6409. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  6410. /// </remarks>
  6411. /// <param name="formatString">The format string.</param>
  6412. /// <typeparam name="T1"><undoc /></typeparam>
  6413. /// <param name="arg0">Value to interpolate into the format string.</param>
  6414. /// <param name="arg1">Value to interpolate into the format string.</param>
  6415. /// <param name="arg2">Value to interpolate into the format string.</param>
  6416. /// <param name="arg3">Value to interpolate into the format string.</param>
  6417. /// <returns>A new string produced by interpolating the format string.</returns>
  6418. [ExcludeFromBurstCompatTesting("Takes managed string")]
  6419. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, int arg0, string arg1, T1 arg2, string arg3)
  6420. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  6421. {
  6422. FixedString512Bytes result = default;
  6423. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  6424. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  6425. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  6426. result.AppendFormat(formatString, carg0, carg1, arg2, carg3);
  6427. return result;
  6428. }
  6429. /// <summary>
  6430. /// Returns a new string produced by interpolating a format string.
  6431. /// </summary>
  6432. /// <remarks>
  6433. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  6434. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  6435. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  6436. ///
  6437. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  6438. /// - FixedString*N*Bytes
  6439. /// - string
  6440. /// - int
  6441. /// - float
  6442. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  6443. ///
  6444. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  6445. /// </remarks>
  6446. /// <param name="formatString">The format string.</param>
  6447. /// <typeparam name="T1"><undoc /></typeparam>
  6448. /// <param name="arg0">Value to interpolate into the format string.</param>
  6449. /// <param name="arg1">Value to interpolate into the format string.</param>
  6450. /// <param name="arg2">Value to interpolate into the format string.</param>
  6451. /// <param name="arg3">Value to interpolate into the format string.</param>
  6452. /// <returns>A new string produced by interpolating the format string.</returns>
  6453. [ExcludeFromBurstCompatTesting("Takes managed string")]
  6454. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, float arg0, string arg1, T1 arg2, string arg3)
  6455. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  6456. {
  6457. FixedString512Bytes result = default;
  6458. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  6459. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  6460. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  6461. result.AppendFormat(formatString, carg0, carg1, arg2, carg3);
  6462. return result;
  6463. }
  6464. /// <summary>
  6465. /// Returns a new string produced by interpolating a format string.
  6466. /// </summary>
  6467. /// <remarks>
  6468. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  6469. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  6470. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  6471. ///
  6472. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  6473. /// - FixedString*N*Bytes
  6474. /// - string
  6475. /// - int
  6476. /// - float
  6477. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  6478. ///
  6479. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  6480. /// </remarks>
  6481. /// <param name="formatString">The format string.</param>
  6482. /// <typeparam name="T1"><undoc /></typeparam>
  6483. /// <param name="arg0">Value to interpolate into the format string.</param>
  6484. /// <param name="arg1">Value to interpolate into the format string.</param>
  6485. /// <param name="arg2">Value to interpolate into the format string.</param>
  6486. /// <param name="arg3">Value to interpolate into the format string.</param>
  6487. /// <returns>A new string produced by interpolating the format string.</returns>
  6488. [ExcludeFromBurstCompatTesting("Takes managed string")]
  6489. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, string arg0, string arg1, T1 arg2, string arg3)
  6490. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  6491. {
  6492. FixedString512Bytes result = default;
  6493. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  6494. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  6495. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  6496. result.AppendFormat(formatString, carg0, carg1, arg2, carg3);
  6497. return result;
  6498. }
  6499. /// <summary>
  6500. /// Returns a new string produced by interpolating a format string.
  6501. /// </summary>
  6502. /// <remarks>
  6503. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  6504. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  6505. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  6506. ///
  6507. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  6508. /// - FixedString*N*Bytes
  6509. /// - string
  6510. /// - int
  6511. /// - float
  6512. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  6513. ///
  6514. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  6515. /// </remarks>
  6516. /// <param name="formatString">The format string.</param>
  6517. /// <typeparam name="T1"><undoc /></typeparam>
  6518. /// <typeparam name="T2"><undoc /></typeparam>
  6519. /// <param name="arg0">Value to interpolate into the format string.</param>
  6520. /// <param name="arg1">Value to interpolate into the format string.</param>
  6521. /// <param name="arg2">Value to interpolate into the format string.</param>
  6522. /// <param name="arg3">Value to interpolate into the format string.</param>
  6523. /// <returns>A new string produced by interpolating the format string.</returns>
  6524. [ExcludeFromBurstCompatTesting("Takes managed string")]
  6525. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, T1 arg0, string arg1, T2 arg2, string arg3)
  6526. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  6527. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  6528. {
  6529. FixedString512Bytes result = default;
  6530. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  6531. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  6532. result.AppendFormat(formatString, arg0, carg1, arg2, carg3);
  6533. return result;
  6534. }
  6535. /// <summary>
  6536. /// Returns a new string produced by interpolating a format string.
  6537. /// </summary>
  6538. /// <remarks>
  6539. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  6540. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  6541. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  6542. ///
  6543. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  6544. /// - FixedString*N*Bytes
  6545. /// - string
  6546. /// - int
  6547. /// - float
  6548. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  6549. ///
  6550. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  6551. /// </remarks>
  6552. /// <param name="formatString">The format string.</param>
  6553. /// <typeparam name="T1"><undoc /></typeparam>
  6554. /// <typeparam name="T2"><undoc /></typeparam>
  6555. /// <param name="arg0">Value to interpolate into the format string.</param>
  6556. /// <param name="arg1">Value to interpolate into the format string.</param>
  6557. /// <param name="arg2">Value to interpolate into the format string.</param>
  6558. /// <param name="arg3">Value to interpolate into the format string.</param>
  6559. /// <returns>A new string produced by interpolating the format string.</returns>
  6560. [ExcludeFromBurstCompatTesting("Takes managed string")]
  6561. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, int arg0, T1 arg1, T2 arg2, string arg3)
  6562. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  6563. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  6564. {
  6565. FixedString512Bytes result = default;
  6566. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  6567. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  6568. result.AppendFormat(formatString, carg0, arg1, arg2, carg3);
  6569. return result;
  6570. }
  6571. /// <summary>
  6572. /// Returns a new string produced by interpolating a format string.
  6573. /// </summary>
  6574. /// <remarks>
  6575. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  6576. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  6577. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  6578. ///
  6579. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  6580. /// - FixedString*N*Bytes
  6581. /// - string
  6582. /// - int
  6583. /// - float
  6584. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  6585. ///
  6586. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  6587. /// </remarks>
  6588. /// <param name="formatString">The format string.</param>
  6589. /// <typeparam name="T1"><undoc /></typeparam>
  6590. /// <typeparam name="T2"><undoc /></typeparam>
  6591. /// <param name="arg0">Value to interpolate into the format string.</param>
  6592. /// <param name="arg1">Value to interpolate into the format string.</param>
  6593. /// <param name="arg2">Value to interpolate into the format string.</param>
  6594. /// <param name="arg3">Value to interpolate into the format string.</param>
  6595. /// <returns>A new string produced by interpolating the format string.</returns>
  6596. [ExcludeFromBurstCompatTesting("Takes managed string")]
  6597. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, float arg0, T1 arg1, T2 arg2, string arg3)
  6598. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  6599. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  6600. {
  6601. FixedString512Bytes result = default;
  6602. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  6603. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  6604. result.AppendFormat(formatString, carg0, arg1, arg2, carg3);
  6605. return result;
  6606. }
  6607. /// <summary>
  6608. /// Returns a new string produced by interpolating a format string.
  6609. /// </summary>
  6610. /// <remarks>
  6611. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  6612. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  6613. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  6614. ///
  6615. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  6616. /// - FixedString*N*Bytes
  6617. /// - string
  6618. /// - int
  6619. /// - float
  6620. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  6621. ///
  6622. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  6623. /// </remarks>
  6624. /// <param name="formatString">The format string.</param>
  6625. /// <typeparam name="T1"><undoc /></typeparam>
  6626. /// <typeparam name="T2"><undoc /></typeparam>
  6627. /// <param name="arg0">Value to interpolate into the format string.</param>
  6628. /// <param name="arg1">Value to interpolate into the format string.</param>
  6629. /// <param name="arg2">Value to interpolate into the format string.</param>
  6630. /// <param name="arg3">Value to interpolate into the format string.</param>
  6631. /// <returns>A new string produced by interpolating the format string.</returns>
  6632. [ExcludeFromBurstCompatTesting("Takes managed string")]
  6633. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, string arg0, T1 arg1, T2 arg2, string arg3)
  6634. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  6635. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  6636. {
  6637. FixedString512Bytes result = default;
  6638. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  6639. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  6640. result.AppendFormat(formatString, carg0, arg1, arg2, carg3);
  6641. return result;
  6642. }
  6643. /// <summary>
  6644. /// Returns a new string produced by interpolating a format string.
  6645. /// </summary>
  6646. /// <remarks>
  6647. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  6648. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  6649. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  6650. ///
  6651. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  6652. /// - FixedString*N*Bytes
  6653. /// - string
  6654. /// - int
  6655. /// - float
  6656. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  6657. ///
  6658. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  6659. /// </remarks>
  6660. /// <param name="formatString">The format string.</param>
  6661. /// <typeparam name="T1"><undoc /></typeparam>
  6662. /// <typeparam name="T2"><undoc /></typeparam>
  6663. /// <typeparam name="T3"><undoc /></typeparam>
  6664. /// <param name="arg0">Value to interpolate into the format string.</param>
  6665. /// <param name="arg1">Value to interpolate into the format string.</param>
  6666. /// <param name="arg2">Value to interpolate into the format string.</param>
  6667. /// <param name="arg3">Value to interpolate into the format string.</param>
  6668. /// <returns>A new string produced by interpolating the format string.</returns>
  6669. [ExcludeFromBurstCompatTesting("Takes managed string")]
  6670. public static FixedString512Bytes Format<T1,T2,T3>(FixedString512Bytes formatString, T1 arg0, T2 arg1, T3 arg2, string arg3)
  6671. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  6672. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  6673. where T3 : unmanaged, INativeList<byte>, IUTF8Bytes
  6674. {
  6675. FixedString512Bytes result = default;
  6676. FixedString32Bytes carg3 = default; carg3.Append(arg3);
  6677. result.AppendFormat(formatString, arg0, arg1, arg2, carg3);
  6678. return result;
  6679. }
  6680. /// <summary>
  6681. /// Returns a new string produced by interpolating a format string.
  6682. /// </summary>
  6683. /// <remarks>
  6684. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  6685. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  6686. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  6687. ///
  6688. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  6689. /// - FixedString*N*Bytes
  6690. /// - string
  6691. /// - int
  6692. /// - float
  6693. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  6694. ///
  6695. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  6696. /// </remarks>
  6697. /// <param name="formatString">The format string.</param>
  6698. /// <typeparam name="T1"><undoc /></typeparam>
  6699. /// <param name="arg0">Value to interpolate into the format string.</param>
  6700. /// <param name="arg1">Value to interpolate into the format string.</param>
  6701. /// <param name="arg2">Value to interpolate into the format string.</param>
  6702. /// <param name="arg3">Value to interpolate into the format string.</param>
  6703. /// <returns>A new string produced by interpolating the format string.</returns>
  6704. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  6705. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, int arg0, int arg1, int arg2, T1 arg3)
  6706. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  6707. {
  6708. FixedString512Bytes result = default;
  6709. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  6710. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  6711. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  6712. result.AppendFormat(formatString, carg0, carg1, carg2, arg3);
  6713. return result;
  6714. }
  6715. /// <summary>
  6716. /// Returns a new string produced by interpolating a format string.
  6717. /// </summary>
  6718. /// <remarks>
  6719. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  6720. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  6721. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  6722. ///
  6723. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  6724. /// - FixedString*N*Bytes
  6725. /// - string
  6726. /// - int
  6727. /// - float
  6728. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  6729. ///
  6730. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  6731. /// </remarks>
  6732. /// <param name="formatString">The format string.</param>
  6733. /// <typeparam name="T1"><undoc /></typeparam>
  6734. /// <param name="arg0">Value to interpolate into the format string.</param>
  6735. /// <param name="arg1">Value to interpolate into the format string.</param>
  6736. /// <param name="arg2">Value to interpolate into the format string.</param>
  6737. /// <param name="arg3">Value to interpolate into the format string.</param>
  6738. /// <returns>A new string produced by interpolating the format string.</returns>
  6739. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  6740. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, float arg0, int arg1, int arg2, T1 arg3)
  6741. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  6742. {
  6743. FixedString512Bytes result = default;
  6744. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  6745. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  6746. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  6747. result.AppendFormat(formatString, carg0, carg1, carg2, arg3);
  6748. return result;
  6749. }
  6750. /// <summary>
  6751. /// Returns a new string produced by interpolating a format string.
  6752. /// </summary>
  6753. /// <remarks>
  6754. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  6755. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  6756. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  6757. ///
  6758. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  6759. /// - FixedString*N*Bytes
  6760. /// - string
  6761. /// - int
  6762. /// - float
  6763. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  6764. ///
  6765. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  6766. /// </remarks>
  6767. /// <param name="formatString">The format string.</param>
  6768. /// <typeparam name="T1"><undoc /></typeparam>
  6769. /// <param name="arg0">Value to interpolate into the format string.</param>
  6770. /// <param name="arg1">Value to interpolate into the format string.</param>
  6771. /// <param name="arg2">Value to interpolate into the format string.</param>
  6772. /// <param name="arg3">Value to interpolate into the format string.</param>
  6773. /// <returns>A new string produced by interpolating the format string.</returns>
  6774. [ExcludeFromBurstCompatTesting("Takes managed string")]
  6775. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, string arg0, int arg1, int arg2, T1 arg3)
  6776. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  6777. {
  6778. FixedString512Bytes result = default;
  6779. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  6780. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  6781. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  6782. result.AppendFormat(formatString, carg0, carg1, carg2, arg3);
  6783. return result;
  6784. }
  6785. /// <summary>
  6786. /// Returns a new string produced by interpolating a format string.
  6787. /// </summary>
  6788. /// <remarks>
  6789. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  6790. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  6791. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  6792. ///
  6793. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  6794. /// - FixedString*N*Bytes
  6795. /// - string
  6796. /// - int
  6797. /// - float
  6798. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  6799. ///
  6800. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  6801. /// </remarks>
  6802. /// <param name="formatString">The format string.</param>
  6803. /// <typeparam name="T1"><undoc /></typeparam>
  6804. /// <typeparam name="T2"><undoc /></typeparam>
  6805. /// <param name="arg0">Value to interpolate into the format string.</param>
  6806. /// <param name="arg1">Value to interpolate into the format string.</param>
  6807. /// <param name="arg2">Value to interpolate into the format string.</param>
  6808. /// <param name="arg3">Value to interpolate into the format string.</param>
  6809. /// <returns>A new string produced by interpolating the format string.</returns>
  6810. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/) } )]
  6811. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, T1 arg0, int arg1, int arg2, T2 arg3)
  6812. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  6813. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  6814. {
  6815. FixedString512Bytes result = default;
  6816. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  6817. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  6818. result.AppendFormat(formatString, arg0, carg1, carg2, arg3);
  6819. return result;
  6820. }
  6821. /// <summary>
  6822. /// Returns a new string produced by interpolating a format string.
  6823. /// </summary>
  6824. /// <remarks>
  6825. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  6826. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  6827. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  6828. ///
  6829. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  6830. /// - FixedString*N*Bytes
  6831. /// - string
  6832. /// - int
  6833. /// - float
  6834. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  6835. ///
  6836. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  6837. /// </remarks>
  6838. /// <param name="formatString">The format string.</param>
  6839. /// <typeparam name="T1"><undoc /></typeparam>
  6840. /// <param name="arg0">Value to interpolate into the format string.</param>
  6841. /// <param name="arg1">Value to interpolate into the format string.</param>
  6842. /// <param name="arg2">Value to interpolate into the format string.</param>
  6843. /// <param name="arg3">Value to interpolate into the format string.</param>
  6844. /// <returns>A new string produced by interpolating the format string.</returns>
  6845. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  6846. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, int arg0, float arg1, int arg2, T1 arg3)
  6847. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  6848. {
  6849. FixedString512Bytes result = default;
  6850. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  6851. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  6852. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  6853. result.AppendFormat(formatString, carg0, carg1, carg2, arg3);
  6854. return result;
  6855. }
  6856. /// <summary>
  6857. /// Returns a new string produced by interpolating a format string.
  6858. /// </summary>
  6859. /// <remarks>
  6860. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  6861. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  6862. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  6863. ///
  6864. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  6865. /// - FixedString*N*Bytes
  6866. /// - string
  6867. /// - int
  6868. /// - float
  6869. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  6870. ///
  6871. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  6872. /// </remarks>
  6873. /// <param name="formatString">The format string.</param>
  6874. /// <typeparam name="T1"><undoc /></typeparam>
  6875. /// <param name="arg0">Value to interpolate into the format string.</param>
  6876. /// <param name="arg1">Value to interpolate into the format string.</param>
  6877. /// <param name="arg2">Value to interpolate into the format string.</param>
  6878. /// <param name="arg3">Value to interpolate into the format string.</param>
  6879. /// <returns>A new string produced by interpolating the format string.</returns>
  6880. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  6881. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, float arg0, float arg1, int arg2, T1 arg3)
  6882. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  6883. {
  6884. FixedString512Bytes result = default;
  6885. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  6886. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  6887. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  6888. result.AppendFormat(formatString, carg0, carg1, carg2, arg3);
  6889. return result;
  6890. }
  6891. /// <summary>
  6892. /// Returns a new string produced by interpolating a format string.
  6893. /// </summary>
  6894. /// <remarks>
  6895. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  6896. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  6897. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  6898. ///
  6899. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  6900. /// - FixedString*N*Bytes
  6901. /// - string
  6902. /// - int
  6903. /// - float
  6904. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  6905. ///
  6906. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  6907. /// </remarks>
  6908. /// <param name="formatString">The format string.</param>
  6909. /// <typeparam name="T1"><undoc /></typeparam>
  6910. /// <param name="arg0">Value to interpolate into the format string.</param>
  6911. /// <param name="arg1">Value to interpolate into the format string.</param>
  6912. /// <param name="arg2">Value to interpolate into the format string.</param>
  6913. /// <param name="arg3">Value to interpolate into the format string.</param>
  6914. /// <returns>A new string produced by interpolating the format string.</returns>
  6915. [ExcludeFromBurstCompatTesting("Takes managed string")]
  6916. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, string arg0, float arg1, int arg2, T1 arg3)
  6917. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  6918. {
  6919. FixedString512Bytes result = default;
  6920. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  6921. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  6922. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  6923. result.AppendFormat(formatString, carg0, carg1, carg2, arg3);
  6924. return result;
  6925. }
  6926. /// <summary>
  6927. /// Returns a new string produced by interpolating a format string.
  6928. /// </summary>
  6929. /// <remarks>
  6930. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  6931. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  6932. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  6933. ///
  6934. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  6935. /// - FixedString*N*Bytes
  6936. /// - string
  6937. /// - int
  6938. /// - float
  6939. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  6940. ///
  6941. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  6942. /// </remarks>
  6943. /// <param name="formatString">The format string.</param>
  6944. /// <typeparam name="T1"><undoc /></typeparam>
  6945. /// <typeparam name="T2"><undoc /></typeparam>
  6946. /// <param name="arg0">Value to interpolate into the format string.</param>
  6947. /// <param name="arg1">Value to interpolate into the format string.</param>
  6948. /// <param name="arg2">Value to interpolate into the format string.</param>
  6949. /// <param name="arg3">Value to interpolate into the format string.</param>
  6950. /// <returns>A new string produced by interpolating the format string.</returns>
  6951. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/) } )]
  6952. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, T1 arg0, float arg1, int arg2, T2 arg3)
  6953. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  6954. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  6955. {
  6956. FixedString512Bytes result = default;
  6957. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  6958. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  6959. result.AppendFormat(formatString, arg0, carg1, carg2, arg3);
  6960. return result;
  6961. }
  6962. /// <summary>
  6963. /// Returns a new string produced by interpolating a format string.
  6964. /// </summary>
  6965. /// <remarks>
  6966. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  6967. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  6968. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  6969. ///
  6970. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  6971. /// - FixedString*N*Bytes
  6972. /// - string
  6973. /// - int
  6974. /// - float
  6975. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  6976. ///
  6977. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  6978. /// </remarks>
  6979. /// <param name="formatString">The format string.</param>
  6980. /// <typeparam name="T1"><undoc /></typeparam>
  6981. /// <param name="arg0">Value to interpolate into the format string.</param>
  6982. /// <param name="arg1">Value to interpolate into the format string.</param>
  6983. /// <param name="arg2">Value to interpolate into the format string.</param>
  6984. /// <param name="arg3">Value to interpolate into the format string.</param>
  6985. /// <returns>A new string produced by interpolating the format string.</returns>
  6986. [ExcludeFromBurstCompatTesting("Takes managed string")]
  6987. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, int arg0, string arg1, int arg2, T1 arg3)
  6988. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  6989. {
  6990. FixedString512Bytes result = default;
  6991. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  6992. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  6993. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  6994. result.AppendFormat(formatString, carg0, carg1, carg2, arg3);
  6995. return result;
  6996. }
  6997. /// <summary>
  6998. /// Returns a new string produced by interpolating a format string.
  6999. /// </summary>
  7000. /// <remarks>
  7001. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  7002. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  7003. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  7004. ///
  7005. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  7006. /// - FixedString*N*Bytes
  7007. /// - string
  7008. /// - int
  7009. /// - float
  7010. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  7011. ///
  7012. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  7013. /// </remarks>
  7014. /// <param name="formatString">The format string.</param>
  7015. /// <typeparam name="T1"><undoc /></typeparam>
  7016. /// <param name="arg0">Value to interpolate into the format string.</param>
  7017. /// <param name="arg1">Value to interpolate into the format string.</param>
  7018. /// <param name="arg2">Value to interpolate into the format string.</param>
  7019. /// <param name="arg3">Value to interpolate into the format string.</param>
  7020. /// <returns>A new string produced by interpolating the format string.</returns>
  7021. [ExcludeFromBurstCompatTesting("Takes managed string")]
  7022. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, float arg0, string arg1, int arg2, T1 arg3)
  7023. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  7024. {
  7025. FixedString512Bytes result = default;
  7026. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  7027. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  7028. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  7029. result.AppendFormat(formatString, carg0, carg1, carg2, arg3);
  7030. return result;
  7031. }
  7032. /// <summary>
  7033. /// Returns a new string produced by interpolating a format string.
  7034. /// </summary>
  7035. /// <remarks>
  7036. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  7037. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  7038. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  7039. ///
  7040. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  7041. /// - FixedString*N*Bytes
  7042. /// - string
  7043. /// - int
  7044. /// - float
  7045. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  7046. ///
  7047. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  7048. /// </remarks>
  7049. /// <param name="formatString">The format string.</param>
  7050. /// <typeparam name="T1"><undoc /></typeparam>
  7051. /// <param name="arg0">Value to interpolate into the format string.</param>
  7052. /// <param name="arg1">Value to interpolate into the format string.</param>
  7053. /// <param name="arg2">Value to interpolate into the format string.</param>
  7054. /// <param name="arg3">Value to interpolate into the format string.</param>
  7055. /// <returns>A new string produced by interpolating the format string.</returns>
  7056. [ExcludeFromBurstCompatTesting("Takes managed string")]
  7057. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, string arg0, string arg1, int arg2, T1 arg3)
  7058. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  7059. {
  7060. FixedString512Bytes result = default;
  7061. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  7062. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  7063. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  7064. result.AppendFormat(formatString, carg0, carg1, carg2, arg3);
  7065. return result;
  7066. }
  7067. /// <summary>
  7068. /// Returns a new string produced by interpolating a format string.
  7069. /// </summary>
  7070. /// <remarks>
  7071. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  7072. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  7073. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  7074. ///
  7075. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  7076. /// - FixedString*N*Bytes
  7077. /// - string
  7078. /// - int
  7079. /// - float
  7080. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  7081. ///
  7082. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  7083. /// </remarks>
  7084. /// <param name="formatString">The format string.</param>
  7085. /// <typeparam name="T1"><undoc /></typeparam>
  7086. /// <typeparam name="T2"><undoc /></typeparam>
  7087. /// <param name="arg0">Value to interpolate into the format string.</param>
  7088. /// <param name="arg1">Value to interpolate into the format string.</param>
  7089. /// <param name="arg2">Value to interpolate into the format string.</param>
  7090. /// <param name="arg3">Value to interpolate into the format string.</param>
  7091. /// <returns>A new string produced by interpolating the format string.</returns>
  7092. [ExcludeFromBurstCompatTesting("Takes managed string")]
  7093. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, T1 arg0, string arg1, int arg2, T2 arg3)
  7094. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  7095. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  7096. {
  7097. FixedString512Bytes result = default;
  7098. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  7099. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  7100. result.AppendFormat(formatString, arg0, carg1, carg2, arg3);
  7101. return result;
  7102. }
  7103. /// <summary>
  7104. /// Returns a new string produced by interpolating a format string.
  7105. /// </summary>
  7106. /// <remarks>
  7107. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  7108. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  7109. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  7110. ///
  7111. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  7112. /// - FixedString*N*Bytes
  7113. /// - string
  7114. /// - int
  7115. /// - float
  7116. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  7117. ///
  7118. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  7119. /// </remarks>
  7120. /// <param name="formatString">The format string.</param>
  7121. /// <typeparam name="T1"><undoc /></typeparam>
  7122. /// <typeparam name="T2"><undoc /></typeparam>
  7123. /// <param name="arg0">Value to interpolate into the format string.</param>
  7124. /// <param name="arg1">Value to interpolate into the format string.</param>
  7125. /// <param name="arg2">Value to interpolate into the format string.</param>
  7126. /// <param name="arg3">Value to interpolate into the format string.</param>
  7127. /// <returns>A new string produced by interpolating the format string.</returns>
  7128. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/) } )]
  7129. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, int arg0, T1 arg1, int arg2, T2 arg3)
  7130. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  7131. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  7132. {
  7133. FixedString512Bytes result = default;
  7134. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  7135. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  7136. result.AppendFormat(formatString, carg0, arg1, carg2, arg3);
  7137. return result;
  7138. }
  7139. /// <summary>
  7140. /// Returns a new string produced by interpolating a format string.
  7141. /// </summary>
  7142. /// <remarks>
  7143. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  7144. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  7145. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  7146. ///
  7147. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  7148. /// - FixedString*N*Bytes
  7149. /// - string
  7150. /// - int
  7151. /// - float
  7152. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  7153. ///
  7154. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  7155. /// </remarks>
  7156. /// <param name="formatString">The format string.</param>
  7157. /// <typeparam name="T1"><undoc /></typeparam>
  7158. /// <typeparam name="T2"><undoc /></typeparam>
  7159. /// <param name="arg0">Value to interpolate into the format string.</param>
  7160. /// <param name="arg1">Value to interpolate into the format string.</param>
  7161. /// <param name="arg2">Value to interpolate into the format string.</param>
  7162. /// <param name="arg3">Value to interpolate into the format string.</param>
  7163. /// <returns>A new string produced by interpolating the format string.</returns>
  7164. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/) } )]
  7165. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, float arg0, T1 arg1, int arg2, T2 arg3)
  7166. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  7167. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  7168. {
  7169. FixedString512Bytes result = default;
  7170. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  7171. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  7172. result.AppendFormat(formatString, carg0, arg1, carg2, arg3);
  7173. return result;
  7174. }
  7175. /// <summary>
  7176. /// Returns a new string produced by interpolating a format string.
  7177. /// </summary>
  7178. /// <remarks>
  7179. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  7180. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  7181. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  7182. ///
  7183. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  7184. /// - FixedString*N*Bytes
  7185. /// - string
  7186. /// - int
  7187. /// - float
  7188. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  7189. ///
  7190. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  7191. /// </remarks>
  7192. /// <param name="formatString">The format string.</param>
  7193. /// <typeparam name="T1"><undoc /></typeparam>
  7194. /// <typeparam name="T2"><undoc /></typeparam>
  7195. /// <param name="arg0">Value to interpolate into the format string.</param>
  7196. /// <param name="arg1">Value to interpolate into the format string.</param>
  7197. /// <param name="arg2">Value to interpolate into the format string.</param>
  7198. /// <param name="arg3">Value to interpolate into the format string.</param>
  7199. /// <returns>A new string produced by interpolating the format string.</returns>
  7200. [ExcludeFromBurstCompatTesting("Takes managed string")]
  7201. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, string arg0, T1 arg1, int arg2, T2 arg3)
  7202. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  7203. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  7204. {
  7205. FixedString512Bytes result = default;
  7206. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  7207. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  7208. result.AppendFormat(formatString, carg0, arg1, carg2, arg3);
  7209. return result;
  7210. }
  7211. /// <summary>
  7212. /// Returns a new string produced by interpolating a format string.
  7213. /// </summary>
  7214. /// <remarks>
  7215. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  7216. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  7217. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  7218. ///
  7219. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  7220. /// - FixedString*N*Bytes
  7221. /// - string
  7222. /// - int
  7223. /// - float
  7224. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  7225. ///
  7226. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  7227. /// </remarks>
  7228. /// <param name="formatString">The format string.</param>
  7229. /// <typeparam name="T1"><undoc /></typeparam>
  7230. /// <typeparam name="T2"><undoc /></typeparam>
  7231. /// <typeparam name="T3"><undoc /></typeparam>
  7232. /// <param name="arg0">Value to interpolate into the format string.</param>
  7233. /// <param name="arg1">Value to interpolate into the format string.</param>
  7234. /// <param name="arg2">Value to interpolate into the format string.</param>
  7235. /// <param name="arg3">Value to interpolate into the format string.</param>
  7236. /// <returns>A new string produced by interpolating the format string.</returns>
  7237. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/), typeof(FixedString32Bytes /*$T3*/) } )]
  7238. public static FixedString512Bytes Format<T1,T2,T3>(FixedString512Bytes formatString, T1 arg0, T2 arg1, int arg2, T3 arg3)
  7239. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  7240. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  7241. where T3 : unmanaged, INativeList<byte>, IUTF8Bytes
  7242. {
  7243. FixedString512Bytes result = default;
  7244. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  7245. result.AppendFormat(formatString, arg0, arg1, carg2, arg3);
  7246. return result;
  7247. }
  7248. /// <summary>
  7249. /// Returns a new string produced by interpolating a format string.
  7250. /// </summary>
  7251. /// <remarks>
  7252. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  7253. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  7254. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  7255. ///
  7256. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  7257. /// - FixedString*N*Bytes
  7258. /// - string
  7259. /// - int
  7260. /// - float
  7261. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  7262. ///
  7263. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  7264. /// </remarks>
  7265. /// <param name="formatString">The format string.</param>
  7266. /// <typeparam name="T1"><undoc /></typeparam>
  7267. /// <param name="arg0">Value to interpolate into the format string.</param>
  7268. /// <param name="arg1">Value to interpolate into the format string.</param>
  7269. /// <param name="arg2">Value to interpolate into the format string.</param>
  7270. /// <param name="arg3">Value to interpolate into the format string.</param>
  7271. /// <returns>A new string produced by interpolating the format string.</returns>
  7272. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  7273. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, int arg0, int arg1, float arg2, T1 arg3)
  7274. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  7275. {
  7276. FixedString512Bytes result = default;
  7277. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  7278. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  7279. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  7280. result.AppendFormat(formatString, carg0, carg1, carg2, arg3);
  7281. return result;
  7282. }
  7283. /// <summary>
  7284. /// Returns a new string produced by interpolating a format string.
  7285. /// </summary>
  7286. /// <remarks>
  7287. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  7288. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  7289. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  7290. ///
  7291. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  7292. /// - FixedString*N*Bytes
  7293. /// - string
  7294. /// - int
  7295. /// - float
  7296. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  7297. ///
  7298. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  7299. /// </remarks>
  7300. /// <param name="formatString">The format string.</param>
  7301. /// <typeparam name="T1"><undoc /></typeparam>
  7302. /// <param name="arg0">Value to interpolate into the format string.</param>
  7303. /// <param name="arg1">Value to interpolate into the format string.</param>
  7304. /// <param name="arg2">Value to interpolate into the format string.</param>
  7305. /// <param name="arg3">Value to interpolate into the format string.</param>
  7306. /// <returns>A new string produced by interpolating the format string.</returns>
  7307. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  7308. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, float arg0, int arg1, float arg2, T1 arg3)
  7309. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  7310. {
  7311. FixedString512Bytes result = default;
  7312. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  7313. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  7314. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  7315. result.AppendFormat(formatString, carg0, carg1, carg2, arg3);
  7316. return result;
  7317. }
  7318. /// <summary>
  7319. /// Returns a new string produced by interpolating a format string.
  7320. /// </summary>
  7321. /// <remarks>
  7322. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  7323. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  7324. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  7325. ///
  7326. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  7327. /// - FixedString*N*Bytes
  7328. /// - string
  7329. /// - int
  7330. /// - float
  7331. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  7332. ///
  7333. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  7334. /// </remarks>
  7335. /// <param name="formatString">The format string.</param>
  7336. /// <typeparam name="T1"><undoc /></typeparam>
  7337. /// <param name="arg0">Value to interpolate into the format string.</param>
  7338. /// <param name="arg1">Value to interpolate into the format string.</param>
  7339. /// <param name="arg2">Value to interpolate into the format string.</param>
  7340. /// <param name="arg3">Value to interpolate into the format string.</param>
  7341. /// <returns>A new string produced by interpolating the format string.</returns>
  7342. [ExcludeFromBurstCompatTesting("Takes managed string")]
  7343. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, string arg0, int arg1, float arg2, T1 arg3)
  7344. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  7345. {
  7346. FixedString512Bytes result = default;
  7347. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  7348. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  7349. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  7350. result.AppendFormat(formatString, carg0, carg1, carg2, arg3);
  7351. return result;
  7352. }
  7353. /// <summary>
  7354. /// Returns a new string produced by interpolating a format string.
  7355. /// </summary>
  7356. /// <remarks>
  7357. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  7358. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  7359. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  7360. ///
  7361. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  7362. /// - FixedString*N*Bytes
  7363. /// - string
  7364. /// - int
  7365. /// - float
  7366. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  7367. ///
  7368. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  7369. /// </remarks>
  7370. /// <param name="formatString">The format string.</param>
  7371. /// <typeparam name="T1"><undoc /></typeparam>
  7372. /// <typeparam name="T2"><undoc /></typeparam>
  7373. /// <param name="arg0">Value to interpolate into the format string.</param>
  7374. /// <param name="arg1">Value to interpolate into the format string.</param>
  7375. /// <param name="arg2">Value to interpolate into the format string.</param>
  7376. /// <param name="arg3">Value to interpolate into the format string.</param>
  7377. /// <returns>A new string produced by interpolating the format string.</returns>
  7378. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/) } )]
  7379. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, T1 arg0, int arg1, float arg2, T2 arg3)
  7380. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  7381. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  7382. {
  7383. FixedString512Bytes result = default;
  7384. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  7385. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  7386. result.AppendFormat(formatString, arg0, carg1, carg2, arg3);
  7387. return result;
  7388. }
  7389. /// <summary>
  7390. /// Returns a new string produced by interpolating a format string.
  7391. /// </summary>
  7392. /// <remarks>
  7393. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  7394. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  7395. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  7396. ///
  7397. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  7398. /// - FixedString*N*Bytes
  7399. /// - string
  7400. /// - int
  7401. /// - float
  7402. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  7403. ///
  7404. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  7405. /// </remarks>
  7406. /// <param name="formatString">The format string.</param>
  7407. /// <typeparam name="T1"><undoc /></typeparam>
  7408. /// <param name="arg0">Value to interpolate into the format string.</param>
  7409. /// <param name="arg1">Value to interpolate into the format string.</param>
  7410. /// <param name="arg2">Value to interpolate into the format string.</param>
  7411. /// <param name="arg3">Value to interpolate into the format string.</param>
  7412. /// <returns>A new string produced by interpolating the format string.</returns>
  7413. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  7414. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, int arg0, float arg1, float arg2, T1 arg3)
  7415. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  7416. {
  7417. FixedString512Bytes result = default;
  7418. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  7419. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  7420. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  7421. result.AppendFormat(formatString, carg0, carg1, carg2, arg3);
  7422. return result;
  7423. }
  7424. /// <summary>
  7425. /// Returns a new string produced by interpolating a format string.
  7426. /// </summary>
  7427. /// <remarks>
  7428. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  7429. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  7430. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  7431. ///
  7432. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  7433. /// - FixedString*N*Bytes
  7434. /// - string
  7435. /// - int
  7436. /// - float
  7437. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  7438. ///
  7439. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  7440. /// </remarks>
  7441. /// <param name="formatString">The format string.</param>
  7442. /// <typeparam name="T1"><undoc /></typeparam>
  7443. /// <param name="arg0">Value to interpolate into the format string.</param>
  7444. /// <param name="arg1">Value to interpolate into the format string.</param>
  7445. /// <param name="arg2">Value to interpolate into the format string.</param>
  7446. /// <param name="arg3">Value to interpolate into the format string.</param>
  7447. /// <returns>A new string produced by interpolating the format string.</returns>
  7448. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  7449. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, float arg0, float arg1, float arg2, T1 arg3)
  7450. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  7451. {
  7452. FixedString512Bytes result = default;
  7453. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  7454. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  7455. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  7456. result.AppendFormat(formatString, carg0, carg1, carg2, arg3);
  7457. return result;
  7458. }
  7459. /// <summary>
  7460. /// Returns a new string produced by interpolating a format string.
  7461. /// </summary>
  7462. /// <remarks>
  7463. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  7464. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  7465. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  7466. ///
  7467. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  7468. /// - FixedString*N*Bytes
  7469. /// - string
  7470. /// - int
  7471. /// - float
  7472. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  7473. ///
  7474. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  7475. /// </remarks>
  7476. /// <param name="formatString">The format string.</param>
  7477. /// <typeparam name="T1"><undoc /></typeparam>
  7478. /// <param name="arg0">Value to interpolate into the format string.</param>
  7479. /// <param name="arg1">Value to interpolate into the format string.</param>
  7480. /// <param name="arg2">Value to interpolate into the format string.</param>
  7481. /// <param name="arg3">Value to interpolate into the format string.</param>
  7482. /// <returns>A new string produced by interpolating the format string.</returns>
  7483. [ExcludeFromBurstCompatTesting("Takes managed string")]
  7484. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, string arg0, float arg1, float arg2, T1 arg3)
  7485. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  7486. {
  7487. FixedString512Bytes result = default;
  7488. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  7489. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  7490. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  7491. result.AppendFormat(formatString, carg0, carg1, carg2, arg3);
  7492. return result;
  7493. }
  7494. /// <summary>
  7495. /// Returns a new string produced by interpolating a format string.
  7496. /// </summary>
  7497. /// <remarks>
  7498. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  7499. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  7500. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  7501. ///
  7502. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  7503. /// - FixedString*N*Bytes
  7504. /// - string
  7505. /// - int
  7506. /// - float
  7507. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  7508. ///
  7509. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  7510. /// </remarks>
  7511. /// <param name="formatString">The format string.</param>
  7512. /// <typeparam name="T1"><undoc /></typeparam>
  7513. /// <typeparam name="T2"><undoc /></typeparam>
  7514. /// <param name="arg0">Value to interpolate into the format string.</param>
  7515. /// <param name="arg1">Value to interpolate into the format string.</param>
  7516. /// <param name="arg2">Value to interpolate into the format string.</param>
  7517. /// <param name="arg3">Value to interpolate into the format string.</param>
  7518. /// <returns>A new string produced by interpolating the format string.</returns>
  7519. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/) } )]
  7520. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, T1 arg0, float arg1, float arg2, T2 arg3)
  7521. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  7522. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  7523. {
  7524. FixedString512Bytes result = default;
  7525. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  7526. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  7527. result.AppendFormat(formatString, arg0, carg1, carg2, arg3);
  7528. return result;
  7529. }
  7530. /// <summary>
  7531. /// Returns a new string produced by interpolating a format string.
  7532. /// </summary>
  7533. /// <remarks>
  7534. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  7535. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  7536. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  7537. ///
  7538. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  7539. /// - FixedString*N*Bytes
  7540. /// - string
  7541. /// - int
  7542. /// - float
  7543. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  7544. ///
  7545. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  7546. /// </remarks>
  7547. /// <param name="formatString">The format string.</param>
  7548. /// <typeparam name="T1"><undoc /></typeparam>
  7549. /// <param name="arg0">Value to interpolate into the format string.</param>
  7550. /// <param name="arg1">Value to interpolate into the format string.</param>
  7551. /// <param name="arg2">Value to interpolate into the format string.</param>
  7552. /// <param name="arg3">Value to interpolate into the format string.</param>
  7553. /// <returns>A new string produced by interpolating the format string.</returns>
  7554. [ExcludeFromBurstCompatTesting("Takes managed string")]
  7555. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, int arg0, string arg1, float arg2, T1 arg3)
  7556. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  7557. {
  7558. FixedString512Bytes result = default;
  7559. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  7560. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  7561. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  7562. result.AppendFormat(formatString, carg0, carg1, carg2, arg3);
  7563. return result;
  7564. }
  7565. /// <summary>
  7566. /// Returns a new string produced by interpolating a format string.
  7567. /// </summary>
  7568. /// <remarks>
  7569. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  7570. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  7571. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  7572. ///
  7573. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  7574. /// - FixedString*N*Bytes
  7575. /// - string
  7576. /// - int
  7577. /// - float
  7578. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  7579. ///
  7580. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  7581. /// </remarks>
  7582. /// <param name="formatString">The format string.</param>
  7583. /// <typeparam name="T1"><undoc /></typeparam>
  7584. /// <param name="arg0">Value to interpolate into the format string.</param>
  7585. /// <param name="arg1">Value to interpolate into the format string.</param>
  7586. /// <param name="arg2">Value to interpolate into the format string.</param>
  7587. /// <param name="arg3">Value to interpolate into the format string.</param>
  7588. /// <returns>A new string produced by interpolating the format string.</returns>
  7589. [ExcludeFromBurstCompatTesting("Takes managed string")]
  7590. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, float arg0, string arg1, float arg2, T1 arg3)
  7591. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  7592. {
  7593. FixedString512Bytes result = default;
  7594. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  7595. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  7596. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  7597. result.AppendFormat(formatString, carg0, carg1, carg2, arg3);
  7598. return result;
  7599. }
  7600. /// <summary>
  7601. /// Returns a new string produced by interpolating a format string.
  7602. /// </summary>
  7603. /// <remarks>
  7604. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  7605. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  7606. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  7607. ///
  7608. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  7609. /// - FixedString*N*Bytes
  7610. /// - string
  7611. /// - int
  7612. /// - float
  7613. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  7614. ///
  7615. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  7616. /// </remarks>
  7617. /// <param name="formatString">The format string.</param>
  7618. /// <typeparam name="T1"><undoc /></typeparam>
  7619. /// <param name="arg0">Value to interpolate into the format string.</param>
  7620. /// <param name="arg1">Value to interpolate into the format string.</param>
  7621. /// <param name="arg2">Value to interpolate into the format string.</param>
  7622. /// <param name="arg3">Value to interpolate into the format string.</param>
  7623. /// <returns>A new string produced by interpolating the format string.</returns>
  7624. [ExcludeFromBurstCompatTesting("Takes managed string")]
  7625. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, string arg0, string arg1, float arg2, T1 arg3)
  7626. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  7627. {
  7628. FixedString512Bytes result = default;
  7629. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  7630. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  7631. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  7632. result.AppendFormat(formatString, carg0, carg1, carg2, arg3);
  7633. return result;
  7634. }
  7635. /// <summary>
  7636. /// Returns a new string produced by interpolating a format string.
  7637. /// </summary>
  7638. /// <remarks>
  7639. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  7640. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  7641. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  7642. ///
  7643. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  7644. /// - FixedString*N*Bytes
  7645. /// - string
  7646. /// - int
  7647. /// - float
  7648. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  7649. ///
  7650. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  7651. /// </remarks>
  7652. /// <param name="formatString">The format string.</param>
  7653. /// <typeparam name="T1"><undoc /></typeparam>
  7654. /// <typeparam name="T2"><undoc /></typeparam>
  7655. /// <param name="arg0">Value to interpolate into the format string.</param>
  7656. /// <param name="arg1">Value to interpolate into the format string.</param>
  7657. /// <param name="arg2">Value to interpolate into the format string.</param>
  7658. /// <param name="arg3">Value to interpolate into the format string.</param>
  7659. /// <returns>A new string produced by interpolating the format string.</returns>
  7660. [ExcludeFromBurstCompatTesting("Takes managed string")]
  7661. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, T1 arg0, string arg1, float arg2, T2 arg3)
  7662. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  7663. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  7664. {
  7665. FixedString512Bytes result = default;
  7666. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  7667. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  7668. result.AppendFormat(formatString, arg0, carg1, carg2, arg3);
  7669. return result;
  7670. }
  7671. /// <summary>
  7672. /// Returns a new string produced by interpolating a format string.
  7673. /// </summary>
  7674. /// <remarks>
  7675. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  7676. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  7677. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  7678. ///
  7679. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  7680. /// - FixedString*N*Bytes
  7681. /// - string
  7682. /// - int
  7683. /// - float
  7684. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  7685. ///
  7686. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  7687. /// </remarks>
  7688. /// <param name="formatString">The format string.</param>
  7689. /// <typeparam name="T1"><undoc /></typeparam>
  7690. /// <typeparam name="T2"><undoc /></typeparam>
  7691. /// <param name="arg0">Value to interpolate into the format string.</param>
  7692. /// <param name="arg1">Value to interpolate into the format string.</param>
  7693. /// <param name="arg2">Value to interpolate into the format string.</param>
  7694. /// <param name="arg3">Value to interpolate into the format string.</param>
  7695. /// <returns>A new string produced by interpolating the format string.</returns>
  7696. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/) } )]
  7697. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, int arg0, T1 arg1, float arg2, T2 arg3)
  7698. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  7699. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  7700. {
  7701. FixedString512Bytes result = default;
  7702. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  7703. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  7704. result.AppendFormat(formatString, carg0, arg1, carg2, arg3);
  7705. return result;
  7706. }
  7707. /// <summary>
  7708. /// Returns a new string produced by interpolating a format string.
  7709. /// </summary>
  7710. /// <remarks>
  7711. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  7712. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  7713. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  7714. ///
  7715. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  7716. /// - FixedString*N*Bytes
  7717. /// - string
  7718. /// - int
  7719. /// - float
  7720. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  7721. ///
  7722. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  7723. /// </remarks>
  7724. /// <param name="formatString">The format string.</param>
  7725. /// <typeparam name="T1"><undoc /></typeparam>
  7726. /// <typeparam name="T2"><undoc /></typeparam>
  7727. /// <param name="arg0">Value to interpolate into the format string.</param>
  7728. /// <param name="arg1">Value to interpolate into the format string.</param>
  7729. /// <param name="arg2">Value to interpolate into the format string.</param>
  7730. /// <param name="arg3">Value to interpolate into the format string.</param>
  7731. /// <returns>A new string produced by interpolating the format string.</returns>
  7732. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/) } )]
  7733. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, float arg0, T1 arg1, float arg2, T2 arg3)
  7734. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  7735. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  7736. {
  7737. FixedString512Bytes result = default;
  7738. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  7739. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  7740. result.AppendFormat(formatString, carg0, arg1, carg2, arg3);
  7741. return result;
  7742. }
  7743. /// <summary>
  7744. /// Returns a new string produced by interpolating a format string.
  7745. /// </summary>
  7746. /// <remarks>
  7747. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  7748. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  7749. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  7750. ///
  7751. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  7752. /// - FixedString*N*Bytes
  7753. /// - string
  7754. /// - int
  7755. /// - float
  7756. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  7757. ///
  7758. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  7759. /// </remarks>
  7760. /// <param name="formatString">The format string.</param>
  7761. /// <typeparam name="T1"><undoc /></typeparam>
  7762. /// <typeparam name="T2"><undoc /></typeparam>
  7763. /// <param name="arg0">Value to interpolate into the format string.</param>
  7764. /// <param name="arg1">Value to interpolate into the format string.</param>
  7765. /// <param name="arg2">Value to interpolate into the format string.</param>
  7766. /// <param name="arg3">Value to interpolate into the format string.</param>
  7767. /// <returns>A new string produced by interpolating the format string.</returns>
  7768. [ExcludeFromBurstCompatTesting("Takes managed string")]
  7769. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, string arg0, T1 arg1, float arg2, T2 arg3)
  7770. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  7771. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  7772. {
  7773. FixedString512Bytes result = default;
  7774. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  7775. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  7776. result.AppendFormat(formatString, carg0, arg1, carg2, arg3);
  7777. return result;
  7778. }
  7779. /// <summary>
  7780. /// Returns a new string produced by interpolating a format string.
  7781. /// </summary>
  7782. /// <remarks>
  7783. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  7784. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  7785. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  7786. ///
  7787. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  7788. /// - FixedString*N*Bytes
  7789. /// - string
  7790. /// - int
  7791. /// - float
  7792. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  7793. ///
  7794. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  7795. /// </remarks>
  7796. /// <param name="formatString">The format string.</param>
  7797. /// <typeparam name="T1"><undoc /></typeparam>
  7798. /// <typeparam name="T2"><undoc /></typeparam>
  7799. /// <typeparam name="T3"><undoc /></typeparam>
  7800. /// <param name="arg0">Value to interpolate into the format string.</param>
  7801. /// <param name="arg1">Value to interpolate into the format string.</param>
  7802. /// <param name="arg2">Value to interpolate into the format string.</param>
  7803. /// <param name="arg3">Value to interpolate into the format string.</param>
  7804. /// <returns>A new string produced by interpolating the format string.</returns>
  7805. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/), typeof(FixedString32Bytes /*$T3*/) } )]
  7806. public static FixedString512Bytes Format<T1,T2,T3>(FixedString512Bytes formatString, T1 arg0, T2 arg1, float arg2, T3 arg3)
  7807. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  7808. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  7809. where T3 : unmanaged, INativeList<byte>, IUTF8Bytes
  7810. {
  7811. FixedString512Bytes result = default;
  7812. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  7813. result.AppendFormat(formatString, arg0, arg1, carg2, arg3);
  7814. return result;
  7815. }
  7816. /// <summary>
  7817. /// Returns a new string produced by interpolating a format string.
  7818. /// </summary>
  7819. /// <remarks>
  7820. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  7821. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  7822. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  7823. ///
  7824. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  7825. /// - FixedString*N*Bytes
  7826. /// - string
  7827. /// - int
  7828. /// - float
  7829. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  7830. ///
  7831. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  7832. /// </remarks>
  7833. /// <param name="formatString">The format string.</param>
  7834. /// <typeparam name="T1"><undoc /></typeparam>
  7835. /// <param name="arg0">Value to interpolate into the format string.</param>
  7836. /// <param name="arg1">Value to interpolate into the format string.</param>
  7837. /// <param name="arg2">Value to interpolate into the format string.</param>
  7838. /// <param name="arg3">Value to interpolate into the format string.</param>
  7839. /// <returns>A new string produced by interpolating the format string.</returns>
  7840. [ExcludeFromBurstCompatTesting("Takes managed string")]
  7841. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, int arg0, int arg1, string arg2, T1 arg3)
  7842. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  7843. {
  7844. FixedString512Bytes result = default;
  7845. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  7846. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  7847. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  7848. result.AppendFormat(formatString, carg0, carg1, carg2, arg3);
  7849. return result;
  7850. }
  7851. /// <summary>
  7852. /// Returns a new string produced by interpolating a format string.
  7853. /// </summary>
  7854. /// <remarks>
  7855. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  7856. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  7857. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  7858. ///
  7859. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  7860. /// - FixedString*N*Bytes
  7861. /// - string
  7862. /// - int
  7863. /// - float
  7864. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  7865. ///
  7866. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  7867. /// </remarks>
  7868. /// <param name="formatString">The format string.</param>
  7869. /// <typeparam name="T1"><undoc /></typeparam>
  7870. /// <param name="arg0">Value to interpolate into the format string.</param>
  7871. /// <param name="arg1">Value to interpolate into the format string.</param>
  7872. /// <param name="arg2">Value to interpolate into the format string.</param>
  7873. /// <param name="arg3">Value to interpolate into the format string.</param>
  7874. /// <returns>A new string produced by interpolating the format string.</returns>
  7875. [ExcludeFromBurstCompatTesting("Takes managed string")]
  7876. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, float arg0, int arg1, string arg2, T1 arg3)
  7877. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  7878. {
  7879. FixedString512Bytes result = default;
  7880. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  7881. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  7882. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  7883. result.AppendFormat(formatString, carg0, carg1, carg2, arg3);
  7884. return result;
  7885. }
  7886. /// <summary>
  7887. /// Returns a new string produced by interpolating a format string.
  7888. /// </summary>
  7889. /// <remarks>
  7890. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  7891. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  7892. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  7893. ///
  7894. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  7895. /// - FixedString*N*Bytes
  7896. /// - string
  7897. /// - int
  7898. /// - float
  7899. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  7900. ///
  7901. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  7902. /// </remarks>
  7903. /// <param name="formatString">The format string.</param>
  7904. /// <typeparam name="T1"><undoc /></typeparam>
  7905. /// <param name="arg0">Value to interpolate into the format string.</param>
  7906. /// <param name="arg1">Value to interpolate into the format string.</param>
  7907. /// <param name="arg2">Value to interpolate into the format string.</param>
  7908. /// <param name="arg3">Value to interpolate into the format string.</param>
  7909. /// <returns>A new string produced by interpolating the format string.</returns>
  7910. [ExcludeFromBurstCompatTesting("Takes managed string")]
  7911. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, string arg0, int arg1, string arg2, T1 arg3)
  7912. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  7913. {
  7914. FixedString512Bytes result = default;
  7915. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  7916. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  7917. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  7918. result.AppendFormat(formatString, carg0, carg1, carg2, arg3);
  7919. return result;
  7920. }
  7921. /// <summary>
  7922. /// Returns a new string produced by interpolating a format string.
  7923. /// </summary>
  7924. /// <remarks>
  7925. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  7926. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  7927. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  7928. ///
  7929. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  7930. /// - FixedString*N*Bytes
  7931. /// - string
  7932. /// - int
  7933. /// - float
  7934. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  7935. ///
  7936. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  7937. /// </remarks>
  7938. /// <param name="formatString">The format string.</param>
  7939. /// <typeparam name="T1"><undoc /></typeparam>
  7940. /// <typeparam name="T2"><undoc /></typeparam>
  7941. /// <param name="arg0">Value to interpolate into the format string.</param>
  7942. /// <param name="arg1">Value to interpolate into the format string.</param>
  7943. /// <param name="arg2">Value to interpolate into the format string.</param>
  7944. /// <param name="arg3">Value to interpolate into the format string.</param>
  7945. /// <returns>A new string produced by interpolating the format string.</returns>
  7946. [ExcludeFromBurstCompatTesting("Takes managed string")]
  7947. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, T1 arg0, int arg1, string arg2, T2 arg3)
  7948. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  7949. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  7950. {
  7951. FixedString512Bytes result = default;
  7952. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  7953. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  7954. result.AppendFormat(formatString, arg0, carg1, carg2, arg3);
  7955. return result;
  7956. }
  7957. /// <summary>
  7958. /// Returns a new string produced by interpolating a format string.
  7959. /// </summary>
  7960. /// <remarks>
  7961. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  7962. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  7963. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  7964. ///
  7965. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  7966. /// - FixedString*N*Bytes
  7967. /// - string
  7968. /// - int
  7969. /// - float
  7970. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  7971. ///
  7972. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  7973. /// </remarks>
  7974. /// <param name="formatString">The format string.</param>
  7975. /// <typeparam name="T1"><undoc /></typeparam>
  7976. /// <param name="arg0">Value to interpolate into the format string.</param>
  7977. /// <param name="arg1">Value to interpolate into the format string.</param>
  7978. /// <param name="arg2">Value to interpolate into the format string.</param>
  7979. /// <param name="arg3">Value to interpolate into the format string.</param>
  7980. /// <returns>A new string produced by interpolating the format string.</returns>
  7981. [ExcludeFromBurstCompatTesting("Takes managed string")]
  7982. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, int arg0, float arg1, string arg2, T1 arg3)
  7983. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  7984. {
  7985. FixedString512Bytes result = default;
  7986. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  7987. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  7988. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  7989. result.AppendFormat(formatString, carg0, carg1, carg2, arg3);
  7990. return result;
  7991. }
  7992. /// <summary>
  7993. /// Returns a new string produced by interpolating a format string.
  7994. /// </summary>
  7995. /// <remarks>
  7996. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  7997. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  7998. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  7999. ///
  8000. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  8001. /// - FixedString*N*Bytes
  8002. /// - string
  8003. /// - int
  8004. /// - float
  8005. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  8006. ///
  8007. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  8008. /// </remarks>
  8009. /// <param name="formatString">The format string.</param>
  8010. /// <typeparam name="T1"><undoc /></typeparam>
  8011. /// <param name="arg0">Value to interpolate into the format string.</param>
  8012. /// <param name="arg1">Value to interpolate into the format string.</param>
  8013. /// <param name="arg2">Value to interpolate into the format string.</param>
  8014. /// <param name="arg3">Value to interpolate into the format string.</param>
  8015. /// <returns>A new string produced by interpolating the format string.</returns>
  8016. [ExcludeFromBurstCompatTesting("Takes managed string")]
  8017. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, float arg0, float arg1, string arg2, T1 arg3)
  8018. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  8019. {
  8020. FixedString512Bytes result = default;
  8021. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  8022. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  8023. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  8024. result.AppendFormat(formatString, carg0, carg1, carg2, arg3);
  8025. return result;
  8026. }
  8027. /// <summary>
  8028. /// Returns a new string produced by interpolating a format string.
  8029. /// </summary>
  8030. /// <remarks>
  8031. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  8032. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  8033. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  8034. ///
  8035. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  8036. /// - FixedString*N*Bytes
  8037. /// - string
  8038. /// - int
  8039. /// - float
  8040. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  8041. ///
  8042. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  8043. /// </remarks>
  8044. /// <param name="formatString">The format string.</param>
  8045. /// <typeparam name="T1"><undoc /></typeparam>
  8046. /// <param name="arg0">Value to interpolate into the format string.</param>
  8047. /// <param name="arg1">Value to interpolate into the format string.</param>
  8048. /// <param name="arg2">Value to interpolate into the format string.</param>
  8049. /// <param name="arg3">Value to interpolate into the format string.</param>
  8050. /// <returns>A new string produced by interpolating the format string.</returns>
  8051. [ExcludeFromBurstCompatTesting("Takes managed string")]
  8052. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, string arg0, float arg1, string arg2, T1 arg3)
  8053. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  8054. {
  8055. FixedString512Bytes result = default;
  8056. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  8057. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  8058. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  8059. result.AppendFormat(formatString, carg0, carg1, carg2, arg3);
  8060. return result;
  8061. }
  8062. /// <summary>
  8063. /// Returns a new string produced by interpolating a format string.
  8064. /// </summary>
  8065. /// <remarks>
  8066. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  8067. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  8068. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  8069. ///
  8070. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  8071. /// - FixedString*N*Bytes
  8072. /// - string
  8073. /// - int
  8074. /// - float
  8075. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  8076. ///
  8077. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  8078. /// </remarks>
  8079. /// <param name="formatString">The format string.</param>
  8080. /// <typeparam name="T1"><undoc /></typeparam>
  8081. /// <typeparam name="T2"><undoc /></typeparam>
  8082. /// <param name="arg0">Value to interpolate into the format string.</param>
  8083. /// <param name="arg1">Value to interpolate into the format string.</param>
  8084. /// <param name="arg2">Value to interpolate into the format string.</param>
  8085. /// <param name="arg3">Value to interpolate into the format string.</param>
  8086. /// <returns>A new string produced by interpolating the format string.</returns>
  8087. [ExcludeFromBurstCompatTesting("Takes managed string")]
  8088. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, T1 arg0, float arg1, string arg2, T2 arg3)
  8089. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  8090. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  8091. {
  8092. FixedString512Bytes result = default;
  8093. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  8094. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  8095. result.AppendFormat(formatString, arg0, carg1, carg2, arg3);
  8096. return result;
  8097. }
  8098. /// <summary>
  8099. /// Returns a new string produced by interpolating a format string.
  8100. /// </summary>
  8101. /// <remarks>
  8102. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  8103. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  8104. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  8105. ///
  8106. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  8107. /// - FixedString*N*Bytes
  8108. /// - string
  8109. /// - int
  8110. /// - float
  8111. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  8112. ///
  8113. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  8114. /// </remarks>
  8115. /// <param name="formatString">The format string.</param>
  8116. /// <typeparam name="T1"><undoc /></typeparam>
  8117. /// <param name="arg0">Value to interpolate into the format string.</param>
  8118. /// <param name="arg1">Value to interpolate into the format string.</param>
  8119. /// <param name="arg2">Value to interpolate into the format string.</param>
  8120. /// <param name="arg3">Value to interpolate into the format string.</param>
  8121. /// <returns>A new string produced by interpolating the format string.</returns>
  8122. [ExcludeFromBurstCompatTesting("Takes managed string")]
  8123. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, int arg0, string arg1, string arg2, T1 arg3)
  8124. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  8125. {
  8126. FixedString512Bytes result = default;
  8127. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  8128. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  8129. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  8130. result.AppendFormat(formatString, carg0, carg1, carg2, arg3);
  8131. return result;
  8132. }
  8133. /// <summary>
  8134. /// Returns a new string produced by interpolating a format string.
  8135. /// </summary>
  8136. /// <remarks>
  8137. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  8138. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  8139. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  8140. ///
  8141. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  8142. /// - FixedString*N*Bytes
  8143. /// - string
  8144. /// - int
  8145. /// - float
  8146. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  8147. ///
  8148. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  8149. /// </remarks>
  8150. /// <param name="formatString">The format string.</param>
  8151. /// <typeparam name="T1"><undoc /></typeparam>
  8152. /// <param name="arg0">Value to interpolate into the format string.</param>
  8153. /// <param name="arg1">Value to interpolate into the format string.</param>
  8154. /// <param name="arg2">Value to interpolate into the format string.</param>
  8155. /// <param name="arg3">Value to interpolate into the format string.</param>
  8156. /// <returns>A new string produced by interpolating the format string.</returns>
  8157. [ExcludeFromBurstCompatTesting("Takes managed string")]
  8158. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, float arg0, string arg1, string arg2, T1 arg3)
  8159. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  8160. {
  8161. FixedString512Bytes result = default;
  8162. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  8163. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  8164. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  8165. result.AppendFormat(formatString, carg0, carg1, carg2, arg3);
  8166. return result;
  8167. }
  8168. /// <summary>
  8169. /// Returns a new string produced by interpolating a format string.
  8170. /// </summary>
  8171. /// <remarks>
  8172. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  8173. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  8174. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  8175. ///
  8176. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  8177. /// - FixedString*N*Bytes
  8178. /// - string
  8179. /// - int
  8180. /// - float
  8181. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  8182. ///
  8183. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  8184. /// </remarks>
  8185. /// <param name="formatString">The format string.</param>
  8186. /// <typeparam name="T1"><undoc /></typeparam>
  8187. /// <param name="arg0">Value to interpolate into the format string.</param>
  8188. /// <param name="arg1">Value to interpolate into the format string.</param>
  8189. /// <param name="arg2">Value to interpolate into the format string.</param>
  8190. /// <param name="arg3">Value to interpolate into the format string.</param>
  8191. /// <returns>A new string produced by interpolating the format string.</returns>
  8192. [ExcludeFromBurstCompatTesting("Takes managed string")]
  8193. public static FixedString512Bytes Format<T1>(FixedString512Bytes formatString, string arg0, string arg1, string arg2, T1 arg3)
  8194. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  8195. {
  8196. FixedString512Bytes result = default;
  8197. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  8198. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  8199. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  8200. result.AppendFormat(formatString, carg0, carg1, carg2, arg3);
  8201. return result;
  8202. }
  8203. /// <summary>
  8204. /// Returns a new string produced by interpolating a format string.
  8205. /// </summary>
  8206. /// <remarks>
  8207. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  8208. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  8209. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  8210. ///
  8211. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  8212. /// - FixedString*N*Bytes
  8213. /// - string
  8214. /// - int
  8215. /// - float
  8216. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  8217. ///
  8218. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  8219. /// </remarks>
  8220. /// <param name="formatString">The format string.</param>
  8221. /// <typeparam name="T1"><undoc /></typeparam>
  8222. /// <typeparam name="T2"><undoc /></typeparam>
  8223. /// <param name="arg0">Value to interpolate into the format string.</param>
  8224. /// <param name="arg1">Value to interpolate into the format string.</param>
  8225. /// <param name="arg2">Value to interpolate into the format string.</param>
  8226. /// <param name="arg3">Value to interpolate into the format string.</param>
  8227. /// <returns>A new string produced by interpolating the format string.</returns>
  8228. [ExcludeFromBurstCompatTesting("Takes managed string")]
  8229. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, T1 arg0, string arg1, string arg2, T2 arg3)
  8230. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  8231. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  8232. {
  8233. FixedString512Bytes result = default;
  8234. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  8235. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  8236. result.AppendFormat(formatString, arg0, carg1, carg2, arg3);
  8237. return result;
  8238. }
  8239. /// <summary>
  8240. /// Returns a new string produced by interpolating a format string.
  8241. /// </summary>
  8242. /// <remarks>
  8243. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  8244. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  8245. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  8246. ///
  8247. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  8248. /// - FixedString*N*Bytes
  8249. /// - string
  8250. /// - int
  8251. /// - float
  8252. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  8253. ///
  8254. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  8255. /// </remarks>
  8256. /// <param name="formatString">The format string.</param>
  8257. /// <typeparam name="T1"><undoc /></typeparam>
  8258. /// <typeparam name="T2"><undoc /></typeparam>
  8259. /// <param name="arg0">Value to interpolate into the format string.</param>
  8260. /// <param name="arg1">Value to interpolate into the format string.</param>
  8261. /// <param name="arg2">Value to interpolate into the format string.</param>
  8262. /// <param name="arg3">Value to interpolate into the format string.</param>
  8263. /// <returns>A new string produced by interpolating the format string.</returns>
  8264. [ExcludeFromBurstCompatTesting("Takes managed string")]
  8265. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, int arg0, T1 arg1, string arg2, T2 arg3)
  8266. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  8267. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  8268. {
  8269. FixedString512Bytes result = default;
  8270. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  8271. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  8272. result.AppendFormat(formatString, carg0, arg1, carg2, arg3);
  8273. return result;
  8274. }
  8275. /// <summary>
  8276. /// Returns a new string produced by interpolating a format string.
  8277. /// </summary>
  8278. /// <remarks>
  8279. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  8280. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  8281. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  8282. ///
  8283. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  8284. /// - FixedString*N*Bytes
  8285. /// - string
  8286. /// - int
  8287. /// - float
  8288. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  8289. ///
  8290. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  8291. /// </remarks>
  8292. /// <param name="formatString">The format string.</param>
  8293. /// <typeparam name="T1"><undoc /></typeparam>
  8294. /// <typeparam name="T2"><undoc /></typeparam>
  8295. /// <param name="arg0">Value to interpolate into the format string.</param>
  8296. /// <param name="arg1">Value to interpolate into the format string.</param>
  8297. /// <param name="arg2">Value to interpolate into the format string.</param>
  8298. /// <param name="arg3">Value to interpolate into the format string.</param>
  8299. /// <returns>A new string produced by interpolating the format string.</returns>
  8300. [ExcludeFromBurstCompatTesting("Takes managed string")]
  8301. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, float arg0, T1 arg1, string arg2, T2 arg3)
  8302. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  8303. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  8304. {
  8305. FixedString512Bytes result = default;
  8306. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  8307. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  8308. result.AppendFormat(formatString, carg0, arg1, carg2, arg3);
  8309. return result;
  8310. }
  8311. /// <summary>
  8312. /// Returns a new string produced by interpolating a format string.
  8313. /// </summary>
  8314. /// <remarks>
  8315. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  8316. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  8317. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  8318. ///
  8319. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  8320. /// - FixedString*N*Bytes
  8321. /// - string
  8322. /// - int
  8323. /// - float
  8324. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  8325. ///
  8326. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  8327. /// </remarks>
  8328. /// <param name="formatString">The format string.</param>
  8329. /// <typeparam name="T1"><undoc /></typeparam>
  8330. /// <typeparam name="T2"><undoc /></typeparam>
  8331. /// <param name="arg0">Value to interpolate into the format string.</param>
  8332. /// <param name="arg1">Value to interpolate into the format string.</param>
  8333. /// <param name="arg2">Value to interpolate into the format string.</param>
  8334. /// <param name="arg3">Value to interpolate into the format string.</param>
  8335. /// <returns>A new string produced by interpolating the format string.</returns>
  8336. [ExcludeFromBurstCompatTesting("Takes managed string")]
  8337. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, string arg0, T1 arg1, string arg2, T2 arg3)
  8338. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  8339. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  8340. {
  8341. FixedString512Bytes result = default;
  8342. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  8343. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  8344. result.AppendFormat(formatString, carg0, arg1, carg2, arg3);
  8345. return result;
  8346. }
  8347. /// <summary>
  8348. /// Returns a new string produced by interpolating a format string.
  8349. /// </summary>
  8350. /// <remarks>
  8351. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  8352. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  8353. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  8354. ///
  8355. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  8356. /// - FixedString*N*Bytes
  8357. /// - string
  8358. /// - int
  8359. /// - float
  8360. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  8361. ///
  8362. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  8363. /// </remarks>
  8364. /// <param name="formatString">The format string.</param>
  8365. /// <typeparam name="T1"><undoc /></typeparam>
  8366. /// <typeparam name="T2"><undoc /></typeparam>
  8367. /// <typeparam name="T3"><undoc /></typeparam>
  8368. /// <param name="arg0">Value to interpolate into the format string.</param>
  8369. /// <param name="arg1">Value to interpolate into the format string.</param>
  8370. /// <param name="arg2">Value to interpolate into the format string.</param>
  8371. /// <param name="arg3">Value to interpolate into the format string.</param>
  8372. /// <returns>A new string produced by interpolating the format string.</returns>
  8373. [ExcludeFromBurstCompatTesting("Takes managed string")]
  8374. public static FixedString512Bytes Format<T1,T2,T3>(FixedString512Bytes formatString, T1 arg0, T2 arg1, string arg2, T3 arg3)
  8375. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  8376. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  8377. where T3 : unmanaged, INativeList<byte>, IUTF8Bytes
  8378. {
  8379. FixedString512Bytes result = default;
  8380. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  8381. result.AppendFormat(formatString, arg0, arg1, carg2, arg3);
  8382. return result;
  8383. }
  8384. /// <summary>
  8385. /// Returns a new string produced by interpolating a format string.
  8386. /// </summary>
  8387. /// <remarks>
  8388. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  8389. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  8390. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  8391. ///
  8392. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  8393. /// - FixedString*N*Bytes
  8394. /// - string
  8395. /// - int
  8396. /// - float
  8397. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  8398. ///
  8399. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  8400. /// </remarks>
  8401. /// <param name="formatString">The format string.</param>
  8402. /// <typeparam name="T1"><undoc /></typeparam>
  8403. /// <typeparam name="T2"><undoc /></typeparam>
  8404. /// <param name="arg0">Value to interpolate into the format string.</param>
  8405. /// <param name="arg1">Value to interpolate into the format string.</param>
  8406. /// <param name="arg2">Value to interpolate into the format string.</param>
  8407. /// <param name="arg3">Value to interpolate into the format string.</param>
  8408. /// <returns>A new string produced by interpolating the format string.</returns>
  8409. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/) } )]
  8410. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, int arg0, int arg1, T1 arg2, T2 arg3)
  8411. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  8412. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  8413. {
  8414. FixedString512Bytes result = default;
  8415. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  8416. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  8417. result.AppendFormat(formatString, carg0, carg1, arg2, arg3);
  8418. return result;
  8419. }
  8420. /// <summary>
  8421. /// Returns a new string produced by interpolating a format string.
  8422. /// </summary>
  8423. /// <remarks>
  8424. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  8425. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  8426. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  8427. ///
  8428. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  8429. /// - FixedString*N*Bytes
  8430. /// - string
  8431. /// - int
  8432. /// - float
  8433. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  8434. ///
  8435. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  8436. /// </remarks>
  8437. /// <param name="formatString">The format string.</param>
  8438. /// <typeparam name="T1"><undoc /></typeparam>
  8439. /// <typeparam name="T2"><undoc /></typeparam>
  8440. /// <param name="arg0">Value to interpolate into the format string.</param>
  8441. /// <param name="arg1">Value to interpolate into the format string.</param>
  8442. /// <param name="arg2">Value to interpolate into the format string.</param>
  8443. /// <param name="arg3">Value to interpolate into the format string.</param>
  8444. /// <returns>A new string produced by interpolating the format string.</returns>
  8445. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/) } )]
  8446. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, float arg0, int arg1, T1 arg2, T2 arg3)
  8447. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  8448. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  8449. {
  8450. FixedString512Bytes result = default;
  8451. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  8452. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  8453. result.AppendFormat(formatString, carg0, carg1, arg2, arg3);
  8454. return result;
  8455. }
  8456. /// <summary>
  8457. /// Returns a new string produced by interpolating a format string.
  8458. /// </summary>
  8459. /// <remarks>
  8460. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  8461. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  8462. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  8463. ///
  8464. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  8465. /// - FixedString*N*Bytes
  8466. /// - string
  8467. /// - int
  8468. /// - float
  8469. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  8470. ///
  8471. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  8472. /// </remarks>
  8473. /// <param name="formatString">The format string.</param>
  8474. /// <typeparam name="T1"><undoc /></typeparam>
  8475. /// <typeparam name="T2"><undoc /></typeparam>
  8476. /// <param name="arg0">Value to interpolate into the format string.</param>
  8477. /// <param name="arg1">Value to interpolate into the format string.</param>
  8478. /// <param name="arg2">Value to interpolate into the format string.</param>
  8479. /// <param name="arg3">Value to interpolate into the format string.</param>
  8480. /// <returns>A new string produced by interpolating the format string.</returns>
  8481. [ExcludeFromBurstCompatTesting("Takes managed string")]
  8482. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, string arg0, int arg1, T1 arg2, T2 arg3)
  8483. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  8484. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  8485. {
  8486. FixedString512Bytes result = default;
  8487. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  8488. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  8489. result.AppendFormat(formatString, carg0, carg1, arg2, arg3);
  8490. return result;
  8491. }
  8492. /// <summary>
  8493. /// Returns a new string produced by interpolating a format string.
  8494. /// </summary>
  8495. /// <remarks>
  8496. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  8497. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  8498. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  8499. ///
  8500. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  8501. /// - FixedString*N*Bytes
  8502. /// - string
  8503. /// - int
  8504. /// - float
  8505. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  8506. ///
  8507. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  8508. /// </remarks>
  8509. /// <param name="formatString">The format string.</param>
  8510. /// <typeparam name="T1"><undoc /></typeparam>
  8511. /// <typeparam name="T2"><undoc /></typeparam>
  8512. /// <typeparam name="T3"><undoc /></typeparam>
  8513. /// <param name="arg0">Value to interpolate into the format string.</param>
  8514. /// <param name="arg1">Value to interpolate into the format string.</param>
  8515. /// <param name="arg2">Value to interpolate into the format string.</param>
  8516. /// <param name="arg3">Value to interpolate into the format string.</param>
  8517. /// <returns>A new string produced by interpolating the format string.</returns>
  8518. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/), typeof(FixedString32Bytes /*$T3*/) } )]
  8519. public static FixedString512Bytes Format<T1,T2,T3>(FixedString512Bytes formatString, T1 arg0, int arg1, T2 arg2, T3 arg3)
  8520. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  8521. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  8522. where T3 : unmanaged, INativeList<byte>, IUTF8Bytes
  8523. {
  8524. FixedString512Bytes result = default;
  8525. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  8526. result.AppendFormat(formatString, arg0, carg1, arg2, arg3);
  8527. return result;
  8528. }
  8529. /// <summary>
  8530. /// Returns a new string produced by interpolating a format string.
  8531. /// </summary>
  8532. /// <remarks>
  8533. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  8534. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  8535. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  8536. ///
  8537. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  8538. /// - FixedString*N*Bytes
  8539. /// - string
  8540. /// - int
  8541. /// - float
  8542. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  8543. ///
  8544. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  8545. /// </remarks>
  8546. /// <param name="formatString">The format string.</param>
  8547. /// <typeparam name="T1"><undoc /></typeparam>
  8548. /// <typeparam name="T2"><undoc /></typeparam>
  8549. /// <param name="arg0">Value to interpolate into the format string.</param>
  8550. /// <param name="arg1">Value to interpolate into the format string.</param>
  8551. /// <param name="arg2">Value to interpolate into the format string.</param>
  8552. /// <param name="arg3">Value to interpolate into the format string.</param>
  8553. /// <returns>A new string produced by interpolating the format string.</returns>
  8554. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/) } )]
  8555. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, int arg0, float arg1, T1 arg2, T2 arg3)
  8556. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  8557. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  8558. {
  8559. FixedString512Bytes result = default;
  8560. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  8561. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  8562. result.AppendFormat(formatString, carg0, carg1, arg2, arg3);
  8563. return result;
  8564. }
  8565. /// <summary>
  8566. /// Returns a new string produced by interpolating a format string.
  8567. /// </summary>
  8568. /// <remarks>
  8569. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  8570. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  8571. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  8572. ///
  8573. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  8574. /// - FixedString*N*Bytes
  8575. /// - string
  8576. /// - int
  8577. /// - float
  8578. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  8579. ///
  8580. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  8581. /// </remarks>
  8582. /// <param name="formatString">The format string.</param>
  8583. /// <typeparam name="T1"><undoc /></typeparam>
  8584. /// <typeparam name="T2"><undoc /></typeparam>
  8585. /// <param name="arg0">Value to interpolate into the format string.</param>
  8586. /// <param name="arg1">Value to interpolate into the format string.</param>
  8587. /// <param name="arg2">Value to interpolate into the format string.</param>
  8588. /// <param name="arg3">Value to interpolate into the format string.</param>
  8589. /// <returns>A new string produced by interpolating the format string.</returns>
  8590. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/) } )]
  8591. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, float arg0, float arg1, T1 arg2, T2 arg3)
  8592. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  8593. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  8594. {
  8595. FixedString512Bytes result = default;
  8596. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  8597. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  8598. result.AppendFormat(formatString, carg0, carg1, arg2, arg3);
  8599. return result;
  8600. }
  8601. /// <summary>
  8602. /// Returns a new string produced by interpolating a format string.
  8603. /// </summary>
  8604. /// <remarks>
  8605. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  8606. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  8607. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  8608. ///
  8609. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  8610. /// - FixedString*N*Bytes
  8611. /// - string
  8612. /// - int
  8613. /// - float
  8614. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  8615. ///
  8616. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  8617. /// </remarks>
  8618. /// <param name="formatString">The format string.</param>
  8619. /// <typeparam name="T1"><undoc /></typeparam>
  8620. /// <typeparam name="T2"><undoc /></typeparam>
  8621. /// <param name="arg0">Value to interpolate into the format string.</param>
  8622. /// <param name="arg1">Value to interpolate into the format string.</param>
  8623. /// <param name="arg2">Value to interpolate into the format string.</param>
  8624. /// <param name="arg3">Value to interpolate into the format string.</param>
  8625. /// <returns>A new string produced by interpolating the format string.</returns>
  8626. [ExcludeFromBurstCompatTesting("Takes managed string")]
  8627. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, string arg0, float arg1, T1 arg2, T2 arg3)
  8628. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  8629. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  8630. {
  8631. FixedString512Bytes result = default;
  8632. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  8633. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  8634. result.AppendFormat(formatString, carg0, carg1, arg2, arg3);
  8635. return result;
  8636. }
  8637. /// <summary>
  8638. /// Returns a new string produced by interpolating a format string.
  8639. /// </summary>
  8640. /// <remarks>
  8641. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  8642. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  8643. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  8644. ///
  8645. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  8646. /// - FixedString*N*Bytes
  8647. /// - string
  8648. /// - int
  8649. /// - float
  8650. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  8651. ///
  8652. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  8653. /// </remarks>
  8654. /// <param name="formatString">The format string.</param>
  8655. /// <typeparam name="T1"><undoc /></typeparam>
  8656. /// <typeparam name="T2"><undoc /></typeparam>
  8657. /// <typeparam name="T3"><undoc /></typeparam>
  8658. /// <param name="arg0">Value to interpolate into the format string.</param>
  8659. /// <param name="arg1">Value to interpolate into the format string.</param>
  8660. /// <param name="arg2">Value to interpolate into the format string.</param>
  8661. /// <param name="arg3">Value to interpolate into the format string.</param>
  8662. /// <returns>A new string produced by interpolating the format string.</returns>
  8663. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/), typeof(FixedString32Bytes /*$T3*/) } )]
  8664. public static FixedString512Bytes Format<T1,T2,T3>(FixedString512Bytes formatString, T1 arg0, float arg1, T2 arg2, T3 arg3)
  8665. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  8666. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  8667. where T3 : unmanaged, INativeList<byte>, IUTF8Bytes
  8668. {
  8669. FixedString512Bytes result = default;
  8670. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  8671. result.AppendFormat(formatString, arg0, carg1, arg2, arg3);
  8672. return result;
  8673. }
  8674. /// <summary>
  8675. /// Returns a new string produced by interpolating a format string.
  8676. /// </summary>
  8677. /// <remarks>
  8678. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  8679. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  8680. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  8681. ///
  8682. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  8683. /// - FixedString*N*Bytes
  8684. /// - string
  8685. /// - int
  8686. /// - float
  8687. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  8688. ///
  8689. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  8690. /// </remarks>
  8691. /// <param name="formatString">The format string.</param>
  8692. /// <typeparam name="T1"><undoc /></typeparam>
  8693. /// <typeparam name="T2"><undoc /></typeparam>
  8694. /// <param name="arg0">Value to interpolate into the format string.</param>
  8695. /// <param name="arg1">Value to interpolate into the format string.</param>
  8696. /// <param name="arg2">Value to interpolate into the format string.</param>
  8697. /// <param name="arg3">Value to interpolate into the format string.</param>
  8698. /// <returns>A new string produced by interpolating the format string.</returns>
  8699. [ExcludeFromBurstCompatTesting("Takes managed string")]
  8700. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, int arg0, string arg1, T1 arg2, T2 arg3)
  8701. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  8702. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  8703. {
  8704. FixedString512Bytes result = default;
  8705. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  8706. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  8707. result.AppendFormat(formatString, carg0, carg1, arg2, arg3);
  8708. return result;
  8709. }
  8710. /// <summary>
  8711. /// Returns a new string produced by interpolating a format string.
  8712. /// </summary>
  8713. /// <remarks>
  8714. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  8715. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  8716. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  8717. ///
  8718. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  8719. /// - FixedString*N*Bytes
  8720. /// - string
  8721. /// - int
  8722. /// - float
  8723. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  8724. ///
  8725. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  8726. /// </remarks>
  8727. /// <param name="formatString">The format string.</param>
  8728. /// <typeparam name="T1"><undoc /></typeparam>
  8729. /// <typeparam name="T2"><undoc /></typeparam>
  8730. /// <param name="arg0">Value to interpolate into the format string.</param>
  8731. /// <param name="arg1">Value to interpolate into the format string.</param>
  8732. /// <param name="arg2">Value to interpolate into the format string.</param>
  8733. /// <param name="arg3">Value to interpolate into the format string.</param>
  8734. /// <returns>A new string produced by interpolating the format string.</returns>
  8735. [ExcludeFromBurstCompatTesting("Takes managed string")]
  8736. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, float arg0, string arg1, T1 arg2, T2 arg3)
  8737. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  8738. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  8739. {
  8740. FixedString512Bytes result = default;
  8741. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  8742. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  8743. result.AppendFormat(formatString, carg0, carg1, arg2, arg3);
  8744. return result;
  8745. }
  8746. /// <summary>
  8747. /// Returns a new string produced by interpolating a format string.
  8748. /// </summary>
  8749. /// <remarks>
  8750. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  8751. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  8752. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  8753. ///
  8754. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  8755. /// - FixedString*N*Bytes
  8756. /// - string
  8757. /// - int
  8758. /// - float
  8759. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  8760. ///
  8761. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  8762. /// </remarks>
  8763. /// <param name="formatString">The format string.</param>
  8764. /// <typeparam name="T1"><undoc /></typeparam>
  8765. /// <typeparam name="T2"><undoc /></typeparam>
  8766. /// <param name="arg0">Value to interpolate into the format string.</param>
  8767. /// <param name="arg1">Value to interpolate into the format string.</param>
  8768. /// <param name="arg2">Value to interpolate into the format string.</param>
  8769. /// <param name="arg3">Value to interpolate into the format string.</param>
  8770. /// <returns>A new string produced by interpolating the format string.</returns>
  8771. [ExcludeFromBurstCompatTesting("Takes managed string")]
  8772. public static FixedString512Bytes Format<T1,T2>(FixedString512Bytes formatString, string arg0, string arg1, T1 arg2, T2 arg3)
  8773. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  8774. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  8775. {
  8776. FixedString512Bytes result = default;
  8777. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  8778. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  8779. result.AppendFormat(formatString, carg0, carg1, arg2, arg3);
  8780. return result;
  8781. }
  8782. /// <summary>
  8783. /// Returns a new string produced by interpolating a format string.
  8784. /// </summary>
  8785. /// <remarks>
  8786. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  8787. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  8788. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  8789. ///
  8790. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  8791. /// - FixedString*N*Bytes
  8792. /// - string
  8793. /// - int
  8794. /// - float
  8795. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  8796. ///
  8797. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  8798. /// </remarks>
  8799. /// <param name="formatString">The format string.</param>
  8800. /// <typeparam name="T1"><undoc /></typeparam>
  8801. /// <typeparam name="T2"><undoc /></typeparam>
  8802. /// <typeparam name="T3"><undoc /></typeparam>
  8803. /// <param name="arg0">Value to interpolate into the format string.</param>
  8804. /// <param name="arg1">Value to interpolate into the format string.</param>
  8805. /// <param name="arg2">Value to interpolate into the format string.</param>
  8806. /// <param name="arg3">Value to interpolate into the format string.</param>
  8807. /// <returns>A new string produced by interpolating the format string.</returns>
  8808. [ExcludeFromBurstCompatTesting("Takes managed string")]
  8809. public static FixedString512Bytes Format<T1,T2,T3>(FixedString512Bytes formatString, T1 arg0, string arg1, T2 arg2, T3 arg3)
  8810. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  8811. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  8812. where T3 : unmanaged, INativeList<byte>, IUTF8Bytes
  8813. {
  8814. FixedString512Bytes result = default;
  8815. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  8816. result.AppendFormat(formatString, arg0, carg1, arg2, arg3);
  8817. return result;
  8818. }
  8819. /// <summary>
  8820. /// Returns a new string produced by interpolating a format string.
  8821. /// </summary>
  8822. /// <remarks>
  8823. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  8824. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  8825. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  8826. ///
  8827. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  8828. /// - FixedString*N*Bytes
  8829. /// - string
  8830. /// - int
  8831. /// - float
  8832. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  8833. ///
  8834. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  8835. /// </remarks>
  8836. /// <param name="formatString">The format string.</param>
  8837. /// <typeparam name="T1"><undoc /></typeparam>
  8838. /// <typeparam name="T2"><undoc /></typeparam>
  8839. /// <typeparam name="T3"><undoc /></typeparam>
  8840. /// <param name="arg0">Value to interpolate into the format string.</param>
  8841. /// <param name="arg1">Value to interpolate into the format string.</param>
  8842. /// <param name="arg2">Value to interpolate into the format string.</param>
  8843. /// <param name="arg3">Value to interpolate into the format string.</param>
  8844. /// <returns>A new string produced by interpolating the format string.</returns>
  8845. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/), typeof(FixedString32Bytes /*$T3*/) } )]
  8846. public static FixedString512Bytes Format<T1,T2,T3>(FixedString512Bytes formatString, int arg0, T1 arg1, T2 arg2, T3 arg3)
  8847. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  8848. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  8849. where T3 : unmanaged, INativeList<byte>, IUTF8Bytes
  8850. {
  8851. FixedString512Bytes result = default;
  8852. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  8853. result.AppendFormat(formatString, carg0, arg1, arg2, arg3);
  8854. return result;
  8855. }
  8856. /// <summary>
  8857. /// Returns a new string produced by interpolating a format string.
  8858. /// </summary>
  8859. /// <remarks>
  8860. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  8861. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  8862. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  8863. ///
  8864. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  8865. /// - FixedString*N*Bytes
  8866. /// - string
  8867. /// - int
  8868. /// - float
  8869. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  8870. ///
  8871. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  8872. /// </remarks>
  8873. /// <param name="formatString">The format string.</param>
  8874. /// <typeparam name="T1"><undoc /></typeparam>
  8875. /// <typeparam name="T2"><undoc /></typeparam>
  8876. /// <typeparam name="T3"><undoc /></typeparam>
  8877. /// <param name="arg0">Value to interpolate into the format string.</param>
  8878. /// <param name="arg1">Value to interpolate into the format string.</param>
  8879. /// <param name="arg2">Value to interpolate into the format string.</param>
  8880. /// <param name="arg3">Value to interpolate into the format string.</param>
  8881. /// <returns>A new string produced by interpolating the format string.</returns>
  8882. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/), typeof(FixedString32Bytes /*$T3*/) } )]
  8883. public static FixedString512Bytes Format<T1,T2,T3>(FixedString512Bytes formatString, float arg0, T1 arg1, T2 arg2, T3 arg3)
  8884. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  8885. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  8886. where T3 : unmanaged, INativeList<byte>, IUTF8Bytes
  8887. {
  8888. FixedString512Bytes result = default;
  8889. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  8890. result.AppendFormat(formatString, carg0, arg1, arg2, arg3);
  8891. return result;
  8892. }
  8893. /// <summary>
  8894. /// Returns a new string produced by interpolating a format string.
  8895. /// </summary>
  8896. /// <remarks>
  8897. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  8898. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  8899. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  8900. ///
  8901. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  8902. /// - FixedString*N*Bytes
  8903. /// - string
  8904. /// - int
  8905. /// - float
  8906. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  8907. ///
  8908. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  8909. /// </remarks>
  8910. /// <param name="formatString">The format string.</param>
  8911. /// <typeparam name="T1"><undoc /></typeparam>
  8912. /// <typeparam name="T2"><undoc /></typeparam>
  8913. /// <typeparam name="T3"><undoc /></typeparam>
  8914. /// <param name="arg0">Value to interpolate into the format string.</param>
  8915. /// <param name="arg1">Value to interpolate into the format string.</param>
  8916. /// <param name="arg2">Value to interpolate into the format string.</param>
  8917. /// <param name="arg3">Value to interpolate into the format string.</param>
  8918. /// <returns>A new string produced by interpolating the format string.</returns>
  8919. [ExcludeFromBurstCompatTesting("Takes managed string")]
  8920. public static FixedString512Bytes Format<T1,T2,T3>(FixedString512Bytes formatString, string arg0, T1 arg1, T2 arg2, T3 arg3)
  8921. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  8922. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  8923. where T3 : unmanaged, INativeList<byte>, IUTF8Bytes
  8924. {
  8925. FixedString512Bytes result = default;
  8926. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  8927. result.AppendFormat(formatString, carg0, arg1, arg2, arg3);
  8928. return result;
  8929. }
  8930. /// <summary>
  8931. /// Returns a new string produced by interpolating a format string.
  8932. /// </summary>
  8933. /// <remarks>
  8934. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  8935. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  8936. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  8937. ///
  8938. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  8939. /// - FixedString*N*Bytes
  8940. /// - string
  8941. /// - int
  8942. /// - float
  8943. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  8944. ///
  8945. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  8946. /// </remarks>
  8947. /// <param name="formatString">The format string.</param>
  8948. /// <typeparam name="T1"><undoc /></typeparam>
  8949. /// <typeparam name="T2"><undoc /></typeparam>
  8950. /// <typeparam name="T3"><undoc /></typeparam>
  8951. /// <typeparam name="T4"><undoc /></typeparam>
  8952. /// <param name="arg0">Value to interpolate into the format string.</param>
  8953. /// <param name="arg1">Value to interpolate into the format string.</param>
  8954. /// <param name="arg2">Value to interpolate into the format string.</param>
  8955. /// <param name="arg3">Value to interpolate into the format string.</param>
  8956. /// <returns>A new string produced by interpolating the format string.</returns>
  8957. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/), typeof(FixedString32Bytes /*$T3*/), typeof(FixedString32Bytes /*$T4*/) } )]
  8958. public static FixedString512Bytes Format<T1,T2,T3,T4>(FixedString512Bytes formatString, T1 arg0, T2 arg1, T3 arg2, T4 arg3)
  8959. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  8960. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  8961. where T3 : unmanaged, INativeList<byte>, IUTF8Bytes
  8962. where T4 : unmanaged, INativeList<byte>, IUTF8Bytes
  8963. {
  8964. FixedString512Bytes result = default;
  8965. result.AppendFormat(formatString, arg0, arg1, arg2, arg3);
  8966. return result;
  8967. }
  8968. /// <summary>
  8969. /// Returns a new string produced by interpolating a format string.
  8970. /// </summary>
  8971. /// <remarks>
  8972. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  8973. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  8974. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  8975. ///
  8976. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  8977. /// - FixedString*N*Bytes
  8978. /// - string
  8979. /// - int
  8980. /// - float
  8981. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  8982. ///
  8983. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  8984. /// </remarks>
  8985. /// <param name="formatString">The format string.</param>
  8986. /// <param name="arg0">Value to interpolate into the format string.</param>
  8987. /// <param name="arg1">Value to interpolate into the format string.</param>
  8988. /// <param name="arg2">Value to interpolate into the format string.</param>
  8989. /// <returns>A new string produced by interpolating the format string.</returns>
  8990. public static FixedString128Bytes Format(FixedString128Bytes formatString, int arg0, int arg1, int arg2)
  8991. {
  8992. FixedString128Bytes result = default;
  8993. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  8994. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  8995. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  8996. result.AppendFormat(formatString, carg0, carg1, carg2);
  8997. return result;
  8998. }
  8999. /// <summary>
  9000. /// Returns a new string produced by interpolating a format string.
  9001. /// </summary>
  9002. /// <remarks>
  9003. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  9004. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  9005. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  9006. ///
  9007. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  9008. /// - FixedString*N*Bytes
  9009. /// - string
  9010. /// - int
  9011. /// - float
  9012. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  9013. ///
  9014. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  9015. /// </remarks>
  9016. /// <param name="formatString">The format string.</param>
  9017. /// <param name="arg0">Value to interpolate into the format string.</param>
  9018. /// <param name="arg1">Value to interpolate into the format string.</param>
  9019. /// <param name="arg2">Value to interpolate into the format string.</param>
  9020. /// <returns>A new string produced by interpolating the format string.</returns>
  9021. public static FixedString128Bytes Format(FixedString128Bytes formatString, float arg0, int arg1, int arg2)
  9022. {
  9023. FixedString128Bytes result = default;
  9024. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  9025. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  9026. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  9027. result.AppendFormat(formatString, carg0, carg1, carg2);
  9028. return result;
  9029. }
  9030. /// <summary>
  9031. /// Returns a new string produced by interpolating a format string.
  9032. /// </summary>
  9033. /// <remarks>
  9034. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  9035. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  9036. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  9037. ///
  9038. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  9039. /// - FixedString*N*Bytes
  9040. /// - string
  9041. /// - int
  9042. /// - float
  9043. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  9044. ///
  9045. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  9046. /// </remarks>
  9047. /// <param name="formatString">The format string.</param>
  9048. /// <param name="arg0">Value to interpolate into the format string.</param>
  9049. /// <param name="arg1">Value to interpolate into the format string.</param>
  9050. /// <param name="arg2">Value to interpolate into the format string.</param>
  9051. /// <returns>A new string produced by interpolating the format string.</returns>
  9052. [ExcludeFromBurstCompatTesting("Takes managed string")]
  9053. public static FixedString128Bytes Format(FixedString128Bytes formatString, string arg0, int arg1, int arg2)
  9054. {
  9055. FixedString128Bytes result = default;
  9056. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  9057. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  9058. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  9059. result.AppendFormat(formatString, carg0, carg1, carg2);
  9060. return result;
  9061. }
  9062. /// <summary>
  9063. /// Returns a new string produced by interpolating a format string.
  9064. /// </summary>
  9065. /// <remarks>
  9066. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  9067. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  9068. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  9069. ///
  9070. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  9071. /// - FixedString*N*Bytes
  9072. /// - string
  9073. /// - int
  9074. /// - float
  9075. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  9076. ///
  9077. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  9078. /// </remarks>
  9079. /// <param name="formatString">The format string.</param>
  9080. /// <typeparam name="T1"><undoc /></typeparam>
  9081. /// <param name="arg0">Value to interpolate into the format string.</param>
  9082. /// <param name="arg1">Value to interpolate into the format string.</param>
  9083. /// <param name="arg2">Value to interpolate into the format string.</param>
  9084. /// <returns>A new string produced by interpolating the format string.</returns>
  9085. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  9086. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, T1 arg0, int arg1, int arg2)
  9087. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  9088. {
  9089. FixedString128Bytes result = default;
  9090. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  9091. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  9092. result.AppendFormat(formatString, arg0, carg1, carg2);
  9093. return result;
  9094. }
  9095. /// <summary>
  9096. /// Returns a new string produced by interpolating a format string.
  9097. /// </summary>
  9098. /// <remarks>
  9099. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  9100. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  9101. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  9102. ///
  9103. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  9104. /// - FixedString*N*Bytes
  9105. /// - string
  9106. /// - int
  9107. /// - float
  9108. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  9109. ///
  9110. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  9111. /// </remarks>
  9112. /// <param name="formatString">The format string.</param>
  9113. /// <param name="arg0">Value to interpolate into the format string.</param>
  9114. /// <param name="arg1">Value to interpolate into the format string.</param>
  9115. /// <param name="arg2">Value to interpolate into the format string.</param>
  9116. /// <returns>A new string produced by interpolating the format string.</returns>
  9117. public static FixedString128Bytes Format(FixedString128Bytes formatString, int arg0, float arg1, int arg2)
  9118. {
  9119. FixedString128Bytes result = default;
  9120. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  9121. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  9122. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  9123. result.AppendFormat(formatString, carg0, carg1, carg2);
  9124. return result;
  9125. }
  9126. /// <summary>
  9127. /// Returns a new string produced by interpolating a format string.
  9128. /// </summary>
  9129. /// <remarks>
  9130. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  9131. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  9132. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  9133. ///
  9134. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  9135. /// - FixedString*N*Bytes
  9136. /// - string
  9137. /// - int
  9138. /// - float
  9139. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  9140. ///
  9141. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  9142. /// </remarks>
  9143. /// <param name="formatString">The format string.</param>
  9144. /// <param name="arg0">Value to interpolate into the format string.</param>
  9145. /// <param name="arg1">Value to interpolate into the format string.</param>
  9146. /// <param name="arg2">Value to interpolate into the format string.</param>
  9147. /// <returns>A new string produced by interpolating the format string.</returns>
  9148. public static FixedString128Bytes Format(FixedString128Bytes formatString, float arg0, float arg1, int arg2)
  9149. {
  9150. FixedString128Bytes result = default;
  9151. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  9152. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  9153. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  9154. result.AppendFormat(formatString, carg0, carg1, carg2);
  9155. return result;
  9156. }
  9157. /// <summary>
  9158. /// Returns a new string produced by interpolating a format string.
  9159. /// </summary>
  9160. /// <remarks>
  9161. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  9162. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  9163. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  9164. ///
  9165. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  9166. /// - FixedString*N*Bytes
  9167. /// - string
  9168. /// - int
  9169. /// - float
  9170. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  9171. ///
  9172. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  9173. /// </remarks>
  9174. /// <param name="formatString">The format string.</param>
  9175. /// <param name="arg0">Value to interpolate into the format string.</param>
  9176. /// <param name="arg1">Value to interpolate into the format string.</param>
  9177. /// <param name="arg2">Value to interpolate into the format string.</param>
  9178. /// <returns>A new string produced by interpolating the format string.</returns>
  9179. [ExcludeFromBurstCompatTesting("Takes managed string")]
  9180. public static FixedString128Bytes Format(FixedString128Bytes formatString, string arg0, float arg1, int arg2)
  9181. {
  9182. FixedString128Bytes result = default;
  9183. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  9184. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  9185. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  9186. result.AppendFormat(formatString, carg0, carg1, carg2);
  9187. return result;
  9188. }
  9189. /// <summary>
  9190. /// Returns a new string produced by interpolating a format string.
  9191. /// </summary>
  9192. /// <remarks>
  9193. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  9194. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  9195. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  9196. ///
  9197. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  9198. /// - FixedString*N*Bytes
  9199. /// - string
  9200. /// - int
  9201. /// - float
  9202. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  9203. ///
  9204. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  9205. /// </remarks>
  9206. /// <param name="formatString">The format string.</param>
  9207. /// <typeparam name="T1"><undoc /></typeparam>
  9208. /// <param name="arg0">Value to interpolate into the format string.</param>
  9209. /// <param name="arg1">Value to interpolate into the format string.</param>
  9210. /// <param name="arg2">Value to interpolate into the format string.</param>
  9211. /// <returns>A new string produced by interpolating the format string.</returns>
  9212. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  9213. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, T1 arg0, float arg1, int arg2)
  9214. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  9215. {
  9216. FixedString128Bytes result = default;
  9217. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  9218. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  9219. result.AppendFormat(formatString, arg0, carg1, carg2);
  9220. return result;
  9221. }
  9222. /// <summary>
  9223. /// Returns a new string produced by interpolating a format string.
  9224. /// </summary>
  9225. /// <remarks>
  9226. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  9227. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  9228. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  9229. ///
  9230. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  9231. /// - FixedString*N*Bytes
  9232. /// - string
  9233. /// - int
  9234. /// - float
  9235. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  9236. ///
  9237. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  9238. /// </remarks>
  9239. /// <param name="formatString">The format string.</param>
  9240. /// <param name="arg0">Value to interpolate into the format string.</param>
  9241. /// <param name="arg1">Value to interpolate into the format string.</param>
  9242. /// <param name="arg2">Value to interpolate into the format string.</param>
  9243. /// <returns>A new string produced by interpolating the format string.</returns>
  9244. [ExcludeFromBurstCompatTesting("Takes managed string")]
  9245. public static FixedString128Bytes Format(FixedString128Bytes formatString, int arg0, string arg1, int arg2)
  9246. {
  9247. FixedString128Bytes result = default;
  9248. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  9249. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  9250. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  9251. result.AppendFormat(formatString, carg0, carg1, carg2);
  9252. return result;
  9253. }
  9254. /// <summary>
  9255. /// Returns a new string produced by interpolating a format string.
  9256. /// </summary>
  9257. /// <remarks>
  9258. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  9259. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  9260. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  9261. ///
  9262. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  9263. /// - FixedString*N*Bytes
  9264. /// - string
  9265. /// - int
  9266. /// - float
  9267. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  9268. ///
  9269. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  9270. /// </remarks>
  9271. /// <param name="formatString">The format string.</param>
  9272. /// <param name="arg0">Value to interpolate into the format string.</param>
  9273. /// <param name="arg1">Value to interpolate into the format string.</param>
  9274. /// <param name="arg2">Value to interpolate into the format string.</param>
  9275. /// <returns>A new string produced by interpolating the format string.</returns>
  9276. [ExcludeFromBurstCompatTesting("Takes managed string")]
  9277. public static FixedString128Bytes Format(FixedString128Bytes formatString, float arg0, string arg1, int arg2)
  9278. {
  9279. FixedString128Bytes result = default;
  9280. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  9281. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  9282. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  9283. result.AppendFormat(formatString, carg0, carg1, carg2);
  9284. return result;
  9285. }
  9286. /// <summary>
  9287. /// Returns a new string produced by interpolating a format string.
  9288. /// </summary>
  9289. /// <remarks>
  9290. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  9291. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  9292. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  9293. ///
  9294. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  9295. /// - FixedString*N*Bytes
  9296. /// - string
  9297. /// - int
  9298. /// - float
  9299. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  9300. ///
  9301. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  9302. /// </remarks>
  9303. /// <param name="formatString">The format string.</param>
  9304. /// <param name="arg0">Value to interpolate into the format string.</param>
  9305. /// <param name="arg1">Value to interpolate into the format string.</param>
  9306. /// <param name="arg2">Value to interpolate into the format string.</param>
  9307. /// <returns>A new string produced by interpolating the format string.</returns>
  9308. [ExcludeFromBurstCompatTesting("Takes managed string")]
  9309. public static FixedString128Bytes Format(FixedString128Bytes formatString, string arg0, string arg1, int arg2)
  9310. {
  9311. FixedString128Bytes result = default;
  9312. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  9313. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  9314. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  9315. result.AppendFormat(formatString, carg0, carg1, carg2);
  9316. return result;
  9317. }
  9318. /// <summary>
  9319. /// Returns a new string produced by interpolating a format string.
  9320. /// </summary>
  9321. /// <remarks>
  9322. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  9323. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  9324. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  9325. ///
  9326. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  9327. /// - FixedString*N*Bytes
  9328. /// - string
  9329. /// - int
  9330. /// - float
  9331. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  9332. ///
  9333. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  9334. /// </remarks>
  9335. /// <param name="formatString">The format string.</param>
  9336. /// <typeparam name="T1"><undoc /></typeparam>
  9337. /// <param name="arg0">Value to interpolate into the format string.</param>
  9338. /// <param name="arg1">Value to interpolate into the format string.</param>
  9339. /// <param name="arg2">Value to interpolate into the format string.</param>
  9340. /// <returns>A new string produced by interpolating the format string.</returns>
  9341. [ExcludeFromBurstCompatTesting("Takes managed string")]
  9342. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, T1 arg0, string arg1, int arg2)
  9343. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  9344. {
  9345. FixedString128Bytes result = default;
  9346. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  9347. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  9348. result.AppendFormat(formatString, arg0, carg1, carg2);
  9349. return result;
  9350. }
  9351. /// <summary>
  9352. /// Returns a new string produced by interpolating a format string.
  9353. /// </summary>
  9354. /// <remarks>
  9355. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  9356. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  9357. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  9358. ///
  9359. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  9360. /// - FixedString*N*Bytes
  9361. /// - string
  9362. /// - int
  9363. /// - float
  9364. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  9365. ///
  9366. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  9367. /// </remarks>
  9368. /// <param name="formatString">The format string.</param>
  9369. /// <typeparam name="T1"><undoc /></typeparam>
  9370. /// <param name="arg0">Value to interpolate into the format string.</param>
  9371. /// <param name="arg1">Value to interpolate into the format string.</param>
  9372. /// <param name="arg2">Value to interpolate into the format string.</param>
  9373. /// <returns>A new string produced by interpolating the format string.</returns>
  9374. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  9375. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, int arg0, T1 arg1, int arg2)
  9376. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  9377. {
  9378. FixedString128Bytes result = default;
  9379. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  9380. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  9381. result.AppendFormat(formatString, carg0, arg1, carg2);
  9382. return result;
  9383. }
  9384. /// <summary>
  9385. /// Returns a new string produced by interpolating a format string.
  9386. /// </summary>
  9387. /// <remarks>
  9388. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  9389. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  9390. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  9391. ///
  9392. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  9393. /// - FixedString*N*Bytes
  9394. /// - string
  9395. /// - int
  9396. /// - float
  9397. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  9398. ///
  9399. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  9400. /// </remarks>
  9401. /// <param name="formatString">The format string.</param>
  9402. /// <typeparam name="T1"><undoc /></typeparam>
  9403. /// <param name="arg0">Value to interpolate into the format string.</param>
  9404. /// <param name="arg1">Value to interpolate into the format string.</param>
  9405. /// <param name="arg2">Value to interpolate into the format string.</param>
  9406. /// <returns>A new string produced by interpolating the format string.</returns>
  9407. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  9408. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, float arg0, T1 arg1, int arg2)
  9409. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  9410. {
  9411. FixedString128Bytes result = default;
  9412. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  9413. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  9414. result.AppendFormat(formatString, carg0, arg1, carg2);
  9415. return result;
  9416. }
  9417. /// <summary>
  9418. /// Returns a new string produced by interpolating a format string.
  9419. /// </summary>
  9420. /// <remarks>
  9421. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  9422. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  9423. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  9424. ///
  9425. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  9426. /// - FixedString*N*Bytes
  9427. /// - string
  9428. /// - int
  9429. /// - float
  9430. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  9431. ///
  9432. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  9433. /// </remarks>
  9434. /// <param name="formatString">The format string.</param>
  9435. /// <typeparam name="T1"><undoc /></typeparam>
  9436. /// <param name="arg0">Value to interpolate into the format string.</param>
  9437. /// <param name="arg1">Value to interpolate into the format string.</param>
  9438. /// <param name="arg2">Value to interpolate into the format string.</param>
  9439. /// <returns>A new string produced by interpolating the format string.</returns>
  9440. [ExcludeFromBurstCompatTesting("Takes managed string")]
  9441. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, string arg0, T1 arg1, int arg2)
  9442. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  9443. {
  9444. FixedString128Bytes result = default;
  9445. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  9446. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  9447. result.AppendFormat(formatString, carg0, arg1, carg2);
  9448. return result;
  9449. }
  9450. /// <summary>
  9451. /// Returns a new string produced by interpolating a format string.
  9452. /// </summary>
  9453. /// <remarks>
  9454. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  9455. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  9456. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  9457. ///
  9458. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  9459. /// - FixedString*N*Bytes
  9460. /// - string
  9461. /// - int
  9462. /// - float
  9463. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  9464. ///
  9465. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  9466. /// </remarks>
  9467. /// <param name="formatString">The format string.</param>
  9468. /// <typeparam name="T1"><undoc /></typeparam>
  9469. /// <typeparam name="T2"><undoc /></typeparam>
  9470. /// <param name="arg0">Value to interpolate into the format string.</param>
  9471. /// <param name="arg1">Value to interpolate into the format string.</param>
  9472. /// <param name="arg2">Value to interpolate into the format string.</param>
  9473. /// <returns>A new string produced by interpolating the format string.</returns>
  9474. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/) } )]
  9475. public static FixedString128Bytes Format<T1,T2>(FixedString128Bytes formatString, T1 arg0, T2 arg1, int arg2)
  9476. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  9477. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  9478. {
  9479. FixedString128Bytes result = default;
  9480. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  9481. result.AppendFormat(formatString, arg0, arg1, carg2);
  9482. return result;
  9483. }
  9484. /// <summary>
  9485. /// Returns a new string produced by interpolating a format string.
  9486. /// </summary>
  9487. /// <remarks>
  9488. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  9489. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  9490. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  9491. ///
  9492. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  9493. /// - FixedString*N*Bytes
  9494. /// - string
  9495. /// - int
  9496. /// - float
  9497. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  9498. ///
  9499. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  9500. /// </remarks>
  9501. /// <param name="formatString">The format string.</param>
  9502. /// <param name="arg0">Value to interpolate into the format string.</param>
  9503. /// <param name="arg1">Value to interpolate into the format string.</param>
  9504. /// <param name="arg2">Value to interpolate into the format string.</param>
  9505. /// <returns>A new string produced by interpolating the format string.</returns>
  9506. public static FixedString128Bytes Format(FixedString128Bytes formatString, int arg0, int arg1, float arg2)
  9507. {
  9508. FixedString128Bytes result = default;
  9509. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  9510. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  9511. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  9512. result.AppendFormat(formatString, carg0, carg1, carg2);
  9513. return result;
  9514. }
  9515. /// <summary>
  9516. /// Returns a new string produced by interpolating a format string.
  9517. /// </summary>
  9518. /// <remarks>
  9519. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  9520. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  9521. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  9522. ///
  9523. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  9524. /// - FixedString*N*Bytes
  9525. /// - string
  9526. /// - int
  9527. /// - float
  9528. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  9529. ///
  9530. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  9531. /// </remarks>
  9532. /// <param name="formatString">The format string.</param>
  9533. /// <param name="arg0">Value to interpolate into the format string.</param>
  9534. /// <param name="arg1">Value to interpolate into the format string.</param>
  9535. /// <param name="arg2">Value to interpolate into the format string.</param>
  9536. /// <returns>A new string produced by interpolating the format string.</returns>
  9537. public static FixedString128Bytes Format(FixedString128Bytes formatString, float arg0, int arg1, float arg2)
  9538. {
  9539. FixedString128Bytes result = default;
  9540. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  9541. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  9542. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  9543. result.AppendFormat(formatString, carg0, carg1, carg2);
  9544. return result;
  9545. }
  9546. /// <summary>
  9547. /// Returns a new string produced by interpolating a format string.
  9548. /// </summary>
  9549. /// <remarks>
  9550. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  9551. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  9552. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  9553. ///
  9554. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  9555. /// - FixedString*N*Bytes
  9556. /// - string
  9557. /// - int
  9558. /// - float
  9559. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  9560. ///
  9561. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  9562. /// </remarks>
  9563. /// <param name="formatString">The format string.</param>
  9564. /// <param name="arg0">Value to interpolate into the format string.</param>
  9565. /// <param name="arg1">Value to interpolate into the format string.</param>
  9566. /// <param name="arg2">Value to interpolate into the format string.</param>
  9567. /// <returns>A new string produced by interpolating the format string.</returns>
  9568. [ExcludeFromBurstCompatTesting("Takes managed string")]
  9569. public static FixedString128Bytes Format(FixedString128Bytes formatString, string arg0, int arg1, float arg2)
  9570. {
  9571. FixedString128Bytes result = default;
  9572. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  9573. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  9574. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  9575. result.AppendFormat(formatString, carg0, carg1, carg2);
  9576. return result;
  9577. }
  9578. /// <summary>
  9579. /// Returns a new string produced by interpolating a format string.
  9580. /// </summary>
  9581. /// <remarks>
  9582. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  9583. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  9584. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  9585. ///
  9586. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  9587. /// - FixedString*N*Bytes
  9588. /// - string
  9589. /// - int
  9590. /// - float
  9591. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  9592. ///
  9593. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  9594. /// </remarks>
  9595. /// <param name="formatString">The format string.</param>
  9596. /// <typeparam name="T1"><undoc /></typeparam>
  9597. /// <param name="arg0">Value to interpolate into the format string.</param>
  9598. /// <param name="arg1">Value to interpolate into the format string.</param>
  9599. /// <param name="arg2">Value to interpolate into the format string.</param>
  9600. /// <returns>A new string produced by interpolating the format string.</returns>
  9601. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  9602. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, T1 arg0, int arg1, float arg2)
  9603. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  9604. {
  9605. FixedString128Bytes result = default;
  9606. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  9607. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  9608. result.AppendFormat(formatString, arg0, carg1, carg2);
  9609. return result;
  9610. }
  9611. /// <summary>
  9612. /// Returns a new string produced by interpolating a format string.
  9613. /// </summary>
  9614. /// <remarks>
  9615. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  9616. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  9617. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  9618. ///
  9619. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  9620. /// - FixedString*N*Bytes
  9621. /// - string
  9622. /// - int
  9623. /// - float
  9624. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  9625. ///
  9626. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  9627. /// </remarks>
  9628. /// <param name="formatString">The format string.</param>
  9629. /// <param name="arg0">Value to interpolate into the format string.</param>
  9630. /// <param name="arg1">Value to interpolate into the format string.</param>
  9631. /// <param name="arg2">Value to interpolate into the format string.</param>
  9632. /// <returns>A new string produced by interpolating the format string.</returns>
  9633. public static FixedString128Bytes Format(FixedString128Bytes formatString, int arg0, float arg1, float arg2)
  9634. {
  9635. FixedString128Bytes result = default;
  9636. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  9637. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  9638. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  9639. result.AppendFormat(formatString, carg0, carg1, carg2);
  9640. return result;
  9641. }
  9642. /// <summary>
  9643. /// Returns a new string produced by interpolating a format string.
  9644. /// </summary>
  9645. /// <remarks>
  9646. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  9647. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  9648. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  9649. ///
  9650. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  9651. /// - FixedString*N*Bytes
  9652. /// - string
  9653. /// - int
  9654. /// - float
  9655. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  9656. ///
  9657. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  9658. /// </remarks>
  9659. /// <param name="formatString">The format string.</param>
  9660. /// <param name="arg0">Value to interpolate into the format string.</param>
  9661. /// <param name="arg1">Value to interpolate into the format string.</param>
  9662. /// <param name="arg2">Value to interpolate into the format string.</param>
  9663. /// <returns>A new string produced by interpolating the format string.</returns>
  9664. public static FixedString128Bytes Format(FixedString128Bytes formatString, float arg0, float arg1, float arg2)
  9665. {
  9666. FixedString128Bytes result = default;
  9667. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  9668. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  9669. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  9670. result.AppendFormat(formatString, carg0, carg1, carg2);
  9671. return result;
  9672. }
  9673. /// <summary>
  9674. /// Returns a new string produced by interpolating a format string.
  9675. /// </summary>
  9676. /// <remarks>
  9677. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  9678. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  9679. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  9680. ///
  9681. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  9682. /// - FixedString*N*Bytes
  9683. /// - string
  9684. /// - int
  9685. /// - float
  9686. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  9687. ///
  9688. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  9689. /// </remarks>
  9690. /// <param name="formatString">The format string.</param>
  9691. /// <param name="arg0">Value to interpolate into the format string.</param>
  9692. /// <param name="arg1">Value to interpolate into the format string.</param>
  9693. /// <param name="arg2">Value to interpolate into the format string.</param>
  9694. /// <returns>A new string produced by interpolating the format string.</returns>
  9695. [ExcludeFromBurstCompatTesting("Takes managed string")]
  9696. public static FixedString128Bytes Format(FixedString128Bytes formatString, string arg0, float arg1, float arg2)
  9697. {
  9698. FixedString128Bytes result = default;
  9699. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  9700. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  9701. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  9702. result.AppendFormat(formatString, carg0, carg1, carg2);
  9703. return result;
  9704. }
  9705. /// <summary>
  9706. /// Returns a new string produced by interpolating a format string.
  9707. /// </summary>
  9708. /// <remarks>
  9709. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  9710. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  9711. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  9712. ///
  9713. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  9714. /// - FixedString*N*Bytes
  9715. /// - string
  9716. /// - int
  9717. /// - float
  9718. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  9719. ///
  9720. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  9721. /// </remarks>
  9722. /// <param name="formatString">The format string.</param>
  9723. /// <typeparam name="T1"><undoc /></typeparam>
  9724. /// <param name="arg0">Value to interpolate into the format string.</param>
  9725. /// <param name="arg1">Value to interpolate into the format string.</param>
  9726. /// <param name="arg2">Value to interpolate into the format string.</param>
  9727. /// <returns>A new string produced by interpolating the format string.</returns>
  9728. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  9729. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, T1 arg0, float arg1, float arg2)
  9730. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  9731. {
  9732. FixedString128Bytes result = default;
  9733. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  9734. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  9735. result.AppendFormat(formatString, arg0, carg1, carg2);
  9736. return result;
  9737. }
  9738. /// <summary>
  9739. /// Returns a new string produced by interpolating a format string.
  9740. /// </summary>
  9741. /// <remarks>
  9742. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  9743. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  9744. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  9745. ///
  9746. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  9747. /// - FixedString*N*Bytes
  9748. /// - string
  9749. /// - int
  9750. /// - float
  9751. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  9752. ///
  9753. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  9754. /// </remarks>
  9755. /// <param name="formatString">The format string.</param>
  9756. /// <param name="arg0">Value to interpolate into the format string.</param>
  9757. /// <param name="arg1">Value to interpolate into the format string.</param>
  9758. /// <param name="arg2">Value to interpolate into the format string.</param>
  9759. /// <returns>A new string produced by interpolating the format string.</returns>
  9760. [ExcludeFromBurstCompatTesting("Takes managed string")]
  9761. public static FixedString128Bytes Format(FixedString128Bytes formatString, int arg0, string arg1, float arg2)
  9762. {
  9763. FixedString128Bytes result = default;
  9764. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  9765. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  9766. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  9767. result.AppendFormat(formatString, carg0, carg1, carg2);
  9768. return result;
  9769. }
  9770. /// <summary>
  9771. /// Returns a new string produced by interpolating a format string.
  9772. /// </summary>
  9773. /// <remarks>
  9774. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  9775. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  9776. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  9777. ///
  9778. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  9779. /// - FixedString*N*Bytes
  9780. /// - string
  9781. /// - int
  9782. /// - float
  9783. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  9784. ///
  9785. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  9786. /// </remarks>
  9787. /// <param name="formatString">The format string.</param>
  9788. /// <param name="arg0">Value to interpolate into the format string.</param>
  9789. /// <param name="arg1">Value to interpolate into the format string.</param>
  9790. /// <param name="arg2">Value to interpolate into the format string.</param>
  9791. /// <returns>A new string produced by interpolating the format string.</returns>
  9792. [ExcludeFromBurstCompatTesting("Takes managed string")]
  9793. public static FixedString128Bytes Format(FixedString128Bytes formatString, float arg0, string arg1, float arg2)
  9794. {
  9795. FixedString128Bytes result = default;
  9796. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  9797. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  9798. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  9799. result.AppendFormat(formatString, carg0, carg1, carg2);
  9800. return result;
  9801. }
  9802. /// <summary>
  9803. /// Returns a new string produced by interpolating a format string.
  9804. /// </summary>
  9805. /// <remarks>
  9806. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  9807. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  9808. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  9809. ///
  9810. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  9811. /// - FixedString*N*Bytes
  9812. /// - string
  9813. /// - int
  9814. /// - float
  9815. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  9816. ///
  9817. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  9818. /// </remarks>
  9819. /// <param name="formatString">The format string.</param>
  9820. /// <param name="arg0">Value to interpolate into the format string.</param>
  9821. /// <param name="arg1">Value to interpolate into the format string.</param>
  9822. /// <param name="arg2">Value to interpolate into the format string.</param>
  9823. /// <returns>A new string produced by interpolating the format string.</returns>
  9824. [ExcludeFromBurstCompatTesting("Takes managed string")]
  9825. public static FixedString128Bytes Format(FixedString128Bytes formatString, string arg0, string arg1, float arg2)
  9826. {
  9827. FixedString128Bytes result = default;
  9828. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  9829. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  9830. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  9831. result.AppendFormat(formatString, carg0, carg1, carg2);
  9832. return result;
  9833. }
  9834. /// <summary>
  9835. /// Returns a new string produced by interpolating a format string.
  9836. /// </summary>
  9837. /// <remarks>
  9838. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  9839. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  9840. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  9841. ///
  9842. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  9843. /// - FixedString*N*Bytes
  9844. /// - string
  9845. /// - int
  9846. /// - float
  9847. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  9848. ///
  9849. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  9850. /// </remarks>
  9851. /// <param name="formatString">The format string.</param>
  9852. /// <typeparam name="T1"><undoc /></typeparam>
  9853. /// <param name="arg0">Value to interpolate into the format string.</param>
  9854. /// <param name="arg1">Value to interpolate into the format string.</param>
  9855. /// <param name="arg2">Value to interpolate into the format string.</param>
  9856. /// <returns>A new string produced by interpolating the format string.</returns>
  9857. [ExcludeFromBurstCompatTesting("Takes managed string")]
  9858. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, T1 arg0, string arg1, float arg2)
  9859. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  9860. {
  9861. FixedString128Bytes result = default;
  9862. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  9863. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  9864. result.AppendFormat(formatString, arg0, carg1, carg2);
  9865. return result;
  9866. }
  9867. /// <summary>
  9868. /// Returns a new string produced by interpolating a format string.
  9869. /// </summary>
  9870. /// <remarks>
  9871. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  9872. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  9873. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  9874. ///
  9875. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  9876. /// - FixedString*N*Bytes
  9877. /// - string
  9878. /// - int
  9879. /// - float
  9880. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  9881. ///
  9882. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  9883. /// </remarks>
  9884. /// <param name="formatString">The format string.</param>
  9885. /// <typeparam name="T1"><undoc /></typeparam>
  9886. /// <param name="arg0">Value to interpolate into the format string.</param>
  9887. /// <param name="arg1">Value to interpolate into the format string.</param>
  9888. /// <param name="arg2">Value to interpolate into the format string.</param>
  9889. /// <returns>A new string produced by interpolating the format string.</returns>
  9890. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  9891. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, int arg0, T1 arg1, float arg2)
  9892. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  9893. {
  9894. FixedString128Bytes result = default;
  9895. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  9896. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  9897. result.AppendFormat(formatString, carg0, arg1, carg2);
  9898. return result;
  9899. }
  9900. /// <summary>
  9901. /// Returns a new string produced by interpolating a format string.
  9902. /// </summary>
  9903. /// <remarks>
  9904. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  9905. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  9906. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  9907. ///
  9908. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  9909. /// - FixedString*N*Bytes
  9910. /// - string
  9911. /// - int
  9912. /// - float
  9913. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  9914. ///
  9915. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  9916. /// </remarks>
  9917. /// <param name="formatString">The format string.</param>
  9918. /// <typeparam name="T1"><undoc /></typeparam>
  9919. /// <param name="arg0">Value to interpolate into the format string.</param>
  9920. /// <param name="arg1">Value to interpolate into the format string.</param>
  9921. /// <param name="arg2">Value to interpolate into the format string.</param>
  9922. /// <returns>A new string produced by interpolating the format string.</returns>
  9923. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  9924. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, float arg0, T1 arg1, float arg2)
  9925. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  9926. {
  9927. FixedString128Bytes result = default;
  9928. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  9929. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  9930. result.AppendFormat(formatString, carg0, arg1, carg2);
  9931. return result;
  9932. }
  9933. /// <summary>
  9934. /// Returns a new string produced by interpolating a format string.
  9935. /// </summary>
  9936. /// <remarks>
  9937. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  9938. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  9939. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  9940. ///
  9941. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  9942. /// - FixedString*N*Bytes
  9943. /// - string
  9944. /// - int
  9945. /// - float
  9946. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  9947. ///
  9948. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  9949. /// </remarks>
  9950. /// <param name="formatString">The format string.</param>
  9951. /// <typeparam name="T1"><undoc /></typeparam>
  9952. /// <param name="arg0">Value to interpolate into the format string.</param>
  9953. /// <param name="arg1">Value to interpolate into the format string.</param>
  9954. /// <param name="arg2">Value to interpolate into the format string.</param>
  9955. /// <returns>A new string produced by interpolating the format string.</returns>
  9956. [ExcludeFromBurstCompatTesting("Takes managed string")]
  9957. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, string arg0, T1 arg1, float arg2)
  9958. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  9959. {
  9960. FixedString128Bytes result = default;
  9961. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  9962. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  9963. result.AppendFormat(formatString, carg0, arg1, carg2);
  9964. return result;
  9965. }
  9966. /// <summary>
  9967. /// Returns a new string produced by interpolating a format string.
  9968. /// </summary>
  9969. /// <remarks>
  9970. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  9971. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  9972. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  9973. ///
  9974. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  9975. /// - FixedString*N*Bytes
  9976. /// - string
  9977. /// - int
  9978. /// - float
  9979. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  9980. ///
  9981. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  9982. /// </remarks>
  9983. /// <param name="formatString">The format string.</param>
  9984. /// <typeparam name="T1"><undoc /></typeparam>
  9985. /// <typeparam name="T2"><undoc /></typeparam>
  9986. /// <param name="arg0">Value to interpolate into the format string.</param>
  9987. /// <param name="arg1">Value to interpolate into the format string.</param>
  9988. /// <param name="arg2">Value to interpolate into the format string.</param>
  9989. /// <returns>A new string produced by interpolating the format string.</returns>
  9990. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/) } )]
  9991. public static FixedString128Bytes Format<T1,T2>(FixedString128Bytes formatString, T1 arg0, T2 arg1, float arg2)
  9992. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  9993. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  9994. {
  9995. FixedString128Bytes result = default;
  9996. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  9997. result.AppendFormat(formatString, arg0, arg1, carg2);
  9998. return result;
  9999. }
  10000. /// <summary>
  10001. /// Returns a new string produced by interpolating a format string.
  10002. /// </summary>
  10003. /// <remarks>
  10004. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  10005. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  10006. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  10007. ///
  10008. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  10009. /// - FixedString*N*Bytes
  10010. /// - string
  10011. /// - int
  10012. /// - float
  10013. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  10014. ///
  10015. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  10016. /// </remarks>
  10017. /// <param name="formatString">The format string.</param>
  10018. /// <param name="arg0">Value to interpolate into the format string.</param>
  10019. /// <param name="arg1">Value to interpolate into the format string.</param>
  10020. /// <param name="arg2">Value to interpolate into the format string.</param>
  10021. /// <returns>A new string produced by interpolating the format string.</returns>
  10022. [ExcludeFromBurstCompatTesting("Takes managed string")]
  10023. public static FixedString128Bytes Format(FixedString128Bytes formatString, int arg0, int arg1, string arg2)
  10024. {
  10025. FixedString128Bytes result = default;
  10026. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  10027. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  10028. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  10029. result.AppendFormat(formatString, carg0, carg1, carg2);
  10030. return result;
  10031. }
  10032. /// <summary>
  10033. /// Returns a new string produced by interpolating a format string.
  10034. /// </summary>
  10035. /// <remarks>
  10036. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  10037. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  10038. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  10039. ///
  10040. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  10041. /// - FixedString*N*Bytes
  10042. /// - string
  10043. /// - int
  10044. /// - float
  10045. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  10046. ///
  10047. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  10048. /// </remarks>
  10049. /// <param name="formatString">The format string.</param>
  10050. /// <param name="arg0">Value to interpolate into the format string.</param>
  10051. /// <param name="arg1">Value to interpolate into the format string.</param>
  10052. /// <param name="arg2">Value to interpolate into the format string.</param>
  10053. /// <returns>A new string produced by interpolating the format string.</returns>
  10054. [ExcludeFromBurstCompatTesting("Takes managed string")]
  10055. public static FixedString128Bytes Format(FixedString128Bytes formatString, float arg0, int arg1, string arg2)
  10056. {
  10057. FixedString128Bytes result = default;
  10058. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  10059. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  10060. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  10061. result.AppendFormat(formatString, carg0, carg1, carg2);
  10062. return result;
  10063. }
  10064. /// <summary>
  10065. /// Returns a new string produced by interpolating a format string.
  10066. /// </summary>
  10067. /// <remarks>
  10068. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  10069. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  10070. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  10071. ///
  10072. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  10073. /// - FixedString*N*Bytes
  10074. /// - string
  10075. /// - int
  10076. /// - float
  10077. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  10078. ///
  10079. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  10080. /// </remarks>
  10081. /// <param name="formatString">The format string.</param>
  10082. /// <param name="arg0">Value to interpolate into the format string.</param>
  10083. /// <param name="arg1">Value to interpolate into the format string.</param>
  10084. /// <param name="arg2">Value to interpolate into the format string.</param>
  10085. /// <returns>A new string produced by interpolating the format string.</returns>
  10086. [ExcludeFromBurstCompatTesting("Takes managed string")]
  10087. public static FixedString128Bytes Format(FixedString128Bytes formatString, string arg0, int arg1, string arg2)
  10088. {
  10089. FixedString128Bytes result = default;
  10090. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  10091. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  10092. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  10093. result.AppendFormat(formatString, carg0, carg1, carg2);
  10094. return result;
  10095. }
  10096. /// <summary>
  10097. /// Returns a new string produced by interpolating a format string.
  10098. /// </summary>
  10099. /// <remarks>
  10100. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  10101. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  10102. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  10103. ///
  10104. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  10105. /// - FixedString*N*Bytes
  10106. /// - string
  10107. /// - int
  10108. /// - float
  10109. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  10110. ///
  10111. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  10112. /// </remarks>
  10113. /// <param name="formatString">The format string.</param>
  10114. /// <typeparam name="T1"><undoc /></typeparam>
  10115. /// <param name="arg0">Value to interpolate into the format string.</param>
  10116. /// <param name="arg1">Value to interpolate into the format string.</param>
  10117. /// <param name="arg2">Value to interpolate into the format string.</param>
  10118. /// <returns>A new string produced by interpolating the format string.</returns>
  10119. [ExcludeFromBurstCompatTesting("Takes managed string")]
  10120. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, T1 arg0, int arg1, string arg2)
  10121. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  10122. {
  10123. FixedString128Bytes result = default;
  10124. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  10125. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  10126. result.AppendFormat(formatString, arg0, carg1, carg2);
  10127. return result;
  10128. }
  10129. /// <summary>
  10130. /// Returns a new string produced by interpolating a format string.
  10131. /// </summary>
  10132. /// <remarks>
  10133. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  10134. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  10135. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  10136. ///
  10137. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  10138. /// - FixedString*N*Bytes
  10139. /// - string
  10140. /// - int
  10141. /// - float
  10142. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  10143. ///
  10144. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  10145. /// </remarks>
  10146. /// <param name="formatString">The format string.</param>
  10147. /// <param name="arg0">Value to interpolate into the format string.</param>
  10148. /// <param name="arg1">Value to interpolate into the format string.</param>
  10149. /// <param name="arg2">Value to interpolate into the format string.</param>
  10150. /// <returns>A new string produced by interpolating the format string.</returns>
  10151. [ExcludeFromBurstCompatTesting("Takes managed string")]
  10152. public static FixedString128Bytes Format(FixedString128Bytes formatString, int arg0, float arg1, string arg2)
  10153. {
  10154. FixedString128Bytes result = default;
  10155. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  10156. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  10157. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  10158. result.AppendFormat(formatString, carg0, carg1, carg2);
  10159. return result;
  10160. }
  10161. /// <summary>
  10162. /// Returns a new string produced by interpolating a format string.
  10163. /// </summary>
  10164. /// <remarks>
  10165. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  10166. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  10167. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  10168. ///
  10169. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  10170. /// - FixedString*N*Bytes
  10171. /// - string
  10172. /// - int
  10173. /// - float
  10174. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  10175. ///
  10176. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  10177. /// </remarks>
  10178. /// <param name="formatString">The format string.</param>
  10179. /// <param name="arg0">Value to interpolate into the format string.</param>
  10180. /// <param name="arg1">Value to interpolate into the format string.</param>
  10181. /// <param name="arg2">Value to interpolate into the format string.</param>
  10182. /// <returns>A new string produced by interpolating the format string.</returns>
  10183. [ExcludeFromBurstCompatTesting("Takes managed string")]
  10184. public static FixedString128Bytes Format(FixedString128Bytes formatString, float arg0, float arg1, string arg2)
  10185. {
  10186. FixedString128Bytes result = default;
  10187. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  10188. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  10189. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  10190. result.AppendFormat(formatString, carg0, carg1, carg2);
  10191. return result;
  10192. }
  10193. /// <summary>
  10194. /// Returns a new string produced by interpolating a format string.
  10195. /// </summary>
  10196. /// <remarks>
  10197. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  10198. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  10199. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  10200. ///
  10201. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  10202. /// - FixedString*N*Bytes
  10203. /// - string
  10204. /// - int
  10205. /// - float
  10206. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  10207. ///
  10208. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  10209. /// </remarks>
  10210. /// <param name="formatString">The format string.</param>
  10211. /// <param name="arg0">Value to interpolate into the format string.</param>
  10212. /// <param name="arg1">Value to interpolate into the format string.</param>
  10213. /// <param name="arg2">Value to interpolate into the format string.</param>
  10214. /// <returns>A new string produced by interpolating the format string.</returns>
  10215. [ExcludeFromBurstCompatTesting("Takes managed string")]
  10216. public static FixedString128Bytes Format(FixedString128Bytes formatString, string arg0, float arg1, string arg2)
  10217. {
  10218. FixedString128Bytes result = default;
  10219. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  10220. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  10221. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  10222. result.AppendFormat(formatString, carg0, carg1, carg2);
  10223. return result;
  10224. }
  10225. /// <summary>
  10226. /// Returns a new string produced by interpolating a format string.
  10227. /// </summary>
  10228. /// <remarks>
  10229. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  10230. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  10231. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  10232. ///
  10233. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  10234. /// - FixedString*N*Bytes
  10235. /// - string
  10236. /// - int
  10237. /// - float
  10238. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  10239. ///
  10240. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  10241. /// </remarks>
  10242. /// <param name="formatString">The format string.</param>
  10243. /// <typeparam name="T1"><undoc /></typeparam>
  10244. /// <param name="arg0">Value to interpolate into the format string.</param>
  10245. /// <param name="arg1">Value to interpolate into the format string.</param>
  10246. /// <param name="arg2">Value to interpolate into the format string.</param>
  10247. /// <returns>A new string produced by interpolating the format string.</returns>
  10248. [ExcludeFromBurstCompatTesting("Takes managed string")]
  10249. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, T1 arg0, float arg1, string arg2)
  10250. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  10251. {
  10252. FixedString128Bytes result = default;
  10253. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  10254. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  10255. result.AppendFormat(formatString, arg0, carg1, carg2);
  10256. return result;
  10257. }
  10258. /// <summary>
  10259. /// Returns a new string produced by interpolating a format string.
  10260. /// </summary>
  10261. /// <remarks>
  10262. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  10263. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  10264. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  10265. ///
  10266. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  10267. /// - FixedString*N*Bytes
  10268. /// - string
  10269. /// - int
  10270. /// - float
  10271. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  10272. ///
  10273. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  10274. /// </remarks>
  10275. /// <param name="formatString">The format string.</param>
  10276. /// <param name="arg0">Value to interpolate into the format string.</param>
  10277. /// <param name="arg1">Value to interpolate into the format string.</param>
  10278. /// <param name="arg2">Value to interpolate into the format string.</param>
  10279. /// <returns>A new string produced by interpolating the format string.</returns>
  10280. [ExcludeFromBurstCompatTesting("Takes managed string")]
  10281. public static FixedString128Bytes Format(FixedString128Bytes formatString, int arg0, string arg1, string arg2)
  10282. {
  10283. FixedString128Bytes result = default;
  10284. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  10285. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  10286. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  10287. result.AppendFormat(formatString, carg0, carg1, carg2);
  10288. return result;
  10289. }
  10290. /// <summary>
  10291. /// Returns a new string produced by interpolating a format string.
  10292. /// </summary>
  10293. /// <remarks>
  10294. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  10295. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  10296. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  10297. ///
  10298. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  10299. /// - FixedString*N*Bytes
  10300. /// - string
  10301. /// - int
  10302. /// - float
  10303. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  10304. ///
  10305. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  10306. /// </remarks>
  10307. /// <param name="formatString">The format string.</param>
  10308. /// <param name="arg0">Value to interpolate into the format string.</param>
  10309. /// <param name="arg1">Value to interpolate into the format string.</param>
  10310. /// <param name="arg2">Value to interpolate into the format string.</param>
  10311. /// <returns>A new string produced by interpolating the format string.</returns>
  10312. [ExcludeFromBurstCompatTesting("Takes managed string")]
  10313. public static FixedString128Bytes Format(FixedString128Bytes formatString, float arg0, string arg1, string arg2)
  10314. {
  10315. FixedString128Bytes result = default;
  10316. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  10317. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  10318. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  10319. result.AppendFormat(formatString, carg0, carg1, carg2);
  10320. return result;
  10321. }
  10322. /// <summary>
  10323. /// Returns a new string produced by interpolating a format string.
  10324. /// </summary>
  10325. /// <remarks>
  10326. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  10327. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  10328. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  10329. ///
  10330. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  10331. /// - FixedString*N*Bytes
  10332. /// - string
  10333. /// - int
  10334. /// - float
  10335. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  10336. ///
  10337. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  10338. /// </remarks>
  10339. /// <param name="formatString">The format string.</param>
  10340. /// <param name="arg0">Value to interpolate into the format string.</param>
  10341. /// <param name="arg1">Value to interpolate into the format string.</param>
  10342. /// <param name="arg2">Value to interpolate into the format string.</param>
  10343. /// <returns>A new string produced by interpolating the format string.</returns>
  10344. [ExcludeFromBurstCompatTesting("Takes managed string")]
  10345. public static FixedString128Bytes Format(FixedString128Bytes formatString, string arg0, string arg1, string arg2)
  10346. {
  10347. FixedString128Bytes result = default;
  10348. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  10349. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  10350. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  10351. result.AppendFormat(formatString, carg0, carg1, carg2);
  10352. return result;
  10353. }
  10354. /// <summary>
  10355. /// Returns a new string produced by interpolating a format string.
  10356. /// </summary>
  10357. /// <remarks>
  10358. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  10359. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  10360. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  10361. ///
  10362. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  10363. /// - FixedString*N*Bytes
  10364. /// - string
  10365. /// - int
  10366. /// - float
  10367. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  10368. ///
  10369. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  10370. /// </remarks>
  10371. /// <param name="formatString">The format string.</param>
  10372. /// <typeparam name="T1"><undoc /></typeparam>
  10373. /// <param name="arg0">Value to interpolate into the format string.</param>
  10374. /// <param name="arg1">Value to interpolate into the format string.</param>
  10375. /// <param name="arg2">Value to interpolate into the format string.</param>
  10376. /// <returns>A new string produced by interpolating the format string.</returns>
  10377. [ExcludeFromBurstCompatTesting("Takes managed string")]
  10378. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, T1 arg0, string arg1, string arg2)
  10379. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  10380. {
  10381. FixedString128Bytes result = default;
  10382. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  10383. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  10384. result.AppendFormat(formatString, arg0, carg1, carg2);
  10385. return result;
  10386. }
  10387. /// <summary>
  10388. /// Returns a new string produced by interpolating a format string.
  10389. /// </summary>
  10390. /// <remarks>
  10391. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  10392. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  10393. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  10394. ///
  10395. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  10396. /// - FixedString*N*Bytes
  10397. /// - string
  10398. /// - int
  10399. /// - float
  10400. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  10401. ///
  10402. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  10403. /// </remarks>
  10404. /// <param name="formatString">The format string.</param>
  10405. /// <typeparam name="T1"><undoc /></typeparam>
  10406. /// <param name="arg0">Value to interpolate into the format string.</param>
  10407. /// <param name="arg1">Value to interpolate into the format string.</param>
  10408. /// <param name="arg2">Value to interpolate into the format string.</param>
  10409. /// <returns>A new string produced by interpolating the format string.</returns>
  10410. [ExcludeFromBurstCompatTesting("Takes managed string")]
  10411. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, int arg0, T1 arg1, string arg2)
  10412. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  10413. {
  10414. FixedString128Bytes result = default;
  10415. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  10416. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  10417. result.AppendFormat(formatString, carg0, arg1, carg2);
  10418. return result;
  10419. }
  10420. /// <summary>
  10421. /// Returns a new string produced by interpolating a format string.
  10422. /// </summary>
  10423. /// <remarks>
  10424. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  10425. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  10426. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  10427. ///
  10428. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  10429. /// - FixedString*N*Bytes
  10430. /// - string
  10431. /// - int
  10432. /// - float
  10433. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  10434. ///
  10435. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  10436. /// </remarks>
  10437. /// <param name="formatString">The format string.</param>
  10438. /// <typeparam name="T1"><undoc /></typeparam>
  10439. /// <param name="arg0">Value to interpolate into the format string.</param>
  10440. /// <param name="arg1">Value to interpolate into the format string.</param>
  10441. /// <param name="arg2">Value to interpolate into the format string.</param>
  10442. /// <returns>A new string produced by interpolating the format string.</returns>
  10443. [ExcludeFromBurstCompatTesting("Takes managed string")]
  10444. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, float arg0, T1 arg1, string arg2)
  10445. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  10446. {
  10447. FixedString128Bytes result = default;
  10448. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  10449. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  10450. result.AppendFormat(formatString, carg0, arg1, carg2);
  10451. return result;
  10452. }
  10453. /// <summary>
  10454. /// Returns a new string produced by interpolating a format string.
  10455. /// </summary>
  10456. /// <remarks>
  10457. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  10458. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  10459. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  10460. ///
  10461. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  10462. /// - FixedString*N*Bytes
  10463. /// - string
  10464. /// - int
  10465. /// - float
  10466. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  10467. ///
  10468. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  10469. /// </remarks>
  10470. /// <param name="formatString">The format string.</param>
  10471. /// <typeparam name="T1"><undoc /></typeparam>
  10472. /// <param name="arg0">Value to interpolate into the format string.</param>
  10473. /// <param name="arg1">Value to interpolate into the format string.</param>
  10474. /// <param name="arg2">Value to interpolate into the format string.</param>
  10475. /// <returns>A new string produced by interpolating the format string.</returns>
  10476. [ExcludeFromBurstCompatTesting("Takes managed string")]
  10477. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, string arg0, T1 arg1, string arg2)
  10478. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  10479. {
  10480. FixedString128Bytes result = default;
  10481. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  10482. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  10483. result.AppendFormat(formatString, carg0, arg1, carg2);
  10484. return result;
  10485. }
  10486. /// <summary>
  10487. /// Returns a new string produced by interpolating a format string.
  10488. /// </summary>
  10489. /// <remarks>
  10490. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  10491. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  10492. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  10493. ///
  10494. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  10495. /// - FixedString*N*Bytes
  10496. /// - string
  10497. /// - int
  10498. /// - float
  10499. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  10500. ///
  10501. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  10502. /// </remarks>
  10503. /// <param name="formatString">The format string.</param>
  10504. /// <typeparam name="T1"><undoc /></typeparam>
  10505. /// <typeparam name="T2"><undoc /></typeparam>
  10506. /// <param name="arg0">Value to interpolate into the format string.</param>
  10507. /// <param name="arg1">Value to interpolate into the format string.</param>
  10508. /// <param name="arg2">Value to interpolate into the format string.</param>
  10509. /// <returns>A new string produced by interpolating the format string.</returns>
  10510. [ExcludeFromBurstCompatTesting("Takes managed string")]
  10511. public static FixedString128Bytes Format<T1,T2>(FixedString128Bytes formatString, T1 arg0, T2 arg1, string arg2)
  10512. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  10513. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  10514. {
  10515. FixedString128Bytes result = default;
  10516. FixedString32Bytes carg2 = default; carg2.Append(arg2);
  10517. result.AppendFormat(formatString, arg0, arg1, carg2);
  10518. return result;
  10519. }
  10520. /// <summary>
  10521. /// Returns a new string produced by interpolating a format string.
  10522. /// </summary>
  10523. /// <remarks>
  10524. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  10525. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  10526. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  10527. ///
  10528. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  10529. /// - FixedString*N*Bytes
  10530. /// - string
  10531. /// - int
  10532. /// - float
  10533. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  10534. ///
  10535. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  10536. /// </remarks>
  10537. /// <param name="formatString">The format string.</param>
  10538. /// <typeparam name="T1"><undoc /></typeparam>
  10539. /// <param name="arg0">Value to interpolate into the format string.</param>
  10540. /// <param name="arg1">Value to interpolate into the format string.</param>
  10541. /// <param name="arg2">Value to interpolate into the format string.</param>
  10542. /// <returns>A new string produced by interpolating the format string.</returns>
  10543. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  10544. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, int arg0, int arg1, T1 arg2)
  10545. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  10546. {
  10547. FixedString128Bytes result = default;
  10548. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  10549. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  10550. result.AppendFormat(formatString, carg0, carg1, arg2);
  10551. return result;
  10552. }
  10553. /// <summary>
  10554. /// Returns a new string produced by interpolating a format string.
  10555. /// </summary>
  10556. /// <remarks>
  10557. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  10558. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  10559. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  10560. ///
  10561. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  10562. /// - FixedString*N*Bytes
  10563. /// - string
  10564. /// - int
  10565. /// - float
  10566. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  10567. ///
  10568. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  10569. /// </remarks>
  10570. /// <param name="formatString">The format string.</param>
  10571. /// <typeparam name="T1"><undoc /></typeparam>
  10572. /// <param name="arg0">Value to interpolate into the format string.</param>
  10573. /// <param name="arg1">Value to interpolate into the format string.</param>
  10574. /// <param name="arg2">Value to interpolate into the format string.</param>
  10575. /// <returns>A new string produced by interpolating the format string.</returns>
  10576. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  10577. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, float arg0, int arg1, T1 arg2)
  10578. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  10579. {
  10580. FixedString128Bytes result = default;
  10581. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  10582. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  10583. result.AppendFormat(formatString, carg0, carg1, arg2);
  10584. return result;
  10585. }
  10586. /// <summary>
  10587. /// Returns a new string produced by interpolating a format string.
  10588. /// </summary>
  10589. /// <remarks>
  10590. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  10591. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  10592. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  10593. ///
  10594. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  10595. /// - FixedString*N*Bytes
  10596. /// - string
  10597. /// - int
  10598. /// - float
  10599. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  10600. ///
  10601. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  10602. /// </remarks>
  10603. /// <param name="formatString">The format string.</param>
  10604. /// <typeparam name="T1"><undoc /></typeparam>
  10605. /// <param name="arg0">Value to interpolate into the format string.</param>
  10606. /// <param name="arg1">Value to interpolate into the format string.</param>
  10607. /// <param name="arg2">Value to interpolate into the format string.</param>
  10608. /// <returns>A new string produced by interpolating the format string.</returns>
  10609. [ExcludeFromBurstCompatTesting("Takes managed string")]
  10610. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, string arg0, int arg1, T1 arg2)
  10611. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  10612. {
  10613. FixedString128Bytes result = default;
  10614. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  10615. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  10616. result.AppendFormat(formatString, carg0, carg1, arg2);
  10617. return result;
  10618. }
  10619. /// <summary>
  10620. /// Returns a new string produced by interpolating a format string.
  10621. /// </summary>
  10622. /// <remarks>
  10623. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  10624. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  10625. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  10626. ///
  10627. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  10628. /// - FixedString*N*Bytes
  10629. /// - string
  10630. /// - int
  10631. /// - float
  10632. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  10633. ///
  10634. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  10635. /// </remarks>
  10636. /// <param name="formatString">The format string.</param>
  10637. /// <typeparam name="T1"><undoc /></typeparam>
  10638. /// <typeparam name="T2"><undoc /></typeparam>
  10639. /// <param name="arg0">Value to interpolate into the format string.</param>
  10640. /// <param name="arg1">Value to interpolate into the format string.</param>
  10641. /// <param name="arg2">Value to interpolate into the format string.</param>
  10642. /// <returns>A new string produced by interpolating the format string.</returns>
  10643. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/) } )]
  10644. public static FixedString128Bytes Format<T1,T2>(FixedString128Bytes formatString, T1 arg0, int arg1, T2 arg2)
  10645. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  10646. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  10647. {
  10648. FixedString128Bytes result = default;
  10649. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  10650. result.AppendFormat(formatString, arg0, carg1, arg2);
  10651. return result;
  10652. }
  10653. /// <summary>
  10654. /// Returns a new string produced by interpolating a format string.
  10655. /// </summary>
  10656. /// <remarks>
  10657. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  10658. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  10659. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  10660. ///
  10661. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  10662. /// - FixedString*N*Bytes
  10663. /// - string
  10664. /// - int
  10665. /// - float
  10666. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  10667. ///
  10668. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  10669. /// </remarks>
  10670. /// <param name="formatString">The format string.</param>
  10671. /// <typeparam name="T1"><undoc /></typeparam>
  10672. /// <param name="arg0">Value to interpolate into the format string.</param>
  10673. /// <param name="arg1">Value to interpolate into the format string.</param>
  10674. /// <param name="arg2">Value to interpolate into the format string.</param>
  10675. /// <returns>A new string produced by interpolating the format string.</returns>
  10676. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  10677. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, int arg0, float arg1, T1 arg2)
  10678. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  10679. {
  10680. FixedString128Bytes result = default;
  10681. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  10682. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  10683. result.AppendFormat(formatString, carg0, carg1, arg2);
  10684. return result;
  10685. }
  10686. /// <summary>
  10687. /// Returns a new string produced by interpolating a format string.
  10688. /// </summary>
  10689. /// <remarks>
  10690. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  10691. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  10692. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  10693. ///
  10694. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  10695. /// - FixedString*N*Bytes
  10696. /// - string
  10697. /// - int
  10698. /// - float
  10699. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  10700. ///
  10701. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  10702. /// </remarks>
  10703. /// <param name="formatString">The format string.</param>
  10704. /// <typeparam name="T1"><undoc /></typeparam>
  10705. /// <param name="arg0">Value to interpolate into the format string.</param>
  10706. /// <param name="arg1">Value to interpolate into the format string.</param>
  10707. /// <param name="arg2">Value to interpolate into the format string.</param>
  10708. /// <returns>A new string produced by interpolating the format string.</returns>
  10709. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  10710. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, float arg0, float arg1, T1 arg2)
  10711. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  10712. {
  10713. FixedString128Bytes result = default;
  10714. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  10715. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  10716. result.AppendFormat(formatString, carg0, carg1, arg2);
  10717. return result;
  10718. }
  10719. /// <summary>
  10720. /// Returns a new string produced by interpolating a format string.
  10721. /// </summary>
  10722. /// <remarks>
  10723. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  10724. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  10725. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  10726. ///
  10727. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  10728. /// - FixedString*N*Bytes
  10729. /// - string
  10730. /// - int
  10731. /// - float
  10732. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  10733. ///
  10734. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  10735. /// </remarks>
  10736. /// <param name="formatString">The format string.</param>
  10737. /// <typeparam name="T1"><undoc /></typeparam>
  10738. /// <param name="arg0">Value to interpolate into the format string.</param>
  10739. /// <param name="arg1">Value to interpolate into the format string.</param>
  10740. /// <param name="arg2">Value to interpolate into the format string.</param>
  10741. /// <returns>A new string produced by interpolating the format string.</returns>
  10742. [ExcludeFromBurstCompatTesting("Takes managed string")]
  10743. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, string arg0, float arg1, T1 arg2)
  10744. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  10745. {
  10746. FixedString128Bytes result = default;
  10747. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  10748. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  10749. result.AppendFormat(formatString, carg0, carg1, arg2);
  10750. return result;
  10751. }
  10752. /// <summary>
  10753. /// Returns a new string produced by interpolating a format string.
  10754. /// </summary>
  10755. /// <remarks>
  10756. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  10757. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  10758. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  10759. ///
  10760. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  10761. /// - FixedString*N*Bytes
  10762. /// - string
  10763. /// - int
  10764. /// - float
  10765. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  10766. ///
  10767. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  10768. /// </remarks>
  10769. /// <param name="formatString">The format string.</param>
  10770. /// <typeparam name="T1"><undoc /></typeparam>
  10771. /// <typeparam name="T2"><undoc /></typeparam>
  10772. /// <param name="arg0">Value to interpolate into the format string.</param>
  10773. /// <param name="arg1">Value to interpolate into the format string.</param>
  10774. /// <param name="arg2">Value to interpolate into the format string.</param>
  10775. /// <returns>A new string produced by interpolating the format string.</returns>
  10776. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/) } )]
  10777. public static FixedString128Bytes Format<T1,T2>(FixedString128Bytes formatString, T1 arg0, float arg1, T2 arg2)
  10778. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  10779. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  10780. {
  10781. FixedString128Bytes result = default;
  10782. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  10783. result.AppendFormat(formatString, arg0, carg1, arg2);
  10784. return result;
  10785. }
  10786. /// <summary>
  10787. /// Returns a new string produced by interpolating a format string.
  10788. /// </summary>
  10789. /// <remarks>
  10790. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  10791. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  10792. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  10793. ///
  10794. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  10795. /// - FixedString*N*Bytes
  10796. /// - string
  10797. /// - int
  10798. /// - float
  10799. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  10800. ///
  10801. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  10802. /// </remarks>
  10803. /// <param name="formatString">The format string.</param>
  10804. /// <typeparam name="T1"><undoc /></typeparam>
  10805. /// <param name="arg0">Value to interpolate into the format string.</param>
  10806. /// <param name="arg1">Value to interpolate into the format string.</param>
  10807. /// <param name="arg2">Value to interpolate into the format string.</param>
  10808. /// <returns>A new string produced by interpolating the format string.</returns>
  10809. [ExcludeFromBurstCompatTesting("Takes managed string")]
  10810. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, int arg0, string arg1, T1 arg2)
  10811. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  10812. {
  10813. FixedString128Bytes result = default;
  10814. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  10815. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  10816. result.AppendFormat(formatString, carg0, carg1, arg2);
  10817. return result;
  10818. }
  10819. /// <summary>
  10820. /// Returns a new string produced by interpolating a format string.
  10821. /// </summary>
  10822. /// <remarks>
  10823. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  10824. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  10825. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  10826. ///
  10827. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  10828. /// - FixedString*N*Bytes
  10829. /// - string
  10830. /// - int
  10831. /// - float
  10832. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  10833. ///
  10834. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  10835. /// </remarks>
  10836. /// <param name="formatString">The format string.</param>
  10837. /// <typeparam name="T1"><undoc /></typeparam>
  10838. /// <param name="arg0">Value to interpolate into the format string.</param>
  10839. /// <param name="arg1">Value to interpolate into the format string.</param>
  10840. /// <param name="arg2">Value to interpolate into the format string.</param>
  10841. /// <returns>A new string produced by interpolating the format string.</returns>
  10842. [ExcludeFromBurstCompatTesting("Takes managed string")]
  10843. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, float arg0, string arg1, T1 arg2)
  10844. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  10845. {
  10846. FixedString128Bytes result = default;
  10847. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  10848. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  10849. result.AppendFormat(formatString, carg0, carg1, arg2);
  10850. return result;
  10851. }
  10852. /// <summary>
  10853. /// Returns a new string produced by interpolating a format string.
  10854. /// </summary>
  10855. /// <remarks>
  10856. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  10857. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  10858. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  10859. ///
  10860. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  10861. /// - FixedString*N*Bytes
  10862. /// - string
  10863. /// - int
  10864. /// - float
  10865. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  10866. ///
  10867. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  10868. /// </remarks>
  10869. /// <param name="formatString">The format string.</param>
  10870. /// <typeparam name="T1"><undoc /></typeparam>
  10871. /// <param name="arg0">Value to interpolate into the format string.</param>
  10872. /// <param name="arg1">Value to interpolate into the format string.</param>
  10873. /// <param name="arg2">Value to interpolate into the format string.</param>
  10874. /// <returns>A new string produced by interpolating the format string.</returns>
  10875. [ExcludeFromBurstCompatTesting("Takes managed string")]
  10876. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, string arg0, string arg1, T1 arg2)
  10877. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  10878. {
  10879. FixedString128Bytes result = default;
  10880. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  10881. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  10882. result.AppendFormat(formatString, carg0, carg1, arg2);
  10883. return result;
  10884. }
  10885. /// <summary>
  10886. /// Returns a new string produced by interpolating a format string.
  10887. /// </summary>
  10888. /// <remarks>
  10889. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  10890. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  10891. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  10892. ///
  10893. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  10894. /// - FixedString*N*Bytes
  10895. /// - string
  10896. /// - int
  10897. /// - float
  10898. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  10899. ///
  10900. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  10901. /// </remarks>
  10902. /// <param name="formatString">The format string.</param>
  10903. /// <typeparam name="T1"><undoc /></typeparam>
  10904. /// <typeparam name="T2"><undoc /></typeparam>
  10905. /// <param name="arg0">Value to interpolate into the format string.</param>
  10906. /// <param name="arg1">Value to interpolate into the format string.</param>
  10907. /// <param name="arg2">Value to interpolate into the format string.</param>
  10908. /// <returns>A new string produced by interpolating the format string.</returns>
  10909. [ExcludeFromBurstCompatTesting("Takes managed string")]
  10910. public static FixedString128Bytes Format<T1,T2>(FixedString128Bytes formatString, T1 arg0, string arg1, T2 arg2)
  10911. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  10912. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  10913. {
  10914. FixedString128Bytes result = default;
  10915. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  10916. result.AppendFormat(formatString, arg0, carg1, arg2);
  10917. return result;
  10918. }
  10919. /// <summary>
  10920. /// Returns a new string produced by interpolating a format string.
  10921. /// </summary>
  10922. /// <remarks>
  10923. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  10924. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  10925. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  10926. ///
  10927. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  10928. /// - FixedString*N*Bytes
  10929. /// - string
  10930. /// - int
  10931. /// - float
  10932. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  10933. ///
  10934. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  10935. /// </remarks>
  10936. /// <param name="formatString">The format string.</param>
  10937. /// <typeparam name="T1"><undoc /></typeparam>
  10938. /// <typeparam name="T2"><undoc /></typeparam>
  10939. /// <param name="arg0">Value to interpolate into the format string.</param>
  10940. /// <param name="arg1">Value to interpolate into the format string.</param>
  10941. /// <param name="arg2">Value to interpolate into the format string.</param>
  10942. /// <returns>A new string produced by interpolating the format string.</returns>
  10943. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/) } )]
  10944. public static FixedString128Bytes Format<T1,T2>(FixedString128Bytes formatString, int arg0, T1 arg1, T2 arg2)
  10945. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  10946. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  10947. {
  10948. FixedString128Bytes result = default;
  10949. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  10950. result.AppendFormat(formatString, carg0, arg1, arg2);
  10951. return result;
  10952. }
  10953. /// <summary>
  10954. /// Returns a new string produced by interpolating a format string.
  10955. /// </summary>
  10956. /// <remarks>
  10957. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  10958. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  10959. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  10960. ///
  10961. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  10962. /// - FixedString*N*Bytes
  10963. /// - string
  10964. /// - int
  10965. /// - float
  10966. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  10967. ///
  10968. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  10969. /// </remarks>
  10970. /// <param name="formatString">The format string.</param>
  10971. /// <typeparam name="T1"><undoc /></typeparam>
  10972. /// <typeparam name="T2"><undoc /></typeparam>
  10973. /// <param name="arg0">Value to interpolate into the format string.</param>
  10974. /// <param name="arg1">Value to interpolate into the format string.</param>
  10975. /// <param name="arg2">Value to interpolate into the format string.</param>
  10976. /// <returns>A new string produced by interpolating the format string.</returns>
  10977. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/) } )]
  10978. public static FixedString128Bytes Format<T1,T2>(FixedString128Bytes formatString, float arg0, T1 arg1, T2 arg2)
  10979. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  10980. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  10981. {
  10982. FixedString128Bytes result = default;
  10983. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  10984. result.AppendFormat(formatString, carg0, arg1, arg2);
  10985. return result;
  10986. }
  10987. /// <summary>
  10988. /// Returns a new string produced by interpolating a format string.
  10989. /// </summary>
  10990. /// <remarks>
  10991. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  10992. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  10993. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  10994. ///
  10995. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  10996. /// - FixedString*N*Bytes
  10997. /// - string
  10998. /// - int
  10999. /// - float
  11000. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  11001. ///
  11002. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  11003. /// </remarks>
  11004. /// <param name="formatString">The format string.</param>
  11005. /// <typeparam name="T1"><undoc /></typeparam>
  11006. /// <typeparam name="T2"><undoc /></typeparam>
  11007. /// <param name="arg0">Value to interpolate into the format string.</param>
  11008. /// <param name="arg1">Value to interpolate into the format string.</param>
  11009. /// <param name="arg2">Value to interpolate into the format string.</param>
  11010. /// <returns>A new string produced by interpolating the format string.</returns>
  11011. [ExcludeFromBurstCompatTesting("Takes managed string")]
  11012. public static FixedString128Bytes Format<T1,T2>(FixedString128Bytes formatString, string arg0, T1 arg1, T2 arg2)
  11013. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  11014. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  11015. {
  11016. FixedString128Bytes result = default;
  11017. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  11018. result.AppendFormat(formatString, carg0, arg1, arg2);
  11019. return result;
  11020. }
  11021. /// <summary>
  11022. /// Returns a new string produced by interpolating a format string.
  11023. /// </summary>
  11024. /// <remarks>
  11025. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  11026. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  11027. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  11028. ///
  11029. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  11030. /// - FixedString*N*Bytes
  11031. /// - string
  11032. /// - int
  11033. /// - float
  11034. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  11035. ///
  11036. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  11037. /// </remarks>
  11038. /// <param name="formatString">The format string.</param>
  11039. /// <typeparam name="T1"><undoc /></typeparam>
  11040. /// <typeparam name="T2"><undoc /></typeparam>
  11041. /// <typeparam name="T3"><undoc /></typeparam>
  11042. /// <param name="arg0">Value to interpolate into the format string.</param>
  11043. /// <param name="arg1">Value to interpolate into the format string.</param>
  11044. /// <param name="arg2">Value to interpolate into the format string.</param>
  11045. /// <returns>A new string produced by interpolating the format string.</returns>
  11046. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/), typeof(FixedString32Bytes /*$T3*/) } )]
  11047. public static FixedString128Bytes Format<T1,T2,T3>(FixedString128Bytes formatString, T1 arg0, T2 arg1, T3 arg2)
  11048. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  11049. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  11050. where T3 : unmanaged, INativeList<byte>, IUTF8Bytes
  11051. {
  11052. FixedString128Bytes result = default;
  11053. result.AppendFormat(formatString, arg0, arg1, arg2);
  11054. return result;
  11055. }
  11056. /// <summary>
  11057. /// Returns a new string produced by interpolating a format string.
  11058. /// </summary>
  11059. /// <remarks>
  11060. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  11061. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  11062. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  11063. ///
  11064. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  11065. /// - FixedString*N*Bytes
  11066. /// - string
  11067. /// - int
  11068. /// - float
  11069. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  11070. ///
  11071. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  11072. /// </remarks>
  11073. /// <param name="formatString">The format string.</param>
  11074. /// <param name="arg0">Value to interpolate into the format string.</param>
  11075. /// <param name="arg1">Value to interpolate into the format string.</param>
  11076. /// <returns>A new string produced by interpolating the format string.</returns>
  11077. public static FixedString128Bytes Format(FixedString128Bytes formatString, int arg0, int arg1)
  11078. {
  11079. FixedString128Bytes result = default;
  11080. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  11081. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  11082. result.AppendFormat(formatString, carg0, carg1);
  11083. return result;
  11084. }
  11085. /// <summary>
  11086. /// Returns a new string produced by interpolating a format string.
  11087. /// </summary>
  11088. /// <remarks>
  11089. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  11090. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  11091. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  11092. ///
  11093. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  11094. /// - FixedString*N*Bytes
  11095. /// - string
  11096. /// - int
  11097. /// - float
  11098. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  11099. ///
  11100. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  11101. /// </remarks>
  11102. /// <param name="formatString">The format string.</param>
  11103. /// <param name="arg0">Value to interpolate into the format string.</param>
  11104. /// <param name="arg1">Value to interpolate into the format string.</param>
  11105. /// <returns>A new string produced by interpolating the format string.</returns>
  11106. public static FixedString128Bytes Format(FixedString128Bytes formatString, float arg0, int arg1)
  11107. {
  11108. FixedString128Bytes result = default;
  11109. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  11110. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  11111. result.AppendFormat(formatString, carg0, carg1);
  11112. return result;
  11113. }
  11114. /// <summary>
  11115. /// Returns a new string produced by interpolating a format string.
  11116. /// </summary>
  11117. /// <remarks>
  11118. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  11119. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  11120. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  11121. ///
  11122. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  11123. /// - FixedString*N*Bytes
  11124. /// - string
  11125. /// - int
  11126. /// - float
  11127. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  11128. ///
  11129. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  11130. /// </remarks>
  11131. /// <param name="formatString">The format string.</param>
  11132. /// <param name="arg0">Value to interpolate into the format string.</param>
  11133. /// <param name="arg1">Value to interpolate into the format string.</param>
  11134. /// <returns>A new string produced by interpolating the format string.</returns>
  11135. [ExcludeFromBurstCompatTesting("Takes managed string")]
  11136. public static FixedString128Bytes Format(FixedString128Bytes formatString, string arg0, int arg1)
  11137. {
  11138. FixedString128Bytes result = default;
  11139. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  11140. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  11141. result.AppendFormat(formatString, carg0, carg1);
  11142. return result;
  11143. }
  11144. /// <summary>
  11145. /// Returns a new string produced by interpolating a format string.
  11146. /// </summary>
  11147. /// <remarks>
  11148. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  11149. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  11150. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  11151. ///
  11152. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  11153. /// - FixedString*N*Bytes
  11154. /// - string
  11155. /// - int
  11156. /// - float
  11157. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  11158. ///
  11159. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  11160. /// </remarks>
  11161. /// <param name="formatString">The format string.</param>
  11162. /// <typeparam name="T1"><undoc /></typeparam>
  11163. /// <param name="arg0">Value to interpolate into the format string.</param>
  11164. /// <param name="arg1">Value to interpolate into the format string.</param>
  11165. /// <returns>A new string produced by interpolating the format string.</returns>
  11166. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  11167. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, T1 arg0, int arg1)
  11168. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  11169. {
  11170. FixedString128Bytes result = default;
  11171. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  11172. result.AppendFormat(formatString, arg0, carg1);
  11173. return result;
  11174. }
  11175. /// <summary>
  11176. /// Returns a new string produced by interpolating a format string.
  11177. /// </summary>
  11178. /// <remarks>
  11179. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  11180. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  11181. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  11182. ///
  11183. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  11184. /// - FixedString*N*Bytes
  11185. /// - string
  11186. /// - int
  11187. /// - float
  11188. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  11189. ///
  11190. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  11191. /// </remarks>
  11192. /// <param name="formatString">The format string.</param>
  11193. /// <param name="arg0">Value to interpolate into the format string.</param>
  11194. /// <param name="arg1">Value to interpolate into the format string.</param>
  11195. /// <returns>A new string produced by interpolating the format string.</returns>
  11196. public static FixedString128Bytes Format(FixedString128Bytes formatString, int arg0, float arg1)
  11197. {
  11198. FixedString128Bytes result = default;
  11199. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  11200. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  11201. result.AppendFormat(formatString, carg0, carg1);
  11202. return result;
  11203. }
  11204. /// <summary>
  11205. /// Returns a new string produced by interpolating a format string.
  11206. /// </summary>
  11207. /// <remarks>
  11208. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  11209. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  11210. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  11211. ///
  11212. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  11213. /// - FixedString*N*Bytes
  11214. /// - string
  11215. /// - int
  11216. /// - float
  11217. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  11218. ///
  11219. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  11220. /// </remarks>
  11221. /// <param name="formatString">The format string.</param>
  11222. /// <param name="arg0">Value to interpolate into the format string.</param>
  11223. /// <param name="arg1">Value to interpolate into the format string.</param>
  11224. /// <returns>A new string produced by interpolating the format string.</returns>
  11225. public static FixedString128Bytes Format(FixedString128Bytes formatString, float arg0, float arg1)
  11226. {
  11227. FixedString128Bytes result = default;
  11228. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  11229. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  11230. result.AppendFormat(formatString, carg0, carg1);
  11231. return result;
  11232. }
  11233. /// <summary>
  11234. /// Returns a new string produced by interpolating a format string.
  11235. /// </summary>
  11236. /// <remarks>
  11237. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  11238. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  11239. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  11240. ///
  11241. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  11242. /// - FixedString*N*Bytes
  11243. /// - string
  11244. /// - int
  11245. /// - float
  11246. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  11247. ///
  11248. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  11249. /// </remarks>
  11250. /// <param name="formatString">The format string.</param>
  11251. /// <param name="arg0">Value to interpolate into the format string.</param>
  11252. /// <param name="arg1">Value to interpolate into the format string.</param>
  11253. /// <returns>A new string produced by interpolating the format string.</returns>
  11254. [ExcludeFromBurstCompatTesting("Takes managed string")]
  11255. public static FixedString128Bytes Format(FixedString128Bytes formatString, string arg0, float arg1)
  11256. {
  11257. FixedString128Bytes result = default;
  11258. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  11259. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  11260. result.AppendFormat(formatString, carg0, carg1);
  11261. return result;
  11262. }
  11263. /// <summary>
  11264. /// Returns a new string produced by interpolating a format string.
  11265. /// </summary>
  11266. /// <remarks>
  11267. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  11268. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  11269. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  11270. ///
  11271. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  11272. /// - FixedString*N*Bytes
  11273. /// - string
  11274. /// - int
  11275. /// - float
  11276. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  11277. ///
  11278. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  11279. /// </remarks>
  11280. /// <param name="formatString">The format string.</param>
  11281. /// <typeparam name="T1"><undoc /></typeparam>
  11282. /// <param name="arg0">Value to interpolate into the format string.</param>
  11283. /// <param name="arg1">Value to interpolate into the format string.</param>
  11284. /// <returns>A new string produced by interpolating the format string.</returns>
  11285. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  11286. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, T1 arg0, float arg1)
  11287. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  11288. {
  11289. FixedString128Bytes result = default;
  11290. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  11291. result.AppendFormat(formatString, arg0, carg1);
  11292. return result;
  11293. }
  11294. /// <summary>
  11295. /// Returns a new string produced by interpolating a format string.
  11296. /// </summary>
  11297. /// <remarks>
  11298. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  11299. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  11300. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  11301. ///
  11302. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  11303. /// - FixedString*N*Bytes
  11304. /// - string
  11305. /// - int
  11306. /// - float
  11307. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  11308. ///
  11309. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  11310. /// </remarks>
  11311. /// <param name="formatString">The format string.</param>
  11312. /// <param name="arg0">Value to interpolate into the format string.</param>
  11313. /// <param name="arg1">Value to interpolate into the format string.</param>
  11314. /// <returns>A new string produced by interpolating the format string.</returns>
  11315. [ExcludeFromBurstCompatTesting("Takes managed string")]
  11316. public static FixedString128Bytes Format(FixedString128Bytes formatString, int arg0, string arg1)
  11317. {
  11318. FixedString128Bytes result = default;
  11319. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  11320. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  11321. result.AppendFormat(formatString, carg0, carg1);
  11322. return result;
  11323. }
  11324. /// <summary>
  11325. /// Returns a new string produced by interpolating a format string.
  11326. /// </summary>
  11327. /// <remarks>
  11328. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  11329. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  11330. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  11331. ///
  11332. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  11333. /// - FixedString*N*Bytes
  11334. /// - string
  11335. /// - int
  11336. /// - float
  11337. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  11338. ///
  11339. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  11340. /// </remarks>
  11341. /// <param name="formatString">The format string.</param>
  11342. /// <param name="arg0">Value to interpolate into the format string.</param>
  11343. /// <param name="arg1">Value to interpolate into the format string.</param>
  11344. /// <returns>A new string produced by interpolating the format string.</returns>
  11345. [ExcludeFromBurstCompatTesting("Takes managed string")]
  11346. public static FixedString128Bytes Format(FixedString128Bytes formatString, float arg0, string arg1)
  11347. {
  11348. FixedString128Bytes result = default;
  11349. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  11350. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  11351. result.AppendFormat(formatString, carg0, carg1);
  11352. return result;
  11353. }
  11354. /// <summary>
  11355. /// Returns a new string produced by interpolating a format string.
  11356. /// </summary>
  11357. /// <remarks>
  11358. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  11359. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  11360. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  11361. ///
  11362. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  11363. /// - FixedString*N*Bytes
  11364. /// - string
  11365. /// - int
  11366. /// - float
  11367. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  11368. ///
  11369. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  11370. /// </remarks>
  11371. /// <param name="formatString">The format string.</param>
  11372. /// <param name="arg0">Value to interpolate into the format string.</param>
  11373. /// <param name="arg1">Value to interpolate into the format string.</param>
  11374. /// <returns>A new string produced by interpolating the format string.</returns>
  11375. [ExcludeFromBurstCompatTesting("Takes managed string")]
  11376. public static FixedString128Bytes Format(FixedString128Bytes formatString, string arg0, string arg1)
  11377. {
  11378. FixedString128Bytes result = default;
  11379. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  11380. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  11381. result.AppendFormat(formatString, carg0, carg1);
  11382. return result;
  11383. }
  11384. /// <summary>
  11385. /// Returns a new string produced by interpolating a format string.
  11386. /// </summary>
  11387. /// <remarks>
  11388. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  11389. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  11390. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  11391. ///
  11392. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  11393. /// - FixedString*N*Bytes
  11394. /// - string
  11395. /// - int
  11396. /// - float
  11397. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  11398. ///
  11399. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  11400. /// </remarks>
  11401. /// <param name="formatString">The format string.</param>
  11402. /// <typeparam name="T1"><undoc /></typeparam>
  11403. /// <param name="arg0">Value to interpolate into the format string.</param>
  11404. /// <param name="arg1">Value to interpolate into the format string.</param>
  11405. /// <returns>A new string produced by interpolating the format string.</returns>
  11406. [ExcludeFromBurstCompatTesting("Takes managed string")]
  11407. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, T1 arg0, string arg1)
  11408. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  11409. {
  11410. FixedString128Bytes result = default;
  11411. FixedString32Bytes carg1 = default; carg1.Append(arg1);
  11412. result.AppendFormat(formatString, arg0, carg1);
  11413. return result;
  11414. }
  11415. /// <summary>
  11416. /// Returns a new string produced by interpolating a format string.
  11417. /// </summary>
  11418. /// <remarks>
  11419. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  11420. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  11421. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  11422. ///
  11423. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  11424. /// - FixedString*N*Bytes
  11425. /// - string
  11426. /// - int
  11427. /// - float
  11428. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  11429. ///
  11430. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  11431. /// </remarks>
  11432. /// <param name="formatString">The format string.</param>
  11433. /// <typeparam name="T1"><undoc /></typeparam>
  11434. /// <param name="arg0">Value to interpolate into the format string.</param>
  11435. /// <param name="arg1">Value to interpolate into the format string.</param>
  11436. /// <returns>A new string produced by interpolating the format string.</returns>
  11437. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  11438. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, int arg0, T1 arg1)
  11439. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  11440. {
  11441. FixedString128Bytes result = default;
  11442. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  11443. result.AppendFormat(formatString, carg0, arg1);
  11444. return result;
  11445. }
  11446. /// <summary>
  11447. /// Returns a new string produced by interpolating a format string.
  11448. /// </summary>
  11449. /// <remarks>
  11450. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  11451. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  11452. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  11453. ///
  11454. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  11455. /// - FixedString*N*Bytes
  11456. /// - string
  11457. /// - int
  11458. /// - float
  11459. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  11460. ///
  11461. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  11462. /// </remarks>
  11463. /// <param name="formatString">The format string.</param>
  11464. /// <typeparam name="T1"><undoc /></typeparam>
  11465. /// <param name="arg0">Value to interpolate into the format string.</param>
  11466. /// <param name="arg1">Value to interpolate into the format string.</param>
  11467. /// <returns>A new string produced by interpolating the format string.</returns>
  11468. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  11469. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, float arg0, T1 arg1)
  11470. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  11471. {
  11472. FixedString128Bytes result = default;
  11473. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  11474. result.AppendFormat(formatString, carg0, arg1);
  11475. return result;
  11476. }
  11477. /// <summary>
  11478. /// Returns a new string produced by interpolating a format string.
  11479. /// </summary>
  11480. /// <remarks>
  11481. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  11482. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  11483. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  11484. ///
  11485. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  11486. /// - FixedString*N*Bytes
  11487. /// - string
  11488. /// - int
  11489. /// - float
  11490. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  11491. ///
  11492. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  11493. /// </remarks>
  11494. /// <param name="formatString">The format string.</param>
  11495. /// <typeparam name="T1"><undoc /></typeparam>
  11496. /// <param name="arg0">Value to interpolate into the format string.</param>
  11497. /// <param name="arg1">Value to interpolate into the format string.</param>
  11498. /// <returns>A new string produced by interpolating the format string.</returns>
  11499. [ExcludeFromBurstCompatTesting("Takes managed string")]
  11500. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, string arg0, T1 arg1)
  11501. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  11502. {
  11503. FixedString128Bytes result = default;
  11504. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  11505. result.AppendFormat(formatString, carg0, arg1);
  11506. return result;
  11507. }
  11508. /// <summary>
  11509. /// Returns a new string produced by interpolating a format string.
  11510. /// </summary>
  11511. /// <remarks>
  11512. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  11513. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  11514. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  11515. ///
  11516. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  11517. /// - FixedString*N*Bytes
  11518. /// - string
  11519. /// - int
  11520. /// - float
  11521. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  11522. ///
  11523. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  11524. /// </remarks>
  11525. /// <param name="formatString">The format string.</param>
  11526. /// <typeparam name="T1"><undoc /></typeparam>
  11527. /// <typeparam name="T2"><undoc /></typeparam>
  11528. /// <param name="arg0">Value to interpolate into the format string.</param>
  11529. /// <param name="arg1">Value to interpolate into the format string.</param>
  11530. /// <returns>A new string produced by interpolating the format string.</returns>
  11531. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/), typeof(FixedString32Bytes /*$T2*/) } )]
  11532. public static FixedString128Bytes Format<T1,T2>(FixedString128Bytes formatString, T1 arg0, T2 arg1)
  11533. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  11534. where T2 : unmanaged, INativeList<byte>, IUTF8Bytes
  11535. {
  11536. FixedString128Bytes result = default;
  11537. result.AppendFormat(formatString, arg0, arg1);
  11538. return result;
  11539. }
  11540. /// <summary>
  11541. /// Returns a new string produced by interpolating a format string.
  11542. /// </summary>
  11543. /// <remarks>
  11544. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  11545. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  11546. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  11547. ///
  11548. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  11549. /// - FixedString*N*Bytes
  11550. /// - string
  11551. /// - int
  11552. /// - float
  11553. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  11554. ///
  11555. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  11556. /// </remarks>
  11557. /// <param name="formatString">The format string.</param>
  11558. /// <param name="arg0">Value to interpolate into the format string.</param>
  11559. /// <returns>A new string produced by interpolating the format string.</returns>
  11560. public static FixedString128Bytes Format(FixedString128Bytes formatString, int arg0)
  11561. {
  11562. FixedString128Bytes result = default;
  11563. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  11564. result.AppendFormat(formatString, carg0);
  11565. return result;
  11566. }
  11567. /// <summary>
  11568. /// Returns a new string produced by interpolating a format string.
  11569. /// </summary>
  11570. /// <remarks>
  11571. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  11572. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  11573. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  11574. ///
  11575. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  11576. /// - FixedString*N*Bytes
  11577. /// - string
  11578. /// - int
  11579. /// - float
  11580. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  11581. ///
  11582. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  11583. /// </remarks>
  11584. /// <param name="formatString">The format string.</param>
  11585. /// <param name="arg0">Value to interpolate into the format string.</param>
  11586. /// <returns>A new string produced by interpolating the format string.</returns>
  11587. public static FixedString128Bytes Format(FixedString128Bytes formatString, float arg0)
  11588. {
  11589. FixedString128Bytes result = default;
  11590. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  11591. result.AppendFormat(formatString, carg0);
  11592. return result;
  11593. }
  11594. /// <summary>
  11595. /// Returns a new string produced by interpolating a format string.
  11596. /// </summary>
  11597. /// <remarks>
  11598. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  11599. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  11600. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  11601. ///
  11602. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  11603. /// - FixedString*N*Bytes
  11604. /// - string
  11605. /// - int
  11606. /// - float
  11607. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  11608. ///
  11609. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  11610. /// </remarks>
  11611. /// <param name="formatString">The format string.</param>
  11612. /// <param name="arg0">Value to interpolate into the format string.</param>
  11613. /// <returns>A new string produced by interpolating the format string.</returns>
  11614. [ExcludeFromBurstCompatTesting("Takes managed string")]
  11615. public static FixedString128Bytes Format(FixedString128Bytes formatString, string arg0)
  11616. {
  11617. FixedString128Bytes result = default;
  11618. FixedString32Bytes carg0 = default; carg0.Append(arg0);
  11619. result.AppendFormat(formatString, carg0);
  11620. return result;
  11621. }
  11622. /// <summary>
  11623. /// Returns a new string produced by interpolating a format string.
  11624. /// </summary>
  11625. /// <remarks>
  11626. /// Similar to StringBuilder.AppendFormat but with significant limitations:
  11627. /// - Only supports numeric format placeholders of the form `{0}` .. `{N}`.
  11628. /// - No format modifiers (*e.g.* `{0:x}`) are supported.
  11629. ///
  11630. /// The various overloads of this method take up to four values for interpolation. The allowed argument types are:
  11631. /// - FixedString*N*Bytes
  11632. /// - string
  11633. /// - int
  11634. /// - float
  11635. /// - structs implementing INativeList&lt;byte&gt; and IUTF8Bytes
  11636. ///
  11637. /// <seealso cref="FixedStringMethods.AppendFormat"/>
  11638. /// </remarks>
  11639. /// <param name="formatString">The format string.</param>
  11640. /// <typeparam name="T1"><undoc /></typeparam>
  11641. /// <param name="arg0">Value to interpolate into the format string.</param>
  11642. /// <returns>A new string produced by interpolating the format string.</returns>
  11643. [GenerateTestsForBurstCompatibility(GenericTypeArguments = new[] { typeof(FixedString32Bytes /*$T1*/) } )]
  11644. public static FixedString128Bytes Format<T1>(FixedString128Bytes formatString, T1 arg0)
  11645. where T1 : unmanaged, INativeList<byte>, IUTF8Bytes
  11646. {
  11647. FixedString128Bytes result = default;
  11648. result.AppendFormat(formatString, arg0);
  11649. return result;
  11650. }
  11651. }
  11652. }