5 references to PositiveOrZero
Microsoft.Build.Framework (5)
Assumed.cs (1)
1374/// <see cref="PositiveOrZero(int, ref PositiveOrZeroInterpolatedStringHandler)"/>.
BackEnd\InterningBinaryReader.cs (2)
118Assumed.PositiveOrZero(n, $"From calculating based on the memorystream, about to read n = {n}. length = {length}, rawPosition = {rawPosition}, readLength = {readLength}, stringLength = {stringLength}, currPos = {currPos}."); 130Assumed.PositiveOrZero(n, $"From getting the length out of BaseStream.Read directly, about to read n = {n}. readLength = {readLength}, stringLength = {stringLength}, currPos = {currPos}");
MSBuildNameIgnoreCaseComparer.cs (2)
47Assumed.PositiveOrZero(lengthToCompare, $"Invalid {nameof(lengthToCompare)} '{constrainedString}' {start} {lengthToCompare}"); 48Assumed.PositiveOrZero(start, $"Invalid {nameof(start)} '{constrainedString}' {start} {lengthToCompare}");