Skip to content

Commit

Permalink
Simplify names (IDE0001)
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalberger committed Nov 17, 2024
1 parent b9f9fe7 commit a1f8960
Show file tree
Hide file tree
Showing 4 changed files with 93 additions and 93 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ protected override FilePath InternalCreateReport(IEnumerable<IIssue> issues)
.WithModel(issues)
.WithReferences(
typeof(System.Linq.Enumerable).Assembly,
typeof(Cake.Issues.IIssue).Assembly,
typeof(Cake.Issues.Reporting.IIssueReportFormat).Assembly,
typeof(Cake.Issues.Reporting.Generic.DevExtremeTheme).Assembly,
typeof(Cake.Core.IO.FilePath).Assembly)
typeof(IIssue).Assembly,
typeof(IIssueReportFormat).Assembly,
typeof(DevExtremeTheme).Assembly,
typeof(FilePath).Assembly)
.WithViewBag(this.genericIssueReportFormatSettings.Options)
.ProcessTemplateAsync(this.genericIssueReportFormatSettings.Template)
.ConfigureAwait(false)
Expand Down
8 changes: 4 additions & 4 deletions src/Cake.Issues.Reporting.Generic/IIssueExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@ public static class IIssueExtensions
/// <param name="addRun">Flag if value of <see cref="IIssue.Run"/> should be added.</param>
/// <param name="addPriority">Flag if value of <see cref="IIssue.Priority"/> should be added.</param>
/// <param name="addPriorityName">Flag if value of <see cref="IIssue.PriorityName"/> should be added.</param>
/// <param name="addProjectPath">Flag if value of <see cref="Cake.Issues.IIssueExtensions.ProjectPath"/> should be added.</param>
/// <param name="addProjectPath">Flag if value of <see cref="Issues.IIssueExtensions.ProjectPath"/> should be added.</param>
/// <param name="addProjectName">Flag if value of <see cref="IIssue.ProjectName"/> should be added.</param>
/// <param name="addFilePath">Flag if value of <see cref="IIssue.AffectedFileRelativePath"/> should be added.</param>
/// <param name="addFileDirectory">Flag if value of <see cref="Cake.Issues.IIssueExtensions.FileDirectory"/> should be added.</param>
/// <param name="addFileName">Flag if value of <see cref="Cake.Issues.IIssueExtensions.FileName"/> should be added.</param>
/// <param name="addFileDirectory">Flag if value of <see cref="Issues.IIssueExtensions.FileDirectory"/> should be added.</param>
/// <param name="addFileName">Flag if value of <see cref="Issues.IIssueExtensions.FileName"/> should be added.</param>
/// <param name="addFileLink">Flag if value of <see cref="IIssue.FileLink"/> should be added.</param>
/// <param name="addLine">Flag if value of <see cref="IIssue.Line"/> should be added.</param>
/// <param name="addEndLine">Flag if value of <see cref="IIssue.EndLine"/> should be added.</param>
/// <param name="addColumn">Flag if value of <see cref="IIssue.Column"/> should be added.</param>
/// <param name="addEndColumn">Flag if value of <see cref="IIssue.EndColumn"/> should be added.</param>
/// <param name="addLocation">Flag if value of <see cref="Cake.Issues.IIssueExtensions.LineRange(IIssue)"/> should be added.</param>
/// <param name="addLocation">Flag if value of <see cref="Issues.IIssueExtensions.LineRange(IIssue)"/> should be added.</param>
/// <param name="addRuleId">Flag if value of <see cref="IIssue.RuleId"/> should be added.</param>
/// <param name="addRuleName">Flag if value of <see cref="IIssue.RuleName"/> should be added.</param>
/// <param name="addRuleUrl">Flag if value of <see cref="IIssue.RuleUrl"/> should be added.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public sealed class TheGetValueOrDefaultExtension
public void Should_Throw_If_Dictionary_Is_Null()
{
// Given
const System.Collections.Generic.IDictionary<string, string> dictionary = null;
const IDictionary<string, string> dictionary = null;

// When
var result = Record.Exception(() => dictionary.GetValueOrDefault("foo", null));
Expand All @@ -25,7 +25,7 @@ public void Should_Return_Value_If_Exists()
// Given
const string key = "foo";
const string value = "bar";
var dictionary = new System.Collections.Generic.Dictionary<string, string> { { key, value } };
var dictionary = new Dictionary<string, string> { { key, value } };

// When
var result = dictionary.GetValueOrDefault(key, null);
Expand All @@ -39,7 +39,7 @@ public void Should_Return_DefaultValue_If_Value_Does_Not_Exist()
{
// Given
const string defaultValue = "defaultValue";
var dictionary = new System.Collections.Generic.Dictionary<string, string> { { "foo", "bar" } };
var dictionary = new Dictionary<string, string> { { "foo", "bar" } };

// When
var result = dictionary.GetValueOrDefault("bar", defaultValue);
Expand Down
Loading

0 comments on commit a1f8960

Please sign in to comment.