18 references to GetValueString
Microsoft.Build.Framework (18)
Assumed.cs (18)
39InternalError.Throw(message ?? $"Expected {GetValueString(valueExpression)} to be null."); 76InternalError.Throw(message ?? $"Expected {GetValueString(valueExpression)} to be non-null."); 112InternalError.Throw(message ?? $"Expected {GetValueString(valueExpression)} to be non-null and non-empty."); 148InternalError.Throw(message ?? $"Expected {GetValueString(collectionExpression)} to be non-null and non-empty."); 259InternalError.Throw(message ?? $"Expected {GetValueString(valueExpression)} to be equal to '{GetStringOrNull(other)}'."); 302InternalError.Throw(message ?? $"Expected {GetValueString(valueExpression)} to be equal to '{GetStringOrNull(other)}' ({comparisonType})."); 346InternalError.Throw(message ?? $"Expected {GetValueString(valueExpression)} to not be equal to '{GetStringOrNull(other)}'."); 389InternalError.Throw(message ?? $"Expected {GetValueString(valueExpression)} to not be equal to '{GetStringOrNull(other)}' ({comparisonType})."); 428InternalError.Throw(message ?? $"Expected {GetValueString(value)} to be greater than '{GetStringOrNull(other)}'."); 466InternalError.Throw(message ?? $"Expected {GetValueString(value)} to be greater than or equal to '{GetStringOrNull(other)}'."); 504InternalError.Throw(message ?? $"Expected {GetValueString(value)} to be less than '{GetStringOrNull(other)}'."); 542InternalError.Throw(message ?? $"Expected {GetValueString(value)} to be less than or equal to '{GetStringOrNull(other)}'."); 577InternalError.Throw(message ?? $"Expected {GetValueString(value)} to be zero."); 608InternalError.Throw(message ?? $"Expected {GetValueString(value)} to be negative."); 639InternalError.Throw(message ?? $"Expected {GetValueString(value)} to be negative or zero."); 670InternalError.Throw(message ?? $"Expected {GetValueString(value)} to be positive."); 701InternalError.Throw(message ?? $"Expected {GetValueString(value)} to be positive or zero."); 737InternalError.Throw(message ?? $"Expected {GetValueString(value)} to be in range [{GetStringOrNull(low)}, {GetStringOrNull(high)}].");