@autorest/powershell 4.0.717 → 4.0.719

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/.rush/temp/package-deps_build.json +14 -13
  2. package/dist/cmdlets/class.d.ts.map +1 -1
  3. package/dist/cmdlets/class.js +22 -18
  4. package/dist/cmdlets/class.js.map +1 -1
  5. package/dist/generators/AssemblyInfo.d.ts +3 -0
  6. package/dist/generators/AssemblyInfo.d.ts.map +1 -0
  7. package/dist/generators/AssemblyInfo.js +30 -0
  8. package/dist/generators/AssemblyInfo.js.map +1 -0
  9. package/dist/generators/csproj.d.ts.map +1 -1
  10. package/dist/generators/csproj.js +1 -16
  11. package/dist/generators/csproj.js.map +1 -1
  12. package/dist/internal/project.d.ts +1 -0
  13. package/dist/internal/project.d.ts.map +1 -1
  14. package/dist/internal/project.js +3 -1
  15. package/dist/internal/project.js.map +1 -1
  16. package/dist/llcsharp/model/namespace.d.ts.map +1 -1
  17. package/dist/llcsharp/model/namespace.js +3 -3
  18. package/dist/llcsharp/model/namespace.js.map +1 -1
  19. package/dist/llcsharp/project.d.ts +1 -0
  20. package/dist/llcsharp/project.d.ts.map +1 -1
  21. package/dist/llcsharp/project.js +2 -0
  22. package/dist/llcsharp/project.js.map +1 -1
  23. package/dist/llcsharp/schema/schema-resolver.d.ts +2 -0
  24. package/dist/llcsharp/schema/schema-resolver.d.ts.map +1 -1
  25. package/dist/llcsharp/schema/schema-resolver.js +5 -4
  26. package/dist/llcsharp/schema/schema-resolver.js.map +1 -1
  27. package/dist/models/model-extensions.d.ts.map +1 -1
  28. package/dist/models/model-extensions.js +3 -3
  29. package/dist/models/model-extensions.js.map +1 -1
  30. package/dist/plugins/cs-namer-v2.js +3 -3
  31. package/dist/plugins/cs-namer-v2.js.map +1 -1
  32. package/dist/plugins/powershell-v2.d.ts.map +1 -1
  33. package/dist/plugins/powershell-v2.js +2 -0
  34. package/dist/plugins/powershell-v2.js.map +1 -1
  35. package/dist/plugins/sdk-cs-namer.d.ts.map +1 -1
  36. package/dist/plugins/sdk-cs-namer.js +0 -2
  37. package/dist/plugins/sdk-cs-namer.js.map +1 -1
  38. package/dist/plugins/sdk-tweak-model.d.ts.map +1 -1
  39. package/dist/plugins/sdk-tweak-model.js +0 -2
  40. package/dist/plugins/sdk-tweak-model.js.map +1 -1
  41. package/package.json +1 -1
  42. package/resources/assets/build-module.ps1 +0 -7
@@ -7,7 +7,7 @@
7
7
  "powershell/autorest-configuration-for-sdk.md": "d6bd98068a88d8f9cb41b8a731cfea21d0787e4e",
8
8
  "powershell/autorest-configuration.md": "3a47bf36e4b80be07ddfd20d77fabf82aacfd77f",
9
9
  "powershell/changelog.md": "438e32cc7c4d86e08e32c2fd4085928c0e70b1b9",
10
- "powershell/cmdlets/class.ts": "e13befd3cb56a09e46db4cf2a599c771e72604b0",
10
+ "powershell/cmdlets/class.ts": "c78b39ed3d5680cc51d399e9986c6d477e6ec3c9",
11
11
  "powershell/cmdlets/namespace.ts": "3d5f007d0833a3df909fdff97df939c6c80b0fb4",
12
12
  "powershell/cmdlets/parameter.ts": "7c67fea43eded2c358ad802306dde505c8d0e30f",
13
13
  "powershell/enums/namespace.ts": "1206b2c779837a0660b314059e312a472a145c87",
@@ -15,7 +15,8 @@
15
15
  "powershell/file-formats/md-file.ts": "ed8ce6b04bee95cf325ba7c92e4e242acb2c9e40",
