terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ SetInternal() [2/2]

void System.Net.WebHeaderCollection.SetInternal ( string name,
string value )
inlinepackage

Definition at line 833 of file WebHeaderCollection.cs.

834 {
835 if (!true)
836 {
837 }
838 if (name != null && name._stringLength != 0)
839 {
840 long num = 0L;
841 string text = WebHeaderCollection.CheckBadChars(name, num != 0L);
842 string text2 = WebHeaderCollection.CheckBadChars(value, true);
843 if (text2 != null)
844 {
845 WebHeaderCollectionType type = this.m_Type;
846 int stringLength = text2._stringLength;
847 }
848 base.InvalidateCachedArrays();
849 global::System.Collections.Specialized.NameValueCollection innerCollection = this.InnerCollection;
850 return;
851 }
852 throw new ArrayTypeMismatchException();
853 }
class f__AnonymousType0<< Count > j__TPar
global::System.Collections.Specialized.NameValueCollection InnerCollection

References System.Net.WebHeaderCollection.CheckBadChars(), System.Net.WebHeaderCollection.InnerCollection, j__TPar, System.L, System.Net.WebHeaderCollection.m_Type, System.name, System.text, and System.value.