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

◆ Set() [3/3]

override void System.Net.WebHeaderCollection.Set ( string name,
string value )
inline

Definition at line 808 of file WebHeaderCollection.cs.

809 {
810 if (!true)
811 {
812 }
813 if (name != null && name._stringLength != 0)
814 {
815 long num = 0L;
816 string text = WebHeaderCollection.CheckBadChars(name, num != 0L);
817 this.ThrowOnRestrictedHeader(text);
818 string text2 = WebHeaderCollection.CheckBadChars(value, true);
819 if (text2 != null)
820 {
821 WebHeaderCollectionType type = this.m_Type;
822 int stringLength = text2._stringLength;
823 }
825 base.InvalidateCachedArrays();
826 global::System.Collections.Specialized.NameValueCollection innerCollection = this.InnerCollection;
827 return;
828 }
829 throw new ArrayTypeMismatchException();
830 }
class f__AnonymousType0<< Count > j__TPar
global::System.Collections.Specialized.NameValueCollection InnerCollection
void ThrowOnRestrictedHeader(string headerName)

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