Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions standard/classes.md
Original file line number Diff line number Diff line change
Expand Up @@ -1783,8 +1783,8 @@ The static field variable initializers of a class correspond to a sequence of as

> *Example*: The example
>
> <!-- Maintenance Note: The behavior of this example is implementation-defined. As such, the metadata does *not* compare test output with any ```console block. When last tested, the output was the second of the two possibilities. -->
> <!-- ImplementationDefined$Example: {template:"standalone-console", name:"StaticFieldInitialization1"} -->
> <!-- Example: {template:"standalone-console", name:"StaticFieldInitialization1", ignoreOutput:true} -->
> <!-- Maintenance Note: The behavior of this example is implementation-defined. As such, the metadata does not compare test output with any ```console block. -->
> ```csharp
> class Test
> {
Expand Down
6 changes: 3 additions & 3 deletions standard/unsafe-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ When a pointer type is converted to a pointer to `byte`, the result points to th

> *Example*: The following method displays each of the eight bytes in a `double` as a hexadecimal value:
>
> <!-- ImplementationDefined$Example: {template:"standalone-console", name:"PointerConversions2", expectedOutput:["BA","FF","51","A2","90","6C","24","45"], expectedErrors:["x","x"]} -->
> <!-- Example: {template:"standalone-console", name:"PointerConversions2", ignoreOutput:true} -->
> ```csharp
> class Test
> {
Expand All @@ -317,15 +317,15 @@ When a pointer type is converted to a pointer to `byte`, the result points to th
> byte* pb = (byte*)&d;
> for (int i = 0; i < sizeof(double); ++i)
> {
> Console.Write($"{*pb++:X2} ");
> Console.Write($" {*pb++:X2}");
> }
> Console.WriteLine();
> }
> }
> }
> ```
>
> Of course, the output produced depends on endianness.
> Of course, the output produced depends on endianness. One possibility is `" BA FF 51 A2 90 6C 24 45"`.
>
> *end example*

Expand Down