16
16
  "powershell/file-formats/psd-file.ts": "7a26fee1d7be7502d149472e03c24ce131843e69",
17
17
  "powershell/file-formats/psscript-file.ts": "b13b2804498f8823e24d54cd8169a29ddcc6bbb9",
18
- "powershell/generators/csproj.ts": "e06535a328b1e8914212d59678db0a23d53560c7",
18
+ "powershell/generators/AssemblyInfo.ts": "5430716273b60c4934c3e33e8757d4c39153013a",
19
+ "powershell/generators/csproj.ts": "5f48aa9958116b1bcb16cd435650db31f3c45d97",
19
20
  "powershell/generators/gitattributes.ts": "e3467fba6c42fb795a1b1c121382354057ffc094",
20
21
  "powershell/generators/gitignore.ts": "783cae2547a401a8e701618cb1f64037e6c095ef",
21
22
  "powershell/generators/inputhandler.custom.ts": "dfac8ba7fc85e1ef0be76bd1fd9d6bf37b7c26f0",
@@ -27,7 +28,7 @@
27
28
  "powershell/generators/script-cmdlet.ts": "bf8a72600f7fc351176ff510cb85bc5f38378bfb",
28
29
  "powershell/internal/name-inferrer.ts": "8270005536a5462b6f3e998a3df4c1f112b221ec",
29
30
  "powershell/internal/powershell-declarations.ts": "0cbb0c67b76cbefc1d962cd9952ca0c43cf693e5",
30
- "powershell/internal/project.ts": "73fa47f7379759c7e587d73ff05afd827b247c34",
31
+ "powershell/internal/project.ts": "4d61fa74bf57ebfe1bea4e6770d2879ea6b61875",
31
32
  "powershell/internal/state.ts": "ed2dcc72cf386b051f73d6be4164a29998d32a4e",
32
33
  "powershell/internal/verbs.ts": "c8fd6b534923b1dd1bd71be0f33936265468942e",
33
34
  "powershell/llcsharp/clientruntime.ts": "a69a231207e39ff13e55a9bfdf265add57fcd7bf",
@@ -45,13 +46,13 @@
45
46
  "powershell/llcsharp/model/model-class-json.ts": "c5643309924a8c9b71c35ed934a2e832433fd256",
46
47
  "powershell/llcsharp/model/model-class-serializer.ts": "6eae7b9ee26d4e36ee801eeb9bb40d926dc7e842",
47
48
  "powershell/llcsharp/model/model-class.ts": "bba612ce1ec96c41dc05a7e076d44d5bd3a1a791",
48
- "powershell/llcsharp/model/namespace.ts": "a191b95cc81fd64be771a58e7270cc43acc8fa52",
49
+ "powershell/llcsharp/model/namespace.ts": "39bfc2b83a8dfafd6c9d73d1e420778b2a39c42d",
49
50
  "powershell/llcsharp/model/property.ts": "ea43893f817c407d453fc230fb8911833fa660dc",
50
51
  "powershell/llcsharp/operation/api-class.ts": "712f4e3a2bb317e8eeb88f0012ed7d5070b86a54",
51
52
  "powershell/llcsharp/operation/method.ts": "dffc110b7cf1159fbce168b5e0bdf843fd7fe37b",
52
53
  "powershell/llcsharp/operation/namespace.ts": "22f6a2736a67c76677cd903adc2901d358e1cc6b",
53
54
  "powershell/llcsharp/operation/parameter.ts": "a96d5d83f6d93561f930635c1d2410134b355003",
54
- "powershell/llcsharp/project.ts": "edb7f3fc23c3831687a77af1da15e5ac8c6ffc2e",
55
+ "powershell/llcsharp/project.ts": "94230937894e3e81424987d5065642d8d5668836",
55
56
  "powershell/llcsharp/schema/Uuid.ts": "c6be5b0992b91cdeffeb8b20170bcfc888d201b6",
56
57
  "powershell/llcsharp/schema/array.ts": "2574fb45b94122105d16ed21b3948d558a5147eb",
57
58
  "powershell/llcsharp/schema/binary.ts": "e184b46ef5ae11fb96e424a235642eaf67a50e9a",
