Closed muhammadzakriashahid closed 1 month ago
Learn Build status updates of commit 5838cae:
File | Status | Preview URL | Details |
---|---|---|---|
snippets/csharp/System/String/Replace/string.replace1.cs | :white_check_mark:Succeeded | View |
For more details, please refer to the build report.
For any questions, please:
tag @gewarren
I know that our general guideline is to use string
vs. String
. Do you want to follow that same guideline for the System.String
APIs?
tag @gewarren
I know that our general guideline is to use
string
vs.String
. Do you want to follow that same guideline for theSystem.String
APIs?
Yes, I don't see why not.
@muhammadzakriashahid Can you add a project file similar to https://github.com/dotnet/dotnet-api-docs/blob/main/snippets/csharp/System/Math/E/Project.csproj but for .net8.0 in the directory that contains the snippet? This is a newer requirement that we enforce whenever a code snippet is modified so we can ensure it compiles.
@dotnet-policy-service agree
Learn Build status updates of commit fbe367c:
File | Status | Preview URL | Details |
---|---|---|---|
snippets/csharp/System/String/Replace/Project.csproj | :white_check_mark:Succeeded | ||
snippets/csharp/System/String/Replace/replace1.cs | :white_check_mark:Succeeded | View | |
snippets/csharp/System/String/Replace/replace2.cs | :white_check_mark:Succeeded | View | |
snippets/csharp/System/String/Replace/string.replace1.cs | :white_check_mark:Succeeded | View |
For more details, please refer to the build report.
For any questions, please:
haven't heard from you guys
Thanks @muhammadzakriashahid
Learn Build status updates of commit f9f16d7:
File | Status | Preview URL | Details |
---|---|---|---|
snippets/csharp/System/String/Replace/Program.cs | :white_check_mark:Succeeded | ||
snippets/csharp/System/String/Replace/Project.csproj | :white_check_mark:Succeeded | ||
snippets/csharp/System/String/Replace/replace1.cs | :white_check_mark:Succeeded | View | |
snippets/csharp/System/String/Replace/replace2.cs | :white_check_mark:Succeeded | View | |
snippets/csharp/System/String/Replace/string.replace1.cs | :white_check_mark:Succeeded | View | |
snippets/csharp/System/String/Replace/stringreplace.cs | :white_check_mark:Succeeded | View |
For more details, please refer to the build report.
For any questions, please:
Summary
Describe your changes here. i change the String type to string. Because of the rule ID IDE0049 Use language keywords instead of framework type names for type references. Fixes #Issue_Number (if available)