Skip to content
This repository was archived by the owner on Feb 19, 2025. It is now read-only.

Commit f472cbf

Browse files
author
Jon Ludlam
authored
Merge pull request #116 from jonludlam/CA-267461
CA-267461: Fix powershell bindings generator for some constructors
2 parents 4cf20b5 + c897021 commit f472cbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

powershell/gen_powershell_binding.ml

+2-2
Original file line numberDiff line numberDiff line change
@@ -599,13 +599,13 @@ and explode_record_fields message fields =
599599
let print_map tl hd =
600600
sprintf "
601601
%s = CommonCmdletFunctions.ConvertDictionaryToHashtable(Record.%s);%s"
602-
(exposed_class_name (pascal_case (full_name hd)))
602+
(ocaml_class_to_csharp_property (full_name hd))
603603
(full_name hd)
604604
(explode_record_fields message tl) in
605605
let print_record tl hd =
606606
sprintf "
607607
%s = Record.%s;%s"
608-
(exposed_class_name (pascal_case (full_name hd)))
608+
(ocaml_class_to_csharp_property (full_name hd))
609609
(full_name hd)
610610
(explode_record_fields message tl) in
611611
match fields with

0 commit comments

Comments
 (0)