8 writes to cache
mscorlib (8)
system\runtime\serialization\formatters\binary\binaryobjectinfo.cs (8)
92
cache
= null;
219
cache
= new SerObjectInfoCache(objectType);
229
cache
= new SerObjectInfoCache(objectType);
282
cache
= new SerObjectInfoCache(fullTypeName, assemblyString, hasTypeForwardedFrom);
325
cache
= (SerObjectInfoCache)serObjectInfoInit.seenBeforeTable[objectType];
329
cache
= new SerObjectInfoCache(objectType);
340
cache
= (SerObjectInfoCache)serObjectInfoInit.seenBeforeTable[objectType];
344
cache
= new SerObjectInfoCache(objectType);
34 references to cache
mscorlib (34)
system\runtime\serialization\formatters\binary\binaryobjectinfo.cs (34)
163
CheckTypeForwardedFrom(
cache
, objectType, binderAssemblyString);
169
CheckTypeForwardedFrom(
cache
, objectType, binderAssemblyString);
176
for (int i=0; i<
cache
.memberInfos.Length; i++)
178
SerTrace.Log( this, objectInfoId," Constructor 1 memberInfos data ",
cache
.memberInfos[i].Name," ",memberData[i]);
230
CheckTypeForwardedFrom(
cache
, objectType, binderAssemblyString);
238
CheckTypeForwardedFrom(
cache
, objectType, binderAssemblyString);
284
cache
.memberNames = new String[count];
285
cache
.memberTypes = new Type[count];
291
cache
.memberNames[i] = siEnum.Name;
292
cache
.memberTypes[i] = siEnum.ObjectType;
294
SerTrace.Log( this,objectInfoId+" ",objectType," InitSiWrite ",
cache
.memberNames[i]," Type ",
cache
.memberTypes[i]," data ",memberData[i]);
326
if (
cache
== null)
330
serObjectInfoInit.seenBeforeTable.Add(objectType,
cache
);
341
if (
cache
== null)
346
cache
.memberInfos = FormatterServices.GetSerializableMembers(objectType, context);
347
int count =
cache
.memberInfos.Length;
348
cache
.memberNames = new String[count];
349
cache
.memberTypes = new Type[count];
354
cache
.memberNames[i] =
cache
.memberInfos[i].Name;
355
cache
.memberTypes[i] = GetMemberType(
cache
.memberInfos[i]);
356
SerTrace.Log( this, objectInfoId," InitMemberInfo name ",
cache
.memberNames[i],", type ",
cache
.memberTypes[i],", memberInfoType ",
cache
.memberInfos[i].GetType());
358
serObjectInfoInit.seenBeforeTable.Add(objectType,
cache
);
363
memberData = FormatterServices.GetObjectData(obj,
cache
.memberInfos);
378
SerTrace.Log( this,objectInfoId," ", objectType," GetTypeFullName isSi ",isSi, " "+
cache
.fullTypeName);
379
return binderTypeName ??
cache
.fullTypeName;
384
SerTrace.Log( this,objectInfoId," ", objectType," GetAssemblyString Entry isSi ",isSi, " ",
cache
.assemblyString);
385
return binderAssemblyString ??
cache
.assemblyString;
423
outMemberNames =
cache
.memberNames;
424
outMemberTypes =
cache
.memberTypes;