mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-06 07:16:09 +00:00
Added readonly to fields that are never modified (#2759)
Co-authored-by: Lehonti Ramos <john@doe> Co-authored-by: Keegan Campbell <me@kfcampbell.com>
This commit is contained in:
@@ -12,8 +12,8 @@ namespace Octokit.Tests.Integration.Reactive
|
||||
{
|
||||
public class TheCreateMethod
|
||||
{
|
||||
IObservableGitHubClient _github;
|
||||
IObservableGitHubClient _githubAppInstallation;
|
||||
readonly IObservableGitHubClient _github;
|
||||
readonly IObservableGitHubClient _githubAppInstallation;
|
||||
|
||||
public TheCreateMethod()
|
||||
{
|
||||
@@ -70,8 +70,8 @@ namespace Octokit.Tests.Integration.Reactive
|
||||
|
||||
public class TheUpdateMethod
|
||||
{
|
||||
IObservableGitHubClient _github;
|
||||
IObservableGitHubClient _githubAppInstallation;
|
||||
readonly IObservableGitHubClient _github;
|
||||
readonly IObservableGitHubClient _githubAppInstallation;
|
||||
|
||||
public TheUpdateMethod()
|
||||
{
|
||||
@@ -148,8 +148,8 @@ namespace Octokit.Tests.Integration.Reactive
|
||||
|
||||
public class TheGetAllForReferenceMethod
|
||||
{
|
||||
IObservableGitHubClient _github;
|
||||
IObservableGitHubClient _githubAppInstallation;
|
||||
readonly IObservableGitHubClient _github;
|
||||
readonly IObservableGitHubClient _githubAppInstallation;
|
||||
|
||||
public TheGetAllForReferenceMethod()
|
||||
{
|
||||
@@ -232,8 +232,8 @@ namespace Octokit.Tests.Integration.Reactive
|
||||
|
||||
public class TheGetAllForCheckSuiteMethod
|
||||
{
|
||||
IObservableGitHubClient _github;
|
||||
IObservableGitHubClient _githubAppInstallation;
|
||||
readonly IObservableGitHubClient _github;
|
||||
readonly IObservableGitHubClient _githubAppInstallation;
|
||||
|
||||
public TheGetAllForCheckSuiteMethod()
|
||||
{
|
||||
@@ -316,8 +316,8 @@ namespace Octokit.Tests.Integration.Reactive
|
||||
|
||||
public class TheGetMethod
|
||||
{
|
||||
IObservableGitHubClient _github;
|
||||
IObservableGitHubClient _githubAppInstallation;
|
||||
readonly IObservableGitHubClient _github;
|
||||
readonly IObservableGitHubClient _githubAppInstallation;
|
||||
|
||||
public TheGetMethod()
|
||||
{
|
||||
@@ -384,8 +384,8 @@ namespace Octokit.Tests.Integration.Reactive
|
||||
|
||||
public class TheGetAllAnnotationsMethod
|
||||
{
|
||||
IObservableGitHubClient _github;
|
||||
IObservableGitHubClient _githubAppInstallation;
|
||||
readonly IObservableGitHubClient _github;
|
||||
readonly IObservableGitHubClient _githubAppInstallation;
|
||||
|
||||
public TheGetAllAnnotationsMethod()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user