Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge main into live #43703

Merged
merged 7 commits into from
Nov 22, 2024
Merged

Merge main into live #43703

merged 7 commits into from
Nov 22, 2024

Conversation

azure-sdk and others added 7 commits November 21, 2024 14:26
Use some newer language features to increase the signal/noise ratio in code samples used to describe generics in C#.

- Make code shorter through auto properties.
- Narrow scope of <Snippet> areas to remove boilerplate.
- Use target-typed new.
- Remove redundant constructor.

Note we could go further with the language features here (such as collection initializers) but as this seems like a very fundamental level article I thought it best to use more explicit forms.

These snippets are used in https://review.learn.microsoft.com/en-us/dotnet/csharp/fundamentals/types/generics?branch=main
Removes unnecessary \ from page title that was causing incorrect display
* remove NRT feature spec

The Nullable Reference Types features have been merged into the draft standard.

Remove the feature specs from our platform, and update any section anchors.

* warnings, part 1

Fix warnings, part 1.

* warnings, part 2
Removes reference to 'cust.Orders' from pitfalls section, as it appears to have been copied from https://learn.microsoft.com/en-us/dotnet/standard/parallel-programming/potential-pitfalls-with-plinq#avoid-over-parallelization and doesn't apply to this document
@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@dotnetrepoman dotnetrepoman bot added this to the November 2024 milestone Nov 22, 2024
@dotnet-policy-service dotnet-policy-service bot merged commit 89bb2d0 into live Nov 22, 2024
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants