8 references to c_defaultNameLimit
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\Globalization\IdnMapping.cs (8)
375
if (unicode.Length >
c_defaultNameLimit
- (IsDot(unicode[^1]) ? 0 : 1))
377
c_defaultNameLimit
- (IsDot(unicode[^1]) ? 0 : 1)), nameof(unicode));
614
if (output.Length >
c_defaultNameLimit
- (IsDot(unicode[^1]) ? 0 : 1))
616
c_defaultNameLimit
- (IsDot(unicode[^1]) ? 0 : 1)), nameof(unicode));
731
if (ascii.Length >
c_defaultNameLimit
- (IsDot(ascii[^1]) ? 0 : 1))
733
c_defaultNameLimit
- (IsDot(ascii[^1]) ? 0 : 1)), nameof(ascii));
947
if (output.Length >
c_defaultNameLimit
- (IsDot(output[^1]) ? 0 : 1))
948
throw new ArgumentException(SR.Format(SR.Argument_IdnBadNameSize,
c_defaultNameLimit
- (IsDot(output[^1]) ? 0 : 1)), nameof(ascii));