microsoft\win32\registrykey.cs (41)
408BCLDebug.Assert(false, "Unexpected code path in RegistryKey::CreateSubKey");
602BCLDebug.Correctness(errorCode == 0, "RegDeleteValue failed. Here's your error code: "+errorCode);
630BCLDebug.Assert(index >= 0 && index < hkeyNames.Length, "index is out of range!");
631BCLDebug.Assert((((int)hKey) & 0xFFFFFFF0) == 0x80000000, "Invalid hkey value!");
1222BCLDebug.Assert(false, "[InternalGetValue] RegQueryValue returned ERROR_SUCCESS but gave a negative datasize");
1243BCLDebug.Assert(datasize==8, "datasize==8");
1257BCLDebug.Assert(datasize==4, "datasize==4");
1361BCLDebug.Assert(blob[nextNull] == (char)0, "blob[nextNull] should be 0");
1717BCLDebug.Assert(name!=null,"[FixupName]name!=null");
1855BCLDebug.Assert(checkMode == RegistryKeyPermissionCheck.Default, "Should be called from a key opened under default mode only!");
1856BCLDebug.Assert(subKeyWritable == false, "subKeyWritable should be false (unused)");
1857BCLDebug.Assert(subKeyCheck == RegistryKeyPermissionCheck.Default, "subKeyCheck should be Default (unused)");
1867BCLDebug.Assert(checkMode != RegistryKeyPermissionCheck.ReadSubTree, "We shouldn't allow creating sub key under read-only key!");
1868BCLDebug.Assert(subKeyWritable == false, "subKeyWritable should be false (unused)");
1869BCLDebug.Assert(subKeyCheck == RegistryKeyPermissionCheck.Default, "subKeyCheck should be Default (unused)");
1881BCLDebug.Assert(checkMode != RegistryKeyPermissionCheck.ReadSubTree, "We shouldn't allow creating sub key under read-only key!");
1882BCLDebug.Assert(subKeyWritable == false, "subKeyWritable should be false (unused)");
1883BCLDebug.Assert(subKeyCheck == RegistryKeyPermissionCheck.Default, "subKeyCheck should be Default (unused)");
1898BCLDebug.Assert(subKeyWritable == false, "subKeyWritable should be false (unused)");
1899BCLDebug.Assert(subKeyCheck == RegistryKeyPermissionCheck.Default, "subKeyCheck should be Default (unused)");
1911BCLDebug.Assert(checkMode != RegistryKeyPermissionCheck.ReadSubTree, "We shouldn't allow writing value to read-only key!");
1912BCLDebug.Assert(subKeyWritable == false, "subKeyWritable should be false (unused)");
1913BCLDebug.Assert(subKeyCheck == RegistryKeyPermissionCheck.Default, "subKeyCheck should be Default (unused)");
1925BCLDebug.Assert(subKeyWritable == false, "subKeyWritable should be false (unused)");
1926BCLDebug.Assert(subKeyCheck == RegistryKeyPermissionCheck.Default, "subKeyCheck should be Default (unused)");
1937BCLDebug.Assert(subKeyWritable == false, "subKeyWritable should be false (unused)");
1938BCLDebug.Assert(subKeyCheck == RegistryKeyPermissionCheck.Default, "subKeyCheck should be Default (unused)");
1950BCLDebug.Assert(checkMode != RegistryKeyPermissionCheck.ReadSubTree, "We shouldn't allow writing value to read-only key!");
1951BCLDebug.Assert(subKeyWritable == false, "subKeyWritable should be false (unused)");
1952BCLDebug.Assert(subKeyCheck == RegistryKeyPermissionCheck.Default, "subKeyCheck should be Default (unused)");
1965BCLDebug.Assert(checkMode != RegistryKeyPermissionCheck.ReadSubTree, "We shouldn't allow creating value under read-only key!");
1966BCLDebug.Assert(subKeyWritable == false, "subKeyWritable should be false (unused)");
1967BCLDebug.Assert(subKeyCheck == RegistryKeyPermissionCheck.Default, "subKeyCheck should be Default (unused)");
1981BCLDebug.Assert(item == null, "CheckKeyReadPermission should never have a non-null item parameter!");
1982BCLDebug.Assert(subKeyWritable == false, "subKeyWritable should be false (unused)");
1983BCLDebug.Assert(subKeyCheck == RegistryKeyPermissionCheck.Default, "subKeyCheck should be Default (unused)");
1994BCLDebug.Assert(subKeyWritable == false, "subKeyWritable should be false (unused)");
2023BCLDebug.Assert(subKeyCheck == RegistryKeyPermissionCheck.Default, "subKeyCheck should be Default (unused)");
2052BCLDebug.Assert(subKeyWritable == false, "subKeyWritable should be false (unused)");
2067BCLDebug.Assert(false, "CheckPermission default switch case should never be hit!");
2131BCLDebug.Assert(false, "unexpected code path");
system\reflection\emit\assemblybuilder.cs (7)
644BCLDebug.Log("DYNIL", "## DYNIL LOGGING: AssemblyBuilder.DefineDynamicModule( " + name + " )");
868BCLDebug.Log("DYNIL", "## DYNIL LOGGING: AssemblyBuilder.DefineDynamicModule( " + name + ", " + fileName + ", " + emitSymbolInfo + " )");
1046BCLDebug.Log("DYNIL", "## DYNIL LOGGING: AssemblyBuilder.DefineResource( " + name + ", " + fileName + ")");
1136BCLDebug.Log("DYNIL", "## DYNIL LOGGING: AssemblyBuilder.AddResourceFile( " + name + ", " + fileName + ")");
1576BCLDebug.Log("DYNIL", "## DYNIL LOGGING: AssemblyBuilder.GetDynamicModule( " + name + " )");
1625BCLDebug.Log("DYNIL", "## DYNIL LOGGING: AssemblyBuilder.SetEntryPoint");
1788BCLDebug.Log("DYNIL","## DYNIL LOGGING: AssemblyBuilder.Save( " + assemblyFileName + " )");
system\resources\resourcereader.cs (13)
168BCLDebug.Log("RESMGRFILEFORMAT", "ResourceReader .ctor(String). UnmanagedMemoryStream: "+(_ums!=null));
193BCLDebug.Log("RESMGRFILEFORMAT", "ResourceReader .ctor(Stream). UnmanagedMemoryStream: "+(_ums!=null));
213BCLDebug.Log("RESMGRFILEFORMAT", "ResourceReader .ctor(Stream, Hashtable). UnmanagedMemoryStream: "+(_ums!=null));
325BCLDebug.Log("RESMGRFILEFORMAT", "FindPosForResource for "+name+" hash: "+hash.ToString("x", CultureInfo.InvariantCulture));
394BCLDebug.Log("RESMGRFILEFORMAT", "FindPosForResource for "+name+": Found a hash collision, HOWEVER, neither of these collided values equaled the given string.");
517BCLDebug.Log("RESMGRFILEFORMAT", "GetValueForNameIndex: dataPos: "+dataPos);
556BCLDebug.Log("RESMGRFILEFORMAT", "LoadString("+pos.ToString("x", CultureInfo.InvariantCulture)+" returned "+(s==null ? "[a null string]" : s));
610BCLDebug.Log("RESMGRFILEFORMAT", "LoadObject type: "+type.Name+" pos: 0x"+_store.BaseStream.Position.ToString("x", CultureInfo.InvariantCulture));
682BCLDebug.Log("RESMGRFILEFORMAT", "LoadObjectV2 type: "+typeCode+" pos: 0x"+_store.BaseStream.Position.ToString("x", CultureInfo.InvariantCulture));
900BCLDebug.Log("RESMGRFILEFORMAT", LogLevel.Status, "ReadResources: Unexpected ResMgr header version: {0} Skipping ahead {1} bytes.", resMgrHeaderVersion, numBytesToSkip);
904BCLDebug.Log("RESMGRFILEFORMAT", "ReadResources: Parsing ResMgr header v1.");
950BCLDebug.Log("RESMGRFILEFORMAT", "ReadResources: Expecting " + _numResources + " resources.");
1072BCLDebug.Log("RESMGRFILEFORMAT", String.Format(CultureInfo.InvariantCulture, "ReadResources: _nameOffset = 0x{0:x} _dataOffset = 0x{1:x}", _nameSectionOffset, _dataSectionOffset));
system\Runtime\InteropServices\Variant.cs (43)
334BCLDebug.Assert(IsEmpty, "variant");
363BCLDebug.Assert(IsEmpty, "variant"); // The setter can only be called once as VariantClear might be needed otherwise
376BCLDebug.Assert(VariantType == VarEnum.VT_I1, "variant");
380BCLDebug.Assert(IsEmpty, "variant"); // The setter can only be called once as VariantClear might be needed otherwise
390BCLDebug.Assert(VariantType == VarEnum.VT_I2, "variant");
394BCLDebug.Assert(IsEmpty, "variant"); // The setter can only be called once as VariantClear might be needed otherwise
404BCLDebug.Assert(VariantType == VarEnum.VT_I4, "variant");
408BCLDebug.Assert(IsEmpty, "variant"); // The setter can only be called once as VariantClear might be needed otherwise
418BCLDebug.Assert(VariantType == VarEnum.VT_I8, "variant");
422BCLDebug.Assert(IsEmpty, "variant"); // The setter can only be called once as VariantClear might be needed otherwise
432BCLDebug.Assert(VariantType == VarEnum.VT_UI1, "variant");
436BCLDebug.Assert(IsEmpty, "variant"); // The setter can only be called once as VariantClear might be needed otherwise
446BCLDebug.Assert(VariantType == VarEnum.VT_UI2, "variant");
450BCLDebug.Assert(IsEmpty, "variant"); // The setter can only be called once as VariantClear might be needed otherwise
460BCLDebug.Assert(VariantType == VarEnum.VT_UI4, "variant");
464BCLDebug.Assert(IsEmpty, "variant"); // The setter can only be called once as VariantClear might be needed otherwise
474BCLDebug.Assert(VariantType == VarEnum.VT_UI8, "variant");
478BCLDebug.Assert(IsEmpty, "variant"); // The setter can only be called once as VariantClear might be needed otherwise
488BCLDebug.Assert(VariantType == VarEnum.VT_INT, "variant");
492BCLDebug.Assert(IsEmpty, "variant"); // The setter can only be called once as VariantClear might be needed otherwise
502BCLDebug.Assert(VariantType == VarEnum.VT_UINT, "variant");
506BCLDebug.Assert(IsEmpty, "variant"); // The setter can only be called once as VariantClear might be needed otherwise
516BCLDebug.Assert(VariantType == VarEnum.VT_BOOL, "variant");
520BCLDebug.Assert(IsEmpty, "variant"); // The setter can only be called once as VariantClear might be needed otherwise
530BCLDebug.Assert(VariantType == VarEnum.VT_ERROR, "variant");
534BCLDebug.Assert(IsEmpty, "variant"); // The setter can only be called once as VariantClear might be needed otherwise
544BCLDebug.Assert(VariantType == VarEnum.VT_R4, "variant");
548BCLDebug.Assert(IsEmpty, "variant"); // The setter can only be called once as VariantClear might be needed otherwise
558BCLDebug.Assert(VariantType == VarEnum.VT_R8, "variant");
562BCLDebug.Assert(IsEmpty, "variant"); // The setter can only be called once as VariantClear might be needed otherwise
572BCLDebug.Assert(VariantType == VarEnum.VT_DECIMAL, "variant");
579BCLDebug.Assert(IsEmpty, "variant"); // The setter can only be called once as VariantClear might be needed otherwise
591BCLDebug.Assert(VariantType == VarEnum.VT_CY, "variant");
595BCLDebug.Assert(IsEmpty, "variant"); // The setter can only be called once as VariantClear might be needed otherwise
605BCLDebug.Assert(VariantType == VarEnum.VT_DATE, "variant");
609BCLDebug.Assert(IsEmpty, "variant"); // The setter can only be called once as VariantClear might be needed otherwise
619BCLDebug.Assert(VariantType == VarEnum.VT_BSTR, "variant");
623BCLDebug.Assert(IsEmpty, "variant"); // The setter can only be called once as VariantClear might be needed otherwise
633BCLDebug.Assert(VariantType == VarEnum.VT_UNKNOWN, "variant");
639BCLDebug.Assert(IsEmpty, "variant"); // The setter can only be called once as VariantClear might be needed otherwise
652BCLDebug.Assert(VariantType == VarEnum.VT_DISPATCH, "variant");
658BCLDebug.Assert(IsEmpty, "variant"); // The setter can only be called once as VariantClear might be needed otherwise
673BCLDebug.Assert(VariantType == (VarEnum.VT_BYREF | VarEnum.VT_VARIANT), "variant");
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (20)
256BCLDebug.Log("INTEROP", "[WinRT_Eventing] Event subscribed for managed instance = " + instance + ", handler = " + handler + "\n");
303BCLDebug.Log("INTEROP", "[WinRT_Eventing] no registrationTokens found for instance=" + instance + ", handler= " + handler + "\n");
326BCLDebug.Log("INTEROP", "[WinRT_Eventing] Event unsubscribed for managed instance = " + instance + ", handler = " + handler + ", token = " + token.m_value + "\n");
351BCLDebug.Log("INTEROP", "[WinRT_Eventing] Cache cleared for managed instance = " + instance + "\n");
357BCLDebug.Log("INTEROP", "[WinRT_Eventing] Start removing all events for instance = " + instance + "\n");
359BCLDebug.Log("INTEROP", "[WinRT_Eventing] Finished removing all events for instance = " + instance + "\n");
426BCLDebug.Log("INTEROP", "[WinRT_Eventing] Finalizing EventRegistrationTokenList for " + _tokenListCount.Key + "\n");
473BCLDebug.Log("INTEROP", "[WinRT_Eventing] Incremented TokenListCount for " + _key + ", Value = " + newCount + "\n");
484BCLDebug.Log("INTEROP", "[WinRT_Eventing] Decremented TokenListCount for " + _key + ", Value = " + newCount + "\n");
500BCLDebug.Log("INTEROP", "[WinRT_Eventing] Removing " + _key + " from cache" + "\n");
502BCLDebug.Log("INTEROP", "[WinRT_Eventing] s_eventRegistrations size = " + s_eventRegistrations.Count + "\n");
621BCLDebug.Log("INTEROP", "[WinRT_Eventing] Event subscribed for instance = " + instanceKey + ", handler = " + handler + "\n");
677BCLDebug.Log("INTEROP", "[WinRT_Eventing] Adding (" + instance + "," + removeMethod.Method + ") into cache" + "\n");
712BCLDebug.Log("INTEROP", "[WinRT_Eventing] no registrationTokens found for instance=" + instanceKey + ", handler= " + handler + "\n");
733BCLDebug.Log("INTEROP", "[WinRT_Eventing] no token list found for instance=" + instanceKey + ", handler= " + handler + "\n");
755BCLDebug.Log("INTEROP", "[WinRT_Eventing] Event unsubscribed for managed instance = " + instanceKey + ", handler = " + handler + ", token = " + token.m_value + "\n");
804BCLDebug.Log("INTEROP", "[WinRT_Eventing] Cache cleared for managed instance = " + instanceKey + "\n");
815BCLDebug.Log("INTEROP", "[WinRT_Eventing] Start removing all events for instance = " + instanceKey + "\n");
817BCLDebug.Log("INTEROP", "[WinRT_Eventing] Finished removing all events for instance = " + instanceKey + "\n");
1044BCLDebug.Log("INTEROP", "[WinRT_Eventing] Event unsubscribed for token = " + token.m_value + "\n");
system\runtime\remoting\lease.cs (21)
61BCLDebug.Trace("REMOTE", "Lease Constructor ",managedObject," initialLeaseTime "+initialLeaseTime+" renewOnCall "+renewOnCallTime+" sponsorshipTimeout ",sponsorshipTimeout);
90BCLDebug.Trace("REMOTE", "Lease ",id," InitializeLifetimeService, lease Marshalled");
107BCLDebug.Trace("REMOTE", "Lease Set RenewOnCallProperty ",managedObject," "+renewOnCallTime);
125BCLDebug.Trace("REMOTE", "Lease Set SponsorshipTimeout Property ",managedObject," "+sponsorshipTimeout);
146BCLDebug.Trace("REMOTE", "Lease Set InitialLeaseTime Property ",managedObject," "+InitialLeaseTime+", current state "+((Enum)state).ToString());
179BCLDebug.Trace("REMOTE", "Lease "+id+" Register Sponsor renewalTime ",renewalTime," state ",((Enum)state).ToString());
203BCLDebug.Trace("REMOTE", "Lease",id," Unregister state ",((Enum)state).ToString());
261BCLDebug.Trace("REMOTE","Lease ",id," Renew ",renewalTime," state ",((Enum)state).ToString());
272BCLDebug.Trace("REMOTE","Lease ",id," Remove state ",((Enum)state).ToString());
284BCLDebug.Trace("REMOTE","Lease ",id," Cancel Managed Object ",managedObject," state ",((Enum)state).ToString());
326BCLDebug.Trace("REMOTE","Lease ",id," LeaseExpired state ",((Enum)state).ToString());
347BCLDebug.Trace("REMOTE","Lease ",id," SponsorCall state ",((Enum)state).ToString());
385BCLDebug.Trace("REMOTE","Lease ",id," SponsorCall Sponsor Exception ");
401BCLDebug.Trace("REMOTE","Lease ",id," SponsorTimeout sponsorState ",((Enum)sponsorStateInfo.sponsorState).ToString());
414BCLDebug.Trace("REMOTE","Lease ",id," ProcessNextSponsor");
446BCLDebug.Trace("REMOTE","Lease ",id," ProcessNextSponsor no more sponsors");
464BCLDebug.Trace("REMOTE","Lease ",id," SponsorCallback IAsyncResult ",iar," state ",((Enum)state).ToString());
489BCLDebug.Trace("REMOTE","Lease ",id," SponsorCallback sponsor completed");
502BCLDebug.Trace("REMOTE","Lease ",id," SponsorCallback Sponsor Exception ");
530BCLDebug.Trace("REMOTE","Lease ",id," SponsorCallback sponsor did not renew ");
542BCLDebug.Trace("REMOTE","Lease ",id," SponsorCallback sponsor did not complete, timed out");
system\runtime\remoting\leasemanager.cs (9)
72BCLDebug.Assert(leaseManager != null, "[LeaseManager.GetLeaseManager()]leaseManager !=null");
80BCLDebug.Trace("REMOTE","LeaseManager Constructor");
95BCLDebug.Trace("REMOTE","LeaseManager ChangePollTime ", pollTime);
102BCLDebug.Trace("REMOTE","LeaseManager AddLease ",lease.id," ",lease.managedObject);
111BCLDebug.Trace("REMOTE","LeaseManager DeleteLease ",lease.id);
123BCLDebug.Trace("REMOTE","LeaseManager DumpLease ",leases[i].managedObject);
130BCLDebug.Trace("REMOTE","LeaseManager GetLease ",obj);
141BCLDebug.Trace("REMOTE","LeaseManager ChangedLeaseTime ",lease.id," ",lease.managedObject," newTime ",newTime," currentTime ", DateTime.UtcNow);
164BCLDebug.Trace("REMOTE","LeaseManager RegisterSponsorCall Lease ",lease," sponsorshipTimeOut ",sponsorshipTimeOut);
system\runtime\remoting\lifetimeservices.cs (10)
269BCLDebug.Assert(identity != null, "[LifetimeServices.GetObjectSink] identity != null");
277BCLDebug.Trace("REMOTE", "LeaseLifeTimeServiceProperty.GetObjectSink, no lease SingleCall",obj,", NextSink "+nextSink);
288BCLDebug.Trace("REMOTE", "LeaseLifeTimeServiceProperty.GetObjectSink, return from InitializeLifetimeService obj ",obj,", lease ",leaseObj);
299BCLDebug.Trace("REMOTE", "LeaseLifeTimeServiceProperty.GetObjectSink, no lease ",obj,", NextSink "+nextSink);
312BCLDebug.Trace("REMOTE", "LeaseLifeTimeServiceProperty.GetObjectSink, no lease because InitialLeaseTime is Zero ",obj);
328BCLDebug.Trace("REMOTE", "LeaseLifeTimeServiceProperty.GetObjectSink, Lease already exists for object ",obj);
339BCLDebug.Trace("REMOTE", "LeaseLifeTimeServiceProperty.GetObjectSink, New Lease, lease not of type Lease ",obj);
351BCLDebug.Trace("REMOTE", "LeaseLifeTimeServiceProperty.GetObjectSink, New Lease, lease is type Lease ",obj);
371BCLDebug.Trace("REMOTE", "LeaseLifeTimeServiceProperty.GetObjectSink, lease created ",obj);
377BCLDebug.Trace("REMOTE", "LeaseLifeTimeServiceProperty.GetObjectSink, No RenewOnCall so no sink created ",obj);
system\runtime\remoting\objref.cs (13)
361BCLDebug.Assert(null != sinks, "null != sinks");
437BCLDebug.Assert(o.GetType() == typeof(ObjRef), "this should be just an ObjRef");
591BCLDebug.Assert(CanSmuggle(), "Caller should have made sure that CanSmuggle() was true first.");
720BCLDebug.Trace("REMOTE", "ObjRef.GetRealObject: Returning *this*\n");
728BCLDebug.Assert(null != uri, "null != uri");
790BCLDebug.Assert((null != typeName) && (null != assemName), "non-null values expected");
794BCLDebug.Trace("REMOTE", "ObjRef.GetCustomMarshaledCOMObject. AssemblyName is: ", assemName, " but we can't load it.");
801BCLDebug.Assert(serverType!=null, "bad objRef!");
872BCLDebug.Assert(
933BCLDebug.Assert(xadData != null, "bad objRef?");
946BCLDebug.Assert(xadData != null, "bad objRef?");
962BCLDebug.Assert(idObj != null,"idObj != null");
969BCLDebug.Assert(null != obj, "Identity not setup correctly");
system\runtime\remoting\remotingservices.cs (22)
499BCLDebug.Trace("REMOTE", "Entered Marshal for URI" + ObjURI + "\n");
874BCLDebug.Trace("REMOTE", "RemotingServices.Disconnect ", obj, " for context ", Thread.CurrentContext);
984BCLDebug.Trace("REMOTE", "RemotingService::Unmarshal for URL" + url + "and for Type" + classToProxy);
1223BCLDebug.Assert(null != idObj,"null != idObj");
1251BCLDebug.Assert(serverID.ServerType.IsMarshalByRef,
1282BCLDebug.Assert(IsTransparentProxy(obj), "Unexpected server");
1342BCLDebug.Assert(ObjRef.IsWellFormed(idObj.ObjectRef),
1405BCLDebug.Assert(
1415BCLDebug.Assert(IsTransparentProxy(proxy),"IsTransparentProxy(proxy)");
1470BCLDebug.Assert(null != proxy && IsTransparentProxy(proxy),"null != proxy && IsTransparentProxy(proxy)");
1516BCLDebug.Assert(IsTransparentProxy(proxy),"IsTransparentProxy(proxy)");
1523BCLDebug.Assert(null != realProxy,"null != realProxy");
1559BCLDebug.Assert(
1650BCLDebug.Assert(null != url,"null != url");
1663BCLDebug.Assert(null != url,"null != url");
1691BCLDebug.Assert(null != idObj,"null != idObj");
1733BCLDebug.Assert(rp != null, "Shouldn't be called with null real proxy.");
1924BCLDebug.Trace("REMOTE", "RemotingServices.MethodBaseFromMethodCallMessage with null sig ", msg.MethodName);
1945BCLDebug.Trace("REMOTE", "RemotingServices.MethodBaseFromMethodCallMessage with non-null sig ", msg.MethodName, " ", signature.Length);
1959BCLDebug.Trace("REMOTE", "RemotingServices.MethodBaseFromMethodCallMessage with null sig ", msg.MethodName);
1968BCLDebug.Trace("REMOTE", "RemotingServices.MethodBaseFromMethodCallMessage with non-null sig ", msg.MethodName, " ", signature.Length);
2773BCLDebug.Trace("REMOTINGCHANNELS",messages);
system\runtime\serialization\formatters\binary\binarycommonclasses.cs (49)
359if (BCLDebug.CheckEnabled("BINARY"))
360BCLDebug.Trace("BINARY", " ",name, " = ", value);
367if (BCLDebug.CheckEnabled("BINARY"))
368BCLDebug.Trace("BINARY", " ",name, " = ", value);
482if (BCLDebug.CheckEnabled("BINARY"))
484BCLDebug.Trace("BINARY", "*****SerializationHeaderRecord*****");
490BCLDebug.Trace("BINARY","***********************************");
536if (BCLDebug.CheckEnabled("BINARY"))
538BCLDebug.Trace("BINARY","*****BinaryAssembly*****");
542BCLDebug.Trace("BINARY","****************************");
578if (BCLDebug.CheckEnabled("BINARY"))
580BCLDebug.Trace("BINARY","*****BinaryCrossAppDomainAssembly*****");
584BCLDebug.Trace("BINARY","****************************");
629if (BCLDebug.CheckEnabled("BINARY"))
631BCLDebug.Trace("BINARY","*****BinaryObject*****");
635BCLDebug.Trace("BINARY","****************************");
869if (BCLDebug.CheckEnabled("BINARY"))
871BCLDebug.Trace("BINARY","*****BinaryMethodCall*****");
894BCLDebug.Trace("BINARY","****************************");
1149if (BCLDebug.CheckEnabled("BINARY"))
1151BCLDebug.Trace("BINARY","*****BinaryMethodReturn*****");
1175BCLDebug.Trace("BINARY","****************************");
1221if (BCLDebug.CheckEnabled("BINARY"))
1223BCLDebug.Trace("BINARY","*****BinaryObjectString*****");
1227BCLDebug.Trace("BINARY","****************************");
1263if (BCLDebug.CheckEnabled("BINARY"))
1265BCLDebug.Trace("BINARY","*****BinaryCrossAppDomainString*****");
1269BCLDebug.Trace("BINARY","****************************");
1302if (BCLDebug.CheckEnabled("BINARY"))
1304BCLDebug.Trace("BINARY","*****BinaryCrossAppDomainMap*****");
1307BCLDebug.Trace("BINARY","****************************");
1352if (BCLDebug.CheckEnabled("BINARY"))
1354BCLDebug.Trace("BINARY","*****MemberPrimitiveTyped*****");
1358BCLDebug.Trace("BINARY","****************************");
1441if (BCLDebug.CheckEnabled("BINARY"))
1443BCLDebug.Trace("BINARY","*****BinaryObjectWithMap*****");
1452BCLDebug.Trace("BINARY","****************************");
1874if (BCLDebug.CheckEnabled("BINARY"))
1877BCLDebug.Trace("BINARY","*****MemberPrimitiveUnTyped*****");
1879BCLDebug.Trace("BINARY","****************************");
1920if (BCLDebug.CheckEnabled("BINARY"))
1922BCLDebug.Trace("BINARY","*****MemberReference*****");
1925BCLDebug.Trace("BINARY","****************************");
1997if (BCLDebug.CheckEnabled("BINARY"))
1999BCLDebug.Trace("BINARY","*****ObjectNull*****");
2015BCLDebug.Trace("BINARY","********************");
2051if (BCLDebug.CheckEnabled("BINARY"))
2053BCLDebug.Trace("BINARY","*****MessageEnd*****");
2061BCLDebug.Trace("BINARY","********************");
system\runtime\serialization\formatters\binary\binaryformatterwriter.cs (19)
57BCLDebug.Trace("BINARY", "\n%%%%%BinaryWriterBegin%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n");
62BCLDebug.Trace("BINARY", "\n%%%%%BinaryWriterEnd%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n");
238BCLDebug.Trace("BINARY", "-----Top Level Object-----");
374BCLDebug.Trace("BINARY", "-----Top Level Object-----");
461BCLDebug.Trace("BINARY", "-----Top Level Object-----");
499BCLDebug.Trace("BINARY", "-----Top Level Object-----");
542BCLDebug.Trace("BINARY", "-----item-----");
546BCLDebug.Trace("BINARY","-----",memberNameInfo.NIname,"-----");
560BCLDebug.Trace("BINARY", "-----item-----");
564BCLDebug.Trace("BINARY", "-----",memberNameInfo.NIname,"-----");
587BCLDebug.Trace("BINARY", "-----item-----");
592BCLDebug.Trace("BINARY", "-----",memberNameInfo.NIname,"-----");
610BCLDebug.Trace("BINARY", "-----item-----");
614BCLDebug.Trace("BINARY", "-----",memberNameInfo.NIname,"-----");
626BCLDebug.Trace("BINARY", "-----item-----");
630BCLDebug.Trace("BINARY", "-----",memberNameInfo.NIname,"-----");
639BCLDebug.Trace("BINARY", "-----item-----");
643BCLDebug.Trace("BINARY", "-----",memberNameInfo.NIname,"-----");
677BCLDebug.Trace("BINARY", "-----item-----");
system\runtime\serialization\formatterservices.cs (5)
346BCLDebug.Trace("SER", "[PopulateObjectMembers]Enter.");
365BCLDebug.Trace("SER", "[PopulateObjectMembers]\tType:", obj.GetType(), "\tMember:",
371BCLDebug.Trace("SER", "[PopulateObjectMembers]Leave.");
462BCLDebug.Trace("SER", "[LoadAssemblyFromString]Looking for assembly: ", assemblyName);
472BCLDebug.Trace("SER", "[LoadAssemblyFromString]", e.ToString());
system\runtime\serialization\objectidgenerator.cs (2)
104BCLDebug.Trace("SER", "[ObjectIDGenerator.GetID] Adding objectid: ", (m_currentCount), " and hash code: ",
117BCLDebug.Trace("SER", "[ObjectIDGenerator.GetID] Found objectid: ", (m_ids[pos]), " with hashcode: ", RuntimeHelpers.GetHashCode(obj), " Type: ", obj);
system\runtime\serialization\objectmanager.cs (56)
171BCLDebug.Trace("SER", "[AddObjectHolder]Adding ObjectHolder with id: ", holder.m_id, " Current Bins: ", m_objects.Length);
196BCLDebug.Trace("SER", "[AddObjectHolder]Reallocating m_objects to have ", newSize, " bins");
204BCLDebug.Trace("SER", "[AddObjectHolder]Trying to put an object in bin ", index);
218BCLDebug.Trace("SER", "[ObjectManager.GetCompletionInfo]Getting fixup info for: ", fixup.m_id);
225BCLDebug.Trace("SER", "[ObjectManager.GetCompletionInfo]ValueType implementing ISerializable. Delaying fixup.");
233BCLDebug.Trace("SER", "[GetCompletionInfo]Unable to find fixup for: ", fixup.m_id);
234BCLDebug.Trace("SER", "[GetCompletionInfo]Holder: ", ((holder==null)?"<null>":"Non Null"));
235BCLDebug.Trace("SER", "[GetCompletionInfo]IsIncomplete: ", (holder.IsIncompleteObjectReference));
236BCLDebug.Trace("SER", "[GetCompletionInfo]Object: ", ((holder.ObjectValue==null)?"<null>":"Non Null"));
270BCLDebug.Trace("SER","[ObjectManager.FixupSpecialObject]Fixing up ISerializable object ",holder.ObjectValue," with id ",holder.m_id);
313BCLDebug.Trace("SER", "[ResolveObjectReference]ID: ", holder.m_id);
314BCLDebug.Trace("SER", "[ResolveObjectReference]HasISerializable: ", holder.HasISerializable);
323BCLDebug.Trace("SER", "Object: ", holder.m_id, " did NOT have enough information to resolve the IObjectReference.");
331BCLDebug.Trace("SER", "[ResolveObjectReference]Caught exception trying to call GetRealObject.");
335BCLDebug.Trace("SER", "Object: ", holder.m_id, " resolved the IObjectReference.");
369BCLDebug.Trace("SER", "[DoValueTypeFixup] valueType fixsite = ", holder.ObjectValue, " fixobj=",value);
481BCLDebug.Trace("SER", sb.ToString());
517BCLDebug.Trace("SER", "[ObjectManager.CompleteObject]Complete object ", holder.m_id, " of SI Type: ", si.FullTypeName);
528BCLDebug.Trace("SER", "[ObjectManager.CompleteObject]Updating object ", holder.m_id, " with object ", tempObjectHolder.m_id);
547BCLDebug.Trace("SER", "[ObjectManager.CompleteObject]Non-ISerializableObject: ", holder.m_id);
553BCLDebug.Trace("SER", "[ObjectManager.CompleteObject]Getting fixup info for object: ", currentFixup.m_id);
555BCLDebug.Trace("SER", "[ObjectManager.CompleteObject]Fixing up: ", currentFixup.m_id);
590BCLDebug.Trace("SER", "[ObjectManager.CompleteObject]Fixing member: ", tempMember.Name, " in object ", holder.m_id,
652BCLDebug.Trace("SER","[ObjectManager.DoNewlyRegisteredObjectFixups]Object is an Incomplete Object Reference. Exiting.");
660BCLDebug.Trace("SER", "[DoNewlyRegisteredObjectFixups]Exiting with no dependencies");
667BCLDebug.Trace("SER", "[ObjectManager.DoNewlyRegisteredObjectFixups]Object has ", dependencies.Count, " fixups registered");
671BCLDebug.Trace("SER", "[ObjectManager.DoNewlyRegisteredObjectFixups]Doing a fixup on object: ", temp.m_id);
675BCLDebug.Trace("SER", "[DoNewlyRegisteredObjectFixups]Doing fixup for object ", temp.m_id);
676BCLDebug.Trace("SER", "[DoNewlyRegisteredObjectFixups]ObjectValue ", ((temp.ObjectValue==null)?"<null>":temp.ObjectValue));
686BCLDebug.Trace("SER", "[ObjectManager.DoNewlyRegisteredObjectFixups]Exiting.");
699BCLDebug.Trace("SER", "GetObject. objectID: ", objectID);
702BCLDebug.Trace("SER", "GetObject. holder: null or IncompleteObjectReference");
706BCLDebug.Trace("SER", "GetObject. holder contains: ", ((holder.ObjectValue==null)?"<null>":holder.ObjectValue));
766BCLDebug.Trace("SER", "[ObjectManager.RegisterObject]ID: ", objectID, "\tType: ", selectorType, "\tValue: ", obj);
789BCLDebug.Trace("SER", "[ObjectManager.RegisterObject]Adding a new object holder for ", objectID, "\tValueType: ", obj.GetType());
821BCLDebug.Trace("SER", "[ObjectManager.RegisterObject]Tracking incomplete objref for element: ", temp.m_id);
829BCLDebug.Trace("SER", "[ObjectManager.RegisterObject]Calling DoNewlyRegisteredObjectFixups for element: ", temp.m_id);
843BCLDebug.Trace("SER", "[ObjectManager.RegisterObject]Exiting.");
879BCLDebug.Trace("SER", "[CompleteISerializableObject]Unable to get constructor for: ", t);
880BCLDebug.Trace("SER", "[CompleteISerializableObject]Stack trace was: ", e);
909BCLDebug.Trace("SER", "[ObjectManager.DoFixups]Entering");
926BCLDebug.Trace("SER", "[ObjectManager.DoFixups]Object with id: ", temp.m_id, " not found.");
929BCLDebug.Trace("SER", "[ObjectManager.DoFixups]Looking at object with id: ", temp.m_id, " which has ",
952BCLDebug.Trace("SER", "[ObjectManager.DoFixups]All fixups completed. We don't need to walk the list.");
960BCLDebug.Trace("SER", "[ObjectManager.DoFixups]Remaining object length is: ", m_objects.Length);
965BCLDebug.Trace("SER", "[ObjectManager.DoFixups]Doing a delayed fixup on object ", temp.m_id);
976BCLDebug.Correctness(false, "[ObjectManager.DoFixups] Fixup counting is incorrect.");
1028BCLDebug.Trace("SER", "RecordFixup. ObjectToBeFixed: ", objectToBeFixed, "\tMember: ", member.Name, "\tRequiredObject: ", objectRequired);
1055BCLDebug.Trace("SER", "RecordDelayedFixup. ObjectToBeFixed: ", objectToBeFixed, "\tMember: ", memberName, "\tRequiredObject: ", objectRequired);
1073BCLDebug.Trace("SER", "RecordArrayElementFixup. ObjectToBeFixed: ", arrayToBeFixed, "\tIndex: ", index, "\tRequiredObject: ", objectRequired);
1090BCLDebug.Trace("SER", "RecordArrayElementFixup. ArrayToBeFixed: ", arrayToBeFixed, "\tRequiredObject: ", objectRequired);
1295BCLDebug.Trace("SER", "[ObjectManager.UpdateDescendentDependencyChain]Looking for holder with id: ", holder.ContainerID);
1411BCLDebug.Trace("SER", "[ObjectManager.ValueTypeFixupPerformed]Flags: ", m_flags & VALUETYPE_FIXUP_PERFORMED);
1412BCLDebug.Trace("SER", "[ObjectManager.ValueTypeFixupPerformed]DependentObjects: ", (m_dependentObjects==null)?"<null>":m_dependentObjects.Count.ToString());
1705BCLDebug.Trace("SER", "[LongList.EnlargeArray]Enlarging array of size ", m_values.Length);
1750BCLDebug.Trace("SER", "[ObjectHolderList.EnlargeArray]Enlarging array of size ", m_values.Length);