System.Collections.Immutable.xml 450 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <doc>
  3. <assembly>
  4. <name>System.Collections.Immutable</name>
  5. </assembly>
  6. <members>
  7. <member name="T:System.Collections.Immutable.IImmutableDictionary`2">
  8. <summary>Represents an immutable collection of key/value pairs.
  9. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  10. <typeparam name="TKey">The type of keys in the dictionary.</typeparam>
  11. <typeparam name="TValue">The type of values in the dictionary.</typeparam>
  12. </member>
  13. <member name="M:System.Collections.Immutable.IImmutableDictionary`2.Add(`0,`1)">
  14. <summary>Adds an element with the specified key and value to the dictionary.</summary>
  15. <param name="key">The key of the element to add.</param>
  16. <param name="value">The value of the element to add.</param>
  17. <exception cref="T:System.ArgumentException">The given key already exists in the dictionary but has a different value.</exception>
  18. <returns>A new immutable dictionary that contains the additional key/value pair.</returns>
  19. </member>
  20. <member name="M:System.Collections.Immutable.IImmutableDictionary`2.AddRange(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
  21. <summary>Adds the specified key/value pairs to the dictionary.</summary>
  22. <param name="pairs">The key/value pairs to add.</param>
  23. <exception cref="T:System.ArgumentException">One of the given keys already exists in the dictionary but has a different value.</exception>
  24. <returns>A new immutable dictionary that contains the additional key/value pairs.</returns>
  25. </member>
  26. <member name="M:System.Collections.Immutable.IImmutableDictionary`2.Clear">
  27. <summary>Retrieves an empty dictionary that has the same ordering and key/value comparison rules as this dictionary instance.</summary>
  28. <returns>An empty dictionary with equivalent ordering and key/value comparison rules.</returns>
  29. </member>
  30. <member name="M:System.Collections.Immutable.IImmutableDictionary`2.Contains(System.Collections.Generic.KeyValuePair{`0,`1})">
  31. <summary>Determines whether the immutable dictionary contains the specified key/value pair.</summary>
  32. <param name="pair">The key/value pair to locate.</param>
  33. <returns>
  34. <see langword="true" /> if the specified key/value pair is found in the dictionary; otherwise, <see langword="false" />.</returns>
  35. </member>
  36. <member name="M:System.Collections.Immutable.IImmutableDictionary`2.Remove(`0)">
  37. <summary>Removes the element with the specified key from the immutable dictionary.</summary>
  38. <param name="key">The key of the element to remove.</param>
  39. <returns>A new immutable dictionary with the specified element removed; or this instance if the specified key cannot be found in the dictionary.</returns>
  40. </member>
  41. <member name="M:System.Collections.Immutable.IImmutableDictionary`2.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
  42. <summary>Removes the elements with the specified keys from the immutable dictionary.</summary>
  43. <param name="keys">The keys of the elements to remove.</param>
  44. <returns>A new immutable dictionary with the specified keys removed; or this instance if the specified keys cannot be found in the dictionary.</returns>
  45. </member>
  46. <member name="M:System.Collections.Immutable.IImmutableDictionary`2.SetItem(`0,`1)">
  47. <summary>Sets the specified key and value in the immutable dictionary, possibly overwriting an existing value for the key.</summary>
  48. <param name="key">The key of the entry to add.</param>
  49. <param name="value">The key value to set.</param>
  50. <returns>A new immutable dictionary that contains the specified key/value pair.</returns>
  51. </member>
  52. <member name="M:System.Collections.Immutable.IImmutableDictionary`2.SetItems(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
  53. <summary>Sets the specified key/value pairs in the immutable dictionary, possibly overwriting existing values for the keys.</summary>
  54. <param name="items">The key/value pairs to set in the dictionary. If any of the keys already exist in the dictionary, this method will overwrite their previous values.</param>
  55. <returns>A new immutable dictionary that contains the specified key/value pairs.</returns>
  56. </member>
  57. <member name="M:System.Collections.Immutable.IImmutableDictionary`2.TryGetKey(`0,`0@)">
  58. <summary>Determines whether this dictionary contains a specified key.</summary>
  59. <param name="equalKey">The key to search for.</param>
  60. <param name="actualKey">The matching key located in the dictionary if found, or <c>equalkey</c> if no match is found.</param>
  61. <returns>
  62. <see langword="true" /> if a match for <paramref name="equalKey" /> is found; otherwise, <see langword="false" />.</returns>
  63. </member>
  64. <member name="T:System.Collections.Immutable.IImmutableList`1">
  65. <summary>Represents a list of elements that cannot be modified.
  66. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  67. <typeparam name="T">The type of elements in the list.</typeparam>
  68. </member>
  69. <member name="M:System.Collections.Immutable.IImmutableList`1.Add(`0)">
  70. <summary>Makes a copy of the list, and adds the specified object to the end of the copied list.</summary>
  71. <param name="value">The object to add to the list.</param>
  72. <returns>A new list with the object added.</returns>
  73. </member>
  74. <member name="M:System.Collections.Immutable.IImmutableList`1.AddRange(System.Collections.Generic.IEnumerable{`0})">
  75. <summary>Makes a copy of the list and adds the specified objects to the end of the copied list.</summary>
  76. <param name="items">The objects to add to the list.</param>
  77. <returns>A new list with the elements added.</returns>
  78. </member>
  79. <member name="M:System.Collections.Immutable.IImmutableList`1.Clear">
  80. <summary>Creates a list with all the items removed, but with the same sorting and ordering semantics as this list.</summary>
  81. <returns>An empty list that has the same sorting and ordering semantics as this instance.</returns>
  82. </member>
  83. <member name="M:System.Collections.Immutable.IImmutableList`1.IndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
  84. <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the <see cref="T:System.Collections.Immutable.IImmutableList`1" /> that starts at the specified index and contains the specified number of elements.</summary>
  85. <param name="item">The object to locate in the <see cref="T:System.Collections.Immutable.IImmutableList`1" />. This value can be null for reference types.</param>
  86. <param name="index">The zero-based starting indexes of the search. 0 (zero) is valid in an empty list.</param>
  87. <param name="count">The number of elements in the section to search.</param>
  88. <param name="equalityComparer">The equality comparer to use to locate <paramref name="item" />.</param>
  89. <returns>The zero-based index of the first occurrence of <paramref name="item" /> within the range of elements in the <see cref="T:System.Collections.Immutable.IImmutableList`1" /> that starts at <paramref name="index" /> and contains <paramref name="count" /> number of elements if found; otherwise -1.</returns>
  90. </member>
  91. <member name="M:System.Collections.Immutable.IImmutableList`1.Insert(System.Int32,`0)">
  92. <summary>Inserts the specified element at the specified index in the immutable list.</summary>
  93. <param name="index">The zero-based index at which to insert the value.</param>
  94. <param name="element">The object to insert.</param>
  95. <returns>A new immutable list that includes the specified element.</returns>
  96. </member>
  97. <member name="M:System.Collections.Immutable.IImmutableList`1.InsertRange(System.Int32,System.Collections.Generic.IEnumerable{`0})">
  98. <summary>Inserts the specified elements at the specified index in the immutable list.</summary>
  99. <param name="index">The zero-based index at which the new elements should be inserted.</param>
  100. <param name="items">The elements to insert.</param>
  101. <returns>A new immutable list that includes the specified elements.</returns>
  102. </member>
  103. <member name="M:System.Collections.Immutable.IImmutableList`1.LastIndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
  104. <summary>Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the <see cref="T:System.Collections.Immutable.IImmutableList`1" /> that contains the specified number of elements and ends at the specified index.</summary>
  105. <param name="item">The object to locate in the list. The value can be <see langword="null" /> for reference types.</param>
  106. <param name="index">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
  107. <param name="count">The number of elements in the section to search.</param>
  108. <param name="equalityComparer">The equality comparer to match <paramref name="item" />.</param>
  109. <returns>Returns <see cref="T:System.Int32" />.</returns>
  110. </member>
  111. <member name="M:System.Collections.Immutable.IImmutableList`1.Remove(`0,System.Collections.Generic.IEqualityComparer{`0})">
  112. <summary>Removes the first occurrence of a specified object from this immutable list.</summary>
  113. <param name="value">The object to remove from the list.</param>
  114. <param name="equalityComparer">The equality comparer to use to locate <paramref name="value" />.</param>
  115. <returns>A new list with the specified object removed.</returns>
  116. </member>
  117. <member name="M:System.Collections.Immutable.IImmutableList`1.RemoveAll(System.Predicate{`0})">
  118. <summary>Removes all the elements that match the conditions defined by the specified predicate.</summary>
  119. <param name="match">The delegate that defines the conditions of the elements to remove.</param>
  120. <returns>A new immutable list with the elements removed.</returns>
  121. </member>
  122. <member name="M:System.Collections.Immutable.IImmutableList`1.RemoveAt(System.Int32)">
  123. <summary>Removes the element at the specified index of the immutable list.</summary>
  124. <param name="index">The index of the element to remove.</param>
  125. <returns>A new list with the element removed.</returns>
  126. </member>
  127. <member name="M:System.Collections.Immutable.IImmutableList`1.RemoveRange(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEqualityComparer{`0})">
  128. <summary>Removes the specified object from the list.</summary>
  129. <param name="items">The objects to remove from the list.</param>
  130. <param name="equalityComparer">The equality comparer to use to determine if <paramref name="items" /> match any objects in the list.</param>
  131. <returns>A new immutable list with the specified objects removed, if <paramref name="items" /> matched objects in the list.</returns>
  132. </member>
  133. <member name="M:System.Collections.Immutable.IImmutableList`1.RemoveRange(System.Int32,System.Int32)">
  134. <summary>Removes a range of elements from the <see cref="T:System.Collections.Immutable.IImmutableList`1" />.</summary>
  135. <param name="index">The zero-based starting index of the range of elements to remove.</param>
  136. <param name="count">The number of elements to remove.</param>
  137. <returns>A new immutable list with the elements removed.</returns>
  138. </member>
  139. <member name="M:System.Collections.Immutable.IImmutableList`1.Replace(`0,`0,System.Collections.Generic.IEqualityComparer{`0})">
  140. <summary>Returns a new list with the first matching element in the list replaced with the specified element.</summary>
  141. <param name="oldValue">The element to be replaced.</param>
  142. <param name="newValue">The element to replace the first occurrence of <paramref name="oldValue" /> with.</param>
  143. <param name="equalityComparer">The equality comparer to use for matching <paramref name="oldValue" />.</param>
  144. <exception cref="T:System.ArgumentException">
  145. <paramref name="oldValue" /> does not exist in the list.</exception>
  146. <returns>A new list that contains <paramref name="newValue" />, even if <paramref name="oldvalue" /> is the same as <paramref name="newValue" />.</returns>
  147. </member>
  148. <member name="M:System.Collections.Immutable.IImmutableList`1.SetItem(System.Int32,`0)">
  149. <summary>Replaces an element in the list at a given position with the specified element.</summary>
  150. <param name="index">The position in the list of the element to replace.</param>
  151. <param name="value">The element to replace the old element with.</param>
  152. <returns>A new list that contains the new element, even if the element at the specified location is the same as the new element.</returns>
  153. </member>
  154. <member name="T:System.Collections.Immutable.IImmutableQueue`1">
  155. <summary>Represents an immutable first-in, first-out collection of objects.
  156. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  157. <typeparam name="T">The type of elements in the queue.</typeparam>
  158. </member>
  159. <member name="M:System.Collections.Immutable.IImmutableQueue`1.Clear">
  160. <summary>Returns a new queue with all the elements removed.</summary>
  161. <returns>An empty immutable queue.</returns>
  162. </member>
  163. <member name="M:System.Collections.Immutable.IImmutableQueue`1.Dequeue">
  164. <summary>Removes the first element in the immutable queue, and returns the new queue.</summary>
  165. <exception cref="T:System.InvalidOperationException">The queue is empty.</exception>
  166. <returns>The new immutable queue with the first element removed. This value is never <see langword="null" />.</returns>
  167. </member>
  168. <member name="M:System.Collections.Immutable.IImmutableQueue`1.Enqueue(`0)">
  169. <summary>Adds an element to the end of the immutable queue, and returns the new queue.</summary>
  170. <param name="value">The element to add.</param>
  171. <returns>The new immutable queue with the specified element added.</returns>
  172. </member>
  173. <member name="M:System.Collections.Immutable.IImmutableQueue`1.Peek">
  174. <summary>Returns the element at the beginning of the immutable queue without removing it.</summary>
  175. <exception cref="T:System.InvalidOperationException">The queue is empty.</exception>
  176. <returns>The element at the beginning of the queue.</returns>
  177. </member>
  178. <member name="P:System.Collections.Immutable.IImmutableQueue`1.IsEmpty">
  179. <summary>Gets a value that indicates whether this immutable queue is empty.</summary>
  180. <returns>
  181. <see langword="true" /> if this queue is empty; otherwise, <see langword="false" />.</returns>
  182. </member>
  183. <member name="T:System.Collections.Immutable.IImmutableSet`1">
  184. <summary>Represents a set of elements that can only be modified by creating a new instance of the set.
  185. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  186. <typeparam name="T">The type of element stored in the set.</typeparam>
  187. </member>
  188. <member name="M:System.Collections.Immutable.IImmutableSet`1.Add(`0)">
  189. <summary>Adds the specified element to this immutable set.</summary>
  190. <param name="value">The element to add.</param>
  191. <returns>A new set with the element added, or this set if the element is already in the set.</returns>
  192. </member>
  193. <member name="M:System.Collections.Immutable.IImmutableSet`1.Clear">
  194. <summary>Retrieves an empty immutable set that has the same sorting and ordering semantics as this instance.</summary>
  195. <returns>An empty set that has the same sorting and ordering semantics as this instance.</returns>
  196. </member>
  197. <member name="M:System.Collections.Immutable.IImmutableSet`1.Contains(`0)">
  198. <summary>Determines whether this immutable set contains a specified element.</summary>
  199. <param name="value">The element to locate in the set.</param>
  200. <returns>
  201. <see langword="true" /> if the set contains the specified value; otherwise, <see langword="false" />.</returns>
  202. </member>
  203. <member name="M:System.Collections.Immutable.IImmutableSet`1.Except(System.Collections.Generic.IEnumerable{`0})">
  204. <summary>Removes the elements in the specified collection from the current immutable set.</summary>
  205. <param name="other">The collection of items to remove from this set.</param>
  206. <returns>A new set with the items removed; or the original set if none of the items were in the set.</returns>
  207. </member>
  208. <member name="M:System.Collections.Immutable.IImmutableSet`1.Intersect(System.Collections.Generic.IEnumerable{`0})">
  209. <summary>Creates an immutable set that contains only elements that exist in this set and the specified set.</summary>
  210. <param name="other">The collection to compare to the current <see cref="T:System.Collections.Immutable.IImmutableSet`1" />.</param>
  211. <returns>A new immutable set that contains elements that exist in both sets.</returns>
  212. </member>
  213. <member name="M:System.Collections.Immutable.IImmutableSet`1.IsProperSubsetOf(System.Collections.Generic.IEnumerable{`0})">
  214. <summary>Determines whether the current immutable set is a proper (strict) subset of the specified collection.</summary>
  215. <param name="other">The collection to compare to the current set.</param>
  216. <returns>
  217. <see langword="true" /> if the current set is a proper subset of the specified collection; otherwise, <see langword="false" />.</returns>
  218. </member>
  219. <member name="M:System.Collections.Immutable.IImmutableSet`1.IsProperSupersetOf(System.Collections.Generic.IEnumerable{`0})">
  220. <summary>Determines whether the current immutable set is a proper (strict) superset of the specified collection.</summary>
  221. <param name="other">The collection to compare to the current set.</param>
  222. <returns>
  223. <see langword="true" /> if the current set is a proper superset of the specified collection; otherwise, <see langword="false" />.</returns>
  224. </member>
  225. <member name="M:System.Collections.Immutable.IImmutableSet`1.IsSubsetOf(System.Collections.Generic.IEnumerable{`0})">
  226. <summary>Determines whether the current immutable set is a subset of a specified collection.</summary>
  227. <param name="other">The collection to compare to the current set.</param>
  228. <returns>
  229. <see langword="true" /> if the current set is a subset of the specified collection; otherwise, <see langword="false" />.</returns>
  230. </member>
  231. <member name="M:System.Collections.Immutable.IImmutableSet`1.IsSupersetOf(System.Collections.Generic.IEnumerable{`0})">
  232. <summary>Determines whether the current immutable set is a superset of a specified collection.</summary>
  233. <param name="other">The collection to compare to the current set.</param>
  234. <returns>
  235. <see langword="true" /> if the current set is a superset of the specified collection; otherwise, <see langword="false" />.</returns>
  236. </member>
  237. <member name="M:System.Collections.Immutable.IImmutableSet`1.Overlaps(System.Collections.Generic.IEnumerable{`0})">
  238. <summary>Determines whether the current immutable set overlaps with the specified collection.</summary>
  239. <param name="other">The collection to compare to the current set.</param>
  240. <returns>
  241. <see langword="true" /> if the current set and the specified collection share at least one common element; otherwise, <see langword="false" />.</returns>
  242. </member>
  243. <member name="M:System.Collections.Immutable.IImmutableSet`1.Remove(`0)">
  244. <summary>Removes the specified element from this immutable set.</summary>
  245. <param name="value">The element to remove.</param>
  246. <returns>A new set with the specified element removed, or the current set if the element cannot be found in the set.</returns>
  247. </member>
  248. <member name="M:System.Collections.Immutable.IImmutableSet`1.SetEquals(System.Collections.Generic.IEnumerable{`0})">
  249. <summary>Determines whether the current immutable set and the specified collection contain the same elements.</summary>
  250. <param name="other">The collection to compare to the current set.</param>
  251. <returns>
  252. <see langword="true" /> if the sets are equal; otherwise, <see langword="false" />.</returns>
  253. </member>
  254. <member name="M:System.Collections.Immutable.IImmutableSet`1.SymmetricExcept(System.Collections.Generic.IEnumerable{`0})">
  255. <summary>Creates an immutable set that contains only elements that are present either in the current set or in the specified collection, but not both.</summary>
  256. <param name="other">The collection to compare to the current set.</param>
  257. <returns>A new set that contains the elements that are present only in the current set or in the specified collection, but not both.</returns>
  258. </member>
  259. <member name="M:System.Collections.Immutable.IImmutableSet`1.TryGetValue(`0,`0@)">
  260. <summary>Determines whether the set contains a specified value.</summary>
  261. <param name="equalValue">The value to search for.</param>
  262. <param name="actualValue">The matching value from the set, if found, or <c>equalvalue</c> if there are no matches.</param>
  263. <returns>
  264. <see langword="true" /> if a matching value was found; otherwise, <see langword="false" />.</returns>
  265. </member>
  266. <member name="M:System.Collections.Immutable.IImmutableSet`1.Union(System.Collections.Generic.IEnumerable{`0})">
  267. <summary>Creates a new immutable set that contains all elements that are present in either the current set or in the specified collection.</summary>
  268. <param name="other">The collection to add elements from.</param>
  269. <returns>A new immutable set with the items added; or the original set if all the items were already in the set.</returns>
  270. </member>
  271. <member name="T:System.Collections.Immutable.IImmutableStack`1">
  272. <summary>Represents an immutable last-in-first-out (LIFO) collection.
  273. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  274. <typeparam name="T">The type of elements in the stack.</typeparam>
  275. </member>
  276. <member name="M:System.Collections.Immutable.IImmutableStack`1.Clear">
  277. <summary>Removes all objects from the immutable stack.</summary>
  278. <returns>An empty immutable stack.</returns>
  279. </member>
  280. <member name="M:System.Collections.Immutable.IImmutableStack`1.Peek">
  281. <summary>Returns the element at the top of the immutable stack without removing it.</summary>
  282. <exception cref="T:System.InvalidOperationException">The stack is empty.</exception>
  283. <returns>The element at the top of the stack.</returns>
  284. </member>
  285. <member name="M:System.Collections.Immutable.IImmutableStack`1.Pop">
  286. <summary>Removes the element at the top of the immutable stack and returns the new stack.</summary>
  287. <exception cref="T:System.InvalidOperationException">The stack is empty.</exception>
  288. <returns>The new stack; never <see langword="null" />.</returns>
  289. </member>
  290. <member name="M:System.Collections.Immutable.IImmutableStack`1.Push(`0)">
  291. <summary>Inserts an element at the top of the immutable stack and returns the new stack.</summary>
  292. <param name="value">The element to push onto the stack.</param>
  293. <returns>The new stack.</returns>
  294. </member>
  295. <member name="P:System.Collections.Immutable.IImmutableStack`1.IsEmpty">
  296. <summary>Gets a value that indicates whether this immutable stack is empty.</summary>
  297. <returns>
  298. <see langword="true" /> if this stack is empty; otherwise,<see langword="false" />.</returns>
  299. </member>
  300. <member name="T:System.Collections.Immutable.ImmutableArray">
  301. <summary>Provides methods for creating an array that is immutable; meaning it cannot be changed once it is created.
  302. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  303. </member>
  304. <member name="M:System.Collections.Immutable.ImmutableArray.BinarySearch``1(System.Collections.Immutable.ImmutableArray{``0},``0)">
  305. <summary>Searches the sorted immutable array for a specified element using the default comparer and returns the zero-based index of the element, if it's found.</summary>
  306. <param name="array">The sorted array to search.</param>
  307. <param name="value">The object to search for.</param>
  308. <typeparam name="T">The type of element stored in the array.</typeparam>
  309. <exception cref="T:System.InvalidOperationException">
  310. <paramref name="value" /> does not implement <see cref="T:System.IComparable" /> or the search encounters an element that does not implement <see cref="T:System.IComparable" />.</exception>
  311. <returns>The zero-based index of the item in the array, if item is found; otherwise, a negative number that is the bitwise complement of the index of the next element that is larger than <paramref name="value" /> or, if there is no larger element, the bitwise complement of <see cref="P:System.Collections.Generic.ICollection`1.Count" />.</returns>
  312. </member>
  313. <member name="M:System.Collections.Immutable.ImmutableArray.BinarySearch``1(System.Collections.Immutable.ImmutableArray{``0},``0,System.Collections.Generic.IComparer{``0})">
  314. <summary>Searches a sorted immutable array for a specified element and returns the zero-based index of the element, if it's found.</summary>
  315. <param name="array">The sorted array to search.</param>
  316. <param name="value">The object to search for.</param>
  317. <param name="comparer">The comparer implementation to use when comparing elements, or null to use the default comparer.</param>
  318. <typeparam name="T">The type of element stored in the array.</typeparam>
  319. <exception cref="T:System.InvalidOperationException">
  320. <paramref name="comparer" /> is null and <paramref name="value" /> does not implement <see cref="T:System.IComparable" /> or the search encounters an element that does not implement <see cref="T:System.IComparable" />.</exception>
  321. <returns>The zero-based index of the item in the array, if item is found; otherwise, a negative number that is the bitwise complement of the index of the next element that is larger than <paramref name="value" /> or, if there is no larger element, the bitwise complement of <see cref="P:System.Collections.Generic.ICollection`1.Count" />.</returns>
  322. </member>
  323. <member name="M:System.Collections.Immutable.ImmutableArray.BinarySearch``1(System.Collections.Immutable.ImmutableArray{``0},System.Int32,System.Int32,``0)">
  324. <summary>Searches a sorted immutable array for a specified element and returns the zero-based index of the element, if it's found.</summary>
  325. <param name="array">The sorted array to search.</param>
  326. <param name="index">The starting index of the range to search.</param>
  327. <param name="length">The length of the range to search.</param>
  328. <param name="value">The object to search for.</param>
  329. <typeparam name="T">The type of element stored in the array.</typeparam>
  330. <exception cref="T:System.InvalidOperationException">
  331. <paramref name="value" /> does not implement <see cref="T:System.IComparable" /> or the search encounters an element that does not implement <see cref="T:System.IComparable" />.</exception>
  332. <exception cref="T:System.ArgumentException">
  333. <paramref name="index" /> and <paramref name="length" /> do not specify a valid range in <paramref name="array" />.</exception>
  334. <exception cref="T:System.ArgumentOutOfRangeException">
  335. <paramref name="index" /> is less than the lower bound of <paramref name="array" />.
  336. -or-
  337. <paramref name="length" /> is less than zero.</exception>
  338. <returns>The zero-based index of the item in the array, if item is found; otherwise, a negative number that is the bitwise complement of the index of the next element that is larger than <paramref name="value" /> or, if there is no larger element, the bitwise complement of <see cref="P:System.Collections.Generic.ICollection`1.Count" />.</returns>
  339. </member>
  340. <member name="M:System.Collections.Immutable.ImmutableArray.BinarySearch``1(System.Collections.Immutable.ImmutableArray{``0},System.Int32,System.Int32,``0,System.Collections.Generic.IComparer{``0})">
  341. <summary>Searches a sorted immutable array for a specified element and returns the zero-based index of the element.</summary>
  342. <param name="array">The sorted array to search.</param>
  343. <param name="index">The starting index of the range to search.</param>
  344. <param name="length">The length of the range to search.</param>
  345. <param name="value">The object to search for.</param>
  346. <param name="comparer">The comparer to use when comparing elements for equality or <see langword="null" /> to use the default comparer.</param>
  347. <typeparam name="T">The type of element stored in the array.</typeparam>
  348. <exception cref="T:System.InvalidOperationException">
  349. <paramref name="comparer" /> is null and <paramref name="value" /> does not implement <see cref="T:System.IComparable" /> or the search encounters an element that does not implement <see cref="T:System.IComparable" />.</exception>
  350. <exception cref="T:System.ArgumentException">
  351. <paramref name="index" /> and <paramref name="length" /> do not specify a valid range in <paramref name="array" />.
  352. -or-
  353. <paramref name="comparer" /> is <see langword="null" />, and <paramref name="value" /> is of a type that is not compatible with the elements of <paramref name="array" />.</exception>
  354. <exception cref="T:System.ArgumentOutOfRangeException">
  355. <paramref name="index" /> is less than the lower bound of <paramref name="array" />.
  356. -or-
  357. <paramref name="length" /> is less than zero.</exception>
  358. <returns>The zero-based index of the item in the array, if item is found; otherwise, a negative number that is the bitwise complement of the index of the next element that is larger than <paramref name="value" /> or, if there is no larger element, the bitwise complement of <see cref="P:System.Collections.Generic.ICollection`1.Count" />.</returns>
  359. </member>
  360. <member name="M:System.Collections.Immutable.ImmutableArray.Create``1">
  361. <summary>Creates an empty immutable array.</summary>
  362. <typeparam name="T">The type of elements stored in the array.</typeparam>
  363. <returns>An empty immutable array.</returns>
  364. </member>
  365. <member name="M:System.Collections.Immutable.ImmutableArray.Create``1(``0)">
  366. <summary>Creates an immutable array that contains the specified object.</summary>
  367. <param name="item">The object to store in the array.</param>
  368. <typeparam name="T">The type of elements stored in the array.</typeparam>
  369. <returns>An immutable array that contains the specified object.</returns>
  370. </member>
  371. <member name="M:System.Collections.Immutable.ImmutableArray.Create``1(``0,``0)">
  372. <summary>Creates an immutable array that contains the specified objects.</summary>
  373. <param name="item1">The first object to store in the array.</param>
  374. <param name="item2">The second object to store in the array.</param>
  375. <typeparam name="T">The type of elements stored in the array.</typeparam>
  376. <returns>An immutable array that contains the specified objects.</returns>
  377. </member>
  378. <member name="M:System.Collections.Immutable.ImmutableArray.Create``1(``0,``0,``0)">
  379. <summary>Creates an immutable array that contains the specified objects.</summary>
  380. <param name="item1">The first object to store in the array.</param>
  381. <param name="item2">The second object to store in the array.</param>
  382. <param name="item3">The third object to store in the array.</param>
  383. <typeparam name="T">The type of elements stored in the array.</typeparam>
  384. <returns>An immutable array that contains the specified objects.</returns>
  385. </member>
  386. <member name="M:System.Collections.Immutable.ImmutableArray.Create``1(``0,``0,``0,``0)">
  387. <summary>Creates an immutable array that contains the specified objects.</summary>
  388. <param name="item1">The first object to store in the array.</param>
  389. <param name="item2">The second object to store in the array.</param>
  390. <param name="item3">The third object to store in the array.</param>
  391. <param name="item4">The fourth object to store in the array.</param>
  392. <typeparam name="T">The type of elements stored in the array.</typeparam>
  393. <returns>An immutable array that contains the specified objects.</returns>
  394. </member>
  395. <member name="M:System.Collections.Immutable.ImmutableArray.Create``1(``0[])">
  396. <summary>Creates an immutable array from the specified array of objects.</summary>
  397. <param name="items">The array of objects to populate the array with.</param>
  398. <typeparam name="T">The type of elements stored in the array.</typeparam>
  399. <returns>An immutable array that contains the array of items.</returns>
  400. </member>
  401. <member name="M:System.Collections.Immutable.ImmutableArray.Create``1(``0[],System.Int32,System.Int32)">
  402. <summary>Creates an immutable array with specified objects from another array.</summary>
  403. <param name="items">The source array of objects.</param>
  404. <param name="start">The index of the first element to copy from <paramref name="items" />.</param>
  405. <param name="length">The number of elements from <paramref name="items" /> to include in this immutable array.</param>
  406. <typeparam name="T">The type of elements stored in the array.</typeparam>
  407. <returns>An immutable array that contains the specified objects from the source array.</returns>
  408. </member>
  409. <member name="M:System.Collections.Immutable.ImmutableArray.Create``1(System.Collections.Immutable.ImmutableArray{``0},System.Int32,System.Int32)">
  410. <summary>Creates an immutable array with the specified objects from another immutable array.</summary>
  411. <param name="items">The source array of objects.</param>
  412. <param name="start">The index of the first element to copy from <paramref name="items" />.</param>
  413. <param name="length">The number of elements from <paramref name="items" /> to include in this immutable array.</param>
  414. <typeparam name="T">The type of elements stored in the array.</typeparam>
  415. <returns>An immutable array that contains the specified objects from the source array.</returns>
  416. </member>
  417. <member name="M:System.Collections.Immutable.ImmutableArray.CreateBuilder``1">
  418. <summary>Creates a mutable array that can be converted to an <see cref="T:System.Collections.Immutable.ImmutableArray" /> without allocating new memory.</summary>
  419. <typeparam name="T">The type of elements stored in the builder.</typeparam>
  420. <returns>A mutable array of the specified type that can be efficiently converted to an immutable array.</returns>
  421. </member>
  422. <member name="M:System.Collections.Immutable.ImmutableArray.CreateBuilder``1(System.Int32)">
  423. <summary>Creates a mutable array that can be converted to an <see cref="T:System.Collections.Immutable.ImmutableArray" /> without allocating new memory.</summary>
  424. <param name="initialCapacity">The initial capacity of the builder.</param>
  425. <typeparam name="T">The type of elements stored in the builder.</typeparam>
  426. <returns>A mutable array of the specified type that can be efficiently converted to an immutable array.</returns>
  427. </member>
  428. <member name="M:System.Collections.Immutable.ImmutableArray.CreateRange``1(System.Collections.Generic.IEnumerable{``0})">
  429. <summary>Creates a new <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> populated with the specified items.</summary>
  430. <param name="items">The elements to add to the array.</param>
  431. <typeparam name="T">The type of element stored in the array.</typeparam>
  432. <returns>An immutable array that contains the specified items.</returns>
  433. </member>
  434. <member name="M:System.Collections.Immutable.ImmutableArray.CreateRange``2(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,``1})">
  435. <summary>Initializes a new instance of the <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> struct.</summary>
  436. <param name="items">The source array to initialize the resulting array with.</param>
  437. <param name="selector">The function to apply to each element from the source array.</param>
  438. <typeparam name="TSource">The type of element stored in the source array.</typeparam>
  439. <typeparam name="TResult">The type of element to store in the target array.</typeparam>
  440. <returns>An immutable array that contains the specified items.</returns>
  441. </member>
  442. <member name="M:System.Collections.Immutable.ImmutableArray.CreateRange``2(System.Collections.Immutable.ImmutableArray{``0},System.Int32,System.Int32,System.Func{``0,``1})">
  443. <summary>Initializes a new instance of the <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> struct.</summary>
  444. <param name="items">The source array to initialize the resulting array with.</param>
  445. <param name="start">The index of the first element in the source array to include in the resulting array.</param>
  446. <param name="length">The number of elements from the source array to include in the resulting array.</param>
  447. <param name="selector">The function to apply to each element from the source array included in the resulting array.</param>
  448. <typeparam name="TSource">The type of element stored in the source array.</typeparam>
  449. <typeparam name="TResult">The type of element to store in the target array.</typeparam>
  450. <returns>An immutable array that contains the specified items.</returns>
  451. </member>
  452. <member name="M:System.Collections.Immutable.ImmutableArray.CreateRange``3(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,``1,``2},``1)">
  453. <summary>Initializes a new instance of the <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> struct.</summary>
  454. <param name="items">The source array to initialize the resulting array with.</param>
  455. <param name="selector">The function to apply to each element from the source array.</param>
  456. <param name="arg">An argument to be passed to the selector mapping function.</param>
  457. <typeparam name="TSource">The type of element stored in the source array.</typeparam>
  458. <typeparam name="TArg">The type of argument to pass to the selector mapping function.</typeparam>
  459. <typeparam name="TResult">The type of element to store in the target array.</typeparam>
  460. <returns>An immutable array that contains the specified items.</returns>
  461. </member>
  462. <member name="M:System.Collections.Immutable.ImmutableArray.CreateRange``3(System.Collections.Immutable.ImmutableArray{``0},System.Int32,System.Int32,System.Func{``0,``1,``2},``1)">
  463. <summary>Initializes a new instance of the <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> struct.</summary>
  464. <param name="items">The source array to initialize the resulting array with.</param>
  465. <param name="start">The index of the first element in the source array to include in the resulting array.</param>
  466. <param name="length">The number of elements from the source array to include in the resulting array.</param>
  467. <param name="selector">The function to apply to each element from the source array included in the resulting array.</param>
  468. <param name="arg">An argument to be passed to the selector mapping function.</param>
  469. <typeparam name="TSource">The type of element stored in the source array.</typeparam>
  470. <typeparam name="TArg">The type of argument to be passed to the selector mapping function.</typeparam>
  471. <typeparam name="TResult">The type of element to be stored in the target array.</typeparam>
  472. <returns>An immutable array that contains the specified items.</returns>
  473. </member>
  474. <member name="M:System.Collections.Immutable.ImmutableArray.ToImmutableArray``1(System.Collections.Generic.IEnumerable{``0})">
  475. <summary>Creates an immutable array from the specified collection.</summary>
  476. <param name="items">The collection of objects to copy to the immutable array.</param>
  477. <typeparam name="TSource">The type of elements contained in <paramref name="items" />.</typeparam>
  478. <returns>An immutable array that contains the specified collection of objects.</returns>
  479. </member>
  480. <member name="M:System.Collections.Immutable.ImmutableArray.ToImmutableArray``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
  481. <summary>Creates an immutable array from the current contents of the builder's array.</summary>
  482. <param name="builder">The builder to create the immutable array from.</param>
  483. <typeparam name="TSource">The type of elements contained in the immutable array.</typeparam>
  484. <returns>An immutable array that contains the current contents of the builder's array.</returns>
  485. </member>
  486. <member name="T:System.Collections.Immutable.ImmutableArray`1">
  487. <summary>Represents an array that is immutable; meaning it cannot be changed once it is created.
  488. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  489. <typeparam name="T">The type of element stored by the array.</typeparam>
  490. </member>
  491. <member name="F:System.Collections.Immutable.ImmutableArray`1.Empty">
  492. <summary>Gets an empty immutable array.</summary>
  493. </member>
  494. <member name="M:System.Collections.Immutable.ImmutableArray`1.Add(`0)">
  495. <summary>Returns a copy of the original array with the specified item added to the end.</summary>
  496. <param name="item">The item to be added to the end of the array.</param>
  497. <returns>A new array with the specified item added to the end.</returns>
  498. </member>
  499. <member name="M:System.Collections.Immutable.ImmutableArray`1.AddRange(System.Collections.Generic.IEnumerable{`0})">
  500. <summary>Returns a copy of the original array with the specified elements added to the end of the array.</summary>
  501. <param name="items">The elements to add to the array.</param>
  502. <returns>A new array with the elements added.</returns>
  503. </member>
  504. <member name="M:System.Collections.Immutable.ImmutableArray`1.AddRange(System.Collections.Immutable.ImmutableArray{`0})">
  505. <summary>Returns a copy of the original array with the specified elements added to the end of the array.</summary>
  506. <param name="items">The elements to add to the array.</param>
  507. <returns>A new array with the elements added.</returns>
  508. </member>
  509. <member name="M:System.Collections.Immutable.ImmutableArray`1.As``1">
  510. <summary>Returns a new immutable array that contains the elements of this array cast to a different type.</summary>
  511. <typeparam name="TOther">The type of array element to return.</typeparam>
  512. <returns>An immutable array that contains the elements of this array, cast to a different type. If the cast fails, returns an array whose <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns <see langword="true" />.</returns>
  513. </member>
  514. <member name="M:System.Collections.Immutable.ImmutableArray`1.AsMemory">
  515. <summary>Creates a new read-only memory region over this immutable array.</summary>
  516. <returns>The read-only memory representation of this immutable array.</returns>
  517. </member>
  518. <member name="M:System.Collections.Immutable.ImmutableArray`1.AsSpan">
  519. <summary>Creates a new read-only span over this immutable array.</summary>
  520. <returns>The read-only span representation of this immutable array.</returns>
  521. </member>
  522. <member name="M:System.Collections.Immutable.ImmutableArray`1.CastArray``1">
  523. <summary>Initializes a new instance of the <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> struct by casting the underlying array to an array of type <typeparamref name="TOther" />.</summary>
  524. <typeparam name="TOther">The type of array element to return.</typeparam>
  525. <exception cref="T:System.InvalidCastException">Thrown if the cast is illegal.</exception>
  526. <returns>An immutable array instance with elements cast to the new type.</returns>
  527. </member>
  528. <member name="M:System.Collections.Immutable.ImmutableArray`1.CastUp``1(System.Collections.Immutable.ImmutableArray{``0})">
  529. <summary>Initializes a new instance of the <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> struct based on the contents of an existing instance, allowing a covariant static cast to efficiently reuse the existing array.</summary>
  530. <param name="items">The array to initialize the array with. No copy is made.</param>
  531. <typeparam name="TDerived">The type of array element to return.</typeparam>
  532. <returns>An immutable array instance with elements cast to the new type.</returns>
  533. </member>
  534. <member name="M:System.Collections.Immutable.ImmutableArray`1.Clear">
  535. <summary>Returns an array with all the elements removed.</summary>
  536. <returns>An array with all of the elements removed.</returns>
  537. </member>
  538. <member name="M:System.Collections.Immutable.ImmutableArray`1.Contains(`0)">
  539. <summary>Determines whether the specified item exists in the array.</summary>
  540. <param name="item">The item to search for.</param>
  541. <returns>
  542. <see langword="true" /> if the specified item was found in the array; otherwise <see langword="false" />.</returns>
  543. </member>
  544. <member name="M:System.Collections.Immutable.ImmutableArray`1.CopyTo(`0[])">
  545. <summary>Copies the contents of this array to the specified array.</summary>
  546. <param name="destination">The array to copy to.</param>
  547. </member>
  548. <member name="M:System.Collections.Immutable.ImmutableArray`1.CopyTo(`0[],System.Int32)">
  549. <summary>Copies the contents of this array to the specified array starting at the specified destination index.</summary>
  550. <param name="destination">The array to copy to.</param>
  551. <param name="destinationIndex">The index in <paramref name="array" /> where copying begins.</param>
  552. </member>
  553. <member name="M:System.Collections.Immutable.ImmutableArray`1.CopyTo(System.Int32,`0[],System.Int32,System.Int32)">
  554. <summary>Copies the specified items in this array to the specified array at the specified starting index.</summary>
  555. <param name="sourceIndex">The index of this array where copying begins.</param>
  556. <param name="destination">The array to copy to.</param>
  557. <param name="destinationIndex">The index in <paramref name="array" /> where copying begins.</param>
  558. <param name="length">The number of elements to copy from this array.</param>
  559. </member>
  560. <member name="M:System.Collections.Immutable.ImmutableArray`1.Equals(System.Collections.Immutable.ImmutableArray{`0})">
  561. <summary>Indicates whether specified array is equal to this array.</summary>
  562. <param name="other">An object to compare with this object.</param>
  563. <returns>
  564. <see langword="true" /> if <paramref name="other" /> is equal to this array; otherwise, <see langword="false" />.</returns>
  565. </member>
  566. <member name="M:System.Collections.Immutable.ImmutableArray`1.Equals(System.Object)">
  567. <summary>Determines if this array is equal to the specified object.</summary>
  568. <param name="obj">The <see cref="T:System.Object" /> to compare with this array.</param>
  569. <returns>
  570. <see langword="true" /> if this array is equal to <paramref name="obj" />; otherwise, <see langword="false" />.</returns>
  571. </member>
  572. <member name="M:System.Collections.Immutable.ImmutableArray`1.GetEnumerator">
  573. <summary>Returns an enumerator that iterates through the contents of the array.</summary>
  574. <returns>An enumerator.</returns>
  575. </member>
  576. <member name="M:System.Collections.Immutable.ImmutableArray`1.GetHashCode">
  577. <summary>Returns a hash code for this instance.</summary>
  578. <returns>A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.</returns>
  579. </member>
  580. <member name="M:System.Collections.Immutable.ImmutableArray`1.IndexOf(`0)">
  581. <summary>Searches the array for the specified item.</summary>
  582. <param name="item">The item to search for.</param>
  583. <returns>The zero-based index position of the item if it is found, or -1 if it is not.</returns>
  584. </member>
  585. <member name="M:System.Collections.Immutable.ImmutableArray`1.IndexOf(`0,System.Int32)">
  586. <summary>Searches the array for the specified item.</summary>
  587. <param name="item">The item to search for.</param>
  588. <param name="startIndex">The index at which to begin the search.</param>
  589. <returns>The zero-based index position of the item if it is found, or -1 if it is not.</returns>
  590. </member>
  591. <member name="M:System.Collections.Immutable.ImmutableArray`1.IndexOf(`0,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
  592. <summary>Searches the array for the specified item.</summary>
  593. <param name="item">The item to search for.</param>
  594. <param name="startIndex">The index at which to begin the search.</param>
  595. <param name="equalityComparer">The equality comparer to use in the search.</param>
  596. <returns>The zero-based index position of the item if it is found, or -1 if it is not.</returns>
  597. </member>
  598. <member name="M:System.Collections.Immutable.ImmutableArray`1.IndexOf(`0,System.Int32,System.Int32)">
  599. <summary>Searches the array for the specified item.</summary>
  600. <param name="item">The item to search for.</param>
  601. <param name="startIndex">The index at which to begin the search.</param>
  602. <param name="count">The number of elements to search.</param>
  603. <returns>The zero-based index position of the item if it is found, or -1 if it is not.</returns>
  604. </member>
  605. <member name="M:System.Collections.Immutable.ImmutableArray`1.IndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
  606. <summary>Searches the array for the specified item.</summary>
  607. <param name="item">The item to search for.</param>
  608. <param name="startIndex">The index at which to begin the search.</param>
  609. <param name="count">The number of elements to search.</param>
  610. <param name="equalityComparer">The equality comparer to use in the search.</param>
  611. <returns>The zero-based index position of the item if it is found, or -1 if it is not.</returns>
  612. </member>
  613. <member name="M:System.Collections.Immutable.ImmutableArray`1.Insert(System.Int32,`0)">
  614. <summary>Returns a new array with the specified value inserted at the specified position.</summary>
  615. <param name="index">The 0-based index into the array at which the new item should be added.</param>
  616. <param name="item">The item to insert at the start of the array.</param>
  617. <returns>A new array with the item inserted at the specified index.</returns>
  618. </member>
  619. <member name="M:System.Collections.Immutable.ImmutableArray`1.InsertRange(System.Int32,System.Collections.Generic.IEnumerable{`0})">
  620. <summary>Inserts the specified values at the specified index.</summary>
  621. <param name="index">The index at which to insert the value.</param>
  622. <param name="items">The elements to insert.</param>
  623. <returns>A new immutable array with the items inserted at the specified index.</returns>
  624. </member>
  625. <member name="M:System.Collections.Immutable.ImmutableArray`1.InsertRange(System.Int32,System.Collections.Immutable.ImmutableArray{`0})">
  626. <summary>Inserts the specified values at the specified index.</summary>
  627. <param name="index">The index at which to insert the value.</param>
  628. <param name="items">The elements to insert.</param>
  629. <returns>A new immutable array with the items inserted at the specified index.</returns>
  630. </member>
  631. <member name="M:System.Collections.Immutable.ImmutableArray`1.ItemRef(System.Int32)">
  632. <summary>Gets a read-only reference to the element at the specified <paramref name="index" /> in the read-only list.</summary>
  633. <param name="index">The zero-based index of the element to get a reference to.</param>
  634. <returns>A read-only reference to the element at the specified <paramref name="index" /> in the read-only list.</returns>
  635. </member>
  636. <member name="M:System.Collections.Immutable.ImmutableArray`1.LastIndexOf(`0)">
  637. <summary>Searches the array for the specified item; starting at the end of the array.</summary>
  638. <param name="item">The item to search for.</param>
  639. <returns>The 0-based index into the array where the item was found; or -1 if it could not be found.</returns>
  640. </member>
  641. <member name="M:System.Collections.Immutable.ImmutableArray`1.LastIndexOf(`0,System.Int32)">
  642. <summary>Searches the array for the specified item; starting at the end of the array.</summary>
  643. <param name="item">The item to search for.</param>
  644. <param name="startIndex">The index at which to begin the search.</param>
  645. <returns>The 0-based index into the array where the item was found; or -1 if it could not be found.</returns>
  646. </member>
  647. <member name="M:System.Collections.Immutable.ImmutableArray`1.LastIndexOf(`0,System.Int32,System.Int32)">
  648. <summary>Searches the array for the specified item; starting at the end of the array.</summary>
  649. <param name="item">The item to search for.</param>
  650. <param name="startIndex">The index at which to begin the search.</param>
  651. <param name="count">The number of elements to search.</param>
  652. <returns>The 0-based index into the array where the item was found; or -1 if it could not be found.</returns>
  653. </member>
  654. <member name="M:System.Collections.Immutable.ImmutableArray`1.LastIndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
  655. <summary>Searches the array for the specified item; starting at the end of the array.</summary>
  656. <param name="item">The item to search for.</param>
  657. <param name="startIndex">The index at which to begin the search.</param>
  658. <param name="count">The number of elements to search.</param>
  659. <param name="equalityComparer">The equality comparer to use in the search.</param>
  660. <returns>The 0-based index into the array where the item was found; or -1 if it could not be found.</returns>
  661. </member>
  662. <member name="M:System.Collections.Immutable.ImmutableArray`1.OfType``1">
  663. <summary>Filters the elements of this array to those assignable to the specified type.</summary>
  664. <typeparam name="TResult">The type to filter the elements of the sequence on.</typeparam>
  665. <returns>An <see cref="T:System.Collections.IEnumerable" /> that contains elements from the input sequence of type of <paramref name="TResult" />.</returns>
  666. </member>
  667. <member name="M:System.Collections.Immutable.ImmutableArray`1.op_Equality(System.Collections.Immutable.ImmutableArray{`0},System.Collections.Immutable.ImmutableArray{`0})">
  668. <summary>Returns a value that indicates if two arrays are equal.</summary>
  669. <param name="left">The array to the left of the operator.</param>
  670. <param name="right">The array to the right of the operator.</param>
  671. <returns>
  672. <see langword="true" /> if the arrays are equal; otherwise, <see langword="false" />.</returns>
  673. </member>
  674. <member name="M:System.Collections.Immutable.ImmutableArray`1.op_Equality(System.Nullable{System.Collections.Immutable.ImmutableArray{`0}},System.Nullable{System.Collections.Immutable.ImmutableArray{`0}})">
  675. <summary>Returns a value that indicates if two arrays are equal.</summary>
  676. <param name="left">The array to the left of the operator.</param>
  677. <param name="right">The array to the right of the operator.</param>
  678. <returns>
  679. <see langword="true" /> if the arrays are equal; otherwise, <see langword="false" />.</returns>
  680. </member>
  681. <member name="M:System.Collections.Immutable.ImmutableArray`1.op_Inequality(System.Collections.Immutable.ImmutableArray{`0},System.Collections.Immutable.ImmutableArray{`0})">
  682. <summary>Returns a value that indicates whether two arrays are not equal.</summary>
  683. <param name="left">The array to the left of the operator.</param>
  684. <param name="right">The array to the right of the operator.</param>
  685. <returns>
  686. <see langword="true" /> if the arrays are not equal; otherwise, <see langword="false" />.</returns>
  687. </member>
  688. <member name="M:System.Collections.Immutable.ImmutableArray`1.op_Inequality(System.Nullable{System.Collections.Immutable.ImmutableArray{`0}},System.Nullable{System.Collections.Immutable.ImmutableArray{`0}})">
  689. <summary>Checks for inequality between two array.</summary>
  690. <param name="left">The object to the left of the operator.</param>
  691. <param name="right">The object to the right of the operator.</param>
  692. <returns>
  693. <see langword="true" /> if the two arrays are not equal; otherwise, <see langword="false" />.</returns>
  694. </member>
  695. <member name="M:System.Collections.Immutable.ImmutableArray`1.Remove(`0)">
  696. <summary>Returns an array with the first occurrence of the specified element removed from the array. If no match is found, the current array is returned.</summary>
  697. <param name="item">The item to remove.</param>
  698. <returns>A new array with the item removed.</returns>
  699. </member>
  700. <member name="M:System.Collections.Immutable.ImmutableArray`1.Remove(`0,System.Collections.Generic.IEqualityComparer{`0})">
  701. <summary>Returns an array with the first occurrence of the specified element removed from the array.
  702. If no match is found, the current array is returned.</summary>
  703. <param name="item">The item to remove.</param>
  704. <param name="equalityComparer">The equality comparer to use in the search.</param>
  705. <returns>A new array with the specified item removed.</returns>
  706. </member>
  707. <member name="M:System.Collections.Immutable.ImmutableArray`1.RemoveAll(System.Predicate{`0})">
  708. <summary>Removes all the items from the array that meet the specified condition.</summary>
  709. <param name="match">The delegate that defines the conditions of the elements to remove.</param>
  710. <returns>A new array with items that meet the specified condition removed.</returns>
  711. </member>
  712. <member name="M:System.Collections.Immutable.ImmutableArray`1.RemoveAt(System.Int32)">
  713. <summary>Returns an array with the element at the specified position removed.</summary>
  714. <param name="index">The 0-based index of the element to remove from the returned array.</param>
  715. <returns>A new array with the item at the specified index removed.</returns>
  716. </member>
  717. <member name="M:System.Collections.Immutable.ImmutableArray`1.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
  718. <summary>Removes the specified items from this array.</summary>
  719. <param name="items">The items to remove if matches are found in this list.</param>
  720. <returns>A new array with the elements removed.</returns>
  721. </member>
  722. <member name="M:System.Collections.Immutable.ImmutableArray`1.RemoveRange(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEqualityComparer{`0})">
  723. <summary>Removes the specified items from this array.</summary>
  724. <param name="items">The items to remove if matches are found in this list.</param>
  725. <param name="equalityComparer">The equality comparer to use in the search.</param>
  726. <returns>A new array with the elements removed.</returns>
  727. </member>
  728. <member name="M:System.Collections.Immutable.ImmutableArray`1.RemoveRange(System.Collections.Immutable.ImmutableArray{`0})">
  729. <summary>Removes the specified values from this list.</summary>
  730. <param name="items">The items to remove if matches are found in this list.</param>
  731. <returns>A new list with the elements removed.</returns>
  732. </member>
  733. <member name="M:System.Collections.Immutable.ImmutableArray`1.RemoveRange(System.Collections.Immutable.ImmutableArray{`0},System.Collections.Generic.IEqualityComparer{`0})">
  734. <summary>Removes the specified items from this list.</summary>
  735. <param name="items">The items to remove if matches are found in this list.</param>
  736. <param name="equalityComparer">The equality comparer to use in the search.</param>
  737. <returns>A new array with the elements removed.</returns>
  738. </member>
  739. <member name="M:System.Collections.Immutable.ImmutableArray`1.RemoveRange(System.Int32,System.Int32)">
  740. <summary>Returns an array with the elements at the specified position removed.</summary>
  741. <param name="index">The 0-based index of the starting element to remove from the array.</param>
  742. <param name="length">The number of elements to remove from the array.</param>
  743. <returns>The new array with the specified elements removed.</returns>
  744. </member>
  745. <member name="M:System.Collections.Immutable.ImmutableArray`1.Replace(`0,`0)">
  746. <summary>Finds the first element in the array equal to the specified value and replaces the value with the specified new value.</summary>
  747. <param name="oldValue">The value to find and replace in the array.</param>
  748. <param name="newValue">The value to replace the <c>oldvalue</c> with.</param>
  749. <exception cref="T:System.ArgumentException">
  750. <paramref name="oldValue" /> is not found in the array.</exception>
  751. <returns>A new array that contains <paramref name="newValue" /> even if the new and old values are the same.</returns>
  752. </member>
  753. <member name="M:System.Collections.Immutable.ImmutableArray`1.Replace(`0,`0,System.Collections.Generic.IEqualityComparer{`0})">
  754. <summary>Finds the first element in the array equal to the specified value and replaces the value with the specified new value.</summary>
  755. <param name="oldValue">The value to find and replace in the array.</param>
  756. <param name="newValue">The value to replace the <c>oldvalue</c> with.</param>
  757. <param name="equalityComparer">The equality comparer to use to compare values.</param>
  758. <exception cref="T:System.ArgumentException">
  759. <paramref name="oldValue" /> is not found in the array.</exception>
  760. <returns>A new array that contains <paramref name="newValue" /> even if the new and old values are the same.</returns>
  761. </member>
  762. <member name="M:System.Collections.Immutable.ImmutableArray`1.SetItem(System.Int32,`0)">
  763. <summary>Replaces the item at the specified index with the specified item.</summary>
  764. <param name="index">The index of the item to replace.</param>
  765. <param name="item">The item to add to the list.</param>
  766. <returns>The new array that contains <paramref name="item" /> at the specified index.</returns>
  767. </member>
  768. <member name="M:System.Collections.Immutable.ImmutableArray`1.Sort">
  769. <summary>Sorts the elements in the immutable array using the default comparer.</summary>
  770. <returns>A new immutable array that contains the items in this array, in sorted order.</returns>
  771. </member>
  772. <member name="M:System.Collections.Immutable.ImmutableArray`1.Sort(System.Collections.Generic.IComparer{`0})">
  773. <summary>Sorts the elements in the immutable array using the specified comparer.</summary>
  774. <param name="comparer">The implementation to use when comparing elements, or <see langword="null" /> to use the default comparer.</param>
  775. <returns>A new immutable array that contains the items in this array, in sorted order.</returns>
  776. </member>
  777. <member name="M:System.Collections.Immutable.ImmutableArray`1.Sort(System.Comparison{`0})">
  778. <summary>Sorts the elements in the entire <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> using the specified <see cref="T:System.Comparison`1" />.</summary>
  779. <param name="comparison">The <see cref="T:System.Comparison`1" /> to use when comparing elements.</param>
  780. <exception cref="T:System.ArgumentNullException">
  781. <paramref name="comparison" /> is null.</exception>
  782. <returns>The sorted list.</returns>
  783. </member>
  784. <member name="M:System.Collections.Immutable.ImmutableArray`1.Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer{`0})">
  785. <summary>Sorts the specified elements in the immutable array using the specified comparer.</summary>
  786. <param name="index">The index of the first element to sort.</param>
  787. <param name="count">The number of elements to include in the sort.</param>
  788. <param name="comparer">The implementation to use when comparing elements, or <see langword="null" /> to use the default comparer.</param>
  789. <returns>A new immutable array that contains the items in this array, in sorted order.</returns>
  790. </member>
  791. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#ICollection{T}#Add(`0)">
  792. <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
  793. <param name="item">The item to add to the end of the array.</param>
  794. </member>
  795. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#ICollection{T}#Clear">
  796. <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
  797. </member>
  798. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#ICollection{T}#Remove(`0)">
  799. <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
  800. <param name="item">The object to remove from the array.</param>
  801. <returns>Throws <see cref="T:System.NotSupportedException" /> in all cases.</returns>
  802. </member>
  803. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
  804. <summary>Returns an enumerator that iterates through the array.</summary>
  805. <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns <see langword="true" />.</exception>
  806. <returns>An enumerator that can be used to iterate through the array.</returns>
  807. </member>
  808. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#IList{T}#Insert(System.Int32,`0)">
  809. <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
  810. <param name="index">The index of the location to insert the item.</param>
  811. <param name="item">The item to insert.</param>
  812. </member>
  813. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#IList{T}#RemoveAt(System.Int32)">
  814. <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
  815. <param name="index">The index.</param>
  816. </member>
  817. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  818. <summary>Copies this array to another array starting at the specified index.</summary>
  819. <param name="array">The array to copy this array to.</param>
  820. <param name="index">The index in the destination array to start the copy operation.</param>
  821. </member>
  822. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IEnumerable#GetEnumerator">
  823. <summary>Returns an enumerator that iterates through the immutable array.</summary>
  824. <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns <see langword="true" />.</exception>
  825. <returns>An enumerator that iterates through the immutable array.</returns>
  826. </member>
  827. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#Add(System.Object)">
  828. <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
  829. <param name="value">The value to add to the array.</param>
  830. <exception cref="T:System.NotSupportedException">Thrown in all cases.</exception>
  831. <returns>Throws <see cref="T:System.NotSupportedException" /> in all cases.</returns>
  832. </member>
  833. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#Clear">
  834. <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
  835. <exception cref="T:System.NotSupportedException">Thrown in all cases.</exception>
  836. </member>
  837. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#Contains(System.Object)">
  838. <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
  839. <param name="value">The value to check for.</param>
  840. <returns>Throws <see cref="T:System.NotSupportedException" /> in all cases.</returns>
  841. </member>
  842. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#IndexOf(System.Object)">
  843. <summary>Gets the value at the specified index.</summary>
  844. <param name="value">The value to return the index of.</param>
  845. <returns>The value of the element at the specified index.</returns>
  846. </member>
  847. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#Insert(System.Int32,System.Object)">
  848. <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
  849. <param name="index">Index that indicates where to insert the item.</param>
  850. <param name="value">The value to insert.</param>
  851. <exception cref="T:System.NotSupportedException">Thrown in all cases.</exception>
  852. </member>
  853. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#Remove(System.Object)">
  854. <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
  855. <param name="value">The value to remove from the array.</param>
  856. <exception cref="T:System.NotSupportedException">Thrown in all cases.</exception>
  857. </member>
  858. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#RemoveAt(System.Int32)">
  859. <summary>Throws <see cref="T:System.NotSupportedException" /> in all cases.</summary>
  860. <param name="index">The index of the item to remove.</param>
  861. <exception cref="T:System.NotSupportedException">Thrown in all cases.</exception>
  862. </member>
  863. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#Add(`0)">
  864. <summary>Returns a copy of the original array with the specified item added to the end.</summary>
  865. <param name="value">The value to add to the end of the array.</param>
  866. <returns>A new array with the specified item added to the end.</returns>
  867. </member>
  868. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#AddRange(System.Collections.Generic.IEnumerable{`0})">
  869. <summary>Returns a copy of the original array with the specified elements added to the end of the array.</summary>
  870. <param name="items">The elements to add to the end of the array.</param>
  871. <returns>A new array with the elements added to the end.</returns>
  872. </member>
  873. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#Clear">
  874. <summary>Returns an array with all the elements removed.</summary>
  875. <returns>An array with all the elements removed.</returns>
  876. </member>
  877. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#Insert(System.Int32,`0)">
  878. <summary>Returns a new array with the specified value inserted at the specified position.</summary>
  879. <param name="index">The 0-based index into the array at which the new item should be added.</param>
  880. <param name="element">The item to insert at the start of the array.</param>
  881. <returns>A new array with the specified value inserted.</returns>
  882. </member>
  883. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#InsertRange(System.Int32,System.Collections.Generic.IEnumerable{`0})">
  884. <summary>Inserts the specified values at the specified index.</summary>
  885. <param name="index">The index at which to insert the value.</param>
  886. <param name="items">The elements to insert.</param>
  887. <returns>A new array with the specified values inserted.</returns>
  888. </member>
  889. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#Remove(`0,System.Collections.Generic.IEqualityComparer{`0})">
  890. <summary>Returns an array with the first occurrence of the specified element removed from the array; if no match is found, the current array is returned.</summary>
  891. <param name="value">The value to remove from the array.</param>
  892. <param name="equalityComparer">The equality comparer to use in the search.</param>
  893. <returns>A new array with the value removed.</returns>
  894. </member>
  895. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#RemoveAll(System.Predicate{`0})">
  896. <summary>Removes all the items from the array that meet the specified condition.</summary>
  897. <param name="match">The delegate that defines the conditions of the elements to remove.</param>
  898. <returns>A new array with items that meet the specified condition removed.</returns>
  899. </member>
  900. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#RemoveAt(System.Int32)">
  901. <summary>Returns an array with the element at the specified position removed.</summary>
  902. <param name="index">The 0-based index of the element to remove from the returned array.</param>
  903. <returns>A new array with the specified item removed.</returns>
  904. </member>
  905. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#RemoveRange(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEqualityComparer{`0})">
  906. <summary>Removes the specified items from this array.</summary>
  907. <param name="items">The items to remove if matches are found in this list.</param>
  908. <param name="equalityComparer">The equality comparer to use in the search.</param>
  909. <returns>A new array with the elements removed.</returns>
  910. </member>
  911. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#RemoveRange(System.Int32,System.Int32)">
  912. <summary>Returns an array with the elements at the specified position removed.</summary>
  913. <param name="index">The 0-based index of the starting element to remove from the array.</param>
  914. <param name="count">The number of elements to remove from the array.</param>
  915. <returns>The new array with the specified elements removed.</returns>
  916. </member>
  917. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#Replace(`0,`0,System.Collections.Generic.IEqualityComparer{`0})">
  918. <summary>Finds the first element in the array equal to the specified value and replaces the value with the specified new value.</summary>
  919. <param name="oldValue">The value to find and replace in the array.</param>
  920. <param name="newValue">The value to replace the <c>oldvalue</c> with.</param>
  921. <param name="equalityComparer">The equality comparer to use to compare values.</param>
  922. <exception cref="T:System.ArgumentException">
  923. <paramref name="oldValue" /> is not found in the array.</exception>
  924. <returns>A new array that contains <paramref name="newValue" /> even if the new and old values are the same.</returns>
  925. </member>
  926. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#Immutable#IImmutableList{T}#SetItem(System.Int32,`0)">
  927. <summary>Replaces the item at the specified index with the specified item.</summary>
  928. <param name="index">The index of the item to replace.</param>
  929. <param name="value">The value to add to the list.</param>
  930. <returns>The new array that contains <paramref name="item" /> at the specified index.</returns>
  931. </member>
  932. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IStructuralComparable#CompareTo(System.Object,System.Collections.IComparer)">
  933. <summary>Determines whether the current collection element precedes, occurs in the same position as, or follows another element in the sort order.</summary>
  934. <param name="other">The element to compare with the current instance.</param>
  935. <param name="comparer">The object used to compare members of the current array with the corresponding members of other array.</param>
  936. <exception cref="T:System.ArgumentException">The arrays are not the same length.</exception>
  937. <returns>An integer that indicates whether the current element precedes, is in the same position or follows the other element.</returns>
  938. </member>
  939. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IStructuralEquatable#Equals(System.Object,System.Collections.IEqualityComparer)">
  940. <summary>Determines whether this array is structurally equal to the specified array.</summary>
  941. <param name="other">The array to compare with the current instance.</param>
  942. <param name="comparer">An object that determines whether the current instance and other are structurally equal.</param>
  943. <returns>
  944. <see langword="true" /> if the two arrays are structurally equal; otherwise, <see langword="false" />.</returns>
  945. </member>
  946. <member name="M:System.Collections.Immutable.ImmutableArray`1.System#Collections#IStructuralEquatable#GetHashCode(System.Collections.IEqualityComparer)">
  947. <summary>Returns a hash code for the current instance.</summary>
  948. <param name="comparer">An object that computes the hash code of the current object.</param>
  949. <returns>The hash code for the current instance.</returns>
  950. </member>
  951. <member name="M:System.Collections.Immutable.ImmutableArray`1.ToBuilder">
  952. <summary>Creates a mutable array that has the same contents as this array and can be efficiently mutated across multiple operations using standard mutable interfaces.</summary>
  953. <returns>The new builder with the same contents as this array.</returns>
  954. </member>
  955. <member name="P:System.Collections.Immutable.ImmutableArray`1.IsDefault">
  956. <summary>Gets a value indicating whether this array was declared but not initialized.</summary>
  957. <returns>
  958. <see langword="true" /> if the <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> is <see langword="null" />; otherwise, <see langword="false" />.</returns>
  959. </member>
  960. <member name="P:System.Collections.Immutable.ImmutableArray`1.IsDefaultOrEmpty">
  961. <summary>Gets a value indicating whether this <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> is empty or is not initialized.</summary>
  962. <returns>
  963. <see langword="true" /> if the <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> is <see langword="null" /> or <see cref="F:System.Collections.Immutable.ImmutableArray`1.Empty" />; otherwise, <see langword="false" />.</returns>
  964. </member>
  965. <member name="P:System.Collections.Immutable.ImmutableArray`1.IsEmpty">
  966. <summary>Gets a value indicating whether this <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> is empty.</summary>
  967. <returns>
  968. <see langword="true" /> if the <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> is empty; otherwise, <see langword="false" />.</returns>
  969. </member>
  970. <member name="P:System.Collections.Immutable.ImmutableArray`1.Item(System.Int32)">
  971. <summary>Gets the element at the specified index in the immutable array.</summary>
  972. <param name="index">The zero-based index of the element to get.</param>
  973. <returns>The element at the specified index in the immutable array.</returns>
  974. </member>
  975. <member name="P:System.Collections.Immutable.ImmutableArray`1.Length">
  976. <summary>Gets the number of elements in the array.</summary>
  977. <returns>The number of elements in the array.</returns>
  978. </member>
  979. <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#ICollection{T}#Count">
  980. <summary>Gets the number of items in the collection.</summary>
  981. <exception cref="T:System.InvalidOperationException">Thrown if the <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns true.</exception>
  982. <returns>Number of items in the collection.</returns>
  983. </member>
  984. <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#ICollection{T}#IsReadOnly">
  985. <summary>Gets a value indicating whether this instance is read only.</summary>
  986. <returns>
  987. <see langword="true" /> if this instance is read only; otherwise, <see langword="false" />.</returns>
  988. </member>
  989. <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#IList{T}#Item(System.Int32)">
  990. <summary>Gets or sets the element at the specified index in the read-only list.</summary>
  991. <param name="index">The zero-based index of the element to get.</param>
  992. <exception cref="T:System.NotSupportedException">Always thrown from the setter.</exception>
  993. <exception cref="T:System.InvalidOperationException">Thrown if the <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns true.</exception>
  994. <returns>The element at the specified index in the read-only list.</returns>
  995. </member>
  996. <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#IReadOnlyCollection{T}#Count">
  997. <summary>Gets the number of items in the collection.</summary>
  998. <exception cref="T:System.InvalidOperationException">Thrown if the <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns true.</exception>
  999. <returns>The number of items in the collection.</returns>
  1000. </member>
  1001. <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#Generic#IReadOnlyList{T}#Item(System.Int32)">
  1002. <summary>Gets the element at the specified index.</summary>
  1003. <param name="index">The index.</param>
  1004. <exception cref="T:System.InvalidOperationException">Thrown if the <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns true.</exception>
  1005. <returns>The element.</returns>
  1006. </member>
  1007. <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#ICollection#Count">
  1008. <summary>Gets the size of the array.</summary>
  1009. <exception cref="T:System.InvalidOperationException">Thrown if the <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns true.</exception>
  1010. <returns>The number of items in the collection.</returns>
  1011. </member>
  1012. <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#ICollection#IsSynchronized">
  1013. <summary>See the <see cref="T:System.Collections.ICollection" /> interface. Always returns <see langword="true" /> since since immutable collections are thread-safe.</summary>
  1014. <returns>Boolean value determining whether the collection is thread-safe.</returns>
  1015. </member>
  1016. <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#ICollection#SyncRoot">
  1017. <summary>Gets the sync root.</summary>
  1018. <returns>An object for synchronizing access to the collection.</returns>
  1019. </member>
  1020. <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#IsFixedSize">
  1021. <summary>Gets a value indicating whether this instance is fixed size.</summary>
  1022. <returns>
  1023. <see langword="true" /> if this instance is fixed size; otherwise, <see langword="false" />.</returns>
  1024. </member>
  1025. <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#IsReadOnly">
  1026. <summary>Gets a value indicating whether this instance is read only.</summary>
  1027. <returns>
  1028. <see langword="true" /> if this instance is read only; otherwise, <see langword="false" />.</returns>
  1029. </member>
  1030. <member name="P:System.Collections.Immutable.ImmutableArray`1.System#Collections#IList#Item(System.Int32)">
  1031. <summary>Gets or sets the <see cref="T:System.Object" /> at the specified index.</summary>
  1032. <param name="index">The index.</param>
  1033. <exception cref="T:System.NotSupportedException">Always thrown from the setter.</exception>
  1034. <exception cref="T:System.InvalidOperationException">Thrown if the <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault" /> property returns true.</exception>
  1035. <returns>The object at the specified index.</returns>
  1036. </member>
  1037. <member name="T:System.Collections.Immutable.ImmutableArray`1.Builder">
  1038. <summary>A writable array accessor that can be converted into an <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> instance without allocating extra memory.
  1039. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  1040. <typeparam name="T" />
  1041. </member>
  1042. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Add(`0)">
  1043. <summary>Adds the specified item to the array.</summary>
  1044. <param name="item">The object to add to the array.</param>
  1045. </member>
  1046. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange(`0[])">
  1047. <summary>Adds the specified items to the end of the array.</summary>
  1048. <param name="items">The items to add to the array.</param>
  1049. </member>
  1050. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange(`0[],System.Int32)">
  1051. <summary>Adds the specified items to the end of the array.</summary>
  1052. <param name="items">The items to add to the array.</param>
  1053. <param name="length">The number of elements from the source array to add.</param>
  1054. </member>
  1055. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange(System.Collections.Generic.IEnumerable{`0})">
  1056. <summary>Adds the specified items to the end of the array.</summary>
  1057. <param name="items">The items to add to the array.</param>
  1058. </member>
  1059. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange(System.Collections.Immutable.ImmutableArray{`0}.Builder)">
  1060. <summary>Adds the specified items to the end of the array.</summary>
  1061. <param name="items">The items to add to the array.</param>
  1062. </member>
  1063. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange(System.Collections.Immutable.ImmutableArray{`0})">
  1064. <summary>Adds the specified items to the end of the array.</summary>
  1065. <param name="items">The items to add to the array.</param>
  1066. </member>
  1067. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange(System.Collections.Immutable.ImmutableArray{`0},System.Int32)">
  1068. <summary>Adds the specified items to the end of the array.</summary>
  1069. <param name="items">The items to add to the array.</param>
  1070. <param name="length">The number of elements from the source array to add.</param>
  1071. </member>
  1072. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange``1(``0[])">
  1073. <summary>Adds the specified items that derive from the type currently in the array, to the end of the array.</summary>
  1074. <param name="items">The items to add to end of the array.</param>
  1075. <typeparam name="TDerived">The type that derives from the type of item already in the array.</typeparam>
  1076. </member>
  1077. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
  1078. <summary>Adds the specified items that derive from the type currently in the array, to the end of the array.</summary>
  1079. <param name="items">The items to add to the end of the array.</param>
  1080. <typeparam name="TDerived">The type that derives from the type of item already in the array.</typeparam>
  1081. </member>
  1082. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.AddRange``1(System.Collections.Immutable.ImmutableArray{``0})">
  1083. <summary>Adds the specified items that derive from the type currently in the array, to the end of the array.</summary>
  1084. <param name="items">The items to add to the end of the array.</param>
  1085. <typeparam name="TDerived">The type that derives from the type of item already in the array.</typeparam>
  1086. </member>
  1087. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Clear">
  1088. <summary>Removes all items from the array.</summary>
  1089. </member>
  1090. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Contains(`0)">
  1091. <summary>Determines whether the array contains a specific value.</summary>
  1092. <param name="item">The object to locate in the array.</param>
  1093. <returns>
  1094. <see langword="true" /> if the object is found; otherwise, <see langword="false" />.</returns>
  1095. </member>
  1096. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.CopyTo(`0[],System.Int32)">
  1097. <summary>Copies the current contents to the specified array.</summary>
  1098. <param name="array">The array to copy to.</param>
  1099. <param name="index">The index to start the copy operation.</param>
  1100. </member>
  1101. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.GetEnumerator">
  1102. <summary>Gets an object that can be used to iterate through the collection.</summary>
  1103. <returns>An object that can be used to iterate through the collection.</returns>
  1104. </member>
  1105. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.IndexOf(`0)">
  1106. <summary>Determines the index of a specific item in the array.</summary>
  1107. <param name="item">The item to locate in the array.</param>
  1108. <returns>The index of <paramref name="item" /> if it's found in the list; otherwise, -1.</returns>
  1109. </member>
  1110. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.IndexOf(`0,System.Int32)">
  1111. <summary>Determines the index of the specified item.</summary>
  1112. <param name="item">The item to locate in the array.</param>
  1113. <param name="startIndex">The starting position of the search.</param>
  1114. <returns>The index of <paramref name="item" /> if it's found in the list; otherwise, -1.</returns>
  1115. </member>
  1116. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.IndexOf(`0,System.Int32,System.Int32)">
  1117. <summary>Determines the index of the specified item.</summary>
  1118. <param name="item">The item to locate in the array.</param>
  1119. <param name="startIndex">The starting position of the search.</param>
  1120. <param name="count">The number of elements to search.</param>
  1121. <returns>The index of <paramref name="item" /> if it's found in the list; otherwise, -1.</returns>
  1122. </member>
  1123. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.IndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
  1124. <summary>Determines the index for the specified item.</summary>
  1125. <param name="item">The item to locate in the array.</param>
  1126. <param name="startIndex">The index at which to begin the search.</param>
  1127. <param name="count">The starting position of the search.</param>
  1128. <param name="equalityComparer">The equality comparer to use in the search.</param>
  1129. <returns>The index of <paramref name="item" /> if it's found in the list; otherwise, -1.</returns>
  1130. </member>
  1131. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Insert(System.Int32,`0)">
  1132. <summary>Inserts an item in the array at the specified index.</summary>
  1133. <param name="index">The zero-based index at which to insert the item.</param>
  1134. <param name="item">The object to insert into the array.</param>
  1135. </member>
  1136. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.ItemRef(System.Int32)">
  1137. <summary>Gets a read-only reference to the element at the specified index.</summary>
  1138. <param name="index">The item index.</param>
  1139. <exception cref="T:System.IndexOutOfRangeException">
  1140. <paramref name="index" /> is greater or equal to the array count.</exception>
  1141. <returns>The read-only reference to the element at the specified index.</returns>
  1142. </member>
  1143. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.LastIndexOf(`0)">
  1144. <summary>Determines the 0-based index of the last occurrence of the specified item in this array.</summary>
  1145. <param name="item">The item to search for.</param>
  1146. <returns>The 0-based index where the item was found; or -1 if it could not be found.</returns>
  1147. </member>
  1148. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.LastIndexOf(`0,System.Int32)">
  1149. <summary>Determines the 0-based index of the last occurrence of the specified item in this array.</summary>
  1150. <param name="item">The item to search for.</param>
  1151. <param name="startIndex">The starting position of the search.</param>
  1152. <returns>The 0-based index into the array where the item was found; or -1 if it could not be found.</returns>
  1153. </member>
  1154. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.LastIndexOf(`0,System.Int32,System.Int32)">
  1155. <summary>Determines the 0-based index of the last occurrence of the specified item in this array.</summary>
  1156. <param name="item">The item to search for.</param>
  1157. <param name="startIndex">The starting position of the search.</param>
  1158. <param name="count">The number of elements to search.</param>
  1159. <returns>The 0-based index into the array where the item was found; or -1 if it could not be found.</returns>
  1160. </member>
  1161. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.LastIndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
  1162. <summary>Determines the 0-based index of the last occurrence of the specified item in this array.</summary>
  1163. <param name="item">The item to search for.</param>
  1164. <param name="startIndex">The starting position of the search.</param>
  1165. <param name="count">The number of elements to search.</param>
  1166. <param name="equalityComparer">The equality comparer to use in the search.</param>
  1167. <returns>The 0-based index into the array where the item was found; or -1 if it could not be found.</returns>
  1168. </member>
  1169. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.MoveToImmutable">
  1170. <summary>Extracts the internal array as an <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> and replaces it with a zero length array.</summary>
  1171. <exception cref="T:System.InvalidOperationException">When <see cref="P:System.Collections.Immutable.ImmutableArray`1.Builder.Count" /> doesn't equal <see cref="P:System.Collections.Immutable.ImmutableArray`1.Builder.Capacity" />.</exception>
  1172. <returns>An immutable array containing the elements of the builder.</returns>
  1173. </member>
  1174. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Remove(`0)">
  1175. <summary>Removes the specified element.</summary>
  1176. <param name="element">The item to remove.</param>
  1177. <returns>
  1178. <see langword="true" /> if <paramref name="element" /> was found and removed; otherwise, <see langword="false" />.</returns>
  1179. </member>
  1180. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.RemoveAt(System.Int32)">
  1181. <summary>Removes the item at the specified index from the array.</summary>
  1182. <param name="index">The zero-based index of the item to remove.</param>
  1183. </member>
  1184. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Reverse">
  1185. <summary>Reverses the order of elements in the collection.</summary>
  1186. </member>
  1187. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Sort">
  1188. <summary>Sorts the contents of the array.</summary>
  1189. </member>
  1190. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Sort(System.Collections.Generic.IComparer{`0})">
  1191. <summary>Sorts the contents of the array.</summary>
  1192. <param name="comparer">The comparer to use for sorting. If comparer is <see langword="null" />, the default comparer for the elements type in the array is used.</param>
  1193. </member>
  1194. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Sort(System.Comparison{`0})">
  1195. <summary>Sorts the elements in the entire array using the specified <see cref="T:System.Comparison`1" />.</summary>
  1196. <param name="comparison">The <see cref="T:System.Comparison`1" /> to use when comparing elements.</param>
  1197. <exception cref="T:System.ArgumentNullException">
  1198. <paramref name="comparison" /> is null.</exception>
  1199. </member>
  1200. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer{`0})">
  1201. <summary>Sorts the contents of the array.</summary>
  1202. <param name="index">The starting index for the sort.</param>
  1203. <param name="count">The number of elements to include in the sort.</param>
  1204. <param name="comparer">The comparer to use for sorting. If comparer is <see langword="null" />, the default comparer for the elements type in the array is used.</param>
  1205. </member>
  1206. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
  1207. <summary>Returns an enumerator that iterates through the array.</summary>
  1208. <returns>An enumerator that iterates through the array.</returns>
  1209. </member>
  1210. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.System#Collections#IEnumerable#GetEnumerator">
  1211. <summary>Returns an enumerator that iterates through the array.</summary>
  1212. <returns>An enumerator that iterates through the array.</returns>
  1213. </member>
  1214. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.ToArray">
  1215. <summary>Creates a new array with the current contents of this <see cref="T:System.Collections.Immutable.ImmutableArray`1.Builder" />.</summary>
  1216. <returns>A new array with the contents of this <see cref="T:System.Collections.Immutable.ImmutableArray`1.Builder" />.</returns>
  1217. </member>
  1218. <member name="M:System.Collections.Immutable.ImmutableArray`1.Builder.ToImmutable">
  1219. <summary>Returns an immutable array that contains the current contents of this <see cref="T:System.Collections.Immutable.ImmutableArray`1.Builder" />.</summary>
  1220. <returns>An immutable array that contains the current contents of this <see cref="T:System.Collections.Immutable.ImmutableArray`1.Builder" />.</returns>
  1221. </member>
  1222. <member name="P:System.Collections.Immutable.ImmutableArray`1.Builder.Capacity">
  1223. <summary>Gets or sets the length of the internal array. When set, the internal array is reallocated to the given capacity if it is not already the specified length.</summary>
  1224. <returns>The length of the internal array.</returns>
  1225. </member>
  1226. <member name="P:System.Collections.Immutable.ImmutableArray`1.Builder.Count">
  1227. <summary>Gets or sets the number of items in the array.</summary>
  1228. <returns>The number of items in the array.</returns>
  1229. </member>
  1230. <member name="P:System.Collections.Immutable.ImmutableArray`1.Builder.Item(System.Int32)">
  1231. <summary>Gets or sets the item at the specified index.</summary>
  1232. <param name="index">The index of the item to get or set.</param>
  1233. <exception cref="T:System.IndexOutOfRangeException">The specified index is not in the array.</exception>
  1234. <returns>The item at the specified index.</returns>
  1235. </member>
  1236. <member name="P:System.Collections.Immutable.ImmutableArray`1.Builder.System#Collections#Generic#ICollection{T}#IsReadOnly">
  1237. <summary>Gets a value that indicates whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
  1238. <returns>
  1239. <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
  1240. </member>
  1241. <member name="T:System.Collections.Immutable.ImmutableArray`1.Enumerator">
  1242. <summary>An array enumerator.
  1243. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  1244. <typeparam name="T" />
  1245. </member>
  1246. <member name="M:System.Collections.Immutable.ImmutableArray`1.Enumerator.MoveNext">
  1247. <summary>Advances to the next value in the array.</summary>
  1248. <returns>
  1249. <see langword="true" /> if another item exists in the array; otherwise, <see langword="false" />.</returns>
  1250. </member>
  1251. <member name="P:System.Collections.Immutable.ImmutableArray`1.Enumerator.Current">
  1252. <summary>Gets the current item.</summary>
  1253. <returns>The current item.</returns>
  1254. </member>
  1255. <member name="T:System.Collections.Immutable.ImmutableDictionary">
  1256. <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableDictionary`2" /> class.
  1257. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  1258. </member>
  1259. <member name="M:System.Collections.Immutable.ImmutableDictionary.Contains``2(System.Collections.Immutable.IImmutableDictionary{``0,``1},``0,``1)">
  1260. <summary>Determines whether the specified immutable dictionary contains the specified key/value pair.</summary>
  1261. <param name="map">The immutable dictionary to search.</param>
  1262. <param name="key">The key to locate in the immutable dictionary.</param>
  1263. <param name="value">The value to locate on the specified key, if the key is found.</param>
  1264. <typeparam name="TKey">The type of the keys in the immutable dictionary.</typeparam>
  1265. <typeparam name="TValue">The type of the values in the immutable dictionary.</typeparam>
  1266. <returns>
  1267. <see langword="true" /> if this map contains the specified key/value pair; otherwise, <see langword="false" />.</returns>
  1268. </member>
  1269. <member name="M:System.Collections.Immutable.ImmutableDictionary.Create``2">
  1270. <summary>Creates an empty immutable dictionary.</summary>
  1271. <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
  1272. <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
  1273. <returns>An empty immutable dictionary.</returns>
  1274. </member>
  1275. <member name="M:System.Collections.Immutable.ImmutableDictionary.Create``2(System.Collections.Generic.IEqualityComparer{``0})">
  1276. <summary>Creates an empty immutable dictionary that uses the specified key comparer.</summary>
  1277. <param name="keyComparer">The implementation to use to determine the equality of keys in the dictionary.</param>
  1278. <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
  1279. <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
  1280. <returns>An empty immutable dictionary.</returns>
  1281. </member>
  1282. <member name="M:System.Collections.Immutable.ImmutableDictionary.Create``2(System.Collections.Generic.IEqualityComparer{``0},System.Collections.Generic.IEqualityComparer{``1})">
  1283. <summary>Creates an empty immutable dictionary that uses the specified key and value comparers.</summary>
  1284. <param name="keyComparer">The implementation to use to determine the equality of keys in the dictionary.</param>
  1285. <param name="valueComparer">The implementation to use to determine the equality of values in the dictionary.</param>
  1286. <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
  1287. <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
  1288. <returns>An empty immutable dictionary.</returns>
  1289. </member>
  1290. <member name="M:System.Collections.Immutable.ImmutableDictionary.CreateBuilder``2">
  1291. <summary>Creates a new immutable dictionary builder.</summary>
  1292. <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
  1293. <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
  1294. <returns>The new builder.</returns>
  1295. </member>
  1296. <member name="M:System.Collections.Immutable.ImmutableDictionary.CreateBuilder``2(System.Collections.Generic.IEqualityComparer{``0})">
  1297. <summary>Creates a new immutable dictionary builder.</summary>
  1298. <param name="keyComparer">The key comparer.</param>
  1299. <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
  1300. <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
  1301. <returns>The new builder.</returns>
  1302. </member>
  1303. <member name="M:System.Collections.Immutable.ImmutableDictionary.CreateBuilder``2(System.Collections.Generic.IEqualityComparer{``0},System.Collections.Generic.IEqualityComparer{``1})">
  1304. <summary>Creates a new immutable dictionary builder.</summary>
  1305. <param name="keyComparer">The key comparer.</param>
  1306. <param name="valueComparer">The value comparer.</param>
  1307. <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
  1308. <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
  1309. <returns>The new builder.</returns>
  1310. </member>
  1311. <member name="M:System.Collections.Immutable.ImmutableDictionary.CreateRange``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
  1312. <summary>Creates a new immutable dictionary that contains the specified items.</summary>
  1313. <param name="items">The items used to populate the dictionary before it's immutable.</param>
  1314. <typeparam name="TKey">The type of keys in the dictionary.</typeparam>
  1315. <typeparam name="TValue">The type of values in the dictionary.</typeparam>
  1316. <returns>A new immutable dictionary that contains the specified items.</returns>
  1317. </member>
  1318. <member name="M:System.Collections.Immutable.ImmutableDictionary.CreateRange``2(System.Collections.Generic.IEqualityComparer{``0},System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
  1319. <summary>Creates a new immutable dictionary that contains the specified items and uses the specified key comparer.</summary>
  1320. <param name="keyComparer">The comparer implementation to use to compare keys for equality.</param>
  1321. <param name="items">The items to add to the dictionary before it's immutable.</param>
  1322. <typeparam name="TKey">The type of keys in the dictionary.</typeparam>
  1323. <typeparam name="TValue">The type of values in the dictionary.</typeparam>
  1324. <returns>A new immutable dictionary that contains the specified items and uses the specified comparer.</returns>
  1325. </member>
  1326. <member name="M:System.Collections.Immutable.ImmutableDictionary.CreateRange``2(System.Collections.Generic.IEqualityComparer{``0},System.Collections.Generic.IEqualityComparer{``1},System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
  1327. <summary>Creates a new immutable dictionary that contains the specified items and uses the specified key comparer.</summary>
  1328. <param name="keyComparer">The comparer implementation to use to compare keys for equality.</param>
  1329. <param name="valueComparer">The comparer implementation to use to compare values for equality.</param>
  1330. <param name="items">The items to add to the dictionary before it's immutable.</param>
  1331. <typeparam name="TKey">The type of keys in the dictionary.</typeparam>
  1332. <typeparam name="TValue">The type of values in the dictionary.</typeparam>
  1333. <returns>A new immutable dictionary that contains the specified items and uses the specified comparer.</returns>
  1334. </member>
  1335. <member name="M:System.Collections.Immutable.ImmutableDictionary.GetValueOrDefault``2(System.Collections.Immutable.IImmutableDictionary{``0,``1},``0)">
  1336. <summary>Gets the value for a given key if a matching key exists in the dictionary.</summary>
  1337. <param name="dictionary">The dictionary to retrieve the value from.</param>
  1338. <param name="key">The key to search for.</param>
  1339. <typeparam name="TKey">The type of the key.</typeparam>
  1340. <typeparam name="TValue">The type of the value.</typeparam>
  1341. <returns>The value for the key, or <c>default(TValue)</c> if no matching key was found.</returns>
  1342. </member>
  1343. <member name="M:System.Collections.Immutable.ImmutableDictionary.GetValueOrDefault``2(System.Collections.Immutable.IImmutableDictionary{``0,``1},``0,``1)">
  1344. <summary>Gets the value for a given key if a matching key exists in the dictionary.</summary>
  1345. <param name="dictionary">The dictionary to retrieve the value from.</param>
  1346. <param name="key">The key to search for.</param>
  1347. <param name="defaultValue">The default value to return if no matching key is found in the dictionary.</param>
  1348. <typeparam name="TKey">The type of the key.</typeparam>
  1349. <typeparam name="TValue">The type of the value.</typeparam>
  1350. <returns>The value for the key, or <paramref name="defaultValue" /> if no matching key was found.</returns>
  1351. </member>
  1352. <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1})">
  1353. <summary>Constructs an immutable dictionary from an existing collection of elements, applying a transformation function to the source keys.</summary>
  1354. <param name="source">The source collection used to generate the immutable dictionary.</param>
  1355. <param name="keySelector">The function used to transform keys for the immutable dictionary.</param>
  1356. <typeparam name="TSource">The type of element in the source collection.</typeparam>
  1357. <typeparam name="TKey">The type of key in the resulting immutable dictionary.</typeparam>
  1358. <returns>The immutable dictionary that contains elements from <paramref name="source" />, with keys transformed by applying <paramref name="keySelector" />.</returns>
  1359. </member>
  1360. <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``2(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Collections.Generic.IEqualityComparer{``1})">
  1361. <summary>Constructs an immutable dictionary based on some transformation of a sequence.</summary>
  1362. <param name="source">The source collection used to generate the immutable dictionary.</param>
  1363. <param name="keySelector">The function used to transform keys for the immutable dictionary.</param>
  1364. <param name="keyComparer">The key comparer to use for the dictionary.</param>
  1365. <typeparam name="TSource">The type of element in the source collection.</typeparam>
  1366. <typeparam name="TKey">The type of key in the resulting immutable dictionary.</typeparam>
  1367. <returns>The immutable dictionary that contains elements from <paramref name="source" />, with keys transformed by applying <paramref name="keySelector" />.</returns>
  1368. </member>
  1369. <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
  1370. <summary>Enumerates a sequence of key/value pairs and produces an immutable dictionary of its contents.</summary>
  1371. <param name="source">The sequence of key/value pairs to enumerate.</param>
  1372. <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
  1373. <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
  1374. <returns>An immutable dictionary that contains the key/value pairs in the specified sequence.</returns>
  1375. </member>
  1376. <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}},System.Collections.Generic.IEqualityComparer{``0})">
  1377. <summary>Enumerates a sequence of key/value pairs and produces an immutable dictionary of its contents by using the specified key comparer.</summary>
  1378. <param name="source">The sequence of key/value pairs to enumerate.</param>
  1379. <param name="keyComparer">The key comparer to use when building the immutable dictionary.</param>
  1380. <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
  1381. <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
  1382. <returns>An immutable dictionary that contains the key/value pairs in the specified sequence.</returns>
  1383. </member>
  1384. <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}},System.Collections.Generic.IEqualityComparer{``0},System.Collections.Generic.IEqualityComparer{``1})">
  1385. <summary>Enumerates a sequence of key/value pairs and produces an immutable dictionary of its contents by using the specified key and value comparers.</summary>
  1386. <param name="source">The sequence of key/value pairs to enumerate.</param>
  1387. <param name="keyComparer">The key comparer to use when building the immutable dictionary.</param>
  1388. <param name="valueComparer">The value comparer to use for the immutable dictionary.</param>
  1389. <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
  1390. <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
  1391. <returns>An immutable dictionary that contains the key/value pairs in the specified sequence.</returns>
  1392. </member>
  1393. <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}.Builder)">
  1394. <summary>Creates an immutable dictionary from the current contents of the builder's dictionary.</summary>
  1395. <param name="builder">The builder to create the immutable dictionary from.</param>
  1396. <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
  1397. <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
  1398. <returns>An immutable dictionary that contains the current contents in the builder's dictionary.</returns>
  1399. </member>
  1400. <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``3(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Func{``0,``2})">
  1401. <summary>Enumerates and transforms a sequence, and produces an immutable dictionary of its contents.</summary>
  1402. <param name="source">The sequence to enumerate to generate the dictionary.</param>
  1403. <param name="keySelector">The function that will produce the key for the dictionary from each sequence element.</param>
  1404. <param name="elementSelector">The function that will produce the value for the dictionary from each sequence element.</param>
  1405. <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
  1406. <typeparam name="TKey">The type of the keys in the resulting dictionary.</typeparam>
  1407. <typeparam name="TValue">The type of the values in the resulting dictionary.</typeparam>
  1408. <returns>An immutable dictionary that contains the items in the specified sequence.</returns>
  1409. </member>
  1410. <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``3(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Func{``0,``2},System.Collections.Generic.IEqualityComparer{``1})">
  1411. <summary>Enumerates and transforms a sequence, and produces an immutable dictionary of its contents by using the specified key comparer.</summary>
  1412. <param name="source">The sequence to enumerate to generate the dictionary.</param>
  1413. <param name="keySelector">The function that will produce the key for the dictionary from each sequence element.</param>
  1414. <param name="elementSelector">The function that will produce the value for the dictionary from each sequence element.</param>
  1415. <param name="keyComparer">The key comparer to use for the dictionary.</param>
  1416. <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
  1417. <typeparam name="TKey">The type of the keys in the resulting dictionary.</typeparam>
  1418. <typeparam name="TValue">The type of the values in the resulting dictionary.</typeparam>
  1419. <returns>An immutable dictionary that contains the items in the specified sequence.</returns>
  1420. </member>
  1421. <member name="M:System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary``3(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Func{``0,``2},System.Collections.Generic.IEqualityComparer{``1},System.Collections.Generic.IEqualityComparer{``2})">
  1422. <summary>Enumerates and transforms a sequence, and produces an immutable dictionary of its contents by using the specified key and value comparers.</summary>
  1423. <param name="source">The sequence to enumerate to generate the dictionary.</param>
  1424. <param name="keySelector">The function that will produce the key for the dictionary from each sequence element.</param>
  1425. <param name="elementSelector">The function that will produce the value for the dictionary from each sequence element.</param>
  1426. <param name="keyComparer">The key comparer to use for the dictionary.</param>
  1427. <param name="valueComparer">The value comparer to use for the dictionary.</param>
  1428. <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
  1429. <typeparam name="TKey">The type of the keys in the resulting dictionary.</typeparam>
  1430. <typeparam name="TValue">The type of the values in the resulting dictionary.</typeparam>
  1431. <returns>An immutable dictionary that contains the items in the specified sequence.</returns>
  1432. </member>
  1433. <member name="T:System.Collections.Immutable.ImmutableDictionary`2">
  1434. <summary>Represents an immutable, unordered collection of keys and values.
  1435. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  1436. <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
  1437. <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
  1438. </member>
  1439. <member name="F:System.Collections.Immutable.ImmutableDictionary`2.Empty">
  1440. <summary>Gets an empty immutable dictionary.</summary>
  1441. </member>
  1442. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Add(`0,`1)">
  1443. <summary>Adds an element with the specified key and value to the immutable dictionary.</summary>
  1444. <param name="key">The key of the element to add.</param>
  1445. <param name="value">The value of the element to add.</param>
  1446. <exception cref="T:System.ArgumentException">The given key already exists in the dictionary but has a different value.</exception>
  1447. <returns>A new immutable dictionary that contains the additional key/value pair.</returns>
  1448. </member>
  1449. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.AddRange(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
  1450. <summary>Adds the specified key/value pairs to the immutable dictionary.</summary>
  1451. <param name="pairs">The key/value pairs to add.</param>
  1452. <exception cref="T:System.ArgumentException">One of the given keys already exists in the dictionary but has a different value.</exception>
  1453. <returns>A new immutable dictionary that contains the additional key/value pairs.</returns>
  1454. </member>
  1455. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Clear">
  1456. <summary>Retrieves an empty immutable dictionary that has the same ordering and key/value comparison rules as this dictionary instance.</summary>
  1457. <returns>An empty dictionary with equivalent ordering and key/value comparison rules.</returns>
  1458. </member>
  1459. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Contains(System.Collections.Generic.KeyValuePair{`0,`1})">
  1460. <summary>Determines whether this immutable dictionary contains the specified key/value pair.</summary>
  1461. <param name="pair">The key/value pair to locate.</param>
  1462. <returns>
  1463. <see langword="true" /> if the specified key/value pair is found in the dictionary; otherwise, <see langword="false" />.</returns>
  1464. </member>
  1465. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.ContainsKey(`0)">
  1466. <summary>Determines whether the immutable dictionary contains an element with the specified key.</summary>
  1467. <param name="key">The key to locate.</param>
  1468. <returns>
  1469. <see langword="true" /> if the immutable dictionary contains an element with the specified key; otherwise, <see langword="false" />.</returns>
  1470. </member>
  1471. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.ContainsValue(`1)">
  1472. <summary>Determines whether the immutable dictionary contains an element with the specified value.</summary>
  1473. <param name="value">The value to locate. The value can be <see langword="null" /> for reference types.</param>
  1474. <returns>
  1475. <see langword="true" /> if the dictionary contains an element with the specified value; otherwise, <see langword="false" />.</returns>
  1476. </member>
  1477. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.GetEnumerator">
  1478. <summary>Returns an enumerator that iterates through the immutable dictionary.</summary>
  1479. <returns>An enumerator that can be used to iterate through the dictionary.</returns>
  1480. </member>
  1481. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Remove(`0)">
  1482. <summary>Removes the element with the specified key from the immutable dictionary.</summary>
  1483. <param name="key">The key of the element to remove.</param>
  1484. <returns>A new immutable dictionary with the specified element removed; or this instance if the specified key cannot be found in the dictionary.</returns>
  1485. </member>
  1486. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
  1487. <summary>Removes the elements with the specified keys from the immutable dictionary.</summary>
  1488. <param name="keys">The keys of the elements to remove.</param>
  1489. <returns>A new immutable dictionary with the specified keys removed; or this instance if the specified keys cannot be found in the dictionary.</returns>
  1490. </member>
  1491. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.SetItem(`0,`1)">
  1492. <summary>Sets the specified key and value in the immutable dictionary, possibly overwriting an existing value for the key.</summary>
  1493. <param name="key">The key of the entry to add.</param>
  1494. <param name="value">The key value to set.</param>
  1495. <returns>A new immutable dictionary that contains the specified key/value pair.</returns>
  1496. </member>
  1497. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.SetItems(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
  1498. <summary>Sets the specified key/value pairs in the immutable dictionary, possibly overwriting existing values for the keys.</summary>
  1499. <param name="items">The key/value pairs to set in the dictionary. If any of the keys already exist in the dictionary, this method will overwrite their previous values.</param>
  1500. <returns>A new immutable dictionary that contains the specified key/value pairs.</returns>
  1501. </member>
  1502. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#Add(System.Collections.Generic.KeyValuePair{`0,`1})">
  1503. <summary>Adds an item to the <see cref="T:System.Collections.Generic.ICollection`1" />.</summary>
  1504. <param name="item">The object to add to the <see cref="T:System.Collections.Generic.ICollection`1" />.</param>
  1505. </member>
  1506. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#Clear">
  1507. <summary>Removes all items from the <see cref="T:System.Collections.Generic.ICollection`1" />.</summary>
  1508. </member>
  1509. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#CopyTo(System.Collections.Generic.KeyValuePair{`0,`1}[],System.Int32)">
  1510. <summary>Copies the elements of the <see cref="T:System.Collections.Generic.ICollection`1" /> to an <see cref="T:System.Array" />, starting at a particular <see cref="T:System.Array" /> index.</summary>
  1511. <param name="array">The one-dimensional <see cref="T:System.Array" /> that is the destination of the elements copied from <see cref="T:System.Collections.Generic.ICollection`1" />. The <see cref="T:System.Array" /> must have zero-based indexing.</param>
  1512. <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  1513. </member>
  1514. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#Remove(System.Collections.Generic.KeyValuePair{`0,`1})">
  1515. <summary>Removes the first occurrence of a specific object from the <see cref="T:System.Collections.Generic.ICollection`1" />.</summary>
  1516. <param name="item">The object to remove from the <see cref="T:System.Collections.Generic.ICollection`1" />.</param>
  1517. <returns>
  1518. <see langword="true" /> if <paramref name="item" /> was successfully removed from the <see cref="T:System.Collections.Generic.ICollection`1" />; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="item" /> is not found in the original <see cref="T:System.Collections.Generic.ICollection`1" />.</returns>
  1519. </member>
  1520. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Add(`0,`1)">
  1521. <summary>Adds an element with the provided key and value to the immutable dictionary.</summary>
  1522. <param name="key">The object to use as the key of the element to add.</param>
  1523. <param name="value">The object to use as the value of the element to add.</param>
  1524. <exception cref="T:System.ArgumentNullException">
  1525. <paramref name="key" /> is <see langword="null" />.</exception>
  1526. <exception cref="T:System.ArgumentException">An element with the same key already exists in the <see cref="T:System.Collections.Generic.IDictionary`2" />.</exception>
  1527. <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.Generic.IDictionary`2" /> is read-only.</exception>
  1528. </member>
  1529. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Remove(`0)">
  1530. <summary>Removes the element with the specified key from the generic dictionary.</summary>
  1531. <param name="key">The key of the element to remove.</param>
  1532. <exception cref="T:System.ArgumentNullException">
  1533. <paramref name="key" /> is <see langword="null" />.</exception>
  1534. <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.Generic.IDictionary`2" /> is read-only.</exception>
  1535. <returns>
  1536. <see langword="true" /> if the element is successfully removed; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="key" /> was not found in the original generic dictionary.</returns>
  1537. </member>
  1538. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#IEnumerable{System#Collections#Generic#KeyValuePair{TKey@TValue}}#GetEnumerator">
  1539. <summary>Returns an enumerator that iterates through the collection.</summary>
  1540. <returns>An enumerator that can be used to iterate through the collection.</returns>
  1541. </member>
  1542. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  1543. <summary>Copies the elements of the dictionary to an array, starting at a particular array index.</summary>
  1544. <param name="array">The one-dimensional array that is the destination of the elements copied from the dictionary. The array must have zero-based indexing.</param>
  1545. <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  1546. </member>
  1547. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Add(System.Object,System.Object)">
  1548. <summary>Adds an element with the provided key and value to the immutable dictionary object.</summary>
  1549. <param name="key">The object to use as the key of the element to add.</param>
  1550. <param name="value">The object to use as the value of the element to add.</param>
  1551. </member>
  1552. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Clear">
  1553. <summary>Clears this instance.</summary>
  1554. <exception cref="T:System.NotSupportedException">The dictionary object is read-only.</exception>
  1555. </member>
  1556. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Contains(System.Object)">
  1557. <summary>Determines whether the immutable dictionary object contains an element with the specified key.</summary>
  1558. <param name="key">The key to locate in the dictionary object.</param>
  1559. <returns>
  1560. <see langword="true" /> if the dictionary contains an element with the key; otherwise, <see langword="false" />.</returns>
  1561. </member>
  1562. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#GetEnumerator">
  1563. <summary>Returns an <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the immutable dictionary object.</summary>
  1564. <returns>An enumerator object for the dictionary object.</returns>
  1565. </member>
  1566. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Remove(System.Object)">
  1567. <summary>Removes the element with the specified key from the immutable dictionary object.</summary>
  1568. <param name="key">The key of the element to remove.</param>
  1569. </member>
  1570. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IEnumerable#GetEnumerator">
  1571. <summary>Returns an enumerator that iterates through a collection.</summary>
  1572. <returns>An enumerator object that can be used to iterate through the collection.</returns>
  1573. </member>
  1574. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#Add(`0,`1)">
  1575. <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
  1576. <param name="key">Key of the entry to be added.</param>
  1577. <param name="value">Value of the entry to be added.</param>
  1578. <returns>A new immutable dictionary that contains the additional key/value pair.</returns>
  1579. </member>
  1580. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#AddRange(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
  1581. <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
  1582. <param name="pairs">Sequence of key/value pairs to be added to the dictionary.</param>
  1583. <returns>A new immutable dictionary that contains the additional key/value pairs.</returns>
  1584. </member>
  1585. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#Clear">
  1586. <summary>Retrieves an empty dictionary that has the same ordering and key-value comparison rules as this dictionary instance.</summary>
  1587. <returns>The immutable dictionary instance.</returns>
  1588. </member>
  1589. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#Remove(`0)">
  1590. <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
  1591. <param name="key">Key of the entry to be removed.</param>
  1592. <returns>A new immutable dictionary with the specified element removed; or this instance if the specified key cannot be found in the dictionary.</returns>
  1593. </member>
  1594. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#RemoveRange(System.Collections.Generic.IEnumerable{`0})">
  1595. <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
  1596. <param name="keys">Sequence of keys to be removed.</param>
  1597. <returns>A new immutable dictionary with the specified keys removed; or this instance if the specified keys cannot be found in the dictionary.</returns>
  1598. </member>
  1599. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#SetItem(`0,`1)">
  1600. <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
  1601. <param name="key">Key of entry to be added.</param>
  1602. <param name="value">Value of the entry to be added.</param>
  1603. <returns>A new immutable dictionary that contains the specified key/value pair.</returns>
  1604. </member>
  1605. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#SetItems(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
  1606. <summary>Applies a given set of key-value pairs to an immutable dictionary, replacing any conflicting keys in the resulting dictionary.</summary>
  1607. <param name="items">The key-value pairs to set on the map. Any keys that conflict with existing keys will replace the previous values.</param>
  1608. <returns>A copy of the immutable dictionary with updated key-value pairs.</returns>
  1609. </member>
  1610. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.ToBuilder">
  1611. <summary>Creates an immutable dictionary with the same contents as this dictionary that can be efficiently mutated across multiple operations by using standard mutable interfaces.</summary>
  1612. <returns>A collection with the same contents as this dictionary that can be efficiently mutated across multiple operations by using standard mutable interfaces.</returns>
  1613. </member>
  1614. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.TryGetKey(`0,`0@)">
  1615. <summary>Determines whether this dictionary contains a specified key.</summary>
  1616. <param name="equalKey">The key to search for.</param>
  1617. <param name="actualKey">The matching key located in the dictionary if found, or <c>equalkey</c> if no match is found.</param>
  1618. <returns>
  1619. <see langword="true" /> if a match for <paramref name="equalKey" /> is found; otherwise, <see langword="false" />.</returns>
  1620. </member>
  1621. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.TryGetValue(`0,`1@)">
  1622. <summary>Gets the value associated with the specified key.</summary>
  1623. <param name="key">The key whose value will be retrieved.</param>
  1624. <param name="value">When this method returns, contains the value associated with the specified key, if the key is found; otherwise, contains the default value for the type of the <paramref name="value" /> parameter. This parameter is passed uninitialized.</param>
  1625. <exception cref="T:System.ArgumentNullException">
  1626. <paramref name="key" /> is null.</exception>
  1627. <returns>
  1628. <see langword="true" /> if the object that implements the dictionary contains an element with the specified key; otherwise, <see langword="false" />.</returns>
  1629. </member>
  1630. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.WithComparers(System.Collections.Generic.IEqualityComparer{`0})">
  1631. <summary>Gets an instance of the immutable dictionary that uses the specified key comparer.</summary>
  1632. <param name="keyComparer">The key comparer to use.</param>
  1633. <returns>An instance of the immutable dictionary that uses the given comparer.</returns>
  1634. </member>
  1635. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.WithComparers(System.Collections.Generic.IEqualityComparer{`0},System.Collections.Generic.IEqualityComparer{`1})">
  1636. <summary>Gets an instance of the immutable dictionary that uses the specified key and value comparers.</summary>
  1637. <param name="keyComparer">The key comparer to use.</param>
  1638. <param name="valueComparer">The value comparer to use.</param>
  1639. <returns>An instance of the immutable dictionary that uses the given comparers.</returns>
  1640. </member>
  1641. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Count">
  1642. <summary>Gets the number of key/value pairs in the immutable dictionary.</summary>
  1643. <returns>The number of key/value pairs in the dictionary.</returns>
  1644. </member>
  1645. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.IsEmpty">
  1646. <summary>Gets a value that indicates whether this instance of the immutable dictionary is empty.</summary>
  1647. <returns>
  1648. <see langword="true" /> if this instance is empty; otherwise, <see langword="false" />.</returns>
  1649. </member>
  1650. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Item(`0)">
  1651. <summary>Gets the <paramref name="TValue" /> associated with the specified key.</summary>
  1652. <param name="key">The type of the key.</param>
  1653. <returns>The value associated with the specified key. If no results are found, the operation throws an exception.</returns>
  1654. </member>
  1655. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.KeyComparer">
  1656. <summary>Gets the key comparer for the immutable dictionary.</summary>
  1657. <returns>The key comparer.</returns>
  1658. </member>
  1659. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Keys">
  1660. <summary>Gets the keys in the immutable dictionary.</summary>
  1661. <returns>The keys in the immutable dictionary.</returns>
  1662. </member>
  1663. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#IsReadOnly">
  1664. <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
  1665. <returns>
  1666. <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
  1667. </member>
  1668. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Item(`0)">
  1669. <summary>Gets or sets the <typeparamref name="TValue" /> with the specified key.</summary>
  1670. <param name="key">The type of the key.</param>
  1671. <returns>An object of type <typeparamref name="TValue" /> associated with the <paramref name="key" />.</returns>
  1672. </member>
  1673. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Keys">
  1674. <summary>Gets the keys.</summary>
  1675. <returns>A collection containing the keys.</returns>
  1676. </member>
  1677. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Values">
  1678. <summary>Gets the values.</summary>
  1679. <returns>A collection containing the values.</returns>
  1680. </member>
  1681. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#ICollection#IsSynchronized">
  1682. <summary>Gets a value indicating whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe).</summary>
  1683. <returns>
  1684. <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe); otherwise, <see langword="false" />.</returns>
  1685. </member>
  1686. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#ICollection#SyncRoot">
  1687. <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
  1688. <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
  1689. </member>
  1690. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#IsFixedSize">
  1691. <summary>Gets a value indicating whether the <see cref="T:System.Collections.IDictionary" /> object has a fixed size.</summary>
  1692. <returns>
  1693. <see langword="true" /> if the <see cref="T:System.Collections.IDictionary" /> object has a fixed size; otherwise, <see langword="false" />.</returns>
  1694. </member>
  1695. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#IsReadOnly">
  1696. <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
  1697. <returns>
  1698. <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
  1699. </member>
  1700. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Item(System.Object)">
  1701. <summary>Gets or sets the element with the specified key.</summary>
  1702. <param name="key">The key.</param>
  1703. <returns>The value stored under the specified key.</returns>
  1704. </member>
  1705. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Keys">
  1706. <summary>Gets an <see cref="T:System.Collections.Generic.ICollection`1" /> containing the keys of the <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
  1707. <returns>An <see cref="T:System.Collections.Generic.ICollection`1" /> containing the keys of the object that implements <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns>
  1708. </member>
  1709. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.System#Collections#IDictionary#Values">
  1710. <summary>Gets an <see cref="T:System.Collections.Generic.ICollection`1" /> containing the values in the <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
  1711. <returns>An <see cref="T:System.Collections.Generic.ICollection`1" /> containing the values in the object that implements <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns>
  1712. </member>
  1713. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.ValueComparer">
  1714. <summary>Gets the value comparer used to determine whether values are equal.</summary>
  1715. <returns>The value comparer used to determine whether values are equal.</returns>
  1716. </member>
  1717. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Values">
  1718. <summary>Gets the values in the immutable dictionary.</summary>
  1719. <returns>The values in the immutable dictionary.</returns>
  1720. </member>
  1721. <member name="T:System.Collections.Immutable.ImmutableDictionary`2.Builder">
  1722. <summary>Represents a hash map that mutates with little or no memory allocations and that can produce or build on immutable hash map instances very efficiently.
  1723. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  1724. <typeparam name="TKey" />
  1725. <typeparam name="TValue" />
  1726. </member>
  1727. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.Add(`0,`1)">
  1728. <summary>Adds an element that has the specified key and value to the immutable dictionary.</summary>
  1729. <param name="key">The key of the element to add.</param>
  1730. <param name="value">The value of the element to add.</param>
  1731. <exception cref="T:System.ArgumentNullException">
  1732. <paramref name="key" /> is null.</exception>
  1733. <exception cref="T:System.ArgumentException">An element with the same key already exists in the dictionary.</exception>
  1734. <exception cref="T:System.NotSupportedException">The dictionary is read-only.</exception>
  1735. </member>
  1736. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.Add(System.Collections.Generic.KeyValuePair{`0,`1})">
  1737. <summary>Adds the specified item to the immutable dictionary.</summary>
  1738. <param name="item">The object to add to the dictionary.</param>
  1739. <exception cref="T:System.NotSupportedException">The dictionary is read-only.</exception>
  1740. </member>
  1741. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.AddRange(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
  1742. <summary>Adds a sequence of values to this collection.</summary>
  1743. <param name="items">The items to add to this collection.</param>
  1744. </member>
  1745. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.Clear">
  1746. <summary>Removes all items from the immutable dictionary.</summary>
  1747. <exception cref="T:System.NotSupportedException">The dictionary is read-only.</exception>
  1748. </member>
  1749. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.Contains(System.Collections.Generic.KeyValuePair{`0,`1})">
  1750. <summary>Determines whether the immutable dictionary contains a specific value.</summary>
  1751. <param name="item">The object to locate in the dictionary.</param>
  1752. <returns>
  1753. <see langword="true" /> if <paramref name="item" /> is found in the dictionary; otherwise, <see langword="false" />.</returns>
  1754. </member>
  1755. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.ContainsKey(`0)">
  1756. <summary>Determines whether the immutable dictionary contains an element that has the specified key.</summary>
  1757. <param name="key">The key to locate in the dictionary.</param>
  1758. <exception cref="T:System.ArgumentNullException">
  1759. <paramref name="key" /> is null.</exception>
  1760. <returns>
  1761. <see langword="true" /> if the dictionary contains an element with the key; otherwise, <see langword="false" />.</returns>
  1762. </member>
  1763. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.ContainsValue(`1)">
  1764. <summary>Determines whether the immutable dictionary contains an element that has the specified value.</summary>
  1765. <param name="value">The value to locate in the immutable dictionary. The value can be <see langword="null" /> for reference types.</param>
  1766. <returns>
  1767. <see langword="true" /> if the dictionary contains an element with the specified value; otherwise, <see langword="false" />.</returns>
  1768. </member>
  1769. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.GetEnumerator">
  1770. <summary>Returns an enumerator that iterates through the immutable dictionary.</summary>
  1771. <returns>An enumerator that can be used to iterate through the collection.</returns>
  1772. </member>
  1773. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.GetValueOrDefault(`0)">
  1774. <summary>Gets the value for a given key if a matching key exists in the dictionary.</summary>
  1775. <param name="key">The key to search for.</param>
  1776. <returns>The value for the key, or <c>default(TValue)</c> if no matching key was found.</returns>
  1777. </member>
  1778. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.GetValueOrDefault(`0,`1)">
  1779. <summary>Gets the value for a given key if a matching key exists in the dictionary.</summary>
  1780. <param name="key">The key to search for.</param>
  1781. <param name="defaultValue">The default value to return if no matching key is found in the dictionary.</param>
  1782. <returns>The value for the key, or <paramref name="defaultValue" /> if no matching key was found.</returns>
  1783. </member>
  1784. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.Remove(`0)">
  1785. <summary>Removes the element with the specified key from the immutable dictionary.</summary>
  1786. <param name="key">The key of the element to remove.</param>
  1787. <exception cref="T:System.ArgumentNullException">
  1788. <paramref name="key" /> is null.</exception>
  1789. <exception cref="T:System.NotSupportedException">The dictionary is read-only.</exception>
  1790. <returns>
  1791. <see langword="true" /> if the element is successfully removed; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="key" /> was not found in the dictionary.</returns>
  1792. </member>
  1793. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.Remove(System.Collections.Generic.KeyValuePair{`0,`1})">
  1794. <summary>Removes the first occurrence of a specific object from the immutable dictionary.</summary>
  1795. <param name="item">The object to remove from the dictionary.</param>
  1796. <exception cref="T:System.NotSupportedException">The dictionary is read-only.</exception>
  1797. <returns>
  1798. <see langword="true" /> if <paramref name="item" /> was successfully removed from the dictionary; otherwise, <see langword="false" />. This method also returns false if <paramref name="item" /> is not found in the dictionary.</returns>
  1799. </member>
  1800. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
  1801. <summary>Removes any entries with keys that match those found in the specified sequence from the immutable dictionary.</summary>
  1802. <param name="keys">The keys for entries to remove from the dictionary.</param>
  1803. </member>
  1804. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#CopyTo(System.Collections.Generic.KeyValuePair{`0,`1}[],System.Int32)">
  1805. <summary>Copies the elements of the dictionary to an array of type <see cref="T:System.Collections.Generic.KeyValuePair`2" />, starting at the specified array index.</summary>
  1806. <param name="array">The one-dimensional array that is the destination of the elements copied from the dictionary. The array must have zero-based indexing.</param>
  1807. <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  1808. </member>
  1809. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#Generic#IEnumerable{System#Collections#Generic#KeyValuePair{TKey@TValue}}#GetEnumerator">
  1810. <summary>Returns an enumerator that iterates through the collection.</summary>
  1811. <returns>An enumerator that can be used to iterate through the collection.</returns>
  1812. </member>
  1813. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  1814. <summary>Copies the elements of the dictionary to an array of type <see cref="T:System.Collections.Generic.KeyValuePair`2" />, starting at the specified array index.</summary>
  1815. <param name="array">The one-dimensional array of type <see cref="T:System.Collections.Generic.KeyValuePair`2" /> that is the destination of the elements copied from the dictionary. The array must have zero-based indexing.</param>
  1816. <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  1817. </member>
  1818. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#Add(System.Object,System.Object)">
  1819. <summary>Adds an element with the provided key and value to the dictionary object.</summary>
  1820. <param name="key">The key of the element to add.</param>
  1821. <param name="value">The value of the element to add.</param>
  1822. </member>
  1823. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#Contains(System.Object)">
  1824. <summary>Determines whether the dictionary object contains an element with the specified key.</summary>
  1825. <param name="key">The key to locate.</param>
  1826. <returns>
  1827. <see langword="true" /> if the dictionary contains an element with the key; otherwise, <see langword="false" />.</returns>
  1828. </member>
  1829. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#GetEnumerator">
  1830. <summary>Returns an <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the dictionary.</summary>
  1831. <exception cref="T:System.NotImplementedException" />
  1832. <returns>An <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the dictionary.</returns>
  1833. </member>
  1834. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#Remove(System.Object)">
  1835. <summary>Removes the element with the specified key from the dictionary.</summary>
  1836. <param name="key">The key of the element to remove.</param>
  1837. </member>
  1838. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IEnumerable#GetEnumerator">
  1839. <summary>Returns an enumerator that iterates through a collection.</summary>
  1840. <returns>An enumerator object that can be used to iterate through the collection.</returns>
  1841. </member>
  1842. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.ToImmutable">
  1843. <summary>Creates an immutable dictionary based on the contents of this instance.</summary>
  1844. <returns>An immutable dictionary.</returns>
  1845. </member>
  1846. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.TryGetKey(`0,`0@)">
  1847. <summary>Determines whether this dictionary contains a specified key.</summary>
  1848. <param name="equalKey">The key to search for.</param>
  1849. <param name="actualKey">The matching key located in the dictionary if found, or <c>equalkey</c> if no match is found.</param>
  1850. <returns>
  1851. <see langword="true" /> if a match for <paramref name="equalKey" /> is found; otherwise, <see langword="false" />.</returns>
  1852. </member>
  1853. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Builder.TryGetValue(`0,`1@)">
  1854. <summary>Returns the value associated with the specified key.</summary>
  1855. <param name="key">The key whose value will be retrieved.</param>
  1856. <param name="value">When this method returns, contains the value associated with the specified key, if the key is found; otherwise, returns the default value for the type of the <paramref name="value" /> parameter. This parameter is passed uninitialized.</param>
  1857. <exception cref="T:System.ArgumentNullException">
  1858. <paramref name="key" /> is null.</exception>
  1859. <returns>
  1860. <see langword="true" /> if the object that implements the immutable dictionary contains an element with the specified key; otherwise, <see langword="false" />.</returns>
  1861. </member>
  1862. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.Count">
  1863. <summary>Gets the number of elements contained in the immutable dictionary.</summary>
  1864. <returns>The number of elements contained in the immutable dictionary.</returns>
  1865. </member>
  1866. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.Item(`0)">
  1867. <summary>Gets or sets the element with the specified key.</summary>
  1868. <param name="key">The element to get or set.</param>
  1869. <exception cref="T:System.ArgumentNullException">
  1870. <paramref name="key" /> is <see langword="null" />.</exception>
  1871. <exception cref="T:System.Collections.Generic.KeyNotFoundException">The property is being retrieved, and <paramref name="key" /> is not found.</exception>
  1872. <exception cref="T:System.NotSupportedException">The property is being set, and the <see cref="T:System.Collections.Generic.IDictionary`2" /> is read-only.</exception>
  1873. <returns>The element that has the specified key.</returns>
  1874. </member>
  1875. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.KeyComparer">
  1876. <summary>Gets or sets the key comparer.</summary>
  1877. <returns>The key comparer.</returns>
  1878. </member>
  1879. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.Keys">
  1880. <summary>Gets a collection that contains the keys of the immutable dictionary.</summary>
  1881. <returns>A collection that contains the keys of the object that implements the immutable dictionary.</returns>
  1882. </member>
  1883. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#IsReadOnly">
  1884. <summary>Gets a value that indicates whether the collection is read-only.</summary>
  1885. <returns>
  1886. <see langword="true" /> if the collection is read-only; otherwise, <see langword="false" />.</returns>
  1887. </member>
  1888. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#Generic#IDictionary{TKey@TValue}#Keys">
  1889. <summary>Gets a collection containing the keys of the generic dictionary.</summary>
  1890. <returns>A collection containing the keys of the object that implements the generic dictionary.</returns>
  1891. </member>
  1892. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#Generic#IDictionary{TKey@TValue}#Values">
  1893. <summary>Gets a collection containing the values in the generic dictionary.</summary>
  1894. <returns>A collection containing the values in the object that implements the generic dictionary.</returns>
  1895. </member>
  1896. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#ICollection#IsSynchronized">
  1897. <summary>Gets a value that indicates whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe).</summary>
  1898. <returns>
  1899. <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe); otherwise, <see langword="false" />.</returns>
  1900. </member>
  1901. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#ICollection#SyncRoot">
  1902. <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
  1903. <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
  1904. </member>
  1905. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#IsFixedSize">
  1906. <summary>Gets a value that indicates whether the <see cref="T:System.Collections.IDictionary" /> object has a fixed size.</summary>
  1907. <returns>
  1908. <see langword="true" /> if the <see cref="T:System.Collections.IDictionary" /> object has a fixed size; otherwise, <see langword="false" />.</returns>
  1909. </member>
  1910. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#IsReadOnly">
  1911. <summary>Gets a value that indicates whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
  1912. <returns>
  1913. <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
  1914. </member>
  1915. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#Item(System.Object)">
  1916. <summary>Gets or sets the element with the specified key.</summary>
  1917. <param name="key">The key.</param>
  1918. <returns>Value stored under specified key.</returns>
  1919. </member>
  1920. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#Keys">
  1921. <summary>Gets an <see cref="T:System.Collections.Generic.ICollection`1" /> containing the keys of the <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
  1922. <returns>An <see cref="T:System.Collections.Generic.ICollection`1" /> containing the keys of the object that implements <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns>
  1923. </member>
  1924. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.System#Collections#IDictionary#Values">
  1925. <summary>Gets an <see cref="T:System.Collections.Generic.ICollection`1" /> containing the values in the <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
  1926. <returns>An <see cref="T:System.Collections.Generic.ICollection`1" /> containing the values in the object that implements <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns>
  1927. </member>
  1928. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.ValueComparer">
  1929. <summary>Gets or sets the value comparer.</summary>
  1930. <returns>The value comparer.</returns>
  1931. </member>
  1932. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Builder.Values">
  1933. <summary>Gets a collection that contains the values of the immutable dictionary.</summary>
  1934. <returns>A collection that contains the values of the object that implements the dictionary.</returns>
  1935. </member>
  1936. <member name="T:System.Collections.Immutable.ImmutableDictionary`2.Enumerator">
  1937. <summary>Enumerates the contents of the immutable dictionary without allocating any memory.
  1938. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  1939. <typeparam name="TKey" />
  1940. <typeparam name="TValue" />
  1941. </member>
  1942. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Enumerator.Dispose">
  1943. <summary>Releases the resources used by the current instance of the <see cref="T:System.Collections.Immutable.ImmutableDictionary`2.Enumerator" /> class.</summary>
  1944. </member>
  1945. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Enumerator.MoveNext">
  1946. <summary>Advances the enumerator to the next element of the immutable dictionary.</summary>
  1947. <exception cref="T:System.InvalidOperationException">The dictionary was modified after the enumerator was created.</exception>
  1948. <returns>
  1949. <see langword="true" /> if the enumerator was successfully advanced to the next element; <see langword="false" /> if the enumerator has passed the end of the dictionary.</returns>
  1950. </member>
  1951. <member name="M:System.Collections.Immutable.ImmutableDictionary`2.Enumerator.Reset">
  1952. <summary>Sets the enumerator to its initial position, which is before the first element in the dictionary.</summary>
  1953. <exception cref="T:System.InvalidOperationException">The dictionary was modified after the enumerator was created.</exception>
  1954. </member>
  1955. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Enumerator.Current">
  1956. <summary>Gets the element at the current position of the enumerator.</summary>
  1957. <returns>The element in the dictionary at the current position of the enumerator.</returns>
  1958. </member>
  1959. <member name="P:System.Collections.Immutable.ImmutableDictionary`2.Enumerator.System#Collections#IEnumerator#Current">
  1960. <summary>Gets the current element.</summary>
  1961. <returns>Current element in enumeration.</returns>
  1962. </member>
  1963. <member name="T:System.Collections.Immutable.ImmutableHashSet">
  1964. <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableHashSet`1" /> class.
  1965. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  1966. </member>
  1967. <member name="M:System.Collections.Immutable.ImmutableHashSet.Create``1">
  1968. <summary>Creates an empty immutable hash set.</summary>
  1969. <typeparam name="T">The type of items to be stored in the immutable hash set.</typeparam>
  1970. <returns>An empty immutable hash set.</returns>
  1971. </member>
  1972. <member name="M:System.Collections.Immutable.ImmutableHashSet.Create``1(``0)">
  1973. <summary>Creates a new immutable hash set that contains the specified item.</summary>
  1974. <param name="item">The item to prepopulate the hash set with.</param>
  1975. <typeparam name="T">The type of items in the immutable hash set.</typeparam>
  1976. <returns>A new immutable hash set that contains the specified item.</returns>
  1977. </member>
  1978. <member name="M:System.Collections.Immutable.ImmutableHashSet.Create``1(``0[])">
  1979. <summary>Creates a new immutable hash set that contains the specified array of items.</summary>
  1980. <param name="items">An array that contains the items to prepopulate the hash set with.</param>
  1981. <typeparam name="T">The type of items in the immutable hash set.</typeparam>
  1982. <returns>A new immutable hash set that contains the specified items.</returns>
  1983. </member>
  1984. <member name="M:System.Collections.Immutable.ImmutableHashSet.Create``1(System.Collections.Generic.IEqualityComparer{``0})">
  1985. <summary>Creates an empty immutable hash set that uses the specified equality comparer.</summary>
  1986. <param name="equalityComparer">The object to use for comparing objects in the set for equality.</param>
  1987. <typeparam name="T">The type of items in the immutable hash set.</typeparam>
  1988. <returns>An empty immutable hash set.</returns>
  1989. </member>
  1990. <member name="M:System.Collections.Immutable.ImmutableHashSet.Create``1(System.Collections.Generic.IEqualityComparer{``0},``0)">
  1991. <summary>Creates a new immutable hash set that contains the specified item and uses the specified equality comparer for the set type.</summary>
  1992. <param name="equalityComparer">The object to use for comparing objects in the set for equality.</param>
  1993. <param name="item">The item to prepopulate the hash set with.</param>
  1994. <typeparam name="T">The type of items in the immutable hash set.</typeparam>
  1995. <returns>A new immutable hash set that contains the specified item.</returns>
  1996. </member>
  1997. <member name="M:System.Collections.Immutable.ImmutableHashSet.Create``1(System.Collections.Generic.IEqualityComparer{``0},``0[])">
  1998. <summary>Creates a new immutable hash set that contains the items in the specified collection and uses the specified equality comparer for the set type.</summary>
  1999. <param name="equalityComparer">The object to use for comparing objects in the set for equality.</param>
  2000. <param name="items">An array that contains the items to prepopulate the hash set with.</param>
  2001. <typeparam name="T">The type of items stored in the immutable hash set.</typeparam>
  2002. <returns>A new immutable hash set that contains the specified items.</returns>
  2003. </member>
  2004. <member name="M:System.Collections.Immutable.ImmutableHashSet.CreateBuilder``1">
  2005. <summary>Creates a new immutable hash set builder.</summary>
  2006. <typeparam name="T">The type of items stored by the collection.</typeparam>
  2007. <returns>The immutable hash set builder.</returns>
  2008. </member>
  2009. <member name="M:System.Collections.Immutable.ImmutableHashSet.CreateBuilder``1(System.Collections.Generic.IEqualityComparer{``0})">
  2010. <summary>Creates a new immutable hash set builder.</summary>
  2011. <param name="equalityComparer">The object to use for comparing objects in the set for equality.</param>
  2012. <typeparam name="T">The type of items stored by the collection.</typeparam>
  2013. <returns>The new immutable hash set builder.</returns>
  2014. </member>
  2015. <member name="M:System.Collections.Immutable.ImmutableHashSet.CreateRange``1(System.Collections.Generic.IEnumerable{``0})">
  2016. <summary>Creates a new immutable hash set prefilled with the specified items.</summary>
  2017. <param name="items">The items to add to the hash set.</param>
  2018. <typeparam name="T">The type of items stored by the collection.</typeparam>
  2019. <returns>The new immutable hash set that contains the specified items.</returns>
  2020. </member>
  2021. <member name="M:System.Collections.Immutable.ImmutableHashSet.CreateRange``1(System.Collections.Generic.IEqualityComparer{``0},System.Collections.Generic.IEnumerable{``0})">
  2022. <summary>Creates a new immutable hash set that contains the specified items and uses the specified equality comparer for the set type.</summary>
  2023. <param name="equalityComparer">The object to use for comparing objects in the set for equality.</param>
  2024. <param name="items">The items add to the collection before immutability is applied.</param>
  2025. <typeparam name="T">The type of items stored in the collection.</typeparam>
  2026. <returns>The new immutable hash set.</returns>
  2027. </member>
  2028. <member name="M:System.Collections.Immutable.ImmutableHashSet.ToImmutableHashSet``1(System.Collections.Generic.IEnumerable{``0})">
  2029. <summary>Enumerates a sequence and produces an immutable hash set of its contents.</summary>
  2030. <param name="source">The sequence to enumerate.</param>
  2031. <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
  2032. <returns>An immutable hash set that contains the items in the specified sequence.</returns>
  2033. </member>
  2034. <member name="M:System.Collections.Immutable.ImmutableHashSet.ToImmutableHashSet``1(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEqualityComparer{``0})">
  2035. <summary>Enumerates a sequence, produces an immutable hash set of its contents, and uses the specified equality comparer for the set type.</summary>
  2036. <param name="source">The sequence to enumerate.</param>
  2037. <param name="equalityComparer">The object to use for comparing objects in the set for equality.</param>
  2038. <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
  2039. <returns>An immutable hash set that contains the items in the specified sequence and uses the specified equality comparer.</returns>
  2040. </member>
  2041. <member name="M:System.Collections.Immutable.ImmutableHashSet.ToImmutableHashSet``1(System.Collections.Immutable.ImmutableHashSet{``0}.Builder)">
  2042. <summary>Creates an immutable hash set from the current contents of the builder's set.</summary>
  2043. <param name="builder">The builder to create the immutable hash set from.</param>
  2044. <typeparam name="TSource">The type of the elements in the hash set.</typeparam>
  2045. <returns>An immutable hash set that contains the current contents in the builder's set.</returns>
  2046. </member>
  2047. <member name="T:System.Collections.Immutable.ImmutableHashSet`1">
  2048. <summary>Represents an immutable, unordered hash set.
  2049. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  2050. <typeparam name="T">The type of elements in the hash set.</typeparam>
  2051. </member>
  2052. <member name="F:System.Collections.Immutable.ImmutableHashSet`1.Empty">
  2053. <summary>Gets an immutable hash set for this type that uses the default <see cref="T:System.Collections.Generic.IEqualityComparer`1" />.</summary>
  2054. </member>
  2055. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Add(`0)">
  2056. <summary>Adds the specified element to the hash set.</summary>
  2057. <param name="item">The element to add to the set.</param>
  2058. <returns>A hash set that contains the added value and any values previously held by the <see cref="T:System.Collections.Immutable.ImmutableHashSet`1" /> object.</returns>
  2059. </member>
  2060. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Clear">
  2061. <summary>Retrieves an empty immutable hash set that has the same sorting and ordering semantics as this instance.</summary>
  2062. <returns>An empty hash set that has the same sorting and ordering semantics as this instance.</returns>
  2063. </member>
  2064. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Contains(`0)">
  2065. <summary>Determines whether this immutable hash set contains the specified element.</summary>
  2066. <param name="item">The object to locate in the immutable hash set.</param>
  2067. <returns>
  2068. <see langword="true" /> if <paramref name="item" /> is found in the <see cref="T:System.Collections.Immutable.ImmutableHashSet`1" />; otherwise, <see langword="false" />.</returns>
  2069. </member>
  2070. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Except(System.Collections.Generic.IEnumerable{`0})">
  2071. <summary>Removes the elements in the specified collection from the current immutable hash set.</summary>
  2072. <param name="other">The collection of items to remove from this set.</param>
  2073. <returns>A new set with the items removed; or the original set if none of the items were in the set.</returns>
  2074. </member>
  2075. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.GetEnumerator">
  2076. <summary>Returns an enumerator that iterates through the collection.</summary>
  2077. <returns>An enumerator that can be used to iterate through the collection.</returns>
  2078. </member>
  2079. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Intersect(System.Collections.Generic.IEnumerable{`0})">
  2080. <summary>Creates an immutable hash set that contains elements that exist in both this set and the specified set.</summary>
  2081. <param name="other">The collection to compare to the current set.</param>
  2082. <returns>A new immutable set that contains any elements that exist in both sets.</returns>
  2083. </member>
  2084. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.IsProperSubsetOf(System.Collections.Generic.IEnumerable{`0})">
  2085. <summary>Determines whether the current immutable hash set is a proper (strict) subset of a specified collection.</summary>
  2086. <param name="other">The collection to compare to the current set.</param>
  2087. <returns>
  2088. <see langword="true" /> if the current set is a proper subset of the specified collection; otherwise, <see langword="false" />.</returns>
  2089. </member>
  2090. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.IsProperSupersetOf(System.Collections.Generic.IEnumerable{`0})">
  2091. <summary>Determines whether the current immutable hash set is a proper (strict) superset of a specified collection.</summary>
  2092. <param name="other">The collection to compare to the current set.</param>
  2093. <returns>
  2094. <see langword="true" /> if the current set is a proper superset of the specified collection; otherwise, <see langword="false" />.</returns>
  2095. </member>
  2096. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.IsSubsetOf(System.Collections.Generic.IEnumerable{`0})">
  2097. <summary>Determines whether the current immutable hash set is a subset of a specified collection.</summary>
  2098. <param name="other">The collection to compare to the current set.</param>
  2099. <returns>
  2100. <see langword="true" /> if the current set is a subset of the specified collection; otherwise, <see langword="false" />.</returns>
  2101. </member>
  2102. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.IsSupersetOf(System.Collections.Generic.IEnumerable{`0})">
  2103. <summary>Determines whether the current immutable hash set is a superset of a specified collection.</summary>
  2104. <param name="other">The collection to compare to the current set.</param>
  2105. <returns>
  2106. <see langword="true" /> if the current set is a superset of the specified collection; otherwise, <see langword="false" />.</returns>
  2107. </member>
  2108. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Overlaps(System.Collections.Generic.IEnumerable{`0})">
  2109. <summary>Determines whether the current immutable hash set overlaps with the specified collection.</summary>
  2110. <param name="other">The collection to compare to the current set.</param>
  2111. <returns>
  2112. <see langword="true" /> if the current set and the specified collection share at least one common element; otherwise, <see langword="false" />.</returns>
  2113. </member>
  2114. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Remove(`0)">
  2115. <summary>Removes the specified element from this immutable hash set.</summary>
  2116. <param name="item">The element to remove.</param>
  2117. <returns>A new set with the specified element removed, or the current set if the element cannot be found in the set.</returns>
  2118. </member>
  2119. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.SetEquals(System.Collections.Generic.IEnumerable{`0})">
  2120. <summary>Determines whether the current immutable hash set and the specified collection contain the same elements.</summary>
  2121. <param name="other">The collection to compare to the current set.</param>
  2122. <returns>
  2123. <see langword="true" /> if the sets are equal; otherwise, <see langword="false" />.</returns>
  2124. </member>
  2125. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.SymmetricExcept(System.Collections.Generic.IEnumerable{`0})">
  2126. <summary>Creates an immutable hash set that contains only elements that are present either in the current set or in the specified collection, but not both.</summary>
  2127. <param name="other">The collection to compare to the current set.</param>
  2128. <returns>A new set that contains the elements that are present only in the current set or in the specified collection, but not both.</returns>
  2129. </member>
  2130. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ICollection{T}#Add(`0)">
  2131. <summary>Adds an item to the set.</summary>
  2132. <param name="item">The object to add to the set.</param>
  2133. <exception cref="T:System.NotSupportedException">The set is read-only.</exception>
  2134. </member>
  2135. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ICollection{T}#Clear">
  2136. <summary>Removes all items from this set.</summary>
  2137. <exception cref="T:System.NotSupportedException">The set is read-only.</exception>
  2138. </member>
  2139. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ICollection{T}#CopyTo(`0[],System.Int32)">
  2140. <summary>Copies the elements of the set to an array, starting at a particular index.</summary>
  2141. <param name="array">The one-dimensional array that is the destination of the elements copied from the set. The array must have zero-based indexing.</param>
  2142. <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  2143. </member>
  2144. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ICollection{T}#Remove(`0)">
  2145. <summary>Removes the first occurrence of a specific object from the set.</summary>
  2146. <param name="item">The object to remove from the set.</param>
  2147. <returns>
  2148. <see langword="true" /> if the element is successfully removed; otherwise, <see langword="false" />.</returns>
  2149. </member>
  2150. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
  2151. <summary>Returns an enumerator that iterates through the collection.</summary>
  2152. <returns>An enumerator that iterates through the collection.</returns>
  2153. </member>
  2154. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ISet{T}#Add(`0)">
  2155. <summary>Adds an element to the current set and returns a value that indicates whether the element was successfully added.</summary>
  2156. <param name="item">The element to add to the collection.</param>
  2157. <returns>
  2158. <see langword="true" /> if the element is added to the set; <see langword="false" /> if the element is already in the set.</returns>
  2159. </member>
  2160. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ISet{T}#ExceptWith(System.Collections.Generic.IEnumerable{`0})">
  2161. <summary>Removes all elements in the specified collection from the current set.</summary>
  2162. <param name="other">The collection of items to remove.</param>
  2163. </member>
  2164. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ISet{T}#IntersectWith(System.Collections.Generic.IEnumerable{`0})">
  2165. <summary>Modifies the current set so that it contains only elements that are also in a specified collection.</summary>
  2166. <param name="other">The collection to compare to the current collection.</param>
  2167. </member>
  2168. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ISet{T}#SymmetricExceptWith(System.Collections.Generic.IEnumerable{`0})">
  2169. <summary>Modifies the current set so that it contains only elements that are present either in the current set or in the specified collection, but not both.</summary>
  2170. <param name="other">The collection to compare to the current set.</param>
  2171. </member>
  2172. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ISet{T}#UnionWith(System.Collections.Generic.IEnumerable{`0})">
  2173. <summary>Modifies the current set so that it contains all elements that are present in either the current set or in the specified collection.</summary>
  2174. <param name="other">The collection to compare to the current set.</param>
  2175. </member>
  2176. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  2177. <summary>Copies the elements of the set to an array, starting at a particular index.</summary>
  2178. <param name="array">The one-dimensional array that is the destination of the elements copied from the set. The array must have zero-based indexing.</param>
  2179. <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  2180. </member>
  2181. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#IEnumerable#GetEnumerator">
  2182. <summary>Returns an enumerator that iterates through a set.</summary>
  2183. <returns>An enumerator that can be used to iterate through the set.</returns>
  2184. </member>
  2185. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#Add(`0)">
  2186. <summary>Adds the specified element to this immutable set.</summary>
  2187. <param name="item">The element to add.</param>
  2188. <returns>A new set with the element added, or this set if the element is already in the set.</returns>
  2189. </member>
  2190. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#Clear">
  2191. <summary>Retrieves an empty set that has the same sorting and ordering semantics as this instance.</summary>
  2192. <returns>An empty set that has the same sorting or ordering semantics as this instance.</returns>
  2193. </member>
  2194. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#Except(System.Collections.Generic.IEnumerable{`0})">
  2195. <summary>Removes the elements in the specified collection from the current set.</summary>
  2196. <param name="other">The collection of items to remove from this set.</param>
  2197. <returns>A new set with the items removed; or the original set if none of the items were in the set.</returns>
  2198. </member>
  2199. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#Intersect(System.Collections.Generic.IEnumerable{`0})">
  2200. <summary>Creates an immutable set that contains elements that exist in both this set and the specified set.</summary>
  2201. <param name="other">The collection to compare to the current set.</param>
  2202. <returns>A new immutable set that contains any elements that exist in both sets.</returns>
  2203. </member>
  2204. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#Remove(`0)">
  2205. <summary>Removes the specified element from this immutable set.</summary>
  2206. <param name="item">The element to remove.</param>
  2207. <returns>A new set with the specified element removed, or the current set if the element cannot be found in the set.</returns>
  2208. </member>
  2209. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#SymmetricExcept(System.Collections.Generic.IEnumerable{`0})">
  2210. <summary>Creates an immutable set that contains only elements that are present either in the current set or in the specified collection, but not both.</summary>
  2211. <param name="other">The collection to compare to the current set.</param>
  2212. <returns>A new set that contains the elements that are present only in the current set or in the specified collection, but not both.</returns>
  2213. </member>
  2214. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Immutable#IImmutableSet{T}#Union(System.Collections.Generic.IEnumerable{`0})">
  2215. <summary>Creates a new immutable set that contains all elements that are present in either the current set or in the specified collection.</summary>
  2216. <param name="other">The collection to add elements from.</param>
  2217. <returns>A new immutable set with the items added; or the original set if all the items were already in the set.</returns>
  2218. </member>
  2219. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.ToBuilder">
  2220. <summary>Creates an immutable hash set that has the same contents as this set and can be efficiently mutated across multiple operations by using standard mutable interfaces.</summary>
  2221. <returns>A set with the same contents as this set that can be efficiently mutated across multiple operations by using standard mutable interfaces.</returns>
  2222. </member>
  2223. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.TryGetValue(`0,`0@)">
  2224. <summary>Searches the set for a given value and returns the equal value it finds, if any.</summary>
  2225. <param name="equalValue">The value to search for.</param>
  2226. <param name="actualValue">The value from the set that the search found, or the original value if the search yielded no match.</param>
  2227. <returns>A value indicating whether the search was successful.</returns>
  2228. </member>
  2229. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Union(System.Collections.Generic.IEnumerable{`0})">
  2230. <summary>Creates a new immutable hash set that contains all elements that are present in either the current set or in the specified collection.</summary>
  2231. <param name="other">The collection to add elements from.</param>
  2232. <returns>A new immutable hash set with the items added; or the original set if all the items were already in the set.</returns>
  2233. </member>
  2234. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.WithComparer(System.Collections.Generic.IEqualityComparer{`0})">
  2235. <summary>Gets an instance of the immutable hash set that uses the specified equality comparer for its search methods.</summary>
  2236. <param name="equalityComparer">The equality comparer to use.</param>
  2237. <returns>An instance of this immutable hash set that uses the given comparer.</returns>
  2238. </member>
  2239. <member name="P:System.Collections.Immutable.ImmutableHashSet`1.Count">
  2240. <summary>Gets the number of elements in the immutable hash set.</summary>
  2241. <returns>The number of elements in the hash set.</returns>
  2242. </member>
  2243. <member name="P:System.Collections.Immutable.ImmutableHashSet`1.IsEmpty">
  2244. <summary>Gets a value that indicates whether the current immutable hash set is empty.</summary>
  2245. <returns>
  2246. <see langword="true" /> if this instance is empty; otherwise, <see langword="false" />.</returns>
  2247. </member>
  2248. <member name="P:System.Collections.Immutable.ImmutableHashSet`1.KeyComparer">
  2249. <summary>Gets the object that is used to obtain hash codes for the keys and to check the equality of values in the immutable hash set.</summary>
  2250. <returns>The comparer used to obtain hash codes for the keys and check equality.</returns>
  2251. </member>
  2252. <member name="P:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#Generic#ICollection{T}#IsReadOnly">
  2253. <summary>See the <see cref="T:System.Collections.Generic.ICollection`1" /> interface.</summary>
  2254. </member>
  2255. <member name="P:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#ICollection#IsSynchronized">
  2256. <summary>See the <see cref="T:System.Collections.ICollection" /> interface.</summary>
  2257. </member>
  2258. <member name="P:System.Collections.Immutable.ImmutableHashSet`1.System#Collections#ICollection#SyncRoot">
  2259. <summary>See <see cref="T:System.Collections.ICollection" />.</summary>
  2260. </member>
  2261. <member name="T:System.Collections.Immutable.ImmutableHashSet`1.Builder">
  2262. <summary>Represents a hash set that mutates with little or no memory allocations and that can produce or build on immutable hash set instances very efficiently.
  2263. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  2264. <typeparam name="T" />
  2265. </member>
  2266. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.Add(`0)">
  2267. <summary>Adds the specified item to the immutable hash set.</summary>
  2268. <param name="item">The item to add.</param>
  2269. <returns>
  2270. <see langword="true" /> if the item did not already belong to the collection; otherwise, <see langword="false" />.</returns>
  2271. </member>
  2272. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.Clear">
  2273. <summary>Removes all items from the immutable hash set.</summary>
  2274. <exception cref="T:System.NotSupportedException">The hash set is read-only.</exception>
  2275. </member>
  2276. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.Contains(`0)">
  2277. <summary>Determines whether the immutable hash set contains a specific value.</summary>
  2278. <param name="item">The object to locate in the hash set.</param>
  2279. <returns>
  2280. <see langword="true" /> if <paramref name="item" /> is found in the hash set ; otherwise, <see langword="false" />.</returns>
  2281. </member>
  2282. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.ExceptWith(System.Collections.Generic.IEnumerable{`0})">
  2283. <summary>Removes all elements in the specified collection from the current hash set.</summary>
  2284. <param name="other">The collection of items to remove from the set.</param>
  2285. </member>
  2286. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.GetEnumerator">
  2287. <summary>Returns an enumerator that iterates through the immutable hash set.</summary>
  2288. <returns>An enumerator that can be used to iterate through the set.</returns>
  2289. </member>
  2290. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.IntersectWith(System.Collections.Generic.IEnumerable{`0})">
  2291. <summary>Modifies the current set so that it contains only elements that are also in a specified collection.</summary>
  2292. <param name="other">The collection to compare to the current set.</param>
  2293. </member>
  2294. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.IsProperSubsetOf(System.Collections.Generic.IEnumerable{`0})">
  2295. <summary>Determines whether the current set is a proper (strict) subset of a specified collection.</summary>
  2296. <param name="other">The collection to compare to the current set.</param>
  2297. <returns>
  2298. <see langword="true" /> if the current set is a proper subset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
  2299. </member>
  2300. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.IsProperSupersetOf(System.Collections.Generic.IEnumerable{`0})">
  2301. <summary>Determines whether the current set is a proper (strict) superset of a specified collection.</summary>
  2302. <param name="other">The collection to compare to the current set.</param>
  2303. <returns>
  2304. <see langword="true" /> if the current set is a proper superset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
  2305. </member>
  2306. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.IsSubsetOf(System.Collections.Generic.IEnumerable{`0})">
  2307. <summary>Determines whether the current set is a subset of a specified collection.</summary>
  2308. <param name="other">The collection to compare to the current set.</param>
  2309. <returns>
  2310. <see langword="true" /> if the current set is a subset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
  2311. </member>
  2312. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.IsSupersetOf(System.Collections.Generic.IEnumerable{`0})">
  2313. <summary>Determines whether the current set is a superset of a specified collection.</summary>
  2314. <param name="other">The collection to compare to the current set.</param>
  2315. <returns>
  2316. <see langword="true" /> if the current set is a superset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
  2317. </member>
  2318. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.Overlaps(System.Collections.Generic.IEnumerable{`0})">
  2319. <summary>Determines whether the current set overlaps with the specified collection.</summary>
  2320. <param name="other">The collection to compare to the current set.</param>
  2321. <returns>
  2322. <see langword="true" /> if the current set and <paramref name="other" /> share at least one common element; otherwise, <see langword="false" />.</returns>
  2323. </member>
  2324. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.Remove(`0)">
  2325. <summary>Removes the first occurrence of a specific object from the immutable hash set.</summary>
  2326. <param name="item">The object to remove from the set.</param>
  2327. <exception cref="T:System.NotSupportedException">The set is read-only.</exception>
  2328. <returns>
  2329. <see langword="true" /> if <paramref name="item" /> was successfully removed from the set ; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="item" /> is not found in the original set.</returns>
  2330. </member>
  2331. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.SetEquals(System.Collections.Generic.IEnumerable{`0})">
  2332. <summary>Determines whether the current set and the specified collection contain the same elements.</summary>
  2333. <param name="other">The collection to compare to the current set.</param>
  2334. <returns>
  2335. <see langword="true" /> if the current set is equal to <paramref name="other" />; otherwise, <see langword="false" />.</returns>
  2336. </member>
  2337. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.SymmetricExceptWith(System.Collections.Generic.IEnumerable{`0})">
  2338. <summary>Modifies the current set so that it contains only elements that are present either in the current set or in the specified collection, but not both.</summary>
  2339. <param name="other">The collection to compare to the current set.</param>
  2340. </member>
  2341. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.System#Collections#Generic#ICollection{T}#Add(`0)">
  2342. <summary>Adds an item to the hash set.</summary>
  2343. <param name="item">The object to add to the set.</param>
  2344. <exception cref="T:System.NotSupportedException">The set is read-only.</exception>
  2345. </member>
  2346. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.System#Collections#Generic#ICollection{T}#CopyTo(`0[],System.Int32)">
  2347. <summary>Copies the elements of the hash set to an array, starting at a particular array index.</summary>
  2348. <param name="array">The one-dimensional array that is the destination of the elements copied from the hash set. The array must have zero-based indexing.</param>
  2349. <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  2350. </member>
  2351. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
  2352. <summary>Returns an enumerator that iterates through the collection.</summary>
  2353. <returns>An enumerator that can be used to iterate through the collection.</returns>
  2354. </member>
  2355. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.System#Collections#IEnumerable#GetEnumerator">
  2356. <summary>Returns an enumerator that iterates through a collection.</summary>
  2357. <returns>An enumerator that can be used to iterate through the collection.</returns>
  2358. </member>
  2359. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.ToImmutable">
  2360. <summary>Creates an immutable hash set based on the contents of this instance.</summary>
  2361. <returns>An immutable set.</returns>
  2362. </member>
  2363. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.TryGetValue(`0,`0@)">
  2364. <summary>Searches the set for a given value and returns the equal value it finds, if any.</summary>
  2365. <param name="equalValue">The value for which to search.</param>
  2366. <param name="actualValue">The value from the set that the search found, or the original value if the search yielded no match.</param>
  2367. <returns>A value indicating whether the search was successful.</returns>
  2368. </member>
  2369. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Builder.UnionWith(System.Collections.Generic.IEnumerable{`0})">
  2370. <summary>Modifies the current set so that it contains all elements that are present in both the current set and in the specified collection.</summary>
  2371. <param name="other">The collection to compare to the current set.</param>
  2372. </member>
  2373. <member name="P:System.Collections.Immutable.ImmutableHashSet`1.Builder.Count">
  2374. <summary>Gets the number of elements contained in the immutable hash set.</summary>
  2375. <returns>The number of elements contained in the immutable hash set.</returns>
  2376. </member>
  2377. <member name="P:System.Collections.Immutable.ImmutableHashSet`1.Builder.KeyComparer">
  2378. <summary>Gets or sets the key comparer.</summary>
  2379. <returns>The key comparer.</returns>
  2380. </member>
  2381. <member name="P:System.Collections.Immutable.ImmutableHashSet`1.Builder.System#Collections#Generic#ICollection{T}#IsReadOnly">
  2382. <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
  2383. <returns>
  2384. <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
  2385. </member>
  2386. <member name="T:System.Collections.Immutable.ImmutableHashSet`1.Enumerator">
  2387. <summary>Enumerates the contents of the immutable hash set without allocating any memory.
  2388. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  2389. <typeparam name="T" />
  2390. </member>
  2391. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Enumerator.Dispose">
  2392. <summary>Releases the resources used by the current instance of the <see cref="T:System.Collections.Immutable.ImmutableHashSet`1.Enumerator" /> class.</summary>
  2393. </member>
  2394. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Enumerator.MoveNext">
  2395. <summary>Advances the enumerator to the next element of the immutable hash set.</summary>
  2396. <exception cref="T:System.InvalidOperationException">The hash set was modified after the enumerator was created.</exception>
  2397. <returns>
  2398. <see langword="true" /> if the enumerator was successfully advanced to the next element; <see langword="false" /> if the enumerator has passed the end of the hash set.</returns>
  2399. </member>
  2400. <member name="M:System.Collections.Immutable.ImmutableHashSet`1.Enumerator.Reset">
  2401. <summary>Sets the enumerator to its initial position, which is before the first element in the hash set.</summary>
  2402. <exception cref="T:System.InvalidOperationException">The hash set was modified after the enumerator was created.</exception>
  2403. </member>
  2404. <member name="P:System.Collections.Immutable.ImmutableHashSet`1.Enumerator.Current">
  2405. <summary>Gets the element at the current position of the enumerator.</summary>
  2406. <returns>The element at the current position of the enumerator.</returns>
  2407. </member>
  2408. <member name="P:System.Collections.Immutable.ImmutableHashSet`1.Enumerator.System#Collections#IEnumerator#Current">
  2409. <summary>Gets the current element.</summary>
  2410. </member>
  2411. <member name="T:System.Collections.Immutable.ImmutableInterlocked">
  2412. <summary>Contains interlocked exchange mechanisms for immutable collections.
  2413. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  2414. </member>
  2415. <member name="M:System.Collections.Immutable.ImmutableInterlocked.AddOrUpdate``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,``1,System.Func{``0,``1,``1})">
  2416. <summary>Obtains the value from a dictionary after having added it or updated an existing entry.</summary>
  2417. <param name="location">The variable or field to atomically update if the specified is not in the dictionary.</param>
  2418. <param name="key">The key for the value to add or update.</param>
  2419. <param name="addValue">The value to use if no previous value exists.</param>
  2420. <param name="updateValueFactory">The function that receives the key and prior value and returns the new value with which to update the dictionary.</param>
  2421. <typeparam name="TKey">The type of key stored by the dictionary.</typeparam>
  2422. <typeparam name="TValue">The type of value stored by the dictionary.</typeparam>
  2423. <returns>The added or updated value.</returns>
  2424. </member>
  2425. <member name="M:System.Collections.Immutable.ImmutableInterlocked.AddOrUpdate``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,System.Func{``0,``1},System.Func{``0,``1,``1})">
  2426. <summary>Obtains the value from a dictionary after having added it or updated an existing entry.</summary>
  2427. <param name="location">The variable or field to atomically update if the specified is not in the dictionary.</param>
  2428. <param name="key">The key for the value to add or update.</param>
  2429. <param name="addValueFactory">The function that receives the key and returns a new value to add to the dictionary when no value previously exists.</param>
  2430. <param name="updateValueFactory">The function that receives the key and prior value and returns the new value with which to update the dictionary.</param>
  2431. <typeparam name="TKey">The type of key stored by the dictionary.</typeparam>
  2432. <typeparam name="TValue">The type of value stored by the dictionary.</typeparam>
  2433. <returns>The added or updated value.</returns>
  2434. </member>
  2435. <member name="M:System.Collections.Immutable.ImmutableInterlocked.Enqueue``1(System.Collections.Immutable.ImmutableQueue{``0}@,``0)">
  2436. <summary>Atomically enqueues an element to the end of a queue.</summary>
  2437. <param name="location">The variable or field to atomically update.</param>
  2438. <param name="value">The value to enqueue.</param>
  2439. <typeparam name="T">The type of items contained in the collection.</typeparam>
  2440. </member>
  2441. <member name="M:System.Collections.Immutable.ImmutableInterlocked.GetOrAdd``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,``1)">
  2442. <summary>Gets the value for the specified key from the dictionary, or if the key was not found, adds a new value to the dictionary.</summary>
  2443. <param name="location">The variable or field to atomically update if the specified key is not in the dictionary.</param>
  2444. <param name="key">The key for the value to get or add.</param>
  2445. <param name="value">The value to add to the dictionary the key is not found.</param>
  2446. <typeparam name="TKey">The type of the keys contained in the collection.</typeparam>
  2447. <typeparam name="TValue">The type of the values contained in the collection.</typeparam>
  2448. <returns>The value at the specified key or <paramref name="valueFactory" /> if the key was not present.</returns>
  2449. </member>
  2450. <member name="M:System.Collections.Immutable.ImmutableInterlocked.GetOrAdd``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,System.Func{``0,``1})">
  2451. <summary>Gets the value for the specified key from the dictionary, or if the key was not found, adds a new value to the dictionary.</summary>
  2452. <param name="location">The variable or field to atomically update if the specified is not in the dictionary.</param>
  2453. <param name="key">The key for the value to retrieve or add.</param>
  2454. <param name="valueFactory">The function to execute to obtain the value to insert into the dictionary if the key is not found. This delegate will not be invoked more than once.</param>
  2455. <typeparam name="TKey">The type of the keys contained in the collection.</typeparam>
  2456. <typeparam name="TValue">The type of the values contained in the collection.</typeparam>
  2457. <returns>The value at the specified key or <paramref name="valueFactory" /> if the key was not present.</returns>
  2458. </member>
  2459. <member name="M:System.Collections.Immutable.ImmutableInterlocked.GetOrAdd``3(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,System.Func{``0,``2,``1},``2)">
  2460. <summary>Gets the value for the specified key from the dictionary, or if the key was not found, adds a new value to the dictionary.</summary>
  2461. <param name="location">The variable or field to update if the specified is not in the dictionary.</param>
  2462. <param name="key">The key for the value to retrieve or add.</param>
  2463. <param name="valueFactory">The function to execute to obtain the value to insert into the dictionary if the key is not found.</param>
  2464. <param name="factoryArgument">The argument to pass to the value factory.</param>
  2465. <typeparam name="TKey">The type of the keys contained in the collection.</typeparam>
  2466. <typeparam name="TValue">The type of the values contained in the collection.</typeparam>
  2467. <typeparam name="TArg">The type of the argument supplied to the value factory.</typeparam>
  2468. <returns>The value at the specified key or <paramref name="valueFactory" /> if the key was not present.</returns>
  2469. </member>
  2470. <member name="M:System.Collections.Immutable.ImmutableInterlocked.InterlockedCompareExchange``1(System.Collections.Immutable.ImmutableArray{``0}@,System.Collections.Immutable.ImmutableArray{``0},System.Collections.Immutable.ImmutableArray{``0})">
  2471. <summary>Compares two immutable arrays for equality and, if they are equal, replaces one of the arrays.</summary>
  2472. <param name="location">The destination, whose value is compared with <paramref name="comparand" /> and possibly replaced.</param>
  2473. <param name="value">The value that replaces the destination value if the comparison results in equality.</param>
  2474. <param name="comparand">The value that is compared to the value at <paramref name="location" />.</param>
  2475. <typeparam name="T">The type of element stored by the array.</typeparam>
  2476. <returns>The original value in <paramref name="location" />.</returns>
  2477. </member>
  2478. <member name="M:System.Collections.Immutable.ImmutableInterlocked.InterlockedExchange``1(System.Collections.Immutable.ImmutableArray{``0}@,System.Collections.Immutable.ImmutableArray{``0})">
  2479. <summary>Sets an array to the specified array and returns a reference to the original array, as an atomic operation.</summary>
  2480. <param name="location">The array to set to the specified value.</param>
  2481. <param name="value">The value to which the <paramref name="location" /> parameter is set.</param>
  2482. <typeparam name="T">The type of element stored by the array.</typeparam>
  2483. <returns>The original value of <paramref name="location" />.</returns>
  2484. </member>
  2485. <member name="M:System.Collections.Immutable.ImmutableInterlocked.InterlockedInitialize``1(System.Collections.Immutable.ImmutableArray{``0}@,System.Collections.Immutable.ImmutableArray{``0})">
  2486. <summary>Sets an array to the specified array if the array has not been initialized.</summary>
  2487. <param name="location">The array to set to the specified value.</param>
  2488. <param name="value">The value to which the <paramref name="location" /> parameter is set, if it's not initialized.</param>
  2489. <typeparam name="T">The type of element stored by the array.</typeparam>
  2490. <returns>
  2491. <see langword="true" /> if the array was assigned the specified value; otherwise, <see langword="false" />.</returns>
  2492. </member>
  2493. <member name="M:System.Collections.Immutable.ImmutableInterlocked.Push``1(System.Collections.Immutable.ImmutableStack{``0}@,``0)">
  2494. <summary>Pushes a new element onto the stack.</summary>
  2495. <param name="location">The stack to update.</param>
  2496. <param name="value">The value to push on the stack.</param>
  2497. <typeparam name="T">The type of items in the stack.</typeparam>
  2498. </member>
  2499. <member name="M:System.Collections.Immutable.ImmutableInterlocked.TryAdd``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,``1)">
  2500. <summary>Adds the specified key and value to the dictionary if the key is not in the dictionary.</summary>
  2501. <param name="location">The dictionary to update with the specified key and value.</param>
  2502. <param name="key">The key to add, if is not already defined in the dictionary.</param>
  2503. <param name="value">The value to add.</param>
  2504. <typeparam name="TKey">The type of the keys contained in the collection.</typeparam>
  2505. <typeparam name="TValue">The type of the values contained in the collection.</typeparam>
  2506. <returns>
  2507. <see langword="true" /> if the key is not in the dictionary; otherwise, <see langword="false" />.</returns>
  2508. </member>
  2509. <member name="M:System.Collections.Immutable.ImmutableInterlocked.TryDequeue``1(System.Collections.Immutable.ImmutableQueue{``0}@,``0@)">
  2510. <summary>Atomically removes and returns the specified element at the head of the queue, if the queue is not empty.</summary>
  2511. <param name="location">The variable or field to atomically update.</param>
  2512. <param name="value">Set to the value from the head of the queue, if the queue not empty.</param>
  2513. <typeparam name="T">The type of items in the queue.</typeparam>
  2514. <returns>
  2515. <see langword="true" /> if the queue is not empty and the head element is removed; otherwise, <see langword="false" />.</returns>
  2516. </member>
  2517. <member name="M:System.Collections.Immutable.ImmutableInterlocked.TryPop``1(System.Collections.Immutable.ImmutableStack{``0}@,``0@)">
  2518. <summary>Removes an element from the top of the stack, if there is an element to remove.</summary>
  2519. <param name="location">The stack to update.</param>
  2520. <param name="value">Receives the value removed from the stack, if the stack is not empty.</param>
  2521. <typeparam name="T">The type of items in the stack.</typeparam>
  2522. <returns>
  2523. <see langword="true" /> if an element is removed from the stack; otherwise, <see langword="false" />.</returns>
  2524. </member>
  2525. <member name="M:System.Collections.Immutable.ImmutableInterlocked.TryRemove``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,``1@)">
  2526. <summary>Removes the element with the specified key, if the key exists.</summary>
  2527. <param name="location">The dictionary to update.</param>
  2528. <param name="key">The key to remove.</param>
  2529. <param name="value">Receives the value of the removed item, if the dictionary is not empty.</param>
  2530. <typeparam name="TKey">The type of the keys contained in the collection.</typeparam>
  2531. <typeparam name="TValue">The type of the values contained in the collection.</typeparam>
  2532. <returns>
  2533. <see langword="true" /> if the key was found and removed; otherwise, <see langword="false" />.</returns>
  2534. </member>
  2535. <member name="M:System.Collections.Immutable.ImmutableInterlocked.TryUpdate``2(System.Collections.Immutable.ImmutableDictionary{``0,``1}@,``0,``1,``1)">
  2536. <summary>Sets the specified key to the specified value if the specified key already is set to a specific value.</summary>
  2537. <param name="location">The dictionary to update.</param>
  2538. <param name="key">The key to update.</param>
  2539. <param name="newValue">The new value to set.</param>
  2540. <param name="comparisonValue">The current value for <paramref name="key" /> in order for the update to succeed.</param>
  2541. <typeparam name="TKey">The type of the keys contained in the collection.</typeparam>
  2542. <typeparam name="TValue">The type of the values contained in the collection.</typeparam>
  2543. <returns>
  2544. <see langword="true" /> if <paramref name="key" /> and <paramref name="comparisonValue" /> are present in the dictionary and comparison was updated to <paramref name="newValue" />; otherwise, <see langword="false" />.</returns>
  2545. </member>
  2546. <member name="M:System.Collections.Immutable.ImmutableInterlocked.Update``1(``0@,System.Func{``0,``0})">
  2547. <summary>Mutates a value in-place with optimistic locking transaction semantics via a specified transformation function. The transformation is retried as many times as necessary to win the optimistic locking race.</summary>
  2548. <param name="location">The variable or field to be changed, which may be accessed by multiple threads.</param>
  2549. <param name="transformer">A function that mutates the value. This function should be side-effect free, as it may run multiple times when races occur with other threads.</param>
  2550. <typeparam name="T">The type of data.</typeparam>
  2551. <returns>
  2552. <see langword="true" /> if the location's value is changed by applying the result of the <paramref name="transformer" /> function; <see langword="false" /> if the location's value remained the same because the last invocation of <paramref name="transformer" /> returned the existing value.</returns>
  2553. </member>
  2554. <member name="M:System.Collections.Immutable.ImmutableInterlocked.Update``1(System.Collections.Immutable.ImmutableArray{``0}@,System.Func{System.Collections.Immutable.ImmutableArray{``0},System.Collections.Immutable.ImmutableArray{``0}})">
  2555. <summary>Mutates an immutable array in-place with optimistic locking transaction semantics via a specified transformation function.
  2556. The transformation is retried as many times as necessary to win the optimistic locking race.</summary>
  2557. <param name="location">The immutable array to be changed.</param>
  2558. <param name="transformer">A function that produces the new array from the old. This function should be side-effect free, as it may run multiple times when races occur with other threads.</param>
  2559. <typeparam name="T">The type of data in the immutable array.</typeparam>
  2560. <returns>
  2561. <see langword="true" /> if the location's value is changed by applying the result of the <paramref name="transformer" /> function; <see langword="false" /> if the location's value remained the same because the last invocation of <paramref name="transformer" /> returned the existing value.</returns>
  2562. </member>
  2563. <member name="M:System.Collections.Immutable.ImmutableInterlocked.Update``2(``0@,System.Func{``0,``1,``0},``1)">
  2564. <summary>Mutates a value in-place with optimistic locking transaction semantics via a specified transformation function. The transformation is retried as many times as necessary to win the optimistic locking race.</summary>
  2565. <param name="location">The variable or field to be changed, which may be accessed by multiple threads.</param>
  2566. <param name="transformer">A function that mutates the value. This function should be side-effect free, as it may run multiple times when races occur with other threads.</param>
  2567. <param name="transformerArgument">The argument to pass to <paramref name="transformer" />.</param>
  2568. <typeparam name="T">The type of data.</typeparam>
  2569. <typeparam name="TArg">The type of argument passed to the <paramref name="transformer" />.</typeparam>
  2570. <returns>
  2571. <see langword="true" /> if the location's value is changed by applying the result of the <paramref name="transformer" /> function; <see langword="false" /> if the location's value remained the same because the last invocation of <paramref name="transformer" /> returned the existing value.</returns>
  2572. </member>
  2573. <member name="M:System.Collections.Immutable.ImmutableInterlocked.Update``2(System.Collections.Immutable.ImmutableArray{``0}@,System.Func{System.Collections.Immutable.ImmutableArray{``0},``1,System.Collections.Immutable.ImmutableArray{``0}},``1)">
  2574. <summary>Mutates an immutable array in-place with optimistic locking transaction semantics via a specified transformation function.
  2575. The transformation is retried as many times as necessary to win the optimistic locking race.</summary>
  2576. <param name="location">The immutable array to be changed.</param>
  2577. <param name="transformer">A function that produces the new array from the old. This function should be side-effect free, as it may run multiple times when races occur with other threads.</param>
  2578. <param name="transformerArgument">The argument to pass to <paramref name="transformer" />.</param>
  2579. <typeparam name="T">The type of data in the immutable array.</typeparam>
  2580. <typeparam name="TArg">The type of argument passed to the <paramref name="transformer" />.</typeparam>
  2581. <returns>
  2582. <see langword="true" /> if the location's value is changed by applying the result of the <paramref name="transformer" /> function; <see langword="false" /> if the location's value remained the same because the last invocation of <paramref name="transformer" /> returned the existing value.</returns>
  2583. </member>
  2584. <member name="T:System.Collections.Immutable.ImmutableList">
  2585. <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableList`1" /> class.
  2586. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  2587. </member>
  2588. <member name="M:System.Collections.Immutable.ImmutableList.Create``1">
  2589. <summary>Creates an empty immutable list.</summary>
  2590. <typeparam name="T">The type of items to be stored in the .</typeparam>
  2591. <returns>An empty immutable list.</returns>
  2592. </member>
  2593. <member name="M:System.Collections.Immutable.ImmutableList.Create``1(``0)">
  2594. <summary>Creates a new immutable list that contains the specified item.</summary>
  2595. <param name="item">The item to prepopulate the list with.</param>
  2596. <typeparam name="T">The type of items in the .</typeparam>
  2597. <returns>A new that contains the specified item.</returns>
  2598. </member>
  2599. <member name="M:System.Collections.Immutable.ImmutableList.Create``1(``0[])">
  2600. <summary>Creates a new immutable list that contains the specified array of items.</summary>
  2601. <param name="items">An array that contains the items to prepopulate the list with.</param>
  2602. <typeparam name="T">The type of items in the .</typeparam>
  2603. <returns>A new immutable list that contains the specified items.</returns>
  2604. </member>
  2605. <member name="M:System.Collections.Immutable.ImmutableList.CreateBuilder``1">
  2606. <summary>Creates a new immutable list builder.</summary>
  2607. <typeparam name="T">The type of items stored by the collection.</typeparam>
  2608. <returns>The immutable collection builder.</returns>
  2609. </member>
  2610. <member name="M:System.Collections.Immutable.ImmutableList.CreateRange``1(System.Collections.Generic.IEnumerable{``0})">
  2611. <summary>Creates a new immutable list that contains the specified items.</summary>
  2612. <param name="items">The items to add to the list.</param>
  2613. <typeparam name="T">The type of items in the .</typeparam>
  2614. <returns>An immutable list that contains the specified items.</returns>
  2615. </member>
  2616. <member name="M:System.Collections.Immutable.ImmutableList.IndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0)">
  2617. <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the list.</summary>
  2618. <param name="list">The list to search.</param>
  2619. <param name="item">The object to locate in the list. The value can be null for reference types.</param>
  2620. <typeparam name="T">The type of items in the list.</typeparam>
  2621. <returns>The zero-based index of the first occurrence of item within the range of elements in the list that extends from index to the last element, if found; otherwise, -1.</returns>
  2622. </member>
  2623. <member name="M:System.Collections.Immutable.ImmutableList.IndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0,System.Collections.Generic.IEqualityComparer{``0})">
  2624. <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the list.</summary>
  2625. <param name="list">The list to search.</param>
  2626. <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
  2627. <param name="equalityComparer">The equality comparer to use in the search.</param>
  2628. <typeparam name="T">The type of items in the list.</typeparam>
  2629. <returns>The zero-based index of the first occurrence of item within the range of elements in the immutable list that extends from index to the last element, if found; otherwise, -1.</returns>
  2630. </member>
  2631. <member name="M:System.Collections.Immutable.ImmutableList.IndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0,System.Int32)">
  2632. <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the immutable list that extends from the specified index to the last element.</summary>
  2633. <param name="list">The list to search.</param>
  2634. <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
  2635. <param name="startIndex">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
  2636. <typeparam name="T">The type of items in the list.</typeparam>
  2637. <returns>The zero-based index of the first occurrence of item within the range of elements in the Immutable list that extends from index to the last element, if found; otherwise, -1.</returns>
  2638. </member>
  2639. <member name="M:System.Collections.Immutable.ImmutableList.IndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0,System.Int32,System.Int32)">
  2640. <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the immutable list that extends from the specified index to the last element.</summary>
  2641. <param name="list">The list to search.</param>
  2642. <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
  2643. <param name="startIndex">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
  2644. <param name="count">The number of elements in the section to search.</param>
  2645. <typeparam name="T">The type of items in the list.</typeparam>
  2646. <returns>The zero-based index of the first occurrence of item within the range of elements in the Immutable list that extends from index to the last element, if found; otherwise, -1.</returns>
  2647. </member>
  2648. <member name="M:System.Collections.Immutable.ImmutableList.LastIndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0)">
  2649. <summary>Searches for the specified object and returns the zero-based index of the last occurrence within the entire immutable list.</summary>
  2650. <param name="list">The list to search.</param>
  2651. <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
  2652. <typeparam name="T">The type of items in the list.</typeparam>
  2653. <returns>The zero-based index of the last occurrence of item within the entire the Immutable list, if found; otherwise, -1.</returns>
  2654. </member>
  2655. <member name="M:System.Collections.Immutable.ImmutableList.LastIndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0,System.Collections.Generic.IEqualityComparer{``0})">
  2656. <summary>Searches for the specified object and returns the zero-based index of the last occurrence within the entire immutable list.</summary>
  2657. <param name="list">The list to search.</param>
  2658. <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
  2659. <param name="equalityComparer">The equality comparer to use in the search.</param>
  2660. <typeparam name="T">The type of items in the list.</typeparam>
  2661. <returns>The zero-based index of the last occurrence of item within the entire the Immutable list, if found; otherwise, -1.</returns>
  2662. </member>
  2663. <member name="M:System.Collections.Immutable.ImmutableList.LastIndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0,System.Int32)">
  2664. <summary>Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the immutable list that extends from the first element to the specified index.</summary>
  2665. <param name="list">The list to search.</param>
  2666. <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
  2667. <param name="startIndex">The zero-based starting index of the backward search.</param>
  2668. <typeparam name="T">The type of items in the list.</typeparam>
  2669. <returns>The zero-based index of the last occurrence of item within the range of elements in the Immutable list that extends from the first element to index, if found; otherwise, -1.</returns>
  2670. </member>
  2671. <member name="M:System.Collections.Immutable.ImmutableList.LastIndexOf``1(System.Collections.Immutable.IImmutableList{``0},``0,System.Int32,System.Int32)">
  2672. <summary>Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the immutable list that extends from the first element to the specified index.</summary>
  2673. <param name="list">The list to search.</param>
  2674. <param name="item">The object to locate in the Immutable list. The value can be null for reference types.</param>
  2675. <param name="startIndex">The zero-based starting index of the backward search.</param>
  2676. <param name="count">The number of elements in the section to search.</param>
  2677. <typeparam name="T">The type of items in the list.</typeparam>
  2678. <returns>The zero-based index of the last occurrence of item within the range of elements in the Immutable list that extends from the first element to index, if found; otherwise, -1.</returns>
  2679. </member>
  2680. <member name="M:System.Collections.Immutable.ImmutableList.Remove``1(System.Collections.Immutable.IImmutableList{``0},``0)">
  2681. <summary>Removes the specified value from this list.</summary>
  2682. <param name="list">The list to search.</param>
  2683. <param name="value">The value to remove.</param>
  2684. <typeparam name="T">The type of items in the list.</typeparam>
  2685. <returns>A new immutable list with the element removed, or this list if the element is not in this list.</returns>
  2686. </member>
  2687. <member name="M:System.Collections.Immutable.ImmutableList.RemoveRange``1(System.Collections.Immutable.IImmutableList{``0},System.Collections.Generic.IEnumerable{``0})">
  2688. <summary>Removes the specified values from this list.</summary>
  2689. <param name="list">The list to search.</param>
  2690. <param name="items">The items to remove if matches are found in this list.</param>
  2691. <typeparam name="T">The type of items in the list.</typeparam>
  2692. <returns>A new immutable list with the elements removed.</returns>
  2693. </member>
  2694. <member name="M:System.Collections.Immutable.ImmutableList.Replace``1(System.Collections.Immutable.IImmutableList{``0},``0,``0)">
  2695. <summary>Replaces the first equal element in the list with the specified element.</summary>
  2696. <param name="list">The list to search.</param>
  2697. <param name="oldValue">The element to replace.</param>
  2698. <param name="newValue">The element to replace the old element with.</param>
  2699. <typeparam name="T">The type of items in the list.</typeparam>
  2700. <exception cref="T:System.ArgumentException">Thrown when the old value does not exist in the list.</exception>
  2701. <returns>The new list -- even if the value being replaced is equal to the new value for that position.</returns>
  2702. </member>
  2703. <member name="M:System.Collections.Immutable.ImmutableList.ToImmutableList``1(System.Collections.Generic.IEnumerable{``0})">
  2704. <summary>Enumerates a sequence and produces an immutable list of its contents.</summary>
  2705. <param name="source">The sequence to enumerate.</param>
  2706. <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
  2707. <returns>An immutable list that contains the items in the specified sequence.</returns>
  2708. </member>
  2709. <member name="M:System.Collections.Immutable.ImmutableList.ToImmutableList``1(System.Collections.Immutable.ImmutableList{``0}.Builder)">
  2710. <summary>Creates an immutable list from the current contents of the builder's collection.</summary>
  2711. <param name="builder">The builder to create the immutable list from.</param>
  2712. <typeparam name="TSource">The type of the elements in the list.</typeparam>
  2713. <returns>An immutable list that contains the current contents in the builder's collection.</returns>
  2714. </member>
  2715. <member name="T:System.Collections.Immutable.ImmutableList`1">
  2716. <summary>Represents an immutable list, which is a strongly typed list of objects that can be accessed by index.
  2717. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  2718. <typeparam name="T">The type of elements in the list.</typeparam>
  2719. </member>
  2720. <member name="F:System.Collections.Immutable.ImmutableList`1.Empty">
  2721. <summary>Gets an empty set with the default sort comparer.</summary>
  2722. </member>
  2723. <member name="M:System.Collections.Immutable.ImmutableList`1.Add(`0)">
  2724. <summary>Adds the specified object to the end of the immutable list.</summary>
  2725. <param name="value">The object to add.</param>
  2726. <returns>A new immutable list with the object added.</returns>
  2727. </member>
  2728. <member name="M:System.Collections.Immutable.ImmutableList`1.AddRange(System.Collections.Generic.IEnumerable{`0})">
  2729. <summary>Adds the elements of the specified collection to the end of the immutable list.</summary>
  2730. <param name="items">The collection whose elements will be added to the end of the list.</param>
  2731. <returns>A new immutable list with the elements added.</returns>
  2732. </member>
  2733. <member name="M:System.Collections.Immutable.ImmutableList`1.BinarySearch(`0)">
  2734. <summary>Searches the entire sorted list for an element using the default comparer and returns the zero-based index of the element.</summary>
  2735. <param name="item">The object to locate. The value can be <see langword="null" /> for reference types.</param>
  2736. <exception cref="T:System.InvalidOperationException">The default comparer cannot find a comparer implementation of the for type T.</exception>
  2737. <returns>The zero-based index of item in the sorted List, if item is found; otherwise, a negative number that is the bitwise complement of the index of the next element that is larger than item or, if there is no larger element, the bitwise complement of <see cref="P:System.Collections.ICollection.Count" />.</returns>
  2738. </member>
  2739. <member name="M:System.Collections.Immutable.ImmutableList`1.BinarySearch(`0,System.Collections.Generic.IComparer{`0})">
  2740. <summary>Searches the entire sorted list for an element using the specified comparer and returns the zero-based index of the element.</summary>
  2741. <param name="item">The object to locate. The value can be null for reference types.</param>
  2742. <param name="comparer">The comparer implementation to use when comparing elements or null to use the default comparer.</param>
  2743. <exception cref="T:System.InvalidOperationException">comparer is <see langword="null" />, and the default comparer cannot find an comparer implementation for type T.</exception>
  2744. <returns>The zero-based index of item in the sorted List, if item is found; otherwise, a negative number that is the bitwise complement of the index of the next element that is larger than item or, if there is no larger element, the bitwise complement of <see cref="P:System.Collections.ICollection.Count" />.</returns>
  2745. </member>
  2746. <member name="M:System.Collections.Immutable.ImmutableList`1.BinarySearch(System.Int32,System.Int32,`0,System.Collections.Generic.IComparer{`0})">
  2747. <summary>Searches a range of elements in the sorted list for an element using the specified comparer and returns the zero-based index of the element.</summary>
  2748. <param name="index">The zero-based starting index of the range to search.</param>
  2749. <param name="count">The length of the range to search.</param>
  2750. <param name="item">The object to locate. The value can be null for reference types.</param>
  2751. <param name="comparer">The comparer implementation to use when comparing elements, or <see langword="null" /> to use the default comparer.</param>
  2752. <exception cref="T:System.ArgumentOutOfRangeException">index is less than 0 or <paramref name="count" /> is less than 0.</exception>
  2753. <exception cref="T:System.ArgumentException">index and <paramref name="count" /> do not denote a valid range in the list.</exception>
  2754. <exception cref="T:System.InvalidOperationException">
  2755. <paramref name="comparer" /> is <see langword="null" />, and the default comparer cannot find an comparer implementation for type T.</exception>
  2756. <returns>The zero-based index of item in the sorted list, if item is found; otherwise, a negative number that is the bitwise complement of the index of the next element that is larger than item or, if there is no larger element, the bitwise complement of <paramref name="count" />.</returns>
  2757. </member>
  2758. <member name="M:System.Collections.Immutable.ImmutableList`1.Clear">
  2759. <summary>Removes all elements from the immutable list.</summary>
  2760. <returns>An empty list that retains the same sort or unordered semantics that this instance has.</returns>
  2761. </member>
  2762. <member name="M:System.Collections.Immutable.ImmutableList`1.Contains(`0)">
  2763. <summary>Determines whether this immutable list contains the specified value.</summary>
  2764. <param name="value">The value to locate.</param>
  2765. <returns>
  2766. <see langword="true" /> if the list contains the specified value; otherwise, <see langword="false" />.</returns>
  2767. </member>
  2768. <member name="M:System.Collections.Immutable.ImmutableList`1.ConvertAll``1(System.Func{`0,``0})">
  2769. <summary>Converts the elements in the current immutable list to another type, and returns a list containing the converted elements.</summary>
  2770. <param name="converter">A delegate that converts each element from one type to another type.</param>
  2771. <typeparam name="TOutput">The type of the elements of the target array.</typeparam>
  2772. <returns>A list of the target type containing the converted elements from the current <see cref="T:System.Collections.Immutable.ImmutableList`1" />.</returns>
  2773. </member>
  2774. <member name="M:System.Collections.Immutable.ImmutableList`1.CopyTo(`0[])">
  2775. <summary>Copies the entire immutable list to a compatible one-dimensional array, starting at the beginning of the target array.</summary>
  2776. <param name="array">The one-dimensional array that is the destination of the elements copied from the immutable list. The array must have zero-based indexing.</param>
  2777. </member>
  2778. <member name="M:System.Collections.Immutable.ImmutableList`1.CopyTo(`0[],System.Int32)">
  2779. <summary>Copies the entire immutable list to a compatible one-dimensional array, starting at the specified index of the target array.</summary>
  2780. <param name="array">The one-dimensional array that is the destination of the elements copied from the immutable list. The array must have zero-based indexing.</param>
  2781. <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  2782. </member>
  2783. <member name="M:System.Collections.Immutable.ImmutableList`1.CopyTo(System.Int32,`0[],System.Int32,System.Int32)">
  2784. <summary>Copies a range of elements from the immutable list to a compatible one-dimensional array, starting at the specified index of the target array.</summary>
  2785. <param name="index">The zero-based index in the source immutable list at which copying begins.</param>
  2786. <param name="array">The one-dimensional array that is the destination of the elements copied from the immutable list. The array must have zero-based indexing.</param>
  2787. <param name="arrayIndex">The zero-based index in array at which copying begins.</param>
  2788. <param name="count">The number of elements to copy.</param>
  2789. </member>
  2790. <member name="M:System.Collections.Immutable.ImmutableList`1.Exists(System.Predicate{`0})">
  2791. <summary>Determines whether the immutable list contains elements that match the conditions defined by the specified predicate.</summary>
  2792. <param name="match">The delegate that defines the conditions of the elements to search for.</param>
  2793. <returns>
  2794. <see langword="true" /> if the immutable list contains one or more elements that match the conditions defined by the specified predicate; otherwise, <see langword="false" />.</returns>
  2795. </member>
  2796. <member name="M:System.Collections.Immutable.ImmutableList`1.Find(System.Predicate{`0})">
  2797. <summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire immutable list.</summary>
  2798. <param name="match">The delegate that defines the conditions of the element to search for.</param>
  2799. <returns>The first element that matches the conditions defined by the specified predicate, if found; otherwise, the default value for type <paramref name="T" />.</returns>
  2800. </member>
  2801. <member name="M:System.Collections.Immutable.ImmutableList`1.FindAll(System.Predicate{`0})">
  2802. <summary>Retrieves all the elements that match the conditions defined by the specified predicate.</summary>
  2803. <param name="match">The delegate that defines the conditions of the elements to search for.</param>
  2804. <returns>An immutable list that contains all the elements that match the conditions defined by the specified predicate, if found; otherwise, an empty immutable list.</returns>
  2805. </member>
  2806. <member name="M:System.Collections.Immutable.ImmutableList`1.FindIndex(System.Int32,System.Int32,System.Predicate{`0})">
  2807. <summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the immutable list that starts at the specified index and contains the specified number of elements.</summary>
  2808. <param name="startIndex">The zero-based starting index of the search.</param>
  2809. <param name="count">The number of elements in the section to search.</param>
  2810. <param name="match">The delegate that defines the conditions of the element to search for.</param>
  2811. <returns>The zero-based index of the first occurrence of an element that matches the conditions defined by match, if found; otherwise, ?1.</returns>
  2812. </member>
  2813. <member name="M:System.Collections.Immutable.ImmutableList`1.FindIndex(System.Int32,System.Predicate{`0})">
  2814. <summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the immutable list that extends from the specified index to the last element.</summary>
  2815. <param name="startIndex">The zero-based starting index of the search.</param>
  2816. <param name="match">The delegate that defines the conditions of the element to search for.</param>
  2817. <returns>The zero-based index of the first occurrence of an element that matches the conditions defined by match, if found; otherwise, ?1.</returns>
  2818. </member>
  2819. <member name="M:System.Collections.Immutable.ImmutableList`1.FindIndex(System.Predicate{`0})">
  2820. <summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the entire immutable list.</summary>
  2821. <param name="match">The delegate that defines the conditions of the element to search for.</param>
  2822. <returns>The zero-based index of the first occurrence of an element that matches the conditions defined by match, if found; otherwise, ?1.</returns>
  2823. </member>
  2824. <member name="M:System.Collections.Immutable.ImmutableList`1.FindLast(System.Predicate{`0})">
  2825. <summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire immutable list.</summary>
  2826. <param name="match">The delegate that defines the conditions of the element to search for.</param>
  2827. <returns>The last element that matches the conditions defined by the specified predicate, if found; otherwise, the default value for type <paramref name="T" />.</returns>
  2828. </member>
  2829. <member name="M:System.Collections.Immutable.ImmutableList`1.FindLastIndex(System.Int32,System.Int32,System.Predicate{`0})">
  2830. <summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the immutable list that contains the specified number of elements and ends at the specified index.</summary>
  2831. <param name="startIndex">The zero-based starting index of the backward search.</param>
  2832. <param name="count">The number of elements in the section to search.</param>
  2833. <param name="match">The delegate that defines the conditions of the element to search for.</param>
  2834. <returns>The zero-based index of the last occurrence of an element that matches the conditions defined by <paramref name="match" />, if found; otherwise, ?1.</returns>
  2835. </member>
  2836. <member name="M:System.Collections.Immutable.ImmutableList`1.FindLastIndex(System.Int32,System.Predicate{`0})">
  2837. <summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the immutable list that extends from the first element to the specified index.</summary>
  2838. <param name="startIndex">The zero-based starting index of the backward search.</param>
  2839. <param name="match">The delegate that defines the conditions of the element to search for.</param>
  2840. <returns>The zero-based index of the last occurrence of an element that matches the conditions defined by <paramref name="match" />, if found; otherwise, ?1.</returns>
  2841. </member>
  2842. <member name="M:System.Collections.Immutable.ImmutableList`1.FindLastIndex(System.Predicate{`0})">
  2843. <summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire immutable list.</summary>
  2844. <param name="match">The delegate that defines the conditions of the element to search for.</param>
  2845. <returns>The zero-based index of the last occurrence of an element that matches the conditions defined by <paramref name="match" />, if found; otherwise, ?1.</returns>
  2846. </member>
  2847. <member name="M:System.Collections.Immutable.ImmutableList`1.ForEach(System.Action{`0})">
  2848. <summary>Performs the specified action on each element of the immutable list.</summary>
  2849. <param name="action">The delegate to perform on each element of the immutable list.</param>
  2850. </member>
  2851. <member name="M:System.Collections.Immutable.ImmutableList`1.GetEnumerator">
  2852. <summary>Returns an enumerator that iterates through the immutable list.</summary>
  2853. <returns>An enumerator that can be used to iterate through the immutable list.</returns>
  2854. </member>
  2855. <member name="M:System.Collections.Immutable.ImmutableList`1.GetRange(System.Int32,System.Int32)">
  2856. <summary>Creates a shallow copy of a range of elements in the source immutable list.</summary>
  2857. <param name="index">The zero-based index at which the range starts.</param>
  2858. <param name="count">The number of elements in the range.</param>
  2859. <returns>A shallow copy of a range of elements in the source immutable list.</returns>
  2860. </member>
  2861. <member name="M:System.Collections.Immutable.ImmutableList`1.IndexOf(`0)">
  2862. <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the entire immutable list.</summary>
  2863. <param name="value">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
  2864. <returns>The zero-based index of the first occurrence of <paramref name="value" /> within the entire immutable list, if found; otherwise, ?1.</returns>
  2865. </member>
  2866. <member name="M:System.Collections.Immutable.ImmutableList`1.IndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
  2867. <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the list that starts at the specified index and contains the specified number of elements.</summary>
  2868. <param name="item">The object to locate in the list The value can be null for reference types.</param>
  2869. <param name="index">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
  2870. <param name="count">The number of elements in the section to search.</param>
  2871. <param name="equalityComparer">The equality comparer to use in the search.</param>
  2872. <returns>The zero-based index of the first occurrence of item within the range of elements in the list that starts at index and contains count number of elements, if found; otherwise, -1.</returns>
  2873. </member>
  2874. <member name="M:System.Collections.Immutable.ImmutableList`1.Insert(System.Int32,`0)">
  2875. <summary>Inserts the specified object into the immutable list at the specified index.</summary>
  2876. <param name="index">The zero-based index at which to insert the object.</param>
  2877. <param name="item">The object to insert.</param>
  2878. <returns>The new immutable list after the object is inserted.</returns>
  2879. </member>
  2880. <member name="M:System.Collections.Immutable.ImmutableList`1.InsertRange(System.Int32,System.Collections.Generic.IEnumerable{`0})">
  2881. <summary>Inserts the elements of a collection into the immutable list at the specified index.</summary>
  2882. <param name="index">The zero-based index at which to insert the elements.</param>
  2883. <param name="items">The collection whose elements should be inserted.</param>
  2884. <returns>The new immutable list after the elements are inserted.</returns>
  2885. </member>
  2886. <member name="M:System.Collections.Immutable.ImmutableList`1.ItemRef(System.Int32)">
  2887. <summary>Gets a read-only reference to the element of the set at the given <paramref name="index" />.</summary>
  2888. <param name="index">The 0-based index of the element in the set to return.</param>
  2889. <exception cref="T:System.IndexOutOfRangeException">
  2890. <paramref name="index" /> is negative or not less than <see cref="P:System.Collections.Immutable.ImmutableList`1.Count" />.</exception>
  2891. <returns>A read-only reference to the element at the given position.</returns>
  2892. </member>
  2893. <member name="M:System.Collections.Immutable.ImmutableList`1.LastIndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
  2894. <summary>Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the list that contains the specified number of elements and ends at the specified index.</summary>
  2895. <param name="item">The object to locate in the list. The value can be null for reference types.</param>
  2896. <param name="index">The zero-based starting index of the backward search.</param>
  2897. <param name="count">The number of elements in the section to search.</param>
  2898. <param name="equalityComparer">The equality comparer to use in the search.</param>
  2899. <returns>The zero-based index of the last occurrence of item within the range of elements in the list that contains count number of elements and ends at index, if found; otherwise, -1.</returns>
  2900. </member>
  2901. <member name="M:System.Collections.Immutable.ImmutableList`1.Remove(`0)">
  2902. <summary>Removes the first occurrence of the specified object from this immutable list.</summary>
  2903. <param name="value">The object to remove.</param>
  2904. <returns>A new list with the object removed, or this list if the specified object is not in this list.</returns>
  2905. </member>
  2906. <member name="M:System.Collections.Immutable.ImmutableList`1.Remove(`0,System.Collections.Generic.IEqualityComparer{`0})">
  2907. <summary>Removes the first occurrence of the object that matches the specified value from this immutable list.</summary>
  2908. <param name="value">The value of the element to remove from the list.</param>
  2909. <param name="equalityComparer">The equality comparer to use in the search.</param>
  2910. <returns>A new list with the object removed, or this list if the specified object is not in this list.</returns>
  2911. </member>
  2912. <member name="M:System.Collections.Immutable.ImmutableList`1.RemoveAll(System.Predicate{`0})">
  2913. <summary>Removes all the elements that match the conditions defined by the specified predicate.</summary>
  2914. <param name="match">The delegate that defines the conditions of the elements to remove.</param>
  2915. <returns>The new list with the elements removed.</returns>
  2916. </member>
  2917. <member name="M:System.Collections.Immutable.ImmutableList`1.RemoveAt(System.Int32)">
  2918. <summary>Removes the element at the specified index.</summary>
  2919. <param name="index">The zero-based index of the element to remove.</param>
  2920. <returns>A new list with the element removed.</returns>
  2921. </member>
  2922. <member name="M:System.Collections.Immutable.ImmutableList`1.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
  2923. <summary>Removes a range of elements from this immutable list.</summary>
  2924. <param name="items">The collection whose elements should be removed if matches are found in this list.</param>
  2925. <returns>A new list with the elements removed.</returns>
  2926. </member>
  2927. <member name="M:System.Collections.Immutable.ImmutableList`1.RemoveRange(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEqualityComparer{`0})">
  2928. <summary>Removes the specified values from this list.</summary>
  2929. <param name="items">The items to remove if matches are found in this list.</param>
  2930. <param name="equalityComparer">The equality comparer to use in the search.</param>
  2931. <returns>A new list with the elements removed.</returns>
  2932. </member>
  2933. <member name="M:System.Collections.Immutable.ImmutableList`1.RemoveRange(System.Int32,System.Int32)">
  2934. <summary>Removes a range of elements, starting from the specified index and containing the specified number of elements, from this immutable list.</summary>
  2935. <param name="index">The starting index to begin removal.</param>
  2936. <param name="count">The number of elements to remove.</param>
  2937. <returns>A new list with the elements removed.</returns>
  2938. </member>
  2939. <member name="M:System.Collections.Immutable.ImmutableList`1.Replace(`0,`0)">
  2940. <summary>Replaces the specified element in the immutable list with a new element.</summary>
  2941. <param name="oldValue">The element to replace.</param>
  2942. <param name="newValue">The element to replace <paramref name="oldValue" /> with.</param>
  2943. <exception cref="T:System.ArgumentException">
  2944. <paramref name="oldValue" /> does not exist in the immutable list.</exception>
  2945. <returns>The new list with the replaced element, even if it is equal to the old element.</returns>
  2946. </member>
  2947. <member name="M:System.Collections.Immutable.ImmutableList`1.Replace(`0,`0,System.Collections.Generic.IEqualityComparer{`0})">
  2948. <summary>Replaces the specified element in the immutable list with a new element.</summary>
  2949. <param name="oldValue">The element to replace in the list.</param>
  2950. <param name="newValue">The element to replace <paramref name="oldValue" /> with.</param>
  2951. <param name="equalityComparer">The comparer to use to check for equality.</param>
  2952. <returns>A new list with the object replaced, or this list if the specified object is not in this list.</returns>
  2953. </member>
  2954. <member name="M:System.Collections.Immutable.ImmutableList`1.Reverse">
  2955. <summary>Reverses the order of the elements in the entire immutable list.</summary>
  2956. <returns>The reversed list.</returns>
  2957. </member>
  2958. <member name="M:System.Collections.Immutable.ImmutableList`1.Reverse(System.Int32,System.Int32)">
  2959. <summary>Reverses the order of the elements in the specified range of the immutable list.</summary>
  2960. <param name="index">The zero-based starting index of the range to reverse.</param>
  2961. <param name="count">The number of elements in the range to reverse.</param>
  2962. <returns>The reversed list.</returns>
  2963. </member>
  2964. <member name="M:System.Collections.Immutable.ImmutableList`1.SetItem(System.Int32,`0)">
  2965. <summary>Replaces an element at a given position in the immutable list with the specified element.</summary>
  2966. <param name="index">The position in the list of the element to replace.</param>
  2967. <param name="value">The element to replace the old element with.</param>
  2968. <returns>The new list with the replaced element, even if it is equal to the old element at that position.</returns>
  2969. </member>
  2970. <member name="M:System.Collections.Immutable.ImmutableList`1.Sort">
  2971. <summary>Sorts the elements in the entire immutable list using the default comparer.</summary>
  2972. <returns>The sorted list.</returns>
  2973. </member>
  2974. <member name="M:System.Collections.Immutable.ImmutableList`1.Sort(System.Collections.Generic.IComparer{`0})">
  2975. <summary>Sorts the elements in the entire immutable list using the specified comparer.</summary>
  2976. <param name="comparer">The implementation to use when comparing elements, or <see langword="null" /> to use the default comparer (<see cref="P:System.Collections.Generic.Comparer`1.Default" />).</param>
  2977. <returns>The sorted list.</returns>
  2978. </member>
  2979. <member name="M:System.Collections.Immutable.ImmutableList`1.Sort(System.Comparison{`0})">
  2980. <summary>Sorts the elements in the entire immutable list using the specified comparer.</summary>
  2981. <param name="comparison">The delegate to use when comparing elements.</param>
  2982. <exception cref="T:System.ArgumentNullException">
  2983. <paramref name="comparison" /> is <see langword="null" />.</exception>
  2984. <returns>The sorted list.</returns>
  2985. </member>
  2986. <member name="M:System.Collections.Immutable.ImmutableList`1.Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer{`0})">
  2987. <summary>Sorts a range of elements in the immutable list using the specified comparer.</summary>
  2988. <param name="index">The zero-based starting index of the range to sort.</param>
  2989. <param name="count">The length of the range to sort.</param>
  2990. <param name="comparer">The implementation to use when comparing elements, or <see langword="null" /> to use the default comparer (<see cref="P:System.Collections.Generic.Comparer`1.Default" />).</param>
  2991. <returns>The sorted list.</returns>
  2992. </member>
  2993. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#ICollection{T}#Add(`0)">
  2994. <summary>Adds the specified item to the immutable list.</summary>
  2995. <param name="item">The item to add.</param>
  2996. <exception cref="T:System.NotSupportedException">Always thrown.</exception>
  2997. </member>
  2998. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#ICollection{T}#Clear">
  2999. <summary>Removes all items from the immutable list.</summary>
  3000. <exception cref="T:System.NotSupportedException" />
  3001. </member>
  3002. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#ICollection{T}#Remove(`0)">
  3003. <summary>Removes the first occurrence of a specific object from the immutable list.</summary>
  3004. <param name="item">The object to remove.</param>
  3005. <exception cref="T:System.NotSupportedException">Always thrown.</exception>
  3006. <returns>
  3007. <see langword="true" /> if <paramref name="item" /> was successfully removed from the list; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="item" /> is not found in the original list.</returns>
  3008. </member>
  3009. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
  3010. <summary>Returns an enumerator that iterates through the immutable list.</summary>
  3011. <returns>An enumerator that can be used to iterate through the list.</returns>
  3012. </member>
  3013. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#IList{T}#Insert(System.Int32,`0)">
  3014. <summary>Inserts an object in the immutable list at the specified index.</summary>
  3015. <param name="index">The zero-based index at which <paramref name="item" /> should be inserted.</param>
  3016. <param name="item">The object to insert.</param>
  3017. <exception cref="T:System.NotSupportedException" />
  3018. </member>
  3019. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#IList{T}#RemoveAt(System.Int32)">
  3020. <summary>Removes the value at the specified index.</summary>
  3021. <param name="index">The zero-based index of the item to remove.</param>
  3022. <exception cref="T:System.NotSupportedException" />
  3023. </member>
  3024. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  3025. <summary>Copies the entire immutable list to a compatible one-dimensional array, starting at the specified array index.</summary>
  3026. <param name="array">The one-dimensional array that is the destination of the elements copied from immutable list.</param>
  3027. <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  3028. </member>
  3029. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IEnumerable#GetEnumerator">
  3030. <summary>Returns an enumerator that iterates through the immutable list.</summary>
  3031. <returns>An enumerator that can be used to iterate through the list.</returns>
  3032. </member>
  3033. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#Add(System.Object)">
  3034. <summary>Adds an item to the immutable list.</summary>
  3035. <param name="value">The object to add to the list.</param>
  3036. <exception cref="T:System.NotSupportedException">Always thrown.</exception>
  3037. <returns>The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the list.</returns>
  3038. </member>
  3039. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#Clear">
  3040. <summary>Removes all items from the immutable list.</summary>
  3041. <exception cref="T:System.NotSupportedException">Always thrown.</exception>
  3042. </member>
  3043. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#Contains(System.Object)">
  3044. <summary>Determines whether the immutable list contains a specific value.</summary>
  3045. <param name="value">The object to locate in the list.</param>
  3046. <exception cref="T:System.NotImplementedException" />
  3047. <returns>
  3048. <see langword="true" /> if the object is found in the list; otherwise, <see langword="false" />.</returns>
  3049. </member>
  3050. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#IndexOf(System.Object)">
  3051. <summary>Determines the index of a specific item in the immutable list.</summary>
  3052. <param name="value">The object to locate in the list.</param>
  3053. <exception cref="T:System.NotImplementedException" />
  3054. <returns>The index of <paramref name="value" /> if found in the list; otherwise, -1.</returns>
  3055. </member>
  3056. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#Insert(System.Int32,System.Object)">
  3057. <summary>Inserts an item into the immutable list at the specified index.</summary>
  3058. <param name="index">The zero-based index at which <paramref name="value" /> should be inserted.</param>
  3059. <param name="value">The object to insert into the list.</param>
  3060. <exception cref="T:System.NotSupportedException">Always thrown.</exception>
  3061. </member>
  3062. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#Remove(System.Object)">
  3063. <summary>Removes the first occurrence of a specific object from the immutable list.</summary>
  3064. <param name="value">The object to remove from the list.</param>
  3065. <exception cref="T:System.NotSupportedException">Always thrown.</exception>
  3066. </member>
  3067. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#RemoveAt(System.Int32)">
  3068. <summary>Removes the item at the specified index of the immutable list.</summary>
  3069. <param name="index">The zero-based index of the item to remove.</param>
  3070. <exception cref="T:System.NotSupportedException">Always thrown.</exception>
  3071. </member>
  3072. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#Add(`0)">
  3073. <summary>Adds the specified value to this immutable list.</summary>
  3074. <param name="value">The value to add.</param>
  3075. <returns>A new list with the element added.</returns>
  3076. </member>
  3077. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#AddRange(System.Collections.Generic.IEnumerable{`0})">
  3078. <summary>Adds the specified values to this immutable list.</summary>
  3079. <param name="items">The values to add.</param>
  3080. <returns>A new list with the elements added.</returns>
  3081. </member>
  3082. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#Clear">
  3083. <summary>Retrieves an empty list that has the same sorting and ordering semantics as this instance.</summary>
  3084. <returns>An empty list that has the same sorting and ordering semantics as this instance.</returns>
  3085. </member>
  3086. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#Insert(System.Int32,`0)">
  3087. <summary>Inserts the specified element at the specified index in the immutable list.</summary>
  3088. <param name="index">The index at which to insert the value.</param>
  3089. <param name="item">The element to insert.</param>
  3090. <returns>A new immutable list that includes the specified element.</returns>
  3091. </member>
  3092. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#InsertRange(System.Int32,System.Collections.Generic.IEnumerable{`0})">
  3093. <summary>Inserts the specified elements at the specified index in the immutable list.</summary>
  3094. <param name="index">The index at which to insert the elements.</param>
  3095. <param name="items">The elements to insert.</param>
  3096. <returns>A new immutable list that includes the specified elements.</returns>
  3097. </member>
  3098. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#Remove(`0,System.Collections.Generic.IEqualityComparer{`0})">
  3099. <summary>Removes the element with the specified value from the list.</summary>
  3100. <param name="value">The value of the element to remove from the list.</param>
  3101. <param name="equalityComparer">The comparer to use to compare elements for equality.</param>
  3102. <returns>A new <see cref="T:System.Collections.Immutable.ImmutableList`1" /> with the specified element removed.</returns>
  3103. </member>
  3104. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#RemoveAll(System.Predicate{`0})">
  3105. <summary>Removes all the elements that match the conditions defined by the specified predicate.</summary>
  3106. <param name="match">The delegate that defines the conditions of the elements to remove.</param>
  3107. <returns>A new immutable list with the elements removed.</returns>
  3108. </member>
  3109. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#RemoveAt(System.Int32)">
  3110. <summary>Removes the element at the specified index of the immutable list.</summary>
  3111. <param name="index">The index of the element to remove.</param>
  3112. <returns>A new list with the element removed.</returns>
  3113. </member>
  3114. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#RemoveRange(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEqualityComparer{`0})">
  3115. <summary>Removes a range of elements from this immutable list that match the items specified.</summary>
  3116. <param name="items">The range of items to remove from the list, if found.</param>
  3117. <param name="equalityComparer">The equality comparer to use to compare elements.</param>
  3118. <exception cref="T:System.ArgumentNullException">
  3119. <paramref name="items" /> or <paramref name="equalityComparer" /> is <see langword="null" />.</exception>
  3120. <returns>An immutable list with the items removed.</returns>
  3121. </member>
  3122. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#RemoveRange(System.Int32,System.Int32)">
  3123. <summary>Removes the specified number of elements at the specified location from this list.</summary>
  3124. <param name="index">The starting index of the range of elements to remove.</param>
  3125. <param name="count">The number of elements to remove.</param>
  3126. <returns>A new list with the elements removed.</returns>
  3127. </member>
  3128. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#Replace(`0,`0,System.Collections.Generic.IEqualityComparer{`0})">
  3129. <summary>Replaces an element in the list with the specified element.</summary>
  3130. <param name="oldValue">The element to replace.</param>
  3131. <param name="newValue">The element to replace the old element with.</param>
  3132. <param name="equalityComparer">The equality comparer to use in the search.</param>
  3133. <exception cref="T:System.ArgumentException">Thrown when the old value does not exist in the list.</exception>
  3134. <returns>The new list.</returns>
  3135. </member>
  3136. <member name="M:System.Collections.Immutable.ImmutableList`1.System#Collections#Immutable#IImmutableList{T}#SetItem(System.Int32,`0)">
  3137. <summary>Replaces an element in the list at a given position with the specified element.</summary>
  3138. <param name="index">The position in the list of the element to replace.</param>
  3139. <param name="value">The element to replace the old element with.</param>
  3140. <returns>The new list.</returns>
  3141. </member>
  3142. <member name="M:System.Collections.Immutable.ImmutableList`1.ToBuilder">
  3143. <summary>Creates a list that has the same contents as this list and can be efficiently mutated across multiple operations using standard mutable interfaces.</summary>
  3144. <returns>The created list with the same contents as this list.</returns>
  3145. </member>
  3146. <member name="M:System.Collections.Immutable.ImmutableList`1.TrueForAll(System.Predicate{`0})">
  3147. <summary>Determines whether every element in the immutable list matches the conditions defined by the specified predicate.</summary>
  3148. <param name="match">The delegate that defines the conditions to check against the elements.</param>
  3149. <returns>
  3150. <see langword="true" /> if every element in the immutable list matches the conditions defined by the specified predicate; otherwise, <see langword="false" />. If the list has no elements, the return value is <see langword="true" />.</returns>
  3151. </member>
  3152. <member name="P:System.Collections.Immutable.ImmutableList`1.Count">
  3153. <summary>Gets the number of elements contained in the list.</summary>
  3154. <returns>The number of elements in the list.</returns>
  3155. </member>
  3156. <member name="P:System.Collections.Immutable.ImmutableList`1.IsEmpty">
  3157. <summary>Gets a value that indicates whether this list is empty.</summary>
  3158. <returns>
  3159. <see langword="true" /> if the list is empty; otherwise, <see langword="false" />.</returns>
  3160. </member>
  3161. <member name="P:System.Collections.Immutable.ImmutableList`1.Item(System.Int32)">
  3162. <summary>Gets the element at the specified index of the list.</summary>
  3163. <param name="index">The index of the element to retrieve.</param>
  3164. <exception cref="T:System.IndexOutOfRangeException">In a get operation, <paramref name="index" /> is negative or not less than <see cref="P:System.Collections.Immutable.ImmutableList`1.Count" />.</exception>
  3165. <returns>The element at the specified index.</returns>
  3166. </member>
  3167. <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#ICollection{T}#IsReadOnly">
  3168. <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
  3169. <returns>
  3170. <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
  3171. </member>
  3172. <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#Generic#IList{T}#Item(System.Int32)">
  3173. <summary>Gets or sets the value at the specified index.</summary>
  3174. <param name="index">The zero-based index of the item to access.</param>
  3175. <exception cref="T:System.IndexOutOfRangeException">Thrown from getter when <paramref name="index" /> is negative or not less than <see cref="P:System.Collections.Immutable.ImmutableList`1.Count" />.</exception>
  3176. <exception cref="T:System.NotSupportedException">Always thrown from the setter.</exception>
  3177. <returns>Value stored in the specified index.</returns>
  3178. </member>
  3179. <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#ICollection#IsSynchronized">
  3180. <summary>This type is immutable, so it is always thread-safe. See the <see cref="T:System.Collections.ICollection" /> interface.</summary>
  3181. <returns>Boolean value determining whether the collection is thread-safe.</returns>
  3182. </member>
  3183. <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#ICollection#SyncRoot">
  3184. <summary>See <see cref="T:System.Collections.ICollection" />.</summary>
  3185. <returns>Object used for synchronizing access to the collection.</returns>
  3186. </member>
  3187. <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#IsFixedSize">
  3188. <summary>Gets a value indicating whether the <see cref="T:System.Collections.IList" /> has a fixed size.</summary>
  3189. <returns>
  3190. <see langword="true" /> if the <see cref="T:System.Collections.IList" /> has a fixed size; otherwise, <see langword="false" />.</returns>
  3191. </member>
  3192. <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#IsReadOnly">
  3193. <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
  3194. <returns>
  3195. <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
  3196. </member>
  3197. <member name="P:System.Collections.Immutable.ImmutableList`1.System#Collections#IList#Item(System.Int32)">
  3198. <summary>Gets or sets the <see cref="T:System.Object" /> at the specified index.</summary>
  3199. <param name="index">The index.</param>
  3200. <exception cref="T:System.IndexOutOfRangeException">Thrown from getter when <paramref name="index" /> is negative or not less than <see cref="P:System.Collections.Immutable.ImmutableList`1.Count" />.</exception>
  3201. <exception cref="T:System.NotSupportedException">Always thrown from the setter.</exception>
  3202. <returns>The value at the specified index.</returns>
  3203. </member>
  3204. <member name="T:System.Collections.Immutable.ImmutableList`1.Builder">
  3205. <summary>Represents a list that mutates with little or no memory allocations and that can produce or build on immutable list instances very efficiently.
  3206. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  3207. <typeparam name="T" />
  3208. </member>
  3209. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Add(`0)">
  3210. <summary>Adds an item to the immutable list.</summary>
  3211. <param name="item">The item to add to the list.</param>
  3212. </member>
  3213. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.AddRange(System.Collections.Generic.IEnumerable{`0})">
  3214. <summary>Adds a series of elements to the end of this list.</summary>
  3215. <param name="items">The elements to add to the end of the list.</param>
  3216. </member>
  3217. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.BinarySearch(`0)">
  3218. <summary>Searches the entire <see cref="T:System.Collections.Immutable.ImmutableList`1.Builder" /> for an element using the default comparer and returns the zero-based index of the element.</summary>
  3219. <param name="item">The object to locate. The value can be null for reference types.</param>
  3220. <exception cref="T:System.InvalidOperationException">The default comparer <see cref="P:System.Collections.Generic.Comparer`1.Default" /> cannot find an implementation of the <see cref="T:System.IComparable`1" /> generic interface or the <see cref="T:System.IComparable" /> interface for type T.</exception>
  3221. <returns>The zero-based index of item in the <see cref="T:System.Collections.Immutable.ImmutableList`1.Builder" />, if item is found; otherwise, a negative number that is the bitwise complement of the index of the next element that is larger than <paramref name="item" />.</returns>
  3222. </member>
  3223. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.BinarySearch(`0,System.Collections.Generic.IComparer{`0})">
  3224. <summary>Searches the entire <see cref="T:System.Collections.Immutable.ImmutableList`1.Builder" /> for an element using the specified comparer and returns the zero-based index of the element.</summary>
  3225. <param name="item">The object to locate. This value can be null for reference types.</param>
  3226. <param name="comparer">The implementation to use when comparing elements, or <see langword="null" /> for the default comparer.</param>
  3227. <exception cref="T:System.InvalidOperationException">
  3228. <paramref name="comparer" /> is <see langword="null" />, and the default comparer <see cref="P:System.Collections.Generic.Comparer`1.Default" /> cannot find an implementation of the <see cref="T:System.IComparable`1" /> generic interface or the <see cref="T:System.IComparable" /> interface for type T.</exception>
  3229. <returns>The zero-based index of item in the <see cref="T:System.Collections.Immutable.ImmutableList`1.Builder" />, if item is found; otherwise, a negative number that is the bitwise complement of the index of the next element that is larger than <paramref name="item" />.</returns>
  3230. </member>
  3231. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.BinarySearch(System.Int32,System.Int32,`0,System.Collections.Generic.IComparer{`0})">
  3232. <summary>Searches the specified range of the <see cref="T:System.Collections.Immutable.ImmutableList`1.Builder" /> for an element using the specified comparer and returns the zero-based index of the element.</summary>
  3233. <param name="index">The zero-based starting index of the range to search.</param>
  3234. <param name="count">The length of the range to search.</param>
  3235. <param name="item">The object to locate. This value can be null for reference types.</param>
  3236. <param name="comparer">The implementation to use when comparing elements, or <see langword="null" /> for the default comparer.</param>
  3237. <exception cref="T:System.ArgumentOutOfRangeException">
  3238. <paramref name="index" /> is less than 0.
  3239. -or-
  3240. <paramref name="count" /> is less than 0.</exception>
  3241. <exception cref="T:System.ArgumentException">
  3242. <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in the <see cref="T:System.Collections.Generic.List`1" />.</exception>
  3243. <exception cref="T:System.InvalidOperationException">
  3244. <paramref name="comparer" /> is <see langword="null" />, and the default comparer <see cref="P:System.Collections.Generic.Comparer`1.Default" /> cannot find an implementation of the <see cref="T:System.IComparable`1" /> generic interface or the <see cref="T:System.IComparable" /> interface for type T.</exception>
  3245. <returns>The zero-based index of item in the <see cref="T:System.Collections.Immutable.ImmutableList`1.Builder" />, if item is found; otherwise, a negative number that is the bitwise complement of the index of the next element that is larger than <paramref name="item" />.</returns>
  3246. </member>
  3247. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Clear">
  3248. <summary>Removes all items from the immutable list.</summary>
  3249. </member>
  3250. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Contains(`0)">
  3251. <summary>Determines whether the immutable list contains a specific value.</summary>
  3252. <param name="item">The object to locate in the list.</param>
  3253. <returns>
  3254. <see langword="true" /> if item is found in the list; otherwise, <see langword="false" />.</returns>
  3255. </member>
  3256. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.ConvertAll``1(System.Func{`0,``0})">
  3257. <summary>Creates a new immutable list from the list represented by this builder by using the converter function.</summary>
  3258. <param name="converter">The converter function.</param>
  3259. <typeparam name="TOutput">The type of the output of the delegate converter function.</typeparam>
  3260. <returns>A new immutable list from the list represented by this builder.</returns>
  3261. </member>
  3262. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.CopyTo(`0[])">
  3263. <summary>Copies the entire immutable list to a compatible one-dimensional array, starting at the beginning of the target array.</summary>
  3264. <param name="array">The one-dimensional array that is the destination of the elements copied from the immutable list. The array must have zero-based indexing.</param>
  3265. </member>
  3266. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.CopyTo(`0[],System.Int32)">
  3267. <summary>Copies the entire immutable list to a compatible one-dimensional array, starting at the specified index of the target array.</summary>
  3268. <param name="array">The one-dimensional array that is the destination of the elements copied from the immutable list. The array must have zero-based indexing.</param>
  3269. <param name="arrayIndex">The zero-based index in array at which copying begins.</param>
  3270. </member>
  3271. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.CopyTo(System.Int32,`0[],System.Int32,System.Int32)">
  3272. <summary>Copies the entire immutable list to a compatible one-dimensional array, starting at the specified index of the target array.</summary>
  3273. <param name="index">The zero-based index in the source immutable list at which copying begins.</param>
  3274. <param name="array">The one-dimensional array that is the destination of the elements copied from the immutable list. The array must have zero-based indexing.</param>
  3275. <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  3276. <param name="count">The number of elements to copy.</param>
  3277. </member>
  3278. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Exists(System.Predicate{`0})">
  3279. <summary>Determines whether the immutable list contains elements that match the conditions defined by the specified predicate.</summary>
  3280. <param name="match">The delegate that defines the conditions of the elements to search for.</param>
  3281. <returns>
  3282. <see langword="true" /> if the immutable list contains one or more elements that match the conditions defined by the specified predicate; otherwise, <see langword="false" />.</returns>
  3283. </member>
  3284. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Find(System.Predicate{`0})">
  3285. <summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire immutable list.</summary>
  3286. <param name="match">The delegate that defines the conditions of the element to search for.</param>
  3287. <returns>The first element that matches the conditions defined by the specified predicate, if found; otherwise, the default value for type <paramref name="T" />.</returns>
  3288. </member>
  3289. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindAll(System.Predicate{`0})">
  3290. <summary>Retrieves all the elements that match the conditions defined by the specified predicate.</summary>
  3291. <param name="match">The delegate that defines the conditions of the elements to search for.</param>
  3292. <returns>An immutable list containing all the elements that match the conditions defined by the specified predicate, if found; otherwise, an empty immutable list.</returns>
  3293. </member>
  3294. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindIndex(System.Int32,System.Int32,System.Predicate{`0})">
  3295. <summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the immutable list that starts at the specified index and contains the specified number of elements.</summary>
  3296. <param name="startIndex">The zero-based starting index of the search.</param>
  3297. <param name="count">The number of elements in the section to search.</param>
  3298. <param name="match">The delegate that defines the conditions of the element to search for.</param>
  3299. <returns>The zero-based index of the first occurrence of an element that matches the conditions defined by <paramref name="match" />, if found; otherwise, -1.</returns>
  3300. </member>
  3301. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindIndex(System.Int32,System.Predicate{`0})">
  3302. <summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the immutable list that extends from the specified index to the last element.</summary>
  3303. <param name="startIndex">The zero-based starting index of the search.</param>
  3304. <param name="match">The delegate that defines the conditions of the element to search for.</param>
  3305. <returns>The zero-based index of the first occurrence of an element that matches the conditions defined by <paramref name="match" />, if found; otherwise, -1.</returns>
  3306. </member>
  3307. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindIndex(System.Predicate{`0})">
  3308. <summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the entire immutable list.</summary>
  3309. <param name="match">The delegate that defines the conditions of the element to search for.</param>
  3310. <returns>The zero-based index of the first occurrence of an element that matches the conditions defined by <paramref name="match" />, if found; otherwise, -1.</returns>
  3311. </member>
  3312. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindLast(System.Predicate{`0})">
  3313. <summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire immutable list.</summary>
  3314. <param name="match">The delegate that defines the conditions of the element to search for.</param>
  3315. <returns>The last element that matches the conditions defined by the specified predicate, found; otherwise, the default value for type <paramref name="T" />.</returns>
  3316. </member>
  3317. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindLastIndex(System.Int32,System.Int32,System.Predicate{`0})">
  3318. <summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the immutable list that contains the specified number of elements and ends at the specified index.</summary>
  3319. <param name="startIndex">The zero-based starting index of the backward search.</param>
  3320. <param name="count">The number of elements in the section to search.</param>
  3321. <param name="match">The delegate that defines the conditions of the element to search for.</param>
  3322. <returns>The zero-based index of the last occurrence of an element that matches the conditions defined by <paramref name="match" />, if found; otherwise, -1.</returns>
  3323. </member>
  3324. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindLastIndex(System.Int32,System.Predicate{`0})">
  3325. <summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the immutable list that extends from the first element to the specified index.</summary>
  3326. <param name="startIndex">The zero-based starting index of the backward search.</param>
  3327. <param name="match">The delegate that defines the conditions of the element to search for.</param>
  3328. <returns>The zero-based index of the last occurrence of an element that matches the conditions defined by <paramref name="match" />, if found; otherwise, -1.</returns>
  3329. </member>
  3330. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.FindLastIndex(System.Predicate{`0})">
  3331. <summary>Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire immutable list.</summary>
  3332. <param name="match">The delegate that defines the conditions of the element to search for.</param>
  3333. <returns>The zero-based index of the last occurrence of an element that matches the conditions defined by <paramref name="match" />, if found; otherwise, -1.</returns>
  3334. </member>
  3335. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.ForEach(System.Action{`0})">
  3336. <summary>Performs the specified action on each element of the list.</summary>
  3337. <param name="action">The delegate to perform on each element of the list.</param>
  3338. </member>
  3339. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.GetEnumerator">
  3340. <summary>Returns an enumerator that iterates through the collection.</summary>
  3341. <returns>An enumerator that can be used to iterate through the list.</returns>
  3342. </member>
  3343. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.GetRange(System.Int32,System.Int32)">
  3344. <summary>Creates a shallow copy of a range of elements in the source immutable list.</summary>
  3345. <param name="index">The zero-based index at which the range starts.</param>
  3346. <param name="count">The number of elements in the range.</param>
  3347. <returns>A shallow copy of a range of elements in the source immutable list.</returns>
  3348. </member>
  3349. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.IndexOf(`0)">
  3350. <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the immutable list.</summary>
  3351. <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
  3352. <returns>The zero-based index of the first occurrence of <paramref name="item" /> within the range of elements in the immutable list, if found; otherwise, -1.</returns>
  3353. </member>
  3354. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.IndexOf(`0,System.Int32)">
  3355. <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the immutable list that extends from the specified index to the last element.</summary>
  3356. <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
  3357. <param name="index">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
  3358. <returns>The zero-based index of the first occurrence of item within the range of elements in the immutable list that extends from <paramref name="index" /> to the last element, if found; otherwise, -1.</returns>
  3359. </member>
  3360. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.IndexOf(`0,System.Int32,System.Int32)">
  3361. <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the immutable list that starts at the specified index and contains the specified number of elements.</summary>
  3362. <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
  3363. <param name="index">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
  3364. <param name="count">The number of elements in the section to search.</param>
  3365. <returns>The zero-based index of the first occurrence of item within the range of elements in the immutable list that starts at <paramref name="index" /> and contains <paramref name="count" /> number of elements, if found; otherwise, -1.</returns>
  3366. </member>
  3367. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.IndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
  3368. <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the <see cref="T:System.Collections.Immutable.ImmutableList`1.Builder" /> that starts at the specified index and contains the specified number of elements.</summary>
  3369. <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
  3370. <param name="index">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
  3371. <param name="count">The number of elements to search.</param>
  3372. <param name="equalityComparer">The value comparer to use for comparing elements for equality.</param>
  3373. <returns>The zero-based index of the first occurrence of item within the range of elements in the immutable list that starts at <paramref name="index" /> and contains <paramref name="count" /> number of elements, if found; otherwise, -1</returns>
  3374. </member>
  3375. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Insert(System.Int32,`0)">
  3376. <summary>Inserts an item to the immutable list at the specified index.</summary>
  3377. <param name="index">The zero-based index at which <paramref name="item" /> should be inserted.</param>
  3378. <param name="item">The object to insert into the immutable list.</param>
  3379. </member>
  3380. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.InsertRange(System.Int32,System.Collections.Generic.IEnumerable{`0})">
  3381. <summary>Inserts the elements of a collection into the immutable list at the specified index.</summary>
  3382. <param name="index">The zero-based index at which the new elements should be inserted.</param>
  3383. <param name="items">The collection whose elements should be inserted into the immutable list. The collection itself cannot be <see langword="null" />, but it can contain elements that are null, if type <c>T</c> is a reference type.</param>
  3384. </member>
  3385. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.ItemRef(System.Int32)">
  3386. <summary>Gets a read-only reference to the value for a given <paramref name="index" /> into the list.</summary>
  3387. <param name="index">The index of the desired element.</param>
  3388. <returns>A read-only reference to the value at the specified <paramref name="index" />.</returns>
  3389. </member>
  3390. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.LastIndexOf(`0)">
  3391. <summary>Searches for the specified object and returns the zero-based index of the last occurrence within the entire immutable list.</summary>
  3392. <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
  3393. <returns>The zero-based index of the last occurrence of <paramref name="item" /> within the entire immutable list, if found; otherwise, -1.</returns>
  3394. </member>
  3395. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.LastIndexOf(`0,System.Int32)">
  3396. <summary>Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the immutable list that extends from the first element to the specified index.</summary>
  3397. <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
  3398. <param name="startIndex">The zero-based starting index of the backward search.</param>
  3399. <returns>The zero-based index of the last occurrence of <paramref name="item" /> within the range of elements in the immutable list that extends from the first element to <paramref name="index" />, if found; otherwise, -1.</returns>
  3400. </member>
  3401. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.LastIndexOf(`0,System.Int32,System.Int32)">
  3402. <summary>Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the immutable list that contains the specified number of elements and ends at the specified index.</summary>
  3403. <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
  3404. <param name="startIndex">The zero-based starting index of the backward search.</param>
  3405. <param name="count">The number of elements in the section to search.</param>
  3406. <returns>The zero-based index of the last occurrence of <paramref name="item" /> within the range of elements in the immutable list that contains <paramref name="count" /> number of elements and ends at <paramref name="index" />, if found; otherwise, -1.</returns>
  3407. </member>
  3408. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.LastIndexOf(`0,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">
  3409. <summary>Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the immutable list that contains the specified number of elements and ends at the specified index.</summary>
  3410. <param name="item">The object to locate in the immutable list. The value can be <see langword="null" /> for reference types.</param>
  3411. <param name="startIndex">The zero-based starting index of the search. 0 (zero) is valid in an empty list.</param>
  3412. <param name="count">The number of elements to search.</param>
  3413. <param name="equalityComparer">The value comparer to use for comparing elements for equality.</param>
  3414. <returns>The zero-based index of the first occurrence of item within the range of elements in the immutable list that starts at <paramref name="index" /> and contains <paramref name="count" /> number of elements, if found; otherwise, -1</returns>
  3415. </member>
  3416. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Remove(`0)">
  3417. <summary>Removes the first occurrence of a specific object from the immutable list.</summary>
  3418. <param name="item">The object to remove from the list.</param>
  3419. <returns>
  3420. <see langword="true" /> if item was successfully removed from the list; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if item is not found in the list.</returns>
  3421. </member>
  3422. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.RemoveAll(System.Predicate{`0})">
  3423. <summary>Removes all the elements that match the conditions defined by the specified predicate.</summary>
  3424. <param name="match">The delegate that defines the conditions of the elements to remove.</param>
  3425. <returns>The number of elements removed from the immutable list.</returns>
  3426. </member>
  3427. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.RemoveAt(System.Int32)">
  3428. <summary>Removes the item at the specified index of the immutable list.</summary>
  3429. <param name="index">The zero-based index of the item to remove from the list.</param>
  3430. </member>
  3431. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Reverse">
  3432. <summary>Reverses the order of the elements in the entire immutable list.</summary>
  3433. </member>
  3434. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Reverse(System.Int32,System.Int32)">
  3435. <summary>Reverses the order of the elements in the specified range of the immutable list.</summary>
  3436. <param name="index">The zero-based starting index of the range to reverse.</param>
  3437. <param name="count">The number of elements in the range to reverse.</param>
  3438. </member>
  3439. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Sort">
  3440. <summary>Sorts the elements in the entire immutable list by using the default comparer.</summary>
  3441. </member>
  3442. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Sort(System.Collections.Generic.IComparer{`0})">
  3443. <summary>Sorts the elements in the entire immutable list by using the specified comparer.</summary>
  3444. <param name="comparer">The implementation to use when comparing elements, or <see langword="null" /> to use the default comparer (<see cref="P:System.Collections.Generic.Comparer`1.Default" />).</param>
  3445. </member>
  3446. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Sort(System.Comparison{`0})">
  3447. <summary>Sorts the elements in the entire immutable list by using the specified comparison object.</summary>
  3448. <param name="comparison">The object to use when comparing elements.</param>
  3449. <exception cref="T:System.ArgumentNullException">
  3450. <paramref name="comparison" /> is <see langword="null" />.</exception>
  3451. </member>
  3452. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer{`0})">
  3453. <summary>Sorts the elements in a range of elements in the immutable list by using the specified comparer.</summary>
  3454. <param name="index">The zero-based starting index of the range to sort.</param>
  3455. <param name="count">The length of the range to sort.</param>
  3456. <param name="comparer">The implementation to use when comparing elements, or <see langword="null" /> to use the default comparer (<see cref="P:System.Collections.Generic.Comparer`1.Default" />).</param>
  3457. </member>
  3458. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
  3459. <summary>Returns an enumerator that iterates through the collection.</summary>
  3460. <returns>An enumerator that can be used to iterate through the collection.</returns>
  3461. </member>
  3462. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  3463. <summary>Copies the elements of the list to an array, starting at a particular array index.</summary>
  3464. <param name="array">The one-dimensional array that is the destination of the elements copied from the list. The array must have zero-based indexing.</param>
  3465. <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  3466. <exception cref="T:System.NotImplementedException" />
  3467. </member>
  3468. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IEnumerable#GetEnumerator">
  3469. <summary>Returns an enumerator that iterates through the collection.</summary>
  3470. <returns>An enumerator that can be used to iterate through the collection.</returns>
  3471. </member>
  3472. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#Add(System.Object)">
  3473. <summary>Adds an item to the list.</summary>
  3474. <param name="value">The object to add to the list.</param>
  3475. <exception cref="T:System.NotImplementedException" />
  3476. <returns>The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection.</returns>
  3477. </member>
  3478. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#Clear">
  3479. <summary>Removes all items from the list.</summary>
  3480. <exception cref="T:System.NotImplementedException" />
  3481. </member>
  3482. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#Contains(System.Object)">
  3483. <summary>Determines whether the list contains a specific value.</summary>
  3484. <param name="value">The object to locate in the list.</param>
  3485. <exception cref="T:System.NotImplementedException" />
  3486. <returns>
  3487. <see langword="true" /> if the <see cref="T:System.Object" /> is found in the list; otherwise, <see langword="false" />.</returns>
  3488. </member>
  3489. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#IndexOf(System.Object)">
  3490. <summary>Determines the index of a specific item in the list.</summary>
  3491. <param name="value">The object to locate in the list.</param>
  3492. <exception cref="T:System.NotImplementedException" />
  3493. <returns>The index of <paramref name="value" /> if found in the list; otherwise, -1.</returns>
  3494. </member>
  3495. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#Insert(System.Int32,System.Object)">
  3496. <summary>Inserts an item to the list at the specified index.</summary>
  3497. <param name="index">The zero-based index at which <paramref name="value" /> should be inserted.</param>
  3498. <param name="value">The object to insert into the list.</param>
  3499. <exception cref="T:System.NotImplementedException" />
  3500. </member>
  3501. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#Remove(System.Object)">
  3502. <summary>Removes the first occurrence of a specific object from the list.</summary>
  3503. <param name="value">The object to remove from the list.</param>
  3504. <exception cref="T:System.NotImplementedException" />
  3505. </member>
  3506. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.ToImmutable">
  3507. <summary>Creates an immutable list based on the contents of this instance.</summary>
  3508. <returns>An immutable list.</returns>
  3509. </member>
  3510. <member name="M:System.Collections.Immutable.ImmutableList`1.Builder.TrueForAll(System.Predicate{`0})">
  3511. <summary>Determines whether every element in the immutable list matches the conditions defined by the specified predicate.</summary>
  3512. <param name="match">The delegate that defines the conditions to check against the elements.</param>
  3513. <returns>
  3514. <see langword="true" /> if every element in the immutable list matches the conditions defined by the specified predicate; otherwise, <see langword="false" />. If the list has no elements, the return value is <see langword="true" />.</returns>
  3515. </member>
  3516. <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.Count">
  3517. <summary>Gets the number of elements in this immutable list.</summary>
  3518. <returns>The number of elements in this list.</returns>
  3519. </member>
  3520. <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.Item(System.Int32)">
  3521. <summary>Gets or sets the value for a given index in the list.</summary>
  3522. <param name="index">The index of the item to get or set.</param>
  3523. <returns>The value at the specified index.</returns>
  3524. </member>
  3525. <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#Generic#ICollection{T}#IsReadOnly">
  3526. <summary>Gets a value that indicates whether this instance is read-only.</summary>
  3527. <returns>Always <see langword="false" />.</returns>
  3528. </member>
  3529. <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#ICollection#IsSynchronized">
  3530. <summary>Gets a value that indicates whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe).</summary>
  3531. <returns>
  3532. <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe); otherwise, <see langword="false" />.</returns>
  3533. </member>
  3534. <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#ICollection#SyncRoot">
  3535. <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
  3536. <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
  3537. </member>
  3538. <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#IsFixedSize">
  3539. <summary>Gets a value that indicates whether the <see cref="T:System.Collections.IList" /> has a fixed size.</summary>
  3540. <returns>
  3541. <see langword="true" /> if the <see cref="T:System.Collections.IList" /> has a fixed size; otherwise, <see langword="false" />.</returns>
  3542. </member>
  3543. <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#IsReadOnly">
  3544. <summary>Gets a value that indicates whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
  3545. <returns>
  3546. <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
  3547. </member>
  3548. <member name="P:System.Collections.Immutable.ImmutableList`1.Builder.System#Collections#IList#Item(System.Int32)">
  3549. <summary>Gets or sets the <see cref="T:System.Object" /> at the specified index.</summary>
  3550. <param name="index">The index.</param>
  3551. <returns>The object at the specified index.</returns>
  3552. </member>
  3553. <member name="T:System.Collections.Immutable.ImmutableList`1.Enumerator">
  3554. <summary>Enumerates the contents of a binary tree.
  3555. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  3556. <typeparam name="T" />
  3557. </member>
  3558. <member name="M:System.Collections.Immutable.ImmutableList`1.Enumerator.Dispose">
  3559. <summary>Releases the resources used by the current instance of the <see cref="T:System.Collections.Immutable.ImmutableList`1.Enumerator" /> class.</summary>
  3560. </member>
  3561. <member name="M:System.Collections.Immutable.ImmutableList`1.Enumerator.MoveNext">
  3562. <summary>Advances enumeration to the next element of the immutable list.</summary>
  3563. <returns>
  3564. <see langword="true" /> if the enumerator was successfully advanced to the next element; <see langword="false" /> if the enumerator has passed the end of the list.</returns>
  3565. </member>
  3566. <member name="M:System.Collections.Immutable.ImmutableList`1.Enumerator.Reset">
  3567. <summary>Sets the enumerator to its initial position, which is before the first element in the immutable list.</summary>
  3568. </member>
  3569. <member name="P:System.Collections.Immutable.ImmutableList`1.Enumerator.Current">
  3570. <summary>Gets the element at the current position of the enumerator.</summary>
  3571. <returns>The element at the current position of the enumerator.</returns>
  3572. </member>
  3573. <member name="P:System.Collections.Immutable.ImmutableList`1.Enumerator.System#Collections#IEnumerator#Current">
  3574. <summary>The current element.</summary>
  3575. </member>
  3576. <member name="T:System.Collections.Immutable.ImmutableQueue">
  3577. <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableQueue`1" /> class.
  3578. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  3579. </member>
  3580. <member name="M:System.Collections.Immutable.ImmutableQueue.Create``1">
  3581. <summary>Creates an empty immutable queue.</summary>
  3582. <typeparam name="T">The type of items to be stored in the immutable queue.</typeparam>
  3583. <returns>An empty immutable queue.</returns>
  3584. </member>
  3585. <member name="M:System.Collections.Immutable.ImmutableQueue.Create``1(``0)">
  3586. <summary>Creates a new immutable queue that contains the specified item.</summary>
  3587. <param name="item">The item to prepopulate the queue with.</param>
  3588. <typeparam name="T">The type of items in the immutable queue.</typeparam>
  3589. <returns>A new immutable queue that contains the specified item.</returns>
  3590. </member>
  3591. <member name="M:System.Collections.Immutable.ImmutableQueue.Create``1(``0[])">
  3592. <summary>Creates a new immutable queue that contains the specified array of items.</summary>
  3593. <param name="items">An array that contains the items to prepopulate the queue with.</param>
  3594. <typeparam name="T">The type of items in the immutable queue.</typeparam>
  3595. <returns>A new immutable queue that contains the specified items.</returns>
  3596. </member>
  3597. <member name="M:System.Collections.Immutable.ImmutableQueue.CreateRange``1(System.Collections.Generic.IEnumerable{``0})">
  3598. <summary>Creates a new immutable queue that contains the specified items.</summary>
  3599. <param name="items">The items to add to the queue before immutability is applied.</param>
  3600. <typeparam name="T">The type of elements in the queue.</typeparam>
  3601. <returns>An immutable queue that contains the specified items.</returns>
  3602. </member>
  3603. <member name="M:System.Collections.Immutable.ImmutableQueue.Dequeue``1(System.Collections.Immutable.IImmutableQueue{``0},``0@)">
  3604. <summary>Removes the item at the beginning of the immutable queue, and returns the new queue.</summary>
  3605. <param name="queue">The queue to remove the item from.</param>
  3606. <param name="value">When this method returns, contains the item from the beginning of the queue.</param>
  3607. <typeparam name="T">The type of elements in the immutable queue.</typeparam>
  3608. <exception cref="T:System.InvalidOperationException">The stack is empty.</exception>
  3609. <returns>The new queue with the item removed.</returns>
  3610. </member>
  3611. <member name="T:System.Collections.Immutable.ImmutableQueue`1">
  3612. <summary>Represents an immutable queue.
  3613. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  3614. <typeparam name="T">The type of elements in the queue.</typeparam>
  3615. </member>
  3616. <member name="M:System.Collections.Immutable.ImmutableQueue`1.Clear">
  3617. <summary>Removes all objects from the immutable queue.</summary>
  3618. <returns>The empty immutable queue.</returns>
  3619. </member>
  3620. <member name="M:System.Collections.Immutable.ImmutableQueue`1.Dequeue">
  3621. <summary>Removes the element at the beginning of the immutable queue, and returns the new queue.</summary>
  3622. <exception cref="T:System.InvalidOperationException">The queue is empty.</exception>
  3623. <returns>The new immutable queue; never <see langword="null" />.</returns>
  3624. </member>
  3625. <member name="M:System.Collections.Immutable.ImmutableQueue`1.Dequeue(`0@)">
  3626. <summary>Removes the item at the beginning of the immutable queue, and returns the new queue.</summary>
  3627. <param name="value">When this method returns, contains the element from the beginning of the queue.</param>
  3628. <exception cref="T:System.InvalidOperationException">The queue is empty.</exception>
  3629. <returns>The new immutable queue with the beginning element removed.</returns>
  3630. </member>
  3631. <member name="M:System.Collections.Immutable.ImmutableQueue`1.Enqueue(`0)">
  3632. <summary>Adds an element to the end of the immutable queue, and returns the new queue.</summary>
  3633. <param name="value">The element to add.</param>
  3634. <returns>The new immutable queue.</returns>
  3635. </member>
  3636. <member name="M:System.Collections.Immutable.ImmutableQueue`1.GetEnumerator">
  3637. <summary>Returns an enumerator that iterates through the immutable queue.</summary>
  3638. <returns>An enumerator that can be used to iterate through the queue.</returns>
  3639. </member>
  3640. <member name="M:System.Collections.Immutable.ImmutableQueue`1.Peek">
  3641. <summary>Returns the element at the beginning of the immutable queue without removing it.</summary>
  3642. <exception cref="T:System.InvalidOperationException">The queue is empty.</exception>
  3643. <returns>The element at the beginning of the queue.</returns>
  3644. </member>
  3645. <member name="M:System.Collections.Immutable.ImmutableQueue`1.PeekRef">
  3646. <summary>Gets a read-only reference to the element at the front of the queue.</summary>
  3647. <exception cref="T:System.InvalidOperationException">The queue is empty.</exception>
  3648. <returns>Read-only reference to the element at the front of the queue.</returns>
  3649. </member>
  3650. <member name="M:System.Collections.Immutable.ImmutableQueue`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
  3651. <summary>Returns an enumerator that iterates through the collection.</summary>
  3652. <returns>An enumerator that can be used to iterate through the collection.</returns>
  3653. </member>
  3654. <member name="M:System.Collections.Immutable.ImmutableQueue`1.System#Collections#IEnumerable#GetEnumerator">
  3655. <summary>Returns an enumerator that iterates through a collection.</summary>
  3656. <returns>An <see cref="T:System.Collections.IEnumerator" /> object that can be used to iterate through the collection.</returns>
  3657. </member>
  3658. <member name="M:System.Collections.Immutable.ImmutableQueue`1.System#Collections#Immutable#IImmutableQueue{T}#Clear">
  3659. <summary>Removes all elements from the immutable queue.</summary>
  3660. <returns>The empty immutable queue.</returns>
  3661. </member>
  3662. <member name="M:System.Collections.Immutable.ImmutableQueue`1.System#Collections#Immutable#IImmutableQueue{T}#Dequeue">
  3663. <summary>Removes the element at the beginning of the immutable queue, and returns the new queue.</summary>
  3664. <exception cref="T:System.InvalidOperationException">Thrown when the queue is empty.</exception>
  3665. <returns>The new immutable queue; never <see langword="null" />.</returns>
  3666. </member>
  3667. <member name="M:System.Collections.Immutable.ImmutableQueue`1.System#Collections#Immutable#IImmutableQueue{T}#Enqueue(`0)">
  3668. <summary>Adds an element to the end of the immutable queue, and returns the new queue.</summary>
  3669. <param name="value">The element to add.</param>
  3670. <returns>The new immutable queue.</returns>
  3671. </member>
  3672. <member name="P:System.Collections.Immutable.ImmutableQueue`1.Empty">
  3673. <summary>Gets an empty immutable queue.</summary>
  3674. <returns>An empty immutable queue.</returns>
  3675. </member>
  3676. <member name="P:System.Collections.Immutable.ImmutableQueue`1.IsEmpty">
  3677. <summary>Gets a value that indicates whether this immutable queue is empty.
  3678. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  3679. <returns>
  3680. <see langword="true" /> if this queue is empty; otherwise, <see langword="false" />.</returns>
  3681. </member>
  3682. <member name="T:System.Collections.Immutable.ImmutableQueue`1.Enumerator">
  3683. <summary>Enumerates the contents of an immutable queue without allocating any memory.
  3684. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  3685. <typeparam name="T" />
  3686. </member>
  3687. <member name="M:System.Collections.Immutable.ImmutableQueue`1.Enumerator.MoveNext">
  3688. <summary>Advances the enumerator to the next element of the immutable queue.</summary>
  3689. <returns>
  3690. <see langword="true" /> if the enumerator was successfully advanced to the next element; <see langword="false" /> if the enumerator has passed the end of the queue.</returns>
  3691. </member>
  3692. <member name="P:System.Collections.Immutable.ImmutableQueue`1.Enumerator.Current">
  3693. <summary>Gets the element at the current position of the enumerator.</summary>
  3694. <returns>The element at the current position of the enumerator.</returns>
  3695. </member>
  3696. <member name="T:System.Collections.Immutable.ImmutableSortedDictionary">
  3697. <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableSortedDictionary`2" /> class.
  3698. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  3699. </member>
  3700. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.Create``2">
  3701. <summary>Creates an empty immutable sorted dictionary.</summary>
  3702. <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
  3703. <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
  3704. <returns>An empty immutable sorted dictionary.</returns>
  3705. </member>
  3706. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.Create``2(System.Collections.Generic.IComparer{``0})">
  3707. <summary>Creates an empty immutable sorted dictionary that uses the specified key comparer.</summary>
  3708. <param name="keyComparer">The implementation to use to determine the equality of keys in the dictionary.</param>
  3709. <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
  3710. <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
  3711. <returns>An empty immutable sorted dictionary.</returns>
  3712. </member>
  3713. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.Create``2(System.Collections.Generic.IComparer{``0},System.Collections.Generic.IEqualityComparer{``1})">
  3714. <summary>Creates an empty immutable sorted dictionary that uses the specified key and value comparers.</summary>
  3715. <param name="keyComparer">The implementation to use to determine the equality of keys in the dictionary.</param>
  3716. <param name="valueComparer">The implementation to use to determine the equality of values in the dictionary.</param>
  3717. <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
  3718. <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
  3719. <returns>An empty immutable sorted dictionary.</returns>
  3720. </member>
  3721. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.CreateBuilder``2">
  3722. <summary>Creates a new immutable sorted dictionary builder.</summary>
  3723. <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
  3724. <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
  3725. <returns>The immutable collection builder.</returns>
  3726. </member>
  3727. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.CreateBuilder``2(System.Collections.Generic.IComparer{``0})">
  3728. <summary>Creates a new immutable sorted dictionary builder.</summary>
  3729. <param name="keyComparer">The key comparer.</param>
  3730. <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
  3731. <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
  3732. <returns>The immutable collection builder.</returns>
  3733. </member>
  3734. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.CreateBuilder``2(System.Collections.Generic.IComparer{``0},System.Collections.Generic.IEqualityComparer{``1})">
  3735. <summary>Creates a new immutable sorted dictionary builder.</summary>
  3736. <param name="keyComparer">The key comparer.</param>
  3737. <param name="valueComparer">The value comparer.</param>
  3738. <typeparam name="TKey">The type of keys stored by the dictionary.</typeparam>
  3739. <typeparam name="TValue">The type of values stored by the dictionary.</typeparam>
  3740. <returns>The immutable collection builder.</returns>
  3741. </member>
  3742. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.CreateRange``2(System.Collections.Generic.IComparer{``0},System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
  3743. <summary>Creates a new immutable sorted dictionary from the specified range of items with the specified key comparer.</summary>
  3744. <param name="keyComparer">The comparer implementation to use to evaluate keys for equality and sorting.</param>
  3745. <param name="items">The items to add to the sorted dictionary.</param>
  3746. <typeparam name="TKey">The type of keys stored in the dictionary.</typeparam>
  3747. <typeparam name="TValue">The type of values stored in the dictionary.</typeparam>
  3748. <returns>The new immutable sorted dictionary that contains the specified items and uses the specified key comparer.</returns>
  3749. </member>
  3750. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.CreateRange``2(System.Collections.Generic.IComparer{``0},System.Collections.Generic.IEqualityComparer{``1},System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
  3751. <summary>Creates a new immutable sorted dictionary from the specified range of items with the specified key and value comparers.</summary>
  3752. <param name="keyComparer">The comparer implementation to use to compare keys for equality and sorting.</param>
  3753. <param name="valueComparer">The comparer implementation to use to compare values for equality.</param>
  3754. <param name="items">The items to add to the sorted dictionary before it's immutable.</param>
  3755. <typeparam name="TKey">The type of keys stored in the dictionary.</typeparam>
  3756. <typeparam name="TValue">The type of values stored in the dictionary.</typeparam>
  3757. <returns>An immutable sorted dictionary that contains the specified items and uses the specified comparers.</returns>
  3758. </member>
  3759. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.CreateRange``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
  3760. <summary>Creates an immutable sorted dictionary that contains the specified items and uses the default comparer.</summary>
  3761. <param name="items">The items to add to the sorted dictionary before it's immutable.</param>
  3762. <typeparam name="TKey">The type of keys stored in the dictionary.</typeparam>
  3763. <typeparam name="TValue">The type of values stored in the dictionary.</typeparam>
  3764. <returns>An immutable sorted dictionary that contains the specified items.</returns>
  3765. </member>
  3766. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.ToImmutableSortedDictionary``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}})">
  3767. <summary>Enumerates a sequence of key/value pairs and produces an immutable sorted dictionary of its contents.</summary>
  3768. <param name="source">The sequence of key/value pairs to enumerate.</param>
  3769. <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
  3770. <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
  3771. <returns>An immutable sorted dictionary that contains the key/value pairs in the specified sequence.</returns>
  3772. </member>
  3773. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.ToImmutableSortedDictionary``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}},System.Collections.Generic.IComparer{``0})">
  3774. <summary>Enumerates a sequence of key/value pairs and produces an immutable dictionary of its contents by using the specified key comparer.</summary>
  3775. <param name="source">The sequence of key/value pairs to enumerate.</param>
  3776. <param name="keyComparer">The key comparer to use when building the immutable dictionary.</param>
  3777. <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
  3778. <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
  3779. <returns>An immutable sorted dictionary that contains the key/value pairs in the specified sequence.</returns>
  3780. </member>
  3781. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.ToImmutableSortedDictionary``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}},System.Collections.Generic.IComparer{``0},System.Collections.Generic.IEqualityComparer{``1})">
  3782. <summary>Enumerates a sequence of key/value pairs and produces an immutable sorted dictionary of its contents by using the specified key and value comparers.</summary>
  3783. <param name="source">The sequence of key/value pairs to enumerate.</param>
  3784. <param name="keyComparer">The key comparer to use when building the immutable dictionary.</param>
  3785. <param name="valueComparer">The value comparer to use for the immutable dictionary.</param>
  3786. <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
  3787. <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
  3788. <returns>An immutable sorted dictionary that contains the key/value pairs in the specified sequence.</returns>
  3789. </member>
  3790. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.ToImmutableSortedDictionary``2(System.Collections.Immutable.ImmutableSortedDictionary{``0,``1}.Builder)">
  3791. <summary>Creates an immutable sorted dictionary from the current contents of the builder's dictionary.</summary>
  3792. <param name="builder">The builder to create the immutable sorted dictionary from.</param>
  3793. <typeparam name="TKey">The type of the keys in the dictionary.</typeparam>
  3794. <typeparam name="TValue">The type of the values in the dictionary.</typeparam>
  3795. <returns>An immutable sorted dictionary that contains the current contents in the builder's dictionary.</returns>
  3796. </member>
  3797. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.ToImmutableSortedDictionary``3(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Func{``0,``2})">
  3798. <summary>Enumerates and transforms a sequence, and produces an immutable sorted dictionary of its contents.</summary>
  3799. <param name="source">The sequence to enumerate to generate the dictionary.</param>
  3800. <param name="keySelector">The function that will produce the key for the dictionary from each sequence element.</param>
  3801. <param name="elementSelector">The function that will produce the value for the dictionary from each sequence element.</param>
  3802. <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
  3803. <typeparam name="TKey">The type of the keys in the resulting dictionary.</typeparam>
  3804. <typeparam name="TValue">The type of the values in the resulting dictionary.</typeparam>
  3805. <returns>An immutable sorted dictionary that contains the items in the specified sequence.</returns>
  3806. </member>
  3807. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.ToImmutableSortedDictionary``3(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Func{``0,``2},System.Collections.Generic.IComparer{``1})">
  3808. <summary>Enumerates and transforms a sequence, and produces an immutable sorted dictionary of its contents by using the specified key comparer.</summary>
  3809. <param name="source">The sequence to enumerate to generate the dictionary.</param>
  3810. <param name="keySelector">The function that will produce the key for the dictionary from each sequence element.</param>
  3811. <param name="elementSelector">The function that will produce the value for the dictionary from each sequence element.</param>
  3812. <param name="keyComparer">The key comparer to use for the dictionary.</param>
  3813. <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
  3814. <typeparam name="TKey">The type of the keys in the resulting dictionary.</typeparam>
  3815. <typeparam name="TValue">The type of the values in the resulting dictionary.</typeparam>
  3816. <returns>An immutable dictionary that contains the items in the specified sequence.</returns>
  3817. </member>
  3818. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary.ToImmutableSortedDictionary``3(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Func{``0,``2},System.Collections.Generic.IComparer{``1},System.Collections.Generic.IEqualityComparer{``2})">
  3819. <summary>Enumerates and transforms a sequence, and produces an immutable sorted dictionary of its contents by using the specified key and value comparers.</summary>
  3820. <param name="source">The sequence to enumerate to generate the dictionary.</param>
  3821. <param name="keySelector">The function that will produce the key for the dictionary from each sequence element.</param>
  3822. <param name="elementSelector">The function that will produce the value for the dictionary from each sequence element.</param>
  3823. <param name="keyComparer">The key comparer to use for the dictionary.</param>
  3824. <param name="valueComparer">The value comparer to use for the dictionary.</param>
  3825. <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
  3826. <typeparam name="TKey">The type of the keys in the resulting dictionary.</typeparam>
  3827. <typeparam name="TValue">The type of the values in the resulting dictionary.</typeparam>
  3828. <returns>An immutable sorted dictionary that contains the items in the specified sequence.</returns>
  3829. </member>
  3830. <member name="T:System.Collections.Immutable.ImmutableSortedDictionary`2">
  3831. <summary>Represents an immutable sorted dictionary.
  3832. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  3833. <typeparam name="TKey">The type of the key contained in the dictionary.</typeparam>
  3834. <typeparam name="TValue">The type of the value contained in the dictionary.</typeparam>
  3835. </member>
  3836. <member name="F:System.Collections.Immutable.ImmutableSortedDictionary`2.Empty">
  3837. <summary>Gets an empty immutable sorted dictionary.</summary>
  3838. </member>
  3839. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Add(`0,`1)">
  3840. <summary>Adds an element with the specified key and value to the immutable sorted dictionary.</summary>
  3841. <param name="key">The key of the entry to add.</param>
  3842. <param name="value">The value of entry to add.</param>
  3843. <exception cref="T:System.ArgumentException">The given key already exists in the dictionary but has a different value.</exception>
  3844. <returns>A new immutable sorted dictionary that contains the additional key/value pair.</returns>
  3845. </member>
  3846. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.AddRange(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
  3847. <summary>Adds the specific key/value pairs to the immutable sorted dictionary.</summary>
  3848. <param name="items">The key/value pairs to add.</param>
  3849. <exception cref="T:System.ArgumentException">One of the given keys already exists in the dictionary but has a different value.</exception>
  3850. <returns>A new immutable dictionary that contains the additional key/value pairs.</returns>
  3851. </member>
  3852. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Clear">
  3853. <summary>Retrieves an empty immutable sorted dictionary that has the same ordering and key/value comparison rules as this dictionary instance.</summary>
  3854. <returns>An empty dictionary with equivalent ordering and key/value comparison rules.</returns>
  3855. </member>
  3856. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Contains(System.Collections.Generic.KeyValuePair{`0,`1})">
  3857. <summary>Determines whether this immutable sorted dictionary contains the specified key/value pair.</summary>
  3858. <param name="pair">The key/value pair to locate.</param>
  3859. <returns>
  3860. <see langword="true" /> if the specified key/value pair is found in the dictionary; otherwise, <see langword="false" />.</returns>
  3861. </member>
  3862. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.ContainsKey(`0)">
  3863. <summary>Determines whether this immutable sorted map contains the specified key.</summary>
  3864. <param name="key">The key to locate.</param>
  3865. <returns>
  3866. <see langword="true" /> if the immutable dictionary contains the specified key; otherwise, <see langword="false" />.</returns>
  3867. </member>
  3868. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.ContainsValue(`1)">
  3869. <summary>Determines whether the immutable sorted dictionary contains an element with the specified value.</summary>
  3870. <param name="value">The value to locate. The value can be <see langword="null" /> for reference types.</param>
  3871. <returns>
  3872. <see langword="true" /> if the dictionary contains an element with the specified value; otherwise, <see langword="false" />.</returns>
  3873. </member>
  3874. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.GetEnumerator">
  3875. <summary>Returns an enumerator that iterates through the immutable sorted dictionary.</summary>
  3876. <returns>An enumerator that can be used to iterate through the dictionary.</returns>
  3877. </member>
  3878. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Remove(`0)">
  3879. <summary>Removes the element with the specified value from the immutable sorted dictionary.</summary>
  3880. <param name="value">The value of the element to remove.</param>
  3881. <returns>A new immutable dictionary with the specified element removed; or this instance if the specified value cannot be found in the dictionary.</returns>
  3882. </member>
  3883. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
  3884. <summary>Removes the elements with the specified keys from the immutable sorted dictionary.</summary>
  3885. <param name="keys">The keys of the elements to remove.</param>
  3886. <returns>A new immutable dictionary with the specified keys removed; or this instance if the specified keys cannot be found in the dictionary.</returns>
  3887. </member>
  3888. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.SetItem(`0,`1)">
  3889. <summary>Sets the specified key and value in the immutable sorted dictionary, possibly overwriting an existing value for the given key.</summary>
  3890. <param name="key">The key of the entry to add.</param>
  3891. <param name="value">The key value to set.</param>
  3892. <returns>A new immutable sorted dictionary that contains the specified key/value pair.</returns>
  3893. </member>
  3894. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.SetItems(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
  3895. <summary>Sets the specified key/value pairs in the immutable sorted dictionary, possibly overwriting existing values for the keys.</summary>
  3896. <param name="items">The key/value pairs to set in the dictionary. If any of the keys already exist in the dictionary, this method will overwrite their previous values.</param>
  3897. <returns>An immutable dictionary that contains the specified key/value pairs.</returns>
  3898. </member>
  3899. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#Add(System.Collections.Generic.KeyValuePair{`0,`1})">
  3900. <summary>Adds an item to the <see cref="T:System.Collections.Generic.ICollection`1" />.</summary>
  3901. <param name="item">The object to add to the <see cref="T:System.Collections.Generic.ICollection`1" />.</param>
  3902. </member>
  3903. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#Clear">
  3904. <summary>Removes all items from the <see cref="T:System.Collections.Generic.ICollection`1" />.</summary>
  3905. </member>
  3906. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#CopyTo(System.Collections.Generic.KeyValuePair{`0,`1}[],System.Int32)">
  3907. <summary>Copies the elements of the <see cref="T:System.Collections.Generic.ICollection`1" /> to an <see cref="T:System.Array" />, starting at a particular <see cref="T:System.Array" /> index.</summary>
  3908. <param name="array">The one-dimensional <see cref="T:System.Array" /> that is the destination of the elements copied from <see cref="T:System.Collections.Generic.ICollection`1" />. The <see cref="T:System.Array" /> must have zero-based indexing.</param>
  3909. <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  3910. </member>
  3911. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#Remove(System.Collections.Generic.KeyValuePair{`0,`1})">
  3912. <summary>Removes the first occurrence of a specific object from the <see cref="T:System.Collections.Generic.ICollection`1" />.</summary>
  3913. <param name="item">The object to remove from the <see cref="T:System.Collections.Generic.ICollection`1" />.</param>
  3914. <returns>
  3915. <see langword="true" /> if <paramref name="item" /> was successfully removed from the <see cref="T:System.Collections.Generic.ICollection`1" />; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="item" /> is not found in the original <see cref="T:System.Collections.Generic.ICollection`1" />.</returns>
  3916. </member>
  3917. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Add(`0,`1)">
  3918. <summary>Adds an element with the provided key and value to the generic dictionary.</summary>
  3919. <param name="key">The object to use as the key of the element to add.</param>
  3920. <param name="value">The object to use as the value of the element to add.</param>
  3921. <exception cref="T:System.ArgumentNullException">
  3922. <paramref name="key" /> is <see langword="null" />.</exception>
  3923. <exception cref="T:System.ArgumentException">An element with the same key already exists in the <see cref="T:System.Collections.Generic.IDictionary`2" />.</exception>
  3924. <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.Generic.IDictionary`2" /> is read-only.</exception>
  3925. </member>
  3926. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Remove(`0)">
  3927. <summary>Removes the element with the specified key from the generic dictionary.</summary>
  3928. <param name="key">The key of the element to remove.</param>
  3929. <exception cref="T:System.ArgumentNullException">
  3930. <paramref name="key" /> is <see langword="null" />.</exception>
  3931. <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.Generic.IDictionary`2" /> is read-only.</exception>
  3932. <returns>
  3933. <see langword="true" /> if the element is successfully removed; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="key" /> was not found in the original generic dictionary.</returns>
  3934. </member>
  3935. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#IEnumerable{System#Collections#Generic#KeyValuePair{TKey@TValue}}#GetEnumerator">
  3936. <summary>Returns an enumerator that iterates through the collection.</summary>
  3937. <returns>An enumerator that can be used to iterate through the collection.</returns>
  3938. </member>
  3939. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  3940. <summary>Copies the elements of the dictionary to an array, starting at a particular array index.</summary>
  3941. <param name="array">The one-dimensional array that is the destination of the elements copied from the dictionary. The array must have zero-based indexing.</param>
  3942. <param name="index">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  3943. </member>
  3944. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Add(System.Object,System.Object)">
  3945. <summary>Adds an element with the provided key and value to the dictionary object.</summary>
  3946. <param name="key">The object to use as the key of the element to add.</param>
  3947. <param name="value">The object to use as the value of the element to add.</param>
  3948. </member>
  3949. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Clear">
  3950. <summary>Clears this instance.</summary>
  3951. <exception cref="T:System.NotSupportedException">The dictionary object is read-only.</exception>
  3952. </member>
  3953. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Contains(System.Object)">
  3954. <summary>Determines whether the immutable dictionary object contains an element with the specified key.</summary>
  3955. <param name="key">The key to locate in the dictionary object.</param>
  3956. <returns>
  3957. <see langword="true" /> if the dictionary contains an element with the key; otherwise, <see langword="false" />.</returns>
  3958. </member>
  3959. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#GetEnumerator">
  3960. <summary>Returns an <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the immutable dictionary object.</summary>
  3961. <returns>An enumerator object for the dictionary object.</returns>
  3962. </member>
  3963. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Remove(System.Object)">
  3964. <summary>Removes the element with the specified key from the immutable dictionary object.</summary>
  3965. <param name="key">The key of the element to remove.</param>
  3966. </member>
  3967. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IEnumerable#GetEnumerator">
  3968. <summary>Returns an enumerator that iterates through a collection.</summary>
  3969. <returns>An enumerator object that can be used to iterate through the collection.</returns>
  3970. </member>
  3971. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#Add(`0,`1)">
  3972. <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
  3973. <param name="key">Key of the entry to be added.</param>
  3974. <param name="value">Value of the entry to be added.</param>
  3975. <returns>The <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> instance.</returns>
  3976. </member>
  3977. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#AddRange(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
  3978. <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
  3979. <param name="pairs">Sequence of key/value pairs to be added.</param>
  3980. <returns>The <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> instance.</returns>
  3981. </member>
  3982. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#Clear">
  3983. <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
  3984. <returns>The <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> instance.</returns>
  3985. </member>
  3986. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#Remove(`0)">
  3987. <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
  3988. <param name="key">Key of entry to be removed.</param>
  3989. <returns>The <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> instance.</returns>
  3990. </member>
  3991. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#RemoveRange(System.Collections.Generic.IEnumerable{`0})">
  3992. <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
  3993. <param name="keys">Sequence of keys to be removed.</param>
  3994. <returns>The <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> instance.</returns>
  3995. </member>
  3996. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#SetItem(`0,`1)">
  3997. <summary>See the <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> interface.</summary>
  3998. <param name="key">Key of entry to be updated.</param>
  3999. <param name="value">Value of entry to be updated.</param>
  4000. <returns>The <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> instance.</returns>
  4001. </member>
  4002. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Immutable#IImmutableDictionary{TKey@TValue}#SetItems(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
  4003. <summary>Applies a given set of key-value pairs to an immutable dictionary, replacing any conflicting keys in the resulting dictionary.</summary>
  4004. <param name="items">A set of key-value pairs to set on the map.</param>
  4005. <returns>The <see cref="T:System.Collections.Immutable.IImmutableDictionary`2" /> instance.</returns>
  4006. </member>
  4007. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.ToBuilder">
  4008. <summary>Creates an immutable sorted dictionary with the same contents as this dictionary that can be efficiently mutated across multiple operations by using standard mutable interfaces.</summary>
  4009. <returns>A collection with the same contents as this dictionary.</returns>
  4010. </member>
  4011. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.TryGetKey(`0,`0@)">
  4012. <summary>Determines whether this dictionary contains a specified key.</summary>
  4013. <param name="equalKey">The key to search for.</param>
  4014. <param name="actualKey">The matching key located in the dictionary if found, or <c>equalkey</c> if no match is found.</param>
  4015. <returns>
  4016. <see langword="true" /> if a match for <paramref name="equalKey" /> is found; otherwise, <see langword="false" />.</returns>
  4017. </member>
  4018. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.TryGetValue(`0,`1@)">
  4019. <summary>Gets the value associated with the specified key.</summary>
  4020. <param name="key">The key whose value will be retrieved.</param>
  4021. <param name="value">When this method returns, contains the value associated with the specified key, if the key is found; otherwise, contains the default value for the type of the <paramref name="value" /> parameter.</param>
  4022. <returns>
  4023. <see langword="true" /> if the dictionary contains an element with the specified key; otherwise, <see langword="false" />.</returns>
  4024. </member>
  4025. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.ValueRef(`0)">
  4026. <summary>Returns a read-only reference to the value associated with the provided <paramref name="key" />.</summary>
  4027. <param name="key">Key of the entry to be looked up.</param>
  4028. <exception cref="T:System.Collections.Generic.KeyNotFoundException">The <paramref name="key" /> is not present.</exception>
  4029. <returns>A read-only reference to the value associated with the provided <paramref name="key" />.</returns>
  4030. </member>
  4031. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.WithComparers(System.Collections.Generic.IComparer{`0})">
  4032. <summary>Gets an instance of the immutable sorted dictionary that uses the specified key comparer.</summary>
  4033. <param name="keyComparer">The key comparer to use.</param>
  4034. <returns>An instance of the immutable dictionary that uses the given comparer.</returns>
  4035. </member>
  4036. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.WithComparers(System.Collections.Generic.IComparer{`0},System.Collections.Generic.IEqualityComparer{`1})">
  4037. <summary>Gets an instance of the immutable sorted dictionary that uses the specified key and value comparers.</summary>
  4038. <param name="keyComparer">The key comparer to use.</param>
  4039. <param name="valueComparer">The value comparer to use.</param>
  4040. <returns>An instance of the immutable dictionary that uses the given comparers.</returns>
  4041. </member>
  4042. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Count">
  4043. <summary>Gets the number of key/value pairs in the immutable sorted dictionary.</summary>
  4044. <returns>The number of key/value pairs in the dictionary.</returns>
  4045. </member>
  4046. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.IsEmpty">
  4047. <summary>Gets a value that indicates whether this instance of the immutable sorted dictionary is empty.</summary>
  4048. <returns>
  4049. <see langword="true" /> if this instance is empty; otherwise, <see langword="false" />.</returns>
  4050. </member>
  4051. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Item(`0)">
  4052. <summary>Gets the <paramref name="TValue" /> associated with the specified key.</summary>
  4053. <param name="key">The key to retrieve the value for.</param>
  4054. <returns>The value associated with the specified key. If no results are found, the operation throws an exception.</returns>
  4055. </member>
  4056. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.KeyComparer">
  4057. <summary>Gets the key comparer for the immutable sorted dictionary.</summary>
  4058. <returns>The key comparer for the dictionary.</returns>
  4059. </member>
  4060. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Keys">
  4061. <summary>Gets the keys in the immutable sorted dictionary.</summary>
  4062. <returns>The keys in the immutable dictionary.</returns>
  4063. </member>
  4064. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#IsReadOnly">
  4065. <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
  4066. <returns>
  4067. <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
  4068. </member>
  4069. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Item(`0)">
  4070. <summary>Gets or sets the <typeparamref name="TValue" /> with the specified key.</summary>
  4071. <param name="key">The object to use as the key of the element to access.</param>
  4072. <returns>An object of type <typeparamref name="TValue" /> associated with the <paramref name="key" />.</returns>
  4073. </member>
  4074. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Keys">
  4075. <summary>Gets the keys.</summary>
  4076. <returns>A collection containing the keys.</returns>
  4077. </member>
  4078. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Values">
  4079. <summary>Gets the values.</summary>
  4080. <returns>A collection containing the values.</returns>
  4081. </member>
  4082. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#ICollection#IsSynchronized">
  4083. <summary>Gets a value indicating whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe).</summary>
  4084. <returns>
  4085. <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread-safe); otherwise, <see langword="false" />.</returns>
  4086. </member>
  4087. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#ICollection#SyncRoot">
  4088. <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
  4089. <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
  4090. </member>
  4091. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#IsFixedSize">
  4092. <summary>Gets a value indicating whether the <see cref="T:System.Collections.IDictionary" /> object has a fixed size.</summary>
  4093. <returns>
  4094. <see langword="true" /> if the <see cref="T:System.Collections.IDictionary" /> object has a fixed size; otherwise, <see langword="false" />.</returns>
  4095. </member>
  4096. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#IsReadOnly">
  4097. <summary>Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
  4098. <returns>
  4099. <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
  4100. </member>
  4101. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Item(System.Object)">
  4102. <summary>Gets or sets the element with the specified key.</summary>
  4103. <param name="key">The key of the element to be accessed.</param>
  4104. <returns>Value stored under the specified key.</returns>
  4105. </member>
  4106. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Keys">
  4107. <summary>Gets an <see cref="T:System.Collections.Generic.ICollection`1" /> containing the keys of the <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
  4108. <returns>An <see cref="T:System.Collections.Generic.ICollection`1" /> containing the keys of the object that implements <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns>
  4109. </member>
  4110. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.System#Collections#IDictionary#Values">
  4111. <summary>Gets an <see cref="T:System.Collections.Generic.ICollection`1" /> containing the values in the <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
  4112. <returns>An <see cref="T:System.Collections.Generic.ICollection`1" /> containing the values in the object that implements <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns>
  4113. </member>
  4114. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.ValueComparer">
  4115. <summary>Gets the value comparer used to determine whether values are equal.</summary>
  4116. <returns>The value comparer used to determine whether values are equal.</returns>
  4117. </member>
  4118. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Values">
  4119. <summary>Gets the values in the immutable sorted dictionary.</summary>
  4120. <returns>The values in the dictionary.</returns>
  4121. </member>
  4122. <member name="T:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder">
  4123. <summary>Represents a sorted dictionary that mutates with little or no memory allocations and that can produce or build on immutable sorted dictionary instances very efficiently.
  4124. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  4125. <typeparam name="TKey" />
  4126. <typeparam name="TValue" />
  4127. </member>
  4128. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Add(`0,`1)">
  4129. <summary>Adds an element that has the specified key and value to the immutable sorted dictionary.</summary>
  4130. <param name="key">The key of the element to add.</param>
  4131. <param name="value">The value of the element to add.</param>
  4132. </member>
  4133. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Add(System.Collections.Generic.KeyValuePair{`0,`1})">
  4134. <summary>Adds the specified item to the immutable sorted dictionary.</summary>
  4135. <param name="item">The object to add to the dictionary.</param>
  4136. </member>
  4137. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.AddRange(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
  4138. <summary>Adds a sequence of values to the immutable sorted dictionary.</summary>
  4139. <param name="items">The items to add to the dictionary.</param>
  4140. </member>
  4141. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Clear">
  4142. <summary>Removes all items from the immutable sorted dictionary.</summary>
  4143. </member>
  4144. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Contains(System.Collections.Generic.KeyValuePair{`0,`1})">
  4145. <summary>Determines whether the immutable sorted dictionary contains a specific value.</summary>
  4146. <param name="item">The object to locate in the dictionary.</param>
  4147. <returns>
  4148. <see langword="true" /> if <paramref name="item" /> is found in the dictionary; otherwise, <see langword="false" />.</returns>
  4149. </member>
  4150. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.ContainsKey(`0)">
  4151. <summary>Determines whether the immutable sorted dictionary contains an element with the specified key.</summary>
  4152. <param name="key">The key to locate in the dictionary.</param>
  4153. <returns>
  4154. <see langword="true" /> if the dictionary contains an element with the key; otherwise, <see langword="false" />.</returns>
  4155. </member>
  4156. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.ContainsValue(`1)">
  4157. <summary>Determines whether the immutable sorted dictionary contains an element with the specified value.</summary>
  4158. <param name="value">The value to locate in the dictionary. The value can be <see langword="null" /> for reference types.</param>
  4159. <returns>
  4160. <see langword="true" /> if the immutable sorted dictionary contains an element with the specified value; otherwise, <see langword="false" />.</returns>
  4161. </member>
  4162. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.GetEnumerator">
  4163. <summary>Returns an enumerator that iterates through the immutable sorted dictionary.</summary>
  4164. <returns>An enumerator that can be used to iterate through the dictionary.</returns>
  4165. </member>
  4166. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.GetValueOrDefault(`0)">
  4167. <summary>Gets the value for a given key if a matching key exists in the dictionary; otherwise the default value.</summary>
  4168. <param name="key">The key to search for.</param>
  4169. <returns>The value for the key, or <c>default(TValue)</c> if no matching key was found.</returns>
  4170. </member>
  4171. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.GetValueOrDefault(`0,`1)">
  4172. <summary>Gets the value for a given key if a matching key exists in the dictionary; otherwise the default value.</summary>
  4173. <param name="key">The key to search for.</param>
  4174. <param name="defaultValue">The default value to return if no matching key is found in the dictionary.</param>
  4175. <returns>The value for the key, or <paramref name="defaultValue" /> if no matching key was found.</returns>
  4176. </member>
  4177. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Remove(`0)">
  4178. <summary>Removes the element with the specified key from the immutable sorted dictionary.</summary>
  4179. <param name="key">The key of the element to remove.</param>
  4180. <returns>
  4181. <see langword="true" /> if the element is successfully removed; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="key" /> was not found in the original dictionary.</returns>
  4182. </member>
  4183. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Remove(System.Collections.Generic.KeyValuePair{`0,`1})">
  4184. <summary>Removes the first occurrence of a specific object from the immutable sorted dictionary.</summary>
  4185. <param name="item">The object to remove from the dictionary.</param>
  4186. <returns>
  4187. <see langword="true" /> if <paramref name="item" /> was successfully removed from the dictionary; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="item" /> is not found in the dictionary.</returns>
  4188. </member>
  4189. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.RemoveRange(System.Collections.Generic.IEnumerable{`0})">
  4190. <summary>Removes any entries with keys that match those found in the specified sequence from the immutable sorted dictionary.</summary>
  4191. <param name="keys">The keys for entries to remove from the dictionary.</param>
  4192. </member>
  4193. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#CopyTo(System.Collections.Generic.KeyValuePair{`0,`1}[],System.Int32)">
  4194. <summary>See <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
  4195. <param name="array">The one-dimensional array that is the destination of the elements copied from the dictionary. The array must have zero-based indexing.</param>
  4196. <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  4197. </member>
  4198. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#Generic#IEnumerable{System#Collections#Generic#KeyValuePair{TKey@TValue}}#GetEnumerator">
  4199. <summary>See <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
  4200. <returns>An enumerator that can be used to iterate through the collection.</returns>
  4201. </member>
  4202. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  4203. <summary>Copies the elements of the dictionary to an array, starting at a particular array index.
  4204. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  4205. <param name="array">The one-dimensional array that is the destination of the elements copied from the dictionary. The array must have zero-based indexing.</param>
  4206. <param name="index">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  4207. </member>
  4208. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#Add(System.Object,System.Object)">
  4209. <summary>Adds an element with the provided key and value to the dictionary object.</summary>
  4210. <param name="key">The key of the element to add.</param>
  4211. <param name="value">The value of the element to add.</param>
  4212. </member>
  4213. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#Contains(System.Object)">
  4214. <summary>Determines whether the dictionary object contains an element with the specified key.</summary>
  4215. <param name="key">The key to locate.</param>
  4216. <returns>
  4217. <see langword="true" /> if the dictionary contains an element with the key; otherwise, <see langword="false" />.</returns>
  4218. </member>
  4219. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#GetEnumerator">
  4220. <summary>Returns an <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the dictionary.</summary>
  4221. <returns>An <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the dictionary.</returns>
  4222. </member>
  4223. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#Remove(System.Object)">
  4224. <summary>Removes the element with the specified key from the dictionary.</summary>
  4225. <param name="key">The key of the element to remove.</param>
  4226. </member>
  4227. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IEnumerable#GetEnumerator">
  4228. <summary>Returns an enumerator that iterates through a collection.</summary>
  4229. <returns>An enumerator object that can be used to iterate through the collection.</returns>
  4230. </member>
  4231. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.ToImmutable">
  4232. <summary>Creates an immutable sorted dictionary based on the contents of this instance.</summary>
  4233. <returns>An immutable sorted dictionary.</returns>
  4234. </member>
  4235. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.TryGetKey(`0,`0@)">
  4236. <summary>Determines whether this dictionary contains a specified key.</summary>
  4237. <param name="equalKey">The key to search for.</param>
  4238. <param name="actualKey">The matching key located in the dictionary if found, or <c>equalkey</c> if no match is found.</param>
  4239. <returns>
  4240. <see langword="true" /> if a match for <paramref name="equalKey" /> is found; otherwise, <see langword="false" />.</returns>
  4241. </member>
  4242. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.TryGetValue(`0,`1@)">
  4243. <summary>Gets the value associated with the specified key.</summary>
  4244. <param name="key">The key whose value will be retrieved.</param>
  4245. <param name="value">When this method returns, contains the value associated with the specified key, if the key is found; otherwise, contains the default value for the type of the <paramref name="value" /> parameter. This parameter is passed uninitialized.</param>
  4246. <returns>
  4247. <see langword="true" /> if the object that implements the dictionary contains an element with the specified key; otherwise, <see langword="false" />.</returns>
  4248. </member>
  4249. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.ValueRef(`0)">
  4250. <summary>Returns a read-only reference to the value associated with the provided <paramref name="key" />.</summary>
  4251. <param name="key">Key of the entry to be looked up.</param>
  4252. <exception cref="T:System.Collections.Generic.KeyNotFoundException">The <paramref name="key" /> is not present.</exception>
  4253. <returns>A read-only reference to the value associated with the provided <paramref name="key" />.</returns>
  4254. </member>
  4255. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Count">
  4256. <summary>Gets the number of elements in this immutable sorted dictionary.</summary>
  4257. <returns>The number of elements in this dictionary.</returns>
  4258. </member>
  4259. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Item(`0)">
  4260. <summary>Gets or sets the value for a specified key in the immutable sorted dictionary.</summary>
  4261. <param name="key">The key to retrieve the value for.</param>
  4262. <returns>The value associated with the given key.</returns>
  4263. </member>
  4264. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.KeyComparer">
  4265. <summary>Gets or sets the key comparer.</summary>
  4266. <returns>The key comparer.</returns>
  4267. </member>
  4268. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Keys">
  4269. <summary>Gets a strongly typed, read-only collection of elements.</summary>
  4270. <returns>A strongly typed, read-only collection of elements.</returns>
  4271. </member>
  4272. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey@TValue}}#IsReadOnly">
  4273. <summary>Gets a value that indicates whether this instance is read-only.</summary>
  4274. <returns>Always <see langword="false" />.</returns>
  4275. </member>
  4276. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#Generic#IDictionary{TKey@TValue}#Keys">
  4277. <summary>Returns a collection containing all keys stored in the dictionary. See <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
  4278. <returns>A collection containing all keys stored in the dictionary.</returns>
  4279. </member>
  4280. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#Generic#IDictionary{TKey@TValue}#Values">
  4281. <summary>Returns a collection containing all values stored in the dictionary. See <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
  4282. <returns>A collection containing all values stored in the dictionary.</returns>
  4283. </member>
  4284. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#ICollection#IsSynchronized">
  4285. <summary>Gets a value that indicates whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe).</summary>
  4286. <returns>
  4287. <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe); otherwise, <see langword="false" />.</returns>
  4288. </member>
  4289. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#ICollection#SyncRoot">
  4290. <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
  4291. <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
  4292. </member>
  4293. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#IsFixedSize">
  4294. <summary>Gets a value that indicates whether the <see cref="T:System.Collections.IDictionary" /> object has a fixed size.</summary>
  4295. <returns>
  4296. <see langword="true" /> if the <see cref="T:System.Collections.IDictionary" /> object has a fixed size; otherwise, <see langword="false" />.</returns>
  4297. </member>
  4298. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#IsReadOnly">
  4299. <summary>Gets a value that indicates whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
  4300. <returns>
  4301. <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
  4302. </member>
  4303. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#Item(System.Object)">
  4304. <summary>Gets or sets the element with the specified key.</summary>
  4305. <param name="key">The key.</param>
  4306. <returns>The value associated with the specified key.</returns>
  4307. </member>
  4308. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#Keys">
  4309. <summary>Gets an <see cref="T:System.Collections.Generic.ICollection`1" /> containing the keys of the <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
  4310. <returns>An <see cref="T:System.Collections.Generic.ICollection`1" /> containing the keys of the object that implements <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns>
  4311. </member>
  4312. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.System#Collections#IDictionary#Values">
  4313. <summary>Gets an <see cref="T:System.Collections.Generic.ICollection`1" /> containing the values in the <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
  4314. <returns>An <see cref="T:System.Collections.Generic.ICollection`1" /> containing the values in the object that implements <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns>
  4315. </member>
  4316. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.ValueComparer">
  4317. <summary>Gets or sets the value comparer.</summary>
  4318. <returns>The value comparer.</returns>
  4319. </member>
  4320. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Builder.Values">
  4321. <summary>Gets a collection that contains the values of the immutable sorted dictionary.</summary>
  4322. <returns>A collection that contains the values of the object that implements the dictionary.</returns>
  4323. </member>
  4324. <member name="T:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator">
  4325. <summary>Enumerates the contents of a binary tree.
  4326. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  4327. <typeparam name="TKey" />
  4328. <typeparam name="TValue" />
  4329. </member>
  4330. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator.Dispose">
  4331. <summary>Releases the resources used by the current instance of the <see cref="T:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator" /> class.</summary>
  4332. </member>
  4333. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator.MoveNext">
  4334. <summary>Advances the enumerator to the next element of the immutable sorted dictionary.</summary>
  4335. <returns>
  4336. <see langword="true" /> if the enumerator was successfully advanced to the next element; <see langword="false" /> if the enumerator has passed the end of the sorted dictionary.</returns>
  4337. </member>
  4338. <member name="M:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator.Reset">
  4339. <summary>Sets the enumerator to its initial position, which is before the first element in the immutable sorted dictionary.</summary>
  4340. </member>
  4341. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator.Current">
  4342. <summary>Gets the element at the current position of the enumerator.</summary>
  4343. <returns>The element at the current position of the enumerator.</returns>
  4344. </member>
  4345. <member name="P:System.Collections.Immutable.ImmutableSortedDictionary`2.Enumerator.System#Collections#IEnumerator#Current">
  4346. <summary>The current element.</summary>
  4347. </member>
  4348. <member name="T:System.Collections.Immutable.ImmutableSortedSet">
  4349. <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableSortedSet`1" /> class.
  4350. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  4351. </member>
  4352. <member name="M:System.Collections.Immutable.ImmutableSortedSet.Create``1">
  4353. <summary>Creates an empty immutable sorted set.</summary>
  4354. <typeparam name="T">The type of items to be stored in the immutable set.</typeparam>
  4355. <returns>An empty immutable sorted set.</returns>
  4356. </member>
  4357. <member name="M:System.Collections.Immutable.ImmutableSortedSet.Create``1(``0)">
  4358. <summary>Creates a new immutable sorted set that contains the specified item.</summary>
  4359. <param name="item">The item to prepopulate the set with.</param>
  4360. <typeparam name="T">The type of items in the immutable set.</typeparam>
  4361. <returns>A new immutable set that contains the specified item.</returns>
  4362. </member>
  4363. <member name="M:System.Collections.Immutable.ImmutableSortedSet.Create``1(``0[])">
  4364. <summary>Creates a new immutable sorted set that contains the specified array of items.</summary>
  4365. <param name="items">An array that contains the items to prepopulate the set with.</param>
  4366. <typeparam name="T">The type of items in the immutable set.</typeparam>
  4367. <returns>A new immutable set that contains the specified items.</returns>
  4368. </member>
  4369. <member name="M:System.Collections.Immutable.ImmutableSortedSet.Create``1(System.Collections.Generic.IComparer{``0})">
  4370. <summary>Creates an empty immutable sorted set that uses the specified comparer.</summary>
  4371. <param name="comparer">The implementation to use when comparing items in the set.</param>
  4372. <typeparam name="T">The type of items in the immutable set.</typeparam>
  4373. <returns>An empty immutable set.</returns>
  4374. </member>
  4375. <member name="M:System.Collections.Immutable.ImmutableSortedSet.Create``1(System.Collections.Generic.IComparer{``0},``0)">
  4376. <summary>Creates a new immutable sorted set that contains the specified item and uses the specified comparer.</summary>
  4377. <param name="comparer">The implementation to use when comparing items in the set.</param>
  4378. <param name="item">The item to prepopulate the set with.</param>
  4379. <typeparam name="T">The type of items stored in the immutable set.</typeparam>
  4380. <returns>A new immutable set that contains the specified item.</returns>
  4381. </member>
  4382. <member name="M:System.Collections.Immutable.ImmutableSortedSet.Create``1(System.Collections.Generic.IComparer{``0},``0[])">
  4383. <summary>Creates a new immutable sorted set that contains the specified array of items and uses the specified comparer.</summary>
  4384. <param name="comparer">The implementation to use when comparing items in the set.</param>
  4385. <param name="items">An array that contains the items to prepopulate the set with.</param>
  4386. <typeparam name="T">The type of items in the immutable set.</typeparam>
  4387. <returns>A new immutable set that contains the specified items.</returns>
  4388. </member>
  4389. <member name="M:System.Collections.Immutable.ImmutableSortedSet.CreateBuilder``1">
  4390. <summary>Returns a collection that can be used to build an immutable sorted set.</summary>
  4391. <typeparam name="T">The type of items stored by the collection.</typeparam>
  4392. <returns>The immutable collection builder.</returns>
  4393. </member>
  4394. <member name="M:System.Collections.Immutable.ImmutableSortedSet.CreateBuilder``1(System.Collections.Generic.IComparer{``0})">
  4395. <summary>Returns a collection that can be used to build an immutable sorted set.</summary>
  4396. <param name="comparer">The comparer used to compare items in the set for equality.</param>
  4397. <typeparam name="T">The type of items stored by the collection.</typeparam>
  4398. <returns>The immutable collection.</returns>
  4399. </member>
  4400. <member name="M:System.Collections.Immutable.ImmutableSortedSet.CreateRange``1(System.Collections.Generic.IComparer{``0},System.Collections.Generic.IEnumerable{``0})">
  4401. <summary>Creates a new immutable collection that contains the specified items.</summary>
  4402. <param name="comparer">The comparer to use to compare elements in this set.</param>
  4403. <param name="items">The items to add to the set before it's immutable.</param>
  4404. <typeparam name="T">The type of items stored by the collection.</typeparam>
  4405. <returns>The new immutable set that contains the specified items.</returns>
  4406. </member>
  4407. <member name="M:System.Collections.Immutable.ImmutableSortedSet.CreateRange``1(System.Collections.Generic.IEnumerable{``0})">
  4408. <summary>Creates a new immutable collection that contains the specified items.</summary>
  4409. <param name="items">The items to add to the set with before it's immutable.</param>
  4410. <typeparam name="T">The type of items stored by the collection.</typeparam>
  4411. <returns>The new immutable set that contains the specified items.</returns>
  4412. </member>
  4413. <member name="M:System.Collections.Immutable.ImmutableSortedSet.ToImmutableSortedSet``1(System.Collections.Generic.IEnumerable{``0})">
  4414. <summary>Enumerates a sequence and produces an immutable sorted set of its contents.</summary>
  4415. <param name="source">The sequence to enumerate.</param>
  4416. <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
  4417. <returns>An immutable sorted set that contains the items in the specified sequence.</returns>
  4418. </member>
  4419. <member name="M:System.Collections.Immutable.ImmutableSortedSet.ToImmutableSortedSet``1(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IComparer{``0})">
  4420. <summary>Enumerates a sequence, produces an immutable sorted set of its contents, and uses the specified comparer.</summary>
  4421. <param name="source">The sequence to enumerate.</param>
  4422. <param name="comparer">The comparer to use for initializing and adding members to the sorted set.</param>
  4423. <typeparam name="TSource">The type of the elements in the sequence.</typeparam>
  4424. <returns>An immutable sorted set that contains the items in the specified sequence.</returns>
  4425. </member>
  4426. <member name="M:System.Collections.Immutable.ImmutableSortedSet.ToImmutableSortedSet``1(System.Collections.Immutable.ImmutableSortedSet{``0}.Builder)">
  4427. <summary>Creates an immutable sorted set from the current contents of the builder's set.</summary>
  4428. <param name="builder">The builder to create the immutable sorted set from.</param>
  4429. <typeparam name="TSource">The type of the elements in the immutable sorted set.</typeparam>
  4430. <returns>An immutable sorted set that contains the current contents in the builder's set.</returns>
  4431. </member>
  4432. <member name="T:System.Collections.Immutable.ImmutableSortedSet`1">
  4433. <summary>Represents an immutable sorted set implementation.
  4434. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  4435. <typeparam name="T">The type of elements in the set.</typeparam>
  4436. </member>
  4437. <member name="F:System.Collections.Immutable.ImmutableSortedSet`1.Empty">
  4438. <summary>Gets an empty immutable sorted set.</summary>
  4439. </member>
  4440. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Add(`0)">
  4441. <summary>Adds the specified value to this immutable sorted set.</summary>
  4442. <param name="value">The value to add.</param>
  4443. <returns>A new set with the element added, or this set if the element is already in this set.</returns>
  4444. </member>
  4445. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Clear">
  4446. <summary>Removes all elements from the immutable sorted set.</summary>
  4447. <returns>An empty set with the elements removed.</returns>
  4448. </member>
  4449. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Contains(`0)">
  4450. <summary>Determines whether this immutable sorted set contains the specified value.</summary>
  4451. <param name="value">The value to check for.</param>
  4452. <returns>
  4453. <see langword="true" /> if the set contains the specified value; otherwise, <see langword="false" />.</returns>
  4454. </member>
  4455. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Except(System.Collections.Generic.IEnumerable{`0})">
  4456. <summary>Removes a specified set of items from this immutable sorted set.</summary>
  4457. <param name="other">The items to remove from this set.</param>
  4458. <returns>A new set with the items removed; or the original set if none of the items were in the set.</returns>
  4459. </member>
  4460. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.GetEnumerator">
  4461. <summary>Returns an enumerator that iterates through the immutable sorted set.</summary>
  4462. <returns>An enumerator that can be used to iterate through the set.</returns>
  4463. </member>
  4464. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.IndexOf(`0)">
  4465. <summary>Gets the position within this immutable sorted set that the specified value appears in.</summary>
  4466. <param name="item">The value whose position is being sought.</param>
  4467. <returns>The index of the specified <paramref name="item" /> in the sorted set, if <paramref name="item" /> is found. If <paramref name="item" /> is not found and is less than one or more elements in this set, this method returns a negative number that is the bitwise complement of the index of the first element that is larger than value. If <paramref name="item" /> is not found and is greater than any of the elements in the set, this method returns a negative number that is the bitwise complement of the index of the last element plus 1.</returns>
  4468. </member>
  4469. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Intersect(System.Collections.Generic.IEnumerable{`0})">
  4470. <summary>Creates an immutable sorted set that contains elements that exist both in this set and in the specified set.</summary>
  4471. <param name="other">The set to intersect with this one.</param>
  4472. <returns>A new immutable sorted set that contains any elements that exist in both sets.</returns>
  4473. </member>
  4474. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.IsProperSubsetOf(System.Collections.Generic.IEnumerable{`0})">
  4475. <summary>Determines whether the current immutable sorted set is a proper (strict) subset of the specified collection.</summary>
  4476. <param name="other">The collection to compare to the current set.</param>
  4477. <returns>
  4478. <see langword="true" /> if the current set is a proper subset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
  4479. </member>
  4480. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.IsProperSupersetOf(System.Collections.Generic.IEnumerable{`0})">
  4481. <summary>Determines whether the current immutable sorted set is a proper superset of a specified collection.</summary>
  4482. <param name="other">The collection to compare to the current set.</param>
  4483. <returns>
  4484. <see langword="true" /> if the current set is a proper superset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
  4485. </member>
  4486. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.IsSubsetOf(System.Collections.Generic.IEnumerable{`0})">
  4487. <summary>Determines whether the current immutable sorted set is a subset of a specified collection.</summary>
  4488. <param name="other">The collection to compare to the current set.</param>
  4489. <returns>
  4490. <see langword="true" /> if the current set is a subset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
  4491. </member>
  4492. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.IsSupersetOf(System.Collections.Generic.IEnumerable{`0})">
  4493. <summary>Determines whether the current immutable sorted set is a superset of a specified collection.</summary>
  4494. <param name="other">The collection to compare to the current set.</param>
  4495. <returns>
  4496. <see langword="true" /> if the current set is a superset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
  4497. </member>
  4498. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.ItemRef(System.Int32)">
  4499. <summary>Gets a read-only reference of the element of the set at the given <paramref name="index" />.</summary>
  4500. <param name="index">The 0-based index of the element in the set to return.</param>
  4501. <returns>A read-only reference of the element at the given position.</returns>
  4502. </member>
  4503. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Overlaps(System.Collections.Generic.IEnumerable{`0})">
  4504. <summary>Determines whether the current immutable sorted set and a specified collection share common elements.</summary>
  4505. <param name="other">The collection to compare to the current set.</param>
  4506. <returns>
  4507. <see langword="true" /> if the current set and <paramref name="other" /> share at least one common element; otherwise, <see langword="false" />.</returns>
  4508. </member>
  4509. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Remove(`0)">
  4510. <summary>Removes the specified value from this immutable sorted set.</summary>
  4511. <param name="value">The element to remove.</param>
  4512. <returns>A new immutable sorted set with the element removed, or this set if the element was not found in the set.</returns>
  4513. </member>
  4514. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Reverse">
  4515. <summary>Returns an <see cref="T:System.Collections.Generic.IEnumerable`1" /> that iterates over this immutable sorted set in reverse order.</summary>
  4516. <returns>An enumerator that iterates over the immutable sorted set in reverse order.</returns>
  4517. </member>
  4518. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.SetEquals(System.Collections.Generic.IEnumerable{`0})">
  4519. <summary>Determines whether the current immutable sorted set and the specified collection contain the same elements.</summary>
  4520. <param name="other">The collection to compare to the current set.</param>
  4521. <returns>
  4522. <see langword="true" /> if the sets are equal; otherwise, <see langword="false" />.</returns>
  4523. </member>
  4524. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.SymmetricExcept(System.Collections.Generic.IEnumerable{`0})">
  4525. <summary>Creates an immutable sorted set that contains elements that exist either in this set or in a given sequence, but not both.</summary>
  4526. <param name="other">The other sequence of items.</param>
  4527. <returns>The new immutable sorted set.</returns>
  4528. </member>
  4529. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ICollection{T}#Add(`0)">
  4530. <summary>Adds the specified value to the collection.</summary>
  4531. <param name="item">The value to add.</param>
  4532. </member>
  4533. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ICollection{T}#Clear">
  4534. <summary>Removes all the items from the collection.</summary>
  4535. </member>
  4536. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ICollection{T}#CopyTo(`0[],System.Int32)">
  4537. <summary>Copies the elements of the collection to an array, starting at a particular array index.</summary>
  4538. <param name="array">The one-dimensional array that is the destination of the elements copied from collection. The array must have zero-based indexing.</param>
  4539. <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  4540. </member>
  4541. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ICollection{T}#Remove(`0)">
  4542. <summary>Removes the first occurrence of a specific object from the collection.</summary>
  4543. <param name="item">The object to remove from the collection.</param>
  4544. <returns>
  4545. <see langword="true" /> if <paramref name="item" /> was successfully removed from the collection; otherwise, <see langword="false" />.</returns>
  4546. </member>
  4547. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
  4548. <summary>Returns an enumerator that iterates through the collection.</summary>
  4549. <returns>An enumerator that can be used to iterate through the collection.</returns>
  4550. </member>
  4551. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#IList{T}#Insert(System.Int32,`0)">
  4552. <summary>Inserts an item in the set at the specified index.</summary>
  4553. <param name="index">The zero-based index at which <paramref name="item" /> should be inserted.</param>
  4554. <param name="item">The object to insert into the set.</param>
  4555. </member>
  4556. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#IList{T}#RemoveAt(System.Int32)">
  4557. <summary>Removes the item at the specified index.</summary>
  4558. <param name="index">The zero-based index of the item to remove.</param>
  4559. </member>
  4560. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ISet{T}#Add(`0)">
  4561. <summary>Adds an element to the current set and returns a value to indicate if the element was successfully added.</summary>
  4562. <param name="item">The element to add to the set.</param>
  4563. <returns>
  4564. <see langword="true" /> if the element is added to the set; <see langword="false" /> if the element is already in the set.</returns>
  4565. </member>
  4566. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ISet{T}#ExceptWith(System.Collections.Generic.IEnumerable{`0})">
  4567. <summary>Removes all elements in the specified collection from the current set.</summary>
  4568. <param name="other">The collection of items to remove from the set.</param>
  4569. </member>
  4570. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ISet{T}#IntersectWith(System.Collections.Generic.IEnumerable{`0})">
  4571. <summary>Modifies the current set so that it contains only elements that are also in a specified collection.</summary>
  4572. <param name="other">The collection to compare to the current set.</param>
  4573. </member>
  4574. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ISet{T}#SymmetricExceptWith(System.Collections.Generic.IEnumerable{`0})">
  4575. <summary>Modifies the current set so that it contains only elements that are present either in the current set or in the specified collection, but not both.</summary>
  4576. <param name="other">The collection to compare to the current set.</param>
  4577. </member>
  4578. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ISet{T}#UnionWith(System.Collections.Generic.IEnumerable{`0})">
  4579. <summary>Modifies the current set so that it contains all elements that are present in either the current set or the specified collection.</summary>
  4580. <param name="other">The collection to compare to the current set.</param>
  4581. </member>
  4582. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  4583. <summary>Copies the elements of the set to an array, starting at a particular array index.</summary>
  4584. <param name="array">The one-dimensional array that is the destination of the elements copied from the set. The array must have zero-based indexing.</param>
  4585. <param name="index">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  4586. </member>
  4587. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IEnumerable#GetEnumerator">
  4588. <summary>Returns an enumerator that iterates through a collection.</summary>
  4589. <returns>An enumerator object that can be used to iterate through the collection.</returns>
  4590. </member>
  4591. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#Add(System.Object)">
  4592. <summary>Adds an item to the set.</summary>
  4593. <param name="value">The object to add to the set.</param>
  4594. <exception cref="T:System.NotSupportedException">The set is read-only or has a fixed size.</exception>
  4595. <returns>The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection.</returns>
  4596. </member>
  4597. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#Clear">
  4598. <summary>Removes all items from the set.</summary>
  4599. <exception cref="T:System.NotSupportedException">Thrown in all cases.</exception>
  4600. </member>
  4601. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#Contains(System.Object)">
  4602. <summary>Determines whether the set contains a specific value.</summary>
  4603. <param name="value">The object to locate in the set.</param>
  4604. <returns>
  4605. <see langword="true" /> if the object is found in the set; otherwise, <see langword="false" />.</returns>
  4606. </member>
  4607. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#IndexOf(System.Object)">
  4608. <summary>Determines the index of a specific item in the set.</summary>
  4609. <param name="value">The object to locate in the set.</param>
  4610. <returns>The index of <paramref name="value" /> if found in the list; otherwise, -1.</returns>
  4611. </member>
  4612. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#Insert(System.Int32,System.Object)">
  4613. <summary>Inserts an item into the set at the specified index.</summary>
  4614. <param name="index">The zero-based index at which <paramref name="value" /> should be inserted.</param>
  4615. <param name="value">The object to insert into the set.</param>
  4616. <exception cref="T:System.NotSupportedException">The set is read-only or has a fixed size.</exception>
  4617. </member>
  4618. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#Remove(System.Object)">
  4619. <summary>Removes the first occurrence of a specific object from the set.</summary>
  4620. <param name="value">The object to remove from the set.</param>
  4621. <exception cref="T:System.NotSupportedException">The set is read-only or has a fixed size.</exception>
  4622. </member>
  4623. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#RemoveAt(System.Int32)">
  4624. <summary>Removes the item at the specified index of the set.</summary>
  4625. <param name="index">The zero-based index of the item to remove.</param>
  4626. <exception cref="T:System.NotSupportedException">The set is read-only or has a fixed size.</exception>
  4627. </member>
  4628. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#Add(`0)">
  4629. <summary>Adds the specified element to this immutable set.</summary>
  4630. <param name="value">The element to add.</param>
  4631. <returns>A new set with the element added, or this set if the element is already in the set.</returns>
  4632. </member>
  4633. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#Clear">
  4634. <summary>Retrieves an empty immutable set that has the same sorting and ordering semantics as this instance.</summary>
  4635. <returns>An empty set that has the same sorting and ordering semantics as this instance.</returns>
  4636. </member>
  4637. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#Except(System.Collections.Generic.IEnumerable{`0})">
  4638. <summary>Removes the elements in the specified collection from the current immutable set.</summary>
  4639. <param name="other">The items to remove from this set.</param>
  4640. <returns>The new set with the items removed; or the original set if none of the items were in the set.</returns>
  4641. </member>
  4642. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#Intersect(System.Collections.Generic.IEnumerable{`0})">
  4643. <summary>Creates an immutable set that contains elements that exist in both this set and the specified set.</summary>
  4644. <param name="other">The collection to compare to the current set.</param>
  4645. <returns>A new immutable set that contains any elements that exist in both sets.</returns>
  4646. </member>
  4647. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#Remove(`0)">
  4648. <summary>Removes the specified element from this immutable set.</summary>
  4649. <param name="value">The element to remove.</param>
  4650. <returns>A new set with the specified element removed, or the current set if the element cannot be found in the set.</returns>
  4651. </member>
  4652. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#SymmetricExcept(System.Collections.Generic.IEnumerable{`0})">
  4653. <summary>Creates an immutable set that contains only elements that are present either in the current set or in the specified collection, but not both.</summary>
  4654. <param name="other">The collection to compare to the current set.</param>
  4655. <returns>A new set that contains the elements that are present only in the current set or in the specified collection, but not both.</returns>
  4656. </member>
  4657. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Immutable#IImmutableSet{T}#Union(System.Collections.Generic.IEnumerable{`0})">
  4658. <summary>Creates a new immutable set that contains all elements that are present in either the current set or in the specified collection.</summary>
  4659. <param name="other">The collection to add elements from.</param>
  4660. <returns>A new immutable set with the items added; or the original set if all the items were already in the set.</returns>
  4661. </member>
  4662. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.ToBuilder">
  4663. <summary>Creates a collection that has the same contents as this immutable sorted set that can be efficiently manipulated by using standard mutable interfaces.</summary>
  4664. <returns>The sorted set builder.</returns>
  4665. </member>
  4666. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.TryGetValue(`0,`0@)">
  4667. <summary>Searches the set for a given value and returns the equal value it finds, if any.</summary>
  4668. <param name="equalValue">The value to search for.</param>
  4669. <param name="actualValue">The value from the set that the search found, or the original value if the search yielded no match.</param>
  4670. <returns>A value indicating whether the search was successful.</returns>
  4671. </member>
  4672. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Union(System.Collections.Generic.IEnumerable{`0})">
  4673. <summary>Adds a given set of items to this immutable sorted set.</summary>
  4674. <param name="other">The items to add.</param>
  4675. <returns>The new set with the items added; or the original set if all the items were already in the set.</returns>
  4676. </member>
  4677. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.WithComparer(System.Collections.Generic.IComparer{`0})">
  4678. <summary>Returns the immutable sorted set that has the specified key comparer.</summary>
  4679. <param name="comparer">The comparer to check for.</param>
  4680. <returns>The immutable sorted set that has the specified key comparer.</returns>
  4681. </member>
  4682. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Count">
  4683. <summary>Gets the number of elements in the immutable sorted set.</summary>
  4684. <returns>The number of elements in the immutable sorted set.</returns>
  4685. </member>
  4686. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.IsEmpty">
  4687. <summary>Gets a value that indicates whether this immutable sorted set is empty.</summary>
  4688. <returns>
  4689. <see langword="true" /> if this set is empty; otherwise, <see langword="false" />.</returns>
  4690. </member>
  4691. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Item(System.Int32)">
  4692. <summary>Gets the element of the immutable sorted set at the given index.</summary>
  4693. <param name="index">The index of the element to retrieve from the sorted set.</param>
  4694. <returns>The element at the given index.</returns>
  4695. </member>
  4696. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.KeyComparer">
  4697. <summary>Gets the comparer used to sort keys in the immutable sorted set.</summary>
  4698. <returns>The comparer used to sort keys.</returns>
  4699. </member>
  4700. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Max">
  4701. <summary>Gets the maximum value in the immutable sorted set, as defined by the comparer.</summary>
  4702. <returns>The maximum value in the set.</returns>
  4703. </member>
  4704. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Min">
  4705. <summary>Gets the minimum value in the immutable sorted set, as defined by the comparer.</summary>
  4706. <returns>The minimum value in the set.</returns>
  4707. </member>
  4708. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#ICollection{T}#IsReadOnly">
  4709. <summary>Returns true, since immutable collections are always read-only. See the <see cref="T:System.Collections.Generic.ICollection`1" /> interface.</summary>
  4710. <returns>A boolean value indicating whether the collection is read-only.</returns>
  4711. </member>
  4712. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#Generic#IList{T}#Item(System.Int32)">
  4713. <summary>See the <see cref="T:System.Collections.Generic.IList`1" /> interface.</summary>
  4714. <param name="index">The zero-based index of the item to access.</param>
  4715. <returns>The element stored at the specified index.</returns>
  4716. </member>
  4717. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#ICollection#IsSynchronized">
  4718. <summary>Returns true, since immutable collections are always thread-safe. See the <see cref="T:System.Collections.ICollection" /> interface.</summary>
  4719. <returns>A boolean value indicating whether the collection is thread-safe.</returns>
  4720. </member>
  4721. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#ICollection#SyncRoot">
  4722. <summary>See <see cref="T:System.Collections.ICollection" />.</summary>
  4723. <returns>Object used for synchronizing access to the collection.</returns>
  4724. </member>
  4725. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#IsFixedSize">
  4726. <summary>Gets a value that indicates whether the <see cref="T:System.Collections.IList" /> has a fixed size.</summary>
  4727. <returns>
  4728. <see langword="true" /> if the <see cref="T:System.Collections.IList" /> has a fixed size; otherwise, <see langword="false" />.</returns>
  4729. </member>
  4730. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#IsReadOnly">
  4731. <summary>Gets a value that indicates whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.</summary>
  4732. <returns>
  4733. <see langword="true" /> if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, <see langword="false" />.</returns>
  4734. </member>
  4735. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.System#Collections#IList#Item(System.Int32)">
  4736. <summary>Gets or sets the <see cref="T:System.Object" /> at the specified index.</summary>
  4737. <param name="index">The index.</param>
  4738. <exception cref="T:System.NotSupportedException" />
  4739. <returns>The <see cref="T:System.Object" />.</returns>
  4740. </member>
  4741. <member name="T:System.Collections.Immutable.ImmutableSortedSet`1.Builder">
  4742. <summary>Represents a sorted set that enables changes with little or no memory allocations, and efficiently manipulates or builds immutable sorted sets.
  4743. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  4744. <typeparam name="T" />
  4745. </member>
  4746. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Add(`0)">
  4747. <summary>Adds an element to the current set and returns a value to indicate whether the element was successfully added.</summary>
  4748. <param name="item">The element to add to the set.</param>
  4749. <returns>
  4750. <see langword="true" /> if the element is added to the set; <see langword="false" /> if the element is already in the set.</returns>
  4751. </member>
  4752. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Clear">
  4753. <summary>Removes all elements from this set.</summary>
  4754. </member>
  4755. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Contains(`0)">
  4756. <summary>Determines whether the set contains the specified object.</summary>
  4757. <param name="item">The object to locate in the set.</param>
  4758. <returns>
  4759. <see langword="true" /> if <paramref name="item" /> is found in the set; otherwise, <see langword="false" />.</returns>
  4760. </member>
  4761. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.ExceptWith(System.Collections.Generic.IEnumerable{`0})">
  4762. <summary>Removes the specified set of items from the current set.</summary>
  4763. <param name="other">The collection of items to remove from the set.</param>
  4764. </member>
  4765. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.GetEnumerator">
  4766. <summary>Returns an enumerator that iterates through the set.</summary>
  4767. <returns>A enumerator that can be used to iterate through the set.</returns>
  4768. </member>
  4769. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.IntersectWith(System.Collections.Generic.IEnumerable{`0})">
  4770. <summary>Modifies the current set so that it contains only elements that are also in a specified collection.</summary>
  4771. <param name="other">The collection to compare to the current set.</param>
  4772. </member>
  4773. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.IsProperSubsetOf(System.Collections.Generic.IEnumerable{`0})">
  4774. <summary>Determines whether the current set is a proper (strict) subset of a specified collection.</summary>
  4775. <param name="other">The collection to compare to the current set.</param>
  4776. <returns>
  4777. <see langword="true" /> if the current set is a proper subset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
  4778. </member>
  4779. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.IsProperSupersetOf(System.Collections.Generic.IEnumerable{`0})">
  4780. <summary>Determines whether the current set is a proper (strict) superset of a specified collection.</summary>
  4781. <param name="other">The collection to compare to the current set.</param>
  4782. <returns>
  4783. <see langword="true" /> if the current set is a proper superset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
  4784. </member>
  4785. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.IsSubsetOf(System.Collections.Generic.IEnumerable{`0})">
  4786. <summary>Determines whether the current set is a subset of a specified collection.</summary>
  4787. <param name="other">The collection is compare to the current set.</param>
  4788. <returns>
  4789. <see langword="true" /> if the current set is a subset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
  4790. </member>
  4791. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.IsSupersetOf(System.Collections.Generic.IEnumerable{`0})">
  4792. <summary>Determines whether the current set is a superset of a specified collection.</summary>
  4793. <param name="other">The collection to compare to the current set.</param>
  4794. <returns>
  4795. <see langword="true" /> if the current set is a superset of <paramref name="other" />; otherwise, <see langword="false" />.</returns>
  4796. </member>
  4797. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.ItemRef(System.Int32)">
  4798. <summary>Gets a read-only reference to the element of the set at the given <paramref name="index" />.</summary>
  4799. <param name="index">The 0-based index of the element in the set to return.</param>
  4800. <returns>A read-only reference to the element at the given position.</returns>
  4801. </member>
  4802. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Overlaps(System.Collections.Generic.IEnumerable{`0})">
  4803. <summary>Determines whether the current set overlaps with the specified collection.</summary>
  4804. <param name="other">The collection to compare to the current set.</param>
  4805. <returns>
  4806. <see langword="true" /> if the current set and <paramref name="other" /> share at least one common element; otherwise, <see langword="false" />.</returns>
  4807. </member>
  4808. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Remove(`0)">
  4809. <summary>Removes the first occurrence of the specified object from the set.</summary>
  4810. <param name="item">The object to remove from the set.</param>
  4811. <returns>
  4812. <see langword="true" /> if <paramref name="item" /> was removed from the set; <see langword="false" /> if <paramref name="item" /> was not found in the set.</returns>
  4813. </member>
  4814. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Reverse">
  4815. <summary>Returns an enumerator that iterates over the immutable sorted set in reverse order.</summary>
  4816. <returns>An enumerator that iterates over the set in reverse order.</returns>
  4817. </member>
  4818. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.SetEquals(System.Collections.Generic.IEnumerable{`0})">
  4819. <summary>Determines whether the current set and the specified collection contain the same elements.</summary>
  4820. <param name="other">The collection to compare to the current set.</param>
  4821. <returns>
  4822. <see langword="true" /> if the current set is equal to <paramref name="other" />; otherwise, <see langword="false" />.</returns>
  4823. </member>
  4824. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.SymmetricExceptWith(System.Collections.Generic.IEnumerable{`0})">
  4825. <summary>Modifies the current set so that it contains only elements that are present either in the current set or in the specified collection, but not both.</summary>
  4826. <param name="other">The collection to compare to the current set.</param>
  4827. </member>
  4828. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#Generic#ICollection{T}#Add(`0)">
  4829. <summary>Adds an element to the current set and returns a value to indicate whether the element was successfully added.</summary>
  4830. <param name="item">The element to add to the set.</param>
  4831. </member>
  4832. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#Generic#ICollection{T}#CopyTo(`0[],System.Int32)">
  4833. <summary>Copies the elements of the collection to an array, starting at a particular array index.</summary>
  4834. <param name="array">The one-dimensional array that is the destination of the elements copied from collection. The array must have zero-based indexing.</param>
  4835. <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  4836. </member>
  4837. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
  4838. <summary>Returns an enumerator that iterates through the collection.</summary>
  4839. <returns>A enumerator that can be used to iterate through the collection.</returns>
  4840. </member>
  4841. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
  4842. <summary>Copies the elements of the set to an array, starting at a particular array index.</summary>
  4843. <param name="array">The one-dimensional array that is the destination of the elements copied from the set. The array must have zero-based indexing.</param>
  4844. <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
  4845. </member>
  4846. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#IEnumerable#GetEnumerator">
  4847. <summary>Returns an enumerator that iterates through the collection.</summary>
  4848. <returns>A enumerator that can be used to iterate through the collection.</returns>
  4849. </member>
  4850. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.ToImmutable">
  4851. <summary>Creates an immutable sorted set based on the contents of this instance.</summary>
  4852. <returns>An immutable set.</returns>
  4853. </member>
  4854. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.TryGetValue(`0,`0@)">
  4855. <summary>Searches the set for a given value and returns the equal value it finds, if any.</summary>
  4856. <param name="equalValue">The value for which to search.</param>
  4857. <param name="actualValue">The value from the set that the search found, or the original value if the search yielded no match.</param>
  4858. <returns>A value indicating whether the search was successful.</returns>
  4859. </member>
  4860. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Builder.UnionWith(System.Collections.Generic.IEnumerable{`0})">
  4861. <summary>Modifies the current set so that it contains all elements that are present in both the current set and in the specified collection.</summary>
  4862. <param name="other">The collection to compare to the current state.</param>
  4863. </member>
  4864. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Count">
  4865. <summary>Gets the number of elements in the immutable sorted set.</summary>
  4866. <returns>The number of elements in this set.</returns>
  4867. </member>
  4868. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Item(System.Int32)">
  4869. <summary>Gets the element of the set at the given index.</summary>
  4870. <param name="index">The 0-based index of the element in the set to return.</param>
  4871. <returns>The element at the given position.</returns>
  4872. </member>
  4873. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.KeyComparer">
  4874. <summary>Gets or sets the object that is used to determine equality for the values in the immutable sorted set.</summary>
  4875. <returns>The comparer that is used to determine equality for the values in the set.</returns>
  4876. </member>
  4877. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Max">
  4878. <summary>Gets the maximum value in the immutable sorted set, as defined by the comparer.</summary>
  4879. <returns>The maximum value in the set.</returns>
  4880. </member>
  4881. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.Min">
  4882. <summary>Gets the minimum value in the immutable sorted set, as defined by the comparer.</summary>
  4883. <returns>The minimum value in the set.</returns>
  4884. </member>
  4885. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#Generic#ICollection{T}#IsReadOnly">
  4886. <summary>Gets a value that indicates whether this instance is read-only.</summary>
  4887. <returns>Always <see langword="false" />.</returns>
  4888. </member>
  4889. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#ICollection#IsSynchronized">
  4890. <summary>Gets a value that indicates whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread-safe).</summary>
  4891. <returns>
  4892. <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread-safe); otherwise, <see langword="false" />.</returns>
  4893. </member>
  4894. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Builder.System#Collections#ICollection#SyncRoot">
  4895. <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
  4896. <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
  4897. </member>
  4898. <member name="T:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator">
  4899. <summary>Enumerates the contents of a binary tree.
  4900. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  4901. <typeparam name="T" />
  4902. </member>
  4903. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator.Dispose">
  4904. <summary>Releases the resources used by the current instance of the <see cref="T:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator" /> class.
  4905. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  4906. </member>
  4907. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator.MoveNext">
  4908. <summary>Advances the enumerator to the next element of the immutable sorted set.
  4909. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  4910. <returns>
  4911. <see langword="true" /> if the enumerator was successfully advanced to the next element; <see langword="false" /> if the enumerator has passed the end of the sorted set.</returns>
  4912. </member>
  4913. <member name="M:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator.Reset">
  4914. <summary>Sets the enumerator to its initial position, which is before the first element in the immutable sorted set.
  4915. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  4916. </member>
  4917. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator.Current">
  4918. <summary>Gets the element at the current position of the enumerator.
  4919. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  4920. <returns>The element at the current position of the enumerator.</returns>
  4921. </member>
  4922. <member name="P:System.Collections.Immutable.ImmutableSortedSet`1.Enumerator.System#Collections#IEnumerator#Current">
  4923. <summary>The current element.</summary>
  4924. </member>
  4925. <member name="T:System.Collections.Immutable.ImmutableStack">
  4926. <summary>Provides a set of initialization methods for instances of the <see cref="T:System.Collections.Immutable.ImmutableStack`1" /> class.
  4927. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  4928. </member>
  4929. <member name="M:System.Collections.Immutable.ImmutableStack.Create``1">
  4930. <summary>Creates an empty immutable stack.</summary>
  4931. <typeparam name="T">The type of items to be stored in the immutable stack.</typeparam>
  4932. <returns>An empty immutable stack.</returns>
  4933. </member>
  4934. <member name="M:System.Collections.Immutable.ImmutableStack.Create``1(``0)">
  4935. <summary>Creates a new immutable stack that contains the specified item.</summary>
  4936. <param name="item">The item to prepopulate the stack with.</param>
  4937. <typeparam name="T">The type of items in the immutable stack.</typeparam>
  4938. <returns>A new immutable collection that contains the specified item.</returns>
  4939. </member>
  4940. <member name="M:System.Collections.Immutable.ImmutableStack.Create``1(``0[])">
  4941. <summary>Creates a new immutable stack that contains the specified array of items.</summary>
  4942. <param name="items">An array that contains the items to prepopulate the stack with.</param>
  4943. <typeparam name="T">The type of items in the immutable stack.</typeparam>
  4944. <returns>A new immutable stack that contains the specified items.</returns>
  4945. </member>
  4946. <member name="M:System.Collections.Immutable.ImmutableStack.CreateRange``1(System.Collections.Generic.IEnumerable{``0})">
  4947. <summary>Creates a new immutable stack that contains the specified items.</summary>
  4948. <param name="items">The items to add to the stack before it's immutable.</param>
  4949. <typeparam name="T">The type of items in the stack.</typeparam>
  4950. <returns>An immutable stack that contains the specified items.</returns>
  4951. </member>
  4952. <member name="M:System.Collections.Immutable.ImmutableStack.Pop``1(System.Collections.Immutable.IImmutableStack{``0},``0@)">
  4953. <summary>Removes the specified item from an immutable stack.</summary>
  4954. <param name="stack">The stack to modify.</param>
  4955. <param name="value">The item to remove from the stack.</param>
  4956. <typeparam name="T">The type of items contained in the stack.</typeparam>
  4957. <exception cref="T:System.InvalidOperationException">The stack is empty.</exception>
  4958. <returns>A stack; never <see langword="null" />.</returns>
  4959. </member>
  4960. <member name="T:System.Collections.Immutable.ImmutableStack`1">
  4961. <summary>Represents an immutable stack.
  4962. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  4963. <typeparam name="T">The type of element on the stack.</typeparam>
  4964. </member>
  4965. <member name="M:System.Collections.Immutable.ImmutableStack`1.Clear">
  4966. <summary>Removes all objects from the immutable stack.</summary>
  4967. <returns>An empty immutable stack.</returns>
  4968. </member>
  4969. <member name="M:System.Collections.Immutable.ImmutableStack`1.GetEnumerator">
  4970. <summary>Returns an enumerator that iterates through the immutable stack.</summary>
  4971. <returns>An enumerator that can be used to iterate through the stack.</returns>
  4972. </member>
  4973. <member name="M:System.Collections.Immutable.ImmutableStack`1.Peek">
  4974. <summary>Returns the object at the top of the stack without removing it.</summary>
  4975. <exception cref="T:System.InvalidOperationException">The stack is empty.</exception>
  4976. <returns>The object at the top of the stack.</returns>
  4977. </member>
  4978. <member name="M:System.Collections.Immutable.ImmutableStack`1.PeekRef">
  4979. <summary>Gets a read-only reference to the element on the top of the stack.</summary>
  4980. <exception cref="T:System.InvalidOperationException">Thrown when the stack is empty.</exception>
  4981. <returns>A read-only reference to the element on the top of the stack.</returns>
  4982. </member>
  4983. <member name="M:System.Collections.Immutable.ImmutableStack`1.Pop">
  4984. <summary>Removes the element at the top of the immutable stack and returns the stack after the removal.</summary>
  4985. <exception cref="T:System.InvalidOperationException">The stack is empty.</exception>
  4986. <returns>A stack; never <see langword="null" />.</returns>
  4987. </member>
  4988. <member name="M:System.Collections.Immutable.ImmutableStack`1.Pop(`0@)">
  4989. <summary>Removes the specified element from the immutable stack and returns the stack after the removal.</summary>
  4990. <param name="value">The value to remove from the stack.</param>
  4991. <returns>A stack; never <see langword="null" />.</returns>
  4992. </member>
  4993. <member name="M:System.Collections.Immutable.ImmutableStack`1.Push(`0)">
  4994. <summary>Inserts an object at the top of the immutable stack and returns the new stack.</summary>
  4995. <param name="value">The object to push onto the stack.</param>
  4996. <returns>The new stack.</returns>
  4997. </member>
  4998. <member name="M:System.Collections.Immutable.ImmutableStack`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator">
  4999. <summary>Returns an enumerator that iterates through the collection.</summary>
  5000. <returns>An enumerator that can be used to iterate through the collection.</returns>
  5001. </member>
  5002. <member name="M:System.Collections.Immutable.ImmutableStack`1.System#Collections#IEnumerable#GetEnumerator">
  5003. <summary>Returns an enumerator that iterates through a collection.</summary>
  5004. <returns>An <see cref="T:System.Collections.IEnumerator" /> object that can be used to iterate through the collection.</returns>
  5005. </member>
  5006. <member name="M:System.Collections.Immutable.ImmutableStack`1.System#Collections#Immutable#IImmutableStack{T}#Clear">
  5007. <summary>Removes all elements from the immutable stack.</summary>
  5008. <returns>The empty immutable stack.</returns>
  5009. </member>
  5010. <member name="M:System.Collections.Immutable.ImmutableStack`1.System#Collections#Immutable#IImmutableStack{T}#Pop">
  5011. <summary>Removes the element at the top of the immutable stack and returns the new stack.</summary>
  5012. <exception cref="T:System.InvalidOperationException">The stack is empty.</exception>
  5013. <returns>The new stack; never <see langword="null" />.</returns>
  5014. </member>
  5015. <member name="M:System.Collections.Immutable.ImmutableStack`1.System#Collections#Immutable#IImmutableStack{T}#Push(`0)">
  5016. <summary>Inserts an element at the top of the immutable stack and returns the new stack.</summary>
  5017. <param name="value">The element to push onto the stack.</param>
  5018. <returns>The new stack.</returns>
  5019. </member>
  5020. <member name="P:System.Collections.Immutable.ImmutableStack`1.Empty">
  5021. <summary>Gets an empty immutable stack.</summary>
  5022. <returns>An empty immutable stack.</returns>
  5023. </member>
  5024. <member name="P:System.Collections.Immutable.ImmutableStack`1.IsEmpty">
  5025. <summary>Gets a value that indicates whether this instance of the immutable stack is empty.</summary>
  5026. <returns>
  5027. <see langword="true" /> if this instance is empty; otherwise, <see langword="false" />.</returns>
  5028. </member>
  5029. <member name="T:System.Collections.Immutable.ImmutableStack`1.Enumerator">
  5030. <summary>Enumerates the contents of an immutable stack without allocating any memory.
  5031. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  5032. <typeparam name="T" />
  5033. </member>
  5034. <member name="M:System.Collections.Immutable.ImmutableStack`1.Enumerator.MoveNext">
  5035. <summary>Advances the enumerator to the next element of the immutable stack.</summary>
  5036. <returns>
  5037. <see langword="true" /> if the enumerator was successfully advanced to the next element; <see langword="false" /> if the enumerator has passed the end of the stack.</returns>
  5038. </member>
  5039. <member name="P:System.Collections.Immutable.ImmutableStack`1.Enumerator.Current">
  5040. <summary>Gets the element at the current position of the enumerator.</summary>
  5041. <returns>The element at the current position of the enumerator.</returns>
  5042. </member>
  5043. <member name="T:System.Linq.ImmutableArrayExtensions">
  5044. <summary>LINQ extension method overrides that offer greater efficiency for <see cref="T:System.Collections.Immutable.ImmutableArray`1" /> than the standard LINQ methods
  5045. NuGet package: System.Collections.Immutable (about immutable collections and how to install)</summary>
  5046. </member>
  5047. <member name="M:System.Linq.ImmutableArrayExtensions.Aggregate``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,``0,``0})">
  5048. <summary>Applies a function to a sequence of elements in a cumulative way.</summary>
  5049. <param name="immutableArray">The collection to apply the function to.</param>
  5050. <param name="func">A function to be invoked on each element, in a cumulative way.</param>
  5051. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5052. <returns>The final value after the cumulative function has been applied to all elements.</returns>
  5053. </member>
  5054. <member name="M:System.Linq.ImmutableArrayExtensions.Aggregate``2(System.Collections.Immutable.ImmutableArray{``1},``0,System.Func{``0,``1,``0})">
  5055. <summary>Applies a function to a sequence of elements in a cumulative way.</summary>
  5056. <param name="immutableArray">The collection to apply the function to.</param>
  5057. <param name="seed">The initial accumulator value.</param>
  5058. <param name="func">A function to be invoked on each element, in a cumulative way.</param>
  5059. <typeparam name="TAccumulate">The type of the accumulated value.</typeparam>
  5060. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5061. <returns>The final accumulator value.</returns>
  5062. </member>
  5063. <member name="M:System.Linq.ImmutableArrayExtensions.Aggregate``3(System.Collections.Immutable.ImmutableArray{``2},``0,System.Func{``0,``2,``0},System.Func{``0,``1})">
  5064. <summary>Applies a function to a sequence of elements in a cumulative way.</summary>
  5065. <param name="immutableArray">The collection to apply the function to.</param>
  5066. <param name="seed">The initial accumulator value.</param>
  5067. <param name="func">A function to be invoked on each element, in a cumulative way.</param>
  5068. <param name="resultSelector">A function to transform the final accumulator value into the result type.</param>
  5069. <typeparam name="TAccumulate">The type of the accumulated value.</typeparam>
  5070. <typeparam name="TResult">The type of result returned by the result selector.</typeparam>
  5071. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5072. <returns>The final accumulator value.</returns>
  5073. </member>
  5074. <member name="M:System.Linq.ImmutableArrayExtensions.All``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
  5075. <summary>Gets a value indicating whether all elements in this array match a given condition.</summary>
  5076. <param name="immutableArray">The array to check for matches.</param>
  5077. <param name="predicate">The predicate.</param>
  5078. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5079. <returns>
  5080. <see langword="true" /> if every element of the source sequence passes the test in the specified predicate; otherwise, <see langword="false" />.</returns>
  5081. </member>
  5082. <member name="M:System.Linq.ImmutableArrayExtensions.Any``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
  5083. <summary>Returns a value indicating whether this collection contains any elements.</summary>
  5084. <param name="builder">The builder to check for matches.</param>
  5085. <typeparam name="T">The type of elements in the array.</typeparam>
  5086. <returns>
  5087. <see langword="true" /> if the array builder contains any elements; otherwise, <see langword="false" />.</returns>
  5088. </member>
  5089. <member name="M:System.Linq.ImmutableArrayExtensions.Any``1(System.Collections.Immutable.ImmutableArray{``0})">
  5090. <summary>Gets a value indicating whether the array contains any elements.</summary>
  5091. <param name="immutableArray">The array to check for elements.</param>
  5092. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5093. <returns>
  5094. <see langword="true" /> if the array contains an elements; otherwise, <see langword="false" />.</returns>
  5095. </member>
  5096. <member name="M:System.Linq.ImmutableArrayExtensions.Any``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
  5097. <summary>Gets a value indicating whether the array contains any elements that match a specified condition.</summary>
  5098. <param name="immutableArray">The array to check for elements.</param>
  5099. <param name="predicate">The delegate that defines the condition to match to an element.</param>
  5100. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5101. <returns>
  5102. <see langword="true" /> if an element matches the specified condition; otherwise, <see langword="false" />.</returns>
  5103. </member>
  5104. <member name="M:System.Linq.ImmutableArrayExtensions.ElementAt``1(System.Collections.Immutable.ImmutableArray{``0},System.Int32)">
  5105. <summary>Returns the element at a specified index in the array.</summary>
  5106. <param name="immutableArray">The array to find an element in.</param>
  5107. <param name="index">The index for the element to retrieve.</param>
  5108. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5109. <returns>The item at the specified index.</returns>
  5110. </member>
  5111. <member name="M:System.Linq.ImmutableArrayExtensions.ElementAtOrDefault``1(System.Collections.Immutable.ImmutableArray{``0},System.Int32)">
  5112. <summary>Returns the element at a specified index in a sequence or a default value if the index is out of range.</summary>
  5113. <param name="immutableArray">The array to find an element in.</param>
  5114. <param name="index">The index for the element to retrieve.</param>
  5115. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5116. <returns>The item at the specified index, or the default value if the index is not found.</returns>
  5117. </member>
  5118. <member name="M:System.Linq.ImmutableArrayExtensions.First``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
  5119. <summary>Returns the first element in the collection.</summary>
  5120. <param name="builder">The builder to retrieve an item from.</param>
  5121. <typeparam name="T">The type of items in the array.</typeparam>
  5122. <exception cref="T:System.InvalidOperationException">If the array is empty.</exception>
  5123. <returns>The first item in the list.</returns>
  5124. </member>
  5125. <member name="M:System.Linq.ImmutableArrayExtensions.First``1(System.Collections.Immutable.ImmutableArray{``0})">
  5126. <summary>Returns the first element in an array.</summary>
  5127. <param name="immutableArray">The array to get an item from.</param>
  5128. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5129. <exception cref="T:System.InvalidOperationException">If the array is empty.</exception>
  5130. <returns>The first item in the array.</returns>
  5131. </member>
  5132. <member name="M:System.Linq.ImmutableArrayExtensions.First``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
  5133. <summary>Returns the first element in a sequence that satisfies a specified condition.</summary>
  5134. <param name="immutableArray">The array to get an item from.</param>
  5135. <param name="predicate">The delegate that defines the conditions of the element to search for.</param>
  5136. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5137. <exception cref="T:System.InvalidOperationException">If the array is empty.</exception>
  5138. <returns>The first item in the list if it meets the condition specified by <paramref name="predicate" />.</returns>
  5139. </member>
  5140. <member name="M:System.Linq.ImmutableArrayExtensions.FirstOrDefault``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
  5141. <summary>Returns the first element in the collection, or the default value if the collection is empty.</summary>
  5142. <param name="builder">The builder to retrieve an element from.</param>
  5143. <typeparam name="T">The type of item in the builder.</typeparam>
  5144. <returns>The first item in the list, if found; otherwise the default value for the item type.</returns>
  5145. </member>
  5146. <member name="M:System.Linq.ImmutableArrayExtensions.FirstOrDefault``1(System.Collections.Immutable.ImmutableArray{``0})">
  5147. <summary>Returns the first element of a sequence, or a default value if the sequence contains no elements.</summary>
  5148. <param name="immutableArray">The array to retrieve items from.</param>
  5149. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5150. <returns>The first item in the list, if found; otherwise the default value for the item type.</returns>
  5151. </member>
  5152. <member name="M:System.Linq.ImmutableArrayExtensions.FirstOrDefault``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
  5153. <summary>Returns the first element of the sequence that satisfies a condition or a default value if no such element is found.</summary>
  5154. <param name="immutableArray">The array to retrieve elements from.</param>
  5155. <param name="predicate">The delegate that defines the conditions of the element to search for.</param>
  5156. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5157. <returns>The first item in the list, if found; otherwise the default value for the item type.</returns>
  5158. </member>
  5159. <member name="M:System.Linq.ImmutableArrayExtensions.Last``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
  5160. <summary>Returns the last element in the collection.</summary>
  5161. <param name="builder">The builder to retrieve elements from.</param>
  5162. <typeparam name="T">The type of item in the builder.</typeparam>
  5163. <exception cref="T:System.InvalidOperationException">Thrown if the collection is empty.</exception>
  5164. <returns>The last element in the builder.</returns>
  5165. </member>
  5166. <member name="M:System.Linq.ImmutableArrayExtensions.Last``1(System.Collections.Immutable.ImmutableArray{``0})">
  5167. <summary>Returns the last element of the array.</summary>
  5168. <param name="immutableArray">The array to retrieve items from.</param>
  5169. <typeparam name="T">The type of element contained by the array.</typeparam>
  5170. <exception cref="T:System.InvalidOperationException">Thrown if the collection is empty.</exception>
  5171. <returns>The last element in the array.</returns>
  5172. </member>
  5173. <member name="M:System.Linq.ImmutableArrayExtensions.Last``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
  5174. <summary>Returns the last element of a sequence that satisfies a specified condition.</summary>
  5175. <param name="immutableArray">The array to retrieve elements from.</param>
  5176. <param name="predicate">The delegate that defines the conditions of the element to retrieve.</param>
  5177. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5178. <exception cref="T:System.InvalidOperationException">Thrown if the collection is empty.</exception>
  5179. <returns>The last element of the array that satisfies the <paramref name="predicate" /> condition.</returns>
  5180. </member>
  5181. <member name="M:System.Linq.ImmutableArrayExtensions.LastOrDefault``1(System.Collections.Immutable.ImmutableArray{``0}.Builder)">
  5182. <summary>Returns the last element in the collection, or the default value if the collection is empty.</summary>
  5183. <param name="builder">The builder to retrieve an element from.</param>
  5184. <typeparam name="T">The type of item in the builder.</typeparam>
  5185. <returns>The last element of a sequence, or a default value if the sequence contains no elements.</returns>
  5186. </member>
  5187. <member name="M:System.Linq.ImmutableArrayExtensions.LastOrDefault``1(System.Collections.Immutable.ImmutableArray{``0})">
  5188. <summary>Returns the last element of a sequence, or a default value if the sequence contains no elements.</summary>
  5189. <param name="immutableArray">The array to retrieve items from.</param>
  5190. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5191. <returns>The last element of a sequence, or a default value if the sequence contains no elements.</returns>
  5192. </member>
  5193. <member name="M:System.Linq.ImmutableArrayExtensions.LastOrDefault``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
  5194. <summary>Returns the last element of a sequence that satisfies a condition or a default value if no such element is found.</summary>
  5195. <param name="immutableArray">The array to retrieve an element from.</param>
  5196. <param name="predicate">The delegate that defines the conditions of the element to search for.</param>
  5197. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5198. <returns>The last element of a sequence, or a default value if the sequence contains no elements.</returns>
  5199. </member>
  5200. <member name="M:System.Linq.ImmutableArrayExtensions.Select``2(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,``1})">
  5201. <summary>Projects each element of a sequence into a new form.</summary>
  5202. <param name="immutableArray">The immutable array to select items from.</param>
  5203. <param name="selector">A transform function to apply to each element.</param>
  5204. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5205. <typeparam name="TResult">The type of the result element.</typeparam>
  5206. <returns>An <see cref="T:System.Collections.Generic.IEnumerable`1" /> whose elements are the result of invoking the transform function on each element of source.</returns>
  5207. </member>
  5208. <member name="M:System.Linq.ImmutableArrayExtensions.SelectMany``3(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Collections.Generic.IEnumerable{``1}},System.Func{``0,``1,``2})">
  5209. <summary>Projects each element of a sequence to an <see cref="T:System.Collections.Generic.IEnumerable`1" />, flattens the resulting sequences into one sequence, and invokes a result selector function on each element therein.</summary>
  5210. <param name="immutableArray">The immutable array.</param>
  5211. <param name="collectionSelector">A transform function to apply to each element of the input sequence.</param>
  5212. <param name="resultSelector">A transform function to apply to each element of the intermediate sequence.</param>
  5213. <typeparam name="TSource">The type of the elements of <paramref name="immutableArray" />.</typeparam>
  5214. <typeparam name="TCollection">The type of the intermediate elements collected by <paramref name="collectionSelector" />.</typeparam>
  5215. <typeparam name="TResult">The type of the elements of the resulting sequence.</typeparam>
  5216. <returns>An <see cref="T:System.Collections.Generic.IEnumerable`1" /> whose elements are the result of invoking the one-to-many transform function <paramref name="collectionSelector" /> on each element of <paramref name="immutableArray" /> and then mapping each of those sequence elements and their corresponding source element to a result element.</returns>
  5217. </member>
  5218. <member name="M:System.Linq.ImmutableArrayExtensions.SequenceEqual``2(System.Collections.Immutable.ImmutableArray{``1},System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEqualityComparer{``1})">
  5219. <summary>Determines whether two sequences are equal according to an equality comparer.</summary>
  5220. <param name="immutableArray">The array to use for comparison.</param>
  5221. <param name="items">The items to use for comparison.</param>
  5222. <param name="comparer">The comparer to use to check for equality.</param>
  5223. <typeparam name="TDerived">The type of element in the compared array.</typeparam>
  5224. <typeparam name="TBase">The type of element contained by the collection.</typeparam>
  5225. <returns>
  5226. <see langword="true" /> to indicate the sequences are equal; otherwise, <see langword="false" />.</returns>
  5227. </member>
  5228. <member name="M:System.Linq.ImmutableArrayExtensions.SequenceEqual``2(System.Collections.Immutable.ImmutableArray{``1},System.Collections.Immutable.ImmutableArray{``0},System.Collections.Generic.IEqualityComparer{``1})">
  5229. <summary>Determines whether two sequences are equal according to an equality comparer.</summary>
  5230. <param name="immutableArray">The array to use for comparison.</param>
  5231. <param name="items">The items to use for comparison.</param>
  5232. <param name="comparer">The comparer to use to check for equality.</param>
  5233. <typeparam name="TDerived">The type of element in the compared array.</typeparam>
  5234. <typeparam name="TBase">The type of element contained by the collection.</typeparam>
  5235. <returns>
  5236. <see langword="true" /> to indicate the sequences are equal; otherwise, <see langword="false" />.</returns>
  5237. </member>
  5238. <member name="M:System.Linq.ImmutableArrayExtensions.SequenceEqual``2(System.Collections.Immutable.ImmutableArray{``1},System.Collections.Immutable.ImmutableArray{``0},System.Func{``1,``1,System.Boolean})">
  5239. <summary>Determines whether two sequences are equal according to an equality comparer.</summary>
  5240. <param name="immutableArray">The array to use for comparison.</param>
  5241. <param name="items">The items to use for comparison.</param>
  5242. <param name="predicate">The comparer to use to check for equality.</param>
  5243. <typeparam name="TDerived">The type of element in the compared array.</typeparam>
  5244. <typeparam name="TBase">The type of element contained by the collection.</typeparam>
  5245. <returns>
  5246. <see langword="true" /> to indicate the sequences are equal; otherwise, <see langword="false" />.</returns>
  5247. </member>
  5248. <member name="M:System.Linq.ImmutableArrayExtensions.Single``1(System.Collections.Immutable.ImmutableArray{``0})">
  5249. <summary>Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence.</summary>
  5250. <param name="immutableArray">The array to retrieve the element from.</param>
  5251. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5252. <returns>The element in the sequence.</returns>
  5253. </member>
  5254. <member name="M:System.Linq.ImmutableArrayExtensions.Single``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
  5255. <summary>Returns the only element of a sequence that satisfies a specified condition, and throws an exception if more than one such element exists.</summary>
  5256. <param name="immutableArray">The immutable array to return a single element from.</param>
  5257. <param name="predicate">The function to test whether an element should be returned.</param>
  5258. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5259. <returns>Returns <see cref="T:System.Boolean" />.</returns>
  5260. </member>
  5261. <member name="M:System.Linq.ImmutableArrayExtensions.SingleOrDefault``1(System.Collections.Immutable.ImmutableArray{``0})">
  5262. <summary>Returns the only element of the array, or a default value if the sequence is empty; this method throws an exception if there is more than one element in the sequence.</summary>
  5263. <param name="immutableArray">The array.</param>
  5264. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5265. <exception cref="T:System.InvalidOperationException">
  5266. <paramref name="source" /> contains more than one element.</exception>
  5267. <returns>The element in the array, or the default value if the array is empty.</returns>
  5268. </member>
  5269. <member name="M:System.Linq.ImmutableArrayExtensions.SingleOrDefault``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
  5270. <summary>Returns the only element of a sequence that satisfies a specified condition or a default value if no such element exists; this method throws an exception if more than one element satisfies the condition.</summary>
  5271. <param name="immutableArray">The array to get the element from.</param>
  5272. <param name="predicate">The condition the element must satisfy.</param>
  5273. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5274. <exception cref="T:System.InvalidOperationException">More than one element satisfies the condition in <paramref name="predicate" />.</exception>
  5275. <returns>The element if it satisfies the specified condition; otherwise the default element.</returns>
  5276. </member>
  5277. <member name="M:System.Linq.ImmutableArrayExtensions.ToArray``1(System.Collections.Immutable.ImmutableArray{``0})">
  5278. <summary>Copies the contents of this array to a mutable array.</summary>
  5279. <param name="immutableArray">The immutable array to copy into a mutable one.</param>
  5280. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5281. <returns>The newly instantiated array.</returns>
  5282. </member>
  5283. <member name="M:System.Linq.ImmutableArrayExtensions.ToDictionary``2(System.Collections.Immutable.ImmutableArray{``1},System.Func{``1,``0})">
  5284. <summary>Creates a dictionary based on the contents of this array.</summary>
  5285. <param name="immutableArray">The array to create a dictionary from.</param>
  5286. <param name="keySelector">The key selector.</param>
  5287. <typeparam name="TKey">The type of the key.</typeparam>
  5288. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5289. <returns>The newly initialized dictionary.</returns>
  5290. </member>
  5291. <member name="M:System.Linq.ImmutableArrayExtensions.ToDictionary``2(System.Collections.Immutable.ImmutableArray{``1},System.Func{``1,``0},System.Collections.Generic.IEqualityComparer{``0})">
  5292. <summary>Creates a dictionary based on the contents of this array.</summary>
  5293. <param name="immutableArray">The array to create a dictionary from.</param>
  5294. <param name="keySelector">The key selector.</param>
  5295. <param name="comparer">The comparer to initialize the dictionary with.</param>
  5296. <typeparam name="TKey">The type of the key.</typeparam>
  5297. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5298. <returns>The newly initialized dictionary.</returns>
  5299. </member>
  5300. <member name="M:System.Linq.ImmutableArrayExtensions.ToDictionary``3(System.Collections.Immutable.ImmutableArray{``2},System.Func{``2,``0},System.Func{``2,``1})">
  5301. <summary>Creates a dictionary based on the contents of this array.</summary>
  5302. <param name="immutableArray">The array to create a dictionary from.</param>
  5303. <param name="keySelector">The key selector.</param>
  5304. <param name="elementSelector">The element selector.</param>
  5305. <typeparam name="TKey">The type of the key.</typeparam>
  5306. <typeparam name="TElement">The type of the element.</typeparam>
  5307. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5308. <returns>The newly initialized dictionary.</returns>
  5309. </member>
  5310. <member name="M:System.Linq.ImmutableArrayExtensions.ToDictionary``3(System.Collections.Immutable.ImmutableArray{``2},System.Func{``2,``0},System.Func{``2,``1},System.Collections.Generic.IEqualityComparer{``0})">
  5311. <summary>Creates a dictionary based on the contents of this array.</summary>
  5312. <param name="immutableArray">The array to create a dictionary from.</param>
  5313. <param name="keySelector">The key selector.</param>
  5314. <param name="elementSelector">The element selector.</param>
  5315. <param name="comparer">The comparer to initialize the dictionary with.</param>
  5316. <typeparam name="TKey">The type of the key.</typeparam>
  5317. <typeparam name="TElement">The type of the element.</typeparam>
  5318. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5319. <returns>The newly initialized dictionary.</returns>
  5320. </member>
  5321. <member name="M:System.Linq.ImmutableArrayExtensions.Where``1(System.Collections.Immutable.ImmutableArray{``0},System.Func{``0,System.Boolean})">
  5322. <summary>Filters a sequence of values based on a predicate.</summary>
  5323. <param name="immutableArray">The array to filter.</param>
  5324. <param name="predicate">The condition to use for filtering the array content.</param>
  5325. <typeparam name="T">The type of element contained by the collection.</typeparam>
  5326. <returns>Returns <see cref="T:System.Collections.Generic.IEnumerable`1" /> that contains elements that meet the condition.</returns>
  5327. </member>
  5328. </members>
  5329. </doc>