6 references to DebugAssert
System.ServiceModel.Primitives (6)
System\IdentityModel\IdentityModelStringsVersion1.cs (1)
300
DiagnosticUtility.
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)
77
DiagnosticUtility.
DebugAssert
(offset >= 0, "Negative offset passed to CloneBuffer.");
78
DiagnosticUtility.
DebugAssert
(len >= 0, "Negative len passed to CloneBuffer.");
79
DiagnosticUtility.
DebugAssert
(buffer.Length - offset >= len, "Invalid parameters to CloneBuffer.");
93
DiagnosticUtility.
DebugAssert
(dstOffset >= 0, "Negative dstOffset passed to MatchesBuffer.");
94
DiagnosticUtility.
DebugAssert
(srcOffset >= 0, "Negative srcOffset passed to MatchesBuffer.");