Skip to content

Commit ed65745

Browse files
committed
Use implicit enum values in marshaling enum
Remove explicit numeric assignments for Agile and Standard in CreateObjectReferenceMarshalingType so the enum uses default sequential values. This is a syntactic cleanup with no behavioral change; file also ends without a trailing newline.
1 parent 257c6a4 commit ed65745

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/WinRT.Runtime2/InteropServices/ObjectReference/CreateObjectReferenceMarshalingType.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ public enum CreateObjectReferenceMarshalingType
2424
/// <summary>
2525
/// The class marshals and unmarshals to the same pointer value on all interfaces.
2626
/// </summary>
27-
Agile = 2,
27+
Agile,
2828

2929
/// <summary>
3030
/// The class does not implement <see href="https://learn.microsoft.com/windows/win32/api/objidl/nn-objidl-imarshal"><c>IMarshal</c></see> or forwards to
3131
/// <see href="https://learn.microsoft.com/windows/win32/api/combaseapi/nf-combaseapi-cogetstandardmarshal"><c>CoGetStandardMarshal</c></see> on all interfaces.
3232
/// </summary>
33-
Standard = 3
33+
Standard
3434
}

0 commit comments

Comments
 (0)