Browse Source

Replace InvalidPathChars for NS1.3

* InvalidPathChars does not exist in NS1.3; replaced with GetInvalidPathChars instead.
pull/1161/head
Still Hsu 7 years ago
parent
commit
2c7cc7386a
No known key found for this signature in database GPG Key ID: 8601A145FDA95209
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      src/Discord.Net.Rest/Entities/Channels/RestDMChannel.cs
  2. +1
    -1
      src/Discord.Net.Rest/Entities/Channels/RestGroupChannel.cs
  3. +1
    -1
      src/Discord.Net.Rest/Entities/Channels/RestTextChannel.cs

+ 1
- 1
src/Discord.Net.Rest/Entities/Channels/RestDMChannel.cs View File

@@ -81,7 +81,7 @@ namespace Discord.Rest
/// <inheritdoc />
/// <exception cref="ArgumentException">
/// <paramref name="filePath" /> is a zero-length string, contains only white space, or contains one or more
/// invalid characters as defined by <see cref="System.IO.Path.InvalidPathChars" />.
/// invalid characters as defined by <see cref="System.IO.Path.GetInvalidPathChars" />.
/// </exception>
/// <exception cref="ArgumentNullException">
/// <paramref name="filePath" /> is <c>null</c>.


+ 1
- 1
src/Discord.Net.Rest/Entities/Channels/RestGroupChannel.cs View File

@@ -98,7 +98,7 @@ namespace Discord.Rest
/// <inheritdoc />
/// <exception cref="ArgumentException">
/// <paramref name="filePath" /> is a zero-length string, contains only white space, or contains one or more
/// invalid characters as defined by <see cref="System.IO.Path.InvalidPathChars" />.
/// invalid characters as defined by <see cref="System.IO.Path.GetInvalidPathChars" />.
/// </exception>
/// <exception cref="ArgumentNullException">
/// <paramref name="filePath" /> is <c>null</c>.


+ 1
- 1
src/Discord.Net.Rest/Entities/Channels/RestTextChannel.cs View File

@@ -79,7 +79,7 @@ namespace Discord.Rest
/// <inheritdoc />
/// <exception cref="ArgumentException">
/// <paramref name="filePath" /> is a zero-length string, contains only white space, or contains one or more
/// invalid characters as defined by <see cref="System.IO.Path.InvalidPathChars" />.
/// invalid characters as defined by <see cref="System.IO.Path.GetInvalidPathChars" />.
/// </exception>
/// <exception cref="ArgumentNullException">
/// <paramref name="filePath" /> is <c>null</c>.


Loading…
Cancel
Save