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

Update installcontext_installcontext.cs #9224

Closed
wants to merge 1 commit into from
Closed

Conversation

olhptr
Copy link

@olhptr olhptr commented Aug 29, 2023

There is a copy-paste error: myInstallObject.myInstallContext
The right invoke is: myInstallObject.Context

There is a copy-paste error: myInstallObject.myInstallContext
The right invoke is: myInstallObject.Context
@olhptr olhptr requested a review from a team as a code owner August 29, 2023 09:30
@ghost ghost added the community-contribution Indicates that the PR has been added by a community member label Aug 29, 2023
@learn-build-service-prod
Copy link

Learn Build status updates of commit 9077aed:

✅ Validation status: passed

File Status Preview URL Details
snippets/csharp/System.Configuration.Install/InstallContext/Overview/installcontext_installcontext.cs ✅Succeeded View

For more details, please refer to the build report.

For any questions, please:

@@ -98,7 +98,7 @@ static void Main( string[] args )
{
// <Snippet2>
// There are no command line arguments, create an empty 'InstallContext'.
myInstallObject.myInstallContext = new InstallContext();
myInstallObject.Context = new InstallContext();
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure this is correct. InstallContext_Example defines a field called myInstallContext on line 33.

@buyaa-n buyaa-n closed this Sep 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.Runtime 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.

3 participants