We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17e7eea commit 6931a6bCopy full SHA for 6931a6b
src/Common/Commands.Common/AzureLongRunningJob.cs
@@ -142,6 +142,10 @@ public static U CopyCmdlet<U>(U cmdlet) where U : AzurePSCmdlet
142
property.SetValue(returnValue, property.GetValue(cmdlet));
143
}
144
145
+ foreach (var field in returnType.GetFields(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.DeclaredOnly))
146
+ {
147
+ field.SetValue(returnValue, field.GetValue(cmdlet));
148
+ }
149
150
return returnValue as U;
151
0 commit comments