summaryrefslogtreecommitdiff
path: root/tests/src/Loader/classloader/regressions/dev10_493135/dev10_493135.il
blob: 0c6ba518d8482f122a65bf90375215fc9be9b336 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

.assembly extern System.Console { }

//  Microsoft (R) .NET Framework IL Disassembler.  Version 4.0.30829.00
//  Copyright (c) Microsoft Corporation.  All rights reserved.



// Metadata version: v4.0.ret
.assembly extern mscorlib
{
  .publickeytoken = (B7 7A 5C 56 19 34 E0 89 )                         // .z\V.4..
  .ver 0:0:0:0
}
.assembly AppCompatBug
{
  .ver 0:0:0:0
}
.module AppCompatBug.exe
// MVID: {EAE2209C-4B54-47C6-96C2-EC2352FC6386}
.imagebase 0x00400000
.file alignment 0x00000200
.stackreserve 0x00100000
.subsystem 0x0003       // WINDOWS_CUI
.corflags 0x00000001    //  ILONLY
// Image base: 0x00320000


// =============== CLASS MEMBERS DECLARATION ===================

.class private auto ansi beforefieldinit CustomMemStream
       extends [mscorlib]System.IO.MemoryStream
{
  .method public hidebysig virtual instance void 
          Close() cil managed
  {
    .override [mscorlib]System.IO.MemoryStream::Close
    // Code size       20 (0x14)
    .maxstack  8
    IL_0000:  nop
    IL_0001:  ldarg.0
    IL_0002:  call       instance void [mscorlib]System.IO.Stream::Close()
    IL_0007:  nop
    IL_0008:  ldstr      "Successfully called CustomStream.Close()"
    IL_000d:  call       void [System.Console]System.Console::WriteLine(string)
    IL_0012:  nop
    IL_0013:  ret
  } // end of method CustomMemStream::Close

  .method public hidebysig specialname rtspecialname 
          instance void  .ctor() cil managed
  {
    // Code size       7 (0x7)
    .maxstack  8
    IL_0000:  ldarg.0
    IL_0001:  call       instance void [mscorlib]System.IO.MemoryStream::.ctor()
    IL_0006:  ret
  } // end of method CustomMemStream::.ctor

} // end of class CustomMemStream

.class private auto ansi beforefieldinit Program
       extends [mscorlib]System.Object
{
  .method private hidebysig static int32  Main(string[] args) cil managed
  {
    .entrypoint
    // Code size       15 (0xf)
    .maxstack  1
    .locals init (class [mscorlib]System.IO.MemoryStream V_0)
    IL_0000:  nop
    IL_0001:  newobj     instance void CustomMemStream::.ctor()
    IL_0006:  stloc.0
    IL_0007:  ldloc.0
    IL_0008:  callvirt   instance void [mscorlib]System.IO.Stream::Close()
    IL_000d:  nop
			  ldc.i4 100	
    IL_000e:  ret
  } // end of method Program::Main

  .method public hidebysig specialname rtspecialname 
          instance void  .ctor() cil managed
  {
    // Code size       7 (0x7)
    .maxstack  8
    IL_0000:  ldarg.0
    IL_0001:  call       instance void [mscorlib]System.Object::.ctor()
    IL_0006:  ret
  } // end of method Program::.ctor

} // end of class Program


// =============================================================

// *********** DISASSEMBLY COMPLETE ***********************