Skip to content

Conversation

@georgettica
Copy link
Contributor

this one is more tricky as there are keyvaluepairs in here
I might have missed one or two

same as #13793

related to #13791

this one is more tricky as there are keyvaluepairs in here
I might have missed one or two
@ghost ghost assigned anmenaga Oct 17, 2020
@georgettica
Copy link
Contributor Author

Not surprising, this was a massive change..

Planning to fix with visual studio and hopefully will work much better

Copy link
Collaborator

@iSazonov iSazonov left a comment

Choose a reason for hiding this comment

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

@georgettica Too many errors. Please fix based on my comments.

PSPropertyInfo nameProperty = psObject.Properties["Name"];
PSPropertyInfo psSnapInProperty = psObject.Properties["PSSnapIn"];
string nameString = nameProperty == null ? string.Empty : (string)nameProperty.Value;
string psSnapInString = psSnapInProperty == null ? string.Empty : (string)psSnapInProperty.Value;
Copy link
Collaborator

Choose a reason for hiding this comment

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

It is not correct. See my comment in another PR.

}

result.Add(param, pair.Value);
result.Add(param, pair);
Copy link
Collaborator

Choose a reason for hiding this comment

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

It is not nullable.

@georgettica
Copy link
Contributor Author

will remove this PR aswell as I think some stuff will be better suited by others

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.

3 participants