Skip to content

Commit 4e446d3

Browse files
authored
Merge pull request #9398 from vseanreesermsft/branding-9.0.112-2025-10-07-1042-d5c60f7b-c279-4d0d-987e-3b080c040fdc
Update branding to 9.0.112
2 parents 79d6a45 + f32ee7f commit 4e446d3

File tree

7 files changed

+34
-19
lines changed

7 files changed

+34
-19
lines changed

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,10 +186,14 @@ dotnet_code_quality.ca1822.api_surface = private, internal
186186
dotnet_code_quality.ca2208.api_surface = public
187187
dotnet_diagnostic.CS1591.severity = suggestion
188188
dotnet_analyzer_diagnostic.category-Style.severity = warning
189+
#Name can be simplified
190+
dotnet_diagnostic.IDE0002.severity = suggestion
189191
#Use explicit type instead of var
190192
dotnet_diagnostic.IDE0008.severity = suggestion
191193
#Add missing cases to switch statement
192194
dotnet_diagnostic.IDE0010.severity = suggestion
195+
#Simplify LINQ expression
196+
dotnet_diagnostic.IDE0120.severity = suggestion
193197
#Use expression body for constructors
194198
dotnet_diagnostic.IDE0021.severity = suggestion
195199
#Use expression body for methods
@@ -200,6 +204,10 @@ dotnet_diagnostic.IDE0028.severity = suggestion
200204
dotnet_diagnostic.IDE0032.severity = suggestion
201205
#Use conditional expression for return
202206
dotnet_diagnostic.IDE0046.severity = suggestion
207+
#Remove unused private member
208+
dotnet_diagnostic.IDE0051.severity = suggestion
209+
#Remove unread private member
210+
dotnet_diagnostic.IDE0052.severity = suggestion
203211
#Remove unnecessary expression value
204212
dotnet_diagnostic.IDE0058.severity = suggestion
205213
#Add missing cases to switch expression
@@ -220,6 +228,10 @@ dotnet_diagnostic.IDE0300.severity = suggestion
220228
dotnet_diagnostic.IDE0301.severity = suggestion
221229
#Collection initialization can be simplified
222230
dotnet_diagnostic.IDE0305.severity = suggestion
231+
#Simplify collection initialization
232+
dotnet_diagnostic.IDE0306.severity = suggestion
233+
#Lambda expression can be simplified
234+
dotnet_diagnostic.IDE0350.severity = suggestion
223235

224236
# License header
225237
file_header_template = Licensed to the .NET Foundation under one or more agreements.\nThe .NET Foundation licenses this file to you under the MIT license.
@@ -229,6 +241,9 @@ file_header_template = Licensed to the .NET Foundation under one or more agreeme
229241
# Ensure minimum API surface is respected
230242
dotnet_diagnostic.BCL0001.severity = warning
231243

244+
# Don't require explicit access modifiers for interface members (conflicts with IDE0040)
245+
dotnet_diagnostic.SA1400.severity = none
246+
232247
# AppContext default value expected to be true
233248
dotnet_diagnostic.BCL0010.severity = warning
234249

eng/Versions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project>
22
<PropertyGroup>
3-
<VersionPrefix>9.0.111</VersionPrefix>
3+
<VersionPrefix>9.0.112</VersionPrefix>
44
<!-- When StabilizePackageVersion is set to 'true', this branch will produce stable outputs for 'Shipping' packages -->
55
<StabilizePackageVersion Condition="'$(StabilizePackageVersion)' == ''">true</StabilizePackageVersion>
66
<DotNetFinalVersionKind Condition="'$(StabilizePackageVersion)' == 'true'">release</DotNetFinalVersionKind>

src/Microsoft.TemplateEngine.Abstractions/Components/IBindSymbolSource.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ public interface IBindSymbolSource : IPrioritizedComponent
1212
/// <summary>
1313
/// The user friendly name of the component.
1414
/// </summary>
15-
public string DisplayName { get; }
15+
string DisplayName { get; }
1616

1717
/// <summary>
1818
/// Prefix that is used in binding to reference the component.
1919
/// </summary>
20-
public string? SourcePrefix { get; }
20+
string? SourcePrefix { get; }
2121

2222
/// <summary>
2323
/// If set to true, the component required exact prefix match to be used.
2424
/// </summary>
25-
public bool RequiresPrefixMatch { get; }
25+
bool RequiresPrefixMatch { get; }
2626

2727
/// <summary>
2828
/// Gets the value corresponding to <paramref name="bindName"/>.
@@ -31,6 +31,6 @@ public interface IBindSymbolSource : IPrioritizedComponent
3131
/// <param name="bindName">the value to retrieve (without prefix).</param>
3232
/// <param name="cancellationToken">cancellation token.</param>
3333
/// <returns></returns>
34-
public Task<string?> GetBoundValueAsync(IEngineEnvironmentSettings settings, string bindName, CancellationToken cancellationToken);
34+
Task<string?> GetBoundValueAsync(IEngineEnvironmentSettings settings, string bindName, CancellationToken cancellationToken);
3535
}
3636
}

