Skip to content

Conversation

@dotnet-policy-service
Copy link
Contributor

@dotnet-policy-service dotnet-policy-service bot commented Dec 6, 2024

Please don't squash-merge this PR.


Internal previews

Toggle expand/collapse
📄 File 🔗 Preview link
.github/ISSUE_TEMPLATE/02-breaking-change.yml .github/ISSUE_TEMPLATE/02-breaking-change
docs/ai/quickstarts/get-started-openai.md docs/ai/quickstarts/get-started-openai
docs/ai/quickstarts/quickstart-azure-openai-tool.md docs/ai/quickstarts/quickstart-azure-openai-tool
docs/ai/quickstarts/quickstart-local-ai.md docs/ai/quickstarts/quickstart-local-ai
docs/ai/quickstarts/quickstart-openai-generate-images.md docs/ai/quickstarts/quickstart-openai-generate-images
docs/ai/quickstarts/quickstart-openai-summarize-text.md docs/ai/quickstarts/quickstart-openai-summarize-text
docs/ai/quickstarts/snippets/image-generation/azure-openai/benefits.md docs/ai/quickstarts/snippets/image-generation/azure-openai/benefits
docs/ai/quickstarts/snippets/image-generation/openai/benefits.md docs/ai/quickstarts/snippets/image-generation/openai/benefits
docs/core/testing/unit-testing-mstest-configure.md docs/core/testing/unit-testing-mstest-configure
docs/core/testing/unit-testing-mstest-writing-tests-testcontext.md docs/core/testing/unit-testing-mstest-writing-tests-testcontext
docs/core/testing/unit-testing-mstest-writing-tests.md docs/core/testing/unit-testing-mstest-writing-tests
docs/csharp/language-reference/keywords/method-parameters.md docs/csharp/language-reference/keywords/method-parameters
docs/csharp/language-reference/operators/assignment-operator.md docs/csharp/language-reference/operators/assignment-operator
docs/fsharp/language-reference/symbol-and-operator-reference/arithmetic-operators.md docs/fsharp/language-reference/symbol-and-operator-reference/arithmetic-operators
docs/navigate/devops-testing/toc.yml docs/navigate/devops-testing/toc
docs/standard/data/sqlite/connection-strings.md docs/standard/data/sqlite/connection-strings

Evangelink and others added 9 commits December 5, 2024 12:18
* Rework parameter passing

Rework the examples and discussions on pass by value and pass by reference.  Remove the (more complicated) discussion of `= ref` and how that impacts modifying parameter values. That's coming in the next commit to the assignment article.

* add ref reassignment

Point out that if you `ref =` assign a parameter to new storage, any subsequent value changes aren't visible outside the method.

* fix build warnings

* Update docs/csharp/language-reference/keywords/snippets/PassParameters.cs
#43789)

* Fixed bug 41859.

* Comments fix.

---------

Co-authored-by: Adit Sheth <[email protected]>
* Update image and local function quickstarts


Co-authored-by: Genevieve Warren <[email protected]>

---------

Co-authored-by: Genevieve Warren <[email protected]>
@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 December 2024 milestone Dec 6, 2024
@dotnet-policy-service dotnet-policy-service bot merged commit a584126 into live Dec 6, 2024
15 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.

8 participants