diff --git a/Octokit.Reactive/IObservableGitHubClient.cs b/Octokit.Reactive/IObservableGitHubClient.cs index ddc42663..6f424072 100644 --- a/Octokit.Reactive/IObservableGitHubClient.cs +++ b/Octokit.Reactive/IObservableGitHubClient.cs @@ -19,7 +19,7 @@ namespace Octokit.Reactive IObservableReleasesClient Release { get; } IObservableSshKeysClient SshKey { get; } IObservableUsersClient User { get; } - [System.Obsolete("Notifications are now available under the Activities client. This will be removed in a future update.")] + [Obsolete("Notifications are now available under the Activities client. This will be removed in a future update.")] IObservableNotificationsClient Notification { get; } IObservableGitDatabaseClient Git { get; } [Obsolete("Use Git instead")] diff --git a/Octokit/Clients/IRepositoriesClient.cs b/Octokit/Clients/IRepositoriesClient.cs index b5db4ad6..098e03d0 100644 --- a/Octokit/Clients/IRepositoriesClient.cs +++ b/Octokit/Clients/IRepositoriesClient.cs @@ -29,7 +29,7 @@ namespace Octokit /// /// See the Repository Comments API documentation for more information. /// - [System.Obsolete("Comment information is now available under the Comment property. This will be removed in a future update.")] + [Obsolete("Comment information is now available under the Comment property. This will be removed in a future update.")] IRepositoryCommentsClient RepositoryComments { get; } /// @@ -226,7 +226,7 @@ namespace Octokit /// /// See the Collaborators API documentation for more details /// - [System.Obsolete("Collaborator information is now available under the Collaborator property. This will be removed in a future update.")] + [Obsolete("Collaborator information is now available under the Collaborator property. This will be removed in a future update.")] IRepoCollaboratorsClient RepoCollaborators { get; } /// @@ -259,7 +259,7 @@ namespace Octokit /// /// See the Commits API documentation for more details /// - [System.Obsolete("Commit information is now available under the Commit property. This will be removed in a future update.")] + [Obsolete("Commit information is now available under the Commit property. This will be removed in a future update.")] IRepositoryCommitsClient Commits { get; } /// diff --git a/Octokit/Clients/RepositoriesClient.cs b/Octokit/Clients/RepositoriesClient.cs index 590637d0..9f14ac78 100644 --- a/Octokit/Clients/RepositoriesClient.cs +++ b/Octokit/Clients/RepositoriesClient.cs @@ -348,7 +348,7 @@ namespace Octokit /// /// See the Collaborators API documentation for more details /// - [System.Obsolete("Collaborator information is now available under the Collaborator property. This will be removed in a future update.")] + [Obsolete("Collaborator information is now available under the Collaborator property. This will be removed in a future update.")] public IRepoCollaboratorsClient RepoCollaborators { get; private set; } /// diff --git a/Octokit/IGitHubClient.cs b/Octokit/IGitHubClient.cs index d39eeb03..29dd910c 100644 --- a/Octokit/IGitHubClient.cs +++ b/Octokit/IGitHubClient.cs @@ -119,7 +119,7 @@ namespace Octokit /// /// Refer to the API documentation for more information: https://developer.github.com/v3/activity/notifications/ /// - [System.Obsolete("Notifications are now available under the Activities client. This will be removed in a future update.")] + [Obsolete("Notifications are now available under the Activities client. This will be removed in a future update.")] INotificationsClient Notification { get; } /// diff --git a/Octokit/Models/Request/SearchIssuesRequest.cs b/Octokit/Models/Request/SearchIssuesRequest.cs index 77057c2f..68699d77 100644 --- a/Octokit/Models/Request/SearchIssuesRequest.cs +++ b/Octokit/Models/Request/SearchIssuesRequest.cs @@ -203,7 +203,7 @@ namespace Octokit [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public RepositoryCollection Repos { get; set; } - [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] public override IReadOnlyList MergedQualifiers() { var parameters = new List(); diff --git a/Octokit/SimpleJson.cs b/Octokit/SimpleJson.cs index 579687ad..80fe3454 100644 --- a/Octokit/SimpleJson.cs +++ b/Octokit/SimpleJson.cs @@ -1762,7 +1762,7 @@ namespace Octokit if (typeof(IDictionary<,>).GetTypeInfo().IsAssignableFrom(type.GetTypeInfo())) return true; #else - if (typeof(System.Collections.IDictionary).IsAssignableFrom(type)) + if (typeof(IDictionary).IsAssignableFrom(type)) return true; #endif if (!GetTypeInfo(type).IsGenericType) @@ -2166,7 +2166,7 @@ namespace Octokit return _dictionary.GetEnumerator(); } - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() + IEnumerator IEnumerable.GetEnumerator() { return _dictionary.GetEnumerator(); }