src/Microsoft.TemplateEngine.Abstractions/Components/ISdkInfoProvider.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ public interface ISdkInfoProvider : IIdentifiedComponent
1313
/// </summary>
1414
/// <param name="cancellationToken"></param>
1515
/// <returns>SDK version.</returns>
16-
public Task<string> GetCurrentVersionAsync(CancellationToken cancellationToken);
16+
Task<string> GetCurrentVersionAsync(CancellationToken cancellationToken);
1717

1818
/// <summary>
1919
/// All installed SDK installations semver version strings.
2020
/// </summary>
2121
/// <param name="cancellationToken"></param>
2222
/// <returns>SDK version strings.</returns>
23-
public Task<IEnumerable<string>> GetInstalledVersionsAsync(CancellationToken cancellationToken);
23+
Task<IEnumerable<string>> GetInstalledVersionsAsync(CancellationToken cancellationToken);
2424

2525
/// <summary>
2626
/// Provides localized suggestion on action to be taken so that constraints requiring specified workloads can be met.
@@ -31,6 +31,6 @@ public interface ISdkInfoProvider : IIdentifiedComponent
3131
/// <param name="supportedVersions">SDK versions required by a constraint (in an 'OR' relationship).</param>
3232
/// <param name="viableInstalledVersions">SDK versions installed, that can meet the constraint - instructions should be provided to switch to any of those.</param>
3333
/// <returns>Localized string with remedy suggestion specific to current host.</returns>
34-
public string ProvideConstraintRemedySuggestion(IReadOnlyList<string> supportedVersions, IReadOnlyList<string> viableInstalledVersions);
34+
string ProvideConstraintRemedySuggestion(IReadOnlyList<string> supportedVersions, IReadOnlyList<string> viableInstalledVersions);
3535
}
3636
}

src/Microsoft.TemplateEngine.Abstractions/Components/IWorkloadsInfoProvider.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public interface IWorkloadsInfoProvider : IIdentifiedComponent
1313
/// </summary>
1414
/// <param name="token"></param>
1515
/// <returns>Set of installed workloads.</returns>
16-
public Task<IEnumerable<WorkloadInfo>> GetInstalledWorkloadsAsync(CancellationToken token);
16+
Task<IEnumerable<WorkloadInfo>> GetInstalledWorkloadsAsync(CancellationToken token);
1717

1818
/// <summary>
1919
/// Provides localized suggestion on action to be taken so that constraints requiring specified workloads can be met.
@@ -23,6 +23,6 @@ public interface IWorkloadsInfoProvider : IIdentifiedComponent
2323
/// </summary>
2424
/// <param name="supportedWorkloads">Workloads required by a constraint (in an 'OR' relationship).</param>
2525
/// <returns>Localized string with remedy suggestion specific to current host.</returns>
26-
public string ProvideConstraintRemedySuggestion(IReadOnlyList<string> supportedWorkloads);
26+
string ProvideConstraintRemedySuggestion(IReadOnlyList<string> supportedWorkloads);
2727
}
2828
}

src/Microsoft.TemplateEngine.Abstractions/IValidationEntry.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public interface IValidationEntry
1111
/// <summary>
1212
/// Error severity.
1313
/// </summary>
14-
public enum SeverityLevel
14+
enum SeverityLevel
1515
{
1616
None,
1717
Info,
@@ -42,7 +42,7 @@ public enum SeverityLevel
4242
/// <summary>
4343
/// Details of the error location.
4444
/// </summary>
45-
public readonly struct ErrorLocation
45+
readonly struct ErrorLocation
4646
{
4747
/// <summary>
4848
/// Gets the filename where the error occurred.

src/Microsoft.TemplateSearch.Common/Abstractions/ITemplatePackageInfo.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,40 +11,40 @@ public interface ITemplatePackageInfo
1111
/// <summary>
1212
/// Gets template package name.
1313
/// </summary>
14-
public string Name { get; }
14+
string Name { get; }
1515

1616
/// <summary>
1717
/// Gets template package version.
1818
/// </summary>
19-
public string? Version { get; }
19+
string? Version { get; }
2020

2121
/// <summary>
2222
/// Gets total number of downloads for the package.
2323
/// Optional, might be 0 in case search provider cannot provide number of downloads.
2424
/// </summary>
25-
public long TotalDownloads { get; }
25+
long TotalDownloads { get; }
2626

2727
/// <summary>
2828
/// Gets the list of template package owners.
2929
/// </summary>
30-
public IReadOnlyList<string> Owners { get; }
30+
IReadOnlyList<string> Owners { get; }
3131

3232
/// <summary>
3333
/// Gets the indication if the package is verified.
3434
/// </summary>
3535
/// <remarks>
3636
/// For NuGet.org 'verified' means that package ID is under reserved namespaces, see <see href="https://docs.microsoft.com/en-us/nuget/nuget-org/id-prefix-reservation"/>.
3737
/// </remarks>
38-
public bool Reserved { get; }
38+
bool Reserved { get; }
3939

4040
/// <summary>
4141
/// Gets the NuGet package description.
4242
/// </summary>
43-
public string? Description { get; }
43+
string? Description { get; }
4444

4545
/// <summary>
4646
/// Gets the URL to the package icon.
4747
/// </summary>
48-
public string? IconUrl { get; }
48+
string? IconUrl { get; }
4949
}
5050
}

0 commit comments

Comments
 (0)