@@ -928,7 +928,7 @@ private struct WSManDWordDataInternal
928928 /// sequencing of data. Because of this the following structure will
929929 /// have only one string to hold stream information.
930930 /// </summary>
931- [ StructLayout ( LayoutKind . Sequential , CharSet = CharSet . Unicode ) ]
931+ [ StructLayout ( LayoutKind . Sequential ) ]
932932 internal struct WSManStreamIDSetStruct
933933 {
934934 internal int streamIDsCount ;
@@ -1078,7 +1078,7 @@ internal struct WSManOption
10781078 /// <summary>
10791079 /// Unmanaged to Managed: WSMAN_OPERATION_INFO includes the struct directly, so this cannot be made internal to WsmanOptionSet.
10801080 /// </summary>
1081- [ StructLayout ( LayoutKind . Sequential , CharSet = CharSet . Unicode ) ]
1081+ [ StructLayout ( LayoutKind . Sequential ) ]
10821082 internal struct WSManOptionSetStruct
10831083 {
10841084 internal int optionsCount ;
@@ -1326,7 +1326,7 @@ internal static WSManCommandArgSet UnMarshal(IntPtr unmanagedData)
13261326
13271327 internal struct WSManShellDisconnectInfo : IDisposable
13281328 {
1329- [ StructLayout ( LayoutKind . Sequential , CharSet = CharSet . Unicode ) ]
1329+ [ StructLayout ( LayoutKind . Sequential ) ]
13301330 private struct WSManShellDisconnectInfoInternal
13311331 {
13321332 /// <summary>
@@ -1544,7 +1544,7 @@ internal static WSManEnvironmentVariableSet UnMarshal(IntPtr unmanagedData)
15441544 return result ;
15451545 }
15461546
1547- [ StructLayout ( LayoutKind . Sequential , CharSet = CharSet . Unicode ) ]
1547+ [ StructLayout ( LayoutKind . Sequential ) ]
15481548 private struct WSManEnvironmentVariableSetInternal
15491549 {
15501550 internal uint varsCount ;
@@ -1567,7 +1567,7 @@ internal struct WSManEnvironmentVariableInternal
15671567 /// </summary>
15681568 internal class WSManProxyInfo : IDisposable
15691569 {
1570- [ StructLayout ( LayoutKind . Sequential , CharSet = CharSet . Unicode ) ]
1570+ [ StructLayout ( LayoutKind . Sequential ) ]
15711571 private struct WSManProxyInfoInternal
15721572 {
15731573 public int proxyAccessType ;
@@ -2232,7 +2232,7 @@ internal static WSManOperationInfo UnMarshal(IntPtr unmanagedData)
22322232 /// selectorSet and optionSet are handled differently because they are structs that contain pointers to arrays of structs.
22332233 /// Most other data structures in the API point to structures using IntPtr rather than including the actual structure.
22342234 /// </summary>
2235- [ StructLayout ( LayoutKind . Sequential , CharSet = CharSet . Unicode ) ]
2235+ [ StructLayout ( LayoutKind . Sequential ) ]
22362236 private struct WSManOperationInfoInternal
22372237 {
22382238 internal WSManFragmentInternal fragment ;
@@ -2304,7 +2304,7 @@ internal static WSManSelectorSet UnMarshal(WSManSelectorSetStruct resultInternal
23042304 /// <summary>
23052305 /// Managed representation of WSMAN_SELECTOR_SET.
23062306 /// </summary>
2307- [ StructLayout ( LayoutKind . Sequential , CharSet = CharSet . Unicode ) ]
2307+ [ StructLayout ( LayoutKind . Sequential ) ]
23082308 internal struct WSManSelectorSetStruct
23092309 {
23102310 internal int numberKeys ;
0 commit comments