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

◆ GetObjectData()

virtual void System.Security.Claims.ClaimsIdentity.GetObjectData ( SerializationInfo info,
StreamingContext context )
inlineprotectedvirtualinherited

Reimplemented in System.Security.Principal.WindowsIdentity.

Definition at line 271 of file ClaimsIdentity.cs.

272 {
273 if (info == null)
274 {
275 throw new OutOfMemoryException();
276 }
277 string version = this.m_version;
278 info.AddValue("System.Security.ClaimsIdentity.version", version);
279 bool flag = string.IsNullOrEmpty(this.m_authenticationType);
281 info.AddValue("System.Security.ClaimsIdentity.authenticationType", authenticationType);
282 string nameType = this.m_nameType;
283 info.AddValue("System.Security.ClaimsIdentity.nameClaimType", nameType);
284 string roleType = this.m_roleType;
285 info.AddValue("System.Security.ClaimsIdentity.roleClaimType", roleType);
286 bool flag2 = string.IsNullOrEmpty(this.m_label);
287 string label = this.m_label;
288 info.AddValue("System.Security.ClaimsIdentity.label", label);
289 if (this.m_actor != null)
290 {
292 string text;
293 info.AddValue("System.Security.ClaimsIdentity.actor", text);
294 return;
295 }
296 string text2 = this.SerializeClaims();
297 info.AddValue("System.Security.ClaimsIdentity.claims", text2);
298 if (this.m_bootstrapContext != null)
299 {
301 string text3;
302 info.AddValue("System.Security.ClaimsIdentity.bootstrapContext", text3);
303 return;
304 }
305 }
class f__AnonymousType0<< Count > j__TPar
void AddValue(string name, object value, Type type)

References System.Runtime.Serialization.SerializationInfo.AddValue(), System.info, j__TPar, System.Security.Claims.ClaimsIdentity.m_actor, System.Security.Claims.ClaimsIdentity.m_authenticationType, System.Security.Claims.ClaimsIdentity.m_bootstrapContext, System.Security.Claims.ClaimsIdentity.m_label, System.Security.Claims.ClaimsIdentity.m_nameType, System.Security.Claims.ClaimsIdentity.m_roleType, System.Security.Claims.ClaimsIdentity.m_version, System.Security.Claims.ClaimsIdentity.SerializeClaims(), and System.text.