コード例 #1
0
ファイル: JsonWriterHelper.cs プロジェクト: zhongjn/corefx
 public static void ValidateProperty(ReadOnlySpan <char> propertyName)
 {
     if (propertyName.Length > JsonConstants.MaxCharacterTokenSize)
     {
         ThrowHelper.ThrowArgumentException_PropertyNameTooLarge(propertyName.Length);
     }
 }