513 references to BCLDebug
mscorlib (513)
microsoft\win32\registry.cs (3)
149BCLDebug.Assert(basekey != null, "basekey can't be null."); 174BCLDebug.Assert(basekey != null, "basekey can't be null!"); 176BCLDebug.Assert(key != null, "An exception should be thrown if failed!");
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");
microsoft\win32\win32native.cs (4)
534BCLDebug.Assert(buffer == null || (stringBytes >= 0 && (ulong)stringBytes <= buffer.ByteLength), 551BCLDebug.Assert((stringBytes == 0 && buffer == IntPtr.Zero) || (stringBytes > 0 && stringBytes <= UInt16.MaxValue && buffer != IntPtr.Zero), 835BCLDebug.Assert(hModule != IntPtr.Zero, "GetModuleHandle failed. Dll isn't loaded?"); 1311BCLDebug.Assert((0xFFFF0000 & errorCode) == 0, "This is an HRESULT, not an error code!");
system\activator.cs (2)
696BCLDebug.Trace("REMOTE", "{0}{1}", title, success); 698BCLDebug.Trace("REMOTE", "{0}{1}", title, failure);
system\appdomain.cs (5)
486BCLDebug.Assert(!RemotingServices.IsTransparentProxy(this), "QCalls should be made with the real AppDomain object rather than a transparent proxy"); 1110BCLDebug.Assert(_FusionStore.ApplicationTrust != null, "Expected to find runtime supplied ApplicationTrust"); 4164BCLDebug.Assert(propertyValues != null, "propertyValues != null"); 4165BCLDebug.Assert(propertyNames.Length == propertyValues.Length, "propertyNames.Length == propertyValues.Length"); 4188BCLDebug.Assert(false, "Unexpected default domain property");
system\cfgparser.cs (1)
312BCLDebug.Trace("REMOTE", "NotifyEvent "+((Enum)nEvent).ToString()+"\n");
system\collections\arraylist.cs (1)
587BCLDebug.Correctness(index >= 0 || !(obj is Int32), "You passed an Int32 to Remove that wasn't in the ArrayList." + Environment.NewLine + "Did you mean RemoveAt? int: "+obj+" Count: "+Count);
system\convert.cs (1)
2187BCLDebug.Assert(returnString.Length == j, "returnString.Length == j");
system\delegate.cs (1)
272BCLDebug.Assert(currentType != null || _target.GetType().IsCOMObject, "The class hierarchy should declare the method");
system\environment.cs (1)
1018if (r == IntPtr.Zero) BCLDebug.Assert(false, "SetEnvironmentVariable failed: " + Marshal.GetLastWin32Error());
system\globalization\datetimeformat.cs (1)
1064BCLDebug.Assert(val == 0, "DateTimeFormat.AppendNumber(): digits less than size of val");
system\globalization\eastasianlunisolarcalendar.cs (1)
238BCLDebug.Log("year = " + year + ", month = " + month + ", day = " + day);
system\globalization\hijricalendar.cs (1)
686BCLDebug.Log("year = " + year + ", month = " + month + ", day = " + day);
system\globalization\Persiancalendar.cs (1)
508BCLDebug.Log("year = " + year + ", month = " + month + ", day = " + day);
system\globalization\umalquracalendar.cs (1)
774BCLDebug.Log("year = " + year + ", month = " + month + ", day = " + day);
system\io\bufferedstream.cs (3)
110BCLDebug.Perf(!(stream is FileStream), "FileStream is buffered - don't wrap it in a BufferedStream"); 111BCLDebug.Perf(!(stream is MemoryStream), "MemoryStream shouldn't be wrapped in a BufferedStream!"); 112BCLDebug.Perf(!(stream is BufferedStream), "BufferedStream shouldn't be wrapped in another BufferedStream!");
system\io\filestream.cs (2)
319BCLDebug.Log(String.Format("AsyncFSCallback called. errorCode: " + errorCode + " numBytes: " + numBytes)); 1311BCLDebug.Correctness(_handle.IsClosed, "You didn't close a FileStream & it got finalized. Name: \""+_fileName+"\"");
system\io\memorystream.cs (1)
551BCLDebug.Perf(_exposable, "MemoryStream::GetBuffer will let you avoid a copy.");
system\reflection\assembly.cs (1)
3116BCLDebug.Assert((useLoadFile == false && throwOnFileNotFound == false) || dllNotFoundException != null,
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\reflection\emit\assemblybuilderdata.cs (3)
320BCLDebug.Log("DYNIL","## DYNIL LOGGING: AssemblyBuilderData.CheckTypeNameConflict( " + strTypeName + " )"); 422BCLDebug.Log("DYNIL","## DYNIL LOGGING: AssemblyBuilderData.AddPublicComType( " + type.FullName + " )"); 440BCLDebug.Log("DYNIL","## DYNIL LOGGING: AssemblyBuilderData.AddPermissionRequests");
system\reflection\emit\enumbuilder.cs (3)
43BCLDebug.Log("DYNIL","## DYNIL LOGGING: EnumBuilder.DefineLiteral( " + literalName + " )"); 56BCLDebug.Log("DYNIL", "## DYNIL LOGGING: EnumBuilder.CreateType() "); 63BCLDebug.Log("DYNIL","## DYNIL LOGGING: EnumBuilder.CreateType() ");
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\resources\resourcewriter.cs (1)
504BCLDebug.Log("RESMGRFILEFORMAT", "Generate: start of DataSection: 0x" + startOfDataSection.ToString("x", CultureInfo.InvariantCulture) + " nameSection length: " + nameSection.Length);
system\resources\runtimeresourceset.cs (3)
194BCLDebug.Log("RESMGRFILEFORMAT", "RuntimeResourceSet .ctor(String)"); 214BCLDebug.Log("RESMGRFILEFORMAT", "RuntimeResourceSet .ctor(Stream)"); 305BCLDebug.Log("RESMGRFILEFORMAT", "Going down fast path in RuntimeResourceSet::GetObject");
system\rttype.cs (1)
449BCLDebug.Assert(true, "Invalid CacheType");
system\Runtime\InteropServices\ComEventsMethod.cs (1)
233BCLDebug.Assert(Empty == false, "event sink is executed but delegates list is empty");
system\Runtime\InteropServices\ComEventsSink.cs (4)
76BCLDebug.Assert(sinks != null, "removing event sink from empty sinks collection"); 77BCLDebug.Assert(sink != null, "specify event sink is null"); 259BCLDebug.Assert(_connectionPoint == null, "comevent sink is already advised"); 274BCLDebug.Assert(_connectionPoint != null, "can not unadvise from empty connection point");
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\clripropertyvalueimpl.cs (2)
381BCLDebug.Assert((int)Type > 1024, "Unexpected array PropertyType value"); 478BCLDebug.Assert(false, "T in coersion function wasn't understood as a type that can be coerced - make sure that CoerceScalarValue and NumericScalarTypes are in sync");
system\runtime\interopservices\windowsruntime\clrireferenceimpl.cs (2)
26BCLDebug.Assert(obj != null, "Must not be null"); 105BCLDebug.Assert(obj != null, "Must not be null");
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\memoryfailpoint.cs (2)
224BCLDebug.Trace("MEMORYFAILPOINT", "MemoryFailPoint: Checking for {0} MB, for allocation size of {1} MB, stage {9}. Need page file? {2} Need Address Space? {3} Need Contiguous address space? {4} Avail page file: {5} MB Total free VA space: {6} MB Contiguous free address space (found): {7} MB Space reserved via process's MemoryFailPoints: {8} MB", 345BCLDebug.Trace("MEMORYFAILPOINT", "MemoryFailPoint: Checked for free VA space. Found enough? {0} Asked for: {1} Found: {2}", (freeSpaceAfterGCHeap >= size), size, freeSpaceAfterGCHeap);
system\runtime\remoting\activationservices.cs (8)
100BCLDebug.Trace("REMOTE","Starting up activation service ",Thread.CurrentContext); 900BCLDebug.Log("Registering remoting activator"); 1210BCLDebug.Log("ActivationSvc:GlobalAttrib::GetPropForNewCtx"); 1284BCLDebug.Trace("REMOTE", "Method missing w/name ", msg.MethodName); 1312BCLDebug.Log("Activation Services:: new Activate()"); 1380BCLDebug.Log("Attempting X-Context activation!"); 1404BCLDebug.Log("Attempting Connection to remote activation service"); 1467BCLDebug.Log("ActivationListener: received new activation request!");
system\runtime\remoting\asyncresult.cs (1)
76BCLDebug.Assert(!_endInvokeCalled && value,
system\runtime\remoting\callcontext.cs (5)
343BCLDebug.Assert(false, "Security data should only be serialized in cross appdomain case."); 649BCLDebug.Assert(msg != null, "Why is the message null?"); 652BCLDebug.Assert(properties != null, "Why are the properties null?"); 685BCLDebug.Assert(msg != null, "Why is the message null?"); 700BCLDebug.Assert(properties != null, "Why are the properties null?");
system\runtime\remoting\channelservices.cs (6)
333BCLDebug.Trace("REMOTE", "ChannelServices::CreateMessageSink for url " + url + "\n"); 594BCLDebug.Trace("REMOTE", "Setting info for receiver " + j.ToString(CultureInfo.InvariantCulture) + "\n"); 660BCLDebug.Trace("REMOTE", "Dispatching for URI " + InternalSink.GetURI(msg)); 969BCLDebug.Trace("REMOTE", "Identity found = " + (ident == null ? "null" : "ServerIdentity")); 977BCLDebug.Trace("REMOTE", "URI " + uri); 985BCLDebug.Trace("REMOTE", "Identity created = " + (ident == null ? "null" : "ServerIdentity"));
system\runtime\remoting\clientsponsor.cs (5)
48BCLDebug.Trace("REMOTE", "ClientSponsor Register "+obj); 64BCLDebug.Trace("REMOTE", "ClientSponsor Unregister "+obj); 79BCLDebug.Trace("REMOTE", "ClientSponsor Renewal "+m_renewalTime); 86BCLDebug.Trace("REMOTE","ClientSponsor Close"); 106BCLDebug.Trace("REMOTE","ClientSponsor Finalize");
system\runtime\remoting\configuration.cs (1)
837BCLDebug.Trace("REMOTE", "Adding well known service type for " + entry.ObjectUri);
system\runtime\remoting\contextproperty.cs (1)
175BCLDebug.Log("ContextAttribute::ContextProperty::Freeze"+
system\runtime\remoting\crossappdomainchannel.cs (2)
331BCLDebug.Assert(remove == -1, "multiple sinks?"); 347BCLDebug.Assert(remove != -1, "Bad domainId for unload?");
system\runtime\remoting\crosscontextchannel.cs (3)
145BCLDebug.Assert(null != srvID,"null != srvID"); 148BCLDebug.Assert(null != srvID.ServerContext, "null != srvID.ServerContext"); 458BCLDebug.Assert(
system\runtime\remoting\identity.cs (9)
209BCLDebug.Assert(objURI!=null,"objURI should not be null here"); 264BCLDebug.Assert(IdentityHolder.TableLock.IsWriterLockHeld, "IDTable should be write-locked"); 289BCLDebug.Assert( 292BCLDebug.Assert( 306BCLDebug.Assert( 314BCLDebug.Assert( 322BCLDebug.Assert( 466BCLDebug.Assert(IdentityHolder.TableLock.IsWriterLockHeld, "IDTable should be write-locked"); 504BCLDebug.Assert(
system\runtime\remoting\identityholder.cs (1)
722BCLDebug.Trace("REMOTE",
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\message.cs (6)
852BCLDebug.Trace( 3107BCLDebug.Trace("REMOTE", "TypeName: " + (typeName == null ? "<null>" : typeName) + "\n"); 3112BCLDebug.Trace("REMOTE", "Type: " + (t == null ? "<null>" : t.ToString()) + "\n"); 3215BCLDebug.Trace("REMOTE", "Method resolved w/sig ", MI == null ? "<null>" : "<not null>"); 3253BCLDebug.Trace("REMOTE", "Method resolved w/name ", MI == null ? "<null>" : methodName); 3254BCLDebug.Trace("REMOTE", "sig not filled in!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
system\runtime\remoting\objecthandle.cs (1)
61BCLDebug.Trace("REMOTE", "ObjectHandle.InitializeLifetimeService");
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\redirectionproxy.cs (2)
58BCLDebug.Assert(RemotingServices.IsTransparentProxy(obj), "expecting a proxy"); 108BCLDebug.Assert(serverType.IsCOMObject, "This must be a COM object type.");
system\runtime\remoting\remotingconfigparser.cs (4)
146BCLDebug.Assert(IsLeaseTimeSet == true, "LeaseTime not set"); 159BCLDebug.Assert(IsRenewOnCallTimeSet == true, "RenewOnCallTime not set"); 172BCLDebug.Assert(IsSponsorshipTimeoutSet == true, "SponsorShipTimeout not set"); 185BCLDebug.Assert(IsLeaseManagerPollTimeSet == true, "LeaseManagerPollTime not set");
system\runtime\remoting\remotingproxy.cs (8)
192BCLDebug.Assert( 331BCLDebug.Assert(!useDispatchMessage,"!useDispatchMessage"); 423BCLDebug.Assert(ar != null,"ar != null"); 424BCLDebug.Assert( (callType & Message.BeginAsync) != 0, 447BCLDebug.Assert(false, "How did we get here?"); 542BCLDebug.Assert( 651BCLDebug.Assert(null != IdentityObject,"null != IdentityObject"); 719BCLDebug.Assert(
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\remoting\serveridentity.cs (6)
170BCLDebug.Assert( !IsSingleCall() && !IsSingleton(), "Bad serverID"); 176BCLDebug.Assert( !IsSingleCall() && !IsSingleton(), "Bad serverID"); 227BCLDebug.Assert( null != _serverObjectChain, 255BCLDebug.Assert(Thread.CurrentContext==_srvCtx, 312BCLDebug.Assert(null != rp, "null != rp"); 442BCLDebug.Assert(MarshalByRefObject.GetIdentity((MarshalByRefObject)this.TPOrObject) == this, "Server ID mismatch with Object");
system\runtime\remoting\stackbuildersink.cs (4)
78BCLDebug.Assert((server!=null) == (!_bStatic), 230BCLDebug.Assert((server!=null)==(!_bStatic), 352BCLDebug.Trace("REMOTE", "Method missing w/name ", msg.MethodName); 481BCLDebug.Assert(messageCallContext != null, "message should always have a call context");
system\runtime\remoting\terminatorsinks.cs (8)
313BCLDebug.Assert(replyMsg is IConstructionReturnMessage,"bad ctorRetMsg"); 602BCLDebug.Assert(replyMsg is IConstructionReturnMessage,"bad ctorRetMsg"); 757BCLDebug.Assert(null != srvID,"null != srvID"); 772BCLDebug.Assert(null != _stackBuilderSink,"null != _stackBuilderSink"); 845BCLDebug.Assert(nextSink != null, 854BCLDebug.Assert(RemotingServices.CORProfilerTrackRemoting(), 856BCLDebug.Assert(RemotingServices.CORProfilerTrackRemotingAsync(), 884BCLDebug.Assert(false, "ClientAsyncReplyTerminatorSink.AsyncProcessMessage called!");
system\runtime\serialization\formatter.cs (2)
130BCLDebug.Trace("SER", "[Formatter.WriteMember]data: ", data); 139BCLDebug.Trace("SER", "[Formatter.WriteMember]data is of type: " , varType);
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\formatters\binary\binaryparser.cs (3)
256BCLDebug.Trace("BINARY", "\n*****EOF*************************\n"); 264BCLDebug.Trace("BINARY", "\n%%%%%BinaryReaderBegin%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n"); 269BCLDebug.Trace("BINARY","\n%%%%%BinaryReaderEnd%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n");
system\runtime\serialization\formatters\sertrace.cs (7)
51BCLDebug.Trace("SOAP", messages); 58return BCLDebug.CheckEnabled("SOAP"); 75BCLDebug.Trace("SOAP", messages); 82return BCLDebug.CheckEnabled("Soap"); 94BCLDebug.Trace("SOAP",messages); 132BCLDebug.Trace("BINARY", messages); 142BCLDebug.Trace("BINARY",messages);
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);
system\runtime\serialization\safeserializationmanager.cs (1)
422BCLDebug.Assert(previousType != null, "We should have at least one inheritance from the base type");
system\runtime\serialization\serializationinfo.cs (2)
396BCLDebug.Trace("SER", "[SerializationInfo.AddValue]Tried to add ", name, " twice to the SI."); 456BCLDebug.Trace("SER", "[SerializationInfo.FindElement]Looking for ", name, " CurrMember is: ", m_currMember);
system\runtime\serialization\valuetypefixupinfo.cs (1)
45BCLDebug.Trace("SER", "[ValueTypeFixupInfo.ctor]Creating a VTFI with Container ID: ", containerID, " and MemberInfo ", member);
system\security\cryptography\cryptoconfig.cs (1)
589BCLDebug.Assert(machineNameHT != null, "machineNameHT != null");
system\security\cryptography\utils.cs (1)
1062BCLDebug.Assert(method != null, "method != null");
system\security\framesecuritydescriptor.cs (1)
155BCLDebug.Assert(AppDomain.CurrentDomain.IsLegacyCasPolicyEnabled, "Deny is only valid in legacy CAS mode");
system\security\permissions\fileiopermission.cs (1)
1094BCLDebug.Assert(
system\security\policy\appdomainevidencefactory.cs (1)
56BCLDebug.Assert(m_targetDomain == AppDomain.CurrentDomain, "AppDomainEvidenceFactory should not be used across domains.");
system\security\policy\applicationdirectorymembershipcondition.cs (1)
107BCLDebug.Assert( this.GetType().FullName.Equals( "System.Security.Policy.ApplicationDirectoryMembershipCondition" ), "Class name changed!" );
system\security\policy\applicationtrust.cs (2)
286BCLDebug.Assert(obj != null, "You need to pass in an object"); 308BCLDebug.Assert(elObject != null, "You need to pass in a security element");
system\security\policy\evidence.cs (5)
219BCLDebug.Assert(typeof(EvidenceBase).IsAssignableFrom(runtimeEvidenceType), "All runtime evidence types should be EvidenceBases"); 756BCLDebug.Assert(false, "Uknown DuplicateEvidenceAction"); 1275BCLDebug.Assert(cloneOrigin.Target != null && cloneOrigin.Target == Target, 1717BCLDebug.Assert(descriptor != null, "descriptor != null"); 1851BCLDebug.Assert(m_currentEvidence != null, "m_currentEvidence != null");
system\security\policy\hash.cs (2)
459BCLDebug.Assert(hashType == typeof(HashAlgorithm), "hashType == typeof(HashAlgorithm)"); 500BCLDebug.Assert(this.GetType().FullName.Equals("System.Security.Policy.Hash"), "Class name changed!");
system\security\policy\policystatement.cs (3)
216BCLDebug.Assert(HasDependentEvidence, "HasDependentEvidence"); 234BCLDebug.Assert(dependentEvidence != null, "dependentEvidence != null"); 250BCLDebug.Assert(childPolicy != null, "childPolicy != null");
system\security\policymanager.cs (3)
82BCLDebug.Assert(AppDomain.CurrentDomain.IsLegacyCasPolicyEnabled, "We're about to apply policy in a policy disabled app"); 234BCLDebug.Assert(membershipCondition != null, "membershipCondition != null"); 235BCLDebug.Assert(evidence != null, "evidence != null");
system\security\securitymanager.cs (2)
502BCLDebug.Assert(AppDomain.CurrentDomain.IsLegacyCasPolicyEnabled, "Evaluating assembly level declarative security without legacy CAS policy enabled"); 513BCLDebug.Assert(AppDomain.CurrentDomain.IsLegacyCasPolicyEnabled, "Evaluating assembly level declarative security without legacy CAS policy enabled");
system\sharedstatics.cs (1)
39BCLDebug.Assert(false, "SharedStatics..ctor() is never called.");
system\string.cs (3)
3466BCLDebug.Perf(false, "Avoid using String's CharEnumerator until C# special cases foreach on String - use the indexed property on String instead."); 3474BCLDebug.Perf(false, "Avoid using String's CharEnumerator until C# special cases foreach on String - use the indexed property on String instead."); 3482BCLDebug.Perf(false, "Avoid using String's CharEnumerator until C# special cases foreach on String - use the indexed property on String instead.");
system\stubhelpers.cs (4)
46BCLDebug.Assert(cbLength > 0, "Zero bytes returned from DoAnsiConversion in AnsiCharMarshaler.ConvertToNative"); 398BCLDebug.Assert(nbytesused < nbytes, "Insufficient buffer allocated in VBByValStrMarshaler.ConvertToNative"); 1015BCLDebug.Assert(pvArrayMarshaler != IntPtr.Zero, "pvArrayMarshaler must not be null"); 1647BCLDebug.Assert(elem.m_owned == false, "m_owned is supposed to be false and set later by DangerousAddRef");
system\text\stringbuilder.cs (1)
261BCLDebug.Correctness((uint)(m_ChunkOffset + m_ChunkChars.Length) >= m_ChunkOffset, "Integer Overflow");
system\valuetype.cs (1)
27BCLDebug.Perf(false, "ValueType::Equals is not fast. "+this.GetType().FullName+" should override Equals(Object)");