@@ -68,34 +69,34 @@
68
69
  "powershell/llcsharp/schema/object.ts": "8fe40f9b96554d3f48b3a9f22121689db93ce49b",
69
70
  "powershell/llcsharp/schema/password.ts": "84541fe4fc9e4228682311839062043907ee3449",
70
71
  "powershell/llcsharp/schema/primitive.ts": "71df7077e65ad6357c662d9b06b62f4dc41625bf",
71
- "powershell/llcsharp/schema/schema-resolver.ts": "57a1c1184a9f9d3e739330ecd6b7f5016641b000",
72
+ "powershell/llcsharp/schema/schema-resolver.ts": "4e35cdb889f47b6752188e53f8fb5a3f4b1a93e6",
72
73
  "powershell/llcsharp/schema/string.ts": "d8508369f8bc1e0748c0737d254f105f9495a655",
73
74
  "powershell/llcsharp/schema/uri.ts": "29680c6bf8db7bcdc8ce2e389ae2c7f9efaed2ac",
74
75
  "powershell/llcsharp/validations.ts": "0a86cb8934b4536461efbce10de737075c599866",
75
76
  "powershell/main.ts": "0eacdbffe3e1179a7e66ce79e9e3882855b42f0a",
76
- "powershell/models/model-extensions.ts": "f0c617b9bfb04b4424a853e1b1eecba9059ba788",
77
+ "powershell/models/model-extensions.ts": "2b3c129d070b0a30b01d32eb8998043c30b1bd7d",
77
78
  "powershell/module/module-class.ts": "ffef6105f5566125c72dc525dd33ed0ddd05b910",
78
79
  "powershell/module/module-namespace.ts": "f6afc90087e8d733f0323b0de8ba41d923955732",
79
- "powershell/package.json": "1d5f8b0ceab2da8155041f313e2ec92f4f4b3654",
80
+ "powershell/package.json": "09f46ee975c449e8604c6a7d33bfe869db18bfc0",
80
81
  "powershell/plugins/add-azure-completers-v2.ts": "46e91eb274a6a863315be8c0d5c9d84597654bce",
81
82
  "powershell/plugins/create-commands-v2.ts": "7fcf503415666f3bbfb22072f29a804b098413df",
82
- "powershell/plugins/cs-namer-v2.ts": "b504edae33487fec0bc6b0a70547393e69fd6b40",
83
+ "powershell/plugins/cs-namer-v2.ts": "f16981643ae24355e937ea717e33508e46dd2da2",
83
84
  "powershell/plugins/llcsharp-v2.ts": "f97f45453a4ff6001aec32f42d4d01f61e60fdbe",
84
85
  "powershell/plugins/modifiers-v2.ts": "5c9f9a6e584ca1e8ba7e8db68a0afb83864cf03f",
85
86
  "powershell/plugins/plugin-create-inline-properties.ts": "587a5a43498a7ab7dde01dcb389fac89ff3d571a",
86
87
  "powershell/plugins/plugin-tweak-m4-model.ts": "8260bf1fad7131562e696d930d8330c48eb0161e",
87
88
  "powershell/plugins/plugin-tweak-model-azure-v2.ts": "36616b24815a2d22a98c7a4ca32cf7586b90042b",
88
89
  "powershell/plugins/plugin-tweak-model.ts": "fb830f0f916e34990444122b5aa630621923b3d6",
89
- "powershell/plugins/powershell-v2.ts": "c5af572187998187bab705ad61d56417048ed97d",
90
+ "powershell/plugins/powershell-v2.ts": "212aabd614a1903569060a515f49984b18533074",
90
91
  "powershell/plugins/ps-namer-v2.ts": "3e8c97aa8e3804374e49b73dd2debdf022f0b17a",
91
92
  "powershell/plugins/sdk-create-inline-properties.ts": "cb7847a1a30a36e5cd6b76e914fb2d78b94f9c94",
92
- "powershell/plugins/sdk-cs-namer.ts": "f11082c6b830fe7b6665f330c246f5a2de837f4a",
93
+ "powershell/plugins/sdk-cs-namer.ts": "5444f31f31e84ca10260b0e5c0e6196539129fef",
93
94
  "powershell/plugins/sdk-cs-simplifier.ts": "fcd053343a163f715b20c1271671b17f97babfe1",
94
95
  "powershell/plugins/sdk-generate.ts": "e0813294f5d0eabd9f2c337f2e4b704e6002b037",
95
96
  "powershell/plugins/sdk-modifiers.ts": "e64c3cd68efff29b63a0c00502b8efab4868c6b7",
96
- "powershell/plugins/sdk-tweak-model.ts": "4a58cf59d9f71f0603d84e08c8d1ab9a4a793e39",
97
+ "powershell/plugins/sdk-tweak-model.ts": "3ded67f504df68015528a189749aac0754e9b8a3",
97
98
  "powershell/readme.md": "eeb191589b240161a10502f6d21e35b23f9bc805",
98
- "powershell/resources/assets/build-module.ps1": "f38945fc693ded5fb747cea217b92122744f3f55",
99
+ "powershell/resources/assets/build-module.ps1": "f4ddd8263f14cdb0bcbfb8c292e6ed8390b2a58c",
99
100
  "powershell/resources/assets/check-dependencies.ps1": "2b60454c4749ce45ebabb419e2228b0b80b89545",
100
101
  "powershell/resources/assets/create-model-cmdlets.ps1": "fbe97e185942ac17d6ba73d17c080ce1a354736f",
101
102
  "powershell/resources/assets/custom/README.md": "8f35d9de2dd67e37c4135b2d91dc194b33c9cd3f",
@@ -1 +1 @@
1
- {"version":3,"file":"class.d.ts","sourceRoot":"","sources":["../../cmdlets/class.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,MAAM,IAAI,SAAS,EAAiL,MAAM,qBAAqB,CAAC;AACzO,OAAO,EAA4J,gBAAgB,EAAmB,MAAM,2BAA2B,CAAC;AACxO,OAAO,EAAE,gBAAgB,EAAmC,gBAAgB,IAAI,mBAAmB,EAAe,MAAM,4BAA4B,CAAC;AAErJ,OAAO,EAAmD,WAAW,EAAa,MAAM,sBAAsB,CAAC;AAE/G,OAAO,EACqC,KAAK,EAAwC,UAAU,EAA4F,SAAS,EAAkC,QAAQ,EAC/K,KAAK,EAAgE,eAAe,EACtJ,MAAM,6BAA6B,CAAC;AAGrC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AA+H1C,wBAAgB,aAAa,CAAC,CAAC,EAAE,UAAU,cAM1C;AAED,wBAAgB,gBAAgB,CAAC,cA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AO,CAAC,0BAA0B;IA2WlC;;;;;OAKG;IACH,OAAO,CAAC,cAAc;IAUtB,OAAO,CAAC,qBAAqB;CA4M9B"}
@@ -418,7 +418,7 @@ class CmdletClass extends codegen_csharp_1.Class {
418
418
  parameterLocation: each.parameterLocation
419
419
  };
420
420
  }
421
- const httpParamTD = this.state.project.schemaDefinitionResolver.resolveTypeDeclaration(httpParam.schema, httpParam.required, this.state);
421
+ const httpParamTD = this.state.project.schemaDefinitionResolver.resolveTypeDeclaration(httpParam.schema, httpParam.required, this.state, this.state.project.fixedArray);
422
422
  return {
423
423
  name: each.param,
424
424
  expression: (0, codegen_csharp_1.toExpression)(`this.InvocationInformation.BoundParameters.ContainsKey("${each.param.value}") ? ${each.param.value} : ${httpParamTD.defaultOfType}`),
@@ -496,11 +496,13 @@ class CmdletClass extends codegen_csharp_1.Class {
496
496
  }
497
497
  WriteObjectWithViewControl(valueName, isEnumerable = false) {
498
498
  const $this = this;
499
+ const lengthFunc = $this.state.project.fixedArray ? 'Length' : 'Count';
500
+ const listToArrayFunc = $this.state.project.fixedArray ? '.ToArray()' : '';
499
501
  if ($this.state.project.autoSwitchView) {
500
502
  if (isEnumerable) {
501
503
  return function* () {
502
504
  yield (0, codegen_csharp_1.If)(`null != ${valueName}`, function* () {
503
- yield (0, codegen_csharp_1.If)(`0 == _responseSize && 1 == ${valueName}.Count`, function* () {
505
+ yield (0, codegen_csharp_1.If)(`0 == _responseSize && 1 == ${valueName}.${lengthFunc}`, function* () {
504
506
  yield `_firstResponse = ${valueName}[0];`;
505
507
  yield '_responseSize = 1;';
506
508
  });
@@ -510,7 +512,7 @@ class CmdletClass extends codegen_csharp_1.Class {
510
512
  yield (0, codegen_csharp_1.ForEach)('value', valueName, function* () {
511
513
  yield 'values.Add(value.AddMultipleTypeNameIntoPSObject());';
512
514
  });
513
- yield 'WriteObject(values, true); ';
515
+ yield `WriteObject(values${listToArrayFunc}, true); `;
514
516
  yield '_responseSize = 2;';
515
517
  });
516
518
  });
@@ -865,7 +867,7 @@ class CmdletClass extends codegen_csharp_1.Class {
865
867
  else {
866
868
  const match = props.find(p => (0, codegen_1.pascalCase)(p.serializedName) === pascalName);
867
869
  if (match) {
868
- const defaultOfType = $this.state.project.schemaDefinitionResolver.resolveTypeDeclaration(match.schema, true, $this.state).defaultOfType;
870
+ const defaultOfType = $this.state.project.schemaDefinitionResolver.resolveTypeDeclaration(match.schema, true, $this.state, $this.state.project.fixedArray).defaultOfType;
869
871
  // match up vp name
870
872
  const vp = allVPs.find(pp => (0, codegen_1.pascalCase)(pp.property.serializedName) === pascalName);
871
873
  //push path parameters that form current identity into allParams, idOpParamsFromIdentity and idOpParamsFromIdentityserializedName
@@ -1249,7 +1251,7 @@ class CmdletClass extends codegen_csharp_1.Class {
1249
1251
  if ('schema' in each) {
1250
1252
  const schema = each.schema;
1251
1253
  const props = (0, schema_1.getAllPublicVirtualProperties)((_h = schema.language.csharp) === null || _h === void 0 ? void 0 : _h.virtualProperties);
1252
- const rType = $this.state.project.schemaDefinitionResolver.resolveTypeDeclaration(schema, true, $this.state);
1254
+ const rType = $this.state.project.schemaDefinitionResolver.resolveTypeDeclaration(schema, true, $this.state, $this.state.project.fixedArray);
1253
1255
  const result = new codegen_csharp_1.LocalVariable('result', codegen_csharp_1.dotnet.Var, { initializer: new codegen_csharp_1.LiteralExpression('(await response)') });
1254
1256
  yield `// (await response) // should be ${rType.declaration}`;
1255
1257
  yield result.declarationStatement;
@@ -1272,13 +1274,15 @@ class CmdletClass extends codegen_csharp_1.Class {
1272
1274
  // write out the current contents
1273
1275
  const vp = (0, schema_1.getVirtualPropertyFromPropertyName)((_m = schema.language.csharp) === null || _m === void 0 ? void 0 : _m.virtualProperties, valueProperty.serializedName);
1274
1276
  if (vp) {
1277
+ const lengthFunc = $this.state.project.fixedArray ? 'Length' : 'Count';
1278
+ const subArrayFunc = $this.state.project.fixedArray ? 'SubArray' : 'GetRange';
1275
1279
  if ($this.clientsidePagination) {
1276
- yield ((0, codegen_csharp_1.If)('(ulong)result.Value.Count <= this.PagingParameters.Skip', function* () {
1277
- yield ('this.PagingParameters.Skip = this.PagingParameters.Skip - (ulong)result.Value.Count;');
1280
+ yield ((0, codegen_csharp_1.If)(`(ulong)result.Value.${lengthFunc} <= this.PagingParameters.Skip`, function* () {
1281
+ yield (`this.PagingParameters.Skip = this.PagingParameters.Skip - (ulong)result.Value.${lengthFunc};`);
1278
1282
  }));
1279
1283
  yield (0, codegen_csharp_1.Else)(function* () {
1280
- yield ('ulong toRead = Math.Min(this.PagingParameters.First, (ulong)result.Value.Count - this.PagingParameters.Skip);');
1281
- yield ('var requiredResult = result.Value.GetRange((int)this.PagingParameters.Skip, (int)toRead);');
1284
+ yield (`ulong toRead = Math.Min(this.PagingParameters.First, (ulong)result.Value.${lengthFunc} - this.PagingParameters.Skip);`);
1285
+ yield (`var requiredResult = result.Value.${subArrayFunc}((int)this.PagingParameters.Skip, (int)toRead);`);
1282
1286
  yield $this.WriteObjectWithViewControl('requiredResult', true);
1283
1287
  yield ('this.PagingParameters.Skip = 0;');
1284
1288
  yield ('this.PagingParameters.First = this.PagingParameters.First <= toRead ? 0 : this.PagingParameters.First - toRead;');
@@ -1591,7 +1595,7 @@ class CmdletClass extends codegen_csharp_1.Class {
1591
1595
  for (const parameter of (0, linq_1.values)(operation.parameters)) {
1592
1596
  // these are the parameters that this command expects
1593
1597
  parameter.schema;
1594
- const td = this.state.project.schemaDefinitionResolver.resolveTypeDeclaration(parameter.schema, true, this.state);
1598
+ const td = this.state.project.schemaDefinitionResolver.resolveTypeDeclaration(parameter.schema, true, this.state, this.state.project.fixedArray);
1595
1599
  if (parameter.details.csharp.constantValue) {
1596
1600
  // this parameter has a constant value -- SKIP IT
1597
1601
  continue;
@@ -1643,11 +1647,11 @@ class CmdletClass extends codegen_csharp_1.Class {
1643
1647
  for (const vParam of vps.body) {
1644
1648
  const vSchema = vParam.schema;
1645
1649
  vParam.origin;
1646
- const propertyType = this.state.project.schemaDefinitionResolver.resolveTypeDeclaration(vSchema, true, this.state);
1650
+ const propertyType = this.state.project.schemaDefinitionResolver.resolveTypeDeclaration(vSchema, true, this.state, this.state.project.fixedArray);
1647
1651
  // we need to know if the actual underlying property is actually nullable.
1648
- const nullable = this.state.project.schemaDefinitionResolver.resolveTypeDeclaration(vSchema, !!vParam.origin.required, this.state).isNullable;
1652
+ const nullable = this.state.project.schemaDefinitionResolver.resolveTypeDeclaration(vSchema, !!vParam.origin.required, this.state, this.state.project.fixedArray).isNullable;
1649
1653
  let cmdletParameter;
1650
- if (propertyType.schema.type !== codemodel_1.SchemaType.Array) {
1654
+ if (propertyType.schema.type !== codemodel_1.SchemaType.Array || this.state.project.fixedArray) {
1651
1655
  if (vParam.name === 'IdentityType' && !this.disableTransformIdentityType &&
1652
1656
  (this.operation.commandType === command_operation_1.CommandType.ManagedIdentityNew || this.operation.commandType === command_operation_1.CommandType.ManagedIdentityUpdate)) {
1653
1657
  const enableSystemAssignedIdentity = new codegen_csharp_1.Property('EnableSystemAssignedIdentity', operation.details.csharp.verb.toLowerCase() === 'new' ? powershell_declarations_1.SwitchParameter : powershell_declarations_1.NullableBoolean, {
@@ -1790,7 +1794,7 @@ class CmdletClass extends codegen_csharp_1.Class {
1790
1794
  declaration: (_h = parameter.schema.language.csharp) === null || _h === void 0 ? void 0 : _h.fullname
1791
1795
  },
1792
1796
  valueType: paramDictSchema.elementType.type === codemodel_1.SchemaType.Any ? codegen_csharp_1.System.Object :
1793
- this.state.project.schemaDefinitionResolver.resolveTypeDeclaration(paramDictSchema.elementType, true, this.state)
1797
+ this.state.project.schemaDefinitionResolver.resolveTypeDeclaration(paramDictSchema.elementType, true, this.state, this.state.project.fixedArray)
1794
1798
  };
1795
1799
  }
1796
1800
  this.bodyParameter = expandedBodyParameter;
@@ -1802,7 +1806,7 @@ class CmdletClass extends codegen_csharp_1.Class {
1802
1806
  this.inputObjectParameterName = `${this.name.split(viaIdentityRegex)[1].split('Expanded')[0]}InputObject`;
1803
1807
  // add in the pipeline parameter for the identity
1804
1808
  const idschema = (0, linq_1.values)(this.state.project.model.schemas.objects).first(each => each.language.default.uid === 'universal-parameter-type');
1805
- const idtd = this.state.project.schemaDefinitionResolver.resolveTypeDeclaration(idschema, true, this.state);
1809
+ const idtd = this.state.project.schemaDefinitionResolver.resolveTypeDeclaration(idschema, true, this.state, this.state.project.fixedArray);
1806
1810
  const idParam = this.add(new codegen_csharp_1.BackedProperty(this.inputObjectParameterName, idtd, {
1807
1811
  description: 'Identity Parameter'
1808
1812
  }));
@@ -1826,7 +1830,7 @@ class CmdletClass extends codegen_csharp_1.Class {
1826
1830
  }
1827
1831
  else {
1828
1832
  const vSchema = vParam.schema;
1829
- propertyType = this.state.project.schemaDefinitionResolver.resolveTypeDeclaration(vSchema, true, this.state);
1833
+ propertyType = this.state.project.schemaDefinitionResolver.resolveTypeDeclaration(vSchema, true, this.state, this.state.project.fixedArray);
1830
1834
  origin = vParam.origin;
1831
1835
  regularCmdletParameter = (this.state.project.azure && vParam.name === 'SubscriptionId' && operation.details.csharp.verb.toLowerCase() === 'get') ?
1832
1836
  // special case for subscription id
@@ -1974,7 +1978,7 @@ class CmdletClass extends codegen_csharp_1.Class {
1974
1978
  outputTypes.add(`typeof(${codegen_csharp_1.dotnet.Bool})`);
1975
1979
  }
1976
1980
  else {
1977
- const typeDeclaration = this.state.project.schemaDefinitionResolver.resolveTypeDeclaration(resultSchema, true, this.state);
1981
+ const typeDeclaration = this.state.project.schemaDefinitionResolver.resolveTypeDeclaration(resultSchema, true, this.state, this.state.project.fixedArray);
1978
1982
  if (typeDeclaration.declaration === codegen_csharp_1.System.IO.Stream.declaration || typeDeclaration.declaration === codegen_csharp_1.dotnet.Binary.declaration) {
1979
1983
  // if this is a stream, skip the output type.
1980
1984
  this.hasStreamOutput = true;
@@ -1995,7 +1999,7 @@ class CmdletClass extends codegen_csharp_1.Class {
1995
1999
  }
1996
2000
  const nestedSchema = (_g = (((_d = typeDeclaration.schema.properties) === null || _d === void 0 ? void 0 : _d.find(p => p.serializedName === pageableInfo.itemName))
1997
2001
  || ((_f = ((_e = typeDeclaration.schema.parents) === null || _e === void 0 ? void 0 : _e.all.find(s => { var _a; return (0, codemodel_1.isObjectSchema)(s) && ((_a = s.properties) === null || _a === void 0 ? void 0 : _a.find((p => p.serializedName === pageableInfo.itemName))); })).properties) === null || _f === void 0 ? void 0 : _f.find((p => p.serializedName === pageableInfo.itemName))))) === null || _g === void 0 ? void 0 : _g.schema;
1998
- const nestedTypeDeclaration = this.state.project.schemaDefinitionResolver.resolveTypeDeclaration(nestedSchema, true, this.state);
2002
+ const nestedTypeDeclaration = this.state.project.schemaDefinitionResolver.resolveTypeDeclaration(nestedSchema, true, this.state, this.state.project.fixedArray);
1999
2003
  type = nestedTypeDeclaration.elementTypeDeclaration;
2000
2004
  }
2001
2005
  else {