Skip to content

Update default param val attr #9356

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

Merged
merged 4 commits into from
Oct 4, 2023

Conversation

Rageking8
Copy link
Contributor

Summary

Changed up the first example and added a new example. Also rephrased the part that implied that C# does not have default parameters.

@ghost ghost added community-contribution Indicates that the PR has been added by a community member area-System.Runtime.InteropServices labels Oct 2, 2023
@learn-build-service-prod

This comment was marked as outdated.

@learn-build-service-prod

This comment was marked as outdated.

@learn-build-service-prod
Copy link

Learn Build status updates of commit 3a3f182:

✅ Validation status: passed

File Status Preview URL Details
snippets/csharp/System.Runtime.InteropServices/DefaultParameterValueAttribute/Overview/sample.cs ✅Succeeded n/a (file deleted or renamed)
snippets/csharp/System.Runtime.InteropServices/DefaultParameterValueAttribute/Overview/sample1.cs ✅Succeeded View
snippets/csharp/System.Runtime.InteropServices/DefaultParameterValueAttribute/Overview/sample2.cs ✅Succeeded View
xml/System.Runtime.InteropServices/DefaultParameterValueAttribute.xml ✅Succeeded View

For more details, please refer to the build report.

For any questions, please:

Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
@learn-build-service-prod
Copy link

Learn Build status updates of commit f0078f7:

✅ Validation status: passed

File Status Preview URL Details
snippets/csharp/System.Runtime.InteropServices/DefaultParameterValueAttribute/Overview/sample.cs ✅Succeeded n/a (file deleted or renamed)
snippets/csharp/System.Runtime.InteropServices/DefaultParameterValueAttribute/Overview/sample1.cs ✅Succeeded View
snippets/csharp/System.Runtime.InteropServices/DefaultParameterValueAttribute/Overview/sample2.cs ✅Succeeded View
xml/System.Runtime.InteropServices/DefaultParameterValueAttribute.xml ✅Succeeded View

For more details, please refer to the build report.

For any questions, please:

Copy link
Contributor

@gewarren gewarren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Rageking8, looks better.

@gewarren gewarren merged commit 6fd5dbc into dotnet:main Oct 4, 2023
@Rageking8 Rageking8 deleted the update-default-param-val-attr branch October 4, 2023 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.Runtime.InteropServices community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants