Skip to content

Commit

Permalink
Replace InvalidPathChars for NS1.3
Browse files Browse the repository at this point in the history
* InvalidPathChars does not exist in NS1.3; replaced with GetInvalidPathChars instead.
  • Loading branch information
Still Hsu committed Jun 15, 2018
1 parent 67eb473 commit 2c7cc73
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Discord.Net.Rest/Entities/Channels/RestDMChannel.cs
Expand Up @@ -81,7 +81,7 @@ public Task<RestUserMessage> SendMessageAsync(string text = null, bool isTTS = f
/// <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>.
Expand Down
2 changes: 1 addition & 1 deletion src/Discord.Net.Rest/Entities/Channels/RestGroupChannel.cs
Expand Up @@ -98,7 +98,7 @@ public Task<RestUserMessage> SendMessageAsync(string text = null, bool isTTS = f
/// <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>.
Expand Down
2 changes: 1 addition & 1 deletion src/Discord.Net.Rest/Entities/Channels/RestTextChannel.cs
Expand Up @@ -79,7 +79,7 @@ public Task<RestUserMessage> SendMessageAsync(string text = null, bool isTTS = f
/// <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>.
Expand Down

0 comments on commit 2c7cc73

Please sign in to comment.