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

Special publish for Preview 2 #39910

Merged
merged 8 commits into from
Mar 12, 2024
Merged

Special publish for Preview 2 #39910

merged 8 commits into from
Mar 12, 2024

Conversation

gewarren
Copy link
Contributor

@gewarren gewarren commented Mar 12, 2024


Internal previews

Toggle expand/collapse
📄 File 🔗 Preview link
docs/architecture/microservices/multi-container-microservice-net-applications/data-driven-crud-microservice.md Creating a simple data-driven CRUD microservice
docs/core/runtime-config/compilation.md Compilation config settings
docs/core/whats-new/dotnet-9/overview.md What's new in .NET 9
docs/csharp/fundamentals/types/anonymous-types.md Anonymous types
docs/csharp/how-to/concatenate-multiple-strings.md How to concatenate multiple strings (C# Guide)
docs/csharp/how-to/parse-strings-using-split.md docs/csharp/how-to/parse-strings-using-split
docs/csharp/how-to/search-strings.md How to search strings
docs/csharp/language-reference/index.md "C# reference"
docs/csharp/language-reference/keywords/abstract.md abstract (C# Reference)
docs/csharp/language-reference/keywords/access-modifiers.md docs/csharp/language-reference/keywords/access-modifiers
docs/csharp/language-reference/keywords/accessibility-domain.md Accessibility Domain (C# Reference)
docs/csharp/language-reference/keywords/accessibility-levels.md Accessibility Levels (C# Reference)
docs/csharp/language-reference/keywords/base.md base (C# Reference)
docs/csharp/language-reference/keywords/class.md "class keyword - C# Reference"
docs/csharp/language-reference/keywords/event.md event (C# reference)
docs/csharp/language-reference/keywords/extern-alias.md extern alias (C# Reference)
docs/csharp/language-reference/keywords/extern.md docs/csharp/language-reference/keywords/extern
docs/csharp/language-reference/operators/collection-expressions.md Collection expressions - C# language reference
docs/csharp/language-reference/operators/member-access-operators.md Member access operators and expressions - the dot, indexer, and invocation operators.
docs/csharp/programming-guide/classes-and-structs/access-modifiers.md "Access Modifiers - C# Programming Guide"
docs/csharp/programming-guide/generics/constraints-on-type-parameters.md Constraints on type parameters (C# Programming Guide)
docs/csharp/programming-guide/statements-expressions-operators/equality-comparisons.md docs/csharp/programming-guide/statements-expressions-operators/equality-comparisons
docs/framework/performance/performance-tips.md .NET Performance Tips
docs/fsharp/language-reference/literals.md Literals
docs/standard/assembly/create-signed-friend.md How to: Create signed friend assemblies
docs/standard/assembly/create-unsigned-friend.md docs/standard/assembly/create-unsigned-friend
docs/standard/assembly/embed-types-visual-studio.md Walkthrough: Embed types from managed assemblies in Visual Studio
docs/standard/assembly/friend.md "Friend assemblies"
docs/standard/assembly/identify.md How to: Determine if a file is an assembly
docs/standard/assembly/load-unload.md docs/standard/assembly/load-unload

Note
This table shows preview links for the 30 files with the most changes. For preview links for other files in this PR, select OpenPublishing.Build Details within checks.

toraritte and others added 8 commits March 12, 2024 12:24
* Clarify why [<Literal>] matters

F# values are immutable, so it is confusing to read about how immutable values becoming "constants" would be helpful. Most of the additions are from https://stackoverflow.com/questions/25472810/how-does-literal-differ-from-other-constants-in-f that helped clear up this topic.

* Update literals.md

---------

Co-authored-by: Don Syme <dsyme@users.noreply.github.com>
* Freshness pass on constraints

Contributes to #39819

Fix all open issues on this article:

- #11835: Change the example to specify different interfaces, one generic, one not.
- #28647: Explicitly mention records for class and struct constraints.
- #28914: Add a list that specifies the order of constraints, and which are mutually exclusive.
- #30529: Add a clarifying statement that `new()` still isn't allowed: All structs have parameterless constructors, whether declared or implicit.

Update the date, and do an edit pass.

* edit pass.

Also, put back in the table meant in the first commit.

* fix typo
* Freshness pass on access modifiers

Contributes to #39819

Perform an edit pass, and address open issues:

- Fixes #25518:  Explain that all partial declarations must match, and not declaring an accessibility means means it has any declared accessibility on the other declaration.
- Fixes #27155 Ret-con this from the day when `record` structs didn't exist. Now, `record` is defined as a modifier on either a `struct` or `class` type.
- Fixes #27196: Added clarifying remarks that "type" had meant a "type" declared directly in a namespace. This still has meaning in the programming guide, rather than using the more normative language of the standard.
- Fixes #27197: Update the language for clarity.

* Fix link, remove table.
* Updates for collection expressions clarity

Fixes #39586

This issue lists several elements. Here are the updates for each of them:

1. Add the list of potential interface types that a collection can be converted into. In addition, add an alert that in all cases, the collection is materialzed.
1. I didn't add a lot here. I think the addition about instantiating the collection is enough.
1. The additional list of interfaces as conversion targets has been added. I didn't specify the type generated, because that's an implementation detail that may not be visible, and may change.
1. I added a definition of a *Countable* type in the member access operator article. I linked between both. I don't think more is needed, as this fact is also emphasized in the definition of a *well behaved* collection.
1. Add the definition of a well-behaved collection.

Finally, do a general edit pas.

* edit pass
* remove programming guide index

Contributes to #39819

This file doesn't have any real content. It's also stale.

The links are all to items in this section anyway.

* Remove dead links

Remove links from inside the programming guide to the overview page.

In other areas, replace the link with a link to the top of programming guide.

* build warnings 2

A couple links were incorrect.

* Apply suggestions from code review

Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>

---------

Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
@dotnet-bot dotnet-bot added this to the March 2024 milestone Mar 12, 2024
@gewarren gewarren enabled auto-merge March 12, 2024 15:57
@gewarren gewarren merged commit 67ce20f into live Mar 12, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants