Skip to content

Commit 1b45b1b

Browse files
authored
Replace native sized -> native-sized (#118402)
1 parent dfb2850 commit 1b45b1b

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/CLong.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public CLong(int value)
3636
}
3737

3838
/// <summary>
39-
/// Constructs an instance from a native sized integer.
39+
/// Constructs an instance from a native-sized integer.
4040
/// </summary>
4141
/// <param name="value">The integer value.</param>
4242
/// <exception cref="OverflowException"><paramref name="value"/> is outside the range of the underlying storage type.</exception>

src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/CULong.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public CULong(uint value)
3636
}
3737

3838
/// <summary>
39-
/// Constructs an instance from a native sized unsigned integer.
39+
/// Constructs an instance from a native-sized unsigned integer.
4040
/// </summary>
4141
/// <param name="value">The integer value.</param>
4242
/// <exception cref="OverflowException"><paramref name="value"/> is outside the range of the underlying storage type.</exception>

src/mono/mono/mini/mini-arm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2108,7 +2108,7 @@ mono_arch_allocate_vars (MonoCompile *cfg)
21082108
if (cfg->gsharedvt && mini_is_gsharedvt_variable_type (t))
21092109
continue;
21102110

2111-
/* inst->backend.is_pinvoke indicates native sized value types, this is used by the
2111+
/* inst->backend.is_pinvoke indicates native-sized value types, this is used by the
21122112
* pinvoke wrappers when they call functions returning structure */
21132113
if (ins->backend.is_pinvoke && MONO_TYPE_ISSTRUCT (t) && t->type != MONO_TYPE_TYPEDBYREF) {
21142114
size = mono_class_native_size (mono_class_from_mono_type_internal (t), &ualign);

src/mono/mono/mini/mini-s390x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1606,7 +1606,7 @@ mono_arch_allocate_vars (MonoCompile *cfg)
16061606
continue;
16071607

16081608
/*--------------------------------------------------*/
1609-
/* inst->backend.is_pinvoke indicates native sized */
1609+
/* inst->backend.is_pinvoke indicates native-sized */
16101610
/* value types this is used by the pinvoke wrappers */
16111611
/* when they call functions returning structure */
16121612
/*--------------------------------------------------*/

src/mono/mono/mini/mini.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,7 +1039,7 @@ mono_allocate_stack_slots2 (MonoCompile *cfg, gboolean backward, guint32 *stack_
10391039
if (cfg->gsharedvt && mini_is_gsharedvt_variable_type (t))
10401040
continue;
10411041

1042-
/* inst->backend.is_pinvoke indicates native sized value types, this is used by the
1042+
/* inst->backend.is_pinvoke indicates native-sized value types, this is used by the
10431043
* pinvoke wrappers when they call functions returning structures */
10441044
if (inst->backend.is_pinvoke && MONO_TYPE_ISSTRUCT (t) && t->type != MONO_TYPE_TYPEDBYREF) {
10451045
size = mono_class_native_size (mono_class_from_mono_type_internal (t), &align);
@@ -1348,7 +1348,7 @@ mono_allocate_stack_slots (MonoCompile *cfg, gboolean backward, guint32 *stack_s
13481348
if (cfg->gsharedvt && mini_is_gsharedvt_variable_type (t))
13491349
continue;
13501350

1351-
/* inst->backend.is_pinvoke indicates native sized value types, this is used by the
1351+
/* inst->backend.is_pinvoke indicates native-sized value types, this is used by the
13521352
* pinvoke wrappers when they call functions returning structures */
13531353
if (inst->backend.is_pinvoke && MONO_TYPE_ISSTRUCT (t) && t->type != MONO_TYPE_TYPEDBYREF) {
13541354
size = mono_class_native_size (mono_class_from_mono_type_internal (t), &align);

0 commit comments

Comments
 (0)