6 references to DebugAssert
System.ServiceModel.Primitives (6)
System\IdentityModel\IdentityModelStringsVersion1.cs (1)
300DiagnosticUtility.DebugAssert(index >= 0 && index < Count, "The index is out of range. It should be greater than or equal to 0 and less than" + Count.ToString());
System\IdentityModel\SecurityUtils.cs (5)
77DiagnosticUtility.DebugAssert(offset >= 0, "Negative offset passed to CloneBuffer."); 78DiagnosticUtility.DebugAssert(len >= 0, "Negative len passed to CloneBuffer."); 79DiagnosticUtility.DebugAssert(buffer.Length - offset >= len, "Invalid parameters to CloneBuffer."); 93DiagnosticUtility.DebugAssert(dstOffset >= 0, "Negative dstOffset passed to MatchesBuffer."); 94DiagnosticUtility.DebugAssert(srcOffset >= 0, "Negative srcOffset passed to MatchesBuffer.");