repo_name
stringclasses 6
values | pr_number
int64 512
78.9k
| pr_title
stringlengths 3
144
| pr_description
stringlengths 0
30.3k
| author
stringlengths 2
21
| date_created
unknown | date_merged
unknown | previous_commit
stringlengths 40
40
| pr_commit
stringlengths 40
40
| query
stringlengths 17
30.4k
| filepath
stringlengths 9
210
| before_content
stringlengths 0
112M
| after_content
stringlengths 0
112M
| label
int64 -1
1
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dotnet/runtime | 65,915 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer | Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | elinor-fung | "2022-02-26T01:42:58Z" | "2022-03-01T00:57:47Z" | b4c746b7712e887af066d66d1ec777be6283f6f9 | d9eafd0c55ff7c3d7804c7629baf271703df91a6 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer. Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | ./src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/ComTypes/IEnumString.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.Runtime.InteropServices.ComTypes
{
[Guid("00000101-0000-0000-C000-000000000046")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[ComImport]
public interface IEnumString
{
[PreserveSig]
int Next(int celt, [MarshalAs(UnmanagedType.LPArray, ArraySubType = UnmanagedType.LPWStr, SizeParamIndex = 0), Out] string[] rgelt, IntPtr pceltFetched);
[PreserveSig]
int Skip(int celt);
void Reset();
void Clone(out IEnumString ppenum);
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.Runtime.InteropServices.ComTypes
{
[Guid("00000101-0000-0000-C000-000000000046")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[ComImport]
public interface IEnumString
{
[PreserveSig]
int Next(int celt, [MarshalAs(UnmanagedType.LPArray, ArraySubType = UnmanagedType.LPWStr, SizeParamIndex = 0), Out] string[] rgelt, IntPtr pceltFetched);
[PreserveSig]
int Skip(int celt);
void Reset();
void Clone(out IEnumString ppenum);
}
}
| -1 |
dotnet/runtime | 65,915 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer | Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | elinor-fung | "2022-02-26T01:42:58Z" | "2022-03-01T00:57:47Z" | b4c746b7712e887af066d66d1ec777be6283f6f9 | d9eafd0c55ff7c3d7804c7629baf271703df91a6 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer. Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | ./src/tests/JIT/Regression/JitBlue/DevDiv_754566/test.cs | using System;
using System.Runtime.CompilerServices;
class Program
{
[MethodImpl(MethodImplOptions.NoInlining)]
public String Test(int val)
{
return ((Object) val).ToString();
}
static int Main(string[] args)
{
int exitStatus = -1;
Program p = new Program();
String result = p.Test(42);
if (result == "42")
{
Console.WriteLine("=== PASSED ===");
exitStatus = 100;
}
else
{
Console.WriteLine("result shoudl be 42, is= " + result);
Console.WriteLine("+++ FAILED +++");
}
return exitStatus;
}
}
| using System;
using System.Runtime.CompilerServices;
class Program
{
[MethodImpl(MethodImplOptions.NoInlining)]
public String Test(int val)
{
return ((Object) val).ToString();
}
static int Main(string[] args)
{
int exitStatus = -1;
Program p = new Program();
String result = p.Test(42);
if (result == "42")
{
Console.WriteLine("=== PASSED ===");
exitStatus = 100;
}
else
{
Console.WriteLine("result shoudl be 42, is= " + result);
Console.WriteLine("+++ FAILED +++");
}
return exitStatus;
}
}
| -1 |
dotnet/runtime | 65,915 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer | Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | elinor-fung | "2022-02-26T01:42:58Z" | "2022-03-01T00:57:47Z" | b4c746b7712e887af066d66d1ec777be6283f6f9 | d9eafd0c55ff7c3d7804c7629baf271703df91a6 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer. Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | ./src/tests/JIT/HardwareIntrinsics/General/Vector128/CreateScalar.UInt32.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/******************************************************************************
* This file is auto-generated from a template file by the GenerateTests.csx *
* script in tests\src\JIT\HardwareIntrinsics\General\Shared. In order to make *
* changes, please update the corresponding template and run according to the *
* directions listed in the file. *
******************************************************************************/
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
namespace JIT.HardwareIntrinsics.General
{
public static partial class Program
{
private static void CreateScalarUInt32()
{
var test = new VectorCreate__CreateScalarUInt32();
// Validates basic functionality works
test.RunBasicScenario();
// Validates calling via reflection works
test.RunReflectionScenario();
if (!test.Succeeded)
{
throw new Exception("One or more scenarios did not complete as expected.");
}
}
}
public sealed unsafe class VectorCreate__CreateScalarUInt32
{
private static readonly int LargestVectorSize = 16;
private static readonly int ElementCount = Unsafe.SizeOf<Vector128<UInt32>>() / sizeof(UInt32);
public bool Succeeded { get; set; } = true;
public void RunBasicScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario));
UInt32 value = TestLibrary.Generator.GetUInt32();
Vector128<UInt32> result = Vector128.CreateScalar(value);
ValidateResult(result, value);
}
public void RunReflectionScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario));
UInt32 value = TestLibrary.Generator.GetUInt32();
object result = typeof(Vector128)
.GetMethod(nameof(Vector128.CreateScalar), new Type[] { typeof(UInt32) })
.Invoke(null, new object[] { value });
ValidateResult((Vector128<UInt32>)(result), value);
}
private void ValidateResult(Vector128<UInt32> result, UInt32 expectedValue, [CallerMemberName] string method = "")
{
UInt32[] resultElements = new UInt32[ElementCount];
Unsafe.WriteUnaligned(ref Unsafe.As<UInt32, byte>(ref resultElements[0]), result);
ValidateResult(resultElements, expectedValue, method);
}
private void ValidateResult(UInt32[] resultElements, UInt32 expectedValue, [CallerMemberName] string method = "")
{
bool succeeded = true;
if (resultElements[0] != expectedValue)
{
succeeded = false;
}
else
{
for (var i = 1; i < ElementCount; i++)
{
if (resultElements[i] != 0)
{
succeeded = false;
break;
}
}
}
if (!succeeded)
{
TestLibrary.TestFramework.LogInformation($"Vector128.CreateScalar(UInt32): {method} failed:");
TestLibrary.TestFramework.LogInformation($" value: {expectedValue}");
TestLibrary.TestFramework.LogInformation($" result: ({string.Join(", ", resultElements)})");
TestLibrary.TestFramework.LogInformation(string.Empty);
Succeeded = false;
}
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/******************************************************************************
* This file is auto-generated from a template file by the GenerateTests.csx *
* script in tests\src\JIT\HardwareIntrinsics\General\Shared. In order to make *
* changes, please update the corresponding template and run according to the *
* directions listed in the file. *
******************************************************************************/
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
namespace JIT.HardwareIntrinsics.General
{
public static partial class Program
{
private static void CreateScalarUInt32()
{
var test = new VectorCreate__CreateScalarUInt32();
// Validates basic functionality works
test.RunBasicScenario();
// Validates calling via reflection works
test.RunReflectionScenario();
if (!test.Succeeded)
{
throw new Exception("One or more scenarios did not complete as expected.");
}
}
}
public sealed unsafe class VectorCreate__CreateScalarUInt32
{
private static readonly int LargestVectorSize = 16;
private static readonly int ElementCount = Unsafe.SizeOf<Vector128<UInt32>>() / sizeof(UInt32);
public bool Succeeded { get; set; } = true;
public void RunBasicScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario));
UInt32 value = TestLibrary.Generator.GetUInt32();
Vector128<UInt32> result = Vector128.CreateScalar(value);
ValidateResult(result, value);
}
public void RunReflectionScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario));
UInt32 value = TestLibrary.Generator.GetUInt32();
object result = typeof(Vector128)
.GetMethod(nameof(Vector128.CreateScalar), new Type[] { typeof(UInt32) })
.Invoke(null, new object[] { value });
ValidateResult((Vector128<UInt32>)(result), value);
}
private void ValidateResult(Vector128<UInt32> result, UInt32 expectedValue, [CallerMemberName] string method = "")
{
UInt32[] resultElements = new UInt32[ElementCount];
Unsafe.WriteUnaligned(ref Unsafe.As<UInt32, byte>(ref resultElements[0]), result);
ValidateResult(resultElements, expectedValue, method);
}
private void ValidateResult(UInt32[] resultElements, UInt32 expectedValue, [CallerMemberName] string method = "")
{
bool succeeded = true;
if (resultElements[0] != expectedValue)
{
succeeded = false;
}
else
{
for (var i = 1; i < ElementCount; i++)
{
if (resultElements[i] != 0)
{
succeeded = false;
break;
}
}
}
if (!succeeded)
{
TestLibrary.TestFramework.LogInformation($"Vector128.CreateScalar(UInt32): {method} failed:");
TestLibrary.TestFramework.LogInformation($" value: {expectedValue}");
TestLibrary.TestFramework.LogInformation($" result: ({string.Join(", ", resultElements)})");
TestLibrary.TestFramework.LogInformation(string.Empty);
Succeeded = false;
}
}
}
}
| -1 |
dotnet/runtime | 65,915 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer | Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | elinor-fung | "2022-02-26T01:42:58Z" | "2022-03-01T00:57:47Z" | b4c746b7712e887af066d66d1ec777be6283f6f9 | d9eafd0c55ff7c3d7804c7629baf271703df91a6 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer. Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | ./src/mono/mono/profiler/proftest-pinvokes.c | #include <config.h>
#include <stdio.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifdef WIN32
#define STDCALL __stdcall
#else
#define STDCALL
#endif
#if defined(WIN32) && defined (_MSC_VER)
#define LIBTEST_API __declspec(dllexport)
#elif defined(__GNUC__)
#define LIBTEST_API __attribute__ ((__visibility__ ("default")))
#else
#define LIBTEST_API
#endif
typedef void (STDCALL *fn_ptr) (void);
LIBTEST_API void STDCALL
test_reverse_pinvoke (fn_ptr p);
#ifdef __cplusplus
}
#endif
void STDCALL
test_reverse_pinvoke (fn_ptr p)
{
printf ("testfunc called\n");
p ();
}
| #include <config.h>
#include <stdio.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifdef WIN32
#define STDCALL __stdcall
#else
#define STDCALL
#endif
#if defined(WIN32) && defined (_MSC_VER)
#define LIBTEST_API __declspec(dllexport)
#elif defined(__GNUC__)
#define LIBTEST_API __attribute__ ((__visibility__ ("default")))
#else
#define LIBTEST_API
#endif
typedef void (STDCALL *fn_ptr) (void);
LIBTEST_API void STDCALL
test_reverse_pinvoke (fn_ptr p);
#ifdef __cplusplus
}
#endif
void STDCALL
test_reverse_pinvoke (fn_ptr p)
{
printf ("testfunc called\n");
p ();
}
| -1 |
dotnet/runtime | 65,915 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer | Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | elinor-fung | "2022-02-26T01:42:58Z" | "2022-03-01T00:57:47Z" | b4c746b7712e887af066d66d1ec777be6283f6f9 | d9eafd0c55ff7c3d7804c7629baf271703df91a6 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer. Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | ./src/libraries/System.Private.Xml/tests/XmlSchema/TestFiles/TestData/import_v17_c.xsd | <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="ns-c"
xmlns="ns-c"
>
<xsd:complexType name="ct-C">
<xsd:sequence minOccurs="1">
<xsd:element name="a1" type="xsd:int" />
<xsd:element name="a2" type="xsd:int" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="e2" type="ct-C" />
</xsd:schema>
| <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="ns-c"
xmlns="ns-c"
>
<xsd:complexType name="ct-C">
<xsd:sequence minOccurs="1">
<xsd:element name="a1" type="xsd:int" />
<xsd:element name="a2" type="xsd:int" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="e2" type="ct-C" />
</xsd:schema>
| -1 |
dotnet/runtime | 65,915 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer | Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | elinor-fung | "2022-02-26T01:42:58Z" | "2022-03-01T00:57:47Z" | b4c746b7712e887af066d66d1ec777be6283f6f9 | d9eafd0c55ff7c3d7804c7629baf271703df91a6 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer. Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | ./src/libraries/System.Net.Http/src/System/Net/Http/Headers/HttpHeaders.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
namespace System.Net.Http.Headers
{
/// <summary>
/// Key/value pairs of headers. The value is either a raw <see cref="string"/> or a <see cref="HttpHeaders.HeaderStoreItemInfo"/>.
/// We're using a custom type instead of <see cref="KeyValuePair{TKey, TValue}"/> because we need ref access to fields.
/// </summary>
internal struct HeaderEntry
{
public HeaderDescriptor Key;
public object Value;
public HeaderEntry(HeaderDescriptor key, object value)
{
Key = key;
Value = value;
}
}
public abstract class HttpHeaders : IEnumerable<KeyValuePair<string, IEnumerable<string>>>
{
// This type is used to store a collection of headers in 'headerStore':
// - A header can have multiple values.
// - A header can have an associated parser which is able to parse the raw string value into a strongly typed object.
// - If a header has an associated parser and the provided raw value can't be parsed, the value is considered
// invalid. Invalid values are stored if added using TryAddWithoutValidation(). If the value was added using Add(),
// Add() will throw FormatException.
// - Since parsing header values is expensive and users usually only care about a few headers, header values are
// lazily initialized.
//
// Given the properties above, a header value can have three states:
// - 'raw': The header value was added using TryAddWithoutValidation() and it wasn't parsed yet.
// - 'parsed': The header value was successfully parsed. It was either added using Add() where the value was parsed
// immediately, or if added using TryAddWithoutValidation() a user already accessed a property/method triggering the
// value to be parsed.
// - 'invalid': The header value was parsed, but parsing failed because the value is invalid. Storing invalid values
// allows users to still retrieve the value (by calling GetValues()), but it will not be exposed as strongly typed
// object. E.g. the client receives a response with the following header: 'Via: 1.1 proxy, invalid'
// - HttpHeaders.GetValues() will return "1.1 proxy", "invalid"
// - HttpResponseHeaders.Via collection will only contain one ViaHeaderValue object with value "1.1 proxy"
/// <summary>Either a <see cref="HeaderEntry"/> array or a Dictionary<<see cref="HeaderDescriptor"/>, <see cref="object"/>> </summary>
private object? _headerStore;
private int _count;
private readonly HttpHeaderType _allowedHeaderTypes;
private readonly HttpHeaderType _treatAsCustomHeaderTypes;
protected HttpHeaders()
: this(HttpHeaderType.All, HttpHeaderType.None)
{
}
internal HttpHeaders(HttpHeaderType allowedHeaderTypes, HttpHeaderType treatAsCustomHeaderTypes)
{
// Should be no overlap
Debug.Assert((allowedHeaderTypes & treatAsCustomHeaderTypes) == 0);
_allowedHeaderTypes = allowedHeaderTypes & ~HttpHeaderType.NonTrailing;
_treatAsCustomHeaderTypes = treatAsCustomHeaderTypes & ~HttpHeaderType.NonTrailing;
}
/// <summary>Gets a view of the contents of this headers collection that does not parse nor validate the data upon access.</summary>
public HttpHeadersNonValidated NonValidated => new HttpHeadersNonValidated(this);
public void Add(string name, string? value) => Add(GetHeaderDescriptor(name), value);
internal void Add(HeaderDescriptor descriptor, string? value)
{
// We don't use GetOrCreateHeaderInfo() here, since this would create a new header in the store. If parsing
// the value then throws, we would have to remove the header from the store again. So just get a
// HeaderStoreItemInfo object and try to parse the value. If it works, we'll add the header.
PrepareHeaderInfoForAdd(descriptor, out HeaderStoreItemInfo info, out bool addToStore);
ParseAndAddValue(descriptor, info, value);
// If we get here, then the value could be parsed correctly. If we created a new HeaderStoreItemInfo, add
// it to the store if we added at least one value.
if (addToStore && (info.ParsedValue != null))
{
Debug.Assert(!ContainsKey(descriptor));
AddEntryToStore(new HeaderEntry(descriptor, info));
}
}
public void Add(string name, IEnumerable<string?> values) => Add(GetHeaderDescriptor(name), values);
internal void Add(HeaderDescriptor descriptor, IEnumerable<string?> values!!)
{
PrepareHeaderInfoForAdd(descriptor, out HeaderStoreItemInfo info, out bool addToStore);
try
{
// Note that if the first couple of values are valid followed by an invalid value, the valid values
// will be added to the store before the exception for the invalid value is thrown.
foreach (string? value in values)
{
ParseAndAddValue(descriptor, info, value);
}
}
finally
{
// Even if one of the values was invalid, make sure we add the header for the valid ones. We need to be
// consistent here: If values get added to an _existing_ header, then all values until the invalid one
// get added. Same here: If multiple values get added to a _new_ header, make sure the header gets added
// with the valid values.
// However, if all values for a _new_ header were invalid, then don't add the header.
if (addToStore && (info.ParsedValue != null))
{
Debug.Assert(!ContainsKey(descriptor));
AddEntryToStore(new HeaderEntry(descriptor, info));
}
}
}
public bool TryAddWithoutValidation(string name, string? value) =>
TryGetHeaderDescriptor(name, out HeaderDescriptor descriptor) &&
TryAddWithoutValidation(descriptor, value);
internal bool TryAddWithoutValidation(HeaderDescriptor descriptor, string? value)
{
// Normalize null values to be empty values, which are allowed. If the user adds multiple
// null/empty values, all of them are added to the collection. This will result in delimiter-only
// values, e.g. adding two null-strings (or empty, or whitespace-only) results in "My-Header: ,".
value ??= string.Empty;
ref object? storeValueRef = ref GetValueRefOrAddDefault(descriptor);
object? currentValue = storeValueRef;
if (currentValue is null)
{
storeValueRef = value;
}
else
{
if (currentValue is not HeaderStoreItemInfo info)
{
// The header store contained a single raw string value, so promote it
// to being a HeaderStoreItemInfo and add to it.
Debug.Assert(currentValue is string);
storeValueRef = info = new HeaderStoreItemInfo() { RawValue = currentValue };
}
AddRawValue(info, value);
}
return true;
}
public bool TryAddWithoutValidation(string name, IEnumerable<string?> values) =>
TryGetHeaderDescriptor(name, out HeaderDescriptor descriptor) &&
TryAddWithoutValidation(descriptor, values);
internal bool TryAddWithoutValidation(HeaderDescriptor descriptor, IEnumerable<string?> values!!)
{
using IEnumerator<string?> enumerator = values.GetEnumerator();
if (enumerator.MoveNext())
{
TryAddWithoutValidation(descriptor, enumerator.Current);
if (enumerator.MoveNext())
{
ref object? storeValueRef = ref GetValueRefOrAddDefault(descriptor);
Debug.Assert(storeValueRef is not null);
object value = storeValueRef;
if (value is not HeaderStoreItemInfo info)
{
Debug.Assert(value is string);
storeValueRef = info = new HeaderStoreItemInfo { RawValue = value };
}
do
{
AddRawValue(info, enumerator.Current ?? string.Empty);
}
while (enumerator.MoveNext());
}
}
return true;
}
public IEnumerable<string> GetValues(string name) => GetValues(GetHeaderDescriptor(name));
internal IEnumerable<string> GetValues(HeaderDescriptor descriptor)
{
if (TryGetValues(descriptor, out IEnumerable<string>? values))
{
return values;
}
throw new InvalidOperationException(SR.net_http_headers_not_found);
}
public bool TryGetValues(string name, [NotNullWhen(true)] out IEnumerable<string>? values)
{
if (TryGetHeaderDescriptor(name, out HeaderDescriptor descriptor))
{
return TryGetValues(descriptor, out values);
}
values = null;
return false;
}
internal bool TryGetValues(HeaderDescriptor descriptor, [NotNullWhen(true)] out IEnumerable<string>? values)
{
if (TryGetAndParseHeaderInfo(descriptor, out HeaderStoreItemInfo? info))
{
values = GetStoreValuesAsStringArray(descriptor, info);
return true;
}
values = null;
return false;
}
public bool Contains(string name) => Contains(GetHeaderDescriptor(name));
internal bool Contains(HeaderDescriptor descriptor)
{
// We can't just call headerStore.ContainsKey() since after parsing the value the header may not exist
// anymore (if the value contains newline chars, we remove the header). So try to parse the
// header value.
return TryGetAndParseHeaderInfo(descriptor, out _);
}
public override string ToString()
{
// Return all headers as string similar to:
// HeaderName1: Value1, Value2
// HeaderName2: Value1
// ...
var vsb = new ValueStringBuilder(stackalloc char[512]);
foreach (HeaderEntry entry in GetEntries())
{
vsb.Append(entry.Key.Name);
vsb.Append(": ");
GetStoreValuesAsStringOrStringArray(entry.Key, entry.Value, out string? singleValue, out string[]? multiValue);
Debug.Assert(singleValue is not null ^ multiValue is not null);
if (singleValue is not null)
{
vsb.Append(singleValue);
}
else
{
// Note that if we get multiple values for a header that doesn't support multiple values, we'll
// just separate the values using a comma (default separator).
string? separator = entry.Key.Parser is HttpHeaderParser parser && parser.SupportsMultipleValues ? parser.Separator : HttpHeaderParser.DefaultSeparator;
Debug.Assert(multiValue is not null && multiValue.Length > 0);
vsb.Append(multiValue[0]);
for (int i = 1; i < multiValue.Length; i++)
{
vsb.Append(separator);
vsb.Append(multiValue[i]);
}
}
vsb.Append(Environment.NewLine);
}
return vsb.ToString();
}
internal string GetHeaderString(HeaderDescriptor descriptor)
{
if (TryGetHeaderValue(descriptor, out object? info))
{
GetStoreValuesAsStringOrStringArray(descriptor, info, out string? singleValue, out string[]? multiValue);
Debug.Assert(singleValue is not null ^ multiValue is not null);
if (singleValue is not null)
{
return singleValue;
}
// Note that if we get multiple values for a header that doesn't support multiple values, we'll
// just separate the values using a comma (default separator).
string? separator = descriptor.Parser != null && descriptor.Parser.SupportsMultipleValues ? descriptor.Parser.Separator : HttpHeaderParser.DefaultSeparator;
return string.Join(separator, multiValue!);
}
return string.Empty;
}
#region IEnumerable<KeyValuePair<string, IEnumerable<string>>> Members
public IEnumerator<KeyValuePair<string, IEnumerable<string>>> GetEnumerator() => _count == 0 ?
((IEnumerable<KeyValuePair<string, IEnumerable<string>>>)Array.Empty<KeyValuePair<string, IEnumerable<string>>>()).GetEnumerator() :
GetEnumeratorCore();
private IEnumerator<KeyValuePair<string, IEnumerable<string>>> GetEnumeratorCore()
{
HeaderEntry[]? entries = GetEntriesArray();
Debug.Assert(_count != 0 && entries is not null, "Caller should have validated the collection is not empty");
int count = _count;
for (int i = 0; i < count; i++)
{
HeaderEntry entry = entries[i];
if (entry.Value is not HeaderStoreItemInfo info)
{
// To retain consistent semantics, we need to upgrade a raw string to a HeaderStoreItemInfo
// during enumeration so that we can parse the raw value in order to a) return
// the correct set of parsed values, and b) update the instance for subsequent enumerations
// to reflect that parsing.
info = new HeaderStoreItemInfo() { RawValue = entry.Value };
if (EntriesAreLiveView)
{
entries[i].Value = info;
}
else
{
Debug.Assert(ContainsKey(entry.Key));
((Dictionary<HeaderDescriptor, object>)_headerStore!)[entry.Key] = info;
}
}
// Make sure we parse all raw values before returning the result. Note that this has to be
// done before we calculate the array length (next line): A raw value may contain a list of
// values.
if (!ParseRawHeaderValues(entry.Key, info))
{
// We saw an invalid header value (contains newline chars) and deleted it.
// If the HeaderEntry[] we are enumerating is the live header store, the entries have shifted.
if (EntriesAreLiveView)
{
i--;
count--;
}
}
else
{
string[] values = GetStoreValuesAsStringArray(entry.Key, info);
yield return new KeyValuePair<string, IEnumerable<string>>(entry.Key.Name, values);
}
}
}
#endregion
#region IEnumerable Members
Collections.IEnumerator Collections.IEnumerable.GetEnumerator() => GetEnumerator();
#endregion
internal void AddParsedValue(HeaderDescriptor descriptor, object value)
{
Debug.Assert(value != null);
Debug.Assert(descriptor.Parser != null, "Can't add parsed value if there is no parser available.");
HeaderStoreItemInfo info = GetOrCreateHeaderInfo(descriptor);
// If the current header has only one value, we can't add another value. The strongly typed property
// must not call AddParsedValue(), but SetParsedValue(). E.g. for headers like 'Date', 'Host'.
Debug.Assert(descriptor.Parser.SupportsMultipleValues, $"Header '{descriptor.Name}' doesn't support multiple values");
AddParsedValue(info, value);
}
internal void SetParsedValue(HeaderDescriptor descriptor, object value)
{
Debug.Assert(value != null);
Debug.Assert(descriptor.Parser != null, "Can't add parsed value if there is no parser available.");
// This method will first clear all values. This is used e.g. when setting the 'Date' or 'Host' header.
// i.e. headers not supporting collections.
HeaderStoreItemInfo info = GetOrCreateHeaderInfo(descriptor);
info.InvalidValue = null;
info.ParsedValue = null;
info.RawValue = null;
AddParsedValue(info, value);
}
internal void SetOrRemoveParsedValue(HeaderDescriptor descriptor, object? value)
{
if (value == null)
{
Remove(descriptor);
}
else
{
SetParsedValue(descriptor, value);
}
}
public bool Remove(string name) => Remove(GetHeaderDescriptor(name));
internal bool RemoveParsedValue(HeaderDescriptor descriptor, object value)
{
Debug.Assert(value != null);
// If we have a value for this header, then verify if we have a single value. If so, compare that
// value with 'item'. If we have a list of values, then remove 'item' from the list.
if (TryGetAndParseHeaderInfo(descriptor, out HeaderStoreItemInfo? info))
{
Debug.Assert(descriptor.Parser != null, "Can't add parsed value if there is no parser available.");
Debug.Assert(descriptor.Parser.SupportsMultipleValues,
"This method should not be used for single-value headers. Use Remove(string) instead.");
// If there is no entry, just return.
if (info.ParsedValue == null)
{
return false;
}
bool result = false;
IEqualityComparer? comparer = descriptor.Parser.Comparer;
List<object>? parsedValues = info.ParsedValue as List<object>;
if (parsedValues == null)
{
Debug.Assert(info.ParsedValue.GetType() == value.GetType(),
"Stored value does not have the same type as 'value'.");
if (AreEqual(value, info.ParsedValue, comparer))
{
info.ParsedValue = null;
result = true;
}
}
else
{
foreach (object item in parsedValues)
{
Debug.Assert(item.GetType() == value.GetType(),
"One of the stored values does not have the same type as 'value'.");
if (AreEqual(value, item, comparer))
{
// Remove 'item' rather than 'value', since the 'comparer' may consider two values
// equal even though the default obj.Equals() may not (e.g. if 'comparer' does
// case-insensitive comparison for strings, but string.Equals() is case-sensitive).
result = parsedValues.Remove(item);
break;
}
}
// If we removed the last item in a list, remove the list.
if (parsedValues.Count == 0)
{
info.ParsedValue = null;
}
}
// If there is no value for the header left, remove the header.
if (info.IsEmpty)
{
bool headerRemoved = Remove(descriptor);
Debug.Assert(headerRemoved, $"Existing header '{descriptor.Name}' couldn't be removed.");
}
return result;
}
return false;
}
internal bool ContainsParsedValue(HeaderDescriptor descriptor, object value)
{
Debug.Assert(value != null);
// If we have a value for this header, then verify if we have a single value. If so, compare that
// value with 'item'. If we have a list of values, then compare each item in the list with 'item'.
if (TryGetAndParseHeaderInfo(descriptor, out HeaderStoreItemInfo? info))
{
Debug.Assert(descriptor.Parser != null, "Can't add parsed value if there is no parser available.");
Debug.Assert(descriptor.Parser.SupportsMultipleValues,
"This method should not be used for single-value headers. Use equality comparer instead.");
// If there is no entry, just return.
if (info.ParsedValue == null)
{
return false;
}
List<object>? parsedValues = info.ParsedValue as List<object>;
IEqualityComparer? comparer = descriptor.Parser.Comparer;
if (parsedValues == null)
{
Debug.Assert(info.ParsedValue.GetType() == value.GetType(),
"Stored value does not have the same type as 'value'.");
return AreEqual(value, info.ParsedValue, comparer);
}
else
{
foreach (object item in parsedValues)
{
Debug.Assert(item.GetType() == value.GetType(),
"One of the stored values does not have the same type as 'value'.");
if (AreEqual(value, item, comparer))
{
return true;
}
}
return false;
}
}
return false;
}
internal virtual void AddHeaders(HttpHeaders sourceHeaders)
{
Debug.Assert(sourceHeaders != null);
Debug.Assert(GetType() == sourceHeaders.GetType(), "Can only copy headers from an instance of the same type.");
// Only add header values if they're not already set on the message. Note that we don't merge
// collections: If both the default headers and the message have set some values for a certain
// header, then we don't try to merge the values.
if (_count == 0 && sourceHeaders._headerStore is HeaderEntry[] sourceEntries)
{
// If the target collection is empty, we don't have to search for existing values
_count = sourceHeaders._count;
if (_headerStore is not HeaderEntry[] entries || entries.Length < _count)
{
entries = new HeaderEntry[sourceEntries.Length];
_headerStore = entries;
}
for (int i = 0; i < _count && i < sourceEntries.Length; i++)
{
HeaderEntry entry = sourceEntries[i];
if (entry.Value is HeaderStoreItemInfo info)
{
entry.Value = CloneHeaderInfo(entry.Key, info);
}
entries[i] = entry;
}
}
else
{
foreach (HeaderEntry entry in sourceHeaders.GetEntries())
{
ref object? storeValueRef = ref GetValueRefOrAddDefault(entry.Key);
if (storeValueRef is null)
{
object sourceValue = entry.Value;
if (sourceValue is HeaderStoreItemInfo info)
{
storeValueRef = CloneHeaderInfo(entry.Key, info);
}
else
{
Debug.Assert(sourceValue is string);
storeValueRef = sourceValue;
}
}
}
}
}
private HeaderStoreItemInfo CloneHeaderInfo(HeaderDescriptor descriptor, HeaderStoreItemInfo sourceInfo)
{
var destinationInfo = new HeaderStoreItemInfo
{
// Always copy raw values
RawValue = CloneStringHeaderInfoValues(sourceInfo.RawValue)
};
if (descriptor.Parser == null)
{
// We have custom header values. The parsed values are strings.
// Custom header values are always stored as string or list of strings.
Debug.Assert(sourceInfo.InvalidValue == null, "No invalid values expected for custom headers.");
destinationInfo.ParsedValue = CloneStringHeaderInfoValues(sourceInfo.ParsedValue);
}
else
{
// We have a parser, so we also have to copy invalid values and clone parsed values.
// Invalid values are always strings. Strings are immutable. So we only have to clone the
// collection (if there is one).
destinationInfo.InvalidValue = CloneStringHeaderInfoValues(sourceInfo.InvalidValue);
// Now clone and add parsed values (if any).
if (sourceInfo.ParsedValue != null)
{
List<object>? sourceValues = sourceInfo.ParsedValue as List<object>;
if (sourceValues == null)
{
CloneAndAddValue(destinationInfo, sourceInfo.ParsedValue);
}
else
{
foreach (object item in sourceValues)
{
CloneAndAddValue(destinationInfo, item);
}
}
}
}
return destinationInfo;
}
private static void CloneAndAddValue(HeaderStoreItemInfo destinationInfo, object source)
{
// We only have one value. Clone it and assign it to the store.
if (source is ICloneable cloneableValue)
{
AddParsedValue(destinationInfo, cloneableValue.Clone());
}
else
{
// If it doesn't implement ICloneable, it's a value type or an immutable type like String/Uri.
AddParsedValue(destinationInfo, source);
}
}
[return: NotNullIfNotNull("source")]
private static object? CloneStringHeaderInfoValues(object? source)
{
if (source == null)
{
return null;
}
List<object>? sourceValues = source as List<object>;
if (sourceValues == null)
{
// If we just have one value, return the reference to the string (strings are immutable so it's OK
// to use the reference).
return source;
}
else
{
// If we have a list of strings, create a new list and copy all strings to the new list.
return new List<object>(sourceValues);
}
}
private HeaderStoreItemInfo GetOrCreateHeaderInfo(HeaderDescriptor descriptor)
{
if (TryGetAndParseHeaderInfo(descriptor, out HeaderStoreItemInfo? info))
{
return info;
}
else
{
return CreateAndAddHeaderToStore(descriptor);
}
}
private HeaderStoreItemInfo CreateAndAddHeaderToStore(HeaderDescriptor descriptor)
{
Debug.Assert(!ContainsKey(descriptor));
// If we don't have the header in the store yet, add it now.
HeaderStoreItemInfo result = new HeaderStoreItemInfo();
// If the descriptor header type is in _treatAsCustomHeaderTypes, it must be converted to a custom header before calling this method
Debug.Assert((descriptor.HeaderType & _treatAsCustomHeaderTypes) == 0);
AddEntryToStore(new HeaderEntry(descriptor, result));
return result;
}
internal bool TryGetHeaderValue(HeaderDescriptor descriptor, [NotNullWhen(true)] out object? value)
{
ref object storeValueRef = ref GetValueRefOrNullRef(descriptor);
if (Unsafe.IsNullRef(ref storeValueRef))
{
value = null;
return false;
}
else
{
value = storeValueRef;
return true;
}
}
private bool TryGetAndParseHeaderInfo(HeaderDescriptor key, [NotNullWhen(true)] out HeaderStoreItemInfo? info)
{
ref object storeValueRef = ref GetValueRefOrNullRef(key);
if (!Unsafe.IsNullRef(ref storeValueRef))
{
object value = storeValueRef;
if (value is HeaderStoreItemInfo hsi)
{
info = hsi;
}
else
{
Debug.Assert(value is string);
storeValueRef = info = new HeaderStoreItemInfo() { RawValue = value };
}
return ParseRawHeaderValues(key, info);
}
info = null;
return false;
}
private bool ParseRawHeaderValues(HeaderDescriptor descriptor, HeaderStoreItemInfo info)
{
// Unlike TryGetHeaderInfo() this method tries to parse all non-validated header values (if any)
// before returning to the caller.
Debug.Assert(!info.IsEmpty);
if (info.RawValue != null)
{
List<string>? rawValues = info.RawValue as List<string>;
if (rawValues == null)
{
ParseSingleRawHeaderValue(descriptor, info);
}
else
{
ParseMultipleRawHeaderValues(descriptor, info, rawValues);
}
// At this point all values are either in info.ParsedValue, info.InvalidValue, or were removed since they
// contain newline chars. Reset RawValue.
info.RawValue = null;
// During parsing, we removed the value since it contains newline chars. Return false to indicate that
// this is an empty header.
if ((info.InvalidValue == null) && (info.ParsedValue == null))
{
// After parsing the raw value, no value is left because all values contain newline chars.
Debug.Assert(_count > 0);
Remove(descriptor);
return false;
}
}
return true;
}
private static void ParseMultipleRawHeaderValues(HeaderDescriptor descriptor, HeaderStoreItemInfo info, List<string> rawValues)
{
if (descriptor.Parser == null)
{
foreach (string rawValue in rawValues)
{
if (!ContainsNewLine(rawValue, descriptor))
{
AddParsedValue(info, rawValue);
}
}
}
else
{
foreach (string rawValue in rawValues)
{
if (!TryParseAndAddRawHeaderValue(descriptor, info, rawValue, true))
{
if (NetEventSource.Log.IsEnabled()) NetEventSource.Log.HeadersInvalidValue(descriptor.Name, rawValue);
}
}
}
}
private static void ParseSingleRawHeaderValue(HeaderDescriptor descriptor, HeaderStoreItemInfo info)
{
string? rawValue = info.RawValue as string;
Debug.Assert(rawValue != null, "RawValue must either be List<string> or string.");
if (descriptor.Parser == null)
{
if (!ContainsNewLine(rawValue, descriptor))
{
AddParsedValue(info, rawValue);
}
}
else
{
if (!TryParseAndAddRawHeaderValue(descriptor, info, rawValue, true))
{
if (NetEventSource.Log.IsEnabled()) NetEventSource.Log.HeadersInvalidValue(descriptor.Name, rawValue);
}
}
}
// See Add(name, string)
internal bool TryParseAndAddValue(HeaderDescriptor descriptor, string? value)
{
// We don't use GetOrCreateHeaderInfo() here, since this would create a new header in the store. If parsing
// the value then throws, we would have to remove the header from the store again. So just get a
// HeaderStoreItemInfo object and try to parse the value. If it works, we'll add the header.
HeaderStoreItemInfo info;
bool addToStore;
PrepareHeaderInfoForAdd(descriptor, out info, out addToStore);
bool result = TryParseAndAddRawHeaderValue(descriptor, info, value, false);
if (result && addToStore && (info.ParsedValue != null))
{
// If we get here, then the value could be parsed correctly. If we created a new HeaderStoreItemInfo, add
// it to the store if we added at least one value.
Debug.Assert(!ContainsKey(descriptor));
AddEntryToStore(new HeaderEntry(descriptor, info));
}
return result;
}
// See ParseAndAddValue
private static bool TryParseAndAddRawHeaderValue(HeaderDescriptor descriptor, HeaderStoreItemInfo info, string? value, bool addWhenInvalid)
{
Debug.Assert(info != null);
Debug.Assert(descriptor.Parser != null);
// Values are added as 'invalid' if we either can't parse the value OR if we already have a value
// and the current header doesn't support multiple values: e.g. trying to add a date/time value
// to the 'Date' header if we already have a date/time value will result in the second value being
// added to the 'invalid' header values.
if (!info.CanAddParsedValue(descriptor.Parser))
{
if (addWhenInvalid)
{
AddInvalidValue(info, value ?? string.Empty);
}
return false;
}
int index = 0;
if (descriptor.Parser.TryParseValue(value, info.ParsedValue, ref index, out object? parsedValue))
{
// The raw string only represented one value (which was successfully parsed). Add the value and return.
if ((value == null) || (index == value.Length))
{
if (parsedValue != null)
{
AddParsedValue(info, parsedValue);
}
return true;
}
Debug.Assert(index < value.Length, "Parser must return an index value within the string length.");
// If we successfully parsed a value, but there are more left to read, store the results in a temp
// list. Only when all values are parsed successfully write the list to the store.
List<object> parsedValues = new List<object>();
if (parsedValue != null)
{
parsedValues.Add(parsedValue);
}
while (index < value.Length)
{
if (descriptor.Parser.TryParseValue(value, info.ParsedValue, ref index, out parsedValue))
{
if (parsedValue != null)
{
parsedValues.Add(parsedValue);
}
}
else
{
if (!ContainsNewLine(value, descriptor) && addWhenInvalid)
{
AddInvalidValue(info, value);
}
return false;
}
}
// All values were parsed correctly. Copy results to the store.
foreach (object item in parsedValues)
{
AddParsedValue(info, item);
}
return true;
}
Debug.Assert(value != null);
if (!ContainsNewLine(value, descriptor) && addWhenInvalid)
{
AddInvalidValue(info, value ?? string.Empty);
}
return false;
}
private static void AddParsedValue(HeaderStoreItemInfo info, object value)
{
Debug.Assert(!(value is List<object>),
"Header value types must not derive from List<object> since this type is used internally to store " +
"lists of values. So we would not be able to distinguish between a single value and a list of values.");
AddValueToStoreValue<object>(value, ref info.ParsedValue);
}
private static void AddInvalidValue(HeaderStoreItemInfo info, string value)
{
AddValueToStoreValue<string>(value, ref info.InvalidValue);
}
private static void AddRawValue(HeaderStoreItemInfo info, string value)
{
AddValueToStoreValue<string>(value, ref info.RawValue);
}
private static void AddValueToStoreValue<T>(T value, ref object? currentStoreValue) where T : class
{
// If there is no value set yet, then add current item as value (we don't create a list
// if not required). If 'info.Value' is already assigned then make sure 'info.Value' is a
// List<T> and append 'item' to the list.
if (currentStoreValue == null)
{
currentStoreValue = value;
}
else
{
List<T>? storeValues = currentStoreValue as List<T>;
if (storeValues == null)
{
storeValues = new List<T>(2);
Debug.Assert(currentStoreValue is T);
storeValues.Add((T)currentStoreValue);
currentStoreValue = storeValues;
}
Debug.Assert(value is T);
storeValues.Add((T)value);
}
}
// Since most of the time we just have 1 value, we don't create a List<object> for one value, but we change
// the return type to 'object'. The caller has to deal with the return type (object vs. List<object>). This
// is to optimize the most common scenario where a header has only one value.
internal object? GetParsedValues(HeaderDescriptor descriptor)
{
if (!TryGetAndParseHeaderInfo(descriptor, out HeaderStoreItemInfo? info))
{
return null;
}
return info.ParsedValue;
}
internal virtual bool IsAllowedHeaderName(HeaderDescriptor descriptor) => true;
private void PrepareHeaderInfoForAdd(HeaderDescriptor descriptor, out HeaderStoreItemInfo info, out bool addToStore)
{
if (!IsAllowedHeaderName(descriptor))
{
throw new InvalidOperationException(SR.Format(SR.net_http_headers_not_allowed_header_name, descriptor.Name));
}
addToStore = false;
if (!TryGetAndParseHeaderInfo(descriptor, out info!))
{
info = new HeaderStoreItemInfo();
addToStore = true;
}
}
private void ParseAndAddValue(HeaderDescriptor descriptor, HeaderStoreItemInfo info, string? value)
{
Debug.Assert(info != null);
if (descriptor.Parser == null)
{
// If we don't have a parser for the header, we consider the value valid if it doesn't contains
// newline characters. We add the values as "parsed value". Note that we allow empty values.
CheckContainsNewLine(value);
AddParsedValue(info, value ?? string.Empty);
return;
}
// If the header only supports 1 value, we can add the current value only if there is no
// value already set.
if (!info.CanAddParsedValue(descriptor.Parser))
{
throw new FormatException(SR.Format(System.Globalization.CultureInfo.InvariantCulture, SR.net_http_headers_single_value_header, descriptor.Name));
}
int index = 0;
object parsedValue = descriptor.Parser.ParseValue(value, info.ParsedValue, ref index);
// The raw string only represented one value (which was successfully parsed). Add the value and return.
// If value is null we still have to first call ParseValue() to allow the parser to decide whether null is
// a valid value. If it is (i.e. no exception thrown), we set the parsed value (if any) and return.
if ((value == null) || (index == value.Length))
{
// If the returned value is null, then it means the header accepts empty values. i.e. we don't throw
// but we don't add 'null' to the store either.
if (parsedValue != null)
{
AddParsedValue(info, parsedValue);
}
return;
}
Debug.Assert(index < value.Length, "Parser must return an index value within the string length.");
// If we successfully parsed a value, but there are more left to read, store the results in a temp
// list. Only when all values are parsed successfully write the list to the store.
List<object> parsedValues = new List<object>();
if (parsedValue != null)
{
parsedValues.Add(parsedValue);
}
while (index < value.Length)
{
parsedValue = descriptor.Parser.ParseValue(value, info.ParsedValue, ref index);
if (parsedValue != null)
{
parsedValues.Add(parsedValue);
}
}
// All values were parsed correctly. Copy results to the store.
foreach (object item in parsedValues)
{
AddParsedValue(info, item);
}
}
private HeaderDescriptor GetHeaderDescriptor(string name)
{
if (string.IsNullOrEmpty(name))
{
throw new ArgumentException(SR.net_http_argument_empty_string, nameof(name));
}
if (!HeaderDescriptor.TryGet(name, out HeaderDescriptor descriptor))
{
throw new FormatException(SR.net_http_headers_invalid_header_name);
}
if ((descriptor.HeaderType & _allowedHeaderTypes) != 0)
{
return descriptor;
}
else if ((descriptor.HeaderType & _treatAsCustomHeaderTypes) != 0)
{
return descriptor.AsCustomHeader();
}
throw new InvalidOperationException(SR.Format(SR.net_http_headers_not_allowed_header_name, name));
}
internal bool TryGetHeaderDescriptor(string name, out HeaderDescriptor descriptor)
{
if (string.IsNullOrEmpty(name))
{
descriptor = default;
return false;
}
if (HeaderDescriptor.TryGet(name, out descriptor))
{
HttpHeaderType headerType = descriptor.HeaderType;
if ((headerType & _allowedHeaderTypes) != 0)
{
return true;
}
if ((headerType & _treatAsCustomHeaderTypes) != 0)
{
descriptor = descriptor.AsCustomHeader();
return true;
}
}
return false;
}
internal static void CheckContainsNewLine(string? value)
{
if (value == null)
{
return;
}
if (HttpRuleParser.ContainsNewLine(value))
{
throw new FormatException(SR.net_http_headers_no_newlines);
}
}
private static bool ContainsNewLine(string value, HeaderDescriptor descriptor)
{
if (HttpRuleParser.ContainsNewLine(value))
{
if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(null, SR.Format(SR.net_http_log_headers_no_newlines, descriptor.Name, value));
return true;
}
return false;
}
internal static string[] GetStoreValuesAsStringArray(HeaderDescriptor descriptor, HeaderStoreItemInfo info)
{
GetStoreValuesAsStringOrStringArray(descriptor, info, out string? singleValue, out string[]? multiValue);
Debug.Assert(singleValue is not null ^ multiValue is not null);
return multiValue ?? new[] { singleValue! };
}
internal static void GetStoreValuesAsStringOrStringArray(HeaderDescriptor descriptor, object sourceValues, out string? singleValue, out string[]? multiValue)
{
HeaderStoreItemInfo? info = sourceValues as HeaderStoreItemInfo;
if (info is null)
{
Debug.Assert(sourceValues is string);
singleValue = (string)sourceValues;
multiValue = null;
return;
}
int length = GetValueCount(info);
Span<string?> values;
singleValue = null;
if (length == 1)
{
multiValue = null;
values = MemoryMarshal.CreateSpan(ref singleValue, 1);
}
else
{
Debug.Assert(length > 1, "The header should have been removed when it became empty");
values = multiValue = new string[length];
}
int currentIndex = 0;
ReadStoreValues<string?>(values, info.RawValue, null, ref currentIndex);
ReadStoreValues<object?>(values, info.ParsedValue, descriptor.Parser, ref currentIndex);
ReadStoreValues<string?>(values, info.InvalidValue, null, ref currentIndex);
Debug.Assert(currentIndex == length);
}
internal static int GetStoreValuesIntoStringArray(HeaderDescriptor descriptor, object sourceValues, [NotNull] ref string[]? values)
{
values ??= Array.Empty<string>();
HeaderStoreItemInfo? info = sourceValues as HeaderStoreItemInfo;
if (info is null)
{
Debug.Assert(sourceValues is string);
if (values.Length == 0)
{
values = new string[1];
}
values[0] = (string)sourceValues;
return 1;
}
int length = GetValueCount(info);
if (length > 0)
{
if (values.Length < length)
{
values = new string[length];
}
int currentIndex = 0;
ReadStoreValues<string?>(values, info.RawValue, null, ref currentIndex);
ReadStoreValues<object?>(values, info.ParsedValue, descriptor.Parser, ref currentIndex);
ReadStoreValues<string?>(values, info.InvalidValue, null, ref currentIndex);
Debug.Assert(currentIndex == length);
}
return length;
}
private static int GetValueCount(HeaderStoreItemInfo info)
{
Debug.Assert(info != null);
int valueCount = Count<string>(info.RawValue);
valueCount += Count<string>(info.InvalidValue);
valueCount += Count<object>(info.ParsedValue);
return valueCount;
static int Count<T>(object? valueStore) =>
valueStore is null ? 0 :
valueStore is List<T> list ? list.Count :
1;
}
private static void ReadStoreValues<T>(Span<string?> values, object? storeValue, HttpHeaderParser? parser, ref int currentIndex)
{
if (storeValue != null)
{
List<T>? storeValues = storeValue as List<T>;
if (storeValues == null)
{
values[currentIndex] = parser == null ? storeValue.ToString() : parser.ToString(storeValue);
currentIndex++;
}
else
{
foreach (object? item in storeValues)
{
Debug.Assert(item != null);
values[currentIndex] = parser == null ? item.ToString() : parser.ToString(item);
currentIndex++;
}
}
}
}
private bool AreEqual(object value, object? storeValue, IEqualityComparer? comparer)
{
Debug.Assert(value != null);
if (comparer != null)
{
return comparer.Equals(value, storeValue);
}
// We don't have a comparer, so use the Equals() method.
return value.Equals(storeValue);
}
internal sealed class HeaderStoreItemInfo
{
internal HeaderStoreItemInfo() { }
internal object? RawValue;
internal object? InvalidValue;
internal object? ParsedValue;
internal bool CanAddParsedValue(HttpHeaderParser parser)
{
Debug.Assert(parser != null, "There should be no reason to call CanAddValue if there is no parser for the current header.");
// If the header only supports one value, and we have already a value set, then we can't add
// another value. E.g. the 'Date' header only supports one value. We can't add multiple timestamps
// to 'Date'.
// So if this is a known header, ask the parser if it supports multiple values and check whether
// we already have a (valid or invalid) value.
// Note that we ignore the rawValue by purpose: E.g. we are parsing 2 raw values for a header only
// supporting 1 value. When the first value gets parsed, CanAddValue returns true and we add the
// parsed value to ParsedValue. When the second value is parsed, CanAddValue returns false, because
// we have already a parsed value.
return parser.SupportsMultipleValues || ((InvalidValue == null) && (ParsedValue == null));
}
internal bool IsEmpty => (RawValue == null) && (InvalidValue == null) && (ParsedValue == null);
}
#region Low-level implementation details that work with _headerStore directly
// Used to store the CollectionsMarshal.GetValueRefOrAddDefault out parameter.
// This is a workaround for the Roslyn bug where we can't use a discard instead:
// https://github.com/dotnet/roslyn/issues/56587#issuecomment-934955526
private static bool s_dictionaryGetValueRefOrAddDefaultExistsDummy;
private const int InitialCapacity = 4;
internal const int ArrayThreshold = 64; // Above this threshold, header ordering will not be preserved
internal HeaderEntry[]? GetEntriesArray()
{
object? store = _headerStore;
if (store is null)
{
return null;
}
else if (store is HeaderEntry[] entries)
{
return entries;
}
else
{
return GetEntriesFromDictionary();
}
HeaderEntry[] GetEntriesFromDictionary()
{
var dictionary = (Dictionary<HeaderDescriptor, object>)_headerStore!;
var entries = new HeaderEntry[dictionary.Count];
int i = 0;
foreach (KeyValuePair<HeaderDescriptor, object> entry in dictionary)
{
entries[i++] = new HeaderEntry
{
Key = entry.Key,
Value = entry.Value
};
}
return entries;
}
}
internal ReadOnlySpan<HeaderEntry> GetEntries()
{
return new ReadOnlySpan<HeaderEntry>(GetEntriesArray(), 0, _count);
}
internal int Count => _count;
private bool EntriesAreLiveView => _headerStore is HeaderEntry[];
private ref object GetValueRefOrNullRef(HeaderDescriptor key)
{
ref object valueRef = ref Unsafe.NullRef<object>();
object? store = _headerStore;
if (store is HeaderEntry[] entries)
{
for (int i = 0; i < _count && i < entries.Length; i++)
{
if (key.Equals(entries[i].Key))
{
valueRef = ref entries[i].Value;
break;
}
}
}
else if (store is not null)
{
valueRef = ref CollectionsMarshal.GetValueRefOrNullRef(Unsafe.As<Dictionary<HeaderDescriptor, object>>(store), key);
}
return ref valueRef;
}
private ref object? GetValueRefOrAddDefault(HeaderDescriptor key)
{
object? store = _headerStore;
if (store is HeaderEntry[] entries)
{
for (int i = 0; i < _count && i < entries.Length; i++)
{
if (key.Equals(entries[i].Key))
{
return ref entries[i].Value!;
}
}
int count = _count;
_count++;
if ((uint)count < (uint)entries.Length)
{
entries[count].Key = key;
return ref entries[count].Value!;
}
return ref GrowEntriesAndAddDefault(key);
}
else if (store is null)
{
_count++;
entries = new HeaderEntry[InitialCapacity];
_headerStore = entries;
ref HeaderEntry firstEntry = ref MemoryMarshal.GetArrayDataReference(entries);
firstEntry.Key = key;
return ref firstEntry.Value!;
}
else
{
return ref DictionaryGetValueRefOrAddDefault(key);
}
ref object? GrowEntriesAndAddDefault(HeaderDescriptor key)
{
var entries = (HeaderEntry[])_headerStore!;
if (entries.Length == ArrayThreshold)
{
return ref ConvertToDictionaryAndAddDefault(key);
}
else
{
Array.Resize(ref entries, entries.Length << 1);
_headerStore = entries;
ref HeaderEntry firstNewEntry = ref entries[entries.Length >> 1];
firstNewEntry.Key = key;
return ref firstNewEntry.Value!;
}
}
ref object? ConvertToDictionaryAndAddDefault(HeaderDescriptor key)
{
var entries = (HeaderEntry[])_headerStore!;
var dictionary = new Dictionary<HeaderDescriptor, object>(ArrayThreshold);
_headerStore = dictionary;
foreach (HeaderEntry entry in entries)
{
dictionary.Add(entry.Key, entry.Value);
}
Debug.Assert(dictionary.Count == _count - 1);
return ref CollectionsMarshal.GetValueRefOrAddDefault(dictionary, key, out s_dictionaryGetValueRefOrAddDefaultExistsDummy);
}
ref object? DictionaryGetValueRefOrAddDefault(HeaderDescriptor key)
{
var dictionary = (Dictionary<HeaderDescriptor, object>)_headerStore!;
ref object? value = ref CollectionsMarshal.GetValueRefOrAddDefault(dictionary, key, out s_dictionaryGetValueRefOrAddDefaultExistsDummy);
if (value is null)
{
_count++;
}
return ref value;
}
}
private void AddEntryToStore(HeaderEntry entry)
{
Debug.Assert(!ContainsKey(entry.Key));
if (_headerStore is HeaderEntry[] entries)
{
int count = _count;
if ((uint)count < (uint)entries.Length)
{
entries[count] = entry;
_count++;
return;
}
}
GetValueRefOrAddDefault(entry.Key) = entry.Value;
}
internal bool ContainsKey(HeaderDescriptor key)
{
return !Unsafe.IsNullRef(ref GetValueRefOrNullRef(key));
}
public void Clear()
{
if (_headerStore is HeaderEntry[] entries)
{
Array.Clear(entries, 0, _count);
}
else
{
_headerStore = null;
}
_count = 0;
}
internal bool Remove(HeaderDescriptor key)
{
bool removed = false;
object? store = _headerStore;
if (store is HeaderEntry[] entries)
{
for (int i = 0; i < _count && i < entries.Length; i++)
{
if (key.Equals(entries[i].Key))
{
while (i + 1 < _count && (uint)(i + 1) < (uint)entries.Length)
{
entries[i] = entries[i + 1];
i++;
}
entries[i] = default;
removed = true;
break;
}
}
}
else if (store is not null)
{
removed = Unsafe.As<Dictionary<HeaderDescriptor, object>>(store).Remove(key);
}
if (removed)
{
_count--;
}
return removed;
}
#endregion // _headerStore implementation
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
namespace System.Net.Http.Headers
{
/// <summary>
/// Key/value pairs of headers. The value is either a raw <see cref="string"/> or a <see cref="HttpHeaders.HeaderStoreItemInfo"/>.
/// We're using a custom type instead of <see cref="KeyValuePair{TKey, TValue}"/> because we need ref access to fields.
/// </summary>
internal struct HeaderEntry
{
public HeaderDescriptor Key;
public object Value;
public HeaderEntry(HeaderDescriptor key, object value)
{
Key = key;
Value = value;
}
}
public abstract class HttpHeaders : IEnumerable<KeyValuePair<string, IEnumerable<string>>>
{
// This type is used to store a collection of headers in 'headerStore':
// - A header can have multiple values.
// - A header can have an associated parser which is able to parse the raw string value into a strongly typed object.
// - If a header has an associated parser and the provided raw value can't be parsed, the value is considered
// invalid. Invalid values are stored if added using TryAddWithoutValidation(). If the value was added using Add(),
// Add() will throw FormatException.
// - Since parsing header values is expensive and users usually only care about a few headers, header values are
// lazily initialized.
//
// Given the properties above, a header value can have three states:
// - 'raw': The header value was added using TryAddWithoutValidation() and it wasn't parsed yet.
// - 'parsed': The header value was successfully parsed. It was either added using Add() where the value was parsed
// immediately, or if added using TryAddWithoutValidation() a user already accessed a property/method triggering the
// value to be parsed.
// - 'invalid': The header value was parsed, but parsing failed because the value is invalid. Storing invalid values
// allows users to still retrieve the value (by calling GetValues()), but it will not be exposed as strongly typed
// object. E.g. the client receives a response with the following header: 'Via: 1.1 proxy, invalid'
// - HttpHeaders.GetValues() will return "1.1 proxy", "invalid"
// - HttpResponseHeaders.Via collection will only contain one ViaHeaderValue object with value "1.1 proxy"
/// <summary>Either a <see cref="HeaderEntry"/> array or a Dictionary<<see cref="HeaderDescriptor"/>, <see cref="object"/>> </summary>
private object? _headerStore;
private int _count;
private readonly HttpHeaderType _allowedHeaderTypes;
private readonly HttpHeaderType _treatAsCustomHeaderTypes;
protected HttpHeaders()
: this(HttpHeaderType.All, HttpHeaderType.None)
{
}
internal HttpHeaders(HttpHeaderType allowedHeaderTypes, HttpHeaderType treatAsCustomHeaderTypes)
{
// Should be no overlap
Debug.Assert((allowedHeaderTypes & treatAsCustomHeaderTypes) == 0);
_allowedHeaderTypes = allowedHeaderTypes & ~HttpHeaderType.NonTrailing;
_treatAsCustomHeaderTypes = treatAsCustomHeaderTypes & ~HttpHeaderType.NonTrailing;
}
/// <summary>Gets a view of the contents of this headers collection that does not parse nor validate the data upon access.</summary>
public HttpHeadersNonValidated NonValidated => new HttpHeadersNonValidated(this);
public void Add(string name, string? value) => Add(GetHeaderDescriptor(name), value);
internal void Add(HeaderDescriptor descriptor, string? value)
{
// We don't use GetOrCreateHeaderInfo() here, since this would create a new header in the store. If parsing
// the value then throws, we would have to remove the header from the store again. So just get a
// HeaderStoreItemInfo object and try to parse the value. If it works, we'll add the header.
PrepareHeaderInfoForAdd(descriptor, out HeaderStoreItemInfo info, out bool addToStore);
ParseAndAddValue(descriptor, info, value);
// If we get here, then the value could be parsed correctly. If we created a new HeaderStoreItemInfo, add
// it to the store if we added at least one value.
if (addToStore && (info.ParsedValue != null))
{
Debug.Assert(!ContainsKey(descriptor));
AddEntryToStore(new HeaderEntry(descriptor, info));
}
}
public void Add(string name, IEnumerable<string?> values) => Add(GetHeaderDescriptor(name), values);
internal void Add(HeaderDescriptor descriptor, IEnumerable<string?> values!!)
{
PrepareHeaderInfoForAdd(descriptor, out HeaderStoreItemInfo info, out bool addToStore);
try
{
// Note that if the first couple of values are valid followed by an invalid value, the valid values
// will be added to the store before the exception for the invalid value is thrown.
foreach (string? value in values)
{
ParseAndAddValue(descriptor, info, value);
}
}
finally
{
// Even if one of the values was invalid, make sure we add the header for the valid ones. We need to be
// consistent here: If values get added to an _existing_ header, then all values until the invalid one
// get added. Same here: If multiple values get added to a _new_ header, make sure the header gets added
// with the valid values.
// However, if all values for a _new_ header were invalid, then don't add the header.
if (addToStore && (info.ParsedValue != null))
{
Debug.Assert(!ContainsKey(descriptor));
AddEntryToStore(new HeaderEntry(descriptor, info));
}
}
}
public bool TryAddWithoutValidation(string name, string? value) =>
TryGetHeaderDescriptor(name, out HeaderDescriptor descriptor) &&
TryAddWithoutValidation(descriptor, value);
internal bool TryAddWithoutValidation(HeaderDescriptor descriptor, string? value)
{
// Normalize null values to be empty values, which are allowed. If the user adds multiple
// null/empty values, all of them are added to the collection. This will result in delimiter-only
// values, e.g. adding two null-strings (or empty, or whitespace-only) results in "My-Header: ,".
value ??= string.Empty;
ref object? storeValueRef = ref GetValueRefOrAddDefault(descriptor);
object? currentValue = storeValueRef;
if (currentValue is null)
{
storeValueRef = value;
}
else
{
if (currentValue is not HeaderStoreItemInfo info)
{
// The header store contained a single raw string value, so promote it
// to being a HeaderStoreItemInfo and add to it.
Debug.Assert(currentValue is string);
storeValueRef = info = new HeaderStoreItemInfo() { RawValue = currentValue };
}
AddRawValue(info, value);
}
return true;
}
public bool TryAddWithoutValidation(string name, IEnumerable<string?> values) =>
TryGetHeaderDescriptor(name, out HeaderDescriptor descriptor) &&
TryAddWithoutValidation(descriptor, values);
internal bool TryAddWithoutValidation(HeaderDescriptor descriptor, IEnumerable<string?> values!!)
{
using IEnumerator<string?> enumerator = values.GetEnumerator();
if (enumerator.MoveNext())
{
TryAddWithoutValidation(descriptor, enumerator.Current);
if (enumerator.MoveNext())
{
ref object? storeValueRef = ref GetValueRefOrAddDefault(descriptor);
Debug.Assert(storeValueRef is not null);
object value = storeValueRef;
if (value is not HeaderStoreItemInfo info)
{
Debug.Assert(value is string);
storeValueRef = info = new HeaderStoreItemInfo { RawValue = value };
}
do
{
AddRawValue(info, enumerator.Current ?? string.Empty);
}
while (enumerator.MoveNext());
}
}
return true;
}
public IEnumerable<string> GetValues(string name) => GetValues(GetHeaderDescriptor(name));
internal IEnumerable<string> GetValues(HeaderDescriptor descriptor)
{
if (TryGetValues(descriptor, out IEnumerable<string>? values))
{
return values;
}
throw new InvalidOperationException(SR.net_http_headers_not_found);
}
public bool TryGetValues(string name, [NotNullWhen(true)] out IEnumerable<string>? values)
{
if (TryGetHeaderDescriptor(name, out HeaderDescriptor descriptor))
{
return TryGetValues(descriptor, out values);
}
values = null;
return false;
}
internal bool TryGetValues(HeaderDescriptor descriptor, [NotNullWhen(true)] out IEnumerable<string>? values)
{
if (TryGetAndParseHeaderInfo(descriptor, out HeaderStoreItemInfo? info))
{
values = GetStoreValuesAsStringArray(descriptor, info);
return true;
}
values = null;
return false;
}
public bool Contains(string name) => Contains(GetHeaderDescriptor(name));
internal bool Contains(HeaderDescriptor descriptor)
{
// We can't just call headerStore.ContainsKey() since after parsing the value the header may not exist
// anymore (if the value contains newline chars, we remove the header). So try to parse the
// header value.
return TryGetAndParseHeaderInfo(descriptor, out _);
}
public override string ToString()
{
// Return all headers as string similar to:
// HeaderName1: Value1, Value2
// HeaderName2: Value1
// ...
var vsb = new ValueStringBuilder(stackalloc char[512]);
foreach (HeaderEntry entry in GetEntries())
{
vsb.Append(entry.Key.Name);
vsb.Append(": ");
GetStoreValuesAsStringOrStringArray(entry.Key, entry.Value, out string? singleValue, out string[]? multiValue);
Debug.Assert(singleValue is not null ^ multiValue is not null);
if (singleValue is not null)
{
vsb.Append(singleValue);
}
else
{
// Note that if we get multiple values for a header that doesn't support multiple values, we'll
// just separate the values using a comma (default separator).
string? separator = entry.Key.Parser is HttpHeaderParser parser && parser.SupportsMultipleValues ? parser.Separator : HttpHeaderParser.DefaultSeparator;
Debug.Assert(multiValue is not null && multiValue.Length > 0);
vsb.Append(multiValue[0]);
for (int i = 1; i < multiValue.Length; i++)
{
vsb.Append(separator);
vsb.Append(multiValue[i]);
}
}
vsb.Append(Environment.NewLine);
}
return vsb.ToString();
}
internal string GetHeaderString(HeaderDescriptor descriptor)
{
if (TryGetHeaderValue(descriptor, out object? info))
{
GetStoreValuesAsStringOrStringArray(descriptor, info, out string? singleValue, out string[]? multiValue);
Debug.Assert(singleValue is not null ^ multiValue is not null);
if (singleValue is not null)
{
return singleValue;
}
// Note that if we get multiple values for a header that doesn't support multiple values, we'll
// just separate the values using a comma (default separator).
string? separator = descriptor.Parser != null && descriptor.Parser.SupportsMultipleValues ? descriptor.Parser.Separator : HttpHeaderParser.DefaultSeparator;
return string.Join(separator, multiValue!);
}
return string.Empty;
}
#region IEnumerable<KeyValuePair<string, IEnumerable<string>>> Members
public IEnumerator<KeyValuePair<string, IEnumerable<string>>> GetEnumerator() => _count == 0 ?
((IEnumerable<KeyValuePair<string, IEnumerable<string>>>)Array.Empty<KeyValuePair<string, IEnumerable<string>>>()).GetEnumerator() :
GetEnumeratorCore();
private IEnumerator<KeyValuePair<string, IEnumerable<string>>> GetEnumeratorCore()
{
HeaderEntry[]? entries = GetEntriesArray();
Debug.Assert(_count != 0 && entries is not null, "Caller should have validated the collection is not empty");
int count = _count;
for (int i = 0; i < count; i++)
{
HeaderEntry entry = entries[i];
if (entry.Value is not HeaderStoreItemInfo info)
{
// To retain consistent semantics, we need to upgrade a raw string to a HeaderStoreItemInfo
// during enumeration so that we can parse the raw value in order to a) return
// the correct set of parsed values, and b) update the instance for subsequent enumerations
// to reflect that parsing.
info = new HeaderStoreItemInfo() { RawValue = entry.Value };
if (EntriesAreLiveView)
{
entries[i].Value = info;
}
else
{
Debug.Assert(ContainsKey(entry.Key));
((Dictionary<HeaderDescriptor, object>)_headerStore!)[entry.Key] = info;
}
}
// Make sure we parse all raw values before returning the result. Note that this has to be
// done before we calculate the array length (next line): A raw value may contain a list of
// values.
if (!ParseRawHeaderValues(entry.Key, info))
{
// We saw an invalid header value (contains newline chars) and deleted it.
// If the HeaderEntry[] we are enumerating is the live header store, the entries have shifted.
if (EntriesAreLiveView)
{
i--;
count--;
}
}
else
{
string[] values = GetStoreValuesAsStringArray(entry.Key, info);
yield return new KeyValuePair<string, IEnumerable<string>>(entry.Key.Name, values);
}
}
}
#endregion
#region IEnumerable Members
Collections.IEnumerator Collections.IEnumerable.GetEnumerator() => GetEnumerator();
#endregion
internal void AddParsedValue(HeaderDescriptor descriptor, object value)
{
Debug.Assert(value != null);
Debug.Assert(descriptor.Parser != null, "Can't add parsed value if there is no parser available.");
HeaderStoreItemInfo info = GetOrCreateHeaderInfo(descriptor);
// If the current header has only one value, we can't add another value. The strongly typed property
// must not call AddParsedValue(), but SetParsedValue(). E.g. for headers like 'Date', 'Host'.
Debug.Assert(descriptor.Parser.SupportsMultipleValues, $"Header '{descriptor.Name}' doesn't support multiple values");
AddParsedValue(info, value);
}
internal void SetParsedValue(HeaderDescriptor descriptor, object value)
{
Debug.Assert(value != null);
Debug.Assert(descriptor.Parser != null, "Can't add parsed value if there is no parser available.");
// This method will first clear all values. This is used e.g. when setting the 'Date' or 'Host' header.
// i.e. headers not supporting collections.
HeaderStoreItemInfo info = GetOrCreateHeaderInfo(descriptor);
info.InvalidValue = null;
info.ParsedValue = null;
info.RawValue = null;
AddParsedValue(info, value);
}
internal void SetOrRemoveParsedValue(HeaderDescriptor descriptor, object? value)
{
if (value == null)
{
Remove(descriptor);
}
else
{
SetParsedValue(descriptor, value);
}
}
public bool Remove(string name) => Remove(GetHeaderDescriptor(name));
internal bool RemoveParsedValue(HeaderDescriptor descriptor, object value)
{
Debug.Assert(value != null);
// If we have a value for this header, then verify if we have a single value. If so, compare that
// value with 'item'. If we have a list of values, then remove 'item' from the list.
if (TryGetAndParseHeaderInfo(descriptor, out HeaderStoreItemInfo? info))
{
Debug.Assert(descriptor.Parser != null, "Can't add parsed value if there is no parser available.");
Debug.Assert(descriptor.Parser.SupportsMultipleValues,
"This method should not be used for single-value headers. Use Remove(string) instead.");
// If there is no entry, just return.
if (info.ParsedValue == null)
{
return false;
}
bool result = false;
IEqualityComparer? comparer = descriptor.Parser.Comparer;
List<object>? parsedValues = info.ParsedValue as List<object>;
if (parsedValues == null)
{
Debug.Assert(info.ParsedValue.GetType() == value.GetType(),
"Stored value does not have the same type as 'value'.");
if (AreEqual(value, info.ParsedValue, comparer))
{
info.ParsedValue = null;
result = true;
}
}
else
{
foreach (object item in parsedValues)
{
Debug.Assert(item.GetType() == value.GetType(),
"One of the stored values does not have the same type as 'value'.");
if (AreEqual(value, item, comparer))
{
// Remove 'item' rather than 'value', since the 'comparer' may consider two values
// equal even though the default obj.Equals() may not (e.g. if 'comparer' does
// case-insensitive comparison for strings, but string.Equals() is case-sensitive).
result = parsedValues.Remove(item);
break;
}
}
// If we removed the last item in a list, remove the list.
if (parsedValues.Count == 0)
{
info.ParsedValue = null;
}
}
// If there is no value for the header left, remove the header.
if (info.IsEmpty)
{
bool headerRemoved = Remove(descriptor);
Debug.Assert(headerRemoved, $"Existing header '{descriptor.Name}' couldn't be removed.");
}
return result;
}
return false;
}
internal bool ContainsParsedValue(HeaderDescriptor descriptor, object value)
{
Debug.Assert(value != null);
// If we have a value for this header, then verify if we have a single value. If so, compare that
// value with 'item'. If we have a list of values, then compare each item in the list with 'item'.
if (TryGetAndParseHeaderInfo(descriptor, out HeaderStoreItemInfo? info))
{
Debug.Assert(descriptor.Parser != null, "Can't add parsed value if there is no parser available.");
Debug.Assert(descriptor.Parser.SupportsMultipleValues,
"This method should not be used for single-value headers. Use equality comparer instead.");
// If there is no entry, just return.
if (info.ParsedValue == null)
{
return false;
}
List<object>? parsedValues = info.ParsedValue as List<object>;
IEqualityComparer? comparer = descriptor.Parser.Comparer;
if (parsedValues == null)
{
Debug.Assert(info.ParsedValue.GetType() == value.GetType(),
"Stored value does not have the same type as 'value'.");
return AreEqual(value, info.ParsedValue, comparer);
}
else
{
foreach (object item in parsedValues)
{
Debug.Assert(item.GetType() == value.GetType(),
"One of the stored values does not have the same type as 'value'.");
if (AreEqual(value, item, comparer))
{
return true;
}
}
return false;
}
}
return false;
}
internal virtual void AddHeaders(HttpHeaders sourceHeaders)
{
Debug.Assert(sourceHeaders != null);
Debug.Assert(GetType() == sourceHeaders.GetType(), "Can only copy headers from an instance of the same type.");
// Only add header values if they're not already set on the message. Note that we don't merge
// collections: If both the default headers and the message have set some values for a certain
// header, then we don't try to merge the values.
if (_count == 0 && sourceHeaders._headerStore is HeaderEntry[] sourceEntries)
{
// If the target collection is empty, we don't have to search for existing values
_count = sourceHeaders._count;
if (_headerStore is not HeaderEntry[] entries || entries.Length < _count)
{
entries = new HeaderEntry[sourceEntries.Length];
_headerStore = entries;
}
for (int i = 0; i < _count && i < sourceEntries.Length; i++)
{
HeaderEntry entry = sourceEntries[i];
if (entry.Value is HeaderStoreItemInfo info)
{
entry.Value = CloneHeaderInfo(entry.Key, info);
}
entries[i] = entry;
}
}
else
{
foreach (HeaderEntry entry in sourceHeaders.GetEntries())
{
ref object? storeValueRef = ref GetValueRefOrAddDefault(entry.Key);
if (storeValueRef is null)
{
object sourceValue = entry.Value;
if (sourceValue is HeaderStoreItemInfo info)
{
storeValueRef = CloneHeaderInfo(entry.Key, info);
}
else
{
Debug.Assert(sourceValue is string);
storeValueRef = sourceValue;
}
}
}
}
}
private HeaderStoreItemInfo CloneHeaderInfo(HeaderDescriptor descriptor, HeaderStoreItemInfo sourceInfo)
{
var destinationInfo = new HeaderStoreItemInfo
{
// Always copy raw values
RawValue = CloneStringHeaderInfoValues(sourceInfo.RawValue)
};
if (descriptor.Parser == null)
{
// We have custom header values. The parsed values are strings.
// Custom header values are always stored as string or list of strings.
Debug.Assert(sourceInfo.InvalidValue == null, "No invalid values expected for custom headers.");
destinationInfo.ParsedValue = CloneStringHeaderInfoValues(sourceInfo.ParsedValue);
}
else
{
// We have a parser, so we also have to copy invalid values and clone parsed values.
// Invalid values are always strings. Strings are immutable. So we only have to clone the
// collection (if there is one).
destinationInfo.InvalidValue = CloneStringHeaderInfoValues(sourceInfo.InvalidValue);
// Now clone and add parsed values (if any).
if (sourceInfo.ParsedValue != null)
{
List<object>? sourceValues = sourceInfo.ParsedValue as List<object>;
if (sourceValues == null)
{
CloneAndAddValue(destinationInfo, sourceInfo.ParsedValue);
}
else
{
foreach (object item in sourceValues)
{
CloneAndAddValue(destinationInfo, item);
}
}
}
}
return destinationInfo;
}
private static void CloneAndAddValue(HeaderStoreItemInfo destinationInfo, object source)
{
// We only have one value. Clone it and assign it to the store.
if (source is ICloneable cloneableValue)
{
AddParsedValue(destinationInfo, cloneableValue.Clone());
}
else
{
// If it doesn't implement ICloneable, it's a value type or an immutable type like String/Uri.
AddParsedValue(destinationInfo, source);
}
}
[return: NotNullIfNotNull("source")]
private static object? CloneStringHeaderInfoValues(object? source)
{
if (source == null)
{
return null;
}
List<object>? sourceValues = source as List<object>;
if (sourceValues == null)
{
// If we just have one value, return the reference to the string (strings are immutable so it's OK
// to use the reference).
return source;
}
else
{
// If we have a list of strings, create a new list and copy all strings to the new list.
return new List<object>(sourceValues);
}
}
private HeaderStoreItemInfo GetOrCreateHeaderInfo(HeaderDescriptor descriptor)
{
if (TryGetAndParseHeaderInfo(descriptor, out HeaderStoreItemInfo? info))
{
return info;
}
else
{
return CreateAndAddHeaderToStore(descriptor);
}
}
private HeaderStoreItemInfo CreateAndAddHeaderToStore(HeaderDescriptor descriptor)
{
Debug.Assert(!ContainsKey(descriptor));
// If we don't have the header in the store yet, add it now.
HeaderStoreItemInfo result = new HeaderStoreItemInfo();
// If the descriptor header type is in _treatAsCustomHeaderTypes, it must be converted to a custom header before calling this method
Debug.Assert((descriptor.HeaderType & _treatAsCustomHeaderTypes) == 0);
AddEntryToStore(new HeaderEntry(descriptor, result));
return result;
}
internal bool TryGetHeaderValue(HeaderDescriptor descriptor, [NotNullWhen(true)] out object? value)
{
ref object storeValueRef = ref GetValueRefOrNullRef(descriptor);
if (Unsafe.IsNullRef(ref storeValueRef))
{
value = null;
return false;
}
else
{
value = storeValueRef;
return true;
}
}
private bool TryGetAndParseHeaderInfo(HeaderDescriptor key, [NotNullWhen(true)] out HeaderStoreItemInfo? info)
{
ref object storeValueRef = ref GetValueRefOrNullRef(key);
if (!Unsafe.IsNullRef(ref storeValueRef))
{
object value = storeValueRef;
if (value is HeaderStoreItemInfo hsi)
{
info = hsi;
}
else
{
Debug.Assert(value is string);
storeValueRef = info = new HeaderStoreItemInfo() { RawValue = value };
}
return ParseRawHeaderValues(key, info);
}
info = null;
return false;
}
private bool ParseRawHeaderValues(HeaderDescriptor descriptor, HeaderStoreItemInfo info)
{
// Unlike TryGetHeaderInfo() this method tries to parse all non-validated header values (if any)
// before returning to the caller.
Debug.Assert(!info.IsEmpty);
if (info.RawValue != null)
{
List<string>? rawValues = info.RawValue as List<string>;
if (rawValues == null)
{
ParseSingleRawHeaderValue(descriptor, info);
}
else
{
ParseMultipleRawHeaderValues(descriptor, info, rawValues);
}
// At this point all values are either in info.ParsedValue, info.InvalidValue, or were removed since they
// contain newline chars. Reset RawValue.
info.RawValue = null;
// During parsing, we removed the value since it contains newline chars. Return false to indicate that
// this is an empty header.
if ((info.InvalidValue == null) && (info.ParsedValue == null))
{
// After parsing the raw value, no value is left because all values contain newline chars.
Debug.Assert(_count > 0);
Remove(descriptor);
return false;
}
}
return true;
}
private static void ParseMultipleRawHeaderValues(HeaderDescriptor descriptor, HeaderStoreItemInfo info, List<string> rawValues)
{
if (descriptor.Parser == null)
{
foreach (string rawValue in rawValues)
{
if (!ContainsNewLine(rawValue, descriptor))
{
AddParsedValue(info, rawValue);
}
}
}
else
{
foreach (string rawValue in rawValues)
{
if (!TryParseAndAddRawHeaderValue(descriptor, info, rawValue, true))
{
if (NetEventSource.Log.IsEnabled()) NetEventSource.Log.HeadersInvalidValue(descriptor.Name, rawValue);
}
}
}
}
private static void ParseSingleRawHeaderValue(HeaderDescriptor descriptor, HeaderStoreItemInfo info)
{
string? rawValue = info.RawValue as string;
Debug.Assert(rawValue != null, "RawValue must either be List<string> or string.");
if (descriptor.Parser == null)
{
if (!ContainsNewLine(rawValue, descriptor))
{
AddParsedValue(info, rawValue);
}
}
else
{
if (!TryParseAndAddRawHeaderValue(descriptor, info, rawValue, true))
{
if (NetEventSource.Log.IsEnabled()) NetEventSource.Log.HeadersInvalidValue(descriptor.Name, rawValue);
}
}
}
// See Add(name, string)
internal bool TryParseAndAddValue(HeaderDescriptor descriptor, string? value)
{
// We don't use GetOrCreateHeaderInfo() here, since this would create a new header in the store. If parsing
// the value then throws, we would have to remove the header from the store again. So just get a
// HeaderStoreItemInfo object and try to parse the value. If it works, we'll add the header.
HeaderStoreItemInfo info;
bool addToStore;
PrepareHeaderInfoForAdd(descriptor, out info, out addToStore);
bool result = TryParseAndAddRawHeaderValue(descriptor, info, value, false);
if (result && addToStore && (info.ParsedValue != null))
{
// If we get here, then the value could be parsed correctly. If we created a new HeaderStoreItemInfo, add
// it to the store if we added at least one value.
Debug.Assert(!ContainsKey(descriptor));
AddEntryToStore(new HeaderEntry(descriptor, info));
}
return result;
}
// See ParseAndAddValue
private static bool TryParseAndAddRawHeaderValue(HeaderDescriptor descriptor, HeaderStoreItemInfo info, string? value, bool addWhenInvalid)
{
Debug.Assert(info != null);
Debug.Assert(descriptor.Parser != null);
// Values are added as 'invalid' if we either can't parse the value OR if we already have a value
// and the current header doesn't support multiple values: e.g. trying to add a date/time value
// to the 'Date' header if we already have a date/time value will result in the second value being
// added to the 'invalid' header values.
if (!info.CanAddParsedValue(descriptor.Parser))
{
if (addWhenInvalid)
{
AddInvalidValue(info, value ?? string.Empty);
}
return false;
}
int index = 0;
if (descriptor.Parser.TryParseValue(value, info.ParsedValue, ref index, out object? parsedValue))
{
// The raw string only represented one value (which was successfully parsed). Add the value and return.
if ((value == null) || (index == value.Length))
{
if (parsedValue != null)
{
AddParsedValue(info, parsedValue);
}
return true;
}
Debug.Assert(index < value.Length, "Parser must return an index value within the string length.");
// If we successfully parsed a value, but there are more left to read, store the results in a temp
// list. Only when all values are parsed successfully write the list to the store.
List<object> parsedValues = new List<object>();
if (parsedValue != null)
{
parsedValues.Add(parsedValue);
}
while (index < value.Length)
{
if (descriptor.Parser.TryParseValue(value, info.ParsedValue, ref index, out parsedValue))
{
if (parsedValue != null)
{
parsedValues.Add(parsedValue);
}
}
else
{
if (!ContainsNewLine(value, descriptor) && addWhenInvalid)
{
AddInvalidValue(info, value);
}
return false;
}
}
// All values were parsed correctly. Copy results to the store.
foreach (object item in parsedValues)
{
AddParsedValue(info, item);
}
return true;
}
Debug.Assert(value != null);
if (!ContainsNewLine(value, descriptor) && addWhenInvalid)
{
AddInvalidValue(info, value ?? string.Empty);
}
return false;
}
private static void AddParsedValue(HeaderStoreItemInfo info, object value)
{
Debug.Assert(!(value is List<object>),
"Header value types must not derive from List<object> since this type is used internally to store " +
"lists of values. So we would not be able to distinguish between a single value and a list of values.");
AddValueToStoreValue<object>(value, ref info.ParsedValue);
}
private static void AddInvalidValue(HeaderStoreItemInfo info, string value)
{
AddValueToStoreValue<string>(value, ref info.InvalidValue);
}
private static void AddRawValue(HeaderStoreItemInfo info, string value)
{
AddValueToStoreValue<string>(value, ref info.RawValue);
}
private static void AddValueToStoreValue<T>(T value, ref object? currentStoreValue) where T : class
{
// If there is no value set yet, then add current item as value (we don't create a list
// if not required). If 'info.Value' is already assigned then make sure 'info.Value' is a
// List<T> and append 'item' to the list.
if (currentStoreValue == null)
{
currentStoreValue = value;
}
else
{
List<T>? storeValues = currentStoreValue as List<T>;
if (storeValues == null)
{
storeValues = new List<T>(2);
Debug.Assert(currentStoreValue is T);
storeValues.Add((T)currentStoreValue);
currentStoreValue = storeValues;
}
Debug.Assert(value is T);
storeValues.Add((T)value);
}
}
// Since most of the time we just have 1 value, we don't create a List<object> for one value, but we change
// the return type to 'object'. The caller has to deal with the return type (object vs. List<object>). This
// is to optimize the most common scenario where a header has only one value.
internal object? GetParsedValues(HeaderDescriptor descriptor)
{
if (!TryGetAndParseHeaderInfo(descriptor, out HeaderStoreItemInfo? info))
{
return null;
}
return info.ParsedValue;
}
internal virtual bool IsAllowedHeaderName(HeaderDescriptor descriptor) => true;
private void PrepareHeaderInfoForAdd(HeaderDescriptor descriptor, out HeaderStoreItemInfo info, out bool addToStore)
{
if (!IsAllowedHeaderName(descriptor))
{
throw new InvalidOperationException(SR.Format(SR.net_http_headers_not_allowed_header_name, descriptor.Name));
}
addToStore = false;
if (!TryGetAndParseHeaderInfo(descriptor, out info!))
{
info = new HeaderStoreItemInfo();
addToStore = true;
}
}
private void ParseAndAddValue(HeaderDescriptor descriptor, HeaderStoreItemInfo info, string? value)
{
Debug.Assert(info != null);
if (descriptor.Parser == null)
{
// If we don't have a parser for the header, we consider the value valid if it doesn't contains
// newline characters. We add the values as "parsed value". Note that we allow empty values.
CheckContainsNewLine(value);
AddParsedValue(info, value ?? string.Empty);
return;
}
// If the header only supports 1 value, we can add the current value only if there is no
// value already set.
if (!info.CanAddParsedValue(descriptor.Parser))
{
throw new FormatException(SR.Format(System.Globalization.CultureInfo.InvariantCulture, SR.net_http_headers_single_value_header, descriptor.Name));
}
int index = 0;
object parsedValue = descriptor.Parser.ParseValue(value, info.ParsedValue, ref index);
// The raw string only represented one value (which was successfully parsed). Add the value and return.
// If value is null we still have to first call ParseValue() to allow the parser to decide whether null is
// a valid value. If it is (i.e. no exception thrown), we set the parsed value (if any) and return.
if ((value == null) || (index == value.Length))
{
// If the returned value is null, then it means the header accepts empty values. i.e. we don't throw
// but we don't add 'null' to the store either.
if (parsedValue != null)
{
AddParsedValue(info, parsedValue);
}
return;
}
Debug.Assert(index < value.Length, "Parser must return an index value within the string length.");
// If we successfully parsed a value, but there are more left to read, store the results in a temp
// list. Only when all values are parsed successfully write the list to the store.
List<object> parsedValues = new List<object>();
if (parsedValue != null)
{
parsedValues.Add(parsedValue);
}
while (index < value.Length)
{
parsedValue = descriptor.Parser.ParseValue(value, info.ParsedValue, ref index);
if (parsedValue != null)
{
parsedValues.Add(parsedValue);
}
}
// All values were parsed correctly. Copy results to the store.
foreach (object item in parsedValues)
{
AddParsedValue(info, item);
}
}
private HeaderDescriptor GetHeaderDescriptor(string name)
{
if (string.IsNullOrEmpty(name))
{
throw new ArgumentException(SR.net_http_argument_empty_string, nameof(name));
}
if (!HeaderDescriptor.TryGet(name, out HeaderDescriptor descriptor))
{
throw new FormatException(SR.net_http_headers_invalid_header_name);
}
if ((descriptor.HeaderType & _allowedHeaderTypes) != 0)
{
return descriptor;
}
else if ((descriptor.HeaderType & _treatAsCustomHeaderTypes) != 0)
{
return descriptor.AsCustomHeader();
}
throw new InvalidOperationException(SR.Format(SR.net_http_headers_not_allowed_header_name, name));
}
internal bool TryGetHeaderDescriptor(string name, out HeaderDescriptor descriptor)
{
if (string.IsNullOrEmpty(name))
{
descriptor = default;
return false;
}
if (HeaderDescriptor.TryGet(name, out descriptor))
{
HttpHeaderType headerType = descriptor.HeaderType;
if ((headerType & _allowedHeaderTypes) != 0)
{
return true;
}
if ((headerType & _treatAsCustomHeaderTypes) != 0)
{
descriptor = descriptor.AsCustomHeader();
return true;
}
}
return false;
}
internal static void CheckContainsNewLine(string? value)
{
if (value == null)
{
return;
}
if (HttpRuleParser.ContainsNewLine(value))
{
throw new FormatException(SR.net_http_headers_no_newlines);
}
}
private static bool ContainsNewLine(string value, HeaderDescriptor descriptor)
{
if (HttpRuleParser.ContainsNewLine(value))
{
if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(null, SR.Format(SR.net_http_log_headers_no_newlines, descriptor.Name, value));
return true;
}
return false;
}
internal static string[] GetStoreValuesAsStringArray(HeaderDescriptor descriptor, HeaderStoreItemInfo info)
{
GetStoreValuesAsStringOrStringArray(descriptor, info, out string? singleValue, out string[]? multiValue);
Debug.Assert(singleValue is not null ^ multiValue is not null);
return multiValue ?? new[] { singleValue! };
}
internal static void GetStoreValuesAsStringOrStringArray(HeaderDescriptor descriptor, object sourceValues, out string? singleValue, out string[]? multiValue)
{
HeaderStoreItemInfo? info = sourceValues as HeaderStoreItemInfo;
if (info is null)
{
Debug.Assert(sourceValues is string);
singleValue = (string)sourceValues;
multiValue = null;
return;
}
int length = GetValueCount(info);
Span<string?> values;
singleValue = null;
if (length == 1)
{
multiValue = null;
values = MemoryMarshal.CreateSpan(ref singleValue, 1);
}
else
{
Debug.Assert(length > 1, "The header should have been removed when it became empty");
values = multiValue = new string[length];
}
int currentIndex = 0;
ReadStoreValues<string?>(values, info.RawValue, null, ref currentIndex);
ReadStoreValues<object?>(values, info.ParsedValue, descriptor.Parser, ref currentIndex);
ReadStoreValues<string?>(values, info.InvalidValue, null, ref currentIndex);
Debug.Assert(currentIndex == length);
}
internal static int GetStoreValuesIntoStringArray(HeaderDescriptor descriptor, object sourceValues, [NotNull] ref string[]? values)
{
values ??= Array.Empty<string>();
HeaderStoreItemInfo? info = sourceValues as HeaderStoreItemInfo;
if (info is null)
{
Debug.Assert(sourceValues is string);
if (values.Length == 0)
{
values = new string[1];
}
values[0] = (string)sourceValues;
return 1;
}
int length = GetValueCount(info);
if (length > 0)
{
if (values.Length < length)
{
values = new string[length];
}
int currentIndex = 0;
ReadStoreValues<string?>(values, info.RawValue, null, ref currentIndex);
ReadStoreValues<object?>(values, info.ParsedValue, descriptor.Parser, ref currentIndex);
ReadStoreValues<string?>(values, info.InvalidValue, null, ref currentIndex);
Debug.Assert(currentIndex == length);
}
return length;
}
private static int GetValueCount(HeaderStoreItemInfo info)
{
Debug.Assert(info != null);
int valueCount = Count<string>(info.RawValue);
valueCount += Count<string>(info.InvalidValue);
valueCount += Count<object>(info.ParsedValue);
return valueCount;
static int Count<T>(object? valueStore) =>
valueStore is null ? 0 :
valueStore is List<T> list ? list.Count :
1;
}
private static void ReadStoreValues<T>(Span<string?> values, object? storeValue, HttpHeaderParser? parser, ref int currentIndex)
{
if (storeValue != null)
{
List<T>? storeValues = storeValue as List<T>;
if (storeValues == null)
{
values[currentIndex] = parser == null ? storeValue.ToString() : parser.ToString(storeValue);
currentIndex++;
}
else
{
foreach (object? item in storeValues)
{
Debug.Assert(item != null);
values[currentIndex] = parser == null ? item.ToString() : parser.ToString(item);
currentIndex++;
}
}
}
}
private bool AreEqual(object value, object? storeValue, IEqualityComparer? comparer)
{
Debug.Assert(value != null);
if (comparer != null)
{
return comparer.Equals(value, storeValue);
}
// We don't have a comparer, so use the Equals() method.
return value.Equals(storeValue);
}
internal sealed class HeaderStoreItemInfo
{
internal HeaderStoreItemInfo() { }
internal object? RawValue;
internal object? InvalidValue;
internal object? ParsedValue;
internal bool CanAddParsedValue(HttpHeaderParser parser)
{
Debug.Assert(parser != null, "There should be no reason to call CanAddValue if there is no parser for the current header.");
// If the header only supports one value, and we have already a value set, then we can't add
// another value. E.g. the 'Date' header only supports one value. We can't add multiple timestamps
// to 'Date'.
// So if this is a known header, ask the parser if it supports multiple values and check whether
// we already have a (valid or invalid) value.
// Note that we ignore the rawValue by purpose: E.g. we are parsing 2 raw values for a header only
// supporting 1 value. When the first value gets parsed, CanAddValue returns true and we add the
// parsed value to ParsedValue. When the second value is parsed, CanAddValue returns false, because
// we have already a parsed value.
return parser.SupportsMultipleValues || ((InvalidValue == null) && (ParsedValue == null));
}
internal bool IsEmpty => (RawValue == null) && (InvalidValue == null) && (ParsedValue == null);
}
#region Low-level implementation details that work with _headerStore directly
// Used to store the CollectionsMarshal.GetValueRefOrAddDefault out parameter.
// This is a workaround for the Roslyn bug where we can't use a discard instead:
// https://github.com/dotnet/roslyn/issues/56587#issuecomment-934955526
private static bool s_dictionaryGetValueRefOrAddDefaultExistsDummy;
private const int InitialCapacity = 4;
internal const int ArrayThreshold = 64; // Above this threshold, header ordering will not be preserved
internal HeaderEntry[]? GetEntriesArray()
{
object? store = _headerStore;
if (store is null)
{
return null;
}
else if (store is HeaderEntry[] entries)
{
return entries;
}
else
{
return GetEntriesFromDictionary();
}
HeaderEntry[] GetEntriesFromDictionary()
{
var dictionary = (Dictionary<HeaderDescriptor, object>)_headerStore!;
var entries = new HeaderEntry[dictionary.Count];
int i = 0;
foreach (KeyValuePair<HeaderDescriptor, object> entry in dictionary)
{
entries[i++] = new HeaderEntry
{
Key = entry.Key,
Value = entry.Value
};
}
return entries;
}
}
internal ReadOnlySpan<HeaderEntry> GetEntries()
{
return new ReadOnlySpan<HeaderEntry>(GetEntriesArray(), 0, _count);
}
internal int Count => _count;
private bool EntriesAreLiveView => _headerStore is HeaderEntry[];
private ref object GetValueRefOrNullRef(HeaderDescriptor key)
{
ref object valueRef = ref Unsafe.NullRef<object>();
object? store = _headerStore;
if (store is HeaderEntry[] entries)
{
for (int i = 0; i < _count && i < entries.Length; i++)
{
if (key.Equals(entries[i].Key))
{
valueRef = ref entries[i].Value;
break;
}
}
}
else if (store is not null)
{
valueRef = ref CollectionsMarshal.GetValueRefOrNullRef(Unsafe.As<Dictionary<HeaderDescriptor, object>>(store), key);
}
return ref valueRef;
}
private ref object? GetValueRefOrAddDefault(HeaderDescriptor key)
{
object? store = _headerStore;
if (store is HeaderEntry[] entries)
{
for (int i = 0; i < _count && i < entries.Length; i++)
{
if (key.Equals(entries[i].Key))
{
return ref entries[i].Value!;
}
}
int count = _count;
_count++;
if ((uint)count < (uint)entries.Length)
{
entries[count].Key = key;
return ref entries[count].Value!;
}
return ref GrowEntriesAndAddDefault(key);
}
else if (store is null)
{
_count++;
entries = new HeaderEntry[InitialCapacity];
_headerStore = entries;
ref HeaderEntry firstEntry = ref MemoryMarshal.GetArrayDataReference(entries);
firstEntry.Key = key;
return ref firstEntry.Value!;
}
else
{
return ref DictionaryGetValueRefOrAddDefault(key);
}
ref object? GrowEntriesAndAddDefault(HeaderDescriptor key)
{
var entries = (HeaderEntry[])_headerStore!;
if (entries.Length == ArrayThreshold)
{
return ref ConvertToDictionaryAndAddDefault(key);
}
else
{
Array.Resize(ref entries, entries.Length << 1);
_headerStore = entries;
ref HeaderEntry firstNewEntry = ref entries[entries.Length >> 1];
firstNewEntry.Key = key;
return ref firstNewEntry.Value!;
}
}
ref object? ConvertToDictionaryAndAddDefault(HeaderDescriptor key)
{
var entries = (HeaderEntry[])_headerStore!;
var dictionary = new Dictionary<HeaderDescriptor, object>(ArrayThreshold);
_headerStore = dictionary;
foreach (HeaderEntry entry in entries)
{
dictionary.Add(entry.Key, entry.Value);
}
Debug.Assert(dictionary.Count == _count - 1);
return ref CollectionsMarshal.GetValueRefOrAddDefault(dictionary, key, out s_dictionaryGetValueRefOrAddDefaultExistsDummy);
}
ref object? DictionaryGetValueRefOrAddDefault(HeaderDescriptor key)
{
var dictionary = (Dictionary<HeaderDescriptor, object>)_headerStore!;
ref object? value = ref CollectionsMarshal.GetValueRefOrAddDefault(dictionary, key, out s_dictionaryGetValueRefOrAddDefaultExistsDummy);
if (value is null)
{
_count++;
}
return ref value;
}
}
private void AddEntryToStore(HeaderEntry entry)
{
Debug.Assert(!ContainsKey(entry.Key));
if (_headerStore is HeaderEntry[] entries)
{
int count = _count;
if ((uint)count < (uint)entries.Length)
{
entries[count] = entry;
_count++;
return;
}
}
GetValueRefOrAddDefault(entry.Key) = entry.Value;
}
internal bool ContainsKey(HeaderDescriptor key)
{
return !Unsafe.IsNullRef(ref GetValueRefOrNullRef(key));
}
public void Clear()
{
if (_headerStore is HeaderEntry[] entries)
{
Array.Clear(entries, 0, _count);
}
else
{
_headerStore = null;
}
_count = 0;
}
internal bool Remove(HeaderDescriptor key)
{
bool removed = false;
object? store = _headerStore;
if (store is HeaderEntry[] entries)
{
for (int i = 0; i < _count && i < entries.Length; i++)
{
if (key.Equals(entries[i].Key))
{
while (i + 1 < _count && (uint)(i + 1) < (uint)entries.Length)
{
entries[i] = entries[i + 1];
i++;
}
entries[i] = default;
removed = true;
break;
}
}
}
else if (store is not null)
{
removed = Unsafe.As<Dictionary<HeaderDescriptor, object>>(store).Remove(key);
}
if (removed)
{
_count--;
}
return removed;
}
#endregion // _headerStore implementation
}
}
| -1 |
dotnet/runtime | 65,915 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer | Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | elinor-fung | "2022-02-26T01:42:58Z" | "2022-03-01T00:57:47Z" | b4c746b7712e887af066d66d1ec777be6283f6f9 | d9eafd0c55ff7c3d7804c7629baf271703df91a6 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer. Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | ./src/libraries/System.Private.Xml/tests/Xslt/TestFiles/TestData/XsltScenarios/EXslt/out/datetime-add-duration.xml | <out>
<test1>P367DT2S</test1>
<test2>P92DT5H2M</test2>
<test3></test3>
<test4></test4>
</out> | <out>
<test1>P367DT2S</test1>
<test2>P92DT5H2M</test2>
<test3></test3>
<test4></test4>
</out> | -1 |
dotnet/runtime | 65,915 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer | Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | elinor-fung | "2022-02-26T01:42:58Z" | "2022-03-01T00:57:47Z" | b4c746b7712e887af066d66d1ec777be6283f6f9 | d9eafd0c55ff7c3d7804c7629baf271703df91a6 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer. Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | ./src/tests/JIT/HardwareIntrinsics/General/Vector64/Divide.UInt64.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/******************************************************************************
* This file is auto-generated from a template file by the GenerateTests.csx *
* script in tests\src\JIT\HardwareIntrinsics\X86\Shared. In order to make *
* changes, please update the corresponding template and run according to the *
* directions listed in the file. *
******************************************************************************/
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
namespace JIT.HardwareIntrinsics.General
{
public static partial class Program
{
private static void DivideUInt64()
{
var test = new VectorBinaryOpTest__DivideUInt64();
// Validates basic functionality works, using Unsafe.Read
test.RunBasicScenario_UnsafeRead();
// Validates calling via reflection works, using Unsafe.Read
test.RunReflectionScenario_UnsafeRead();
// Validates passing a static member works
test.RunClsVarScenario();
// Validates passing a local works, using Unsafe.Read
test.RunLclVarScenario_UnsafeRead();
// Validates passing the field of a local class works
test.RunClassLclFldScenario();
// Validates passing an instance member of a class works
test.RunClassFldScenario();
// Validates passing the field of a local struct works
test.RunStructLclFldScenario();
// Validates passing an instance member of a struct works
test.RunStructFldScenario();
if (!test.Succeeded)
{
throw new Exception("One or more scenarios did not complete as expected.");
}
}
}
public sealed unsafe class VectorBinaryOpTest__DivideUInt64
{
private struct DataTable
{
private byte[] inArray1;
private byte[] inArray2;
private byte[] outArray;
private GCHandle inHandle1;
private GCHandle inHandle2;
private GCHandle outHandle;
private ulong alignment;
public DataTable(UInt64[] inArray1, UInt64[] inArray2, UInt64[] outArray, int alignment)
{
int sizeOfinArray1 = inArray1.Length * Unsafe.SizeOf<UInt64>();
int sizeOfinArray2 = inArray2.Length * Unsafe.SizeOf<UInt64>();
int sizeOfoutArray = outArray.Length * Unsafe.SizeOf<UInt64>();
if ((alignment != 32 && alignment != 16 && alignment != 8) || (alignment * 2) < sizeOfinArray1 || (alignment * 2) < sizeOfinArray2 || (alignment * 2) < sizeOfoutArray)
{
throw new ArgumentException("Invalid value of alignment");
}
this.inArray1 = new byte[alignment * 2];
this.inArray2 = new byte[alignment * 2];
this.outArray = new byte[alignment * 2];
this.inHandle1 = GCHandle.Alloc(this.inArray1, GCHandleType.Pinned);
this.inHandle2 = GCHandle.Alloc(this.inArray2, GCHandleType.Pinned);
this.outHandle = GCHandle.Alloc(this.outArray, GCHandleType.Pinned);
this.alignment = (ulong)alignment;
Unsafe.CopyBlockUnaligned(ref Unsafe.AsRef<byte>(inArray1Ptr), ref Unsafe.As<UInt64, byte>(ref inArray1[0]), (uint)sizeOfinArray1);
Unsafe.CopyBlockUnaligned(ref Unsafe.AsRef<byte>(inArray2Ptr), ref Unsafe.As<UInt64, byte>(ref inArray2[0]), (uint)sizeOfinArray2);
}
public void* inArray1Ptr => Align((byte*)(inHandle1.AddrOfPinnedObject().ToPointer()), alignment);
public void* inArray2Ptr => Align((byte*)(inHandle2.AddrOfPinnedObject().ToPointer()), alignment);
public void* outArrayPtr => Align((byte*)(outHandle.AddrOfPinnedObject().ToPointer()), alignment);
public void Dispose()
{
inHandle1.Free();
inHandle2.Free();
outHandle.Free();
}
private static unsafe void* Align(byte* buffer, ulong expectedAlignment)
{
return (void*)(((ulong)buffer + expectedAlignment - 1) & ~(expectedAlignment - 1));
}
}
private struct TestStruct
{
public Vector64<UInt64> _fld1;
public Vector64<UInt64> _fld2;
public static TestStruct Create()
{
var testStruct = new TestStruct();
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetUInt64(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector64<UInt64>, byte>(ref testStruct._fld1), ref Unsafe.As<UInt64, byte>(ref _data1[0]), (uint)Unsafe.SizeOf<Vector64<UInt64>>());
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = Math.Max((ulong)(1), TestLibrary.Generator.GetUInt64()); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector64<UInt64>, byte>(ref testStruct._fld2), ref Unsafe.As<UInt64, byte>(ref _data2[0]), (uint)Unsafe.SizeOf<Vector64<UInt64>>());
return testStruct;
}
public void RunStructFldScenario(VectorBinaryOpTest__DivideUInt64 testClass)
{
var result = Vector64.Divide(_fld1, _fld2);
Unsafe.Write(testClass._dataTable.outArrayPtr, result);
testClass.ValidateResult(_fld1, _fld2, testClass._dataTable.outArrayPtr);
}
}
private static readonly int LargestVectorSize = 8;
private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector64<UInt64>>() / sizeof(UInt64);
private static readonly int Op2ElementCount = Unsafe.SizeOf<Vector64<UInt64>>() / sizeof(UInt64);
private static readonly int RetElementCount = Unsafe.SizeOf<Vector64<UInt64>>() / sizeof(UInt64);
private static UInt64[] _data1 = new UInt64[Op1ElementCount];
private static UInt64[] _data2 = new UInt64[Op2ElementCount];
private static Vector64<UInt64> _clsVar1;
private static Vector64<UInt64> _clsVar2;
private Vector64<UInt64> _fld1;
private Vector64<UInt64> _fld2;
private DataTable _dataTable;
static VectorBinaryOpTest__DivideUInt64()
{
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetUInt64(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector64<UInt64>, byte>(ref _clsVar1), ref Unsafe.As<UInt64, byte>(ref _data1[0]), (uint)Unsafe.SizeOf<Vector64<UInt64>>());
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = Math.Max((ulong)(1), TestLibrary.Generator.GetUInt64()); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector64<UInt64>, byte>(ref _clsVar2), ref Unsafe.As<UInt64, byte>(ref _data2[0]), (uint)Unsafe.SizeOf<Vector64<UInt64>>());
}
public VectorBinaryOpTest__DivideUInt64()
{
Succeeded = true;
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetUInt64(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector64<UInt64>, byte>(ref _fld1), ref Unsafe.As<UInt64, byte>(ref _data1[0]), (uint)Unsafe.SizeOf<Vector64<UInt64>>());
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = Math.Max((ulong)(1), TestLibrary.Generator.GetUInt64()); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector64<UInt64>, byte>(ref _fld2), ref Unsafe.As<UInt64, byte>(ref _data2[0]), (uint)Unsafe.SizeOf<Vector64<UInt64>>());
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetUInt64(); }
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = Math.Max((ulong)(1), TestLibrary.Generator.GetUInt64()); }
_dataTable = new DataTable(_data1, _data2, new UInt64[RetElementCount], LargestVectorSize);
}
public bool Succeeded { get; set; }
public void RunBasicScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_UnsafeRead));
var result = Vector64.Divide(
Unsafe.Read<Vector64<UInt64>>(_dataTable.inArray1Ptr),
Unsafe.Read<Vector64<UInt64>>(_dataTable.inArray2Ptr)
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.outArrayPtr);
}
public void RunReflectionScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_UnsafeRead));
var method = typeof(Vector64).GetMethod(nameof(Vector64.Divide), new Type[] {
typeof(Vector64<UInt64>),
typeof(Vector64<UInt64>)
});
if (method is null)
{
method = typeof(Vector64).GetMethod(nameof(Vector64.Divide), 1, new Type[] {
typeof(Vector64<>).MakeGenericType(Type.MakeGenericMethodParameter(0)),
typeof(Vector64<>).MakeGenericType(Type.MakeGenericMethodParameter(0))
});
}
if (method.IsGenericMethodDefinition)
{
method = method.MakeGenericMethod(typeof(UInt64));
}
var result = method.Invoke(null, new object[] {
Unsafe.Read<Vector64<UInt64>>(_dataTable.inArray1Ptr),
Unsafe.Read<Vector64<UInt64>>(_dataTable.inArray2Ptr)
});
Unsafe.Write(_dataTable.outArrayPtr, (Vector64<UInt64>)(result));
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.outArrayPtr);
}
public void RunClsVarScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClsVarScenario));
var result = Vector64.Divide(
_clsVar1,
_clsVar2
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_clsVar1, _clsVar2, _dataTable.outArrayPtr);
}
public void RunLclVarScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunLclVarScenario_UnsafeRead));
var op1 = Unsafe.Read<Vector64<UInt64>>(_dataTable.inArray1Ptr);
var op2 = Unsafe.Read<Vector64<UInt64>>(_dataTable.inArray2Ptr);
var result = Vector64.Divide(op1, op2);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(op1, op2, _dataTable.outArrayPtr);
}
public void RunClassLclFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassLclFldScenario));
var test = new VectorBinaryOpTest__DivideUInt64();
var result = Vector64.Divide(test._fld1, test._fld2);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld1, test._fld2, _dataTable.outArrayPtr);
}
public void RunClassFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassFldScenario));
var result = Vector64.Divide(_fld1, _fld2);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_fld1, _fld2, _dataTable.outArrayPtr);
}
public void RunStructLclFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructLclFldScenario));
var test = TestStruct.Create();
var result = Vector64.Divide(test._fld1, test._fld2);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld1, test._fld2, _dataTable.outArrayPtr);
}
public void RunStructFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructFldScenario));
var test = TestStruct.Create();
test.RunStructFldScenario(this);
}
private void ValidateResult(Vector64<UInt64> op1, Vector64<UInt64> op2, void* result, [CallerMemberName] string method = "")
{
UInt64[] inArray1 = new UInt64[Op1ElementCount];
UInt64[] inArray2 = new UInt64[Op2ElementCount];
UInt64[] outArray = new UInt64[RetElementCount];
Unsafe.WriteUnaligned(ref Unsafe.As<UInt64, byte>(ref inArray1[0]), op1);
Unsafe.WriteUnaligned(ref Unsafe.As<UInt64, byte>(ref inArray2[0]), op2);
Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt64, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector64<UInt64>>());
ValidateResult(inArray1, inArray2, outArray, method);
}
private void ValidateResult(void* op1, void* op2, void* result, [CallerMemberName] string method = "")
{
UInt64[] inArray1 = new UInt64[Op1ElementCount];
UInt64[] inArray2 = new UInt64[Op2ElementCount];
UInt64[] outArray = new UInt64[RetElementCount];
Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt64, byte>(ref inArray1[0]), ref Unsafe.AsRef<byte>(op1), (uint)Unsafe.SizeOf<Vector64<UInt64>>());
Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt64, byte>(ref inArray2[0]), ref Unsafe.AsRef<byte>(op2), (uint)Unsafe.SizeOf<Vector64<UInt64>>());
Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt64, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector64<UInt64>>());
ValidateResult(inArray1, inArray2, outArray, method);
}
private void ValidateResult(UInt64[] left, UInt64[] right, UInt64[] result, [CallerMemberName] string method = "")
{
bool succeeded = true;
if (result[0] != (ulong)(left[0] / right[0]))
{
succeeded = false;
}
else
{
for (var i = 1; i < RetElementCount; i++)
{
if (result[i] != (ulong)(left[i] / right[i]))
{
succeeded = false;
break;
}
}
}
if (!succeeded)
{
TestLibrary.TestFramework.LogInformation($"{nameof(Vector64)}.{nameof(Vector64.Divide)}<UInt64>(Vector64<UInt64>, Vector64<UInt64>): {method} failed:");
TestLibrary.TestFramework.LogInformation($" left: ({string.Join(", ", left)})");
TestLibrary.TestFramework.LogInformation($" right: ({string.Join(", ", right)})");
TestLibrary.TestFramework.LogInformation($" result: ({string.Join(", ", result)})");
TestLibrary.TestFramework.LogInformation(string.Empty);
Succeeded = false;
}
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/******************************************************************************
* This file is auto-generated from a template file by the GenerateTests.csx *
* script in tests\src\JIT\HardwareIntrinsics\X86\Shared. In order to make *
* changes, please update the corresponding template and run according to the *
* directions listed in the file. *
******************************************************************************/
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
namespace JIT.HardwareIntrinsics.General
{
public static partial class Program
{
private static void DivideUInt64()
{
var test = new VectorBinaryOpTest__DivideUInt64();
// Validates basic functionality works, using Unsafe.Read
test.RunBasicScenario_UnsafeRead();
// Validates calling via reflection works, using Unsafe.Read
test.RunReflectionScenario_UnsafeRead();
// Validates passing a static member works
test.RunClsVarScenario();
// Validates passing a local works, using Unsafe.Read
test.RunLclVarScenario_UnsafeRead();
// Validates passing the field of a local class works
test.RunClassLclFldScenario();
// Validates passing an instance member of a class works
test.RunClassFldScenario();
// Validates passing the field of a local struct works
test.RunStructLclFldScenario();
// Validates passing an instance member of a struct works
test.RunStructFldScenario();
if (!test.Succeeded)
{
throw new Exception("One or more scenarios did not complete as expected.");
}
}
}
public sealed unsafe class VectorBinaryOpTest__DivideUInt64
{
private struct DataTable
{
private byte[] inArray1;
private byte[] inArray2;
private byte[] outArray;
private GCHandle inHandle1;
private GCHandle inHandle2;
private GCHandle outHandle;
private ulong alignment;
public DataTable(UInt64[] inArray1, UInt64[] inArray2, UInt64[] outArray, int alignment)
{
int sizeOfinArray1 = inArray1.Length * Unsafe.SizeOf<UInt64>();
int sizeOfinArray2 = inArray2.Length * Unsafe.SizeOf<UInt64>();
int sizeOfoutArray = outArray.Length * Unsafe.SizeOf<UInt64>();
if ((alignment != 32 && alignment != 16 && alignment != 8) || (alignment * 2) < sizeOfinArray1 || (alignment * 2) < sizeOfinArray2 || (alignment * 2) < sizeOfoutArray)
{
throw new ArgumentException("Invalid value of alignment");
}
this.inArray1 = new byte[alignment * 2];
this.inArray2 = new byte[alignment * 2];
this.outArray = new byte[alignment * 2];
this.inHandle1 = GCHandle.Alloc(this.inArray1, GCHandleType.Pinned);
this.inHandle2 = GCHandle.Alloc(this.inArray2, GCHandleType.Pinned);
this.outHandle = GCHandle.Alloc(this.outArray, GCHandleType.Pinned);
this.alignment = (ulong)alignment;
Unsafe.CopyBlockUnaligned(ref Unsafe.AsRef<byte>(inArray1Ptr), ref Unsafe.As<UInt64, byte>(ref inArray1[0]), (uint)sizeOfinArray1);
Unsafe.CopyBlockUnaligned(ref Unsafe.AsRef<byte>(inArray2Ptr), ref Unsafe.As<UInt64, byte>(ref inArray2[0]), (uint)sizeOfinArray2);
}
public void* inArray1Ptr => Align((byte*)(inHandle1.AddrOfPinnedObject().ToPointer()), alignment);
public void* inArray2Ptr => Align((byte*)(inHandle2.AddrOfPinnedObject().ToPointer()), alignment);
public void* outArrayPtr => Align((byte*)(outHandle.AddrOfPinnedObject().ToPointer()), alignment);
public void Dispose()
{
inHandle1.Free();
inHandle2.Free();
outHandle.Free();
}
private static unsafe void* Align(byte* buffer, ulong expectedAlignment)
{
return (void*)(((ulong)buffer + expectedAlignment - 1) & ~(expectedAlignment - 1));
}
}
private struct TestStruct
{
public Vector64<UInt64> _fld1;
public Vector64<UInt64> _fld2;
public static TestStruct Create()
{
var testStruct = new TestStruct();
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetUInt64(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector64<UInt64>, byte>(ref testStruct._fld1), ref Unsafe.As<UInt64, byte>(ref _data1[0]), (uint)Unsafe.SizeOf<Vector64<UInt64>>());
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = Math.Max((ulong)(1), TestLibrary.Generator.GetUInt64()); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector64<UInt64>, byte>(ref testStruct._fld2), ref Unsafe.As<UInt64, byte>(ref _data2[0]), (uint)Unsafe.SizeOf<Vector64<UInt64>>());
return testStruct;
}
public void RunStructFldScenario(VectorBinaryOpTest__DivideUInt64 testClass)
{
var result = Vector64.Divide(_fld1, _fld2);
Unsafe.Write(testClass._dataTable.outArrayPtr, result);
testClass.ValidateResult(_fld1, _fld2, testClass._dataTable.outArrayPtr);
}
}
private static readonly int LargestVectorSize = 8;
private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector64<UInt64>>() / sizeof(UInt64);
private static readonly int Op2ElementCount = Unsafe.SizeOf<Vector64<UInt64>>() / sizeof(UInt64);
private static readonly int RetElementCount = Unsafe.SizeOf<Vector64<UInt64>>() / sizeof(UInt64);
private static UInt64[] _data1 = new UInt64[Op1ElementCount];
private static UInt64[] _data2 = new UInt64[Op2ElementCount];
private static Vector64<UInt64> _clsVar1;
private static Vector64<UInt64> _clsVar2;
private Vector64<UInt64> _fld1;
private Vector64<UInt64> _fld2;
private DataTable _dataTable;
static VectorBinaryOpTest__DivideUInt64()
{
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetUInt64(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector64<UInt64>, byte>(ref _clsVar1), ref Unsafe.As<UInt64, byte>(ref _data1[0]), (uint)Unsafe.SizeOf<Vector64<UInt64>>());
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = Math.Max((ulong)(1), TestLibrary.Generator.GetUInt64()); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector64<UInt64>, byte>(ref _clsVar2), ref Unsafe.As<UInt64, byte>(ref _data2[0]), (uint)Unsafe.SizeOf<Vector64<UInt64>>());
}
public VectorBinaryOpTest__DivideUInt64()
{
Succeeded = true;
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetUInt64(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector64<UInt64>, byte>(ref _fld1), ref Unsafe.As<UInt64, byte>(ref _data1[0]), (uint)Unsafe.SizeOf<Vector64<UInt64>>());
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = Math.Max((ulong)(1), TestLibrary.Generator.GetUInt64()); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector64<UInt64>, byte>(ref _fld2), ref Unsafe.As<UInt64, byte>(ref _data2[0]), (uint)Unsafe.SizeOf<Vector64<UInt64>>());
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetUInt64(); }
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = Math.Max((ulong)(1), TestLibrary.Generator.GetUInt64()); }
_dataTable = new DataTable(_data1, _data2, new UInt64[RetElementCount], LargestVectorSize);
}
public bool Succeeded { get; set; }
public void RunBasicScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_UnsafeRead));
var result = Vector64.Divide(
Unsafe.Read<Vector64<UInt64>>(_dataTable.inArray1Ptr),
Unsafe.Read<Vector64<UInt64>>(_dataTable.inArray2Ptr)
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.outArrayPtr);
}
public void RunReflectionScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_UnsafeRead));
var method = typeof(Vector64).GetMethod(nameof(Vector64.Divide), new Type[] {
typeof(Vector64<UInt64>),
typeof(Vector64<UInt64>)
});
if (method is null)
{
method = typeof(Vector64).GetMethod(nameof(Vector64.Divide), 1, new Type[] {
typeof(Vector64<>).MakeGenericType(Type.MakeGenericMethodParameter(0)),
typeof(Vector64<>).MakeGenericType(Type.MakeGenericMethodParameter(0))
});
}
if (method.IsGenericMethodDefinition)
{
method = method.MakeGenericMethod(typeof(UInt64));
}
var result = method.Invoke(null, new object[] {
Unsafe.Read<Vector64<UInt64>>(_dataTable.inArray1Ptr),
Unsafe.Read<Vector64<UInt64>>(_dataTable.inArray2Ptr)
});
Unsafe.Write(_dataTable.outArrayPtr, (Vector64<UInt64>)(result));
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.outArrayPtr);
}
public void RunClsVarScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClsVarScenario));
var result = Vector64.Divide(
_clsVar1,
_clsVar2
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_clsVar1, _clsVar2, _dataTable.outArrayPtr);
}
public void RunLclVarScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunLclVarScenario_UnsafeRead));
var op1 = Unsafe.Read<Vector64<UInt64>>(_dataTable.inArray1Ptr);
var op2 = Unsafe.Read<Vector64<UInt64>>(_dataTable.inArray2Ptr);
var result = Vector64.Divide(op1, op2);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(op1, op2, _dataTable.outArrayPtr);
}
public void RunClassLclFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassLclFldScenario));
var test = new VectorBinaryOpTest__DivideUInt64();
var result = Vector64.Divide(test._fld1, test._fld2);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld1, test._fld2, _dataTable.outArrayPtr);
}
public void RunClassFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassFldScenario));
var result = Vector64.Divide(_fld1, _fld2);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_fld1, _fld2, _dataTable.outArrayPtr);
}
public void RunStructLclFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructLclFldScenario));
var test = TestStruct.Create();
var result = Vector64.Divide(test._fld1, test._fld2);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld1, test._fld2, _dataTable.outArrayPtr);
}
public void RunStructFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructFldScenario));
var test = TestStruct.Create();
test.RunStructFldScenario(this);
}
private void ValidateResult(Vector64<UInt64> op1, Vector64<UInt64> op2, void* result, [CallerMemberName] string method = "")
{
UInt64[] inArray1 = new UInt64[Op1ElementCount];
UInt64[] inArray2 = new UInt64[Op2ElementCount];
UInt64[] outArray = new UInt64[RetElementCount];
Unsafe.WriteUnaligned(ref Unsafe.As<UInt64, byte>(ref inArray1[0]), op1);
Unsafe.WriteUnaligned(ref Unsafe.As<UInt64, byte>(ref inArray2[0]), op2);
Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt64, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector64<UInt64>>());
ValidateResult(inArray1, inArray2, outArray, method);
}
private void ValidateResult(void* op1, void* op2, void* result, [CallerMemberName] string method = "")
{
UInt64[] inArray1 = new UInt64[Op1ElementCount];
UInt64[] inArray2 = new UInt64[Op2ElementCount];
UInt64[] outArray = new UInt64[RetElementCount];
Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt64, byte>(ref inArray1[0]), ref Unsafe.AsRef<byte>(op1), (uint)Unsafe.SizeOf<Vector64<UInt64>>());
Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt64, byte>(ref inArray2[0]), ref Unsafe.AsRef<byte>(op2), (uint)Unsafe.SizeOf<Vector64<UInt64>>());
Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt64, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector64<UInt64>>());
ValidateResult(inArray1, inArray2, outArray, method);
}
private void ValidateResult(UInt64[] left, UInt64[] right, UInt64[] result, [CallerMemberName] string method = "")
{
bool succeeded = true;
if (result[0] != (ulong)(left[0] / right[0]))
{
succeeded = false;
}
else
{
for (var i = 1; i < RetElementCount; i++)
{
if (result[i] != (ulong)(left[i] / right[i]))
{
succeeded = false;
break;
}
}
}
if (!succeeded)
{
TestLibrary.TestFramework.LogInformation($"{nameof(Vector64)}.{nameof(Vector64.Divide)}<UInt64>(Vector64<UInt64>, Vector64<UInt64>): {method} failed:");
TestLibrary.TestFramework.LogInformation($" left: ({string.Join(", ", left)})");
TestLibrary.TestFramework.LogInformation($" right: ({string.Join(", ", right)})");
TestLibrary.TestFramework.LogInformation($" result: ({string.Join(", ", result)})");
TestLibrary.TestFramework.LogInformation(string.Empty);
Succeeded = false;
}
}
}
}
| -1 |
dotnet/runtime | 65,915 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer | Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | elinor-fung | "2022-02-26T01:42:58Z" | "2022-03-01T00:57:47Z" | b4c746b7712e887af066d66d1ec777be6283f6f9 | d9eafd0c55ff7c3d7804c7629baf271703df91a6 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer. Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | ./src/libraries/System.Dynamic.Runtime/tests/Dynamic.Declarations/Conformance.dynamic.declarations.localVariable.simple.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Xunit;
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.declarations.localVariable.simple.declaration001.declaration001
{
public class Test
{
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod(null));
}
public static int MainMethod(string[] args)
{
dynamic d;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.declarations.localVariable.simple.declaration002.declaration002
{
public class Test
{
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod(null));
}
public static int MainMethod(string[] args)
{
dynamic d = null;
object o = (object)d;
if (o != null)
return 1;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.declarations.localVariable.simple.declaration004.declaration004
{
public class Test
{
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod(null));
}
public static int MainMethod(string[] args)
{
dynamic d = 4;
dynamic dd = d;
object o = (object)dd;
if ((int)o != 4)
return 1;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.declarations.localVariable.simple.declaration005.declaration005
{
public class Test
{
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod(null));
}
public static int MainMethod(string[] args)
{
int x = 4;
dynamic d = (dynamic)x;
object o = (object)d;
if ((int)o != x)
return 1;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.declarations.localVariable.simple.declaration006.declaration006
{
public class Test
{
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod(null));
}
public static int MainMethod(string[] args)
{
dynamic d = 4;
object o = d;
if ((int)o != 4)
return 1;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.declarations.localVariable.simple.declaration007.declaration007
{
public class Test
{
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod(null));
}
public static int MainMethod(string[] args)
{
object o = 4.5;
dynamic d = o;
if ((double)d != 4.5)
return 1;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.declarations.localVariable.simple.declaration008.declaration008
{
public class Test
{
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod(null));
}
public static int MainMethod(string[] args)
{
int x = 3;
dynamic d = x;
if ((int)d != x)
return 1;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.declarations.localVariable.simple.declaration009.declaration009
{
public class Test
{
public enum MyEnum
{
First,
Second,
Third
}
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod(null));
}
public static int MainMethod(string[] args)
{
MyEnum e = MyEnum.Second;
dynamic d = e;
if ((MyEnum)d != MyEnum.Second)
return 1;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.declarations.localVariable.simple.declaration010.declaration010
{
public class Test
{
public struct MyStruct
{
public string myStr;
}
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod(null));
}
public static int MainMethod(string[] args)
{
MyStruct s = new MyStruct()
{
myStr = "dynamic"
}
;
dynamic d = s;
if (((MyStruct)d).myStr != "dynamic")
return 1;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.declarations.localVariable.simple.declaration011.declaration011
{
public class Test
{
public struct MyStruct
{
public string myStr;
}
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod(null));
}
public static int MainMethod(string[] args)
{
MyStruct? s = new MyStruct()
{
myStr = "dynamic"
}
;
dynamic d = s;
if (((MyStruct)d).myStr != "dynamic")
return 1;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.declarations.localVariable.simple.declaration012.declaration012
{
public class Test
{
public struct MyClass
{
public string myStr;
}
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod(null));
}
public static int MainMethod(string[] args)
{
MyClass s = new MyClass()
{
myStr = "dynamic"
}
;
dynamic d = s;
if (((MyClass)d).myStr != "dynamic")
return 1;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.declarations.localVariable.simple.declaration013.declaration013
{
public class Test
{
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod(null));
}
public static int MainMethod(string[] args)
{
dynamic d = null;
if ((object)d != null)
return 1;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.declarations.localVariable.simple.errordeclaration001.errordeclaration001
{
public class Test
{
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod(null));
}
public static int MainMethod(string[] args)
{
dynamic d = 4;
int x = d;
return x == (int)d ? 0 : 1;
}
}
// </Code>
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Xunit;
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.declarations.localVariable.simple.declaration001.declaration001
{
public class Test
{
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod(null));
}
public static int MainMethod(string[] args)
{
dynamic d;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.declarations.localVariable.simple.declaration002.declaration002
{
public class Test
{
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod(null));
}
public static int MainMethod(string[] args)
{
dynamic d = null;
object o = (object)d;
if (o != null)
return 1;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.declarations.localVariable.simple.declaration004.declaration004
{
public class Test
{
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod(null));
}
public static int MainMethod(string[] args)
{
dynamic d = 4;
dynamic dd = d;
object o = (object)dd;
if ((int)o != 4)
return 1;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.declarations.localVariable.simple.declaration005.declaration005
{
public class Test
{
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod(null));
}
public static int MainMethod(string[] args)
{
int x = 4;
dynamic d = (dynamic)x;
object o = (object)d;
if ((int)o != x)
return 1;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.declarations.localVariable.simple.declaration006.declaration006
{
public class Test
{
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod(null));
}
public static int MainMethod(string[] args)
{
dynamic d = 4;
object o = d;
if ((int)o != 4)
return 1;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.declarations.localVariable.simple.declaration007.declaration007
{
public class Test
{
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod(null));
}
public static int MainMethod(string[] args)
{
object o = 4.5;
dynamic d = o;
if ((double)d != 4.5)
return 1;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.declarations.localVariable.simple.declaration008.declaration008
{
public class Test
{
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod(null));
}
public static int MainMethod(string[] args)
{
int x = 3;
dynamic d = x;
if ((int)d != x)
return 1;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.declarations.localVariable.simple.declaration009.declaration009
{
public class Test
{
public enum MyEnum
{
First,
Second,
Third
}
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod(null));
}
public static int MainMethod(string[] args)
{
MyEnum e = MyEnum.Second;
dynamic d = e;
if ((MyEnum)d != MyEnum.Second)
return 1;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.declarations.localVariable.simple.declaration010.declaration010
{
public class Test
{
public struct MyStruct
{
public string myStr;
}
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod(null));
}
public static int MainMethod(string[] args)
{
MyStruct s = new MyStruct()
{
myStr = "dynamic"
}
;
dynamic d = s;
if (((MyStruct)d).myStr != "dynamic")
return 1;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.declarations.localVariable.simple.declaration011.declaration011
{
public class Test
{
public struct MyStruct
{
public string myStr;
}
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod(null));
}
public static int MainMethod(string[] args)
{
MyStruct? s = new MyStruct()
{
myStr = "dynamic"
}
;
dynamic d = s;
if (((MyStruct)d).myStr != "dynamic")
return 1;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.declarations.localVariable.simple.declaration012.declaration012
{
public class Test
{
public struct MyClass
{
public string myStr;
}
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod(null));
}
public static int MainMethod(string[] args)
{
MyClass s = new MyClass()
{
myStr = "dynamic"
}
;
dynamic d = s;
if (((MyClass)d).myStr != "dynamic")
return 1;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.declarations.localVariable.simple.declaration013.declaration013
{
public class Test
{
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod(null));
}
public static int MainMethod(string[] args)
{
dynamic d = null;
if ((object)d != null)
return 1;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.declarations.localVariable.simple.errordeclaration001.errordeclaration001
{
public class Test
{
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod(null));
}
public static int MainMethod(string[] args)
{
dynamic d = 4;
int x = d;
return x == (int)d ? 0 : 1;
}
}
// </Code>
}
| -1 |
dotnet/runtime | 65,915 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer | Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | elinor-fung | "2022-02-26T01:42:58Z" | "2022-03-01T00:57:47Z" | b4c746b7712e887af066d66d1ec777be6283f6f9 | d9eafd0c55ff7c3d7804c7629baf271703df91a6 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer. Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | ./src/libraries/System.Private.Xml/tests/Xslt/TestFiles/TestData/XsltApi/fruits.xml | <?xml version='1.0'?>
<FruitRack>
<apple>
<color>Red</color>
<calories>50</calories>
</apple>
<orange>
<color>Orange</color>
<calories>25</calories>
</orange>
</FruitRack> | <?xml version='1.0'?>
<FruitRack>
<apple>
<color>Red</color>
<calories>50</calories>
</apple>
<orange>
<color>Orange</color>
<calories>25</calories>
</orange>
</FruitRack> | -1 |
dotnet/runtime | 65,915 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer | Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | elinor-fung | "2022-02-26T01:42:58Z" | "2022-03-01T00:57:47Z" | b4c746b7712e887af066d66d1ec777be6283f6f9 | d9eafd0c55ff7c3d7804c7629baf271703df91a6 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer. Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | ./src/libraries/System.Net.WebSockets.Client/System.Net.WebSockets.Client.sln | Microsoft Visual Studio Solution File, Format Version 12.00
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestUtilities", "..\Common\tests\TestUtilities\TestUtilities.csproj", "{B615DEB1-354C-4357-987A-BBA921E5A712}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.WebSockets.Client", "ref\System.Net.WebSockets.Client.csproj", "{BEA5BC2C-12D1-4D01-8D2C-5029578BD066}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.WebSockets.Client", "src\System.Net.WebSockets.Client.csproj", "{0CD4C24D-7746-46F0-8D47-A396882B5468}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.WebSockets.Client.Tests", "tests\System.Net.WebSockets.Client.Tests.csproj", "{90E8DA45-66F3-491E-B408-82AB85EEAB76}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.WebSockets.Client.Wasm.Tests", "tests\wasm\System.Net.WebSockets.Client.Wasm.Tests.csproj", "{CA20532A-33B3-4DC0-92D2-EA6D7987D59F}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Private.Runtime.InteropServices.JavaScript", "..\System.Private.Runtime.InteropServices.JavaScript\src\System.Private.Runtime.InteropServices.JavaScript.csproj", "{8CD4D190-F656-4970-9AE9-4A9F8B30A2F8}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DllImportGenerator", "..\System.Runtime.InteropServices\gen\DllImportGenerator\DllImportGenerator.csproj", "{7A7356FB-DD87-4A5D-ABA5-44607B6488A0}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Interop.SourceGeneration", "..\System.Runtime.InteropServices\gen\Microsoft.Interop.SourceGeneration\Microsoft.Interop.SourceGeneration.csproj", "{6659E37B-9C84-4815-9CAB-19F367D3D66D}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{BEE2F256-0489-4809-AB20-27ADB2D0E10C}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ref", "ref", "{A0314AC5-E490-4A6A-B946-8B9A21A2FA05}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{6F9A42A0-A04B-4CD0-B8C9-9A728274C851}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "gen", "gen", "{58925E96-1A39-4E29-ACB4-4C4DAB81F60A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{B615DEB1-354C-4357-987A-BBA921E5A712}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B615DEB1-354C-4357-987A-BBA921E5A712}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B615DEB1-354C-4357-987A-BBA921E5A712}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B615DEB1-354C-4357-987A-BBA921E5A712}.Release|Any CPU.Build.0 = Release|Any CPU
{BEA5BC2C-12D1-4D01-8D2C-5029578BD066}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BEA5BC2C-12D1-4D01-8D2C-5029578BD066}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BEA5BC2C-12D1-4D01-8D2C-5029578BD066}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BEA5BC2C-12D1-4D01-8D2C-5029578BD066}.Release|Any CPU.Build.0 = Release|Any CPU
{0CD4C24D-7746-46F0-8D47-A396882B5468}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0CD4C24D-7746-46F0-8D47-A396882B5468}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0CD4C24D-7746-46F0-8D47-A396882B5468}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0CD4C24D-7746-46F0-8D47-A396882B5468}.Release|Any CPU.Build.0 = Release|Any CPU
{90E8DA45-66F3-491E-B408-82AB85EEAB76}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{90E8DA45-66F3-491E-B408-82AB85EEAB76}.Debug|Any CPU.Build.0 = Debug|Any CPU
{90E8DA45-66F3-491E-B408-82AB85EEAB76}.Release|Any CPU.ActiveCfg = Release|Any CPU
{90E8DA45-66F3-491E-B408-82AB85EEAB76}.Release|Any CPU.Build.0 = Release|Any CPU
{CA20532A-33B3-4DC0-92D2-EA6D7987D59F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CA20532A-33B3-4DC0-92D2-EA6D7987D59F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CA20532A-33B3-4DC0-92D2-EA6D7987D59F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CA20532A-33B3-4DC0-92D2-EA6D7987D59F}.Release|Any CPU.Build.0 = Release|Any CPU
{8CD4D190-F656-4970-9AE9-4A9F8B30A2F8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8CD4D190-F656-4970-9AE9-4A9F8B30A2F8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8CD4D190-F656-4970-9AE9-4A9F8B30A2F8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8CD4D190-F656-4970-9AE9-4A9F8B30A2F8}.Release|Any CPU.Build.0 = Release|Any CPU
{7A7356FB-DD87-4A5D-ABA5-44607B6488A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7A7356FB-DD87-4A5D-ABA5-44607B6488A0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7A7356FB-DD87-4A5D-ABA5-44607B6488A0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7A7356FB-DD87-4A5D-ABA5-44607B6488A0}.Release|Any CPU.Build.0 = Release|Any CPU
{6659E37B-9C84-4815-9CAB-19F367D3D66D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6659E37B-9C84-4815-9CAB-19F367D3D66D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6659E37B-9C84-4815-9CAB-19F367D3D66D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6659E37B-9C84-4815-9CAB-19F367D3D66D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{B615DEB1-354C-4357-987A-BBA921E5A712} = {BEE2F256-0489-4809-AB20-27ADB2D0E10C}
{90E8DA45-66F3-491E-B408-82AB85EEAB76} = {BEE2F256-0489-4809-AB20-27ADB2D0E10C}
{CA20532A-33B3-4DC0-92D2-EA6D7987D59F} = {BEE2F256-0489-4809-AB20-27ADB2D0E10C}
{BEA5BC2C-12D1-4D01-8D2C-5029578BD066} = {A0314AC5-E490-4A6A-B946-8B9A21A2FA05}
{0CD4C24D-7746-46F0-8D47-A396882B5468} = {6F9A42A0-A04B-4CD0-B8C9-9A728274C851}
{8CD4D190-F656-4970-9AE9-4A9F8B30A2F8} = {6F9A42A0-A04B-4CD0-B8C9-9A728274C851}
{7A7356FB-DD87-4A5D-ABA5-44607B6488A0} = {58925E96-1A39-4E29-ACB4-4C4DAB81F60A}
{6659E37B-9C84-4815-9CAB-19F367D3D66D} = {58925E96-1A39-4E29-ACB4-4C4DAB81F60A}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {D91D7DC5-24CC-4716-A357-8170C4EB1C32}
EndGlobalSection
EndGlobal
| Microsoft Visual Studio Solution File, Format Version 12.00
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestUtilities", "..\Common\tests\TestUtilities\TestUtilities.csproj", "{B615DEB1-354C-4357-987A-BBA921E5A712}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.WebSockets.Client", "ref\System.Net.WebSockets.Client.csproj", "{BEA5BC2C-12D1-4D01-8D2C-5029578BD066}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.WebSockets.Client", "src\System.Net.WebSockets.Client.csproj", "{0CD4C24D-7746-46F0-8D47-A396882B5468}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.WebSockets.Client.Tests", "tests\System.Net.WebSockets.Client.Tests.csproj", "{90E8DA45-66F3-491E-B408-82AB85EEAB76}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.WebSockets.Client.Wasm.Tests", "tests\wasm\System.Net.WebSockets.Client.Wasm.Tests.csproj", "{CA20532A-33B3-4DC0-92D2-EA6D7987D59F}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Private.Runtime.InteropServices.JavaScript", "..\System.Private.Runtime.InteropServices.JavaScript\src\System.Private.Runtime.InteropServices.JavaScript.csproj", "{8CD4D190-F656-4970-9AE9-4A9F8B30A2F8}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DllImportGenerator", "..\System.Runtime.InteropServices\gen\DllImportGenerator\DllImportGenerator.csproj", "{7A7356FB-DD87-4A5D-ABA5-44607B6488A0}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Interop.SourceGeneration", "..\System.Runtime.InteropServices\gen\Microsoft.Interop.SourceGeneration\Microsoft.Interop.SourceGeneration.csproj", "{6659E37B-9C84-4815-9CAB-19F367D3D66D}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{BEE2F256-0489-4809-AB20-27ADB2D0E10C}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ref", "ref", "{A0314AC5-E490-4A6A-B946-8B9A21A2FA05}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{6F9A42A0-A04B-4CD0-B8C9-9A728274C851}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "gen", "gen", "{58925E96-1A39-4E29-ACB4-4C4DAB81F60A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{B615DEB1-354C-4357-987A-BBA921E5A712}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B615DEB1-354C-4357-987A-BBA921E5A712}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B615DEB1-354C-4357-987A-BBA921E5A712}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B615DEB1-354C-4357-987A-BBA921E5A712}.Release|Any CPU.Build.0 = Release|Any CPU
{BEA5BC2C-12D1-4D01-8D2C-5029578BD066}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BEA5BC2C-12D1-4D01-8D2C-5029578BD066}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BEA5BC2C-12D1-4D01-8D2C-5029578BD066}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BEA5BC2C-12D1-4D01-8D2C-5029578BD066}.Release|Any CPU.Build.0 = Release|Any CPU
{0CD4C24D-7746-46F0-8D47-A396882B5468}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0CD4C24D-7746-46F0-8D47-A396882B5468}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0CD4C24D-7746-46F0-8D47-A396882B5468}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0CD4C24D-7746-46F0-8D47-A396882B5468}.Release|Any CPU.Build.0 = Release|Any CPU
{90E8DA45-66F3-491E-B408-82AB85EEAB76}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{90E8DA45-66F3-491E-B408-82AB85EEAB76}.Debug|Any CPU.Build.0 = Debug|Any CPU
{90E8DA45-66F3-491E-B408-82AB85EEAB76}.Release|Any CPU.ActiveCfg = Release|Any CPU
{90E8DA45-66F3-491E-B408-82AB85EEAB76}.Release|Any CPU.Build.0 = Release|Any CPU
{CA20532A-33B3-4DC0-92D2-EA6D7987D59F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CA20532A-33B3-4DC0-92D2-EA6D7987D59F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CA20532A-33B3-4DC0-92D2-EA6D7987D59F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CA20532A-33B3-4DC0-92D2-EA6D7987D59F}.Release|Any CPU.Build.0 = Release|Any CPU
{8CD4D190-F656-4970-9AE9-4A9F8B30A2F8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8CD4D190-F656-4970-9AE9-4A9F8B30A2F8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8CD4D190-F656-4970-9AE9-4A9F8B30A2F8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8CD4D190-F656-4970-9AE9-4A9F8B30A2F8}.Release|Any CPU.Build.0 = Release|Any CPU
{7A7356FB-DD87-4A5D-ABA5-44607B6488A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7A7356FB-DD87-4A5D-ABA5-44607B6488A0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7A7356FB-DD87-4A5D-ABA5-44607B6488A0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7A7356FB-DD87-4A5D-ABA5-44607B6488A0}.Release|Any CPU.Build.0 = Release|Any CPU
{6659E37B-9C84-4815-9CAB-19F367D3D66D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6659E37B-9C84-4815-9CAB-19F367D3D66D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6659E37B-9C84-4815-9CAB-19F367D3D66D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6659E37B-9C84-4815-9CAB-19F367D3D66D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{B615DEB1-354C-4357-987A-BBA921E5A712} = {BEE2F256-0489-4809-AB20-27ADB2D0E10C}
{90E8DA45-66F3-491E-B408-82AB85EEAB76} = {BEE2F256-0489-4809-AB20-27ADB2D0E10C}
{CA20532A-33B3-4DC0-92D2-EA6D7987D59F} = {BEE2F256-0489-4809-AB20-27ADB2D0E10C}
{BEA5BC2C-12D1-4D01-8D2C-5029578BD066} = {A0314AC5-E490-4A6A-B946-8B9A21A2FA05}
{0CD4C24D-7746-46F0-8D47-A396882B5468} = {6F9A42A0-A04B-4CD0-B8C9-9A728274C851}
{8CD4D190-F656-4970-9AE9-4A9F8B30A2F8} = {6F9A42A0-A04B-4CD0-B8C9-9A728274C851}
{7A7356FB-DD87-4A5D-ABA5-44607B6488A0} = {58925E96-1A39-4E29-ACB4-4C4DAB81F60A}
{6659E37B-9C84-4815-9CAB-19F367D3D66D} = {58925E96-1A39-4E29-ACB4-4C4DAB81F60A}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {D91D7DC5-24CC-4716-A357-8170C4EB1C32}
EndGlobalSection
EndGlobal
| -1 |
dotnet/runtime | 65,915 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer | Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | elinor-fung | "2022-02-26T01:42:58Z" | "2022-03-01T00:57:47Z" | b4c746b7712e887af066d66d1ec777be6283f6f9 | d9eafd0c55ff7c3d7804c7629baf271703df91a6 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer. Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | ./src/tests/JIT/Regression/JitBlue/GitHub_23861/GitHub_23861.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Runtime.CompilerServices;
using System.Numerics;
namespace GitHub_23861
{
class Program
{
static int returnVal = 100;
static int Main(string[] args)
{
LessThanAllDouble();
if (returnVal == 100)
{
Console.WriteLine("Pass");
}
else
{
Console.WriteLine("FAIL");
}
return returnVal;
}
public static void LessThanAllDouble() { TestVectorLessThanAll<double>(); }
private static void TestVectorLessThanAll<T>() where T : struct
{
T[] values1 = new T[Vector<T>.Count];
for (int g = 0; g < Vector<T>.Count; g++)
{
values1[g] = (T)(dynamic)g;
}
Vector<T> vec1 = new Vector<T>(values1);
T[] values2 = new T[Vector<T>.Count];
for (int g = 0; g < Vector<T>.Count; g++)
{
values2[g] = (T)(dynamic)(g + 25);
}
Vector<T> vec2 = new Vector<T>(values2);
if (!Vector.LessThanAll(vec1, vec2))
{
returnVal = -1;
}
if (!Vector.LessThanAll(Vector<T>.Zero, Vector<T>.One))
{
returnVal = -1;
}
T[] values3 = new T[Vector<T>.Count];
for (int g = 0; g < Vector<T>.Count; g++)
{
values3[g] = (g < Vector<T>.Count / 2) ? Vector<T>.Zero[0] : Vector<T>.One[0];
}
Vector<T> vec3 = new Vector<T>(values3);
if (Vector.LessThanAll(vec3, Vector<T>.One))
{
returnVal = -1;
}
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Runtime.CompilerServices;
using System.Numerics;
namespace GitHub_23861
{
class Program
{
static int returnVal = 100;
static int Main(string[] args)
{
LessThanAllDouble();
if (returnVal == 100)
{
Console.WriteLine("Pass");
}
else
{
Console.WriteLine("FAIL");
}
return returnVal;
}
public static void LessThanAllDouble() { TestVectorLessThanAll<double>(); }
private static void TestVectorLessThanAll<T>() where T : struct
{
T[] values1 = new T[Vector<T>.Count];
for (int g = 0; g < Vector<T>.Count; g++)
{
values1[g] = (T)(dynamic)g;
}
Vector<T> vec1 = new Vector<T>(values1);
T[] values2 = new T[Vector<T>.Count];
for (int g = 0; g < Vector<T>.Count; g++)
{
values2[g] = (T)(dynamic)(g + 25);
}
Vector<T> vec2 = new Vector<T>(values2);
if (!Vector.LessThanAll(vec1, vec2))
{
returnVal = -1;
}
if (!Vector.LessThanAll(Vector<T>.Zero, Vector<T>.One))
{
returnVal = -1;
}
T[] values3 = new T[Vector<T>.Count];
for (int g = 0; g < Vector<T>.Count; g++)
{
values3[g] = (g < Vector<T>.Count / 2) ? Vector<T>.Zero[0] : Vector<T>.One[0];
}
Vector<T> vec3 = new Vector<T>(values3);
if (Vector.LessThanAll(vec3, Vector<T>.One))
{
returnVal = -1;
}
}
}
}
| -1 |
dotnet/runtime | 65,915 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer | Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | elinor-fung | "2022-02-26T01:42:58Z" | "2022-03-01T00:57:47Z" | b4c746b7712e887af066d66d1ec777be6283f6f9 | d9eafd0c55ff7c3d7804c7629baf271703df91a6 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer. Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | ./src/libraries/System.Runtime.Extensions/tests/System/Environment.SetEnvironmentVariable.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Security;
using Microsoft.DotNet.RemoteExecutor;
using Xunit;
namespace System.Tests
{
public class SetEnvironmentVariable
{
private const string NullString = "\u0000";
internal static bool IsSupportedTarget(EnvironmentVariableTarget target)
{
// [ActiveIssue("https://github.com/dotnet/runtime/issues/30566")]
if (target == EnvironmentVariableTarget.User && PlatformDetection.IsWindowsNanoServer)
{
return false;
}
return target == EnvironmentVariableTarget.Process || OperatingSystem.IsWindows();
}
[Fact]
public void NullVariableThrowsArgumentNull()
{
Assert.Throws<ArgumentNullException>(() => Environment.SetEnvironmentVariable(null, "test"));
}
[Fact]
public void IncorrectVariableThrowsArgument()
{
AssertExtensions.Throws<ArgumentException>("variable", () => Environment.SetEnvironmentVariable(string.Empty, "test"));
AssertExtensions.Throws<ArgumentException>("variable", () => Environment.SetEnvironmentVariable(NullString, "test"));
AssertExtensions.Throws<ArgumentException>("variable", null, () => Environment.SetEnvironmentVariable("Variable=Something", "test"));
}
[Fact]
public void AllowAnyVariableLengths()
{
// longer than 32767
string longVar = new string('c', 40000);
string val = "test";
try
{
Environment.SetEnvironmentVariable(longVar, val);
Assert.Equal(val, Environment.GetEnvironmentVariable(longVar));
}
finally
{
Environment.SetEnvironmentVariable(longVar, null);
}
}
[Fact]
public void AllowAnyVariableValueLengths()
{
string var = "Test_SetEnvironmentVariable_AllowAnyVariableValueLengths";
// longer than 32767
string longVal = new string('c', 40000);
try
{
Environment.SetEnvironmentVariable(var, longVal);
Assert.Equal(longVal, Environment.GetEnvironmentVariable(var));
}
finally
{
Environment.SetEnvironmentVariable(var, null);
}
}
[ConditionalFact(typeof(RemoteExecutor), nameof(RemoteExecutor.IsSupported))]
[PlatformSpecific(TestPlatforms.Windows)]
public void EnvironmentVariableTooLarge_Throws()
{
RemoteExecutor.Invoke(() =>
{
string longVar;
string val = "Test_SetEnvironmentVariable_EnvironmentVariableTooLarge_Throws";
try
{
// string slightly less than 2 GiB (1 GiB for x86) so the constructor doesn't fail
var count = (Environment.Is64BitProcess ? 1024 * 1024 * 1024 : 512 * 1024 * 1024) - 64;
longVar = new string('c', count);
}
catch (OutOfMemoryException)
{
// not enough memory to allocate a string at test time
return RemoteExecutor.SuccessExitCode;
}
try
{
Environment.SetEnvironmentVariable(longVar, val);
// no exception is ok since we cannot construct an argument long enough to break the function
// in that particular environment
}
catch (OutOfMemoryException)
{
// expected
}
return RemoteExecutor.SuccessExitCode;
}).Dispose();
}
[ConditionalFact(typeof(RemoteExecutor), nameof(RemoteExecutor.IsSupported))]
[PlatformSpecific(TestPlatforms.Windows)]
public void EnvironmentVariableValueTooLarge_Throws()
{
RemoteExecutor.Invoke(() =>
{
string var = "Test_SetEnvironmentVariable_EnvironmentVariableValueTooLarge_Throws";
string longVal;
try
{
// string slightly less than 2 GiB (1 GiB for x86) so the constructor doesn't fail
var count = (Environment.Is64BitProcess ? 1024 * 1024 * 1024 : 512 * 1024 * 1024) - 64;
longVal = new string('c', count);
}
catch (OutOfMemoryException)
{
// not enough memory to allocate a string at test time
return RemoteExecutor.SuccessExitCode;
}
try
{
Environment.SetEnvironmentVariable(var, longVal);
// no exception is ok since we cannot construct an argument long enough to break the function
// in that particular environment
}
catch (OutOfMemoryException)
{
// expected
}
return RemoteExecutor.SuccessExitCode;
}).Dispose();
}
private static void ExecuteAgainstTarget(
EnvironmentVariableTarget target,
Action action,
Action cleanUp = null)
{
bool shouldCleanUp = cleanUp != null;
try
{
action();
}
catch (SecurityException)
{
shouldCleanUp = false;
Assert.True(target == EnvironmentVariableTarget.Machine, "only machine target should have access issues");
Assert.True(PlatformDetection.IsWindows, "and it should be Windows");
Assert.False(PlatformDetection.IsWindowsAndElevated, "and we shouldn't be elevated");
}
finally
{
if (shouldCleanUp)
cleanUp();
}
}
[Theory]
[MemberData(nameof(EnvironmentTests.EnvironmentVariableTargets), MemberType = typeof(EnvironmentTests))]
public void Default(EnvironmentVariableTarget target)
{
string varName = $"Test_SetEnvironmentVariable_Default ({target})";
const string value = "true";
ExecuteAgainstTarget(target,
() =>
{
Environment.SetEnvironmentVariable(varName, value, target);
Assert.Equal(IsSupportedTarget(target) ? value : null,
Environment.GetEnvironmentVariable(varName, target));
},
() =>
{
// Clear the test variable
Environment.SetEnvironmentVariable(varName, null, target);
});
}
[Theory]
[MemberData(nameof(EnvironmentTests.EnvironmentVariableTargets), MemberType = typeof(EnvironmentTests))]
public void ModifyEnvironmentVariable(EnvironmentVariableTarget target)
{
string varName = $"Test_ModifyEnvironmentVariable ({target})";
const string value = "false";
ExecuteAgainstTarget(target,
() =>
{
// First set the value to something and then change it and ensure that it gets modified.
Environment.SetEnvironmentVariable(varName, "true", target);
Environment.SetEnvironmentVariable(varName, value, target);
// Check whether the variable exists.
Assert.Equal(IsSupportedTarget(target) ? value : null, Environment.GetEnvironmentVariable(varName, target));
},
() =>
{
// Clear the test variable
Environment.SetEnvironmentVariable(varName, null, target);
});
}
[Theory]
[MemberData(nameof(EnvironmentTests.EnvironmentVariableTargets), MemberType = typeof(EnvironmentTests))]
public void ModifyEnvironmentVariable_AndEnumerate(EnvironmentVariableTarget target)
{
string varName = $"Test_ModifyEnvironmentVariable_AndEnumerate ({target})";
const string value = "false";
ExecuteAgainstTarget(target,
() =>
{
// First set the value to something and then change it and ensure that it gets modified.
Environment.SetEnvironmentVariable(varName, "true", target);
// Enumerate to validate our first value to ensure we can still set after enumerating
IDictionary variables = Environment.GetEnvironmentVariables(target);
if (IsSupportedTarget(target))
{
Assert.True(variables.Contains(varName), "has the key we entered");
Assert.Equal("true", variables[varName]);
}
Environment.SetEnvironmentVariable(varName, value, target);
// Check whether the variable exists.
Assert.Equal(IsSupportedTarget(target) ? value : null, Environment.GetEnvironmentVariable(varName, target));
},
() =>
{
// Clear the test variable
Environment.SetEnvironmentVariable(varName, null, target);
});
}
[Theory]
[MemberData(nameof(EnvironmentTests.EnvironmentVariableTargets), MemberType = typeof(EnvironmentTests))]
public void DeleteEnvironmentVariable(EnvironmentVariableTarget target)
{
string varName = $"Test_DeleteEnvironmentVariable ({target})";
const string value = "false";
ExecuteAgainstTarget(target,
() =>
{
// First set the value to something and then ensure that it can be deleted.
Environment.SetEnvironmentVariable(varName, value);
Environment.SetEnvironmentVariable(varName, string.Empty);
Assert.Null(Environment.GetEnvironmentVariable(varName));
Environment.SetEnvironmentVariable(varName, value);
Environment.SetEnvironmentVariable(varName, null);
Assert.Null(Environment.GetEnvironmentVariable(varName));
Environment.SetEnvironmentVariable(varName, value);
Environment.SetEnvironmentVariable(varName, NullString);
Assert.Null(Environment.GetEnvironmentVariable(varName));
});
}
[Fact]
public void DeleteEnvironmentVariableNonInitialNullInName()
{
const string varNamePrefix = "Begin_DeleteEnvironmentVariableNonInitialNullInName";
const string varNameSuffix = "End_DeleteEnvironmentVariableNonInitialNullInName";
const string varName = varNamePrefix + NullString + varNameSuffix;
const string value = "false";
try
{
Environment.SetEnvironmentVariable(varName, value);
Environment.SetEnvironmentVariable(varName, null);
Assert.Null(Environment.GetEnvironmentVariable(varName));
Assert.Null(Environment.GetEnvironmentVariable(varNamePrefix));
}
finally
{
// Clear the test variable
Environment.SetEnvironmentVariable(varName, null);
}
}
[Fact]
public void DeleteEnvironmentVariableInitialNullInValue()
{
const string value = NullString + "test";
const string varName = "DeleteEnvironmentVariableInitialNullInValue";
try
{
Environment.SetEnvironmentVariable(varName, value);
Assert.Null(Environment.GetEnvironmentVariable(varName));
}
finally
{
Environment.SetEnvironmentVariable(varName, string.Empty);
}
}
[Fact]
public void NonInitialNullCharacterInVariableName()
{
const string varNamePrefix = "NonInitialNullCharacterInVariableName_Begin";
const string varNameSuffix = "NonInitialNullCharacterInVariableName_End";
const string varName = varNamePrefix + NullString + varNameSuffix;
const string value = "true";
try
{
Environment.SetEnvironmentVariable(varName, value);
Assert.Equal(value, Environment.GetEnvironmentVariable(varName));
Assert.Equal(value, Environment.GetEnvironmentVariable(varNamePrefix));
}
finally
{
Environment.SetEnvironmentVariable(varName, string.Empty);
Environment.SetEnvironmentVariable(varNamePrefix, string.Empty);
}
}
[Fact]
public void NonInitialNullCharacterInValue()
{
const string varName = "Test_TestNonInitialZeroCharacterInValue";
const string valuePrefix = "Begin";
const string valueSuffix = "End";
const string value = valuePrefix + NullString + valueSuffix;
try
{
Environment.SetEnvironmentVariable(varName, value);
Assert.Equal(valuePrefix, Environment.GetEnvironmentVariable(varName));
}
finally
{
Environment.SetEnvironmentVariable(varName, string.Empty);
}
}
[Fact]
public void DeleteNonExistentEnvironmentVariable()
{
const string varName = "Test_TestDeletingNonExistingEnvironmentVariable";
if (Environment.GetEnvironmentVariable(varName) != null)
{
Environment.SetEnvironmentVariable(varName, null);
}
Environment.SetEnvironmentVariable("TestDeletingNonExistingEnvironmentVariable", string.Empty);
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Security;
using Microsoft.DotNet.RemoteExecutor;
using Xunit;
namespace System.Tests
{
public class SetEnvironmentVariable
{
private const string NullString = "\u0000";
internal static bool IsSupportedTarget(EnvironmentVariableTarget target)
{
// [ActiveIssue("https://github.com/dotnet/runtime/issues/30566")]
if (target == EnvironmentVariableTarget.User && PlatformDetection.IsWindowsNanoServer)
{
return false;
}
return target == EnvironmentVariableTarget.Process || OperatingSystem.IsWindows();
}
[Fact]
public void NullVariableThrowsArgumentNull()
{
Assert.Throws<ArgumentNullException>(() => Environment.SetEnvironmentVariable(null, "test"));
}
[Fact]
public void IncorrectVariableThrowsArgument()
{
AssertExtensions.Throws<ArgumentException>("variable", () => Environment.SetEnvironmentVariable(string.Empty, "test"));
AssertExtensions.Throws<ArgumentException>("variable", () => Environment.SetEnvironmentVariable(NullString, "test"));
AssertExtensions.Throws<ArgumentException>("variable", null, () => Environment.SetEnvironmentVariable("Variable=Something", "test"));
}
[Fact]
public void AllowAnyVariableLengths()
{
// longer than 32767
string longVar = new string('c', 40000);
string val = "test";
try
{
Environment.SetEnvironmentVariable(longVar, val);
Assert.Equal(val, Environment.GetEnvironmentVariable(longVar));
}
finally
{
Environment.SetEnvironmentVariable(longVar, null);
}
}
[Fact]
public void AllowAnyVariableValueLengths()
{
string var = "Test_SetEnvironmentVariable_AllowAnyVariableValueLengths";
// longer than 32767
string longVal = new string('c', 40000);
try
{
Environment.SetEnvironmentVariable(var, longVal);
Assert.Equal(longVal, Environment.GetEnvironmentVariable(var));
}
finally
{
Environment.SetEnvironmentVariable(var, null);
}
}
[ConditionalFact(typeof(RemoteExecutor), nameof(RemoteExecutor.IsSupported))]
[PlatformSpecific(TestPlatforms.Windows)]
public void EnvironmentVariableTooLarge_Throws()
{
RemoteExecutor.Invoke(() =>
{
string longVar;
string val = "Test_SetEnvironmentVariable_EnvironmentVariableTooLarge_Throws";
try
{
// string slightly less than 2 GiB (1 GiB for x86) so the constructor doesn't fail
var count = (Environment.Is64BitProcess ? 1024 * 1024 * 1024 : 512 * 1024 * 1024) - 64;
longVar = new string('c', count);
}
catch (OutOfMemoryException)
{
// not enough memory to allocate a string at test time
return RemoteExecutor.SuccessExitCode;
}
try
{
Environment.SetEnvironmentVariable(longVar, val);
// no exception is ok since we cannot construct an argument long enough to break the function
// in that particular environment
}
catch (OutOfMemoryException)
{
// expected
}
return RemoteExecutor.SuccessExitCode;
}).Dispose();
}
[ConditionalFact(typeof(RemoteExecutor), nameof(RemoteExecutor.IsSupported))]
[PlatformSpecific(TestPlatforms.Windows)]
public void EnvironmentVariableValueTooLarge_Throws()
{
RemoteExecutor.Invoke(() =>
{
string var = "Test_SetEnvironmentVariable_EnvironmentVariableValueTooLarge_Throws";
string longVal;
try
{
// string slightly less than 2 GiB (1 GiB for x86) so the constructor doesn't fail
var count = (Environment.Is64BitProcess ? 1024 * 1024 * 1024 : 512 * 1024 * 1024) - 64;
longVal = new string('c', count);
}
catch (OutOfMemoryException)
{
// not enough memory to allocate a string at test time
return RemoteExecutor.SuccessExitCode;
}
try
{
Environment.SetEnvironmentVariable(var, longVal);
// no exception is ok since we cannot construct an argument long enough to break the function
// in that particular environment
}
catch (OutOfMemoryException)
{
// expected
}
return RemoteExecutor.SuccessExitCode;
}).Dispose();
}
private static void ExecuteAgainstTarget(
EnvironmentVariableTarget target,
Action action,
Action cleanUp = null)
{
bool shouldCleanUp = cleanUp != null;
try
{
action();
}
catch (SecurityException)
{
shouldCleanUp = false;
Assert.True(target == EnvironmentVariableTarget.Machine, "only machine target should have access issues");
Assert.True(PlatformDetection.IsWindows, "and it should be Windows");
Assert.False(PlatformDetection.IsWindowsAndElevated, "and we shouldn't be elevated");
}
finally
{
if (shouldCleanUp)
cleanUp();
}
}
[Theory]
[MemberData(nameof(EnvironmentTests.EnvironmentVariableTargets), MemberType = typeof(EnvironmentTests))]
public void Default(EnvironmentVariableTarget target)
{
string varName = $"Test_SetEnvironmentVariable_Default ({target})";
const string value = "true";
ExecuteAgainstTarget(target,
() =>
{
Environment.SetEnvironmentVariable(varName, value, target);
Assert.Equal(IsSupportedTarget(target) ? value : null,
Environment.GetEnvironmentVariable(varName, target));
},
() =>
{
// Clear the test variable
Environment.SetEnvironmentVariable(varName, null, target);
});
}
[Theory]
[MemberData(nameof(EnvironmentTests.EnvironmentVariableTargets), MemberType = typeof(EnvironmentTests))]
public void ModifyEnvironmentVariable(EnvironmentVariableTarget target)
{
string varName = $"Test_ModifyEnvironmentVariable ({target})";
const string value = "false";
ExecuteAgainstTarget(target,
() =>
{
// First set the value to something and then change it and ensure that it gets modified.
Environment.SetEnvironmentVariable(varName, "true", target);
Environment.SetEnvironmentVariable(varName, value, target);
// Check whether the variable exists.
Assert.Equal(IsSupportedTarget(target) ? value : null, Environment.GetEnvironmentVariable(varName, target));
},
() =>
{
// Clear the test variable
Environment.SetEnvironmentVariable(varName, null, target);
});
}
[Theory]
[MemberData(nameof(EnvironmentTests.EnvironmentVariableTargets), MemberType = typeof(EnvironmentTests))]
public void ModifyEnvironmentVariable_AndEnumerate(EnvironmentVariableTarget target)
{
string varName = $"Test_ModifyEnvironmentVariable_AndEnumerate ({target})";
const string value = "false";
ExecuteAgainstTarget(target,
() =>
{
// First set the value to something and then change it and ensure that it gets modified.
Environment.SetEnvironmentVariable(varName, "true", target);
// Enumerate to validate our first value to ensure we can still set after enumerating
IDictionary variables = Environment.GetEnvironmentVariables(target);
if (IsSupportedTarget(target))
{
Assert.True(variables.Contains(varName), "has the key we entered");
Assert.Equal("true", variables[varName]);
}
Environment.SetEnvironmentVariable(varName, value, target);
// Check whether the variable exists.
Assert.Equal(IsSupportedTarget(target) ? value : null, Environment.GetEnvironmentVariable(varName, target));
},
() =>
{
// Clear the test variable
Environment.SetEnvironmentVariable(varName, null, target);
});
}
[Theory]
[MemberData(nameof(EnvironmentTests.EnvironmentVariableTargets), MemberType = typeof(EnvironmentTests))]
public void DeleteEnvironmentVariable(EnvironmentVariableTarget target)
{
string varName = $"Test_DeleteEnvironmentVariable ({target})";
const string value = "false";
ExecuteAgainstTarget(target,
() =>
{
// First set the value to something and then ensure that it can be deleted.
Environment.SetEnvironmentVariable(varName, value);
Environment.SetEnvironmentVariable(varName, string.Empty);
Assert.Null(Environment.GetEnvironmentVariable(varName));
Environment.SetEnvironmentVariable(varName, value);
Environment.SetEnvironmentVariable(varName, null);
Assert.Null(Environment.GetEnvironmentVariable(varName));
Environment.SetEnvironmentVariable(varName, value);
Environment.SetEnvironmentVariable(varName, NullString);
Assert.Null(Environment.GetEnvironmentVariable(varName));
});
}
[Fact]
public void DeleteEnvironmentVariableNonInitialNullInName()
{
const string varNamePrefix = "Begin_DeleteEnvironmentVariableNonInitialNullInName";
const string varNameSuffix = "End_DeleteEnvironmentVariableNonInitialNullInName";
const string varName = varNamePrefix + NullString + varNameSuffix;
const string value = "false";
try
{
Environment.SetEnvironmentVariable(varName, value);
Environment.SetEnvironmentVariable(varName, null);
Assert.Null(Environment.GetEnvironmentVariable(varName));
Assert.Null(Environment.GetEnvironmentVariable(varNamePrefix));
}
finally
{
// Clear the test variable
Environment.SetEnvironmentVariable(varName, null);
}
}
[Fact]
public void DeleteEnvironmentVariableInitialNullInValue()
{
const string value = NullString + "test";
const string varName = "DeleteEnvironmentVariableInitialNullInValue";
try
{
Environment.SetEnvironmentVariable(varName, value);
Assert.Null(Environment.GetEnvironmentVariable(varName));
}
finally
{
Environment.SetEnvironmentVariable(varName, string.Empty);
}
}
[Fact]
public void NonInitialNullCharacterInVariableName()
{
const string varNamePrefix = "NonInitialNullCharacterInVariableName_Begin";
const string varNameSuffix = "NonInitialNullCharacterInVariableName_End";
const string varName = varNamePrefix + NullString + varNameSuffix;
const string value = "true";
try
{
Environment.SetEnvironmentVariable(varName, value);
Assert.Equal(value, Environment.GetEnvironmentVariable(varName));
Assert.Equal(value, Environment.GetEnvironmentVariable(varNamePrefix));
}
finally
{
Environment.SetEnvironmentVariable(varName, string.Empty);
Environment.SetEnvironmentVariable(varNamePrefix, string.Empty);
}
}
[Fact]
public void NonInitialNullCharacterInValue()
{
const string varName = "Test_TestNonInitialZeroCharacterInValue";
const string valuePrefix = "Begin";
const string valueSuffix = "End";
const string value = valuePrefix + NullString + valueSuffix;
try
{
Environment.SetEnvironmentVariable(varName, value);
Assert.Equal(valuePrefix, Environment.GetEnvironmentVariable(varName));
}
finally
{
Environment.SetEnvironmentVariable(varName, string.Empty);
}
}
[Fact]
public void DeleteNonExistentEnvironmentVariable()
{
const string varName = "Test_TestDeletingNonExistingEnvironmentVariable";
if (Environment.GetEnvironmentVariable(varName) != null)
{
Environment.SetEnvironmentVariable(varName, null);
}
Environment.SetEnvironmentVariable("TestDeletingNonExistingEnvironmentVariable", string.Empty);
}
}
}
| -1 |
dotnet/runtime | 65,915 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer | Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | elinor-fung | "2022-02-26T01:42:58Z" | "2022-03-01T00:57:47Z" | b4c746b7712e887af066d66d1ec777be6283f6f9 | d9eafd0c55ff7c3d7804c7629baf271703df91a6 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer. Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | ./src/mono/mono/tests/appdomain-serialize-exception.cs | using System;
using System.Reflection;
using System.Runtime.Serialization;
public class UnserializableException : Exception
{
}
public class TestOutput : MarshalByRefObject
{
public void ThrowUnserializable ()
{
Console.WriteLine("Throwing Unserializable exception in AppDomain \"{0}\"", AppDomain.CurrentDomain.FriendlyName);
throw new UnserializableException ();
}
}
public class Example
{
public static int Main ()
{
string original_domain = AppDomain.CurrentDomain.FriendlyName;
AppDomain ad = AppDomain.CreateDomain("subdomain");
try {
TestOutput remoteOutput = (TestOutput) ad.CreateInstanceAndUnwrap(
typeof (TestOutput).Assembly.FullName,
"TestOutput");
remoteOutput.ThrowUnserializable ();
} catch (SerializationException) {
Console.WriteLine ("Caught serialization exception");
} catch (Exception) {
Console.WriteLine ("Caught other exception");
Environment.Exit (1);
} finally {
Console.WriteLine ("Finally in domain {0}", AppDomain.CurrentDomain.FriendlyName);
if (original_domain != AppDomain.CurrentDomain.FriendlyName)
Environment.Exit (2);
AppDomain.Unload (ad);
}
Console.WriteLine ("All OK");
return 0;
}
}
| using System;
using System.Reflection;
using System.Runtime.Serialization;
public class UnserializableException : Exception
{
}
public class TestOutput : MarshalByRefObject
{
public void ThrowUnserializable ()
{
Console.WriteLine("Throwing Unserializable exception in AppDomain \"{0}\"", AppDomain.CurrentDomain.FriendlyName);
throw new UnserializableException ();
}
}
public class Example
{
public static int Main ()
{
string original_domain = AppDomain.CurrentDomain.FriendlyName;
AppDomain ad = AppDomain.CreateDomain("subdomain");
try {
TestOutput remoteOutput = (TestOutput) ad.CreateInstanceAndUnwrap(
typeof (TestOutput).Assembly.FullName,
"TestOutput");
remoteOutput.ThrowUnserializable ();
} catch (SerializationException) {
Console.WriteLine ("Caught serialization exception");
} catch (Exception) {
Console.WriteLine ("Caught other exception");
Environment.Exit (1);
} finally {
Console.WriteLine ("Finally in domain {0}", AppDomain.CurrentDomain.FriendlyName);
if (original_domain != AppDomain.CurrentDomain.FriendlyName)
Environment.Exit (2);
AppDomain.Unload (ad);
}
Console.WriteLine ("All OK");
return 0;
}
}
| -1 |
dotnet/runtime | 65,915 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer | Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | elinor-fung | "2022-02-26T01:42:58Z" | "2022-03-01T00:57:47Z" | b4c746b7712e887af066d66d1ec777be6283f6f9 | d9eafd0c55ff7c3d7804c7629baf271703df91a6 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer. Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | ./src/coreclr/pal/src/libunwind/src/ptrace/_UPT_accessors.c | /* libunwind - a platform-independent unwind library
Copyright (C) 2003 Hewlett-Packard Co
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
This file is part of libunwind.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "_UPT_internal.h"
unw_accessors_t _UPT_accessors =
{
.find_proc_info = _UPT_find_proc_info,
.put_unwind_info = _UPT_put_unwind_info,
.get_dyn_info_list_addr = _UPT_get_dyn_info_list_addr,
.access_mem = _UPT_access_mem,
.access_reg = _UPT_access_reg,
.access_fpreg = _UPT_access_fpreg,
.resume = _UPT_resume,
.get_proc_name = _UPT_get_proc_name
};
| /* libunwind - a platform-independent unwind library
Copyright (C) 2003 Hewlett-Packard Co
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
This file is part of libunwind.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "_UPT_internal.h"
unw_accessors_t _UPT_accessors =
{
.find_proc_info = _UPT_find_proc_info,
.put_unwind_info = _UPT_put_unwind_info,
.get_dyn_info_list_addr = _UPT_get_dyn_info_list_addr,
.access_mem = _UPT_access_mem,
.access_reg = _UPT_access_reg,
.access_fpreg = _UPT_access_fpreg,
.resume = _UPT_resume,
.get_proc_name = _UPT_get_proc_name
};
| -1 |
dotnet/runtime | 65,915 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer | Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | elinor-fung | "2022-02-26T01:42:58Z" | "2022-03-01T00:57:47Z" | b4c746b7712e887af066d66d1ec777be6283f6f9 | d9eafd0c55ff7c3d7804c7629baf271703df91a6 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer. Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | ./src/coreclr/System.Private.CoreLib/src/System/Type.CoreCLR.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using StackCrawlMark = System.Threading.StackCrawlMark;
namespace System
{
public abstract partial class Type : MemberInfo, IReflect
{
public bool IsInterface
{
get
{
if (this is RuntimeType rt)
return RuntimeTypeHandle.IsInterface(rt);
return (GetAttributeFlagsImpl() & TypeAttributes.ClassSemanticsMask) == TypeAttributes.Interface;
}
}
[RequiresUnreferencedCode("The type might be removed")]
[System.Security.DynamicSecurityMethod] // Methods containing StackCrawlMark local var has to be marked DynamicSecurityMethod
public static Type? GetType(string typeName, bool throwOnError, bool ignoreCase)
{
StackCrawlMark stackMark = StackCrawlMark.LookForMyCaller;
return RuntimeType.GetType(typeName, throwOnError, ignoreCase, ref stackMark);
}
[RequiresUnreferencedCode("The type might be removed")]
[System.Security.DynamicSecurityMethod] // Methods containing StackCrawlMark local var has to be marked DynamicSecurityMethod
public static Type? GetType(string typeName, bool throwOnError)
{
StackCrawlMark stackMark = StackCrawlMark.LookForMyCaller;
return RuntimeType.GetType(typeName, throwOnError, false, ref stackMark);
}
[RequiresUnreferencedCode("The type might be removed")]
[System.Security.DynamicSecurityMethod] // Methods containing StackCrawlMark local var has to be marked DynamicSecurityMethod
public static Type? GetType(string typeName)
{
StackCrawlMark stackMark = StackCrawlMark.LookForMyCaller;
return RuntimeType.GetType(typeName, false, false, ref stackMark);
}
[RequiresUnreferencedCode("The type might be removed")]
[System.Security.DynamicSecurityMethod] // Methods containing StackCrawlMark local var has to be marked DynamicSecurityMethod
public static Type? GetType(
string typeName,
Func<AssemblyName, Assembly?>? assemblyResolver,
Func<Assembly?, string, bool, Type?>? typeResolver)
{
StackCrawlMark stackMark = StackCrawlMark.LookForMyCaller;
return TypeNameParser.GetType(typeName, assemblyResolver, typeResolver, false, false, ref stackMark);
}
[RequiresUnreferencedCode("The type might be removed")]
[System.Security.DynamicSecurityMethod] // Methods containing StackCrawlMark local var has to be marked DynamicSecurityMethod
public static Type? GetType(
string typeName,
Func<AssemblyName, Assembly?>? assemblyResolver,
Func<Assembly?, string, bool, Type?>? typeResolver,
bool throwOnError)
{
StackCrawlMark stackMark = StackCrawlMark.LookForMyCaller;
return TypeNameParser.GetType(typeName, assemblyResolver, typeResolver, throwOnError, false, ref stackMark);
}
[RequiresUnreferencedCode("The type might be removed")]
[System.Security.DynamicSecurityMethod] // Methods containing StackCrawlMark local var has to be marked DynamicSecurityMethod
public static Type? GetType(
string typeName,
Func<AssemblyName, Assembly?>? assemblyResolver,
Func<Assembly?, string, bool, Type?>? typeResolver,
bool throwOnError,
bool ignoreCase)
{
StackCrawlMark stackMark = StackCrawlMark.LookForMyCaller;
return TypeNameParser.GetType(typeName, assemblyResolver, typeResolver, throwOnError, ignoreCase, ref stackMark);
}
// Given a class handle, this will return the class for that handle.
[MethodImpl(MethodImplOptions.InternalCall)]
internal static extern RuntimeType GetTypeFromHandleUnsafe(IntPtr handle);
[Intrinsic]
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern Type? GetTypeFromHandle(RuntimeTypeHandle handle);
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using StackCrawlMark = System.Threading.StackCrawlMark;
namespace System
{
public abstract partial class Type : MemberInfo, IReflect
{
public bool IsInterface
{
get
{
if (this is RuntimeType rt)
return RuntimeTypeHandle.IsInterface(rt);
return (GetAttributeFlagsImpl() & TypeAttributes.ClassSemanticsMask) == TypeAttributes.Interface;
}
}
[RequiresUnreferencedCode("The type might be removed")]
[System.Security.DynamicSecurityMethod] // Methods containing StackCrawlMark local var has to be marked DynamicSecurityMethod
public static Type? GetType(string typeName, bool throwOnError, bool ignoreCase)
{
StackCrawlMark stackMark = StackCrawlMark.LookForMyCaller;
return RuntimeType.GetType(typeName, throwOnError, ignoreCase, ref stackMark);
}
[RequiresUnreferencedCode("The type might be removed")]
[System.Security.DynamicSecurityMethod] // Methods containing StackCrawlMark local var has to be marked DynamicSecurityMethod
public static Type? GetType(string typeName, bool throwOnError)
{
StackCrawlMark stackMark = StackCrawlMark.LookForMyCaller;
return RuntimeType.GetType(typeName, throwOnError, false, ref stackMark);
}
[RequiresUnreferencedCode("The type might be removed")]
[System.Security.DynamicSecurityMethod] // Methods containing StackCrawlMark local var has to be marked DynamicSecurityMethod
public static Type? GetType(string typeName)
{
StackCrawlMark stackMark = StackCrawlMark.LookForMyCaller;
return RuntimeType.GetType(typeName, false, false, ref stackMark);
}
[RequiresUnreferencedCode("The type might be removed")]
[System.Security.DynamicSecurityMethod] // Methods containing StackCrawlMark local var has to be marked DynamicSecurityMethod
public static Type? GetType(
string typeName,
Func<AssemblyName, Assembly?>? assemblyResolver,
Func<Assembly?, string, bool, Type?>? typeResolver)
{
StackCrawlMark stackMark = StackCrawlMark.LookForMyCaller;
return TypeNameParser.GetType(typeName, assemblyResolver, typeResolver, false, false, ref stackMark);
}
[RequiresUnreferencedCode("The type might be removed")]
[System.Security.DynamicSecurityMethod] // Methods containing StackCrawlMark local var has to be marked DynamicSecurityMethod
public static Type? GetType(
string typeName,
Func<AssemblyName, Assembly?>? assemblyResolver,
Func<Assembly?, string, bool, Type?>? typeResolver,
bool throwOnError)
{
StackCrawlMark stackMark = StackCrawlMark.LookForMyCaller;
return TypeNameParser.GetType(typeName, assemblyResolver, typeResolver, throwOnError, false, ref stackMark);
}
[RequiresUnreferencedCode("The type might be removed")]
[System.Security.DynamicSecurityMethod] // Methods containing StackCrawlMark local var has to be marked DynamicSecurityMethod
public static Type? GetType(
string typeName,
Func<AssemblyName, Assembly?>? assemblyResolver,
Func<Assembly?, string, bool, Type?>? typeResolver,
bool throwOnError,
bool ignoreCase)
{
StackCrawlMark stackMark = StackCrawlMark.LookForMyCaller;
return TypeNameParser.GetType(typeName, assemblyResolver, typeResolver, throwOnError, ignoreCase, ref stackMark);
}
// Given a class handle, this will return the class for that handle.
[MethodImpl(MethodImplOptions.InternalCall)]
internal static extern RuntimeType GetTypeFromHandleUnsafe(IntPtr handle);
[Intrinsic]
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern Type? GetTypeFromHandle(RuntimeTypeHandle handle);
}
}
| -1 |
dotnet/runtime | 65,915 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer | Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | elinor-fung | "2022-02-26T01:42:58Z" | "2022-03-01T00:57:47Z" | b4c746b7712e887af066d66d1ec777be6283f6f9 | d9eafd0c55ff7c3d7804c7629baf271703df91a6 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer. Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | ./src/libraries/System.Net.NameResolution/ref/System.Net.NameResolution.csproj | <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<Compile Include="System.Net.NameResolution.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\System.Net.Primitives\ref\System.Net.Primitives.csproj" />
<ProjectReference Include="..\..\System.Runtime\ref\System.Runtime.csproj" />
</ItemGroup>
</Project>
| <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<Compile Include="System.Net.NameResolution.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\System.Net.Primitives\ref\System.Net.Primitives.csproj" />
<ProjectReference Include="..\..\System.Runtime\ref\System.Runtime.csproj" />
</ItemGroup>
</Project>
| -1 |
dotnet/runtime | 65,915 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer | Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | elinor-fung | "2022-02-26T01:42:58Z" | "2022-03-01T00:57:47Z" | b4c746b7712e887af066d66d1ec777be6283f6f9 | d9eafd0c55ff7c3d7804c7629baf271703df91a6 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer. Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | ./src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/ECDiffieHellman/ECDiffieHellmanTests.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.Security.Cryptography.Tests;
using Xunit;
using Test.Cryptography;
namespace System.Security.Cryptography.EcDiffieHellman.Tests
{
[SkipOnPlatform(TestPlatforms.Browser, "Not supported on Browser")]
public partial class ECDiffieHellmanTests : EccTestBase
{
private static List<object[]> s_everyKeysize;
private static List<object[]> s_mismatchedKeysizes;
public static IEnumerable<object[]> EveryKeysize()
{
if (s_everyKeysize == null)
{
List<object[]> everyKeysize = new List<object[]>();
using (ECDiffieHellman defaultKeysize = ECDiffieHellmanFactory.Create())
{
foreach (KeySizes keySizes in defaultKeysize.LegalKeySizes)
{
for (int size = keySizes.MinSize; size <= keySizes.MaxSize; size += keySizes.SkipSize)
{
everyKeysize.Add(new object[] { size });
if (keySizes.SkipSize == 0)
{
break;
}
}
}
}
s_everyKeysize = everyKeysize;
}
return s_everyKeysize;
}
public static IEnumerable<object[]> MismatchedKeysizes()
{
if (s_mismatchedKeysizes == null)
{
int firstSize = -1;
List<object[]> mismatchedKeysizes = new List<object[]>();
using (ECDiffieHellman defaultKeysize = ECDiffieHellmanFactory.Create())
{
foreach (KeySizes keySizes in defaultKeysize.LegalKeySizes)
{
for (int size = keySizes.MinSize; size <= keySizes.MaxSize; size += keySizes.SkipSize)
{
if (firstSize == -1)
{
firstSize = size;
}
else if (size != firstSize)
{
mismatchedKeysizes.Add(new object[] { firstSize, size });
}
if (keySizes.SkipSize == 0)
{
break;
}
}
}
}
s_mismatchedKeysizes = mismatchedKeysizes;
}
return s_mismatchedKeysizes;
}
[Theory]
[MemberData(nameof(EveryKeysize))]
public static void SupportsKeysize(int keySize)
{
using (ECDiffieHellman ecdh = ECDiffieHellmanFactory.Create(keySize))
{
Assert.Equal(keySize, ecdh.KeySize);
}
}
[Theory]
[MemberData(nameof(EveryKeysize))]
public static void PublicKey_NotNull(int keySize)
{
using (ECDiffieHellman ecdh = ECDiffieHellmanFactory.Create(keySize))
using (ECDiffieHellmanPublicKey ecdhPubKey = ecdh.PublicKey)
{
Assert.NotNull(ecdhPubKey);
}
}
[Fact]
public static void PublicKeyIsFactory()
{
using (ECDiffieHellman ecdh = ECDiffieHellmanFactory.Create())
using (ECDiffieHellmanPublicKey publicKey1 = ecdh.PublicKey)
using (ECDiffieHellmanPublicKey publicKey2 = ecdh.PublicKey)
{
Assert.NotSame(publicKey1, publicKey2);
}
}
[Fact]
public static void PublicKey_TryExportSubjectPublicKeyInfo_TooSmall()
{
using (ECDiffieHellman ecdh = ECDiffieHellmanFactory.Create())
using (ECDiffieHellmanPublicKey publicKey = ecdh.PublicKey)
{
Span<byte> destination = stackalloc byte[1];
Assert.False(publicKey.TryExportSubjectPublicKeyInfo(destination, out int written));
Assert.Equal(0, written);
}
}
[Theory]
[InlineData(false)]
[InlineData(true)]
public static void UseAfterDispose(bool importKey)
{
ECDiffieHellman key = ECDiffieHellmanFactory.Create();
ECDiffieHellmanPublicKey pubKey;
HashAlgorithmName hash = HashAlgorithmName.SHA256;
if (importKey)
{
key.ImportParameters(EccTestData.GetNistP256ReferenceKey());
}
// Ensure the key is populated, then dispose it.
using (key)
{
pubKey = key.PublicKey;
key.DeriveKeyFromHash(pubKey, hash);
pubKey.Dispose();
Assert.Throws<ObjectDisposedException>(() => key.DeriveKeyFromHash(pubKey, hash));
Assert.Throws<ObjectDisposedException>(() => key.DeriveKeyFromHmac(pubKey, hash, null));
Assert.Throws<ObjectDisposedException>(() => key.DeriveKeyFromHmac(pubKey, hash, new byte[3]));
Assert.Throws<ObjectDisposedException>(() => key.DeriveKeyTls(pubKey, new byte[4], new byte[64]));
pubKey = key.PublicKey;
}
key.Dispose();
Assert.Throws<ObjectDisposedException>(() => key.DeriveKeyFromHash(pubKey, hash));
Assert.Throws<ObjectDisposedException>(() => key.DeriveKeyFromHmac(pubKey, hash, null));
Assert.Throws<ObjectDisposedException>(() => key.DeriveKeyFromHmac(pubKey, hash, new byte[3]));
Assert.Throws<ObjectDisposedException>(() => key.DeriveKeyTls(pubKey, new byte[4], new byte[64]));
Assert.Throws<ObjectDisposedException>(() => key.GenerateKey(ECCurve.NamedCurves.nistP256));
Assert.Throws<ObjectDisposedException>(() => key.ImportParameters(EccTestData.GetNistP256ReferenceKey()));
// Either set_KeySize or the ExportParameters should throw.
Assert.Throws<ObjectDisposedException>(
() =>
{
key.KeySize = 384;
key.ExportParameters(false);
});
}
#if NETCOREAPP
private static ECDiffieHellman OpenKnownKey()
{
ECParameters ecParams = new ECParameters
{
Curve = ECCurve.NamedCurves.nistP521,
Q =
{
X = (
"014AACFCDA18F77EBF11DC0A2D394D3032E86C3AC0B5F558916361163EA6AD3DB27" +
"F6476D6C6E5D9C4A77BCCC5C0069D481718DACA3B1B13035AF5D246C4DC0CE0EA").HexToByteArray(),
Y = (
"00CA500F75537C782E027DE568F148334BF56F7E24C3830792236B5D20F7A33E998" +
"62B1744D2413E4C4AC29DBA42FC48D23AE5B916BED73997EC69B3911C686C5164").HexToByteArray(),
},
D = (
"00202F9F5480723D1ACF15372CE0B99B6CC3E8772FFDDCF828EEEB314B3EAA35B19" +
"886AAB1E6871E548C261C7708BF561A4C373D3EED13F0749851F57B86DC049D71").HexToByteArray(),
};
ECDiffieHellman ecdh = ECDiffieHellmanFactory.Create();
ecdh.ImportParameters(ecParams);
return ecdh;
}
#endif
}
internal static class EcdhTestExtensions
{
internal static void Exercise(this ECDiffieHellman e)
{
// Make a few calls on this to ensure we aren't broken due to bad/prematurely released handles.
int keySize = e.KeySize;
using (ECDiffieHellmanPublicKey publicKey = e.PublicKey)
{
byte[] negotiated = e.DeriveKeyFromHash(publicKey, HashAlgorithmName.SHA256);
Assert.Equal(256 / 8, negotiated.Length);
}
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.Security.Cryptography.Tests;
using Xunit;
using Test.Cryptography;
namespace System.Security.Cryptography.EcDiffieHellman.Tests
{
[SkipOnPlatform(TestPlatforms.Browser, "Not supported on Browser")]
public partial class ECDiffieHellmanTests : EccTestBase
{
private static List<object[]> s_everyKeysize;
private static List<object[]> s_mismatchedKeysizes;
public static IEnumerable<object[]> EveryKeysize()
{
if (s_everyKeysize == null)
{
List<object[]> everyKeysize = new List<object[]>();
using (ECDiffieHellman defaultKeysize = ECDiffieHellmanFactory.Create())
{
foreach (KeySizes keySizes in defaultKeysize.LegalKeySizes)
{
for (int size = keySizes.MinSize; size <= keySizes.MaxSize; size += keySizes.SkipSize)
{
everyKeysize.Add(new object[] { size });
if (keySizes.SkipSize == 0)
{
break;
}
}
}
}
s_everyKeysize = everyKeysize;
}
return s_everyKeysize;
}
public static IEnumerable<object[]> MismatchedKeysizes()
{
if (s_mismatchedKeysizes == null)
{
int firstSize = -1;
List<object[]> mismatchedKeysizes = new List<object[]>();
using (ECDiffieHellman defaultKeysize = ECDiffieHellmanFactory.Create())
{
foreach (KeySizes keySizes in defaultKeysize.LegalKeySizes)
{
for (int size = keySizes.MinSize; size <= keySizes.MaxSize; size += keySizes.SkipSize)
{
if (firstSize == -1)
{
firstSize = size;
}
else if (size != firstSize)
{
mismatchedKeysizes.Add(new object[] { firstSize, size });
}
if (keySizes.SkipSize == 0)
{
break;
}
}
}
}
s_mismatchedKeysizes = mismatchedKeysizes;
}
return s_mismatchedKeysizes;
}
[Theory]
[MemberData(nameof(EveryKeysize))]
public static void SupportsKeysize(int keySize)
{
using (ECDiffieHellman ecdh = ECDiffieHellmanFactory.Create(keySize))
{
Assert.Equal(keySize, ecdh.KeySize);
}
}
[Theory]
[MemberData(nameof(EveryKeysize))]
public static void PublicKey_NotNull(int keySize)
{
using (ECDiffieHellman ecdh = ECDiffieHellmanFactory.Create(keySize))
using (ECDiffieHellmanPublicKey ecdhPubKey = ecdh.PublicKey)
{
Assert.NotNull(ecdhPubKey);
}
}
[Fact]
public static void PublicKeyIsFactory()
{
using (ECDiffieHellman ecdh = ECDiffieHellmanFactory.Create())
using (ECDiffieHellmanPublicKey publicKey1 = ecdh.PublicKey)
using (ECDiffieHellmanPublicKey publicKey2 = ecdh.PublicKey)
{
Assert.NotSame(publicKey1, publicKey2);
}
}
[Fact]
public static void PublicKey_TryExportSubjectPublicKeyInfo_TooSmall()
{
using (ECDiffieHellman ecdh = ECDiffieHellmanFactory.Create())
using (ECDiffieHellmanPublicKey publicKey = ecdh.PublicKey)
{
Span<byte> destination = stackalloc byte[1];
Assert.False(publicKey.TryExportSubjectPublicKeyInfo(destination, out int written));
Assert.Equal(0, written);
}
}
[Theory]
[InlineData(false)]
[InlineData(true)]
public static void UseAfterDispose(bool importKey)
{
ECDiffieHellman key = ECDiffieHellmanFactory.Create();
ECDiffieHellmanPublicKey pubKey;
HashAlgorithmName hash = HashAlgorithmName.SHA256;
if (importKey)
{
key.ImportParameters(EccTestData.GetNistP256ReferenceKey());
}
// Ensure the key is populated, then dispose it.
using (key)
{
pubKey = key.PublicKey;
key.DeriveKeyFromHash(pubKey, hash);
pubKey.Dispose();
Assert.Throws<ObjectDisposedException>(() => key.DeriveKeyFromHash(pubKey, hash));
Assert.Throws<ObjectDisposedException>(() => key.DeriveKeyFromHmac(pubKey, hash, null));
Assert.Throws<ObjectDisposedException>(() => key.DeriveKeyFromHmac(pubKey, hash, new byte[3]));
Assert.Throws<ObjectDisposedException>(() => key.DeriveKeyTls(pubKey, new byte[4], new byte[64]));
pubKey = key.PublicKey;
}
key.Dispose();
Assert.Throws<ObjectDisposedException>(() => key.DeriveKeyFromHash(pubKey, hash));
Assert.Throws<ObjectDisposedException>(() => key.DeriveKeyFromHmac(pubKey, hash, null));
Assert.Throws<ObjectDisposedException>(() => key.DeriveKeyFromHmac(pubKey, hash, new byte[3]));
Assert.Throws<ObjectDisposedException>(() => key.DeriveKeyTls(pubKey, new byte[4], new byte[64]));
Assert.Throws<ObjectDisposedException>(() => key.GenerateKey(ECCurve.NamedCurves.nistP256));
Assert.Throws<ObjectDisposedException>(() => key.ImportParameters(EccTestData.GetNistP256ReferenceKey()));
// Either set_KeySize or the ExportParameters should throw.
Assert.Throws<ObjectDisposedException>(
() =>
{
key.KeySize = 384;
key.ExportParameters(false);
});
}
#if NETCOREAPP
private static ECDiffieHellman OpenKnownKey()
{
ECParameters ecParams = new ECParameters
{
Curve = ECCurve.NamedCurves.nistP521,
Q =
{
X = (
"014AACFCDA18F77EBF11DC0A2D394D3032E86C3AC0B5F558916361163EA6AD3DB27" +
"F6476D6C6E5D9C4A77BCCC5C0069D481718DACA3B1B13035AF5D246C4DC0CE0EA").HexToByteArray(),
Y = (
"00CA500F75537C782E027DE568F148334BF56F7E24C3830792236B5D20F7A33E998" +
"62B1744D2413E4C4AC29DBA42FC48D23AE5B916BED73997EC69B3911C686C5164").HexToByteArray(),
},
D = (
"00202F9F5480723D1ACF15372CE0B99B6CC3E8772FFDDCF828EEEB314B3EAA35B19" +
"886AAB1E6871E548C261C7708BF561A4C373D3EED13F0749851F57B86DC049D71").HexToByteArray(),
};
ECDiffieHellman ecdh = ECDiffieHellmanFactory.Create();
ecdh.ImportParameters(ecParams);
return ecdh;
}
#endif
}
internal static class EcdhTestExtensions
{
internal static void Exercise(this ECDiffieHellman e)
{
// Make a few calls on this to ensure we aren't broken due to bad/prematurely released handles.
int keySize = e.KeySize;
using (ECDiffieHellmanPublicKey publicKey = e.PublicKey)
{
byte[] negotiated = e.DeriveKeyFromHash(publicKey, HashAlgorithmName.SHA256);
Assert.Equal(256 / 8, negotiated.Length);
}
}
}
}
| -1 |
dotnet/runtime | 65,915 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer | Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | elinor-fung | "2022-02-26T01:42:58Z" | "2022-03-01T00:57:47Z" | b4c746b7712e887af066d66d1ec777be6283f6f9 | d9eafd0c55ff7c3d7804c7629baf271703df91a6 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer. Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | ./src/libraries/Common/tests/System/Net/Prerequisites/LocalEchoServer.props | <Project>
<PropertyGroup Condition="'$(TargetOS)' == 'Browser'">
<!-- handle different path to middleware in Helix -->
<_TestEchoMiddleware Condition="'$(ContinuousIntegrationBuild)' == 'true' and '$(OS)' == 'Windows_NT'">%HELIX_CORRELATION_PAYLOAD%/xharness/TestEchoMiddleware</_TestEchoMiddleware>
<_TestEchoMiddleware Condition="'$(ContinuousIntegrationBuild)' == 'true' and '$(OS)' != 'Windows_NT'">$HELIX_CORRELATION_PAYLOAD/xharness/TestEchoMiddleware</_TestEchoMiddleware>
<_TestEchoMiddleware Condition="'$(ContinuousIntegrationBuild)' != 'true'">$(ArtifactsDir)bin/NetCoreServer/$(Configuration)/$(AspNetCoreAppCurrent)</_TestEchoMiddleware>
<_RemoteLoopMiddleware Condition="'$(ContinuousIntegrationBuild)' == 'true' and '$(OS)' == 'Windows_NT'">%HELIX_CORRELATION_PAYLOAD%/xharness/RemoteLoopMiddleware</_RemoteLoopMiddleware>
<_RemoteLoopMiddleware Condition="'$(ContinuousIntegrationBuild)' == 'true' and '$(OS)' != 'Windows_NT'">$HELIX_CORRELATION_PAYLOAD/xharness/RemoteLoopMiddleware</_RemoteLoopMiddleware>
<_RemoteLoopMiddleware Condition="'$(ContinuousIntegrationBuild)' != 'true'">$(ArtifactsDir)bin/RemoteLoopServer/$(Configuration)/$(AspNetCoreAppCurrent)</_RemoteLoopMiddleware>
<WasmXHarnessArgs>$(WasmXHarnessArgs) --web-server-use-cors --web-server-use-https</WasmXHarnessArgs>
<WasmXHarnessArgs>$(WasmXHarnessArgs) --set-web-server-http-env=DOTNET_TEST_WEBSOCKETHOST,DOTNET_TEST_HTTPHOST,DOTNET_TEST_REMOTE_LOOP_HOST</WasmXHarnessArgs>
<WasmXHarnessArgs>$(WasmXHarnessArgs) --set-web-server-https-env=DOTNET_TEST_SECUREWEBSOCKETHOST,DOTNET_TEST_SECUREHTTPHOST,DOTNET_TEST_HTTP2HOST</WasmXHarnessArgs>
<WasmXHarnessArgs>$(WasmXHarnessArgs) --web-server-middleware=$(_RemoteLoopMiddleware)/RemoteLoopServer.dll,GenericHandler</WasmXHarnessArgs>
<WasmXHarnessArgs>$(WasmXHarnessArgs) --web-server-middleware=$(_TestEchoMiddleware)/NetCoreServer.dll,GenericHandler</WasmXHarnessArgs>
</PropertyGroup>
<!-- Tests use self-signed certificates that are refused by NodeJS -->
<Target Name="AcceptUnauthorizedOnNodeJS" BeforeTargets="GenerateRunScript">
<ItemGroup Condition="'$(OS)' != 'Windows_NT'">
<SetScriptCommands Include="if [[ "$SCENARIO" == "WasmTestOnNodeJs" || "$SCENARIO" == "wasmtestonnodejs" ]]; then export NODE_TLS_REJECT_UNAUTHORIZED=0; fi" />
</ItemGroup>
<ItemGroup Condition="'$(OS)' == 'Windows_NT'">
<SetScriptCommands Include="if /I [%SCENARIO%]==[WasmTestOnNodeJS] ( set "NODE_TLS_REJECT_UNAUTHORIZED=0" )" />
</ItemGroup>
</Target>
</Project>
| <Project>
<PropertyGroup Condition="'$(TargetOS)' == 'Browser'">
<!-- handle different path to middleware in Helix -->
<_TestEchoMiddleware Condition="'$(ContinuousIntegrationBuild)' == 'true' and '$(OS)' == 'Windows_NT'">%HELIX_CORRELATION_PAYLOAD%/xharness/TestEchoMiddleware</_TestEchoMiddleware>
<_TestEchoMiddleware Condition="'$(ContinuousIntegrationBuild)' == 'true' and '$(OS)' != 'Windows_NT'">$HELIX_CORRELATION_PAYLOAD/xharness/TestEchoMiddleware</_TestEchoMiddleware>
<_TestEchoMiddleware Condition="'$(ContinuousIntegrationBuild)' != 'true'">$(ArtifactsDir)bin/NetCoreServer/$(Configuration)/$(AspNetCoreAppCurrent)</_TestEchoMiddleware>
<_RemoteLoopMiddleware Condition="'$(ContinuousIntegrationBuild)' == 'true' and '$(OS)' == 'Windows_NT'">%HELIX_CORRELATION_PAYLOAD%/xharness/RemoteLoopMiddleware</_RemoteLoopMiddleware>
<_RemoteLoopMiddleware Condition="'$(ContinuousIntegrationBuild)' == 'true' and '$(OS)' != 'Windows_NT'">$HELIX_CORRELATION_PAYLOAD/xharness/RemoteLoopMiddleware</_RemoteLoopMiddleware>
<_RemoteLoopMiddleware Condition="'$(ContinuousIntegrationBuild)' != 'true'">$(ArtifactsDir)bin/RemoteLoopServer/$(Configuration)/$(AspNetCoreAppCurrent)</_RemoteLoopMiddleware>
<WasmXHarnessArgs>$(WasmXHarnessArgs) --web-server-use-cors --web-server-use-https</WasmXHarnessArgs>
<WasmXHarnessArgs>$(WasmXHarnessArgs) --set-web-server-http-env=DOTNET_TEST_WEBSOCKETHOST,DOTNET_TEST_HTTPHOST,DOTNET_TEST_REMOTE_LOOP_HOST</WasmXHarnessArgs>
<WasmXHarnessArgs>$(WasmXHarnessArgs) --set-web-server-https-env=DOTNET_TEST_SECUREWEBSOCKETHOST,DOTNET_TEST_SECUREHTTPHOST,DOTNET_TEST_HTTP2HOST</WasmXHarnessArgs>
<WasmXHarnessArgs>$(WasmXHarnessArgs) --web-server-middleware=$(_RemoteLoopMiddleware)/RemoteLoopServer.dll,GenericHandler</WasmXHarnessArgs>
<WasmXHarnessArgs>$(WasmXHarnessArgs) --web-server-middleware=$(_TestEchoMiddleware)/NetCoreServer.dll,GenericHandler</WasmXHarnessArgs>
</PropertyGroup>
<!-- Tests use self-signed certificates that are refused by NodeJS -->
<Target Name="AcceptUnauthorizedOnNodeJS" BeforeTargets="GenerateRunScript">
<ItemGroup Condition="'$(OS)' != 'Windows_NT'">
<SetScriptCommands Include="if [[ "$SCENARIO" == "WasmTestOnNodeJs" || "$SCENARIO" == "wasmtestonnodejs" ]]; then export NODE_TLS_REJECT_UNAUTHORIZED=0; fi" />
</ItemGroup>
<ItemGroup Condition="'$(OS)' == 'Windows_NT'">
<SetScriptCommands Include="if /I [%SCENARIO%]==[WasmTestOnNodeJS] ( set "NODE_TLS_REJECT_UNAUTHORIZED=0" )" />
</ItemGroup>
</Target>
</Project>
| -1 |
dotnet/runtime | 65,915 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer | Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | elinor-fung | "2022-02-26T01:42:58Z" | "2022-03-01T00:57:47Z" | b4c746b7712e887af066d66d1ec777be6283f6f9 | d9eafd0c55ff7c3d7804c7629baf271703df91a6 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer. Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | ./src/libraries/Microsoft.Extensions.Logging.Console/src/ConsoleFormatterOptions.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Diagnostics.CodeAnalysis;
using System.Text;
namespace Microsoft.Extensions.Logging.Console
{
/// <summary>
/// Options for the built-in console log formatter.
/// </summary>
public class ConsoleFormatterOptions
{
public ConsoleFormatterOptions() { }
/// <summary>
/// Includes scopes when <see langword="true" />.
/// </summary>
public bool IncludeScopes { get; set; }
/// <summary>
/// Gets or sets format string used to format timestamp in logging messages. Defaults to <c>null</c>.
/// </summary>
[StringSyntax(StringSyntaxAttribute.DateTimeFormat)]
public string TimestampFormat { get; set; }
/// <summary>
/// Gets or sets indication whether or not UTC timezone should be used to format timestamps in logging messages. Defaults to <c>false</c>.
/// </summary>
public bool UseUtcTimestamp { get; set; }
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Diagnostics.CodeAnalysis;
using System.Text;
namespace Microsoft.Extensions.Logging.Console
{
/// <summary>
/// Options for the built-in console log formatter.
/// </summary>
public class ConsoleFormatterOptions
{
public ConsoleFormatterOptions() { }
/// <summary>
/// Includes scopes when <see langword="true" />.
/// </summary>
public bool IncludeScopes { get; set; }
/// <summary>
/// Gets or sets format string used to format timestamp in logging messages. Defaults to <c>null</c>.
/// </summary>
[StringSyntax(StringSyntaxAttribute.DateTimeFormat)]
public string TimestampFormat { get; set; }
/// <summary>
/// Gets or sets indication whether or not UTC timezone should be used to format timestamps in logging messages. Defaults to <c>false</c>.
/// </summary>
public bool UseUtcTimestamp { get; set; }
}
}
| -1 |
dotnet/runtime | 65,915 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer | Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | elinor-fung | "2022-02-26T01:42:58Z" | "2022-03-01T00:57:47Z" | b4c746b7712e887af066d66d1ec777be6283f6f9 | d9eafd0c55ff7c3d7804c7629baf271703df91a6 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer. Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | ./src/tests/Loader/classloader/TypeGeneratorTests/TypeGeneratorTest1420/Generated1420.il | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
.assembly extern mscorlib { .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) .ver 4:0:0:0 }
.assembly extern TestFramework { .publickeytoken = ( B0 3F 5F 7F 11 D5 0A 3A ) }
//TYPES IN FORWARDER ASSEMBLIES:
//TEST ASSEMBLY:
.assembly Generated1420 { .hash algorithm 0x00008004 }
.assembly extern xunit.core {}
.class public BaseClass0
{
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed {
ldarg.0
call instance void [mscorlib]System.Object::.ctor()
ret
}
}
.class public BaseClass1
extends BaseClass0
{
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed {
ldarg.0
call instance void BaseClass0::.ctor()
ret
}
}
.class public G3_C1892`1<T0>
extends class G2_C818`2<class BaseClass0,class BaseClass1>
implements class IBase2`2<class BaseClass0,class BaseClass0>
{
.method public hidebysig newslot virtual instance string Method7<M0>() cil managed noinlining {
ldstr "G3_C1892::Method7.18572<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string 'IBase2<class BaseClass0,class BaseClass0>.Method7'<M0>() cil managed noinlining {
.override method instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<[1]>()
ldstr "G3_C1892::Method7.MI.18573<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string ClassMethod5179() cil managed noinlining {
ldstr "G3_C1892::ClassMethod5179.18574()"
ret
}
.method public hidebysig newslot virtual instance string ClassMethod5180() cil managed noinlining {
ldstr "G3_C1892::ClassMethod5180.18575()"
ret
}
.method public hidebysig newslot virtual instance string ClassMethod5181<M0>() cil managed noinlining {
ldstr "G3_C1892::ClassMethod5181.18576<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string ClassMethod5182<M0>() cil managed noinlining {
ldstr "G3_C1892::ClassMethod5182.18577<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string 'G2_C818<class BaseClass0,class BaseClass1>.ClassMethod3017'() cil managed noinlining {
.override method instance string class G2_C818`2<class BaseClass0,class BaseClass1>::ClassMethod3017()
ldstr "G3_C1892::ClassMethod3017.MI.18578()"
ret
}
.method public hidebysig newslot virtual instance string 'G2_C818<class BaseClass0,class BaseClass1>.ClassMethod3018'<M0>() cil managed noinlining {
.override method instance string class G2_C818`2<class BaseClass0,class BaseClass1>::ClassMethod3018<[1]>()
ldstr "G3_C1892::ClassMethod3018.MI.18579<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed {
ldarg.0
call instance void class G2_C818`2<class BaseClass0,class BaseClass1>::.ctor()
ret
}
}
.class public G2_C818`2<T0, T1>
extends class G1_C15`2<class BaseClass0,!T1>
implements class IBase2`2<!T0,!T1>
{
.method public hidebysig newslot virtual instance string Method7<M0>() cil managed noinlining {
ldstr "G2_C818::Method7.12541<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string ClassMethod3017() cil managed noinlining {
ldstr "G2_C818::ClassMethod3017.12542()"
ret
}
.method public hidebysig newslot virtual instance string ClassMethod3018<M0>() cil managed noinlining {
ldstr "G2_C818::ClassMethod3018.12543<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed {
ldarg.0
call instance void class G1_C15`2<class BaseClass0,!T1>::.ctor()
ret
}
}
.class interface public abstract IBase2`2<+T0, -T1>
{
.method public hidebysig newslot abstract virtual instance string Method7<M0>() cil managed { }
}
.class public abstract G1_C15`2<T0, T1>
implements class IBase2`2<!T1,!T1>, class IBase1`1<class BaseClass0>
{
.method public hidebysig newslot virtual instance string Method7<M0>() cil managed noinlining {
ldstr "G1_C15::Method7.4885<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string 'IBase2<T1,T1>.Method7'<M0>() cil managed noinlining {
.override method instance string class IBase2`2<!T1,!T1>::Method7<[1]>()
ldstr "G1_C15::Method7.MI.4886<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig virtual instance string Method4() cil managed noinlining {
ldstr "G1_C15::Method4.4887()"
ret
}
.method public hidebysig newslot virtual instance string 'IBase1<class BaseClass0>.Method4'() cil managed noinlining {
.override method instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G1_C15::Method4.MI.4888()"
ret
}
.method public hidebysig virtual instance string Method5() cil managed noinlining {
ldstr "G1_C15::Method5.4889()"
ret
}
.method public hidebysig newslot virtual instance string 'IBase1<class BaseClass0>.Method5'() cil managed noinlining {
.override method instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G1_C15::Method5.MI.4890()"
ret
}
.method public hidebysig virtual instance string Method6<M0>() cil managed noinlining {
ldstr "G1_C15::Method6.4891<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string 'IBase1<class BaseClass0>.Method6'<M0>() cil managed noinlining {
.override method instance string class IBase1`1<class BaseClass0>::Method6<[1]>()
ldstr "G1_C15::Method6.MI.4892<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed {
ldarg.0
call instance void [mscorlib]System.Object::.ctor()
ret
}
}
.class interface public abstract IBase1`1<+T0>
{
.method public hidebysig newslot abstract virtual instance string Method4() cil managed { }
.method public hidebysig newslot abstract virtual instance string Method5() cil managed { }
.method public hidebysig newslot abstract virtual instance string Method6<M0>() cil managed { }
}
.class public auto ansi beforefieldinit Generated1420 {
.method static void M.BaseClass0<(BaseClass0)W>(!!W inst, string exp) cil managed {
.maxstack 5
.locals init (string[] actualResults)
ldc.i4.s 0
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.BaseClass0<(BaseClass0)W>(!!W inst, string exp)"
ldc.i4.s 0
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.BaseClass1<(BaseClass1)W>(!!W inst, string exp) cil managed {
.maxstack 5
.locals init (string[] actualResults)
ldc.i4.s 0
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.BaseClass1<(BaseClass1)W>(!!W inst, string exp)"
ldc.i4.s 0
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G3_C1892.T<T0,(class G3_C1892`1<!!T0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 15
.locals init (string[] actualResults)
ldc.i4.s 10
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G3_C1892.T<T0,(class G3_C1892`1<!!T0>)W>(!!W 'inst', string exp)"
ldc.i4.s 10
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<!!T0>::ClassMethod3017()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<!!T0>::ClassMethod3018<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<!!T0>::ClassMethod5179()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<!!T0>::ClassMethod5180()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<!!T0>::ClassMethod5181<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<!!T0>::ClassMethod5182<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<!!T0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<!!T0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 8
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<!!T0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 9
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<!!T0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G3_C1892.A<(class G3_C1892`1<class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 15
.locals init (string[] actualResults)
ldc.i4.s 10
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G3_C1892.A<(class G3_C1892`1<class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 10
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass0>::ClassMethod3017()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass0>::ClassMethod3018<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass0>::ClassMethod5179()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass0>::ClassMethod5180()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass0>::ClassMethod5181<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass0>::ClassMethod5182<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 8
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 9
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G3_C1892.B<(class G3_C1892`1<class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 15
.locals init (string[] actualResults)
ldc.i4.s 10
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G3_C1892.B<(class G3_C1892`1<class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 10
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass1>::ClassMethod3017()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass1>::ClassMethod3018<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass1>::ClassMethod5179()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass1>::ClassMethod5180()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass1>::ClassMethod5181<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass1>::ClassMethod5182<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 8
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 9
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C818.T.T<T0,T1,(class G2_C818`2<!!T0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 11
.locals init (string[] actualResults)
ldc.i4.s 6
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C818.T.T<T0,T1,(class G2_C818`2<!!T0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 6
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<!!T0,!!T1>::ClassMethod3017()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<!!T0,!!T1>::ClassMethod3018<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<!!T0,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<!!T0,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<!!T0,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<!!T0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C818.A.T<T1,(class G2_C818`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 11
.locals init (string[] actualResults)
ldc.i4.s 6
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C818.A.T<T1,(class G2_C818`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 6
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,!!T1>::ClassMethod3017()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,!!T1>::ClassMethod3018<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C818.A.A<(class G2_C818`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 11
.locals init (string[] actualResults)
ldc.i4.s 6
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C818.A.A<(class G2_C818`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 6
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass0>::ClassMethod3017()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass0>::ClassMethod3018<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C818.A.B<(class G2_C818`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 11
.locals init (string[] actualResults)
ldc.i4.s 6
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C818.A.B<(class G2_C818`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 6
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::ClassMethod3017()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::ClassMethod3018<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C818.B.T<T1,(class G2_C818`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 11
.locals init (string[] actualResults)
ldc.i4.s 6
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C818.B.T<T1,(class G2_C818`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 6
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,!!T1>::ClassMethod3017()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,!!T1>::ClassMethod3018<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C818.B.A<(class G2_C818`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 11
.locals init (string[] actualResults)
ldc.i4.s 6
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C818.B.A<(class G2_C818`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 6
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass0>::ClassMethod3017()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass0>::ClassMethod3018<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C818.B.B<(class G2_C818`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 11
.locals init (string[] actualResults)
ldc.i4.s 6
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C818.B.B<(class G2_C818`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 6
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass1>::ClassMethod3017()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass1>::ClassMethod3018<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.T.T<T0,T1,(class IBase2`2<!!T0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.T.T<T0,T1,(class IBase2`2<!!T0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<!!T0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.A.T<T1,(class IBase2`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.A.T<T1,(class IBase2`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.A.A<(class IBase2`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.A.A<(class IBase2`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.A.B<(class IBase2`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.A.B<(class IBase2`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.B.T<T1,(class IBase2`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.B.T<T1,(class IBase2`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass1,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.B.A<(class IBase2`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.B.A<(class IBase2`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.B.B<(class IBase2`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.B.B<(class IBase2`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C15.T.T<T0,T1,(class G1_C15`2<!!T0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 9
.locals init (string[] actualResults)
ldc.i4.s 4
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C15.T.T<T0,T1,(class G1_C15`2<!!T0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 4
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<!!T0,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<!!T0,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<!!T0,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<!!T0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C15.A.T<T1,(class G1_C15`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 9
.locals init (string[] actualResults)
ldc.i4.s 4
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C15.A.T<T1,(class G1_C15`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 4
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass0,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass0,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass0,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C15.A.A<(class G1_C15`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 9
.locals init (string[] actualResults)
ldc.i4.s 4
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C15.A.A<(class G1_C15`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 4
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C15.A.B<(class G1_C15`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 9
.locals init (string[] actualResults)
ldc.i4.s 4
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C15.A.B<(class G1_C15`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 4
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C15.B.T<T1,(class G1_C15`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 9
.locals init (string[] actualResults)
ldc.i4.s 4
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C15.B.T<T1,(class G1_C15`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 4
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass1,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass1,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass1,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass1,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C15.B.A<(class G1_C15`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 9
.locals init (string[] actualResults)
ldc.i4.s 4
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C15.B.A<(class G1_C15`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 4
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass1,class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass1,class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass1,class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass1,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C15.B.B<(class G1_C15`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 9
.locals init (string[] actualResults)
ldc.i4.s 4
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C15.B.B<(class G1_C15`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 4
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass1,class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass1,class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass1,class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass1,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase1.T<T0,(class IBase1`1<!!T0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 8
.locals init (string[] actualResults)
ldc.i4.s 3
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase1.T<T0,(class IBase1`1<!!T0>)W>(!!W 'inst', string exp)"
ldc.i4.s 3
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<!!T0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<!!T0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<!!T0>::Method6<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase1.A<(class IBase1`1<class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 8
.locals init (string[] actualResults)
ldc.i4.s 3
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase1.A<(class IBase1`1<class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 3
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase1.B<(class IBase1`1<class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 8
.locals init (string[] actualResults)
ldc.i4.s 3
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase1.B<(class IBase1`1<class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 3
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method public hidebysig static void MethodCallingTest() cil managed
{
.maxstack 10
.locals init (object V_0)
ldstr "========================== Method Calling Test =========================="
call void [mscorlib]System.Console::WriteLine(string)
newobj instance void class G3_C1892`1<class BaseClass0>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method6<object>()
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method5()
ldstr "G1_C15::Method5.4889()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method4()
ldstr "G1_C15::Method4.4887()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G1_C15::Method7.4885<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G1_C15::Method7.MI.4886<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G1_C15::Method4.MI.4888()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G1_C15::Method5.MI.4890()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G1_C15::Method6.MI.4892<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G3_C1892::Method7.MI.18573<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::ClassMethod3018<object>()
ldstr "G3_C1892::ClassMethod3018.MI.18579<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::ClassMethod3017()
ldstr "G3_C1892::ClassMethod3017.MI.18578()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method6<object>()
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method5()
ldstr "G1_C15::Method5.4889()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method4()
ldstr "G1_C15::Method4.4887()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G3_C1892`1<class BaseClass0>
callvirt instance string class G3_C1892`1<class BaseClass0>::ClassMethod5182<object>()
ldstr "G3_C1892::ClassMethod5182.18577<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass0>
callvirt instance string class G3_C1892`1<class BaseClass0>::ClassMethod5181<object>()
ldstr "G3_C1892::ClassMethod5181.18576<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass0>
callvirt instance string class G3_C1892`1<class BaseClass0>::ClassMethod5180()
ldstr "G3_C1892::ClassMethod5180.18575()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass0>
callvirt instance string class G3_C1892`1<class BaseClass0>::ClassMethod5179()
ldstr "G3_C1892::ClassMethod5179.18574()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass0>
callvirt instance string class G3_C1892`1<class BaseClass0>::Method7<object>()
ldstr "G3_C1892::Method7.18572<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass0>
callvirt instance string class G3_C1892`1<class BaseClass0>::ClassMethod3018<object>()
ldstr "G3_C1892::ClassMethod3018.MI.18579<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass0>
callvirt instance string class G3_C1892`1<class BaseClass0>::ClassMethod3017()
ldstr "G3_C1892::ClassMethod3017.MI.18578()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass0>
callvirt instance string class G3_C1892`1<class BaseClass0>::Method6<object>()
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass0>
callvirt instance string class G3_C1892`1<class BaseClass0>::Method5()
ldstr "G1_C15::Method5.4889()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass0>
callvirt instance string class G3_C1892`1<class BaseClass0>::Method4()
ldstr "G1_C15::Method4.4887()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G3_C1892::Method7.MI.18573<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G3_C1892`1<class BaseClass1>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method6<object>()
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method5()
ldstr "G1_C15::Method5.4889()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method4()
ldstr "G1_C15::Method4.4887()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G1_C15::Method7.4885<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G1_C15::Method7.MI.4886<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G1_C15::Method4.MI.4888()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G1_C15::Method5.MI.4890()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G1_C15::Method6.MI.4892<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G3_C1892::Method7.MI.18573<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::ClassMethod3018<object>()
ldstr "G3_C1892::ClassMethod3018.MI.18579<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::ClassMethod3017()
ldstr "G3_C1892::ClassMethod3017.MI.18578()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method6<object>()
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method5()
ldstr "G1_C15::Method5.4889()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method4()
ldstr "G1_C15::Method4.4887()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G3_C1892`1<class BaseClass1>
callvirt instance string class G3_C1892`1<class BaseClass1>::ClassMethod5182<object>()
ldstr "G3_C1892::ClassMethod5182.18577<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass1>
callvirt instance string class G3_C1892`1<class BaseClass1>::ClassMethod5181<object>()
ldstr "G3_C1892::ClassMethod5181.18576<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass1>
callvirt instance string class G3_C1892`1<class BaseClass1>::ClassMethod5180()
ldstr "G3_C1892::ClassMethod5180.18575()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass1>
callvirt instance string class G3_C1892`1<class BaseClass1>::ClassMethod5179()
ldstr "G3_C1892::ClassMethod5179.18574()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass1>
callvirt instance string class G3_C1892`1<class BaseClass1>::Method7<object>()
ldstr "G3_C1892::Method7.18572<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass1>
callvirt instance string class G3_C1892`1<class BaseClass1>::ClassMethod3018<object>()
ldstr "G3_C1892::ClassMethod3018.MI.18579<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass1>
callvirt instance string class G3_C1892`1<class BaseClass1>::ClassMethod3017()
ldstr "G3_C1892::ClassMethod3017.MI.18578()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass1>
callvirt instance string class G3_C1892`1<class BaseClass1>::Method6<object>()
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass1>
callvirt instance string class G3_C1892`1<class BaseClass1>::Method5()
ldstr "G1_C15::Method5.4889()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass1>
callvirt instance string class G3_C1892`1<class BaseClass1>::Method4()
ldstr "G1_C15::Method4.4887()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G3_C1892::Method7.MI.18573<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G2_C818`2<class BaseClass0,class BaseClass0>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method6<object>()
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method5()
ldstr "G1_C15::Method5.4889()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method4()
ldstr "G1_C15::Method4.4887()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G1_C15::Method7.4885<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G1_C15::Method4.MI.4888()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G1_C15::Method5.MI.4890()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G1_C15::Method6.MI.4892<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass0>::ClassMethod3018<object>()
ldstr "G2_C818::ClassMethod3018.12543<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass0>::ClassMethod3017()
ldstr "G2_C818::ClassMethod3017.12542()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass0>::Method6<object>()
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass0>::Method5()
ldstr "G1_C15::Method5.4889()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass0>::Method4()
ldstr "G1_C15::Method4.4887()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G2_C818`2<class BaseClass0,class BaseClass1>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method6<object>()
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method5()
ldstr "G1_C15::Method5.4889()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method4()
ldstr "G1_C15::Method4.4887()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G1_C15::Method7.4885<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G1_C15::Method7.MI.4886<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G1_C15::Method4.MI.4888()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G1_C15::Method5.MI.4890()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G1_C15::Method6.MI.4892<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::ClassMethod3018<object>()
ldstr "G2_C818::ClassMethod3018.12543<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::ClassMethod3017()
ldstr "G2_C818::ClassMethod3017.12542()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method6<object>()
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method5()
ldstr "G1_C15::Method5.4889()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method4()
ldstr "G1_C15::Method4.4887()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G2_C818`2<class BaseClass1,class BaseClass0>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method6<object>()
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method5()
ldstr "G1_C15::Method5.4889()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method4()
ldstr "G1_C15::Method4.4887()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G1_C15::Method7.4885<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G1_C15::Method4.MI.4888()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G1_C15::Method5.MI.4890()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G1_C15::Method6.MI.4892<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C818`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass0>::ClassMethod3018<object>()
ldstr "G2_C818::ClassMethod3018.12543<System.Object>()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass0>::ClassMethod3017()
ldstr "G2_C818::ClassMethod3017.12542()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass0>::Method7<object>()
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass0>::Method6<object>()
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass0>::Method5()
ldstr "G1_C15::Method5.4889()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass0>::Method4()
ldstr "G1_C15::Method4.4887()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass0>::Method7<object>()
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G2_C818`2<class BaseClass1,class BaseClass1>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method6<object>()
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method5()
ldstr "G1_C15::Method5.4889()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method4()
ldstr "G1_C15::Method4.4887()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G1_C15::Method7.4885<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G1_C15::Method4.MI.4888()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G1_C15::Method5.MI.4890()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G1_C15::Method6.MI.4892<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C818`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass1>::ClassMethod3018<object>()
ldstr "G2_C818::ClassMethod3018.12543<System.Object>()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass1>::ClassMethod3017()
ldstr "G2_C818::ClassMethod3017.12542()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass1>::Method6<object>()
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass1>::Method5()
ldstr "G1_C15::Method5.4889()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass1>::Method4()
ldstr "G1_C15::Method4.4887()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldstr "========================================================================\n\n"
call void [mscorlib]System.Console::WriteLine(string)
ret
}
.method public hidebysig static void ConstrainedCallsTest() cil managed
{
.maxstack 10
.locals init (object V_0)
ldstr "========================== Constrained Calls Test =========================="
call void [mscorlib]System.Console::WriteLine(string)
newobj instance void class G3_C1892`1<class BaseClass0>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.T.T<class BaseClass0,class BaseClass1,class G3_C1892`1<class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.A.T<class BaseClass1,class G3_C1892`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.A.B<class G3_C1892`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C15::Method7.MI.4886<System.Object>()#"
call void Generated1420::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G3_C1892`1<class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C15::Method7.MI.4886<System.Object>()#"
call void Generated1420::M.IBase2.B.T<class BaseClass1,class G3_C1892`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C15::Method7.MI.4886<System.Object>()#"
call void Generated1420::M.IBase2.B.B<class G3_C1892`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C15::Method4.MI.4888()#G1_C15::Method5.MI.4890()#G1_C15::Method6.MI.4892<System.Object>()#"
call void Generated1420::M.IBase1.T<class BaseClass0,class G3_C1892`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C15::Method4.MI.4888()#G1_C15::Method5.MI.4890()#G1_C15::Method6.MI.4892<System.Object>()#"
call void Generated1420::M.IBase1.A<class G3_C1892`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G3_C1892::Method7.MI.18573<System.Object>()#"
call void Generated1420::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G3_C1892`1<class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G3_C1892::Method7.MI.18573<System.Object>()#"
call void Generated1420::M.IBase2.A.T<class BaseClass1,class G3_C1892`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G3_C1892::Method7.MI.18573<System.Object>()#"
call void Generated1420::M.IBase2.A.B<class G3_C1892`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G3_C1892::ClassMethod3017.MI.18578()#G3_C1892::ClassMethod3018.MI.18579<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.T.T<class BaseClass0,class BaseClass1,class G3_C1892`1<class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G3_C1892::ClassMethod3017.MI.18578()#G3_C1892::ClassMethod3018.MI.18579<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.A.T<class BaseClass1,class G3_C1892`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G3_C1892::ClassMethod3017.MI.18578()#G3_C1892::ClassMethod3018.MI.18579<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.A.B<class G3_C1892`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G3_C1892::ClassMethod3017.MI.18578()#G3_C1892::ClassMethod3018.MI.18579<System.Object>()#G3_C1892::ClassMethod5179.18574()#G3_C1892::ClassMethod5180.18575()#G3_C1892::ClassMethod5181.18576<System.Object>()#G3_C1892::ClassMethod5182.18577<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G3_C1892::Method7.18572<System.Object>()#"
call void Generated1420::M.G3_C1892.T<class BaseClass0,class G3_C1892`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G3_C1892::ClassMethod3017.MI.18578()#G3_C1892::ClassMethod3018.MI.18579<System.Object>()#G3_C1892::ClassMethod5179.18574()#G3_C1892::ClassMethod5180.18575()#G3_C1892::ClassMethod5181.18576<System.Object>()#G3_C1892::ClassMethod5182.18577<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G3_C1892::Method7.18572<System.Object>()#"
call void Generated1420::M.G3_C1892.A<class G3_C1892`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G3_C1892::Method7.MI.18573<System.Object>()#"
call void Generated1420::M.IBase2.T.T<class BaseClass0,class BaseClass0,class G3_C1892`1<class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G3_C1892::Method7.MI.18573<System.Object>()#"
call void Generated1420::M.IBase2.A.T<class BaseClass0,class G3_C1892`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G3_C1892::Method7.MI.18573<System.Object>()#"
call void Generated1420::M.IBase2.A.A<class G3_C1892`1<class BaseClass0>>(!!0,string)
newobj instance void class G3_C1892`1<class BaseClass1>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.T.T<class BaseClass0,class BaseClass1,class G3_C1892`1<class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.A.T<class BaseClass1,class G3_C1892`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.A.B<class G3_C1892`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C15::Method7.MI.4886<System.Object>()#"
call void Generated1420::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G3_C1892`1<class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C15::Method7.MI.4886<System.Object>()#"
call void Generated1420::M.IBase2.B.T<class BaseClass1,class G3_C1892`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C15::Method7.MI.4886<System.Object>()#"
call void Generated1420::M.IBase2.B.B<class G3_C1892`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C15::Method4.MI.4888()#G1_C15::Method5.MI.4890()#G1_C15::Method6.MI.4892<System.Object>()#"
call void Generated1420::M.IBase1.T<class BaseClass0,class G3_C1892`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C15::Method4.MI.4888()#G1_C15::Method5.MI.4890()#G1_C15::Method6.MI.4892<System.Object>()#"
call void Generated1420::M.IBase1.A<class G3_C1892`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G3_C1892::Method7.MI.18573<System.Object>()#"
call void Generated1420::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G3_C1892`1<class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G3_C1892::Method7.MI.18573<System.Object>()#"
call void Generated1420::M.IBase2.A.T<class BaseClass1,class G3_C1892`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G3_C1892::Method7.MI.18573<System.Object>()#"
call void Generated1420::M.IBase2.A.B<class G3_C1892`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G3_C1892::ClassMethod3017.MI.18578()#G3_C1892::ClassMethod3018.MI.18579<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.T.T<class BaseClass0,class BaseClass1,class G3_C1892`1<class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G3_C1892::ClassMethod3017.MI.18578()#G3_C1892::ClassMethod3018.MI.18579<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.A.T<class BaseClass1,class G3_C1892`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G3_C1892::ClassMethod3017.MI.18578()#G3_C1892::ClassMethod3018.MI.18579<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.A.B<class G3_C1892`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G3_C1892::ClassMethod3017.MI.18578()#G3_C1892::ClassMethod3018.MI.18579<System.Object>()#G3_C1892::ClassMethod5179.18574()#G3_C1892::ClassMethod5180.18575()#G3_C1892::ClassMethod5181.18576<System.Object>()#G3_C1892::ClassMethod5182.18577<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G3_C1892::Method7.18572<System.Object>()#"
call void Generated1420::M.G3_C1892.T<class BaseClass1,class G3_C1892`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G3_C1892::ClassMethod3017.MI.18578()#G3_C1892::ClassMethod3018.MI.18579<System.Object>()#G3_C1892::ClassMethod5179.18574()#G3_C1892::ClassMethod5180.18575()#G3_C1892::ClassMethod5181.18576<System.Object>()#G3_C1892::ClassMethod5182.18577<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G3_C1892::Method7.18572<System.Object>()#"
call void Generated1420::M.G3_C1892.B<class G3_C1892`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G3_C1892::Method7.MI.18573<System.Object>()#"
call void Generated1420::M.IBase2.T.T<class BaseClass0,class BaseClass0,class G3_C1892`1<class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G3_C1892::Method7.MI.18573<System.Object>()#"
call void Generated1420::M.IBase2.A.T<class BaseClass0,class G3_C1892`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G3_C1892::Method7.MI.18573<System.Object>()#"
call void Generated1420::M.IBase2.A.A<class G3_C1892`1<class BaseClass1>>(!!0,string)
newobj instance void class G2_C818`2<class BaseClass0,class BaseClass0>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.T.T<class BaseClass0,class BaseClass0,class G2_C818`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.A.T<class BaseClass0,class G2_C818`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.A.A<class G2_C818`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.T.T<class BaseClass0,class BaseClass0,class G2_C818`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.A.T<class BaseClass0,class G2_C818`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.A.A<class G2_C818`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C15::Method4.MI.4888()#G1_C15::Method5.MI.4890()#G1_C15::Method6.MI.4892<System.Object>()#"
call void Generated1420::M.IBase1.T<class BaseClass0,class G2_C818`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C15::Method4.MI.4888()#G1_C15::Method5.MI.4890()#G1_C15::Method6.MI.4892<System.Object>()#"
call void Generated1420::M.IBase1.A<class G2_C818`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G2_C818`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.A.T<class BaseClass1,class G2_C818`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.A.B<class G2_C818`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C818::ClassMethod3017.12542()#G2_C818::ClassMethod3018.12543<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.T.T<class BaseClass0,class BaseClass0,class G2_C818`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C818::ClassMethod3017.12542()#G2_C818::ClassMethod3018.12543<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.A.T<class BaseClass0,class G2_C818`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C818::ClassMethod3017.12542()#G2_C818::ClassMethod3018.12543<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.A.A<class G2_C818`2<class BaseClass0,class BaseClass0>>(!!0,string)
newobj instance void class G2_C818`2<class BaseClass0,class BaseClass1>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.T.T<class BaseClass0,class BaseClass1,class G2_C818`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.A.T<class BaseClass1,class G2_C818`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.A.B<class G2_C818`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C15::Method7.MI.4886<System.Object>()#"
call void Generated1420::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G2_C818`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C15::Method7.MI.4886<System.Object>()#"
call void Generated1420::M.IBase2.B.T<class BaseClass1,class G2_C818`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C15::Method7.MI.4886<System.Object>()#"
call void Generated1420::M.IBase2.B.B<class G2_C818`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C15::Method4.MI.4888()#G1_C15::Method5.MI.4890()#G1_C15::Method6.MI.4892<System.Object>()#"
call void Generated1420::M.IBase1.T<class BaseClass0,class G2_C818`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C15::Method4.MI.4888()#G1_C15::Method5.MI.4890()#G1_C15::Method6.MI.4892<System.Object>()#"
call void Generated1420::M.IBase1.A<class G2_C818`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G2_C818`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.A.T<class BaseClass1,class G2_C818`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.A.B<class G2_C818`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C818::ClassMethod3017.12542()#G2_C818::ClassMethod3018.12543<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.T.T<class BaseClass0,class BaseClass1,class G2_C818`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C818::ClassMethod3017.12542()#G2_C818::ClassMethod3018.12543<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.A.T<class BaseClass1,class G2_C818`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C818::ClassMethod3017.12542()#G2_C818::ClassMethod3018.12543<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.A.B<class G2_C818`2<class BaseClass0,class BaseClass1>>(!!0,string)
newobj instance void class G2_C818`2<class BaseClass1,class BaseClass0>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.T.T<class BaseClass0,class BaseClass0,class G2_C818`2<class BaseClass1,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.A.T<class BaseClass0,class G2_C818`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.A.A<class G2_C818`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.T.T<class BaseClass0,class BaseClass0,class G2_C818`2<class BaseClass1,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.A.T<class BaseClass0,class G2_C818`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.A.A<class G2_C818`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C15::Method4.MI.4888()#G1_C15::Method5.MI.4890()#G1_C15::Method6.MI.4892<System.Object>()#"
call void Generated1420::M.IBase1.T<class BaseClass0,class G2_C818`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C15::Method4.MI.4888()#G1_C15::Method5.MI.4890()#G1_C15::Method6.MI.4892<System.Object>()#"
call void Generated1420::M.IBase1.A<class G2_C818`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G2_C818`2<class BaseClass1,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.A.T<class BaseClass1,class G2_C818`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.A.B<class G2_C818`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C818::ClassMethod3017.12542()#G2_C818::ClassMethod3018.12543<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.T.T<class BaseClass1,class BaseClass0,class G2_C818`2<class BaseClass1,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C818::ClassMethod3017.12542()#G2_C818::ClassMethod3018.12543<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.B.T<class BaseClass0,class G2_C818`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C818::ClassMethod3017.12542()#G2_C818::ClassMethod3018.12543<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.B.A<class G2_C818`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.T.T<class BaseClass1,class BaseClass0,class G2_C818`2<class BaseClass1,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.B.T<class BaseClass0,class G2_C818`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.B.A<class G2_C818`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G2_C818`2<class BaseClass1,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.B.T<class BaseClass1,class G2_C818`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.B.B<class G2_C818`2<class BaseClass1,class BaseClass0>>(!!0,string)
newobj instance void class G2_C818`2<class BaseClass1,class BaseClass1>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.T.T<class BaseClass0,class BaseClass1,class G2_C818`2<class BaseClass1,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.A.T<class BaseClass1,class G2_C818`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.A.B<class G2_C818`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G2_C818`2<class BaseClass1,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.B.T<class BaseClass1,class G2_C818`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.B.B<class G2_C818`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C15::Method4.MI.4888()#G1_C15::Method5.MI.4890()#G1_C15::Method6.MI.4892<System.Object>()#"
call void Generated1420::M.IBase1.T<class BaseClass0,class G2_C818`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C15::Method4.MI.4888()#G1_C15::Method5.MI.4890()#G1_C15::Method6.MI.4892<System.Object>()#"
call void Generated1420::M.IBase1.A<class G2_C818`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G2_C818`2<class BaseClass1,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.A.T<class BaseClass1,class G2_C818`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.A.B<class G2_C818`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C818::ClassMethod3017.12542()#G2_C818::ClassMethod3018.12543<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.T.T<class BaseClass1,class BaseClass1,class G2_C818`2<class BaseClass1,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C818::ClassMethod3017.12542()#G2_C818::ClassMethod3018.12543<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.B.T<class BaseClass1,class G2_C818`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C818::ClassMethod3017.12542()#G2_C818::ClassMethod3018.12543<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.B.B<class G2_C818`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldstr "========================================================================\n\n"
call void [mscorlib]System.Console::WriteLine(string)
ret
}
.method public hidebysig static void StructConstrainedInterfaceCallsTest() cil managed
{
.maxstack 10
ldstr "===================== Struct Constrained Interface Calls Test ====================="
call void [mscorlib]System.Console::WriteLine(string)
ldstr "========================================================================\n\n"
call void [mscorlib]System.Console::WriteLine(string)
ret
}
.method public hidebysig static void CalliTest() cil managed
{
.maxstack 10
.locals init (object V_0)
ldstr "========================== Method Calli Test =========================="
call void [mscorlib]System.Console::WriteLine(string)
newobj instance void class G3_C1892`1<class BaseClass0>::.ctor()
stloc.0
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method6<object>()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method5()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G1_C15::Method5.4889()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method4()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G1_C15::Method4.4887()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G1_C15::Method7.4885<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G1_C15::Method7.MI.4886<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G1_C15::Method4.MI.4888()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G1_C15::Method5.MI.4890()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G1_C15::Method6.MI.4892<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G3_C1892::Method7.MI.18573<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::ClassMethod3018<object>()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G3_C1892::ClassMethod3018.MI.18579<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::ClassMethod3017()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G3_C1892::ClassMethod3017.MI.18578()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method6<object>()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method5()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G1_C15::Method5.4889()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method4()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G1_C15::Method4.4887()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass0>::ClassMethod5182<object>()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G3_C1892::ClassMethod5182.18577<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass0>::ClassMethod5181<object>()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G3_C1892::ClassMethod5181.18576<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass0>::ClassMethod5180()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G3_C1892::ClassMethod5180.18575()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass0>::ClassMethod5179()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G3_C1892::ClassMethod5179.18574()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass0>::Method7<object>()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G3_C1892::Method7.18572<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass0>::ClassMethod3018<object>()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G3_C1892::ClassMethod3018.MI.18579<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass0>::ClassMethod3017()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G3_C1892::ClassMethod3017.MI.18578()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass0>::Method6<object>()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass0>::Method5()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G1_C15::Method5.4889()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass0>::Method4()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G1_C15::Method4.4887()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G3_C1892::Method7.MI.18573<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G3_C1892`1<class BaseClass1>::.ctor()
stloc.0
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method6<object>()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method5()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G1_C15::Method5.4889()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method4()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G1_C15::Method4.4887()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G1_C15::Method7.4885<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G1_C15::Method7.MI.4886<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G1_C15::Method4.MI.4888()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G1_C15::Method5.MI.4890()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G1_C15::Method6.MI.4892<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G3_C1892::Method7.MI.18573<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::ClassMethod3018<object>()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G3_C1892::ClassMethod3018.MI.18579<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::ClassMethod3017()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G3_C1892::ClassMethod3017.MI.18578()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method6<object>()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method5()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G1_C15::Method5.4889()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method4()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G1_C15::Method4.4887()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass1>::ClassMethod5182<object>()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G3_C1892::ClassMethod5182.18577<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass1>::ClassMethod5181<object>()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G3_C1892::ClassMethod5181.18576<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass1>::ClassMethod5180()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G3_C1892::ClassMethod5180.18575()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass1>::ClassMethod5179()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G3_C1892::ClassMethod5179.18574()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass1>::Method7<object>()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G3_C1892::Method7.18572<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass1>::ClassMethod3018<object>()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G3_C1892::ClassMethod3018.MI.18579<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass1>::ClassMethod3017()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G3_C1892::ClassMethod3017.MI.18578()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass1>::Method6<object>()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass1>::Method5()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G1_C15::Method5.4889()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass1>::Method4()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G1_C15::Method4.4887()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G3_C1892::Method7.MI.18573<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G2_C818`2<class BaseClass0,class BaseClass0>::.ctor()
stloc.0
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method6<object>()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method5()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C15::Method5.4889()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method4()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C15::Method4.4887()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C15::Method7.4885<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C15::Method4.MI.4888()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C15::Method5.MI.4890()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C15::Method6.MI.4892<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass0>::ClassMethod3018<object>()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C818::ClassMethod3018.12543<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass0>::ClassMethod3017()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C818::ClassMethod3017.12542()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass0>::Method6<object>()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass0>::Method5()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C15::Method5.4889()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass0>::Method4()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C15::Method4.4887()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G2_C818`2<class BaseClass0,class BaseClass1>::.ctor()
stloc.0
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method6<object>()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method5()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C15::Method5.4889()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method4()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C15::Method4.4887()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C15::Method7.4885<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C15::Method7.MI.4886<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C15::Method4.MI.4888()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C15::Method5.MI.4890()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C15::Method6.MI.4892<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::ClassMethod3018<object>()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C818::ClassMethod3018.12543<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::ClassMethod3017()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C818::ClassMethod3017.12542()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method6<object>()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method5()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C15::Method5.4889()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method4()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C15::Method4.4887()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G2_C818`2<class BaseClass1,class BaseClass0>::.ctor()
stloc.0
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method6<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method5()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C15::Method5.4889()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method4()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C15::Method4.4887()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C15::Method7.4885<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C15::Method4.MI.4888()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C15::Method5.MI.4890()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C15::Method6.MI.4892<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass1,class BaseClass0>::ClassMethod3018<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C818::ClassMethod3018.12543<System.Object>()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass1,class BaseClass0>::ClassMethod3017()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C818::ClassMethod3017.12542()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass1,class BaseClass0>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass1,class BaseClass0>::Method6<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass1,class BaseClass0>::Method5()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C15::Method5.4889()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass1,class BaseClass0>::Method4()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C15::Method4.4887()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass0>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G2_C818`2<class BaseClass1,class BaseClass1>::.ctor()
stloc.0
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method6<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method5()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C15::Method5.4889()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method4()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C15::Method4.4887()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C15::Method7.4885<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C15::Method4.MI.4888()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C15::Method5.MI.4890()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C15::Method6.MI.4892<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass1,class BaseClass1>::ClassMethod3018<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C818::ClassMethod3018.12543<System.Object>()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass1,class BaseClass1>::ClassMethod3017()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C818::ClassMethod3017.12542()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass1,class BaseClass1>::Method6<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass1,class BaseClass1>::Method5()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C15::Method5.4889()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass1,class BaseClass1>::Method4()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C15::Method4.4887()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldstr "========================================================================\n\n"
call void [mscorlib]System.Console::WriteLine(string)
ret
}
.method public hidebysig static int32 Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 10
call void Generated1420::MethodCallingTest()
call void Generated1420::ConstrainedCallsTest()
call void Generated1420::StructConstrainedInterfaceCallsTest()
call void Generated1420::CalliTest()
ldc.i4 100
ret
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
.assembly extern mscorlib { .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) .ver 4:0:0:0 }
.assembly extern TestFramework { .publickeytoken = ( B0 3F 5F 7F 11 D5 0A 3A ) }
//TYPES IN FORWARDER ASSEMBLIES:
//TEST ASSEMBLY:
.assembly Generated1420 { .hash algorithm 0x00008004 }
.assembly extern xunit.core {}
.class public BaseClass0
{
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed {
ldarg.0
call instance void [mscorlib]System.Object::.ctor()
ret
}
}
.class public BaseClass1
extends BaseClass0
{
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed {
ldarg.0
call instance void BaseClass0::.ctor()
ret
}
}
.class public G3_C1892`1<T0>
extends class G2_C818`2<class BaseClass0,class BaseClass1>
implements class IBase2`2<class BaseClass0,class BaseClass0>
{
.method public hidebysig newslot virtual instance string Method7<M0>() cil managed noinlining {
ldstr "G3_C1892::Method7.18572<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string 'IBase2<class BaseClass0,class BaseClass0>.Method7'<M0>() cil managed noinlining {
.override method instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<[1]>()
ldstr "G3_C1892::Method7.MI.18573<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string ClassMethod5179() cil managed noinlining {
ldstr "G3_C1892::ClassMethod5179.18574()"
ret
}
.method public hidebysig newslot virtual instance string ClassMethod5180() cil managed noinlining {
ldstr "G3_C1892::ClassMethod5180.18575()"
ret
}
.method public hidebysig newslot virtual instance string ClassMethod5181<M0>() cil managed noinlining {
ldstr "G3_C1892::ClassMethod5181.18576<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string ClassMethod5182<M0>() cil managed noinlining {
ldstr "G3_C1892::ClassMethod5182.18577<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string 'G2_C818<class BaseClass0,class BaseClass1>.ClassMethod3017'() cil managed noinlining {
.override method instance string class G2_C818`2<class BaseClass0,class BaseClass1>::ClassMethod3017()
ldstr "G3_C1892::ClassMethod3017.MI.18578()"
ret
}
.method public hidebysig newslot virtual instance string 'G2_C818<class BaseClass0,class BaseClass1>.ClassMethod3018'<M0>() cil managed noinlining {
.override method instance string class G2_C818`2<class BaseClass0,class BaseClass1>::ClassMethod3018<[1]>()
ldstr "G3_C1892::ClassMethod3018.MI.18579<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed {
ldarg.0
call instance void class G2_C818`2<class BaseClass0,class BaseClass1>::.ctor()
ret
}
}
.class public G2_C818`2<T0, T1>
extends class G1_C15`2<class BaseClass0,!T1>
implements class IBase2`2<!T0,!T1>
{
.method public hidebysig newslot virtual instance string Method7<M0>() cil managed noinlining {
ldstr "G2_C818::Method7.12541<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string ClassMethod3017() cil managed noinlining {
ldstr "G2_C818::ClassMethod3017.12542()"
ret
}
.method public hidebysig newslot virtual instance string ClassMethod3018<M0>() cil managed noinlining {
ldstr "G2_C818::ClassMethod3018.12543<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed {
ldarg.0
call instance void class G1_C15`2<class BaseClass0,!T1>::.ctor()
ret
}
}
.class interface public abstract IBase2`2<+T0, -T1>
{
.method public hidebysig newslot abstract virtual instance string Method7<M0>() cil managed { }
}
.class public abstract G1_C15`2<T0, T1>
implements class IBase2`2<!T1,!T1>, class IBase1`1<class BaseClass0>
{
.method public hidebysig newslot virtual instance string Method7<M0>() cil managed noinlining {
ldstr "G1_C15::Method7.4885<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string 'IBase2<T1,T1>.Method7'<M0>() cil managed noinlining {
.override method instance string class IBase2`2<!T1,!T1>::Method7<[1]>()
ldstr "G1_C15::Method7.MI.4886<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig virtual instance string Method4() cil managed noinlining {
ldstr "G1_C15::Method4.4887()"
ret
}
.method public hidebysig newslot virtual instance string 'IBase1<class BaseClass0>.Method4'() cil managed noinlining {
.override method instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G1_C15::Method4.MI.4888()"
ret
}
.method public hidebysig virtual instance string Method5() cil managed noinlining {
ldstr "G1_C15::Method5.4889()"
ret
}
.method public hidebysig newslot virtual instance string 'IBase1<class BaseClass0>.Method5'() cil managed noinlining {
.override method instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G1_C15::Method5.MI.4890()"
ret
}
.method public hidebysig virtual instance string Method6<M0>() cil managed noinlining {
ldstr "G1_C15::Method6.4891<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string 'IBase1<class BaseClass0>.Method6'<M0>() cil managed noinlining {
.override method instance string class IBase1`1<class BaseClass0>::Method6<[1]>()
ldstr "G1_C15::Method6.MI.4892<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed {
ldarg.0
call instance void [mscorlib]System.Object::.ctor()
ret
}
}
.class interface public abstract IBase1`1<+T0>
{
.method public hidebysig newslot abstract virtual instance string Method4() cil managed { }
.method public hidebysig newslot abstract virtual instance string Method5() cil managed { }
.method public hidebysig newslot abstract virtual instance string Method6<M0>() cil managed { }
}
.class public auto ansi beforefieldinit Generated1420 {
.method static void M.BaseClass0<(BaseClass0)W>(!!W inst, string exp) cil managed {
.maxstack 5
.locals init (string[] actualResults)
ldc.i4.s 0
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.BaseClass0<(BaseClass0)W>(!!W inst, string exp)"
ldc.i4.s 0
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.BaseClass1<(BaseClass1)W>(!!W inst, string exp) cil managed {
.maxstack 5
.locals init (string[] actualResults)
ldc.i4.s 0
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.BaseClass1<(BaseClass1)W>(!!W inst, string exp)"
ldc.i4.s 0
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G3_C1892.T<T0,(class G3_C1892`1<!!T0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 15
.locals init (string[] actualResults)
ldc.i4.s 10
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G3_C1892.T<T0,(class G3_C1892`1<!!T0>)W>(!!W 'inst', string exp)"
ldc.i4.s 10
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<!!T0>::ClassMethod3017()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<!!T0>::ClassMethod3018<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<!!T0>::ClassMethod5179()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<!!T0>::ClassMethod5180()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<!!T0>::ClassMethod5181<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<!!T0>::ClassMethod5182<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<!!T0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<!!T0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 8
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<!!T0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 9
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<!!T0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G3_C1892.A<(class G3_C1892`1<class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 15
.locals init (string[] actualResults)
ldc.i4.s 10
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G3_C1892.A<(class G3_C1892`1<class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 10
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass0>::ClassMethod3017()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass0>::ClassMethod3018<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass0>::ClassMethod5179()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass0>::ClassMethod5180()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass0>::ClassMethod5181<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass0>::ClassMethod5182<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 8
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 9
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G3_C1892.B<(class G3_C1892`1<class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 15
.locals init (string[] actualResults)
ldc.i4.s 10
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G3_C1892.B<(class G3_C1892`1<class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 10
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass1>::ClassMethod3017()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass1>::ClassMethod3018<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass1>::ClassMethod5179()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass1>::ClassMethod5180()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass1>::ClassMethod5181<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass1>::ClassMethod5182<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 8
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 9
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1892`1<class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C818.T.T<T0,T1,(class G2_C818`2<!!T0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 11
.locals init (string[] actualResults)
ldc.i4.s 6
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C818.T.T<T0,T1,(class G2_C818`2<!!T0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 6
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<!!T0,!!T1>::ClassMethod3017()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<!!T0,!!T1>::ClassMethod3018<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<!!T0,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<!!T0,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<!!T0,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<!!T0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C818.A.T<T1,(class G2_C818`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 11
.locals init (string[] actualResults)
ldc.i4.s 6
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C818.A.T<T1,(class G2_C818`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 6
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,!!T1>::ClassMethod3017()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,!!T1>::ClassMethod3018<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C818.A.A<(class G2_C818`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 11
.locals init (string[] actualResults)
ldc.i4.s 6
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C818.A.A<(class G2_C818`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 6
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass0>::ClassMethod3017()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass0>::ClassMethod3018<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C818.A.B<(class G2_C818`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 11
.locals init (string[] actualResults)
ldc.i4.s 6
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C818.A.B<(class G2_C818`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 6
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::ClassMethod3017()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::ClassMethod3018<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C818.B.T<T1,(class G2_C818`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 11
.locals init (string[] actualResults)
ldc.i4.s 6
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C818.B.T<T1,(class G2_C818`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 6
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,!!T1>::ClassMethod3017()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,!!T1>::ClassMethod3018<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C818.B.A<(class G2_C818`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 11
.locals init (string[] actualResults)
ldc.i4.s 6
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C818.B.A<(class G2_C818`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 6
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass0>::ClassMethod3017()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass0>::ClassMethod3018<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C818.B.B<(class G2_C818`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 11
.locals init (string[] actualResults)
ldc.i4.s 6
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C818.B.B<(class G2_C818`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 6
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass1>::ClassMethod3017()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass1>::ClassMethod3018<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.T.T<T0,T1,(class IBase2`2<!!T0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.T.T<T0,T1,(class IBase2`2<!!T0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<!!T0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.A.T<T1,(class IBase2`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.A.T<T1,(class IBase2`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.A.A<(class IBase2`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.A.A<(class IBase2`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.A.B<(class IBase2`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.A.B<(class IBase2`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.B.T<T1,(class IBase2`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.B.T<T1,(class IBase2`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass1,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.B.A<(class IBase2`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.B.A<(class IBase2`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.B.B<(class IBase2`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.B.B<(class IBase2`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C15.T.T<T0,T1,(class G1_C15`2<!!T0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 9
.locals init (string[] actualResults)
ldc.i4.s 4
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C15.T.T<T0,T1,(class G1_C15`2<!!T0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 4
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<!!T0,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<!!T0,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<!!T0,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<!!T0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C15.A.T<T1,(class G1_C15`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 9
.locals init (string[] actualResults)
ldc.i4.s 4
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C15.A.T<T1,(class G1_C15`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 4
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass0,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass0,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass0,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C15.A.A<(class G1_C15`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 9
.locals init (string[] actualResults)
ldc.i4.s 4
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C15.A.A<(class G1_C15`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 4
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C15.A.B<(class G1_C15`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 9
.locals init (string[] actualResults)
ldc.i4.s 4
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C15.A.B<(class G1_C15`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 4
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C15.B.T<T1,(class G1_C15`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 9
.locals init (string[] actualResults)
ldc.i4.s 4
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C15.B.T<T1,(class G1_C15`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 4
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass1,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass1,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass1,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass1,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C15.B.A<(class G1_C15`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 9
.locals init (string[] actualResults)
ldc.i4.s 4
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C15.B.A<(class G1_C15`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 4
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass1,class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass1,class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass1,class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass1,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C15.B.B<(class G1_C15`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 9
.locals init (string[] actualResults)
ldc.i4.s 4
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C15.B.B<(class G1_C15`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 4
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass1,class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass1,class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass1,class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C15`2<class BaseClass1,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase1.T<T0,(class IBase1`1<!!T0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 8
.locals init (string[] actualResults)
ldc.i4.s 3
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase1.T<T0,(class IBase1`1<!!T0>)W>(!!W 'inst', string exp)"
ldc.i4.s 3
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<!!T0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<!!T0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<!!T0>::Method6<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase1.A<(class IBase1`1<class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 8
.locals init (string[] actualResults)
ldc.i4.s 3
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase1.A<(class IBase1`1<class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 3
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase1.B<(class IBase1`1<class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 8
.locals init (string[] actualResults)
ldc.i4.s 3
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase1.B<(class IBase1`1<class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 3
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method public hidebysig static void MethodCallingTest() cil managed
{
.maxstack 10
.locals init (object V_0)
ldstr "========================== Method Calling Test =========================="
call void [mscorlib]System.Console::WriteLine(string)
newobj instance void class G3_C1892`1<class BaseClass0>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method6<object>()
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method5()
ldstr "G1_C15::Method5.4889()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method4()
ldstr "G1_C15::Method4.4887()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G1_C15::Method7.4885<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G1_C15::Method7.MI.4886<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G1_C15::Method4.MI.4888()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G1_C15::Method5.MI.4890()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G1_C15::Method6.MI.4892<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G3_C1892::Method7.MI.18573<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::ClassMethod3018<object>()
ldstr "G3_C1892::ClassMethod3018.MI.18579<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::ClassMethod3017()
ldstr "G3_C1892::ClassMethod3017.MI.18578()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method6<object>()
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method5()
ldstr "G1_C15::Method5.4889()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method4()
ldstr "G1_C15::Method4.4887()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G3_C1892`1<class BaseClass0>
callvirt instance string class G3_C1892`1<class BaseClass0>::ClassMethod5182<object>()
ldstr "G3_C1892::ClassMethod5182.18577<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass0>
callvirt instance string class G3_C1892`1<class BaseClass0>::ClassMethod5181<object>()
ldstr "G3_C1892::ClassMethod5181.18576<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass0>
callvirt instance string class G3_C1892`1<class BaseClass0>::ClassMethod5180()
ldstr "G3_C1892::ClassMethod5180.18575()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass0>
callvirt instance string class G3_C1892`1<class BaseClass0>::ClassMethod5179()
ldstr "G3_C1892::ClassMethod5179.18574()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass0>
callvirt instance string class G3_C1892`1<class BaseClass0>::Method7<object>()
ldstr "G3_C1892::Method7.18572<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass0>
callvirt instance string class G3_C1892`1<class BaseClass0>::ClassMethod3018<object>()
ldstr "G3_C1892::ClassMethod3018.MI.18579<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass0>
callvirt instance string class G3_C1892`1<class BaseClass0>::ClassMethod3017()
ldstr "G3_C1892::ClassMethod3017.MI.18578()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass0>
callvirt instance string class G3_C1892`1<class BaseClass0>::Method6<object>()
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass0>
callvirt instance string class G3_C1892`1<class BaseClass0>::Method5()
ldstr "G1_C15::Method5.4889()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass0>
callvirt instance string class G3_C1892`1<class BaseClass0>::Method4()
ldstr "G1_C15::Method4.4887()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G3_C1892::Method7.MI.18573<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G3_C1892`1<class BaseClass1>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method6<object>()
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method5()
ldstr "G1_C15::Method5.4889()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method4()
ldstr "G1_C15::Method4.4887()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G1_C15::Method7.4885<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G1_C15::Method7.MI.4886<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G1_C15::Method4.MI.4888()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G1_C15::Method5.MI.4890()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G1_C15::Method6.MI.4892<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G3_C1892::Method7.MI.18573<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::ClassMethod3018<object>()
ldstr "G3_C1892::ClassMethod3018.MI.18579<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::ClassMethod3017()
ldstr "G3_C1892::ClassMethod3017.MI.18578()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method6<object>()
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method5()
ldstr "G1_C15::Method5.4889()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method4()
ldstr "G1_C15::Method4.4887()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G3_C1892`1<class BaseClass1>
callvirt instance string class G3_C1892`1<class BaseClass1>::ClassMethod5182<object>()
ldstr "G3_C1892::ClassMethod5182.18577<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass1>
callvirt instance string class G3_C1892`1<class BaseClass1>::ClassMethod5181<object>()
ldstr "G3_C1892::ClassMethod5181.18576<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass1>
callvirt instance string class G3_C1892`1<class BaseClass1>::ClassMethod5180()
ldstr "G3_C1892::ClassMethod5180.18575()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass1>
callvirt instance string class G3_C1892`1<class BaseClass1>::ClassMethod5179()
ldstr "G3_C1892::ClassMethod5179.18574()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass1>
callvirt instance string class G3_C1892`1<class BaseClass1>::Method7<object>()
ldstr "G3_C1892::Method7.18572<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass1>
callvirt instance string class G3_C1892`1<class BaseClass1>::ClassMethod3018<object>()
ldstr "G3_C1892::ClassMethod3018.MI.18579<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass1>
callvirt instance string class G3_C1892`1<class BaseClass1>::ClassMethod3017()
ldstr "G3_C1892::ClassMethod3017.MI.18578()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass1>
callvirt instance string class G3_C1892`1<class BaseClass1>::Method6<object>()
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass1>
callvirt instance string class G3_C1892`1<class BaseClass1>::Method5()
ldstr "G1_C15::Method5.4889()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1892`1<class BaseClass1>
callvirt instance string class G3_C1892`1<class BaseClass1>::Method4()
ldstr "G1_C15::Method4.4887()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G3_C1892::Method7.MI.18573<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G2_C818`2<class BaseClass0,class BaseClass0>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method6<object>()
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method5()
ldstr "G1_C15::Method5.4889()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method4()
ldstr "G1_C15::Method4.4887()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G1_C15::Method7.4885<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G1_C15::Method4.MI.4888()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G1_C15::Method5.MI.4890()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G1_C15::Method6.MI.4892<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass0>::ClassMethod3018<object>()
ldstr "G2_C818::ClassMethod3018.12543<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass0>::ClassMethod3017()
ldstr "G2_C818::ClassMethod3017.12542()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass0>::Method6<object>()
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass0>::Method5()
ldstr "G1_C15::Method5.4889()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass0>::Method4()
ldstr "G1_C15::Method4.4887()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G2_C818`2<class BaseClass0,class BaseClass1>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method6<object>()
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method5()
ldstr "G1_C15::Method5.4889()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method4()
ldstr "G1_C15::Method4.4887()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G1_C15::Method7.4885<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G1_C15::Method7.MI.4886<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G1_C15::Method4.MI.4888()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G1_C15::Method5.MI.4890()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G1_C15::Method6.MI.4892<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::ClassMethod3018<object>()
ldstr "G2_C818::ClassMethod3018.12543<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::ClassMethod3017()
ldstr "G2_C818::ClassMethod3017.12542()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method6<object>()
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method5()
ldstr "G1_C15::Method5.4889()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method4()
ldstr "G1_C15::Method4.4887()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G2_C818`2<class BaseClass1,class BaseClass0>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method6<object>()
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method5()
ldstr "G1_C15::Method5.4889()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method4()
ldstr "G1_C15::Method4.4887()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G1_C15::Method7.4885<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G1_C15::Method4.MI.4888()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G1_C15::Method5.MI.4890()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G1_C15::Method6.MI.4892<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C818`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass0>::ClassMethod3018<object>()
ldstr "G2_C818::ClassMethod3018.12543<System.Object>()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass0>::ClassMethod3017()
ldstr "G2_C818::ClassMethod3017.12542()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass0>::Method7<object>()
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass0>::Method6<object>()
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass0>::Method5()
ldstr "G1_C15::Method5.4889()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass0>::Method4()
ldstr "G1_C15::Method4.4887()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass0>::Method7<object>()
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G2_C818`2<class BaseClass1,class BaseClass1>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method6<object>()
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method5()
ldstr "G1_C15::Method5.4889()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method4()
ldstr "G1_C15::Method4.4887()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G1_C15::Method7.4885<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G1_C15::Method4.MI.4888()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G1_C15::Method5.MI.4890()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G1_C15::Method6.MI.4892<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C818`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass1>::ClassMethod3018<object>()
ldstr "G2_C818::ClassMethod3018.12543<System.Object>()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass1>::ClassMethod3017()
ldstr "G2_C818::ClassMethod3017.12542()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass1>::Method6<object>()
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass1>::Method5()
ldstr "G1_C15::Method5.4889()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C818`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C818`2<class BaseClass1,class BaseClass1>::Method4()
ldstr "G1_C15::Method4.4887()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldstr "========================================================================\n\n"
call void [mscorlib]System.Console::WriteLine(string)
ret
}
.method public hidebysig static void ConstrainedCallsTest() cil managed
{
.maxstack 10
.locals init (object V_0)
ldstr "========================== Constrained Calls Test =========================="
call void [mscorlib]System.Console::WriteLine(string)
newobj instance void class G3_C1892`1<class BaseClass0>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.T.T<class BaseClass0,class BaseClass1,class G3_C1892`1<class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.A.T<class BaseClass1,class G3_C1892`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.A.B<class G3_C1892`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C15::Method7.MI.4886<System.Object>()#"
call void Generated1420::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G3_C1892`1<class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C15::Method7.MI.4886<System.Object>()#"
call void Generated1420::M.IBase2.B.T<class BaseClass1,class G3_C1892`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C15::Method7.MI.4886<System.Object>()#"
call void Generated1420::M.IBase2.B.B<class G3_C1892`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C15::Method4.MI.4888()#G1_C15::Method5.MI.4890()#G1_C15::Method6.MI.4892<System.Object>()#"
call void Generated1420::M.IBase1.T<class BaseClass0,class G3_C1892`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C15::Method4.MI.4888()#G1_C15::Method5.MI.4890()#G1_C15::Method6.MI.4892<System.Object>()#"
call void Generated1420::M.IBase1.A<class G3_C1892`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G3_C1892::Method7.MI.18573<System.Object>()#"
call void Generated1420::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G3_C1892`1<class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G3_C1892::Method7.MI.18573<System.Object>()#"
call void Generated1420::M.IBase2.A.T<class BaseClass1,class G3_C1892`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G3_C1892::Method7.MI.18573<System.Object>()#"
call void Generated1420::M.IBase2.A.B<class G3_C1892`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G3_C1892::ClassMethod3017.MI.18578()#G3_C1892::ClassMethod3018.MI.18579<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.T.T<class BaseClass0,class BaseClass1,class G3_C1892`1<class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G3_C1892::ClassMethod3017.MI.18578()#G3_C1892::ClassMethod3018.MI.18579<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.A.T<class BaseClass1,class G3_C1892`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G3_C1892::ClassMethod3017.MI.18578()#G3_C1892::ClassMethod3018.MI.18579<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.A.B<class G3_C1892`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G3_C1892::ClassMethod3017.MI.18578()#G3_C1892::ClassMethod3018.MI.18579<System.Object>()#G3_C1892::ClassMethod5179.18574()#G3_C1892::ClassMethod5180.18575()#G3_C1892::ClassMethod5181.18576<System.Object>()#G3_C1892::ClassMethod5182.18577<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G3_C1892::Method7.18572<System.Object>()#"
call void Generated1420::M.G3_C1892.T<class BaseClass0,class G3_C1892`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G3_C1892::ClassMethod3017.MI.18578()#G3_C1892::ClassMethod3018.MI.18579<System.Object>()#G3_C1892::ClassMethod5179.18574()#G3_C1892::ClassMethod5180.18575()#G3_C1892::ClassMethod5181.18576<System.Object>()#G3_C1892::ClassMethod5182.18577<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G3_C1892::Method7.18572<System.Object>()#"
call void Generated1420::M.G3_C1892.A<class G3_C1892`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G3_C1892::Method7.MI.18573<System.Object>()#"
call void Generated1420::M.IBase2.T.T<class BaseClass0,class BaseClass0,class G3_C1892`1<class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G3_C1892::Method7.MI.18573<System.Object>()#"
call void Generated1420::M.IBase2.A.T<class BaseClass0,class G3_C1892`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G3_C1892::Method7.MI.18573<System.Object>()#"
call void Generated1420::M.IBase2.A.A<class G3_C1892`1<class BaseClass0>>(!!0,string)
newobj instance void class G3_C1892`1<class BaseClass1>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.T.T<class BaseClass0,class BaseClass1,class G3_C1892`1<class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.A.T<class BaseClass1,class G3_C1892`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.A.B<class G3_C1892`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C15::Method7.MI.4886<System.Object>()#"
call void Generated1420::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G3_C1892`1<class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C15::Method7.MI.4886<System.Object>()#"
call void Generated1420::M.IBase2.B.T<class BaseClass1,class G3_C1892`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C15::Method7.MI.4886<System.Object>()#"
call void Generated1420::M.IBase2.B.B<class G3_C1892`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C15::Method4.MI.4888()#G1_C15::Method5.MI.4890()#G1_C15::Method6.MI.4892<System.Object>()#"
call void Generated1420::M.IBase1.T<class BaseClass0,class G3_C1892`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C15::Method4.MI.4888()#G1_C15::Method5.MI.4890()#G1_C15::Method6.MI.4892<System.Object>()#"
call void Generated1420::M.IBase1.A<class G3_C1892`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G3_C1892::Method7.MI.18573<System.Object>()#"
call void Generated1420::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G3_C1892`1<class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G3_C1892::Method7.MI.18573<System.Object>()#"
call void Generated1420::M.IBase2.A.T<class BaseClass1,class G3_C1892`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G3_C1892::Method7.MI.18573<System.Object>()#"
call void Generated1420::M.IBase2.A.B<class G3_C1892`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G3_C1892::ClassMethod3017.MI.18578()#G3_C1892::ClassMethod3018.MI.18579<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.T.T<class BaseClass0,class BaseClass1,class G3_C1892`1<class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G3_C1892::ClassMethod3017.MI.18578()#G3_C1892::ClassMethod3018.MI.18579<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.A.T<class BaseClass1,class G3_C1892`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G3_C1892::ClassMethod3017.MI.18578()#G3_C1892::ClassMethod3018.MI.18579<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.A.B<class G3_C1892`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G3_C1892::ClassMethod3017.MI.18578()#G3_C1892::ClassMethod3018.MI.18579<System.Object>()#G3_C1892::ClassMethod5179.18574()#G3_C1892::ClassMethod5180.18575()#G3_C1892::ClassMethod5181.18576<System.Object>()#G3_C1892::ClassMethod5182.18577<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G3_C1892::Method7.18572<System.Object>()#"
call void Generated1420::M.G3_C1892.T<class BaseClass1,class G3_C1892`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G3_C1892::ClassMethod3017.MI.18578()#G3_C1892::ClassMethod3018.MI.18579<System.Object>()#G3_C1892::ClassMethod5179.18574()#G3_C1892::ClassMethod5180.18575()#G3_C1892::ClassMethod5181.18576<System.Object>()#G3_C1892::ClassMethod5182.18577<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G3_C1892::Method7.18572<System.Object>()#"
call void Generated1420::M.G3_C1892.B<class G3_C1892`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G3_C1892::Method7.MI.18573<System.Object>()#"
call void Generated1420::M.IBase2.T.T<class BaseClass0,class BaseClass0,class G3_C1892`1<class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G3_C1892::Method7.MI.18573<System.Object>()#"
call void Generated1420::M.IBase2.A.T<class BaseClass0,class G3_C1892`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G3_C1892::Method7.MI.18573<System.Object>()#"
call void Generated1420::M.IBase2.A.A<class G3_C1892`1<class BaseClass1>>(!!0,string)
newobj instance void class G2_C818`2<class BaseClass0,class BaseClass0>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.T.T<class BaseClass0,class BaseClass0,class G2_C818`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.A.T<class BaseClass0,class G2_C818`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.A.A<class G2_C818`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.T.T<class BaseClass0,class BaseClass0,class G2_C818`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.A.T<class BaseClass0,class G2_C818`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.A.A<class G2_C818`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C15::Method4.MI.4888()#G1_C15::Method5.MI.4890()#G1_C15::Method6.MI.4892<System.Object>()#"
call void Generated1420::M.IBase1.T<class BaseClass0,class G2_C818`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C15::Method4.MI.4888()#G1_C15::Method5.MI.4890()#G1_C15::Method6.MI.4892<System.Object>()#"
call void Generated1420::M.IBase1.A<class G2_C818`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G2_C818`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.A.T<class BaseClass1,class G2_C818`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.A.B<class G2_C818`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C818::ClassMethod3017.12542()#G2_C818::ClassMethod3018.12543<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.T.T<class BaseClass0,class BaseClass0,class G2_C818`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C818::ClassMethod3017.12542()#G2_C818::ClassMethod3018.12543<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.A.T<class BaseClass0,class G2_C818`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C818::ClassMethod3017.12542()#G2_C818::ClassMethod3018.12543<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.A.A<class G2_C818`2<class BaseClass0,class BaseClass0>>(!!0,string)
newobj instance void class G2_C818`2<class BaseClass0,class BaseClass1>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.T.T<class BaseClass0,class BaseClass1,class G2_C818`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.A.T<class BaseClass1,class G2_C818`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.A.B<class G2_C818`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C15::Method7.MI.4886<System.Object>()#"
call void Generated1420::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G2_C818`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C15::Method7.MI.4886<System.Object>()#"
call void Generated1420::M.IBase2.B.T<class BaseClass1,class G2_C818`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C15::Method7.MI.4886<System.Object>()#"
call void Generated1420::M.IBase2.B.B<class G2_C818`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C15::Method4.MI.4888()#G1_C15::Method5.MI.4890()#G1_C15::Method6.MI.4892<System.Object>()#"
call void Generated1420::M.IBase1.T<class BaseClass0,class G2_C818`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C15::Method4.MI.4888()#G1_C15::Method5.MI.4890()#G1_C15::Method6.MI.4892<System.Object>()#"
call void Generated1420::M.IBase1.A<class G2_C818`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G2_C818`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.A.T<class BaseClass1,class G2_C818`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.A.B<class G2_C818`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C818::ClassMethod3017.12542()#G2_C818::ClassMethod3018.12543<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.T.T<class BaseClass0,class BaseClass1,class G2_C818`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C818::ClassMethod3017.12542()#G2_C818::ClassMethod3018.12543<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.A.T<class BaseClass1,class G2_C818`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C818::ClassMethod3017.12542()#G2_C818::ClassMethod3018.12543<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.A.B<class G2_C818`2<class BaseClass0,class BaseClass1>>(!!0,string)
newobj instance void class G2_C818`2<class BaseClass1,class BaseClass0>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.T.T<class BaseClass0,class BaseClass0,class G2_C818`2<class BaseClass1,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.A.T<class BaseClass0,class G2_C818`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.A.A<class G2_C818`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.T.T<class BaseClass0,class BaseClass0,class G2_C818`2<class BaseClass1,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.A.T<class BaseClass0,class G2_C818`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.A.A<class G2_C818`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C15::Method4.MI.4888()#G1_C15::Method5.MI.4890()#G1_C15::Method6.MI.4892<System.Object>()#"
call void Generated1420::M.IBase1.T<class BaseClass0,class G2_C818`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C15::Method4.MI.4888()#G1_C15::Method5.MI.4890()#G1_C15::Method6.MI.4892<System.Object>()#"
call void Generated1420::M.IBase1.A<class G2_C818`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G2_C818`2<class BaseClass1,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.A.T<class BaseClass1,class G2_C818`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.A.B<class G2_C818`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C818::ClassMethod3017.12542()#G2_C818::ClassMethod3018.12543<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.T.T<class BaseClass1,class BaseClass0,class G2_C818`2<class BaseClass1,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C818::ClassMethod3017.12542()#G2_C818::ClassMethod3018.12543<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.B.T<class BaseClass0,class G2_C818`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C818::ClassMethod3017.12542()#G2_C818::ClassMethod3018.12543<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.B.A<class G2_C818`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.T.T<class BaseClass1,class BaseClass0,class G2_C818`2<class BaseClass1,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.B.T<class BaseClass0,class G2_C818`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.B.A<class G2_C818`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G2_C818`2<class BaseClass1,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.B.T<class BaseClass1,class G2_C818`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.B.B<class G2_C818`2<class BaseClass1,class BaseClass0>>(!!0,string)
newobj instance void class G2_C818`2<class BaseClass1,class BaseClass1>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.T.T<class BaseClass0,class BaseClass1,class G2_C818`2<class BaseClass1,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.A.T<class BaseClass1,class G2_C818`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G1_C15::Method7.4885<System.Object>()#"
call void Generated1420::M.G1_C15.A.B<class G2_C818`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G2_C818`2<class BaseClass1,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.B.T<class BaseClass1,class G2_C818`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.B.B<class G2_C818`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C15::Method4.MI.4888()#G1_C15::Method5.MI.4890()#G1_C15::Method6.MI.4892<System.Object>()#"
call void Generated1420::M.IBase1.T<class BaseClass0,class G2_C818`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C15::Method4.MI.4888()#G1_C15::Method5.MI.4890()#G1_C15::Method6.MI.4892<System.Object>()#"
call void Generated1420::M.IBase1.A<class G2_C818`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G2_C818`2<class BaseClass1,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.A.T<class BaseClass1,class G2_C818`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.IBase2.A.B<class G2_C818`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C818::ClassMethod3017.12542()#G2_C818::ClassMethod3018.12543<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.T.T<class BaseClass1,class BaseClass1,class G2_C818`2<class BaseClass1,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C818::ClassMethod3017.12542()#G2_C818::ClassMethod3018.12543<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.B.T<class BaseClass1,class G2_C818`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C818::ClassMethod3017.12542()#G2_C818::ClassMethod3018.12543<System.Object>()#G1_C15::Method4.4887()#G1_C15::Method5.4889()#G1_C15::Method6.4891<System.Object>()#G2_C818::Method7.12541<System.Object>()#"
call void Generated1420::M.G2_C818.B.B<class G2_C818`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldstr "========================================================================\n\n"
call void [mscorlib]System.Console::WriteLine(string)
ret
}
.method public hidebysig static void StructConstrainedInterfaceCallsTest() cil managed
{
.maxstack 10
ldstr "===================== Struct Constrained Interface Calls Test ====================="
call void [mscorlib]System.Console::WriteLine(string)
ldstr "========================================================================\n\n"
call void [mscorlib]System.Console::WriteLine(string)
ret
}
.method public hidebysig static void CalliTest() cil managed
{
.maxstack 10
.locals init (object V_0)
ldstr "========================== Method Calli Test =========================="
call void [mscorlib]System.Console::WriteLine(string)
newobj instance void class G3_C1892`1<class BaseClass0>::.ctor()
stloc.0
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method6<object>()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method5()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G1_C15::Method5.4889()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method4()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G1_C15::Method4.4887()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G1_C15::Method7.4885<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G1_C15::Method7.MI.4886<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G1_C15::Method4.MI.4888()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G1_C15::Method5.MI.4890()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G1_C15::Method6.MI.4892<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G3_C1892::Method7.MI.18573<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::ClassMethod3018<object>()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G3_C1892::ClassMethod3018.MI.18579<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::ClassMethod3017()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G3_C1892::ClassMethod3017.MI.18578()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method6<object>()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method5()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G1_C15::Method5.4889()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method4()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G1_C15::Method4.4887()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass0>::ClassMethod5182<object>()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G3_C1892::ClassMethod5182.18577<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass0>::ClassMethod5181<object>()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G3_C1892::ClassMethod5181.18576<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass0>::ClassMethod5180()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G3_C1892::ClassMethod5180.18575()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass0>::ClassMethod5179()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G3_C1892::ClassMethod5179.18574()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass0>::Method7<object>()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G3_C1892::Method7.18572<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass0>::ClassMethod3018<object>()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G3_C1892::ClassMethod3018.MI.18579<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass0>::ClassMethod3017()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G3_C1892::ClassMethod3017.MI.18578()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass0>::Method6<object>()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass0>::Method5()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G1_C15::Method5.4889()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass0>::Method4()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G1_C15::Method4.4887()"
ldstr "class G3_C1892`1<class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G3_C1892`1<class BaseClass0>)
ldstr "G3_C1892::Method7.MI.18573<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G3_C1892`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G3_C1892`1<class BaseClass1>::.ctor()
stloc.0
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method6<object>()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method5()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G1_C15::Method5.4889()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method4()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G1_C15::Method4.4887()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G1_C15::Method7.4885<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G1_C15::Method7.MI.4886<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G1_C15::Method4.MI.4888()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G1_C15::Method5.MI.4890()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G1_C15::Method6.MI.4892<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G3_C1892::Method7.MI.18573<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::ClassMethod3018<object>()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G3_C1892::ClassMethod3018.MI.18579<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::ClassMethod3017()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G3_C1892::ClassMethod3017.MI.18578()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method6<object>()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method5()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G1_C15::Method5.4889()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method4()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G1_C15::Method4.4887()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass1>::ClassMethod5182<object>()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G3_C1892::ClassMethod5182.18577<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass1>::ClassMethod5181<object>()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G3_C1892::ClassMethod5181.18576<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass1>::ClassMethod5180()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G3_C1892::ClassMethod5180.18575()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass1>::ClassMethod5179()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G3_C1892::ClassMethod5179.18574()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass1>::Method7<object>()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G3_C1892::Method7.18572<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass1>::ClassMethod3018<object>()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G3_C1892::ClassMethod3018.MI.18579<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass1>::ClassMethod3017()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G3_C1892::ClassMethod3017.MI.18578()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass1>::Method6<object>()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass1>::Method5()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G1_C15::Method5.4889()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1892`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1892`1<class BaseClass1>::Method4()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G1_C15::Method4.4887()"
ldstr "class G3_C1892`1<class BaseClass1> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G3_C1892`1<class BaseClass1>)
ldstr "G3_C1892::Method7.MI.18573<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G3_C1892`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G2_C818`2<class BaseClass0,class BaseClass0>::.ctor()
stloc.0
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method6<object>()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method5()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C15::Method5.4889()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method4()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C15::Method4.4887()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C15::Method7.4885<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C15::Method4.MI.4888()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C15::Method5.MI.4890()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C15::Method6.MI.4892<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass0>::ClassMethod3018<object>()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C818::ClassMethod3018.12543<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass0>::ClassMethod3017()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C818::ClassMethod3017.12542()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass0>::Method6<object>()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass0>::Method5()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C15::Method5.4889()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass0>::Method4()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C15::Method4.4887()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G2_C818`2<class BaseClass0,class BaseClass1>::.ctor()
stloc.0
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method6<object>()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method5()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C15::Method5.4889()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method4()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C15::Method4.4887()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C15::Method7.4885<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C15::Method7.MI.4886<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C15::Method4.MI.4888()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C15::Method5.MI.4890()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C15::Method6.MI.4892<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::ClassMethod3018<object>()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C818::ClassMethod3018.12543<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::ClassMethod3017()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C818::ClassMethod3017.12542()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method6<object>()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method5()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C15::Method5.4889()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass0,class BaseClass1>::Method4()
calli default string(class G2_C818`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C15::Method4.4887()"
ldstr "class G2_C818`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G2_C818`2<class BaseClass1,class BaseClass0>::.ctor()
stloc.0
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method6<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method5()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C15::Method5.4889()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method4()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C15::Method4.4887()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C15::Method7.4885<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C15::Method4.MI.4888()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C15::Method5.MI.4890()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C15::Method6.MI.4892<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass1,class BaseClass0>::ClassMethod3018<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C818::ClassMethod3018.12543<System.Object>()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass1,class BaseClass0>::ClassMethod3017()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C818::ClassMethod3017.12542()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass1,class BaseClass0>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass1,class BaseClass0>::Method6<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass1,class BaseClass0>::Method5()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C15::Method5.4889()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass1,class BaseClass0>::Method4()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C15::Method4.4887()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass0>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G2_C818`2<class BaseClass1,class BaseClass1>::.ctor()
stloc.0
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method6<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method5()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C15::Method5.4889()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method4()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C15::Method4.4887()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C15`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C15`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C15::Method7.4885<System.Object>()"
ldstr "class G1_C15`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C15::Method4.MI.4888()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C15::Method5.MI.4890()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C15::Method6.MI.4892<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass1,class BaseClass1>::ClassMethod3018<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C818::ClassMethod3018.12543<System.Object>()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass1,class BaseClass1>::ClassMethod3017()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C818::ClassMethod3017.12542()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C818::Method7.12541<System.Object>()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass1,class BaseClass1>::Method6<object>()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C15::Method6.4891<System.Object>()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass1,class BaseClass1>::Method5()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C15::Method5.4889()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C818`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C818`2<class BaseClass1,class BaseClass1>::Method4()
calli default string(class G2_C818`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C15::Method4.4887()"
ldstr "class G2_C818`2<class BaseClass1,class BaseClass1> on type class G2_C818`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldstr "========================================================================\n\n"
call void [mscorlib]System.Console::WriteLine(string)
ret
}
.method public hidebysig static int32 Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 10
call void Generated1420::MethodCallingTest()
call void Generated1420::ConstrainedCallsTest()
call void Generated1420::StructConstrainedInterfaceCallsTest()
call void Generated1420::CalliTest()
ldc.i4 100
ret
}
}
| -1 |
dotnet/runtime | 65,915 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer | Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | elinor-fung | "2022-02-26T01:42:58Z" | "2022-03-01T00:57:47Z" | b4c746b7712e887af066d66d1ec777be6283f6f9 | d9eafd0c55ff7c3d7804c7629baf271703df91a6 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer. Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | ./src/libraries/System.Net.HttpListener/tests/HttpListenerTests.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Net.Http;
using System.Net.Sockets;
using System.Security.Authentication.ExtendedProtection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace System.Net.Tests
{
[ActiveIssue("https://github.com/dotnet/runtime/issues/2391", TestRuntimes.Mono)]
[ConditionalClass(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoServer))] // httpsys component missing in Nano.
public class HttpListenerTests
{
[Fact]
public void IgnoreWriteExceptions_SetDisposed_ThrowsObjectDisposedException()
{
var listener = new HttpListener();
listener.Close();
Assert.Throws<ObjectDisposedException>(() => listener.IgnoreWriteExceptions = false);
}
[Fact]
public void Stop_Disposed_ThrowsObjectDisposedException()
{
var listener = new HttpListener();
listener.Close();
Assert.Throws<ObjectDisposedException>(() => listener.Stop());
}
[Fact]
public void IsListening_NotStarted_ReturnsFalse()
{
using (var listener = new HttpListener())
{
Assert.False(listener.IsListening);
}
}
[Fact]
public void IsListening_Disposed_ReturnsFalse()
{
var listener = new HttpListener();
listener.Close();
Assert.False(listener.IsListening);
listener.Close();
Assert.False(listener.IsListening);
}
[Fact]
public void IsListening_Aborted_ReturnsFalse()
{
var listener = new HttpListener();
listener.Abort();
Assert.False(listener.IsListening);
listener.Abort();
Assert.False(listener.IsListening);
}
[Fact]
public void IsListening_Stopped_ReturnsFalse()
{
var listener = new HttpListener();
listener.Stop();
Assert.False(listener.IsListening);
listener.Stop();
Assert.False(listener.IsListening);
}
[Fact]
public void Start_Disposed_ThrowsObjectDisposedException()
{
var listener = new HttpListener();
listener.Close();
Assert.Throws<ObjectDisposedException>(() => listener.Start());
}
[Fact]
public void GetContext_Disposed_ThrowsObjectDisposedException()
{
var listener = new HttpListener();
listener.Close();
Assert.Throws<ObjectDisposedException>(() => listener.GetContext());
Assert.Throws<ObjectDisposedException>(() => listener.BeginGetContext(null, null));
}
[Fact]
public void GetContext_NotStarted_ThrowsInvalidOperationException()
{
using (var listener = new HttpListener())
{
Assert.Throws<InvalidOperationException>(() => listener.GetContext());
Assert.Throws<InvalidOperationException>(() => listener.BeginGetContext(null, null));
}
}
[Fact]
public void GetContext_NoPrefixes_ThrowsInvalidOperationException()
{
using (var listener = new HttpListener())
{
listener.Start();
Assert.Throws<InvalidOperationException>(() => listener.GetContext());
listener.BeginGetContext(null, null);
}
}
[Fact]
public void EndGetContext_NullAsyncResult_ThrowsArgumentNullException()
{
using (var listener = new HttpListener())
{
AssertExtensions.Throws<ArgumentNullException>("asyncResult", () => listener.EndGetContext(null));
}
}
[Fact]
public void EndGetContext_InvalidAsyncResult_ThrowsArgumentException()
{
using (var listener1 = new HttpListener())
using (var listener2 = new HttpListener())
{
listener1.Start();
listener2.Start();
IAsyncResult beginGetContextResult = listener1.BeginGetContext(null, null);
AssertExtensions.Throws<ArgumentException>("asyncResult", () => listener2.EndGetContext(new CustomAsyncResult()));
AssertExtensions.Throws<ArgumentException>("asyncResult", () => listener2.EndGetContext(beginGetContextResult));
}
}
[Fact]
public void EndGetContext_AlreadyCalled_ThrowsInvalidOperationException()
{
using (var listenerFactory = new HttpListenerFactory())
using (var client = new HttpClient())
{
HttpListener listener = listenerFactory.GetListener();
listener.Start();
_ = client.GetStringAsync(listenerFactory.ListeningUrl);
IAsyncResult beginGetContextResult = listener.BeginGetContext(null, null);
listener.EndGetContext(beginGetContextResult);
Assert.Throws<InvalidOperationException>(() => listener.EndGetContext(beginGetContextResult));
}
}
[Fact]
[OuterLoop]
public async Task GetContext_StopIsCalled_GetContextUnblocked()
{
using var listenerFactory = new HttpListenerFactory();
var listener = listenerFactory.GetListener();
listener.Start();
var listenerTask = Task.Run(() => Assert.Throws<HttpListenerException>(() => listener.GetContext()));
await Task.Delay(1000); // Wait for listenerTask to call GetContext.
listener.Stop();
listener.Close();
await listenerTask.WaitAsync(TimeSpan.FromSeconds(10));
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Net.Http;
using System.Net.Sockets;
using System.Security.Authentication.ExtendedProtection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace System.Net.Tests
{
[ActiveIssue("https://github.com/dotnet/runtime/issues/2391", TestRuntimes.Mono)]
[ConditionalClass(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoServer))] // httpsys component missing in Nano.
public class HttpListenerTests
{
[Fact]
public void IgnoreWriteExceptions_SetDisposed_ThrowsObjectDisposedException()
{
var listener = new HttpListener();
listener.Close();
Assert.Throws<ObjectDisposedException>(() => listener.IgnoreWriteExceptions = false);
}
[Fact]
public void Stop_Disposed_ThrowsObjectDisposedException()
{
var listener = new HttpListener();
listener.Close();
Assert.Throws<ObjectDisposedException>(() => listener.Stop());
}
[Fact]
public void IsListening_NotStarted_ReturnsFalse()
{
using (var listener = new HttpListener())
{
Assert.False(listener.IsListening);
}
}
[Fact]
public void IsListening_Disposed_ReturnsFalse()
{
var listener = new HttpListener();
listener.Close();
Assert.False(listener.IsListening);
listener.Close();
Assert.False(listener.IsListening);
}
[Fact]
public void IsListening_Aborted_ReturnsFalse()
{
var listener = new HttpListener();
listener.Abort();
Assert.False(listener.IsListening);
listener.Abort();
Assert.False(listener.IsListening);
}
[Fact]
public void IsListening_Stopped_ReturnsFalse()
{
var listener = new HttpListener();
listener.Stop();
Assert.False(listener.IsListening);
listener.Stop();
Assert.False(listener.IsListening);
}
[Fact]
public void Start_Disposed_ThrowsObjectDisposedException()
{
var listener = new HttpListener();
listener.Close();
Assert.Throws<ObjectDisposedException>(() => listener.Start());
}
[Fact]
public void GetContext_Disposed_ThrowsObjectDisposedException()
{
var listener = new HttpListener();
listener.Close();
Assert.Throws<ObjectDisposedException>(() => listener.GetContext());
Assert.Throws<ObjectDisposedException>(() => listener.BeginGetContext(null, null));
}
[Fact]
public void GetContext_NotStarted_ThrowsInvalidOperationException()
{
using (var listener = new HttpListener())
{
Assert.Throws<InvalidOperationException>(() => listener.GetContext());
Assert.Throws<InvalidOperationException>(() => listener.BeginGetContext(null, null));
}
}
[Fact]
public void GetContext_NoPrefixes_ThrowsInvalidOperationException()
{
using (var listener = new HttpListener())
{
listener.Start();
Assert.Throws<InvalidOperationException>(() => listener.GetContext());
listener.BeginGetContext(null, null);
}
}
[Fact]
public void EndGetContext_NullAsyncResult_ThrowsArgumentNullException()
{
using (var listener = new HttpListener())
{
AssertExtensions.Throws<ArgumentNullException>("asyncResult", () => listener.EndGetContext(null));
}
}
[Fact]
public void EndGetContext_InvalidAsyncResult_ThrowsArgumentException()
{
using (var listener1 = new HttpListener())
using (var listener2 = new HttpListener())
{
listener1.Start();
listener2.Start();
IAsyncResult beginGetContextResult = listener1.BeginGetContext(null, null);
AssertExtensions.Throws<ArgumentException>("asyncResult", () => listener2.EndGetContext(new CustomAsyncResult()));
AssertExtensions.Throws<ArgumentException>("asyncResult", () => listener2.EndGetContext(beginGetContextResult));
}
}
[Fact]
public void EndGetContext_AlreadyCalled_ThrowsInvalidOperationException()
{
using (var listenerFactory = new HttpListenerFactory())
using (var client = new HttpClient())
{
HttpListener listener = listenerFactory.GetListener();
listener.Start();
_ = client.GetStringAsync(listenerFactory.ListeningUrl);
IAsyncResult beginGetContextResult = listener.BeginGetContext(null, null);
listener.EndGetContext(beginGetContextResult);
Assert.Throws<InvalidOperationException>(() => listener.EndGetContext(beginGetContextResult));
}
}
[Fact]
[OuterLoop]
public async Task GetContext_StopIsCalled_GetContextUnblocked()
{
using var listenerFactory = new HttpListenerFactory();
var listener = listenerFactory.GetListener();
listener.Start();
var listenerTask = Task.Run(() => Assert.Throws<HttpListenerException>(() => listener.GetContext()));
await Task.Delay(1000); // Wait for listenerTask to call GetContext.
listener.Stop();
listener.Close();
await listenerTask.WaitAsync(TimeSpan.FromSeconds(10));
}
}
}
| -1 |
dotnet/runtime | 65,915 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer | Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | elinor-fung | "2022-02-26T01:42:58Z" | "2022-03-01T00:57:47Z" | b4c746b7712e887af066d66d1ec777be6283f6f9 | d9eafd0c55ff7c3d7804c7629baf271703df91a6 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer. Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | ./src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/NoMetadataBlockingPolicy.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Internal.TypeSystem;
using Internal.TypeSystem.Ecma;
namespace ILCompiler
{
/// <summary>
/// Represents a metadata blocking policy that doesn't block any metadata.
/// </summary>
public sealed class NoMetadataBlockingPolicy : MetadataBlockingPolicy
{
public override bool IsBlocked(MetadataType type) => !(type is EcmaType);
public override bool IsBlocked(FieldDesc field) => !(field is EcmaField);
private MetadataType _arrayOfTType;
private MetadataType InitializeArrayOfTType(TypeSystemEntity contextEntity)
{
_arrayOfTType = contextEntity.Context.SystemModule.GetType("System", "Array`1");
return _arrayOfTType;
}
private MetadataType GetArrayOfTType(TypeSystemEntity contextEntity)
{
if (_arrayOfTType != null)
{
return _arrayOfTType;
}
return InitializeArrayOfTType(contextEntity);
}
public override bool IsBlocked(MethodDesc method)
{
if (method is EcmaMethod ecmaMethod)
{
// Methods on Array`1<T> are implementation details that implement the generic interfaces on
// arrays. They should not generate metadata or be reflection invokable.
// We can get rid of this special casing if we make these methods stop being regular EcmaMethods
// with Array<T> as their owning type
if (ecmaMethod.OwningType == GetArrayOfTType(ecmaMethod))
return true;
return false;
}
return true;
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Internal.TypeSystem;
using Internal.TypeSystem.Ecma;
namespace ILCompiler
{
/// <summary>
/// Represents a metadata blocking policy that doesn't block any metadata.
/// </summary>
public sealed class NoMetadataBlockingPolicy : MetadataBlockingPolicy
{
public override bool IsBlocked(MetadataType type) => !(type is EcmaType);
public override bool IsBlocked(FieldDesc field) => !(field is EcmaField);
private MetadataType _arrayOfTType;
private MetadataType InitializeArrayOfTType(TypeSystemEntity contextEntity)
{
_arrayOfTType = contextEntity.Context.SystemModule.GetType("System", "Array`1");
return _arrayOfTType;
}
private MetadataType GetArrayOfTType(TypeSystemEntity contextEntity)
{
if (_arrayOfTType != null)
{
return _arrayOfTType;
}
return InitializeArrayOfTType(contextEntity);
}
public override bool IsBlocked(MethodDesc method)
{
if (method is EcmaMethod ecmaMethod)
{
// Methods on Array`1<T> are implementation details that implement the generic interfaces on
// arrays. They should not generate metadata or be reflection invokable.
// We can get rid of this special casing if we make these methods stop being regular EcmaMethods
// with Array<T> as their owning type
if (ecmaMethod.OwningType == GetArrayOfTType(ecmaMethod))
return true;
return false;
}
return true;
}
}
}
| -1 |
dotnet/runtime | 65,915 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer | Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | elinor-fung | "2022-02-26T01:42:58Z" | "2022-03-01T00:57:47Z" | b4c746b7712e887af066d66d1ec777be6283f6f9 | d9eafd0c55ff7c3d7804c7629baf271703df91a6 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer. Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | ./src/libraries/System.Private.Xml/tests/Xslt/TestFiles/TestData/XsltApi/AddParameterFA2.xsl |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" omit-xml-declaration="yes" />
<xsl:variable name="param1" select="'default global'"/>
<xsl:template match="/">
<xsl:call-template name="Test" />
</xsl:template>
<xsl:template name="Test">
<xsl:variable name="param1"/>
<result><xsl:value-of select="$param1" /></result>
</xsl:template>
</xsl:stylesheet> |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" omit-xml-declaration="yes" />
<xsl:variable name="param1" select="'default global'"/>
<xsl:template match="/">
<xsl:call-template name="Test" />
</xsl:template>
<xsl:template name="Test">
<xsl:variable name="param1"/>
<result><xsl:value-of select="$param1" /></result>
</xsl:template>
</xsl:stylesheet> | -1 |
dotnet/runtime | 65,915 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer | Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | elinor-fung | "2022-02-26T01:42:58Z" | "2022-03-01T00:57:47Z" | b4c746b7712e887af066d66d1ec777be6283f6f9 | d9eafd0c55ff7c3d7804c7629baf271703df91a6 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer. Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | ./src/coreclr/inc/gcinfo.h | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// ******************************************************************************
// WARNING!!!: These values are used by SOS in the diagnostics repo. Values should
// added or removed in a backwards and forwards compatible way.
// See: https://github.com/dotnet/diagnostics/blob/master/src/inc/gcinfo.h
// ******************************************************************************
/*****************************************************************************/
#ifndef _GCINFO_H_
#define _GCINFO_H_
/*****************************************************************************/
#include "daccess.h"
#include "windef.h" // For BYTE
// Some declarations in this file are used on non-x86 platforms, but most are x86-specific.
// Use the lower 2 bits of the offsets stored in the tables
// to encode properties
const unsigned OFFSET_MASK = 0x3; // mask to access the low 2 bits
//
// Note for untracked locals the flags allowed are "pinned" and "byref"
// and for tracked locals the flags allowed are "this" and "byref"
// Note that these definitions should also match the definitions of
// GC_CALL_INTERIOR and GC_CALL_PINNED in VM/gc.h
//
const unsigned byref_OFFSET_FLAG = 0x1; // the offset is an interior ptr
const unsigned pinned_OFFSET_FLAG = 0x2; // the offset is a pinned ptr
#if !defined(TARGET_X86) || !defined(FEATURE_EH_FUNCLETS)
const unsigned this_OFFSET_FLAG = 0x2; // the offset is "this"
#endif
//-----------------------------------------------------------------------------
// The current GCInfo Version
//-----------------------------------------------------------------------------
#define GCINFO_VERSION 2
//-----------------------------------------------------------------------------
// GCInfoToken: A wrapper that contains the GcInfo data and version number.
//
// The version# is not stored in the GcInfo structure -- because it is
// wasteful to store the version once for every method.
// Instead, the version# istracked per range-section of generated/loaded methods.
//
// The GCInfo version is computed as :
// 1) The current GCINFO_VERSION for JITted and Ngened images
// 2) A function of the Ready - to - run major version stored in READYTORUN_HEADER
// for ready - to - run images.ReadyToRunJitManager::JitTokenToGCInfoVersion()
// provides the GcInfo version for any Method.
//-----------------------------------------------------------------------------
struct GCInfoToken
{
PTR_VOID Info;
UINT32 Version;
static UINT32 ReadyToRunVersionToGcInfoVersion(UINT32 readyToRunMajorVersion)
{
// GcInfo version is current from ReadyToRun version 2.0
return GCINFO_VERSION;
}
};
/*****************************************************************************/
#endif //_GCINFO_H_
/*****************************************************************************/
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// ******************************************************************************
// WARNING!!!: These values are used by SOS in the diagnostics repo. Values should
// added or removed in a backwards and forwards compatible way.
// See: https://github.com/dotnet/diagnostics/blob/master/src/inc/gcinfo.h
// ******************************************************************************
/*****************************************************************************/
#ifndef _GCINFO_H_
#define _GCINFO_H_
/*****************************************************************************/
#include "daccess.h"
#include "windef.h" // For BYTE
// Some declarations in this file are used on non-x86 platforms, but most are x86-specific.
// Use the lower 2 bits of the offsets stored in the tables
// to encode properties
const unsigned OFFSET_MASK = 0x3; // mask to access the low 2 bits
//
// Note for untracked locals the flags allowed are "pinned" and "byref"
// and for tracked locals the flags allowed are "this" and "byref"
// Note that these definitions should also match the definitions of
// GC_CALL_INTERIOR and GC_CALL_PINNED in VM/gc.h
//
const unsigned byref_OFFSET_FLAG = 0x1; // the offset is an interior ptr
const unsigned pinned_OFFSET_FLAG = 0x2; // the offset is a pinned ptr
#if !defined(TARGET_X86) || !defined(FEATURE_EH_FUNCLETS)
const unsigned this_OFFSET_FLAG = 0x2; // the offset is "this"
#endif
//-----------------------------------------------------------------------------
// The current GCInfo Version
//-----------------------------------------------------------------------------
#define GCINFO_VERSION 2
//-----------------------------------------------------------------------------
// GCInfoToken: A wrapper that contains the GcInfo data and version number.
//
// The version# is not stored in the GcInfo structure -- because it is
// wasteful to store the version once for every method.
// Instead, the version# istracked per range-section of generated/loaded methods.
//
// The GCInfo version is computed as :
// 1) The current GCINFO_VERSION for JITted and Ngened images
// 2) A function of the Ready - to - run major version stored in READYTORUN_HEADER
// for ready - to - run images.ReadyToRunJitManager::JitTokenToGCInfoVersion()
// provides the GcInfo version for any Method.
//-----------------------------------------------------------------------------
struct GCInfoToken
{
PTR_VOID Info;
UINT32 Version;
static UINT32 ReadyToRunVersionToGcInfoVersion(UINT32 readyToRunMajorVersion)
{
// GcInfo version is current from ReadyToRun version 2.0
return GCINFO_VERSION;
}
};
/*****************************************************************************/
#endif //_GCINFO_H_
/*****************************************************************************/
| -1 |
dotnet/runtime | 65,915 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer | Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | elinor-fung | "2022-02-26T01:42:58Z" | "2022-03-01T00:57:47Z" | b4c746b7712e887af066d66d1ec777be6283f6f9 | d9eafd0c55ff7c3d7804c7629baf271703df91a6 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer. Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | ./src/coreclr/pal/src/libunwind/tests/ia64-test-rbs-asm.S | /* libunwind - a platform-independent unwind library
Copyright (C) 2003 Hewlett-Packard Co
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
This file is part of libunwind.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "ia64-test-rbs.h"
.common stackmem, NSTACKS*STACK_SIZE, 16
.text
#define SAVED_SP_OFF 0
#define SAVED_RP_OFF 8
#define SAVED_PFS_OFF 16
#define SAVED_RNAT_OFF 24
#define SAVED_BSP_OFF 32
#define SAVED_BSPSTORE_OFF 40
#define FRAME_SIZE 48
#define SPILL(n) \
/* int rbs_spill_#n(long iteration, int (*next_func[])()) */ \
.globl rbs_spill_##n; \
.proc rbs_spill_##n; \
rbs_spill_##n: \
.prologue; \
alloc r18 = ar.pfs, 2, (n)-2, 2, 0;/* read ar.pfs */ \
/* first, calculate address of new stack: */ \
addl r2 = @ltoff(stackmem), gp; \
add r8 = 1, in0; \
;; \
ld8 r2 = [r2]; /* r2 = &stackmem */ \
shl r3 = in0, STACK_SIZE_SHIFT; \
shladd r8 = r8, 3, in1; /* r8 = &next_func[iteration+1] */ \
;; \
ld8 r8 = [r8]; /* r8 = next_func[iteration+1] */ \
add r2 = r2, r3; /* r2 = stackmem[iteration] */ \
;; \
ld8 r9 = [r8], 8;; /* r9 = target's entry-point */ \
ld8 gp = [r8]; /* r22 = target's gp */ \
addl r3 = STACK_SIZE-FRAME_SIZE, r2; /* r3 = &stackframe */ \
;; \
mov b6 = r9; \
st8 [r3] = sp; \
.vframesp SAVED_SP_OFF+16; \
adds sp = -16, r3; /* switch the memory stack */ \
;; \
adds r3 = (SAVED_RP_OFF - SAVED_SP_OFF), r3; \
mov r16 = rp; \
;; \
.savesp rp, SAVED_RP_OFF+16; \
st8 [r3] = r16, (SAVED_PFS_OFF - SAVED_RP_OFF); \
;; \
.savesp ar.pfs, SAVED_PFS_OFF+16; \
st8 [r3] = r18, (SAVED_BSP_OFF - SAVED_PFS_OFF); \
mov r16 = ar.bsp; \
mov r17 = ar.bspstore; \
mov r18 = ar.rnat; \
;; \
.savesp ar.bsp, SAVED_BSP_OFF+16; \
st8 [r3] = r16, (SAVED_BSPSTORE_OFF - SAVED_BSP_OFF); \
;; \
.savesp ar.bspstore, SAVED_BSPSTORE_OFF+16; \
st8 [r3] = r17, (SAVED_RNAT_OFF - SAVED_BSPSTORE_OFF); \
mov out1 = in1; \
;; \
.savesp ar.rnat, SAVED_RNAT_OFF+16; \
st8 [r3] = r18; \
.body; \
mov ar.bspstore = r2; /* switch the backing store */ \
adds out0 = 1, in0; \
;; \
br.call.sptk.many rp = b6; \
1: /* switch back to stack: */ \
adds r3 = SAVED_SP_OFF+16, sp; \
cmp.ge p8, p0 = r8, r0; \
;; \
(p8) add r8 = 1, r8; \
ld8 r16 = [r3], (SAVED_RP_OFF-SAVED_SP_OFF);; /* saved sp */ \
ld8 r17 = [r3], (SAVED_PFS_OFF-SAVED_RP_OFF);; /* saved rp */ \
ld8 r18 = [r3], (SAVED_RNAT_OFF-SAVED_PFS_OFF);;/* saved pfs */ \
ld8 r19 = [r3], (SAVED_BSP_OFF-SAVED_RNAT_OFF);;/* saved rnat */ \
ld8 r20 = [r3], (SAVED_BSPSTORE_OFF-SAVED_BSP_OFF);;/* saved bsp */ \
ld8 r21 = [r3];; /* saved bspstore */ \
mov rp = r17; \
mov ar.pfs = r18; \
shl r3 = in0, STACK_SIZE_SHIFT; \
addl r2 = @ltoff(stackmem), gp;; \
ld8 r2 = [r2];; /* r2 = &stackmem */ \
add r2 = r2, r3; /* r2 = stackmem[iteration] */ \
mov r3 = ar.bsp;; \
sub r2 = r3, r2;; /* r2 = dirty_size */ \
shl r2 = r2, 16;; \
mov ar.rsc = r2;; \
alloc r3 = ar.pfs, 0, 0, 0, 0;; \
loadrs;; \
mov ar.bspstore = r21;; /* this also restores ar.bsp */ \
mov ar.rnat = r19; \
.restore sp; \
mov sp = r16; \
br.ret.sptk.many rp; \
.endp rbs_spill_##n
SPILL(2); SPILL(3)
SPILL(4); SPILL(5); SPILL(6); SPILL(7)
SPILL(8); SPILL(9); SPILL(10); SPILL(11)
SPILL(12); SPILL(13); SPILL(14); SPILL(15)
SPILL(16); SPILL(17); SPILL(18); SPILL(19)
SPILL(20); SPILL(21); SPILL(22); SPILL(23)
SPILL(24); SPILL(25); SPILL(26); SPILL(27)
SPILL(28); SPILL(29); SPILL(30); SPILL(31)
SPILL(32); SPILL(33); SPILL(34); SPILL(35)
SPILL(36); SPILL(37); SPILL(38); SPILL(39)
SPILL(40); SPILL(41); SPILL(42); SPILL(43)
SPILL(44); SPILL(45); SPILL(46); SPILL(47)
SPILL(48); SPILL(49); SPILL(50); SPILL(51)
SPILL(52); SPILL(53); SPILL(54); SPILL(55)
SPILL(56); SPILL(57); SPILL(58); SPILL(59)
SPILL(60); SPILL(61); SPILL(62); SPILL(63)
SPILL(64); SPILL(65); SPILL(66); SPILL(67)
SPILL(68); SPILL(69); SPILL(70); SPILL(71)
SPILL(72); SPILL(73); SPILL(74); SPILL(75)
SPILL(76); SPILL(77); SPILL(78); SPILL(79)
SPILL(80); SPILL(81); SPILL(82); SPILL(83)
SPILL(84); SPILL(85); SPILL(86); SPILL(87)
SPILL(88); SPILL(89); SPILL(90); SPILL(91)
SPILL(92); SPILL(93); SPILL(94)
#define LD_LOC(n) \
ld4 loc##n = [in1], 4;; \
cmp.eq p8, p9 = r0, loc##n;; \
(p9) or loc##n = loc##n, r8; \
(p8) ld4.s loc##n = [r0]
#define CK_LOC(n) \
ld4 r16 = [in1], 4;; \
cmp.eq p8, p9 = r0, r16; \
or r16 = r16, r9;; \
(p8) tnat.z p10, p0 = loc##n; \
(p9) cmp.ne p10, p0 = r16, loc##n; \
;; \
(p10) mov r8 = -n; \
(p10) br.cond.spnt.many .fail
/* int loadup(long iteration, int *values, next_func[]) */
.global loadup
.proc loadup
loadup:
.prologue
.save ar.pfs, r36
alloc loc1 = ar.pfs, 3, 90, 3, 0
.save rp, loc0
mov loc0 = rp
.body
cmp.eq p6, p7 = 1, in0
;;
mov ar.rsc = 0 // put RSE into enforced lazy mode
(p6) mov out1 = in2
(p7) mov out2 = in2
(p6) ld8 r17 = [in2] // get address of function descriptor
(p7) add out0 = -1, in0
(p7) mov out1 = in1
;;
(p6) ld8 r16 = [r17], 8 // load entry point
shl r8 = in0, 32 // store iteration # in top 32 bits
mov r18 = in1
;;
(p6) ld8 r1 = [r17] // load gp
(p6) mov b6 = r16
(p6) mov out0 = 0
;;
LD_LOC( 2); LD_LOC( 3)
LD_LOC( 4); LD_LOC( 5); LD_LOC( 6); LD_LOC( 7)
LD_LOC( 8); LD_LOC( 9); LD_LOC(10); LD_LOC(11)
LD_LOC(12); LD_LOC(13); LD_LOC(14); LD_LOC(15)
LD_LOC(16); LD_LOC(17); LD_LOC(18); LD_LOC(19)
LD_LOC(20); LD_LOC(21); LD_LOC(22); LD_LOC(23)
LD_LOC(24); LD_LOC(25); LD_LOC(26); LD_LOC(27)
LD_LOC(28); LD_LOC(29); LD_LOC(30); LD_LOC(31)
LD_LOC(32); LD_LOC(33); LD_LOC(34); LD_LOC(35)
LD_LOC(36); LD_LOC(37); LD_LOC(38); LD_LOC(39)
LD_LOC(40); LD_LOC(41); LD_LOC(42); LD_LOC(43)
LD_LOC(44); LD_LOC(45); LD_LOC(46); LD_LOC(47)
LD_LOC(48); LD_LOC(49); LD_LOC(50); LD_LOC(51)
LD_LOC(52); LD_LOC(53); LD_LOC(54); LD_LOC(55)
LD_LOC(56); LD_LOC(57); LD_LOC(58); LD_LOC(59)
LD_LOC(60); LD_LOC(61); LD_LOC(62); LD_LOC(63)
LD_LOC(64); LD_LOC(65); LD_LOC(66); LD_LOC(67)
LD_LOC(68); LD_LOC(69); LD_LOC(70); LD_LOC(71)
LD_LOC(72); LD_LOC(73); LD_LOC(74); LD_LOC(75)
LD_LOC(76); LD_LOC(77); LD_LOC(78); LD_LOC(79)
LD_LOC(80); LD_LOC(81); LD_LOC(82); LD_LOC(83)
LD_LOC(84); LD_LOC(85); LD_LOC(86); LD_LOC(87)
LD_LOC(88); LD_LOC(89)
;;
{ .mbb
mov in1 = r18
(p6) br.call.sptk.many rp = b6
(p7) br.call.sptk.many rp = loadup
}
cmp.lt p8, p9 = r8, r0
shl r9 = in0, 32 // store iteration # in top 32 bits
(p8) br.cond.spnt.few .fail
;;
add r8 = 1, r8
CK_LOC( 2); CK_LOC( 3)
CK_LOC( 4); CK_LOC( 5); CK_LOC( 6); CK_LOC( 7)
CK_LOC( 8); CK_LOC( 9); CK_LOC(10); CK_LOC(11)
CK_LOC(12); CK_LOC(13); CK_LOC(14); CK_LOC(15)
CK_LOC(16); CK_LOC(17); CK_LOC(18); CK_LOC(19)
CK_LOC(20); CK_LOC(21); CK_LOC(22); CK_LOC(23)
CK_LOC(24); CK_LOC(25); CK_LOC(26); CK_LOC(27)
CK_LOC(28); CK_LOC(29); CK_LOC(30); CK_LOC(31)
CK_LOC(32); CK_LOC(33); CK_LOC(34); CK_LOC(35)
CK_LOC(36); CK_LOC(37); CK_LOC(38); CK_LOC(39)
CK_LOC(40); CK_LOC(41); CK_LOC(42); CK_LOC(43)
CK_LOC(44); CK_LOC(45); CK_LOC(46); CK_LOC(47)
CK_LOC(48); CK_LOC(49); CK_LOC(50); CK_LOC(51)
CK_LOC(52); CK_LOC(53); CK_LOC(54); CK_LOC(55)
CK_LOC(56); CK_LOC(57); CK_LOC(58); CK_LOC(59)
CK_LOC(60); CK_LOC(61); CK_LOC(62); CK_LOC(63)
CK_LOC(64); CK_LOC(65); CK_LOC(66); CK_LOC(67)
CK_LOC(68); CK_LOC(69); CK_LOC(70); CK_LOC(71)
CK_LOC(72); CK_LOC(73); CK_LOC(74); CK_LOC(75)
CK_LOC(76); CK_LOC(77); CK_LOC(78); CK_LOC(79)
CK_LOC(80); CK_LOC(81); CK_LOC(82); CK_LOC(83)
CK_LOC(84); CK_LOC(85); CK_LOC(86); CK_LOC(87)
CK_LOC(88); CK_LOC(89)
.fail:
mov rp = loc0
mov ar.pfs = loc1
br.ret.sptk.many rp
.endp loadup
.global resumption_point_label
.proc resumption_point
resumption_point:
resumption_point_label:
.prologue
.save rp, r16
.save ar.pfs, r0
.body
mov r8 = r15
mov b6 = r16
;;
br.cond.sptk.many b6
.endp resumption_point
#ifdef __linux__
/* We do not need executable stack. */
.section .note.GNU-stack,"",@progbits
#endif
| /* libunwind - a platform-independent unwind library
Copyright (C) 2003 Hewlett-Packard Co
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
This file is part of libunwind.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "ia64-test-rbs.h"
.common stackmem, NSTACKS*STACK_SIZE, 16
.text
#define SAVED_SP_OFF 0
#define SAVED_RP_OFF 8
#define SAVED_PFS_OFF 16
#define SAVED_RNAT_OFF 24
#define SAVED_BSP_OFF 32
#define SAVED_BSPSTORE_OFF 40
#define FRAME_SIZE 48
#define SPILL(n) \
/* int rbs_spill_#n(long iteration, int (*next_func[])()) */ \
.globl rbs_spill_##n; \
.proc rbs_spill_##n; \
rbs_spill_##n: \
.prologue; \
alloc r18 = ar.pfs, 2, (n)-2, 2, 0;/* read ar.pfs */ \
/* first, calculate address of new stack: */ \
addl r2 = @ltoff(stackmem), gp; \
add r8 = 1, in0; \
;; \
ld8 r2 = [r2]; /* r2 = &stackmem */ \
shl r3 = in0, STACK_SIZE_SHIFT; \
shladd r8 = r8, 3, in1; /* r8 = &next_func[iteration+1] */ \
;; \
ld8 r8 = [r8]; /* r8 = next_func[iteration+1] */ \
add r2 = r2, r3; /* r2 = stackmem[iteration] */ \
;; \
ld8 r9 = [r8], 8;; /* r9 = target's entry-point */ \
ld8 gp = [r8]; /* r22 = target's gp */ \
addl r3 = STACK_SIZE-FRAME_SIZE, r2; /* r3 = &stackframe */ \
;; \
mov b6 = r9; \
st8 [r3] = sp; \
.vframesp SAVED_SP_OFF+16; \
adds sp = -16, r3; /* switch the memory stack */ \
;; \
adds r3 = (SAVED_RP_OFF - SAVED_SP_OFF), r3; \
mov r16 = rp; \
;; \
.savesp rp, SAVED_RP_OFF+16; \
st8 [r3] = r16, (SAVED_PFS_OFF - SAVED_RP_OFF); \
;; \
.savesp ar.pfs, SAVED_PFS_OFF+16; \
st8 [r3] = r18, (SAVED_BSP_OFF - SAVED_PFS_OFF); \
mov r16 = ar.bsp; \
mov r17 = ar.bspstore; \
mov r18 = ar.rnat; \
;; \
.savesp ar.bsp, SAVED_BSP_OFF+16; \
st8 [r3] = r16, (SAVED_BSPSTORE_OFF - SAVED_BSP_OFF); \
;; \
.savesp ar.bspstore, SAVED_BSPSTORE_OFF+16; \
st8 [r3] = r17, (SAVED_RNAT_OFF - SAVED_BSPSTORE_OFF); \
mov out1 = in1; \
;; \
.savesp ar.rnat, SAVED_RNAT_OFF+16; \
st8 [r3] = r18; \
.body; \
mov ar.bspstore = r2; /* switch the backing store */ \
adds out0 = 1, in0; \
;; \
br.call.sptk.many rp = b6; \
1: /* switch back to stack: */ \
adds r3 = SAVED_SP_OFF+16, sp; \
cmp.ge p8, p0 = r8, r0; \
;; \
(p8) add r8 = 1, r8; \
ld8 r16 = [r3], (SAVED_RP_OFF-SAVED_SP_OFF);; /* saved sp */ \
ld8 r17 = [r3], (SAVED_PFS_OFF-SAVED_RP_OFF);; /* saved rp */ \
ld8 r18 = [r3], (SAVED_RNAT_OFF-SAVED_PFS_OFF);;/* saved pfs */ \
ld8 r19 = [r3], (SAVED_BSP_OFF-SAVED_RNAT_OFF);;/* saved rnat */ \
ld8 r20 = [r3], (SAVED_BSPSTORE_OFF-SAVED_BSP_OFF);;/* saved bsp */ \
ld8 r21 = [r3];; /* saved bspstore */ \
mov rp = r17; \
mov ar.pfs = r18; \
shl r3 = in0, STACK_SIZE_SHIFT; \
addl r2 = @ltoff(stackmem), gp;; \
ld8 r2 = [r2];; /* r2 = &stackmem */ \
add r2 = r2, r3; /* r2 = stackmem[iteration] */ \
mov r3 = ar.bsp;; \
sub r2 = r3, r2;; /* r2 = dirty_size */ \
shl r2 = r2, 16;; \
mov ar.rsc = r2;; \
alloc r3 = ar.pfs, 0, 0, 0, 0;; \
loadrs;; \
mov ar.bspstore = r21;; /* this also restores ar.bsp */ \
mov ar.rnat = r19; \
.restore sp; \
mov sp = r16; \
br.ret.sptk.many rp; \
.endp rbs_spill_##n
SPILL(2); SPILL(3)
SPILL(4); SPILL(5); SPILL(6); SPILL(7)
SPILL(8); SPILL(9); SPILL(10); SPILL(11)
SPILL(12); SPILL(13); SPILL(14); SPILL(15)
SPILL(16); SPILL(17); SPILL(18); SPILL(19)
SPILL(20); SPILL(21); SPILL(22); SPILL(23)
SPILL(24); SPILL(25); SPILL(26); SPILL(27)
SPILL(28); SPILL(29); SPILL(30); SPILL(31)
SPILL(32); SPILL(33); SPILL(34); SPILL(35)
SPILL(36); SPILL(37); SPILL(38); SPILL(39)
SPILL(40); SPILL(41); SPILL(42); SPILL(43)
SPILL(44); SPILL(45); SPILL(46); SPILL(47)
SPILL(48); SPILL(49); SPILL(50); SPILL(51)
SPILL(52); SPILL(53); SPILL(54); SPILL(55)
SPILL(56); SPILL(57); SPILL(58); SPILL(59)
SPILL(60); SPILL(61); SPILL(62); SPILL(63)
SPILL(64); SPILL(65); SPILL(66); SPILL(67)
SPILL(68); SPILL(69); SPILL(70); SPILL(71)
SPILL(72); SPILL(73); SPILL(74); SPILL(75)
SPILL(76); SPILL(77); SPILL(78); SPILL(79)
SPILL(80); SPILL(81); SPILL(82); SPILL(83)
SPILL(84); SPILL(85); SPILL(86); SPILL(87)
SPILL(88); SPILL(89); SPILL(90); SPILL(91)
SPILL(92); SPILL(93); SPILL(94)
#define LD_LOC(n) \
ld4 loc##n = [in1], 4;; \
cmp.eq p8, p9 = r0, loc##n;; \
(p9) or loc##n = loc##n, r8; \
(p8) ld4.s loc##n = [r0]
#define CK_LOC(n) \
ld4 r16 = [in1], 4;; \
cmp.eq p8, p9 = r0, r16; \
or r16 = r16, r9;; \
(p8) tnat.z p10, p0 = loc##n; \
(p9) cmp.ne p10, p0 = r16, loc##n; \
;; \
(p10) mov r8 = -n; \
(p10) br.cond.spnt.many .fail
/* int loadup(long iteration, int *values, next_func[]) */
.global loadup
.proc loadup
loadup:
.prologue
.save ar.pfs, r36
alloc loc1 = ar.pfs, 3, 90, 3, 0
.save rp, loc0
mov loc0 = rp
.body
cmp.eq p6, p7 = 1, in0
;;
mov ar.rsc = 0 // put RSE into enforced lazy mode
(p6) mov out1 = in2
(p7) mov out2 = in2
(p6) ld8 r17 = [in2] // get address of function descriptor
(p7) add out0 = -1, in0
(p7) mov out1 = in1
;;
(p6) ld8 r16 = [r17], 8 // load entry point
shl r8 = in0, 32 // store iteration # in top 32 bits
mov r18 = in1
;;
(p6) ld8 r1 = [r17] // load gp
(p6) mov b6 = r16
(p6) mov out0 = 0
;;
LD_LOC( 2); LD_LOC( 3)
LD_LOC( 4); LD_LOC( 5); LD_LOC( 6); LD_LOC( 7)
LD_LOC( 8); LD_LOC( 9); LD_LOC(10); LD_LOC(11)
LD_LOC(12); LD_LOC(13); LD_LOC(14); LD_LOC(15)
LD_LOC(16); LD_LOC(17); LD_LOC(18); LD_LOC(19)
LD_LOC(20); LD_LOC(21); LD_LOC(22); LD_LOC(23)
LD_LOC(24); LD_LOC(25); LD_LOC(26); LD_LOC(27)
LD_LOC(28); LD_LOC(29); LD_LOC(30); LD_LOC(31)
LD_LOC(32); LD_LOC(33); LD_LOC(34); LD_LOC(35)
LD_LOC(36); LD_LOC(37); LD_LOC(38); LD_LOC(39)
LD_LOC(40); LD_LOC(41); LD_LOC(42); LD_LOC(43)
LD_LOC(44); LD_LOC(45); LD_LOC(46); LD_LOC(47)
LD_LOC(48); LD_LOC(49); LD_LOC(50); LD_LOC(51)
LD_LOC(52); LD_LOC(53); LD_LOC(54); LD_LOC(55)
LD_LOC(56); LD_LOC(57); LD_LOC(58); LD_LOC(59)
LD_LOC(60); LD_LOC(61); LD_LOC(62); LD_LOC(63)
LD_LOC(64); LD_LOC(65); LD_LOC(66); LD_LOC(67)
LD_LOC(68); LD_LOC(69); LD_LOC(70); LD_LOC(71)
LD_LOC(72); LD_LOC(73); LD_LOC(74); LD_LOC(75)
LD_LOC(76); LD_LOC(77); LD_LOC(78); LD_LOC(79)
LD_LOC(80); LD_LOC(81); LD_LOC(82); LD_LOC(83)
LD_LOC(84); LD_LOC(85); LD_LOC(86); LD_LOC(87)
LD_LOC(88); LD_LOC(89)
;;
{ .mbb
mov in1 = r18
(p6) br.call.sptk.many rp = b6
(p7) br.call.sptk.many rp = loadup
}
cmp.lt p8, p9 = r8, r0
shl r9 = in0, 32 // store iteration # in top 32 bits
(p8) br.cond.spnt.few .fail
;;
add r8 = 1, r8
CK_LOC( 2); CK_LOC( 3)
CK_LOC( 4); CK_LOC( 5); CK_LOC( 6); CK_LOC( 7)
CK_LOC( 8); CK_LOC( 9); CK_LOC(10); CK_LOC(11)
CK_LOC(12); CK_LOC(13); CK_LOC(14); CK_LOC(15)
CK_LOC(16); CK_LOC(17); CK_LOC(18); CK_LOC(19)
CK_LOC(20); CK_LOC(21); CK_LOC(22); CK_LOC(23)
CK_LOC(24); CK_LOC(25); CK_LOC(26); CK_LOC(27)
CK_LOC(28); CK_LOC(29); CK_LOC(30); CK_LOC(31)
CK_LOC(32); CK_LOC(33); CK_LOC(34); CK_LOC(35)
CK_LOC(36); CK_LOC(37); CK_LOC(38); CK_LOC(39)
CK_LOC(40); CK_LOC(41); CK_LOC(42); CK_LOC(43)
CK_LOC(44); CK_LOC(45); CK_LOC(46); CK_LOC(47)
CK_LOC(48); CK_LOC(49); CK_LOC(50); CK_LOC(51)
CK_LOC(52); CK_LOC(53); CK_LOC(54); CK_LOC(55)
CK_LOC(56); CK_LOC(57); CK_LOC(58); CK_LOC(59)
CK_LOC(60); CK_LOC(61); CK_LOC(62); CK_LOC(63)
CK_LOC(64); CK_LOC(65); CK_LOC(66); CK_LOC(67)
CK_LOC(68); CK_LOC(69); CK_LOC(70); CK_LOC(71)
CK_LOC(72); CK_LOC(73); CK_LOC(74); CK_LOC(75)
CK_LOC(76); CK_LOC(77); CK_LOC(78); CK_LOC(79)
CK_LOC(80); CK_LOC(81); CK_LOC(82); CK_LOC(83)
CK_LOC(84); CK_LOC(85); CK_LOC(86); CK_LOC(87)
CK_LOC(88); CK_LOC(89)
.fail:
mov rp = loc0
mov ar.pfs = loc1
br.ret.sptk.many rp
.endp loadup
.global resumption_point_label
.proc resumption_point
resumption_point:
resumption_point_label:
.prologue
.save rp, r16
.save ar.pfs, r0
.body
mov r8 = r15
mov b6 = r16
;;
br.cond.sptk.many b6
.endp resumption_point
#ifdef __linux__
/* We do not need executable stack. */
.section .note.GNU-stack,"",@progbits
#endif
| -1 |
dotnet/runtime | 65,915 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer | Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | elinor-fung | "2022-02-26T01:42:58Z" | "2022-03-01T00:57:47Z" | b4c746b7712e887af066d66d1ec777be6283f6f9 | d9eafd0c55ff7c3d7804c7629baf271703df91a6 | Move diagnostics for invalid `GeneratedDllImportAttribute` usage to generator instead of analyzer. Make the generator emit a diagnostic for any methods marked `GeneratedDllImport` that it is going to ignore. We had diagnostics in a separate analyzer (in the same DLL), but that could be turned off independently from the generator - this makes it so that invalid usage issues can't be missed.
Fixes https://github.com/dotnet/runtime/issues/62700 | ./src/tests/Loader/classloader/TypeGeneratorTests/TypeGeneratorTest527/Generated527.ilproj | <Project Sdk="Microsoft.NET.Sdk.IL">
<PropertyGroup>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<ItemGroup>
<Compile Include="Generated527.il" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\TestFramework\TestFramework.csproj" />
</ItemGroup>
</Project>
| <Project Sdk="Microsoft.NET.Sdk.IL">
<PropertyGroup>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<ItemGroup>
<Compile Include="Generated527.il" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\TestFramework\TestFramework.csproj" />
</ItemGroup>
</Project>
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/coreclr/tools/ILVerification/ILVerifyTypeSystemContext.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Reflection.Metadata;
using System.Reflection.PortableExecutable;
using Internal.IL;
using Internal.TypeSystem;
using Internal.TypeSystem.Ecma;
namespace ILVerify
{
class ILVerifyTypeSystemContext : MetadataTypeSystemContext
{
internal readonly IResolver _resolver;
private RuntimeInterfacesAlgorithm _arrayOfTRuntimeInterfacesAlgorithm;
private MetadataRuntimeInterfacesAlgorithm _metadataRuntimeInterfacesAlgorithm = new MetadataRuntimeInterfacesAlgorithm();
private MetadataVirtualMethodAlgorithm _metadataVirtualMethodAlgorithm = new MetadataVirtualMethodAlgorithm();
private readonly Dictionary<PEReader, EcmaModule> _modulesCache = new Dictionary<PEReader, EcmaModule>();
public ILVerifyTypeSystemContext(IResolver resolver)
{
_resolver = resolver;
}
public override ModuleDesc ResolveAssembly(AssemblyName name, bool throwIfNotFound = true)
{
// Note: we use simple names instead of full names to resolve, because we can't get a full name from an assembly without reading it
string simpleName = name.Name;
return ResolveAssemblyOrNetmodule(simpleName, simpleName, null, throwIfNotFound);
}
internal override ModuleDesc ResolveModule(IAssemblyDesc referencingModule, string fileName, bool throwIfNotFound = true)
{
// Referenced modules are stored without their extension (see CommandLineHelpers.cs), so we have to drop
// the extension here as well to find a match.
string simpleName = Path.GetFileNameWithoutExtension(fileName);
// The referencing module is not getting verified currently.
// However, netmodules are resolved in the context of assembly, not in the global context.
EcmaModule module = ResolveAssemblyOrNetmodule(simpleName, fileName, referencingModule as IAssemblyDesc, throwIfNotFound);
if (module.MetadataReader.IsAssembly)
{
throw new VerifierException($"The module '{fileName}' is not expected to be an assembly");
}
return module;
}
private EcmaModule ResolveAssemblyOrNetmodule(string simpleName, string verificationName, IAssemblyDesc containingAssembly, bool throwIfNotFound)
{
PEReader peReader = _resolver.Resolve(simpleName);
if (peReader == null)
{
if (throwIfNotFound)
throw new VerifierException("Assembly or module not found: " + simpleName);
return null;
}
var module = GetModule(peReader, containingAssembly);
VerifyModuleName(verificationName, module);
return module;
}
private static void VerifyModuleName(string simpleName, EcmaModule module)
{
MetadataReader metadataReader = module.MetadataReader;
StringHandle nameHandle = metadataReader.IsAssembly
? metadataReader.GetAssemblyDefinition().Name
: metadataReader.GetModuleDefinition().Name;
string actualSimpleName = metadataReader.GetString(nameHandle);
if (!actualSimpleName.Equals(simpleName, StringComparison.OrdinalIgnoreCase))
{
throw new VerifierException($"Actual PE name '{actualSimpleName}' does not match provided name '{simpleName}'");
}
}
protected override RuntimeInterfacesAlgorithm GetRuntimeInterfacesAlgorithmForNonPointerArrayType(ArrayType type)
{
if (_arrayOfTRuntimeInterfacesAlgorithm == null)
{
_arrayOfTRuntimeInterfacesAlgorithm = new SimpleArrayOfTRuntimeInterfacesAlgorithm(SystemModule);
}
return _arrayOfTRuntimeInterfacesAlgorithm;
}
protected override RuntimeInterfacesAlgorithm GetRuntimeInterfacesAlgorithmForDefType(DefType type)
{
return _metadataRuntimeInterfacesAlgorithm;
}
public override VirtualMethodAlgorithm GetVirtualMethodAlgorithmForType(TypeDesc type)
{
return _metadataVirtualMethodAlgorithm;
}
internal EcmaModule GetModule(PEReader peReader, IAssemblyDesc containingAssembly = null)
{
if (peReader == null)
{
return null;
}
if (_modulesCache.TryGetValue(peReader, out EcmaModule existingModule))
{
if (containingAssembly != null && existingModule.Assembly != containingAssembly)
{
throw new VerifierException($"Containing assembly for module '{existingModule}' must be '{containingAssembly}'");
}
return existingModule;
}
EcmaModule module = EcmaModule.Create(this, peReader, containingAssembly);
_modulesCache.Add(peReader, module);
return module;
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Reflection.Metadata;
using System.Reflection.PortableExecutable;
using Internal.IL;
using Internal.TypeSystem;
using Internal.TypeSystem.Ecma;
namespace ILVerify
{
class ILVerifyTypeSystemContext : MetadataTypeSystemContext
{
internal readonly IResolver _resolver;
private RuntimeInterfacesAlgorithm _arrayOfTRuntimeInterfacesAlgorithm;
private MetadataRuntimeInterfacesAlgorithm _metadataRuntimeInterfacesAlgorithm = new MetadataRuntimeInterfacesAlgorithm();
private MetadataVirtualMethodAlgorithm _metadataVirtualMethodAlgorithm = new MetadataVirtualMethodAlgorithm();
private readonly Dictionary<PEReader, EcmaModule> _modulesCache = new Dictionary<PEReader, EcmaModule>();
public ILVerifyTypeSystemContext(IResolver resolver)
{
_resolver = resolver;
}
public override ModuleDesc ResolveAssembly(AssemblyName name, bool throwIfNotFound = true)
{
return CacheResolvedAssemblyOrNetmodule(_resolver.ResolveAssembly(name), name.Name, null, throwIfNotFound);
}
internal override ModuleDesc ResolveModule(IAssemblyDesc referencingModule, string fileName, bool throwIfNotFound = true)
{
// The referencing module is not getting verified currently.
// However, netmodules are resolved in the context of assembly, not in the global context.
EcmaModule module = CacheResolvedAssemblyOrNetmodule(_resolver.ResolveModule(referencingModule.GetName(), fileName), fileName, referencingModule, throwIfNotFound);
if (module.MetadataReader.IsAssembly)
{
throw new VerifierException($"The module '{fileName}' is not expected to be an assembly");
}
return module;
}
private EcmaModule CacheResolvedAssemblyOrNetmodule(PEReader peReader, string verificationName, IAssemblyDesc containingAssembly, bool throwIfNotFound)
{
if (peReader == null)
{
if (throwIfNotFound)
throw new VerifierException("Assembly or module not found: " + verificationName);
return null;
}
var module = GetModule(peReader, containingAssembly);
VerifyModuleName(verificationName, module);
return module;
}
private static void VerifyModuleName(string simpleName, EcmaModule module)
{
MetadataReader metadataReader = module.MetadataReader;
StringHandle nameHandle = metadataReader.IsAssembly
? metadataReader.GetAssemblyDefinition().Name
: metadataReader.GetModuleDefinition().Name;
string actualSimpleName = metadataReader.GetString(nameHandle);
if (!actualSimpleName.Equals(simpleName, StringComparison.OrdinalIgnoreCase))
{
throw new VerifierException($"Actual PE name '{actualSimpleName}' does not match provided name '{simpleName}'");
}
}
protected override RuntimeInterfacesAlgorithm GetRuntimeInterfacesAlgorithmForNonPointerArrayType(ArrayType type)
{
if (_arrayOfTRuntimeInterfacesAlgorithm == null)
{
_arrayOfTRuntimeInterfacesAlgorithm = new SimpleArrayOfTRuntimeInterfacesAlgorithm(SystemModule);
}
return _arrayOfTRuntimeInterfacesAlgorithm;
}
protected override RuntimeInterfacesAlgorithm GetRuntimeInterfacesAlgorithmForDefType(DefType type)
{
return _metadataRuntimeInterfacesAlgorithm;
}
public override VirtualMethodAlgorithm GetVirtualMethodAlgorithmForType(TypeDesc type)
{
return _metadataVirtualMethodAlgorithm;
}
internal EcmaModule GetModule(PEReader peReader, IAssemblyDesc containingAssembly = null)
{
if (peReader == null)
{
return null;
}
if (_modulesCache.TryGetValue(peReader, out EcmaModule existingModule))
{
if (containingAssembly != null && existingModule.Assembly != containingAssembly)
{
throw new VerifierException($"Containing assembly for module '{existingModule}' must be '{containingAssembly}'");
}
return existingModule;
}
EcmaModule module = EcmaModule.Create(this, peReader, containingAssembly);
_modulesCache.Add(peReader, module);
return module;
}
}
}
| 1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/coreclr/tools/ILVerification/IResolver.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.Reflection;
using System.Reflection.PortableExecutable;
namespace ILVerify
{
public interface IResolver
{
/// <summary>
/// This method should return the same instance when queried multiple times.
/// </summary>
PEReader Resolve(string simpleName);
}
/// <summary>
/// Provides caching logic for implementations of IResolver
/// </summary>
public abstract class ResolverBase : IResolver
{
private readonly Dictionary<string, PEReader> _resolverCache = new Dictionary<string, PEReader>();
public PEReader Resolve(string simpleName)
{
if (_resolverCache.TryGetValue(simpleName, out PEReader peReader))
{
return peReader;
}
PEReader result = ResolveCore(simpleName);
if (result != null)
{
_resolverCache.Add(simpleName, result);
return result;
}
return null;
}
protected abstract PEReader ResolveCore(string simpleName);
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.Reflection;
using System.Reflection.PortableExecutable;
namespace ILVerify
{
public interface IResolver
{
/// <summary>
/// Resolve assembly to PEReader. This method should return the same instance when queried multiple times.
/// </summary>
PEReader ResolveAssembly(AssemblyName assemblyName);
/// <summary>
/// Resolve module to PEReader. This method should return the same instance when queried multiple times.
/// </summary>
PEReader ResolveModule(AssemblyName referencingAssembly, string fileName);
}
}
| 1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/coreclr/tools/ILVerification/Verifier.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Reflection.Metadata;
using System.Reflection.PortableExecutable;
using System.Resources;
using Internal.IL;
using Internal.TypeSystem;
using Internal.TypeSystem.Ecma;
using Internal.TypeVerifier;
namespace ILVerify
{
public class Verifier
{
private Lazy<ResourceManager> _stringResourceManager =
new Lazy<ResourceManager>(() => new ResourceManager("ILVerification.Strings", typeof(Verifier).GetTypeInfo().Assembly));
private ILVerifyTypeSystemContext _typeSystemContext;
private VerifierOptions _verifierOptions;
public Verifier(IResolver resolver) : this(resolver, null){ }
public Verifier(IResolver resolver, VerifierOptions verifierOptions) : this(new ILVerifyTypeSystemContext(resolver), verifierOptions) { }
internal Verifier(ILVerifyTypeSystemContext context, VerifierOptions verifierOptions)
{
_typeSystemContext = context;
_verifierOptions = verifierOptions ?? new VerifierOptions();
}
public void SetSystemModuleName(AssemblyName name)
{
PEReader peReader = _typeSystemContext._resolver.Resolve(name.Name);
if (peReader is null)
{
throw new VerifierException("Assembly or module not found: " + name.FullName);
}
_typeSystemContext.SetSystemModule(_typeSystemContext.GetModule(peReader));
}
internal EcmaModule GetModule(PEReader peReader)
{
return _typeSystemContext.GetModule(peReader);
}
public IEnumerable<VerificationResult> Verify(PEReader peReader)
{
if (peReader == null)
{
throw new ArgumentNullException(nameof(peReader));
}
if (_typeSystemContext.SystemModule == null)
{
ThrowMissingSystemModule();
}
IEnumerable<VerificationResult> results;
try
{
EcmaModule module = GetModule(peReader);
results = VerifyMethods(module, module.MetadataReader.MethodDefinitions);
}
catch (VerifierException e)
{
results = new[] { new VerificationResult() { Message = e.Message } };
}
foreach (var result in results)
{
yield return result;
}
}
public IEnumerable<VerificationResult> Verify(PEReader peReader, TypeDefinitionHandle typeHandle, bool verifyMethods = false)
{
if (peReader == null)
{
throw new ArgumentNullException(nameof(peReader));
}
if (typeHandle.IsNil)
{
throw new ArgumentNullException(nameof(typeHandle));
}
if (_typeSystemContext.SystemModule == null)
{
ThrowMissingSystemModule();
}
IEnumerable<VerificationResult> results;
try
{
EcmaModule module = GetModule(peReader);
MetadataReader metadataReader = peReader.GetMetadataReader();
results = VerifyType(module, typeHandle);
if (verifyMethods)
{
TypeDefinition typeDef = metadataReader.GetTypeDefinition(typeHandle);
results = results.Union(VerifyMethods(module, typeDef.GetMethods()));
}
}
catch (VerifierException e)
{
results = new[] { new VerificationResult() { Message = e.Message } };
}
foreach (var result in results)
{
yield return result;
}
}
public IEnumerable<VerificationResult> Verify(PEReader peReader, MethodDefinitionHandle methodHandle)
{
if (peReader == null)
{
throw new ArgumentNullException(nameof(peReader));
}
if (methodHandle.IsNil)
{
throw new ArgumentNullException(nameof(methodHandle));
}
if (_typeSystemContext.SystemModule == null)
{
ThrowMissingSystemModule();
}
IEnumerable<VerificationResult> results;
try
{
EcmaModule module = GetModule(peReader);
results = VerifyMethods(module, new[] { methodHandle });
}
catch (VerifierException e)
{
results = new[] { new VerificationResult() { Message = e.Message } };
}
foreach (var result in results)
{
yield return result;
}
}
private IEnumerable<VerificationResult> VerifyMethods(EcmaModule module, IEnumerable<MethodDefinitionHandle> methodHandles)
{
foreach (var methodHandle in methodHandles)
{
var method = (EcmaMethod)module.GetMethod(methodHandle);
var methodIL = EcmaMethodIL.Create(method);
if (methodIL != null)
{
var results = VerifyMethod(module, methodIL, methodHandle);
foreach (var result in results)
{
yield return result;
}
}
}
}
private IEnumerable<VerificationResult> VerifyMethod(EcmaModule module, MethodIL methodIL, MethodDefinitionHandle methodHandle)
{
var builder = new ArrayBuilder<VerificationResult>();
MethodDesc method = methodIL.OwningMethod;
try
{
var importer = new ILImporter(method, methodIL)
{
SanityChecks = _verifierOptions.SanityChecks
};
importer.ReportVerificationError = (args, code) =>
{
var codeResource = _stringResourceManager.Value.GetString(code.ToString(), CultureInfo.InvariantCulture);
builder.Add(new VerificationResult()
{
Code = code,
Method = methodHandle,
ErrorArguments = args,
Message = string.IsNullOrEmpty(codeResource) ? code.ToString() : codeResource
});
};
importer.Verify();
}
catch (VerificationException)
{
// a result was reported already (before aborting)
}
catch (BadImageFormatException)
{
builder.Add(new VerificationResult()
{
Method = methodHandle,
Message = "Unable to resolve token"
});
}
catch (NotImplementedException e)
{
reportException(e);
}
catch (InvalidProgramException e)
{
reportException(e);
}
catch (PlatformNotSupportedException e)
{
reportException(e);
}
catch (VerifierException e)
{
reportException(e);
}
catch (TypeSystemException e)
{
reportTypeSystemException(e);
}
return builder.ToArray();
void reportException(Exception e)
{
builder.Add(new VerificationResult()
{
Method = methodHandle,
Message = e.Message
});
}
void reportTypeSystemException(TypeSystemException e)
{
builder.Add(new VerificationResult()
{
ExceptionID = e.StringID,
Method = methodHandle,
Message = e.Message
});
}
}
private IEnumerable<VerificationResult> VerifyType(EcmaModule module, TypeDefinitionHandle typeHandle)
{
var builder = new ArrayBuilder<VerificationResult>();
try
{
TypeVerifier typeVerifier = new TypeVerifier(module, typeHandle, _typeSystemContext, _verifierOptions);
typeVerifier.ReportVerificationError = (code, args) =>
{
builder.Add(new VerificationResult()
{
Code = code,
Message = $"[MD]: Error: {_stringResourceManager.Value.GetString(code.ToString(), CultureInfo.InvariantCulture)}",
Args = args
});
};
typeVerifier.Verify();
}
catch (BadImageFormatException)
{
builder.Add(new VerificationResult()
{
Type = typeHandle,
Message = "Unable to resolve token"
});
}
catch (NotImplementedException e)
{
reportException(e);
}
catch (InvalidProgramException e)
{
reportException(e);
}
catch (PlatformNotSupportedException e)
{
reportException(e);
}
catch (VerifierException e)
{
reportException(e);
}
catch (TypeSystemException e)
{
reportException(e);
}
return builder.ToArray();
void reportException(Exception e)
{
builder.Add(new VerificationResult()
{
Type = typeHandle,
Message = e.Message
});
}
}
private void ThrowMissingSystemModule()
{
throw new VerifierException("No system module specified");
}
}
public class VerifierOptions
{
public bool IncludeMetadataTokensInErrorMessages { get; set; }
public bool SanityChecks { get; set; }
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Reflection.Metadata;
using System.Reflection.PortableExecutable;
using System.Resources;
using Internal.IL;
using Internal.TypeSystem;
using Internal.TypeSystem.Ecma;
using Internal.TypeVerifier;
namespace ILVerify
{
public class Verifier
{
private Lazy<ResourceManager> _stringResourceManager =
new Lazy<ResourceManager>(() => new ResourceManager("ILVerification.Strings", typeof(Verifier).GetTypeInfo().Assembly));
private ILVerifyTypeSystemContext _typeSystemContext;
private VerifierOptions _verifierOptions;
public Verifier(IResolver resolver) : this(resolver, null){ }
public Verifier(IResolver resolver, VerifierOptions verifierOptions) : this(new ILVerifyTypeSystemContext(resolver), verifierOptions) { }
internal Verifier(ILVerifyTypeSystemContext context, VerifierOptions verifierOptions)
{
_typeSystemContext = context;
_verifierOptions = verifierOptions ?? new VerifierOptions();
}
public void SetSystemModuleName(AssemblyName name)
{
PEReader peReader = _typeSystemContext._resolver.ResolveAssembly(name);
if (peReader is null)
{
throw new VerifierException("Assembly or module not found: " + name.FullName);
}
_typeSystemContext.SetSystemModule(_typeSystemContext.GetModule(peReader));
}
internal EcmaModule GetModule(PEReader peReader)
{
return _typeSystemContext.GetModule(peReader);
}
public IEnumerable<VerificationResult> Verify(PEReader peReader)
{
if (peReader == null)
{
throw new ArgumentNullException(nameof(peReader));
}
if (_typeSystemContext.SystemModule == null)
{
ThrowMissingSystemModule();
}
IEnumerable<VerificationResult> results;
try
{
EcmaModule module = GetModule(peReader);
results = VerifyMethods(module, module.MetadataReader.MethodDefinitions);
}
catch (VerifierException e)
{
results = new[] { new VerificationResult() { Message = e.Message } };
}
foreach (var result in results)
{
yield return result;
}
}
public IEnumerable<VerificationResult> Verify(PEReader peReader, TypeDefinitionHandle typeHandle, bool verifyMethods = false)
{
if (peReader == null)
{
throw new ArgumentNullException(nameof(peReader));
}
if (typeHandle.IsNil)
{
throw new ArgumentNullException(nameof(typeHandle));
}
if (_typeSystemContext.SystemModule == null)
{
ThrowMissingSystemModule();
}
IEnumerable<VerificationResult> results;
try
{
EcmaModule module = GetModule(peReader);
MetadataReader metadataReader = peReader.GetMetadataReader();
results = VerifyType(module, typeHandle);
if (verifyMethods)
{
TypeDefinition typeDef = metadataReader.GetTypeDefinition(typeHandle);
results = results.Union(VerifyMethods(module, typeDef.GetMethods()));
}
}
catch (VerifierException e)
{
results = new[] { new VerificationResult() { Message = e.Message } };
}
foreach (var result in results)
{
yield return result;
}
}
public IEnumerable<VerificationResult> Verify(PEReader peReader, MethodDefinitionHandle methodHandle)
{
if (peReader == null)
{
throw new ArgumentNullException(nameof(peReader));
}
if (methodHandle.IsNil)
{
throw new ArgumentNullException(nameof(methodHandle));
}
if (_typeSystemContext.SystemModule == null)
{
ThrowMissingSystemModule();
}
IEnumerable<VerificationResult> results;
try
{
EcmaModule module = GetModule(peReader);
results = VerifyMethods(module, new[] { methodHandle });
}
catch (VerifierException e)
{
results = new[] { new VerificationResult() { Message = e.Message } };
}
foreach (var result in results)
{
yield return result;
}
}
private IEnumerable<VerificationResult> VerifyMethods(EcmaModule module, IEnumerable<MethodDefinitionHandle> methodHandles)
{
foreach (var methodHandle in methodHandles)
{
var method = (EcmaMethod)module.GetMethod(methodHandle);
var methodIL = EcmaMethodIL.Create(method);
if (methodIL != null)
{
var results = VerifyMethod(module, methodIL, methodHandle);
foreach (var result in results)
{
yield return result;
}
}
}
}
private IEnumerable<VerificationResult> VerifyMethod(EcmaModule module, MethodIL methodIL, MethodDefinitionHandle methodHandle)
{
var builder = new ArrayBuilder<VerificationResult>();
MethodDesc method = methodIL.OwningMethod;
try
{
var importer = new ILImporter(method, methodIL)
{
SanityChecks = _verifierOptions.SanityChecks
};
importer.ReportVerificationError = (args, code) =>
{
var codeResource = _stringResourceManager.Value.GetString(code.ToString(), CultureInfo.InvariantCulture);
builder.Add(new VerificationResult()
{
Code = code,
Method = methodHandle,
ErrorArguments = args,
Message = string.IsNullOrEmpty(codeResource) ? code.ToString() : codeResource
});
};
importer.Verify();
}
catch (VerificationException)
{
// a result was reported already (before aborting)
}
catch (BadImageFormatException)
{
builder.Add(new VerificationResult()
{
Method = methodHandle,
Message = "Unable to resolve token"
});
}
catch (NotImplementedException e)
{
reportException(e);
}
catch (InvalidProgramException e)
{
reportException(e);
}
catch (PlatformNotSupportedException e)
{
reportException(e);
}
catch (VerifierException e)
{
reportException(e);
}
catch (TypeSystemException e)
{
reportTypeSystemException(e);
}
return builder.ToArray();
void reportException(Exception e)
{
builder.Add(new VerificationResult()
{
Method = methodHandle,
Message = e.Message
});
}
void reportTypeSystemException(TypeSystemException e)
{
builder.Add(new VerificationResult()
{
ExceptionID = e.StringID,
Method = methodHandle,
Message = e.Message
});
}
}
private IEnumerable<VerificationResult> VerifyType(EcmaModule module, TypeDefinitionHandle typeHandle)
{
var builder = new ArrayBuilder<VerificationResult>();
try
{
TypeVerifier typeVerifier = new TypeVerifier(module, typeHandle, _typeSystemContext, _verifierOptions);
typeVerifier.ReportVerificationError = (code, args) =>
{
builder.Add(new VerificationResult()
{
Code = code,
Message = $"[MD]: Error: {_stringResourceManager.Value.GetString(code.ToString(), CultureInfo.InvariantCulture)}",
Args = args
});
};
typeVerifier.Verify();
}
catch (BadImageFormatException)
{
builder.Add(new VerificationResult()
{
Type = typeHandle,
Message = "Unable to resolve token"
});
}
catch (NotImplementedException e)
{
reportException(e);
}
catch (InvalidProgramException e)
{
reportException(e);
}
catch (PlatformNotSupportedException e)
{
reportException(e);
}
catch (VerifierException e)
{
reportException(e);
}
catch (TypeSystemException e)
{
reportException(e);
}
return builder.ToArray();
void reportException(Exception e)
{
builder.Add(new VerificationResult()
{
Type = typeHandle,
Message = e.Message
});
}
}
private void ThrowMissingSystemModule()
{
throw new VerifierException("No system module specified");
}
}
public class VerifierOptions
{
public bool IncludeMetadataTokensInErrorMessages { get; set; }
public bool SanityChecks { get; set; }
}
}
| 1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/coreclr/tools/ILVerify/Program.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.CommandLine;
using System.CommandLine.Invocation;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Reflection.Metadata;
using System.Reflection.PortableExecutable;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Internal.CommandLine;
using Internal.TypeSystem.Ecma;
using static System.Console;
namespace ILVerify
{
class Program : ResolverBase
{
private Options _options;
private Dictionary<string, string> _inputFilePaths = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); // map of simple name to file path
private Dictionary<string, string> _referenceFilePaths = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); // map of simple name to file path
private IReadOnlyList<Regex> _includePatterns;
private IReadOnlyList<Regex> _excludePatterns;
private IReadOnlyList<Regex> _ignoreErrorPatterns;
private Verifier _verifier;
public static IReadOnlyList<Regex> StringPatternsToRegexList(IReadOnlyList<string> patterns)
{
List<Regex> patternList = new List<Regex>();
if (patterns != null)
{
foreach (var pattern in patterns)
patternList.Add(new Regex(pattern, RegexOptions.Compiled));
}
return patternList;
}
public class Options
{
public string[] InputFilePath { get; set; }
public string[] Reference { get; set; }
public string SystemModule { get; set; }
public bool SanityChecks { get; set; }
public string[] Include { get; set; }
public FileInfo IncludeFile { get; set; }
public string[] Exclude { get; set; }
public FileInfo ExcludeFile { get; set; }
public string[] IgnoreError { get; set; }
public FileInfo IgnoreErrorFile { get; set; }
public bool Statistics { get; set; }
public bool Verbose { get; set; }
public bool Tokens { get; set; }
}
public static RootCommand RootCommand()
{
RootCommand command = new RootCommand();
command.AddArgument(new Argument<string[]>("input-file-path", "Input file(s)") { Arity = new ArgumentArity(1, Int32.MaxValue) });
command.AddOption(new Option<string[]>(new[] { "--reference", "-r" }, "Reference metadata from the specified assembly"));
command.AddOption(new Option<string>(new[] { "--system-module", "-s" }, "System module name (default: mscorlib)"));
command.AddOption(new Option<bool>(new[] { "--sanity-checks", "-c" }, "Check for valid constructs that are likely mistakes"));
command.AddOption(new Option<string[]>(new[] { "--include", "-i" }, "Use only methods/types/namespaces, which match the given regular expression(s)"));
command.AddOption(new Option<FileInfo>(new[] { "--include-file" }, "Same as --include, but the regular expression(s) are declared line by line in the specified file.").ExistingOnly());
command.AddOption(new Option<string[]>(new[] { "--exclude", "-e" }, "Skip methods/types/namespaces, which match the given regular expression(s)"));
command.AddOption(new Option<FileInfo>(new[] { "--exclude-file" }, "Same as --exclude, but the regular expression(s) are declared line by line in the specified file.").ExistingOnly());
command.AddOption(new Option<string[]>(new[] { "--ignore-error", "-g" }, "Ignore errors, which match the given regular expression(s)"));
command.AddOption(new Option<FileInfo>(new[] { "--ignore-error-file" }, "Same as --ignore-error, but the regular expression(s) are declared line by line in the specified file.").ExistingOnly());
command.AddOption(new Option<bool>(new[] { "--statistics" }, "Print verification statistics"));
command.AddOption(new Option<bool>(new[] { "--verbose", "-v" }, "Verbose output"));
command.AddOption(new Option<bool>(new[] { "--tokens", "-t" }, "Include metadata tokens in error messages"));
return command;
}
private Program(Options options)
{
_options = options;
if (options.InputFilePath != null)
{
foreach (var input in options.InputFilePath)
Helpers.AppendExpandedPaths(_inputFilePaths, input, true);
}
if (options.Reference != null)
{
foreach (var reference in options.Reference)
Helpers.AppendExpandedPaths(_referenceFilePaths, reference, false);
}
string[] includePatterns = options.Include;
if (options.IncludeFile != null)
{
if (options.Include != null && options.Include.Length != 0)
WriteLine("[Warning] --include-file takes precedence over --include");
includePatterns = File.ReadAllLines(options.IncludeFile.FullName);
}
_includePatterns = StringPatternsToRegexList(includePatterns);
string[] excludePatterns = options.Exclude;
if (options.ExcludeFile != null)
{
if (options.Exclude != null && options.Exclude.Length != 0)
WriteLine("[Warning] --exclude-file takes precedence over --exclude");
excludePatterns = File.ReadAllLines(options.ExcludeFile.FullName);
}
_excludePatterns = StringPatternsToRegexList(excludePatterns);
string[] ignoreErrorPatterns = options.IgnoreError;
if (options.IgnoreErrorFile != null)
{
if (options.IgnoreError != null && options.IgnoreError.Length != 0)
WriteLine("[Warning] --ignore-error-file takes precedence over --ignore-error");
ignoreErrorPatterns = File.ReadAllLines(options.IgnoreErrorFile.FullName);
}
_ignoreErrorPatterns = StringPatternsToRegexList(ignoreErrorPatterns);
if (options.Verbose)
{
WriteLine();
foreach (var path in _inputFilePaths)
WriteLine($"Using input file '{path.Value}'");
WriteLine();
foreach (var path in _referenceFilePaths)
WriteLine($"Using reference file '{path.Value}'");
WriteLine();
foreach (var pattern in _includePatterns)
WriteLine($"Using include pattern '{pattern}'");
WriteLine();
foreach (var pattern in _excludePatterns)
WriteLine($"Using exclude pattern '{pattern}'");
WriteLine();
foreach (var pattern in _ignoreErrorPatterns)
WriteLine($"Using ignore error pattern '{pattern}'");
}
}
private int Run()
{
_verifier = new Verifier(this, new VerifierOptions
{
IncludeMetadataTokensInErrorMessages = _options.Tokens,
SanityChecks = _options.SanityChecks
});
_verifier.SetSystemModuleName(new AssemblyName(_options.SystemModule ?? "mscorlib"));
int numErrors = 0;
foreach (var kvp in _inputFilePaths)
{
numErrors += VerifyAssembly(new AssemblyName(kvp.Key), kvp.Value);
}
if (numErrors > 0)
{
return 2;
}
else
{
return 0;
}
}
private void PrintVerifyMethodsResult(VerificationResult result, EcmaModule module, string pathOrModuleName)
{
Write("[IL]: Error [");
if (result.Code != VerifierError.None)
{
Write(result.Code);
}
else
{
Write(result.ExceptionID);
}
Write("]: ");
Write("[");
Write(pathOrModuleName);
Write(" : ");
MetadataReader metadataReader = module.MetadataReader;
TypeDefinition typeDef = metadataReader.GetTypeDefinition(metadataReader.GetMethodDefinition(result.Method).GetDeclaringType());
string typeNamespace = metadataReader.GetString(typeDef.Namespace);
Write(typeNamespace);
Write(".");
string typeName = metadataReader.GetString(typeDef.Name);
Write(typeName);
Write("::");
var method = (EcmaMethod)module.GetMethod(result.Method);
PrintMethod(method);
Write("]");
if (result.Code != VerifierError.None)
{
Write("[offset 0x");
Write(result.GetArgumentValue<int>("Offset").ToString("X8"));
Write("]");
if (result.TryGetArgumentValue("Found", out string found))
{
Write("[found ");
Write(found);
Write("]");
}
if (result.TryGetArgumentValue("Expected", out string expected))
{
Write("[expected ");
Write(expected);
Write("]");
}
if (result.TryGetArgumentValue("Token", out int token))
{
Write("[token 0x");
Write(token.ToString("X8"));
Write("]");
}
}
Write(" ");
WriteLine(result.Message);
}
private static void PrintMethod(EcmaMethod method)
{
Write(method.Name);
Write("(");
try
{
if (method.Signature.Length > 0)
{
bool first = true;
for (int i = 0; i < method.Signature.Length; i++)
{
Internal.TypeSystem.TypeDesc parameter = method.Signature[i];
if (first)
{
first = false;
}
else
{
Write(", ");
}
Write(parameter.ToString());
}
}
}
catch
{
Write("Error while getting method signature");
}
Write(")");
}
private int VerifyAssembly(AssemblyName name, string path)
{
PEReader peReader = Resolve(name.Name);
EcmaModule module = _verifier.GetModule(peReader);
return VerifyAssembly(peReader, module, path);
}
private int VerifyAssembly(PEReader peReader, EcmaModule module, string path)
{
int numErrors = 0;
int verifiedMethodCounter = 0;
int methodCounter = 0;
int verifiedTypeCounter = 0;
int typeCounter = 0;
VerifyMethods(peReader, module, path, ref numErrors, ref verifiedMethodCounter, ref methodCounter);
VerifyTypes(peReader, module, path, ref numErrors, ref verifiedTypeCounter, ref typeCounter);
if (numErrors > 0)
WriteLine(numErrors + " Error(s) Verifying " + path);
else
WriteLine("All Classes and Methods in " + path + " Verified.");
if (_options.Statistics)
{
WriteLine($"Types found: {typeCounter}");
WriteLine($"Types verified: {verifiedTypeCounter}");
WriteLine($"Methods found: {methodCounter}");
WriteLine($"Methods verified: {verifiedMethodCounter}");
}
return numErrors;
}
private void VerifyMethods(PEReader peReader, EcmaModule module, string path, ref int numErrors, ref int verifiedMethodCounter, ref int methodCounter)
{
numErrors = 0;
verifiedMethodCounter = 0;
methodCounter = 0;
MetadataReader metadataReader = peReader.GetMetadataReader();
foreach (var methodHandle in metadataReader.MethodDefinitions)
{
// get fully qualified method name
var methodName = GetQualifiedMethodName(metadataReader, methodHandle);
bool verifying = ShouldVerifyMemberName(methodName);
if (_options.Verbose)
{
Write(verifying ? "Verifying " : "Skipping ");
WriteLine(methodName);
}
if (verifying)
{
var results = _verifier.Verify(peReader, methodHandle);
foreach (var result in results)
{
if (ShouldIgnoreVerificationResult(result))
{
if (_options.Verbose)
{
Write("Ignoring ");
PrintVerifyMethodsResult(result, module, path);
}
}
else
{
PrintVerifyMethodsResult(result, module, path);
numErrors++;
}
}
verifiedMethodCounter++;
}
methodCounter++;
}
}
private void VerifyTypes(PEReader peReader, EcmaModule module, string path, ref int numErrors, ref int verifiedTypeCounter, ref int typeCounter)
{
MetadataReader metadataReader = peReader.GetMetadataReader();
foreach (TypeDefinitionHandle typeHandle in metadataReader.TypeDefinitions)
{
// get fully qualified type name
var className = GetQualifiedClassName(metadataReader, typeHandle);
bool verifying = ShouldVerifyMemberName(className);
if (_options.Verbose)
{
Write(verifying ? "Verifying " : "Skipping ");
WriteLine(className);
}
if (verifying)
{
var results = _verifier.Verify(peReader, typeHandle);
foreach (VerificationResult result in results)
{
if (ShouldIgnoreVerificationResult(result))
{
if (_options.Verbose)
{
Write("Ignoring ");
Console.WriteLine(result.Message, result.Args);
}
}
else
{
Console.WriteLine(result.Message, result.Args);
numErrors++;
}
}
typeCounter++;
}
verifiedTypeCounter++;
}
}
/// <summary>
/// This method returns the fully qualified class name.
/// </summary>
private string GetQualifiedClassName(MetadataReader metadataReader, TypeDefinitionHandle typeHandle)
{
var typeDef = metadataReader.GetTypeDefinition(typeHandle);
var typeName = metadataReader.GetString(typeDef.Name);
var namespaceName = metadataReader.GetString(typeDef.Namespace);
var assemblyName = metadataReader.GetString(metadataReader.IsAssembly ? metadataReader.GetAssemblyDefinition().Name : metadataReader.GetModuleDefinition().Name);
StringBuilder builder = new StringBuilder();
builder.Append($"[{assemblyName}]");
if (!string.IsNullOrEmpty(namespaceName))
builder.Append($"{namespaceName}.");
builder.Append($"{typeName}");
return builder.ToString();
}
/// <summary>
/// This method returns the fully qualified method name by concatenating assembly, type and method name.
/// This method exists to avoid additional assembly resolving, which might be triggered by calling
/// MethodDesc.ToString().
/// </summary>
private string GetQualifiedMethodName(MetadataReader metadataReader, MethodDefinitionHandle methodHandle)
{
var methodDef = metadataReader.GetMethodDefinition(methodHandle);
var typeDef = metadataReader.GetTypeDefinition(methodDef.GetDeclaringType());
var methodName = metadataReader.GetString(metadataReader.GetMethodDefinition(methodHandle).Name);
var typeName = metadataReader.GetString(typeDef.Name);
var namespaceName = metadataReader.GetString(typeDef.Namespace);
var assemblyName = metadataReader.GetString(metadataReader.IsAssembly ? metadataReader.GetAssemblyDefinition().Name : metadataReader.GetModuleDefinition().Name);
StringBuilder builder = new StringBuilder();
builder.Append($"[{assemblyName}]");
if (!string.IsNullOrEmpty(namespaceName))
builder.Append($"{namespaceName}.");
builder.Append($"{typeName}.{methodName}");
return builder.ToString();
}
private bool ShouldVerifyMemberName(string memberName)
{
if (_includePatterns.Count > 0 && !_includePatterns.Any(p => p.IsMatch(memberName)))
{
return false;
}
if (_excludePatterns.Any(p => p.IsMatch(memberName)))
{
return false;
}
return true;
}
private bool ShouldIgnoreVerificationResult(VerificationResult result)
{
var error = result.Code.ToStringInvariant();
if (result.Code == VerifierError.None && result.ExceptionID != null)
{
error = result.ExceptionID?.ToStringInvariant();
}
if (_ignoreErrorPatterns.Any(p => p.IsMatch(error)))
{
return true;
}
return false;
}
protected override PEReader ResolveCore(string simpleName)
{
string path = null;
if (_inputFilePaths.TryGetValue(simpleName, out path) || _referenceFilePaths.TryGetValue(simpleName, out path))
{
return new PEReader(File.OpenRead(path));
}
return null;
}
private static int Run(Options options)
{
try
{
return new Program(options).Run();
}
catch (CommandLineException e)
{
Console.WriteLine("Error: " + e.Message);
return 1;
}
catch (Exception e)
{
Console.WriteLine("Error: " + e.ToString());
return 1;
}
}
private static async Task<int> Main(string[] args)
{
var command = RootCommand();
command.Handler = CommandHandler.Create<Options>(Run);
return await command.InvokeAsync(args);
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.CommandLine;
using System.CommandLine.Invocation;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Reflection.Metadata;
using System.Reflection.PortableExecutable;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Internal.CommandLine;
using Internal.TypeSystem.Ecma;
using static System.Console;
namespace ILVerify
{
class Program : IResolver
{
private readonly Dictionary<string, PEReader> _resolverCache = new Dictionary<string, PEReader>();
private Options _options;
private Dictionary<string, string> _inputFilePaths = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); // map of simple name to file path
private Dictionary<string, string> _referenceFilePaths = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); // map of simple name to file path
private IReadOnlyList<Regex> _includePatterns;
private IReadOnlyList<Regex> _excludePatterns;
private IReadOnlyList<Regex> _ignoreErrorPatterns;
private Verifier _verifier;
public static IReadOnlyList<Regex> StringPatternsToRegexList(IReadOnlyList<string> patterns)
{
List<Regex> patternList = new List<Regex>();
if (patterns != null)
{
foreach (var pattern in patterns)
patternList.Add(new Regex(pattern, RegexOptions.Compiled));
}
return patternList;
}
public class Options
{
public string[] InputFilePath { get; set; }
public string[] Reference { get; set; }
public string SystemModule { get; set; }
public bool SanityChecks { get; set; }
public string[] Include { get; set; }
public FileInfo IncludeFile { get; set; }
public string[] Exclude { get; set; }
public FileInfo ExcludeFile { get; set; }
public string[] IgnoreError { get; set; }
public FileInfo IgnoreErrorFile { get; set; }
public bool Statistics { get; set; }
public bool Verbose { get; set; }
public bool Tokens { get; set; }
}
public static RootCommand RootCommand()
{
RootCommand command = new RootCommand();
command.AddArgument(new Argument<string[]>("input-file-path", "Input file(s)") { Arity = new ArgumentArity(1, Int32.MaxValue) });
command.AddOption(new Option<string[]>(new[] { "--reference", "-r" }, "Reference metadata from the specified assembly"));
command.AddOption(new Option<string>(new[] { "--system-module", "-s" }, "System module name (default: mscorlib)"));
command.AddOption(new Option<bool>(new[] { "--sanity-checks", "-c" }, "Check for valid constructs that are likely mistakes"));
command.AddOption(new Option<string[]>(new[] { "--include", "-i" }, "Use only methods/types/namespaces, which match the given regular expression(s)"));
command.AddOption(new Option<FileInfo>(new[] { "--include-file" }, "Same as --include, but the regular expression(s) are declared line by line in the specified file.").ExistingOnly());
command.AddOption(new Option<string[]>(new[] { "--exclude", "-e" }, "Skip methods/types/namespaces, which match the given regular expression(s)"));
command.AddOption(new Option<FileInfo>(new[] { "--exclude-file" }, "Same as --exclude, but the regular expression(s) are declared line by line in the specified file.").ExistingOnly());
command.AddOption(new Option<string[]>(new[] { "--ignore-error", "-g" }, "Ignore errors, which match the given regular expression(s)"));
command.AddOption(new Option<FileInfo>(new[] { "--ignore-error-file" }, "Same as --ignore-error, but the regular expression(s) are declared line by line in the specified file.").ExistingOnly());
command.AddOption(new Option<bool>(new[] { "--statistics" }, "Print verification statistics"));
command.AddOption(new Option<bool>(new[] { "--verbose", "-v" }, "Verbose output"));
command.AddOption(new Option<bool>(new[] { "--tokens", "-t" }, "Include metadata tokens in error messages"));
return command;
}
private Program(Options options)
{
_options = options;
if (options.InputFilePath != null)
{
foreach (var input in options.InputFilePath)
Helpers.AppendExpandedPaths(_inputFilePaths, input, true);
}
if (options.Reference != null)
{
foreach (var reference in options.Reference)
Helpers.AppendExpandedPaths(_referenceFilePaths, reference, false);
}
string[] includePatterns = options.Include;
if (options.IncludeFile != null)
{
if (options.Include != null && options.Include.Length != 0)
WriteLine("[Warning] --include-file takes precedence over --include");
includePatterns = File.ReadAllLines(options.IncludeFile.FullName);
}
_includePatterns = StringPatternsToRegexList(includePatterns);
string[] excludePatterns = options.Exclude;
if (options.ExcludeFile != null)
{
if (options.Exclude != null && options.Exclude.Length != 0)
WriteLine("[Warning] --exclude-file takes precedence over --exclude");
excludePatterns = File.ReadAllLines(options.ExcludeFile.FullName);
}
_excludePatterns = StringPatternsToRegexList(excludePatterns);
string[] ignoreErrorPatterns = options.IgnoreError;
if (options.IgnoreErrorFile != null)
{
if (options.IgnoreError != null && options.IgnoreError.Length != 0)
WriteLine("[Warning] --ignore-error-file takes precedence over --ignore-error");
ignoreErrorPatterns = File.ReadAllLines(options.IgnoreErrorFile.FullName);
}
_ignoreErrorPatterns = StringPatternsToRegexList(ignoreErrorPatterns);
if (options.Verbose)
{
WriteLine();
foreach (var path in _inputFilePaths)
WriteLine($"Using input file '{path.Value}'");
WriteLine();
foreach (var path in _referenceFilePaths)
WriteLine($"Using reference file '{path.Value}'");
WriteLine();
foreach (var pattern in _includePatterns)
WriteLine($"Using include pattern '{pattern}'");
WriteLine();
foreach (var pattern in _excludePatterns)
WriteLine($"Using exclude pattern '{pattern}'");
WriteLine();
foreach (var pattern in _ignoreErrorPatterns)
WriteLine($"Using ignore error pattern '{pattern}'");
}
}
private int Run()
{
_verifier = new Verifier(this, new VerifierOptions
{
IncludeMetadataTokensInErrorMessages = _options.Tokens,
SanityChecks = _options.SanityChecks
});
_verifier.SetSystemModuleName(new AssemblyName(_options.SystemModule ?? "mscorlib"));
int numErrors = 0;
foreach (var kvp in _inputFilePaths)
{
numErrors += VerifyAssembly(new AssemblyName(kvp.Key), kvp.Value);
}
if (numErrors > 0)
{
return 2;
}
else
{
return 0;
}
}
private void PrintVerifyMethodsResult(VerificationResult result, EcmaModule module, string pathOrModuleName)
{
Write("[IL]: Error [");
if (result.Code != VerifierError.None)
{
Write(result.Code);
}
else
{
Write(result.ExceptionID);
}
Write("]: ");
Write("[");
Write(pathOrModuleName);
Write(" : ");
MetadataReader metadataReader = module.MetadataReader;
TypeDefinition typeDef = metadataReader.GetTypeDefinition(metadataReader.GetMethodDefinition(result.Method).GetDeclaringType());
string typeNamespace = metadataReader.GetString(typeDef.Namespace);
Write(typeNamespace);
Write(".");
string typeName = metadataReader.GetString(typeDef.Name);
Write(typeName);
Write("::");
var method = (EcmaMethod)module.GetMethod(result.Method);
PrintMethod(method);
Write("]");
if (result.Code != VerifierError.None)
{
Write("[offset 0x");
Write(result.GetArgumentValue<int>("Offset").ToString("X8"));
Write("]");
if (result.TryGetArgumentValue("Found", out string found))
{
Write("[found ");
Write(found);
Write("]");
}
if (result.TryGetArgumentValue("Expected", out string expected))
{
Write("[expected ");
Write(expected);
Write("]");
}
if (result.TryGetArgumentValue("Token", out int token))
{
Write("[token 0x");
Write(token.ToString("X8"));
Write("]");
}
}
Write(" ");
WriteLine(result.Message);
}
private static void PrintMethod(EcmaMethod method)
{
Write(method.Name);
Write("(");
try
{
if (method.Signature.Length > 0)
{
bool first = true;
for (int i = 0; i < method.Signature.Length; i++)
{
Internal.TypeSystem.TypeDesc parameter = method.Signature[i];
if (first)
{
first = false;
}
else
{
Write(", ");
}
Write(parameter.ToString());
}
}
}
catch
{
Write("Error while getting method signature");
}
Write(")");
}
private int VerifyAssembly(AssemblyName name, string path)
{
PEReader peReader = Resolve(name.Name);
EcmaModule module = _verifier.GetModule(peReader);
return VerifyAssembly(peReader, module, path);
}
private int VerifyAssembly(PEReader peReader, EcmaModule module, string path)
{
int numErrors = 0;
int verifiedMethodCounter = 0;
int methodCounter = 0;
int verifiedTypeCounter = 0;
int typeCounter = 0;
VerifyMethods(peReader, module, path, ref numErrors, ref verifiedMethodCounter, ref methodCounter);
VerifyTypes(peReader, module, path, ref numErrors, ref verifiedTypeCounter, ref typeCounter);
if (numErrors > 0)
WriteLine(numErrors + " Error(s) Verifying " + path);
else
WriteLine("All Classes and Methods in " + path + " Verified.");
if (_options.Statistics)
{
WriteLine($"Types found: {typeCounter}");
WriteLine($"Types verified: {verifiedTypeCounter}");
WriteLine($"Methods found: {methodCounter}");
WriteLine($"Methods verified: {verifiedMethodCounter}");
}
return numErrors;
}
private void VerifyMethods(PEReader peReader, EcmaModule module, string path, ref int numErrors, ref int verifiedMethodCounter, ref int methodCounter)
{
numErrors = 0;
verifiedMethodCounter = 0;
methodCounter = 0;
MetadataReader metadataReader = peReader.GetMetadataReader();
foreach (var methodHandle in metadataReader.MethodDefinitions)
{
// get fully qualified method name
var methodName = GetQualifiedMethodName(metadataReader, methodHandle);
bool verifying = ShouldVerifyMemberName(methodName);
if (_options.Verbose)
{
Write(verifying ? "Verifying " : "Skipping ");
WriteLine(methodName);
}
if (verifying)
{
var results = _verifier.Verify(peReader, methodHandle);
foreach (var result in results)
{
if (ShouldIgnoreVerificationResult(result))
{
if (_options.Verbose)
{
Write("Ignoring ");
PrintVerifyMethodsResult(result, module, path);
}
}
else
{
PrintVerifyMethodsResult(result, module, path);
numErrors++;
}
}
verifiedMethodCounter++;
}
methodCounter++;
}
}
private void VerifyTypes(PEReader peReader, EcmaModule module, string path, ref int numErrors, ref int verifiedTypeCounter, ref int typeCounter)
{
MetadataReader metadataReader = peReader.GetMetadataReader();
foreach (TypeDefinitionHandle typeHandle in metadataReader.TypeDefinitions)
{
// get fully qualified type name
var className = GetQualifiedClassName(metadataReader, typeHandle);
bool verifying = ShouldVerifyMemberName(className);
if (_options.Verbose)
{
Write(verifying ? "Verifying " : "Skipping ");
WriteLine(className);
}
if (verifying)
{
var results = _verifier.Verify(peReader, typeHandle);
foreach (VerificationResult result in results)
{
if (ShouldIgnoreVerificationResult(result))
{
if (_options.Verbose)
{
Write("Ignoring ");
Console.WriteLine(result.Message, result.Args);
}
}
else
{
Console.WriteLine(result.Message, result.Args);
numErrors++;
}
}
typeCounter++;
}
verifiedTypeCounter++;
}
}
/// <summary>
/// This method returns the fully qualified class name.
/// </summary>
private string GetQualifiedClassName(MetadataReader metadataReader, TypeDefinitionHandle typeHandle)
{
var typeDef = metadataReader.GetTypeDefinition(typeHandle);
var typeName = metadataReader.GetString(typeDef.Name);
var namespaceName = metadataReader.GetString(typeDef.Namespace);
var assemblyName = metadataReader.GetString(metadataReader.IsAssembly ? metadataReader.GetAssemblyDefinition().Name : metadataReader.GetModuleDefinition().Name);
StringBuilder builder = new StringBuilder();
builder.Append($"[{assemblyName}]");
if (!string.IsNullOrEmpty(namespaceName))
builder.Append($"{namespaceName}.");
builder.Append($"{typeName}");
return builder.ToString();
}
/// <summary>
/// This method returns the fully qualified method name by concatenating assembly, type and method name.
/// This method exists to avoid additional assembly resolving, which might be triggered by calling
/// MethodDesc.ToString().
/// </summary>
private string GetQualifiedMethodName(MetadataReader metadataReader, MethodDefinitionHandle methodHandle)
{
var methodDef = metadataReader.GetMethodDefinition(methodHandle);
var typeDef = metadataReader.GetTypeDefinition(methodDef.GetDeclaringType());
var methodName = metadataReader.GetString(metadataReader.GetMethodDefinition(methodHandle).Name);
var typeName = metadataReader.GetString(typeDef.Name);
var namespaceName = metadataReader.GetString(typeDef.Namespace);
var assemblyName = metadataReader.GetString(metadataReader.IsAssembly ? metadataReader.GetAssemblyDefinition().Name : metadataReader.GetModuleDefinition().Name);
StringBuilder builder = new StringBuilder();
builder.Append($"[{assemblyName}]");
if (!string.IsNullOrEmpty(namespaceName))
builder.Append($"{namespaceName}.");
builder.Append($"{typeName}.{methodName}");
return builder.ToString();
}
private bool ShouldVerifyMemberName(string memberName)
{
if (_includePatterns.Count > 0 && !_includePatterns.Any(p => p.IsMatch(memberName)))
{
return false;
}
if (_excludePatterns.Any(p => p.IsMatch(memberName)))
{
return false;
}
return true;
}
private bool ShouldIgnoreVerificationResult(VerificationResult result)
{
var error = result.Code.ToStringInvariant();
if (result.Code == VerifierError.None && result.ExceptionID != null)
{
error = result.ExceptionID?.ToStringInvariant();
}
if (_ignoreErrorPatterns.Any(p => p.IsMatch(error)))
{
return true;
}
return false;
}
PEReader IResolver.ResolveAssembly(AssemblyName assemblyName)
=> Resolve(assemblyName.Name);
PEReader IResolver.ResolveModule(AssemblyName referencingModule, string fileName)
=> Resolve(Path.GetFileNameWithoutExtension(fileName));
public PEReader Resolve(string simpleName)
{
if (_resolverCache.TryGetValue(simpleName, out PEReader peReader))
{
return peReader;
}
string path = null;
if (_inputFilePaths.TryGetValue(simpleName, out path) || _referenceFilePaths.TryGetValue(simpleName, out path))
{
PEReader result = new PEReader(File.OpenRead(path));
_resolverCache.Add(simpleName, result);
return result;
}
return null;
}
private static int Run(Options options)
{
try
{
return new Program(options).Run();
}
catch (CommandLineException e)
{
Console.WriteLine("Error: " + e.Message);
return 1;
}
catch (Exception e)
{
Console.WriteLine("Error: " + e.ToString());
return 1;
}
}
private static async Task<int> Main(string[] args)
{
var command = RootCommand();
command.Handler = CommandHandler.Create<Options>(Run);
return await command.InvokeAsync(args);
}
}
}
| 1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/tests/ilverify/TestDataLoader.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Reflection.Metadata;
using System.Reflection.Metadata.Ecma335;
using System.Reflection.PortableExecutable;
using System.Text;
using ILVerify;
using Internal.TypeSystem.Ecma;
using Newtonsoft.Json;
using Xunit;
using Xunit.Abstractions;
namespace ILVerification.Tests
{
/// <summary>
/// Parses the methods in the test assemblies.
/// It loads all assemblies from the test folder defined in <code>TestDataLoader.TestAssemblyPath</code>
/// This class feeds the xunit Theories
/// </summary>
class TestDataLoader
{
/// <summary>
/// The folder with the test binaries
/// </summary>
private const string TestAssemblyPath = @"Tests";
private const string SpecialTestPrefix = "special.";
/// <summary>
/// Returns all class correctly implement based on following naming convention
/// [FriendlyName]_ValidType_Valid
/// </summary>
/// <returns></returns>
public static TheoryData<TestCase> GetTypesWithValidType()
{
var typeSelector = new Func<string[], TypeDefinitionHandle, TestCase>((mparams, typeDefinitionHandle) =>
{
if (mparams[1] == "ValidType")
{
return new ValidTypeTestCase { MetadataToken = MetadataTokens.GetToken(typeDefinitionHandle) };
}
return null;
});
return GetTestTypeFromDll(typeSelector);
}
/// <summary>
/// Returns all class doesn't correctly implement based on following naming convention
/// [FriendlyName]_InvalidType_[ExpectedVerifierError1]@[ExpectedVerifierError2]....[ExpectedVerifierErrorN]
/// </summary>
/// <returns></returns>
public static TheoryData<TestCase> GetTypesWithInvalidType()
{
var typeSelector = new Func<string[], TypeDefinitionHandle, TestCase>((mparams, typeDefinitionHandle) =>
{
if (mparams[1] == "InvalidType")
{
var verificationErros = new List<VerifierError>();
foreach (var expectedError in mparams[2].Split('@'))
{
verificationErros.Add((VerifierError)Enum.Parse(typeof(VerifierError), expectedError));
}
var newItem = new InvalidTypeTestCase { MetadataToken = MetadataTokens.GetToken(typeDefinitionHandle) };
newItem.ExpectedVerifierErrors = verificationErros;
return newItem;
}
return null;
});
return GetTestTypeFromDll(typeSelector);
}
private static TheoryData<TestCase> GetTestTypeFromDll(Func<string[], TypeDefinitionHandle, TestCase> typeSelector)
{
var retVal = new TheoryData<TestCase>();
foreach (var testDllName in GetAllTestDlls())
{
EcmaModule testModule = GetModuleForTestAssembly(testDllName);
MetadataReader metadataReader = testModule.PEReader.GetMetadataReader();
foreach (TypeDefinitionHandle typeHandle in metadataReader.TypeDefinitions)
{
var typeDef = metadataReader.GetTypeDefinition(typeHandle);
var typeName = metadataReader.GetString(typeDef.Name);
if (!string.IsNullOrEmpty(typeName) && typeName.Contains("_"))
{
var mparams = typeName.Split('_');
TestCase newItem = typeSelector(mparams, typeHandle);
if (newItem != null)
{
newItem.TestName = mparams[0];
newItem.TypeName = typeName;
newItem.ModuleName = testDllName;
retVal.Add(newItem);
}
}
}
}
return retVal;
}
/// <summary>
/// Returns all methods that contain valid IL code based on the following naming convention:
/// [FriendlyName]_Valid
/// The method must contain 1 '_'. The part before the '_' is a friendly name describing what the method does.
/// The word after the '_' has to be 'Valid' (Case sensitive)
/// E.g.: 'SimpleAdd_Valid'
/// </summary>
public static TheoryData<TestCase> GetMethodsWithValidIL()
{
var methodSelector = new Func<string[], MethodDefinitionHandle, TestCase>((mparams, methodHandle) =>
{
if (mparams.Length == 2 && mparams[1] == "Valid")
{
return new ValidILTestCase { MetadataToken = MetadataTokens.GetToken(methodHandle) };
}
return null;
});
return GetTestMethodsFromDll(methodSelector);
}
/// <summary>
/// Returns all methods that contain valid IL code based on the following naming convention:
/// [FriendlyName]_Invalid_[ExpectedVerifierError1].[ExpectedVerifierError2]....[ExpectedVerifierErrorN]
/// The method name must contain 2 '_' characters.
/// 1. part: a friendly name
/// 2. part: must be the word 'Invalid' (Case sensitive)
/// 3. part: the expected VerifierErrors as string separated by '.'.
/// E.g.: SimpleAdd_Invalid_ExpectedNumericType
/// </summary>
public static TheoryData<TestCase> GetMethodsWithInvalidIL()
{
var methodSelector = new Func<string[], MethodDefinitionHandle, TestCase>((mparams, methodHandle) =>
{
if (mparams.Length == 3 && mparams[1] == "Invalid")
{
var expectedErrors = mparams[2].Split('.');
var verificationErros = new List<VerifierError>();
foreach (var item in expectedErrors)
{
if (Enum.TryParse(item, out VerifierError expectedError))
{
verificationErros.Add(expectedError);
}
}
var newItem = new InvalidILTestCase { MetadataToken = MetadataTokens.GetToken(methodHandle) };
if (expectedErrors.Length > 0)
{
newItem.ExpectedVerifierErrors = verificationErros;
}
return newItem;
}
return null;
});
return GetTestMethodsFromDll(methodSelector);
}
private static TheoryData<TestCase> GetTestMethodsFromDll(Func<string[], MethodDefinitionHandle, TestCase> methodSelector)
{
var retVal = new TheoryData<TestCase>();
foreach (var testDllName in GetAllTestDlls())
{
var testModule = GetModuleForTestAssembly(testDllName);
foreach (var methodHandle in testModule.MetadataReader.MethodDefinitions)
{
var method = (EcmaMethod)testModule.GetMethod(methodHandle);
var methodName = method.Name;
if (!methodName.Contains('_', StringComparison.Ordinal))
continue;
var index = methodName.LastIndexOf("_Valid", StringComparison.Ordinal);
if (index < 0)
index = methodName.LastIndexOf("_Invalid", StringComparison.Ordinal);
if (index < 0)
continue;
var substring = methodName.Substring(index + 1);
var split = substring.Split('_');
string[] mparams = new string[split.Length + 1];
split.CopyTo(mparams, 1);
mparams[0] = methodName.Substring(0, index);
// examples of methodName to mparams transformation:
// * `get_Property` -> [ 'get_Property' ]
// * `CheckSomething_Valid` -> [ 'CheckSomething', 'Valid' ]
// * 'WrongMethod_Invalid_BranchOutOfTry' -> [ 'WrongMethod', 'Invalid', 'BranchOutOfTry' ]
// * 'MoreWrongMethod_Invalid_TypeAccess.InitOnly' -> [ 'MoreWrongMethod', 'Invalid', 'TypeAccess', 'InitOnly' ]
// * 'special.set_MyProperty.set_MyProperty_Invalid_InitOnly' -> [ 'special.set_MyProperty.set_MyProperty', 'Invalid', 'InitOnly' ]
var specialMethodHandle = HandleSpecialTests(mparams, method);
var newItem = methodSelector(mparams, specialMethodHandle);
if (newItem != null)
{
newItem.TestName = mparams[0];
newItem.MethodName = methodName;
newItem.ModuleName = testDllName;
retVal.Add(newItem);
}
}
}
return retVal;
}
private static MethodDefinitionHandle HandleSpecialTests(string[] methodParams, EcmaMethod method)
{
if (!methodParams[0].StartsWith(SpecialTestPrefix))
return method.Handle;
// Cut off special prefix
var specialParams = methodParams[0].Substring(SpecialTestPrefix.Length);
// Get friendly name / special name
int delimiter = specialParams.IndexOf('.');
if (delimiter < 0)
return method.Handle;
var friendlyName = specialParams.Substring(0, delimiter);
var specialName = specialParams.Substring(delimiter + 1);
// Substitute method parameters with friendly name
methodParams[0] = friendlyName;
var specialMethodHandle = (EcmaMethod)method.OwningType.GetMethod(specialName, method.Signature);
return specialMethodHandle == null ? method.Handle : specialMethodHandle.Handle;
}
private static IEnumerable<string> GetAllTestDlls()
{
foreach (var item in Directory.GetFiles(TestAssemblyPath))
{
if (item.ToLower().EndsWith(".dll"))
{
yield return Path.GetFileName(item);
}
}
}
public static EcmaModule GetModuleForTestAssembly(string assemblyName)
{
var simpleNameToPathMap = new Dictionary<string, string>();
foreach (var fileName in GetAllTestDlls())
{
simpleNameToPathMap.Add(Path.GetFileNameWithoutExtension(fileName), Path.Combine(TestAssemblyPath, fileName));
}
Assembly coreAssembly = typeof(object).GetTypeInfo().Assembly;
simpleNameToPathMap.Add(coreAssembly.GetName().Name, coreAssembly.Location);
Assembly systemRuntime = Assembly.Load(new AssemblyName("System.Runtime"));
simpleNameToPathMap.Add(systemRuntime.GetName().Name, systemRuntime.Location);
var resolver = new TestResolver(simpleNameToPathMap);
var typeSystemContext = new ILVerifyTypeSystemContext(resolver);
typeSystemContext.SetSystemModule(typeSystemContext.GetModule(resolver.Resolve(coreAssembly.GetName().Name)));
return typeSystemContext.GetModule(resolver.Resolve(new AssemblyName(Path.GetFileNameWithoutExtension(assemblyName)).Name));
}
private sealed class TestResolver : ResolverBase
{
Dictionary<string, string> _simpleNameToPathMap;
public TestResolver(Dictionary<string, string> simpleNameToPathMap)
{
_simpleNameToPathMap = simpleNameToPathMap;
}
protected override PEReader ResolveCore(string simpleName)
{
if (_simpleNameToPathMap.TryGetValue(simpleName, out string path))
{
return new PEReader(File.OpenRead(path));
}
return null;
}
}
}
public abstract class TestCase : IXunitSerializable
{
public string TestName { get; set; }
public string TypeName { get; set; }
public string MethodName { get; set; }
public int MetadataToken { get; set; }
public string ModuleName { get; set; }
public virtual void Deserialize(IXunitSerializationInfo info)
{
TestName = info.GetValue<string>(nameof(TestName));
TypeName = info.GetValue<string>(nameof(TypeName));
MethodName = info.GetValue<string>(nameof(MethodName));
MetadataToken = info.GetValue<int>(nameof(MetadataToken));
ModuleName = info.GetValue<string>(nameof(ModuleName));
}
public virtual void Serialize(IXunitSerializationInfo info)
{
info.AddValue(nameof(TestName), TestName);
info.AddValue(nameof(TypeName), TypeName);
info.AddValue(nameof(MethodName), MethodName);
info.AddValue(nameof(MetadataToken), MetadataToken);
info.AddValue(nameof(ModuleName), ModuleName);
}
public override string ToString()
{
return $"[{Path.GetFileNameWithoutExtension(ModuleName)}] {TestName}";
}
}
/// <summary>
/// Describes a test case with a method that contains valid IL
/// </summary>
public class ValidILTestCase : TestCase { }
/// <summary>
/// Describes a test case with a method that contains invalid IL with the expected VerifierErrors
/// </summary>
public class InvalidILTestCase : TestCase
{
public List<VerifierError> ExpectedVerifierErrors { get; set; }
public override void Serialize(IXunitSerializationInfo info)
{
base.Serialize(info);
var serializedExpectedErrors = JsonConvert.SerializeObject(ExpectedVerifierErrors);
info.AddValue(nameof(ExpectedVerifierErrors), serializedExpectedErrors);
}
public override void Deserialize(IXunitSerializationInfo info)
{
base.Deserialize(info);
var serializedExpectedErrors = info.GetValue<string>(nameof(ExpectedVerifierErrors));
ExpectedVerifierErrors = JsonConvert.DeserializeObject<List<VerifierError>>(serializedExpectedErrors);
}
public override string ToString()
{
return base.ToString() + GetErrorsString(ExpectedVerifierErrors);
}
private static string GetErrorsString(List<VerifierError> errors)
{
if (errors == null || errors.Count <= 0)
return String.Empty;
var errorsString = new StringBuilder(" (");
for (int i = 0; i < errors.Count - 1; ++i)
errorsString.Append(errors[i]).Append(", ");
errorsString.Append(errors[errors.Count - 1]);
errorsString.Append(")");
return errorsString.ToString();
}
}
public class ValidTypeTestCase : TestCase { }
public class InvalidTypeTestCase : TestCase
{
public List<VerifierError> ExpectedVerifierErrors { get; set; }
public override void Serialize(IXunitSerializationInfo info)
{
base.Serialize(info);
var serializedExpectedErrors = JsonConvert.SerializeObject(ExpectedVerifierErrors);
info.AddValue(nameof(ExpectedVerifierErrors), serializedExpectedErrors);
}
public override void Deserialize(IXunitSerializationInfo info)
{
base.Deserialize(info);
var serializedExpectedErrors = info.GetValue<string>(nameof(ExpectedVerifierErrors));
ExpectedVerifierErrors = JsonConvert.DeserializeObject<List<VerifierError>>(serializedExpectedErrors);
}
public override string ToString()
{
return base.ToString() + GetErrorsString(ExpectedVerifierErrors);
}
private static string GetErrorsString(List<VerifierError> errors)
{
if (errors == null || errors.Count <= 0)
return String.Empty;
var errorsString = new StringBuilder(" (");
for (int i = 0; i < errors.Count - 1; ++i)
errorsString.Append(errors[i]).Append(", ");
errorsString.Append(errors[errors.Count - 1]);
errorsString.Append(")");
return errorsString.ToString();
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Reflection.Metadata;
using System.Reflection.Metadata.Ecma335;
using System.Reflection.PortableExecutable;
using System.Text;
using ILVerify;
using Internal.TypeSystem.Ecma;
using Newtonsoft.Json;
using Xunit;
using Xunit.Abstractions;
namespace ILVerification.Tests
{
/// <summary>
/// Parses the methods in the test assemblies.
/// It loads all assemblies from the test folder defined in <code>TestDataLoader.TestAssemblyPath</code>
/// This class feeds the xunit Theories
/// </summary>
class TestDataLoader
{
/// <summary>
/// The folder with the test binaries
/// </summary>
private const string TestAssemblyPath = @"Tests";
private const string SpecialTestPrefix = "special.";
/// <summary>
/// Returns all class correctly implement based on following naming convention
/// [FriendlyName]_ValidType_Valid
/// </summary>
/// <returns></returns>
public static TheoryData<TestCase> GetTypesWithValidType()
{
var typeSelector = new Func<string[], TypeDefinitionHandle, TestCase>((mparams, typeDefinitionHandle) =>
{
if (mparams[1] == "ValidType")
{
return new ValidTypeTestCase { MetadataToken = MetadataTokens.GetToken(typeDefinitionHandle) };
}
return null;
});
return GetTestTypeFromDll(typeSelector);
}
/// <summary>
/// Returns all class doesn't correctly implement based on following naming convention
/// [FriendlyName]_InvalidType_[ExpectedVerifierError1]@[ExpectedVerifierError2]....[ExpectedVerifierErrorN]
/// </summary>
/// <returns></returns>
public static TheoryData<TestCase> GetTypesWithInvalidType()
{
var typeSelector = new Func<string[], TypeDefinitionHandle, TestCase>((mparams, typeDefinitionHandle) =>
{
if (mparams[1] == "InvalidType")
{
var verificationErros = new List<VerifierError>();
foreach (var expectedError in mparams[2].Split('@'))
{
verificationErros.Add((VerifierError)Enum.Parse(typeof(VerifierError), expectedError));
}
var newItem = new InvalidTypeTestCase { MetadataToken = MetadataTokens.GetToken(typeDefinitionHandle) };
newItem.ExpectedVerifierErrors = verificationErros;
return newItem;
}
return null;
});
return GetTestTypeFromDll(typeSelector);
}
private static TheoryData<TestCase> GetTestTypeFromDll(Func<string[], TypeDefinitionHandle, TestCase> typeSelector)
{
var retVal = new TheoryData<TestCase>();
foreach (var testDllName in GetAllTestDlls())
{
EcmaModule testModule = GetModuleForTestAssembly(testDllName);
MetadataReader metadataReader = testModule.PEReader.GetMetadataReader();
foreach (TypeDefinitionHandle typeHandle in metadataReader.TypeDefinitions)
{
var typeDef = metadataReader.GetTypeDefinition(typeHandle);
var typeName = metadataReader.GetString(typeDef.Name);
if (!string.IsNullOrEmpty(typeName) && typeName.Contains("_"))
{
var mparams = typeName.Split('_');
TestCase newItem = typeSelector(mparams, typeHandle);
if (newItem != null)
{
newItem.TestName = mparams[0];
newItem.TypeName = typeName;
newItem.ModuleName = testDllName;
retVal.Add(newItem);
}
}
}
}
return retVal;
}
/// <summary>
/// Returns all methods that contain valid IL code based on the following naming convention:
/// [FriendlyName]_Valid
/// The method must contain 1 '_'. The part before the '_' is a friendly name describing what the method does.
/// The word after the '_' has to be 'Valid' (Case sensitive)
/// E.g.: 'SimpleAdd_Valid'
/// </summary>
public static TheoryData<TestCase> GetMethodsWithValidIL()
{
var methodSelector = new Func<string[], MethodDefinitionHandle, TestCase>((mparams, methodHandle) =>
{
if (mparams.Length == 2 && mparams[1] == "Valid")
{
return new ValidILTestCase { MetadataToken = MetadataTokens.GetToken(methodHandle) };
}
return null;
});
return GetTestMethodsFromDll(methodSelector);
}
/// <summary>
/// Returns all methods that contain valid IL code based on the following naming convention:
/// [FriendlyName]_Invalid_[ExpectedVerifierError1].[ExpectedVerifierError2]....[ExpectedVerifierErrorN]
/// The method name must contain 2 '_' characters.
/// 1. part: a friendly name
/// 2. part: must be the word 'Invalid' (Case sensitive)
/// 3. part: the expected VerifierErrors as string separated by '.'.
/// E.g.: SimpleAdd_Invalid_ExpectedNumericType
/// </summary>
public static TheoryData<TestCase> GetMethodsWithInvalidIL()
{
var methodSelector = new Func<string[], MethodDefinitionHandle, TestCase>((mparams, methodHandle) =>
{
if (mparams.Length == 3 && mparams[1] == "Invalid")
{
var expectedErrors = mparams[2].Split('.');
var verificationErros = new List<VerifierError>();
foreach (var item in expectedErrors)
{
if (Enum.TryParse(item, out VerifierError expectedError))
{
verificationErros.Add(expectedError);
}
}
var newItem = new InvalidILTestCase { MetadataToken = MetadataTokens.GetToken(methodHandle) };
if (expectedErrors.Length > 0)
{
newItem.ExpectedVerifierErrors = verificationErros;
}
return newItem;
}
return null;
});
return GetTestMethodsFromDll(methodSelector);
}
private static TheoryData<TestCase> GetTestMethodsFromDll(Func<string[], MethodDefinitionHandle, TestCase> methodSelector)
{
var retVal = new TheoryData<TestCase>();
foreach (var testDllName in GetAllTestDlls())
{
var testModule = GetModuleForTestAssembly(testDllName);
foreach (var methodHandle in testModule.MetadataReader.MethodDefinitions)
{
var method = (EcmaMethod)testModule.GetMethod(methodHandle);
var methodName = method.Name;
if (!methodName.Contains('_', StringComparison.Ordinal))
continue;
var index = methodName.LastIndexOf("_Valid", StringComparison.Ordinal);
if (index < 0)
index = methodName.LastIndexOf("_Invalid", StringComparison.Ordinal);
if (index < 0)
continue;
var substring = methodName.Substring(index + 1);
var split = substring.Split('_');
string[] mparams = new string[split.Length + 1];
split.CopyTo(mparams, 1);
mparams[0] = methodName.Substring(0, index);
// examples of methodName to mparams transformation:
// * `get_Property` -> [ 'get_Property' ]
// * `CheckSomething_Valid` -> [ 'CheckSomething', 'Valid' ]
// * 'WrongMethod_Invalid_BranchOutOfTry' -> [ 'WrongMethod', 'Invalid', 'BranchOutOfTry' ]
// * 'MoreWrongMethod_Invalid_TypeAccess.InitOnly' -> [ 'MoreWrongMethod', 'Invalid', 'TypeAccess', 'InitOnly' ]
// * 'special.set_MyProperty.set_MyProperty_Invalid_InitOnly' -> [ 'special.set_MyProperty.set_MyProperty', 'Invalid', 'InitOnly' ]
var specialMethodHandle = HandleSpecialTests(mparams, method);
var newItem = methodSelector(mparams, specialMethodHandle);
if (newItem != null)
{
newItem.TestName = mparams[0];
newItem.MethodName = methodName;
newItem.ModuleName = testDllName;
retVal.Add(newItem);
}
}
}
return retVal;
}
private static MethodDefinitionHandle HandleSpecialTests(string[] methodParams, EcmaMethod method)
{
if (!methodParams[0].StartsWith(SpecialTestPrefix))
return method.Handle;
// Cut off special prefix
var specialParams = methodParams[0].Substring(SpecialTestPrefix.Length);
// Get friendly name / special name
int delimiter = specialParams.IndexOf('.');
if (delimiter < 0)
return method.Handle;
var friendlyName = specialParams.Substring(0, delimiter);
var specialName = specialParams.Substring(delimiter + 1);
// Substitute method parameters with friendly name
methodParams[0] = friendlyName;
var specialMethodHandle = (EcmaMethod)method.OwningType.GetMethod(specialName, method.Signature);
return specialMethodHandle == null ? method.Handle : specialMethodHandle.Handle;
}
private static IEnumerable<string> GetAllTestDlls()
{
foreach (var item in Directory.GetFiles(TestAssemblyPath))
{
if (item.ToLower().EndsWith(".dll"))
{
yield return Path.GetFileName(item);
}
}
}
public static EcmaModule GetModuleForTestAssembly(string assemblyName)
{
var simpleNameToPathMap = new Dictionary<string, string>();
foreach (var fileName in GetAllTestDlls())
{
simpleNameToPathMap.Add(Path.GetFileNameWithoutExtension(fileName), Path.Combine(TestAssemblyPath, fileName));
}
Assembly coreAssembly = typeof(object).GetTypeInfo().Assembly;
simpleNameToPathMap.Add(coreAssembly.GetName().Name, coreAssembly.Location);
Assembly systemRuntime = Assembly.Load(new AssemblyName("System.Runtime"));
simpleNameToPathMap.Add(systemRuntime.GetName().Name, systemRuntime.Location);
var resolver = new TestResolver(simpleNameToPathMap);
var typeSystemContext = new ILVerifyTypeSystemContext(resolver);
typeSystemContext.SetSystemModule(typeSystemContext.GetModule(resolver.Resolve(coreAssembly.GetName().Name)));
return typeSystemContext.GetModule(resolver.Resolve(new AssemblyName(Path.GetFileNameWithoutExtension(assemblyName)).Name));
}
private sealed class TestResolver : IResolver
{
Dictionary<string, PEReader> _resolverCache = new Dictionary<string, PEReader>();
Dictionary<string, string> _simpleNameToPathMap;
public TestResolver(Dictionary<string, string> simpleNameToPathMap)
{
_simpleNameToPathMap = simpleNameToPathMap;
}
PEReader IResolver.ResolveAssembly(AssemblyName assemblyName)
=> Resolve(assemblyName.Name);
PEReader IResolver.ResolveModule(AssemblyName referencingModule, string fileName)
=> Resolve(Path.GetFileNameWithoutExtension(fileName));
public PEReader Resolve(string simpleName)
{
if (_resolverCache.TryGetValue(simpleName, out PEReader peReader))
{
return peReader;
}
if (_simpleNameToPathMap.TryGetValue(simpleName, out string path))
{
var result = new PEReader(File.OpenRead(path));
_resolverCache.Add(simpleName, result);
return result;
}
return null;
}
}
}
public abstract class TestCase : IXunitSerializable
{
public string TestName { get; set; }
public string TypeName { get; set; }
public string MethodName { get; set; }
public int MetadataToken { get; set; }
public string ModuleName { get; set; }
public virtual void Deserialize(IXunitSerializationInfo info)
{
TestName = info.GetValue<string>(nameof(TestName));
TypeName = info.GetValue<string>(nameof(TypeName));
MethodName = info.GetValue<string>(nameof(MethodName));
MetadataToken = info.GetValue<int>(nameof(MetadataToken));
ModuleName = info.GetValue<string>(nameof(ModuleName));
}
public virtual void Serialize(IXunitSerializationInfo info)
{
info.AddValue(nameof(TestName), TestName);
info.AddValue(nameof(TypeName), TypeName);
info.AddValue(nameof(MethodName), MethodName);
info.AddValue(nameof(MetadataToken), MetadataToken);
info.AddValue(nameof(ModuleName), ModuleName);
}
public override string ToString()
{
return $"[{Path.GetFileNameWithoutExtension(ModuleName)}] {TestName}";
}
}
/// <summary>
/// Describes a test case with a method that contains valid IL
/// </summary>
public class ValidILTestCase : TestCase { }
/// <summary>
/// Describes a test case with a method that contains invalid IL with the expected VerifierErrors
/// </summary>
public class InvalidILTestCase : TestCase
{
public List<VerifierError> ExpectedVerifierErrors { get; set; }
public override void Serialize(IXunitSerializationInfo info)
{
base.Serialize(info);
var serializedExpectedErrors = JsonConvert.SerializeObject(ExpectedVerifierErrors);
info.AddValue(nameof(ExpectedVerifierErrors), serializedExpectedErrors);
}
public override void Deserialize(IXunitSerializationInfo info)
{
base.Deserialize(info);
var serializedExpectedErrors = info.GetValue<string>(nameof(ExpectedVerifierErrors));
ExpectedVerifierErrors = JsonConvert.DeserializeObject<List<VerifierError>>(serializedExpectedErrors);
}
public override string ToString()
{
return base.ToString() + GetErrorsString(ExpectedVerifierErrors);
}
private static string GetErrorsString(List<VerifierError> errors)
{
if (errors == null || errors.Count <= 0)
return String.Empty;
var errorsString = new StringBuilder(" (");
for (int i = 0; i < errors.Count - 1; ++i)
errorsString.Append(errors[i]).Append(", ");
errorsString.Append(errors[errors.Count - 1]);
errorsString.Append(")");
return errorsString.ToString();
}
}
public class ValidTypeTestCase : TestCase { }
public class InvalidTypeTestCase : TestCase
{
public List<VerifierError> ExpectedVerifierErrors { get; set; }
public override void Serialize(IXunitSerializationInfo info)
{
base.Serialize(info);
var serializedExpectedErrors = JsonConvert.SerializeObject(ExpectedVerifierErrors);
info.AddValue(nameof(ExpectedVerifierErrors), serializedExpectedErrors);
}
public override void Deserialize(IXunitSerializationInfo info)
{
base.Deserialize(info);
var serializedExpectedErrors = info.GetValue<string>(nameof(ExpectedVerifierErrors));
ExpectedVerifierErrors = JsonConvert.DeserializeObject<List<VerifierError>>(serializedExpectedErrors);
}
public override string ToString()
{
return base.ToString() + GetErrorsString(ExpectedVerifierErrors);
}
private static string GetErrorsString(List<VerifierError> errors)
{
if (errors == null || errors.Count <= 0)
return String.Empty;
var errorsString = new StringBuilder(" (");
for (int i = 0; i < errors.Count - 1; ++i)
errorsString.Append(errors[i]).Append(", ");
errorsString.Append(errors[errors.Count - 1]);
errorsString.Append(")");
return errorsString.ToString();
}
}
}
| 1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/libraries/System.Text.Encoding/tests/UnicodeEncoding/UnicodeEncodingGetMaxByteCount.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Xunit;
namespace System.Text.Tests
{
public class UnicodeEncodingGetMaxByteCount
{
[Theory]
[InlineData(0)]
[InlineData(1)]
[InlineData(int.MaxValue / 2 - 1)]
public void GetMaxByteCount(int charCount)
{
int expected = (charCount + 1) * 2;
Assert.Equal(expected, new UnicodeEncoding(false, true, false).GetMaxByteCount(charCount));
Assert.Equal(expected, new UnicodeEncoding(false, false, false).GetMaxByteCount(charCount));
Assert.Equal(expected, new UnicodeEncoding(true, true, false).GetMaxByteCount(charCount));
Assert.Equal(expected, new UnicodeEncoding(true, false, false).GetMaxByteCount(charCount));
Assert.Equal(expected, new UnicodeEncoding(false, true, true).GetMaxByteCount(charCount));
Assert.Equal(expected, new UnicodeEncoding(false, false, true).GetMaxByteCount(charCount));
Assert.Equal(expected, new UnicodeEncoding(true, true, true).GetMaxByteCount(charCount));
Assert.Equal(expected, new UnicodeEncoding(true, false, true).GetMaxByteCount(charCount));
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Xunit;
namespace System.Text.Tests
{
public class UnicodeEncodingGetMaxByteCount
{
[Theory]
[InlineData(0)]
[InlineData(1)]
[InlineData(int.MaxValue / 2 - 1)]
public void GetMaxByteCount(int charCount)
{
int expected = (charCount + 1) * 2;
Assert.Equal(expected, new UnicodeEncoding(false, true, false).GetMaxByteCount(charCount));
Assert.Equal(expected, new UnicodeEncoding(false, false, false).GetMaxByteCount(charCount));
Assert.Equal(expected, new UnicodeEncoding(true, true, false).GetMaxByteCount(charCount));
Assert.Equal(expected, new UnicodeEncoding(true, false, false).GetMaxByteCount(charCount));
Assert.Equal(expected, new UnicodeEncoding(false, true, true).GetMaxByteCount(charCount));
Assert.Equal(expected, new UnicodeEncoding(false, false, true).GetMaxByteCount(charCount));
Assert.Equal(expected, new UnicodeEncoding(true, true, true).GetMaxByteCount(charCount));
Assert.Equal(expected, new UnicodeEncoding(true, false, true).GetMaxByteCount(charCount));
}
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/libraries/System.Data.Common/src/System/Data/SQLTypes/INullable.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.Data.SqlTypes
{
public interface INullable
{
bool IsNull { get; }
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.Data.SqlTypes
{
public interface INullable
{
bool IsNull { get; }
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/tests/JIT/HardwareIntrinsics/Arm/Rdm/MultiplyRoundedDoublingAndSubtractSaturateHigh.Vector128.Int16.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/******************************************************************************
* This file is auto-generated from a template file by the GenerateTests.csx *
* script in tests\src\JIT\HardwareIntrinsics.Arm\Shared. In order to make *
* changes, please update the corresponding template and run according to the *
* directions listed in the file. *
******************************************************************************/
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.Arm;
namespace JIT.HardwareIntrinsics.Arm
{
public static partial class Program
{
private static void MultiplyRoundedDoublingAndSubtractSaturateHigh_Vector128_Int16()
{
var test = new SimpleTernaryOpTest__MultiplyRoundedDoublingAndSubtractSaturateHigh_Vector128_Int16();
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
test.RunBasicScenario_UnsafeRead();
if (AdvSimd.IsSupported)
{
// Validates basic functionality works, using Load
test.RunBasicScenario_Load();
}
// Validates calling via reflection works, using Unsafe.Read
test.RunReflectionScenario_UnsafeRead();
if (AdvSimd.IsSupported)
{
// Validates calling via reflection works, using Load
test.RunReflectionScenario_Load();
}
// Validates passing a static member works
test.RunClsVarScenario();
if (AdvSimd.IsSupported)
{
// Validates passing a static member works, using pinning and Load
test.RunClsVarScenario_Load();
}
// Validates passing a local works, using Unsafe.Read
test.RunLclVarScenario_UnsafeRead();
if (AdvSimd.IsSupported)
{
// Validates passing a local works, using Load
test.RunLclVarScenario_Load();
}
// Validates passing the field of a local class works
test.RunClassLclFldScenario();
if (AdvSimd.IsSupported)
{
// Validates passing the field of a local class works, using pinning and Load
test.RunClassLclFldScenario_Load();
}
// Validates passing an instance member of a class works
test.RunClassFldScenario();
if (AdvSimd.IsSupported)
{
// Validates passing an instance member of a class works, using pinning and Load
test.RunClassFldScenario_Load();
}
// Validates passing the field of a local struct works
test.RunStructLclFldScenario();
if (AdvSimd.IsSupported)
{
// Validates passing the field of a local struct works, using pinning and Load
test.RunStructLclFldScenario_Load();
}
// Validates passing an instance member of a struct works
test.RunStructFldScenario();
if (AdvSimd.IsSupported)
{
// Validates passing an instance member of a struct works, using pinning and Load
test.RunStructFldScenario_Load();
}
}
else
{
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
if (!test.Succeeded)
{
throw new Exception("One or more scenarios did not complete as expected.");
}
}
}
public sealed unsafe class SimpleTernaryOpTest__MultiplyRoundedDoublingAndSubtractSaturateHigh_Vector128_Int16
{
private struct DataTable
{
private byte[] inArray1;
private byte[] inArray2;
private byte[] inArray3;
private byte[] outArray;
private GCHandle inHandle1;
private GCHandle inHandle2;
private GCHandle inHandle3;
private GCHandle outHandle;
private ulong alignment;
public DataTable(Int16[] inArray1, Int16[] inArray2, Int16[] inArray3, Int16[] outArray, int alignment)
{
int sizeOfinArray1 = inArray1.Length * Unsafe.SizeOf<Int16>();
int sizeOfinArray2 = inArray2.Length * Unsafe.SizeOf<Int16>();
int sizeOfinArray3 = inArray3.Length * Unsafe.SizeOf<Int16>();
int sizeOfoutArray = outArray.Length * Unsafe.SizeOf<Int16>();
if ((alignment != 16 && alignment != 8) || (alignment * 2) < sizeOfinArray1 || (alignment * 2) < sizeOfinArray2 || (alignment * 2) < sizeOfinArray3 || (alignment * 2) < sizeOfoutArray)
{
throw new ArgumentException("Invalid value of alignment");
}
this.inArray1 = new byte[alignment * 2];
this.inArray2 = new byte[alignment * 2];
this.inArray3 = new byte[alignment * 2];
this.outArray = new byte[alignment * 2];
this.inHandle1 = GCHandle.Alloc(this.inArray1, GCHandleType.Pinned);
this.inHandle2 = GCHandle.Alloc(this.inArray2, GCHandleType.Pinned);
this.inHandle3 = GCHandle.Alloc(this.inArray3, GCHandleType.Pinned);
this.outHandle = GCHandle.Alloc(this.outArray, GCHandleType.Pinned);
this.alignment = (ulong)alignment;
Unsafe.CopyBlockUnaligned(ref Unsafe.AsRef<byte>(inArray1Ptr), ref Unsafe.As<Int16, byte>(ref inArray1[0]), (uint)sizeOfinArray1);
Unsafe.CopyBlockUnaligned(ref Unsafe.AsRef<byte>(inArray2Ptr), ref Unsafe.As<Int16, byte>(ref inArray2[0]), (uint)sizeOfinArray2);
Unsafe.CopyBlockUnaligned(ref Unsafe.AsRef<byte>(inArray3Ptr), ref Unsafe.As<Int16, byte>(ref inArray3[0]), (uint)sizeOfinArray3);
}
public void* inArray1Ptr => Align((byte*)(inHandle1.AddrOfPinnedObject().ToPointer()), alignment);
public void* inArray2Ptr => Align((byte*)(inHandle2.AddrOfPinnedObject().ToPointer()), alignment);
public void* inArray3Ptr => Align((byte*)(inHandle3.AddrOfPinnedObject().ToPointer()), alignment);
public void* outArrayPtr => Align((byte*)(outHandle.AddrOfPinnedObject().ToPointer()), alignment);
public void Dispose()
{
inHandle1.Free();
inHandle2.Free();
inHandle3.Free();
outHandle.Free();
}
private static unsafe void* Align(byte* buffer, ulong expectedAlignment)
{
return (void*)(((ulong)buffer + expectedAlignment - 1) & ~(expectedAlignment - 1));
}
}
private struct TestStruct
{
public Vector128<Int16> _fld1;
public Vector128<Int16> _fld2;
public Vector128<Int16> _fld3;
public static TestStruct Create()
{
var testStruct = new TestStruct();
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<Int16>, byte>(ref testStruct._fld1), ref Unsafe.As<Int16, byte>(ref _data1[0]), (uint)Unsafe.SizeOf<Vector128<Int16>>());
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = TestLibrary.Generator.GetInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<Int16>, byte>(ref testStruct._fld2), ref Unsafe.As<Int16, byte>(ref _data2[0]), (uint)Unsafe.SizeOf<Vector128<Int16>>());
for (var i = 0; i < Op3ElementCount; i++) { _data3[i] = TestLibrary.Generator.GetInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<Int16>, byte>(ref testStruct._fld3), ref Unsafe.As<Int16, byte>(ref _data3[0]), (uint)Unsafe.SizeOf<Vector128<Int16>>());
return testStruct;
}
public void RunStructFldScenario(SimpleTernaryOpTest__MultiplyRoundedDoublingAndSubtractSaturateHigh_Vector128_Int16 testClass)
{
var result = Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh(_fld1, _fld2, _fld3);
Unsafe.Write(testClass._dataTable.outArrayPtr, result);
testClass.ValidateResult(_fld1, _fld2, _fld3, testClass._dataTable.outArrayPtr);
}
public void RunStructFldScenario_Load(SimpleTernaryOpTest__MultiplyRoundedDoublingAndSubtractSaturateHigh_Vector128_Int16 testClass)
{
fixed (Vector128<Int16>* pFld1 = &_fld1)
fixed (Vector128<Int16>* pFld2 = &_fld2)
fixed (Vector128<Int16>* pFld3 = &_fld3)
{
var result = Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh(
AdvSimd.LoadVector128((Int16*)(pFld1)),
AdvSimd.LoadVector128((Int16*)(pFld2)),
AdvSimd.LoadVector128((Int16*)(pFld3))
);
Unsafe.Write(testClass._dataTable.outArrayPtr, result);
testClass.ValidateResult(_fld1, _fld2, _fld3, testClass._dataTable.outArrayPtr);
}
}
}
private static readonly int LargestVectorSize = 16;
private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector128<Int16>>() / sizeof(Int16);
private static readonly int Op2ElementCount = Unsafe.SizeOf<Vector128<Int16>>() / sizeof(Int16);
private static readonly int Op3ElementCount = Unsafe.SizeOf<Vector128<Int16>>() / sizeof(Int16);
private static readonly int RetElementCount = Unsafe.SizeOf<Vector128<Int16>>() / sizeof(Int16);
private static Int16[] _data1 = new Int16[Op1ElementCount];
private static Int16[] _data2 = new Int16[Op2ElementCount];
private static Int16[] _data3 = new Int16[Op3ElementCount];
private static Vector128<Int16> _clsVar1;
private static Vector128<Int16> _clsVar2;
private static Vector128<Int16> _clsVar3;
private Vector128<Int16> _fld1;
private Vector128<Int16> _fld2;
private Vector128<Int16> _fld3;
private DataTable _dataTable;
static SimpleTernaryOpTest__MultiplyRoundedDoublingAndSubtractSaturateHigh_Vector128_Int16()
{
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<Int16>, byte>(ref _clsVar1), ref Unsafe.As<Int16, byte>(ref _data1[0]), (uint)Unsafe.SizeOf<Vector128<Int16>>());
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = TestLibrary.Generator.GetInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<Int16>, byte>(ref _clsVar2), ref Unsafe.As<Int16, byte>(ref _data2[0]), (uint)Unsafe.SizeOf<Vector128<Int16>>());
for (var i = 0; i < Op3ElementCount; i++) { _data3[i] = TestLibrary.Generator.GetInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<Int16>, byte>(ref _clsVar3), ref Unsafe.As<Int16, byte>(ref _data3[0]), (uint)Unsafe.SizeOf<Vector128<Int16>>());
}
public SimpleTernaryOpTest__MultiplyRoundedDoublingAndSubtractSaturateHigh_Vector128_Int16()
{
Succeeded = true;
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<Int16>, byte>(ref _fld1), ref Unsafe.As<Int16, byte>(ref _data1[0]), (uint)Unsafe.SizeOf<Vector128<Int16>>());
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = TestLibrary.Generator.GetInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<Int16>, byte>(ref _fld2), ref Unsafe.As<Int16, byte>(ref _data2[0]), (uint)Unsafe.SizeOf<Vector128<Int16>>());
for (var i = 0; i < Op3ElementCount; i++) { _data3[i] = TestLibrary.Generator.GetInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<Int16>, byte>(ref _fld3), ref Unsafe.As<Int16, byte>(ref _data3[0]), (uint)Unsafe.SizeOf<Vector128<Int16>>());
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetInt16(); }
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = TestLibrary.Generator.GetInt16(); }
for (var i = 0; i < Op3ElementCount; i++) { _data3[i] = TestLibrary.Generator.GetInt16(); }
_dataTable = new DataTable(_data1, _data2, _data3, new Int16[RetElementCount], LargestVectorSize);
}
public bool IsSupported => Rdm.IsSupported;
public bool Succeeded { get; set; }
public void RunBasicScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_UnsafeRead));
var result = Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh(
Unsafe.Read<Vector128<Int16>>(_dataTable.inArray1Ptr),
Unsafe.Read<Vector128<Int16>>(_dataTable.inArray2Ptr),
Unsafe.Read<Vector128<Int16>>(_dataTable.inArray3Ptr)
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.inArray3Ptr, _dataTable.outArrayPtr);
}
public void RunBasicScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
var result = Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh(
AdvSimd.LoadVector128((Int16*)(_dataTable.inArray1Ptr)),
AdvSimd.LoadVector128((Int16*)(_dataTable.inArray2Ptr)),
AdvSimd.LoadVector128((Int16*)(_dataTable.inArray3Ptr))
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.inArray3Ptr, _dataTable.outArrayPtr);
}
public void RunReflectionScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_UnsafeRead));
var result = typeof(Rdm).GetMethod(nameof(Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh), new Type[] { typeof(Vector128<Int16>), typeof(Vector128<Int16>), typeof(Vector128<Int16>) })
.Invoke(null, new object[] {
Unsafe.Read<Vector128<Int16>>(_dataTable.inArray1Ptr),
Unsafe.Read<Vector128<Int16>>(_dataTable.inArray2Ptr),
Unsafe.Read<Vector128<Int16>>(_dataTable.inArray3Ptr)
});
Unsafe.Write(_dataTable.outArrayPtr, (Vector128<Int16>)(result));
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.inArray3Ptr, _dataTable.outArrayPtr);
}
public void RunReflectionScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
var result = typeof(Rdm).GetMethod(nameof(Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh), new Type[] { typeof(Vector128<Int16>), typeof(Vector128<Int16>), typeof(Vector128<Int16>) })
.Invoke(null, new object[] {
AdvSimd.LoadVector128((Int16*)(_dataTable.inArray1Ptr)),
AdvSimd.LoadVector128((Int16*)(_dataTable.inArray2Ptr)),
AdvSimd.LoadVector128((Int16*)(_dataTable.inArray3Ptr))
});
Unsafe.Write(_dataTable.outArrayPtr, (Vector128<Int16>)(result));
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.inArray3Ptr, _dataTable.outArrayPtr);
}
public void RunClsVarScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClsVarScenario));
var result = Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh(
_clsVar1,
_clsVar2,
_clsVar3
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_clsVar1, _clsVar2, _clsVar3, _dataTable.outArrayPtr);
}
public void RunClsVarScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClsVarScenario_Load));
fixed (Vector128<Int16>* pClsVar1 = &_clsVar1)
fixed (Vector128<Int16>* pClsVar2 = &_clsVar2)
fixed (Vector128<Int16>* pClsVar3 = &_clsVar3)
{
var result = Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh(
AdvSimd.LoadVector128((Int16*)(pClsVar1)),
AdvSimd.LoadVector128((Int16*)(pClsVar2)),
AdvSimd.LoadVector128((Int16*)(pClsVar3))
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_clsVar1, _clsVar2, _clsVar3, _dataTable.outArrayPtr);
}
}
public void RunLclVarScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunLclVarScenario_UnsafeRead));
var op1 = Unsafe.Read<Vector128<Int16>>(_dataTable.inArray1Ptr);
var op2 = Unsafe.Read<Vector128<Int16>>(_dataTable.inArray2Ptr);
var op3 = Unsafe.Read<Vector128<Int16>>(_dataTable.inArray3Ptr);
var result = Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh(op1, op2, op3);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(op1, op2, op3, _dataTable.outArrayPtr);
}
public void RunLclVarScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunLclVarScenario_Load));
var op1 = AdvSimd.LoadVector128((Int16*)(_dataTable.inArray1Ptr));
var op2 = AdvSimd.LoadVector128((Int16*)(_dataTable.inArray2Ptr));
var op3 = AdvSimd.LoadVector128((Int16*)(_dataTable.inArray3Ptr));
var result = Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh(op1, op2, op3);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(op1, op2, op3, _dataTable.outArrayPtr);
}
public void RunClassLclFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassLclFldScenario));
var test = new SimpleTernaryOpTest__MultiplyRoundedDoublingAndSubtractSaturateHigh_Vector128_Int16();
var result = Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh(test._fld1, test._fld2, test._fld3);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld1, test._fld2, test._fld3, _dataTable.outArrayPtr);
}
public void RunClassLclFldScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassLclFldScenario_Load));
var test = new SimpleTernaryOpTest__MultiplyRoundedDoublingAndSubtractSaturateHigh_Vector128_Int16();
fixed (Vector128<Int16>* pFld1 = &test._fld1)
fixed (Vector128<Int16>* pFld2 = &test._fld2)
fixed (Vector128<Int16>* pFld3 = &test._fld3)
{
var result = Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh(
AdvSimd.LoadVector128((Int16*)(pFld1)),
AdvSimd.LoadVector128((Int16*)(pFld2)),
AdvSimd.LoadVector128((Int16*)(pFld3))
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld1, test._fld2, test._fld3, _dataTable.outArrayPtr);
}
}
public void RunClassFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassFldScenario));
var result = Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh(_fld1, _fld2, _fld3);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_fld1, _fld2, _fld3, _dataTable.outArrayPtr);
}
public void RunClassFldScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassFldScenario_Load));
fixed (Vector128<Int16>* pFld1 = &_fld1)
fixed (Vector128<Int16>* pFld2 = &_fld2)
fixed (Vector128<Int16>* pFld3 = &_fld3)
{
var result = Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh(
AdvSimd.LoadVector128((Int16*)(pFld1)),
AdvSimd.LoadVector128((Int16*)(pFld2)),
AdvSimd.LoadVector128((Int16*)(pFld3))
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_fld1, _fld2, _fld3, _dataTable.outArrayPtr);
}
}
public void RunStructLclFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructLclFldScenario));
var test = TestStruct.Create();
var result = Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh(test._fld1, test._fld2, test._fld3);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld1, test._fld2, test._fld3, _dataTable.outArrayPtr);
}
public void RunStructLclFldScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructLclFldScenario_Load));
var test = TestStruct.Create();
var result = Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh(
AdvSimd.LoadVector128((Int16*)(&test._fld1)),
AdvSimd.LoadVector128((Int16*)(&test._fld2)),
AdvSimd.LoadVector128((Int16*)(&test._fld3))
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld1, test._fld2, test._fld3, _dataTable.outArrayPtr);
}
public void RunStructFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructFldScenario));
var test = TestStruct.Create();
test.RunStructFldScenario(this);
}
public void RunStructFldScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructFldScenario_Load));
var test = TestStruct.Create();
test.RunStructFldScenario_Load(this);
}
public void RunUnsupportedScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
bool succeeded = false;
try
{
RunBasicScenario_UnsafeRead();
}
catch (PlatformNotSupportedException)
{
succeeded = true;
}
if (!succeeded)
{
Succeeded = false;
}
}
private void ValidateResult(Vector128<Int16> op1, Vector128<Int16> op2, Vector128<Int16> op3, void* result, [CallerMemberName] string method = "")
{
Int16[] inArray1 = new Int16[Op1ElementCount];
Int16[] inArray2 = new Int16[Op2ElementCount];
Int16[] inArray3 = new Int16[Op3ElementCount];
Int16[] outArray = new Int16[RetElementCount];
Unsafe.WriteUnaligned(ref Unsafe.As<Int16, byte>(ref inArray1[0]), op1);
Unsafe.WriteUnaligned(ref Unsafe.As<Int16, byte>(ref inArray2[0]), op2);
Unsafe.WriteUnaligned(ref Unsafe.As<Int16, byte>(ref inArray3[0]), op3);
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int16, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<Int16>>());
ValidateResult(inArray1, inArray2, inArray3, outArray, method);
}
private void ValidateResult(void* op1, void* op2, void* op3, void* result, [CallerMemberName] string method = "")
{
Int16[] inArray1 = new Int16[Op1ElementCount];
Int16[] inArray2 = new Int16[Op2ElementCount];
Int16[] inArray3 = new Int16[Op3ElementCount];
Int16[] outArray = new Int16[RetElementCount];
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int16, byte>(ref inArray1[0]), ref Unsafe.AsRef<byte>(op1), (uint)Unsafe.SizeOf<Vector128<Int16>>());
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int16, byte>(ref inArray2[0]), ref Unsafe.AsRef<byte>(op2), (uint)Unsafe.SizeOf<Vector128<Int16>>());
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int16, byte>(ref inArray3[0]), ref Unsafe.AsRef<byte>(op3), (uint)Unsafe.SizeOf<Vector128<Int16>>());
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int16, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<Int16>>());
ValidateResult(inArray1, inArray2, inArray3, outArray, method);
}
private void ValidateResult(Int16[] firstOp, Int16[] secondOp, Int16[] thirdOp, Int16[] result, [CallerMemberName] string method = "")
{
bool succeeded = true;
for (var i = 0; i < RetElementCount; i++)
{
if (Helpers.MultiplyRoundedDoublingAndSubtractSaturateHigh(firstOp[i], secondOp[i], thirdOp[i]) != result[i])
{
succeeded = false;
break;
}
}
if (!succeeded)
{
TestLibrary.TestFramework.LogInformation($"{nameof(Rdm)}.{nameof(Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh)}<Int16>(Vector128<Int16>, Vector128<Int16>, Vector128<Int16>): {method} failed:");
TestLibrary.TestFramework.LogInformation($" firstOp: ({string.Join(", ", firstOp)})");
TestLibrary.TestFramework.LogInformation($"secondOp: ({string.Join(", ", secondOp)})");
TestLibrary.TestFramework.LogInformation($" thirdOp: ({string.Join(", ", thirdOp)})");
TestLibrary.TestFramework.LogInformation($" result: ({string.Join(", ", result)})");
TestLibrary.TestFramework.LogInformation(string.Empty);
Succeeded = false;
}
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/******************************************************************************
* This file is auto-generated from a template file by the GenerateTests.csx *
* script in tests\src\JIT\HardwareIntrinsics.Arm\Shared. In order to make *
* changes, please update the corresponding template and run according to the *
* directions listed in the file. *
******************************************************************************/
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.Arm;
namespace JIT.HardwareIntrinsics.Arm
{
public static partial class Program
{
private static void MultiplyRoundedDoublingAndSubtractSaturateHigh_Vector128_Int16()
{
var test = new SimpleTernaryOpTest__MultiplyRoundedDoublingAndSubtractSaturateHigh_Vector128_Int16();
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
test.RunBasicScenario_UnsafeRead();
if (AdvSimd.IsSupported)
{
// Validates basic functionality works, using Load
test.RunBasicScenario_Load();
}
// Validates calling via reflection works, using Unsafe.Read
test.RunReflectionScenario_UnsafeRead();
if (AdvSimd.IsSupported)
{
// Validates calling via reflection works, using Load
test.RunReflectionScenario_Load();
}
// Validates passing a static member works
test.RunClsVarScenario();
if (AdvSimd.IsSupported)
{
// Validates passing a static member works, using pinning and Load
test.RunClsVarScenario_Load();
}
// Validates passing a local works, using Unsafe.Read
test.RunLclVarScenario_UnsafeRead();
if (AdvSimd.IsSupported)
{
// Validates passing a local works, using Load
test.RunLclVarScenario_Load();
}
// Validates passing the field of a local class works
test.RunClassLclFldScenario();
if (AdvSimd.IsSupported)
{
// Validates passing the field of a local class works, using pinning and Load
test.RunClassLclFldScenario_Load();
}
// Validates passing an instance member of a class works
test.RunClassFldScenario();
if (AdvSimd.IsSupported)
{
// Validates passing an instance member of a class works, using pinning and Load
test.RunClassFldScenario_Load();
}
// Validates passing the field of a local struct works
test.RunStructLclFldScenario();
if (AdvSimd.IsSupported)
{
// Validates passing the field of a local struct works, using pinning and Load
test.RunStructLclFldScenario_Load();
}
// Validates passing an instance member of a struct works
test.RunStructFldScenario();
if (AdvSimd.IsSupported)
{
// Validates passing an instance member of a struct works, using pinning and Load
test.RunStructFldScenario_Load();
}
}
else
{
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
if (!test.Succeeded)
{
throw new Exception("One or more scenarios did not complete as expected.");
}
}
}
public sealed unsafe class SimpleTernaryOpTest__MultiplyRoundedDoublingAndSubtractSaturateHigh_Vector128_Int16
{
private struct DataTable
{
private byte[] inArray1;
private byte[] inArray2;
private byte[] inArray3;
private byte[] outArray;
private GCHandle inHandle1;
private GCHandle inHandle2;
private GCHandle inHandle3;
private GCHandle outHandle;
private ulong alignment;
public DataTable(Int16[] inArray1, Int16[] inArray2, Int16[] inArray3, Int16[] outArray, int alignment)
{
int sizeOfinArray1 = inArray1.Length * Unsafe.SizeOf<Int16>();
int sizeOfinArray2 = inArray2.Length * Unsafe.SizeOf<Int16>();
int sizeOfinArray3 = inArray3.Length * Unsafe.SizeOf<Int16>();
int sizeOfoutArray = outArray.Length * Unsafe.SizeOf<Int16>();
if ((alignment != 16 && alignment != 8) || (alignment * 2) < sizeOfinArray1 || (alignment * 2) < sizeOfinArray2 || (alignment * 2) < sizeOfinArray3 || (alignment * 2) < sizeOfoutArray)
{
throw new ArgumentException("Invalid value of alignment");
}
this.inArray1 = new byte[alignment * 2];
this.inArray2 = new byte[alignment * 2];
this.inArray3 = new byte[alignment * 2];
this.outArray = new byte[alignment * 2];
this.inHandle1 = GCHandle.Alloc(this.inArray1, GCHandleType.Pinned);
this.inHandle2 = GCHandle.Alloc(this.inArray2, GCHandleType.Pinned);
this.inHandle3 = GCHandle.Alloc(this.inArray3, GCHandleType.Pinned);
this.outHandle = GCHandle.Alloc(this.outArray, GCHandleType.Pinned);
this.alignment = (ulong)alignment;
Unsafe.CopyBlockUnaligned(ref Unsafe.AsRef<byte>(inArray1Ptr), ref Unsafe.As<Int16, byte>(ref inArray1[0]), (uint)sizeOfinArray1);
Unsafe.CopyBlockUnaligned(ref Unsafe.AsRef<byte>(inArray2Ptr), ref Unsafe.As<Int16, byte>(ref inArray2[0]), (uint)sizeOfinArray2);
Unsafe.CopyBlockUnaligned(ref Unsafe.AsRef<byte>(inArray3Ptr), ref Unsafe.As<Int16, byte>(ref inArray3[0]), (uint)sizeOfinArray3);
}
public void* inArray1Ptr => Align((byte*)(inHandle1.AddrOfPinnedObject().ToPointer()), alignment);
public void* inArray2Ptr => Align((byte*)(inHandle2.AddrOfPinnedObject().ToPointer()), alignment);
public void* inArray3Ptr => Align((byte*)(inHandle3.AddrOfPinnedObject().ToPointer()), alignment);
public void* outArrayPtr => Align((byte*)(outHandle.AddrOfPinnedObject().ToPointer()), alignment);
public void Dispose()
{
inHandle1.Free();
inHandle2.Free();
inHandle3.Free();
outHandle.Free();
}
private static unsafe void* Align(byte* buffer, ulong expectedAlignment)
{
return (void*)(((ulong)buffer + expectedAlignment - 1) & ~(expectedAlignment - 1));
}
}
private struct TestStruct
{
public Vector128<Int16> _fld1;
public Vector128<Int16> _fld2;
public Vector128<Int16> _fld3;
public static TestStruct Create()
{
var testStruct = new TestStruct();
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<Int16>, byte>(ref testStruct._fld1), ref Unsafe.As<Int16, byte>(ref _data1[0]), (uint)Unsafe.SizeOf<Vector128<Int16>>());
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = TestLibrary.Generator.GetInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<Int16>, byte>(ref testStruct._fld2), ref Unsafe.As<Int16, byte>(ref _data2[0]), (uint)Unsafe.SizeOf<Vector128<Int16>>());
for (var i = 0; i < Op3ElementCount; i++) { _data3[i] = TestLibrary.Generator.GetInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<Int16>, byte>(ref testStruct._fld3), ref Unsafe.As<Int16, byte>(ref _data3[0]), (uint)Unsafe.SizeOf<Vector128<Int16>>());
return testStruct;
}
public void RunStructFldScenario(SimpleTernaryOpTest__MultiplyRoundedDoublingAndSubtractSaturateHigh_Vector128_Int16 testClass)
{
var result = Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh(_fld1, _fld2, _fld3);
Unsafe.Write(testClass._dataTable.outArrayPtr, result);
testClass.ValidateResult(_fld1, _fld2, _fld3, testClass._dataTable.outArrayPtr);
}
public void RunStructFldScenario_Load(SimpleTernaryOpTest__MultiplyRoundedDoublingAndSubtractSaturateHigh_Vector128_Int16 testClass)
{
fixed (Vector128<Int16>* pFld1 = &_fld1)
fixed (Vector128<Int16>* pFld2 = &_fld2)
fixed (Vector128<Int16>* pFld3 = &_fld3)
{
var result = Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh(
AdvSimd.LoadVector128((Int16*)(pFld1)),
AdvSimd.LoadVector128((Int16*)(pFld2)),
AdvSimd.LoadVector128((Int16*)(pFld3))
);
Unsafe.Write(testClass._dataTable.outArrayPtr, result);
testClass.ValidateResult(_fld1, _fld2, _fld3, testClass._dataTable.outArrayPtr);
}
}
}
private static readonly int LargestVectorSize = 16;
private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector128<Int16>>() / sizeof(Int16);
private static readonly int Op2ElementCount = Unsafe.SizeOf<Vector128<Int16>>() / sizeof(Int16);
private static readonly int Op3ElementCount = Unsafe.SizeOf<Vector128<Int16>>() / sizeof(Int16);
private static readonly int RetElementCount = Unsafe.SizeOf<Vector128<Int16>>() / sizeof(Int16);
private static Int16[] _data1 = new Int16[Op1ElementCount];
private static Int16[] _data2 = new Int16[Op2ElementCount];
private static Int16[] _data3 = new Int16[Op3ElementCount];
private static Vector128<Int16> _clsVar1;
private static Vector128<Int16> _clsVar2;
private static Vector128<Int16> _clsVar3;
private Vector128<Int16> _fld1;
private Vector128<Int16> _fld2;
private Vector128<Int16> _fld3;
private DataTable _dataTable;
static SimpleTernaryOpTest__MultiplyRoundedDoublingAndSubtractSaturateHigh_Vector128_Int16()
{
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<Int16>, byte>(ref _clsVar1), ref Unsafe.As<Int16, byte>(ref _data1[0]), (uint)Unsafe.SizeOf<Vector128<Int16>>());
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = TestLibrary.Generator.GetInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<Int16>, byte>(ref _clsVar2), ref Unsafe.As<Int16, byte>(ref _data2[0]), (uint)Unsafe.SizeOf<Vector128<Int16>>());
for (var i = 0; i < Op3ElementCount; i++) { _data3[i] = TestLibrary.Generator.GetInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<Int16>, byte>(ref _clsVar3), ref Unsafe.As<Int16, byte>(ref _data3[0]), (uint)Unsafe.SizeOf<Vector128<Int16>>());
}
public SimpleTernaryOpTest__MultiplyRoundedDoublingAndSubtractSaturateHigh_Vector128_Int16()
{
Succeeded = true;
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<Int16>, byte>(ref _fld1), ref Unsafe.As<Int16, byte>(ref _data1[0]), (uint)Unsafe.SizeOf<Vector128<Int16>>());
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = TestLibrary.Generator.GetInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<Int16>, byte>(ref _fld2), ref Unsafe.As<Int16, byte>(ref _data2[0]), (uint)Unsafe.SizeOf<Vector128<Int16>>());
for (var i = 0; i < Op3ElementCount; i++) { _data3[i] = TestLibrary.Generator.GetInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<Int16>, byte>(ref _fld3), ref Unsafe.As<Int16, byte>(ref _data3[0]), (uint)Unsafe.SizeOf<Vector128<Int16>>());
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetInt16(); }
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = TestLibrary.Generator.GetInt16(); }
for (var i = 0; i < Op3ElementCount; i++) { _data3[i] = TestLibrary.Generator.GetInt16(); }
_dataTable = new DataTable(_data1, _data2, _data3, new Int16[RetElementCount], LargestVectorSize);
}
public bool IsSupported => Rdm.IsSupported;
public bool Succeeded { get; set; }
public void RunBasicScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_UnsafeRead));
var result = Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh(
Unsafe.Read<Vector128<Int16>>(_dataTable.inArray1Ptr),
Unsafe.Read<Vector128<Int16>>(_dataTable.inArray2Ptr),
Unsafe.Read<Vector128<Int16>>(_dataTable.inArray3Ptr)
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.inArray3Ptr, _dataTable.outArrayPtr);
}
public void RunBasicScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
var result = Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh(
AdvSimd.LoadVector128((Int16*)(_dataTable.inArray1Ptr)),
AdvSimd.LoadVector128((Int16*)(_dataTable.inArray2Ptr)),
AdvSimd.LoadVector128((Int16*)(_dataTable.inArray3Ptr))
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.inArray3Ptr, _dataTable.outArrayPtr);
}
public void RunReflectionScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_UnsafeRead));
var result = typeof(Rdm).GetMethod(nameof(Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh), new Type[] { typeof(Vector128<Int16>), typeof(Vector128<Int16>), typeof(Vector128<Int16>) })
.Invoke(null, new object[] {
Unsafe.Read<Vector128<Int16>>(_dataTable.inArray1Ptr),
Unsafe.Read<Vector128<Int16>>(_dataTable.inArray2Ptr),
Unsafe.Read<Vector128<Int16>>(_dataTable.inArray3Ptr)
});
Unsafe.Write(_dataTable.outArrayPtr, (Vector128<Int16>)(result));
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.inArray3Ptr, _dataTable.outArrayPtr);
}
public void RunReflectionScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
var result = typeof(Rdm).GetMethod(nameof(Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh), new Type[] { typeof(Vector128<Int16>), typeof(Vector128<Int16>), typeof(Vector128<Int16>) })
.Invoke(null, new object[] {
AdvSimd.LoadVector128((Int16*)(_dataTable.inArray1Ptr)),
AdvSimd.LoadVector128((Int16*)(_dataTable.inArray2Ptr)),
AdvSimd.LoadVector128((Int16*)(_dataTable.inArray3Ptr))
});
Unsafe.Write(_dataTable.outArrayPtr, (Vector128<Int16>)(result));
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.inArray3Ptr, _dataTable.outArrayPtr);
}
public void RunClsVarScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClsVarScenario));
var result = Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh(
_clsVar1,
_clsVar2,
_clsVar3
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_clsVar1, _clsVar2, _clsVar3, _dataTable.outArrayPtr);
}
public void RunClsVarScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClsVarScenario_Load));
fixed (Vector128<Int16>* pClsVar1 = &_clsVar1)
fixed (Vector128<Int16>* pClsVar2 = &_clsVar2)
fixed (Vector128<Int16>* pClsVar3 = &_clsVar3)
{
var result = Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh(
AdvSimd.LoadVector128((Int16*)(pClsVar1)),
AdvSimd.LoadVector128((Int16*)(pClsVar2)),
AdvSimd.LoadVector128((Int16*)(pClsVar3))
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_clsVar1, _clsVar2, _clsVar3, _dataTable.outArrayPtr);
}
}
public void RunLclVarScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunLclVarScenario_UnsafeRead));
var op1 = Unsafe.Read<Vector128<Int16>>(_dataTable.inArray1Ptr);
var op2 = Unsafe.Read<Vector128<Int16>>(_dataTable.inArray2Ptr);
var op3 = Unsafe.Read<Vector128<Int16>>(_dataTable.inArray3Ptr);
var result = Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh(op1, op2, op3);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(op1, op2, op3, _dataTable.outArrayPtr);
}
public void RunLclVarScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunLclVarScenario_Load));
var op1 = AdvSimd.LoadVector128((Int16*)(_dataTable.inArray1Ptr));
var op2 = AdvSimd.LoadVector128((Int16*)(_dataTable.inArray2Ptr));
var op3 = AdvSimd.LoadVector128((Int16*)(_dataTable.inArray3Ptr));
var result = Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh(op1, op2, op3);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(op1, op2, op3, _dataTable.outArrayPtr);
}
public void RunClassLclFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassLclFldScenario));
var test = new SimpleTernaryOpTest__MultiplyRoundedDoublingAndSubtractSaturateHigh_Vector128_Int16();
var result = Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh(test._fld1, test._fld2, test._fld3);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld1, test._fld2, test._fld3, _dataTable.outArrayPtr);
}
public void RunClassLclFldScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassLclFldScenario_Load));
var test = new SimpleTernaryOpTest__MultiplyRoundedDoublingAndSubtractSaturateHigh_Vector128_Int16();
fixed (Vector128<Int16>* pFld1 = &test._fld1)
fixed (Vector128<Int16>* pFld2 = &test._fld2)
fixed (Vector128<Int16>* pFld3 = &test._fld3)
{
var result = Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh(
AdvSimd.LoadVector128((Int16*)(pFld1)),
AdvSimd.LoadVector128((Int16*)(pFld2)),
AdvSimd.LoadVector128((Int16*)(pFld3))
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld1, test._fld2, test._fld3, _dataTable.outArrayPtr);
}
}
public void RunClassFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassFldScenario));
var result = Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh(_fld1, _fld2, _fld3);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_fld1, _fld2, _fld3, _dataTable.outArrayPtr);
}
public void RunClassFldScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassFldScenario_Load));
fixed (Vector128<Int16>* pFld1 = &_fld1)
fixed (Vector128<Int16>* pFld2 = &_fld2)
fixed (Vector128<Int16>* pFld3 = &_fld3)
{
var result = Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh(
AdvSimd.LoadVector128((Int16*)(pFld1)),
AdvSimd.LoadVector128((Int16*)(pFld2)),
AdvSimd.LoadVector128((Int16*)(pFld3))
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_fld1, _fld2, _fld3, _dataTable.outArrayPtr);
}
}
public void RunStructLclFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructLclFldScenario));
var test = TestStruct.Create();
var result = Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh(test._fld1, test._fld2, test._fld3);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld1, test._fld2, test._fld3, _dataTable.outArrayPtr);
}
public void RunStructLclFldScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructLclFldScenario_Load));
var test = TestStruct.Create();
var result = Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh(
AdvSimd.LoadVector128((Int16*)(&test._fld1)),
AdvSimd.LoadVector128((Int16*)(&test._fld2)),
AdvSimd.LoadVector128((Int16*)(&test._fld3))
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld1, test._fld2, test._fld3, _dataTable.outArrayPtr);
}
public void RunStructFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructFldScenario));
var test = TestStruct.Create();
test.RunStructFldScenario(this);
}
public void RunStructFldScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructFldScenario_Load));
var test = TestStruct.Create();
test.RunStructFldScenario_Load(this);
}
public void RunUnsupportedScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
bool succeeded = false;
try
{
RunBasicScenario_UnsafeRead();
}
catch (PlatformNotSupportedException)
{
succeeded = true;
}
if (!succeeded)
{
Succeeded = false;
}
}
private void ValidateResult(Vector128<Int16> op1, Vector128<Int16> op2, Vector128<Int16> op3, void* result, [CallerMemberName] string method = "")
{
Int16[] inArray1 = new Int16[Op1ElementCount];
Int16[] inArray2 = new Int16[Op2ElementCount];
Int16[] inArray3 = new Int16[Op3ElementCount];
Int16[] outArray = new Int16[RetElementCount];
Unsafe.WriteUnaligned(ref Unsafe.As<Int16, byte>(ref inArray1[0]), op1);
Unsafe.WriteUnaligned(ref Unsafe.As<Int16, byte>(ref inArray2[0]), op2);
Unsafe.WriteUnaligned(ref Unsafe.As<Int16, byte>(ref inArray3[0]), op3);
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int16, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<Int16>>());
ValidateResult(inArray1, inArray2, inArray3, outArray, method);
}
private void ValidateResult(void* op1, void* op2, void* op3, void* result, [CallerMemberName] string method = "")
{
Int16[] inArray1 = new Int16[Op1ElementCount];
Int16[] inArray2 = new Int16[Op2ElementCount];
Int16[] inArray3 = new Int16[Op3ElementCount];
Int16[] outArray = new Int16[RetElementCount];
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int16, byte>(ref inArray1[0]), ref Unsafe.AsRef<byte>(op1), (uint)Unsafe.SizeOf<Vector128<Int16>>());
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int16, byte>(ref inArray2[0]), ref Unsafe.AsRef<byte>(op2), (uint)Unsafe.SizeOf<Vector128<Int16>>());
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int16, byte>(ref inArray3[0]), ref Unsafe.AsRef<byte>(op3), (uint)Unsafe.SizeOf<Vector128<Int16>>());
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Int16, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<Int16>>());
ValidateResult(inArray1, inArray2, inArray3, outArray, method);
}
private void ValidateResult(Int16[] firstOp, Int16[] secondOp, Int16[] thirdOp, Int16[] result, [CallerMemberName] string method = "")
{
bool succeeded = true;
for (var i = 0; i < RetElementCount; i++)
{
if (Helpers.MultiplyRoundedDoublingAndSubtractSaturateHigh(firstOp[i], secondOp[i], thirdOp[i]) != result[i])
{
succeeded = false;
break;
}
}
if (!succeeded)
{
TestLibrary.TestFramework.LogInformation($"{nameof(Rdm)}.{nameof(Rdm.MultiplyRoundedDoublingAndSubtractSaturateHigh)}<Int16>(Vector128<Int16>, Vector128<Int16>, Vector128<Int16>): {method} failed:");
TestLibrary.TestFramework.LogInformation($" firstOp: ({string.Join(", ", firstOp)})");
TestLibrary.TestFramework.LogInformation($"secondOp: ({string.Join(", ", secondOp)})");
TestLibrary.TestFramework.LogInformation($" thirdOp: ({string.Join(", ", thirdOp)})");
TestLibrary.TestFramework.LogInformation($" result: ({string.Join(", ", result)})");
TestLibrary.TestFramework.LogInformation(string.Empty);
Succeeded = false;
}
}
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/libraries/Common/src/Interop/Windows/WebSocket/Interop.Structs.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Net.WebSockets;
using System.Runtime.InteropServices;
internal static partial class Interop
{
internal static partial class WebSocket
{
[StructLayout(LayoutKind.Explicit)]
internal struct Buffer
{
[FieldOffset(0)]
internal DataBuffer Data;
[FieldOffset(0)]
internal CloseBuffer CloseStatus;
}
[StructLayout(LayoutKind.Sequential)]
internal struct Property
{
internal WebSocketProtocolComponent.PropertyType Type;
internal IntPtr PropertyData;
internal uint PropertySize;
}
[StructLayout(LayoutKind.Sequential)]
internal struct DataBuffer
{
internal IntPtr BufferData;
internal uint BufferLength;
}
[StructLayout(LayoutKind.Sequential)]
internal struct CloseBuffer
{
internal IntPtr ReasonData;
internal uint ReasonLength;
internal ushort CloseStatus;
}
[NativeMarshalling(typeof(Native))]
internal struct HttpHeader
{
internal string Name;
internal uint NameLength;
internal string Value;
internal uint ValueLength;
internal struct Native
{
private IntPtr Name;
private uint NameLength;
private IntPtr Value;
private uint ValueLength;
public Native(HttpHeader managed)
{
Name = Marshal.StringToCoTaskMemAnsi(managed.Name);
NameLength = managed.NameLength;
Value = Marshal.StringToCoTaskMemAnsi(managed.Value);
ValueLength = managed.ValueLength;
}
public void FreeNative()
{
Marshal.FreeCoTaskMem(Name);
Marshal.FreeCoTaskMem(Value);
}
}
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Net.WebSockets;
using System.Runtime.InteropServices;
internal static partial class Interop
{
internal static partial class WebSocket
{
[StructLayout(LayoutKind.Explicit)]
internal struct Buffer
{
[FieldOffset(0)]
internal DataBuffer Data;
[FieldOffset(0)]
internal CloseBuffer CloseStatus;
}
[StructLayout(LayoutKind.Sequential)]
internal struct Property
{
internal WebSocketProtocolComponent.PropertyType Type;
internal IntPtr PropertyData;
internal uint PropertySize;
}
[StructLayout(LayoutKind.Sequential)]
internal struct DataBuffer
{
internal IntPtr BufferData;
internal uint BufferLength;
}
[StructLayout(LayoutKind.Sequential)]
internal struct CloseBuffer
{
internal IntPtr ReasonData;
internal uint ReasonLength;
internal ushort CloseStatus;
}
[NativeMarshalling(typeof(Native))]
internal struct HttpHeader
{
internal string Name;
internal uint NameLength;
internal string Value;
internal uint ValueLength;
internal struct Native
{
private IntPtr Name;
private uint NameLength;
private IntPtr Value;
private uint ValueLength;
public Native(HttpHeader managed)
{
Name = Marshal.StringToCoTaskMemAnsi(managed.Name);
NameLength = managed.NameLength;
Value = Marshal.StringToCoTaskMemAnsi(managed.Value);
ValueLength = managed.ValueLength;
}
public void FreeNative()
{
Marshal.FreeCoTaskMem(Name);
Marshal.FreeCoTaskMem(Value);
}
}
}
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/libraries/System.Text.Json/src/System/Text/Json/Serialization/JsonSerializer.Write.Helpers.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Diagnostics;
using System.Text.Json.Serialization;
using System.Text.Json.Serialization.Metadata;
namespace System.Text.Json
{
public static partial class JsonSerializer
{
private static bool WriteCore<TValue>(
JsonConverter jsonConverter,
Utf8JsonWriter writer,
in TValue value,
JsonSerializerOptions options,
ref WriteStack state)
{
Debug.Assert(writer != null);
bool success;
if (jsonConverter is JsonConverter<TValue> converter)
{
// Call the strongly-typed WriteCore that will not box structs.
success = converter.WriteCore(writer, value, options, ref state);
}
else
{
// The non-generic API was called or we have a polymorphic case where TValue is not equal to the T in JsonConverter<T>.
success = jsonConverter.WriteCoreAsObject(writer, value, options, ref state);
}
writer.Flush();
return success;
}
private static void WriteUsingGeneratedSerializer<TValue>(Utf8JsonWriter writer, in TValue value, JsonTypeInfo jsonTypeInfo)
{
Debug.Assert(writer != null);
if (jsonTypeInfo.HasSerialize &&
jsonTypeInfo is JsonTypeInfo<TValue> typedInfo &&
typedInfo.Options._serializerContext?.CanUseSerializationLogic == true)
{
Debug.Assert(typedInfo.SerializeHandler != null);
typedInfo.SerializeHandler(writer, value);
writer.Flush();
}
else
{
WriteUsingSerializer(writer, value, jsonTypeInfo);
}
}
private static void WriteUsingSerializer<TValue>(Utf8JsonWriter writer, in TValue value, JsonTypeInfo jsonTypeInfo)
{
Debug.Assert(writer != null);
Debug.Assert(!jsonTypeInfo.HasSerialize ||
jsonTypeInfo is not JsonTypeInfo<TValue> ||
jsonTypeInfo.Options._serializerContext == null ||
!jsonTypeInfo.Options._serializerContext.CanUseSerializationLogic,
"Incorrect method called. WriteUsingGeneratedSerializer() should have been called instead.");
WriteStack state = default;
state.Initialize(jsonTypeInfo, supportContinuation: false);
JsonConverter converter = jsonTypeInfo.PropertyInfoForTypeInfo.ConverterBase;
Debug.Assert(converter != null);
Debug.Assert(jsonTypeInfo.Options != null);
// For performance, the code below is a lifted WriteCore() above.
if (converter is JsonConverter<TValue> typedConverter)
{
// Call the strongly-typed WriteCore that will not box structs.
typedConverter.WriteCore(writer, value, jsonTypeInfo.Options, ref state);
}
else
{
// The non-generic API was called or we have a polymorphic case where TValue is not equal to the T in JsonConverter<T>.
converter.WriteCoreAsObject(writer, value, jsonTypeInfo.Options, ref state);
}
writer.Flush();
}
private static Type GetRuntimeType<TValue>(in TValue value)
{
Type type = typeof(TValue);
if (type == JsonTypeInfo.ObjectType && value is not null)
{
type = value.GetType();
}
return type;
}
private static Type GetRuntimeTypeAndValidateInputType(object? value, Type inputType!!)
{
if (value is not null)
{
Type runtimeType = value.GetType();
if (!inputType.IsAssignableFrom(runtimeType))
{
ThrowHelper.ThrowArgumentException_DeserializeWrongType(inputType, value);
}
if (inputType == JsonTypeInfo.ObjectType)
{
return runtimeType;
}
}
return inputType;
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Diagnostics;
using System.Text.Json.Serialization;
using System.Text.Json.Serialization.Metadata;
namespace System.Text.Json
{
public static partial class JsonSerializer
{
private static bool WriteCore<TValue>(
JsonConverter jsonConverter,
Utf8JsonWriter writer,
in TValue value,
JsonSerializerOptions options,
ref WriteStack state)
{
Debug.Assert(writer != null);
bool success;
if (jsonConverter is JsonConverter<TValue> converter)
{
// Call the strongly-typed WriteCore that will not box structs.
success = converter.WriteCore(writer, value, options, ref state);
}
else
{
// The non-generic API was called or we have a polymorphic case where TValue is not equal to the T in JsonConverter<T>.
success = jsonConverter.WriteCoreAsObject(writer, value, options, ref state);
}
writer.Flush();
return success;
}
private static void WriteUsingGeneratedSerializer<TValue>(Utf8JsonWriter writer, in TValue value, JsonTypeInfo jsonTypeInfo)
{
Debug.Assert(writer != null);
if (jsonTypeInfo.HasSerialize &&
jsonTypeInfo is JsonTypeInfo<TValue> typedInfo &&
typedInfo.Options._serializerContext?.CanUseSerializationLogic == true)
{
Debug.Assert(typedInfo.SerializeHandler != null);
typedInfo.SerializeHandler(writer, value);
writer.Flush();
}
else
{
WriteUsingSerializer(writer, value, jsonTypeInfo);
}
}
private static void WriteUsingSerializer<TValue>(Utf8JsonWriter writer, in TValue value, JsonTypeInfo jsonTypeInfo)
{
Debug.Assert(writer != null);
Debug.Assert(!jsonTypeInfo.HasSerialize ||
jsonTypeInfo is not JsonTypeInfo<TValue> ||
jsonTypeInfo.Options._serializerContext == null ||
!jsonTypeInfo.Options._serializerContext.CanUseSerializationLogic,
"Incorrect method called. WriteUsingGeneratedSerializer() should have been called instead.");
WriteStack state = default;
state.Initialize(jsonTypeInfo, supportContinuation: false);
JsonConverter converter = jsonTypeInfo.PropertyInfoForTypeInfo.ConverterBase;
Debug.Assert(converter != null);
Debug.Assert(jsonTypeInfo.Options != null);
// For performance, the code below is a lifted WriteCore() above.
if (converter is JsonConverter<TValue> typedConverter)
{
// Call the strongly-typed WriteCore that will not box structs.
typedConverter.WriteCore(writer, value, jsonTypeInfo.Options, ref state);
}
else
{
// The non-generic API was called or we have a polymorphic case where TValue is not equal to the T in JsonConverter<T>.
converter.WriteCoreAsObject(writer, value, jsonTypeInfo.Options, ref state);
}
writer.Flush();
}
private static Type GetRuntimeType<TValue>(in TValue value)
{
Type type = typeof(TValue);
if (type == JsonTypeInfo.ObjectType && value is not null)
{
type = value.GetType();
}
return type;
}
private static Type GetRuntimeTypeAndValidateInputType(object? value, Type inputType!!)
{
if (value is not null)
{
Type runtimeType = value.GetType();
if (!inputType.IsAssignableFrom(runtimeType))
{
ThrowHelper.ThrowArgumentException_DeserializeWrongType(inputType, value);
}
if (inputType == JsonTypeInfo.ObjectType)
{
return runtimeType;
}
}
return inputType;
}
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/tests/JIT/Regression/JitBlue/GitHub_13910/GitHub_13910.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Runtime.InteropServices;
// Represents a problem with contained nodes chains, that contain lclVar reads, that were moved through lclVar stores.
// Notice that the project file sets complus_JitStressModeNames.
[StructLayout(LayoutKind.Explicit)]
internal class AA
{
[FieldOffset(8)]
public QQ q;
public static AA[] a_init = new AA[101];
public static AA[] a_zero = new AA[101];
public AA(int qq)
{
this.q = new QQ(qq);
}
public static void reset()
{
AA.a_init[100] = new AA(1);
AA.a_zero[100] = new AA(2);
}
}
internal class QQ
{
public int val;
public QQ(int vv)
{
this.val = vv;
}
public int ret_code()
{
return 100;
}
}
internal class TestApp
{
private static int test_2_2(int num)
{
int result;
if (AA.a_init[num].q != AA.a_zero[num].q)
// Access field with contained IND instruction.
// EQ marks its operands as contained too.
// AA.a_init[num].q and AA.a_zero[num].q are allocated to the same lclVar.
// So we calculate AA.a_init[num].q and store as tmp0, use this temp to do nullCheck.
// Then store AA.a_zero[num].q as tmp0, destroy the old value and try to do EQ thinking that
// tmp0 is AA.a_init[num].q.
// It needs stress (complus_JitStressModeNames=STRESS_NULL_OBJECT_CHECK, STRESS_MAKE_CSE)
// to force the compiler to do implicit null checks and store values as local variables.
// Bad IL example, t53 is set as contained, t143 is set as contained, it means they will be calculated as part of their parent t9.
// But at that moment V02, that is read in t143 is already modified by [000056].
// N035 ( 1, 1) [000035] ------------ t35 = LCL_VAR ref V02 tmp0 u:3 eax (last use) REG eax <l:$149, c:$182>
// /--* t35 ref
// N037 (???,???) [000143] -c---------- t143 = * LEA(b+12) byref REG NA
// /--* t143 byref
// N039 ( 4, 4) [000054] Rc---O------ t54 = * IND ref REG NA <l:$155, c:$184> // This contained flag is invalid because
// // the value will be read after the store 000056.
// *********************************************************************************************
// /--* t117 ref
// N073 ( 18, 22) [000056] DA-XG------- * STORE_LCL_VAR ref V02 tmp0 d:4 eax REG eax // the store that corrupts t54 value.
// N075 ( 1, 1) [000057] ------------ t57 = LCL_VAR ref V02 tmp0 u:4 eax REG eax <l:$160, c:$187>
// /--* t57 ref
// N077 ( 2, 2) [000058] ---X---N---- * NULLCHECK byte REG NA <l:$166, c:$165>
// N079 ( 1, 1) [000060] ------------ t60 = LCL_VAR ref V02 tmp0 u:4 eax REG eax <l:$160, c:$187>
// /--* t60 ref
// N081 (???,???) [000146] -c---------- t146 = * LEA(b+12) byref REG NA
// /--* t146 byref
// N083 ( 4, 4) [000079] R----O------ t79 = * IND ref REG ecx <l:$16b, c:$189>
// /--* t79 ref
// N085 ( 4, 4) [000121] DA---O------ * STORE_LCL_VAR ref V07 cse1 ecx REG ecx
// N087 ( 1, 1) [000122] ------------ t122 = LCL_VAR ref V07 cse1 ecx REG ecx <l:$16b, c:$189>
// /--* t54 ref // reads V02.
// +--* t122 ref
// N089 ( 48, 56) [000009] J--XGO-N---- t9 = * EQ int REG NA <l:$1c5, c:$1c4>
{
result = 100;
}
else
{
result = AA.a_zero[num].q.val;
}
return result;
}
private static int Main()
{
AA.reset();
int result;
int r = TestApp.test_2_2(100);
if (r != 100)
{
Console.WriteLine("Failed.");
result = 101;
}
else
{
Console.WriteLine("Passed.");
result = 100;
}
return result;
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Runtime.InteropServices;
// Represents a problem with contained nodes chains, that contain lclVar reads, that were moved through lclVar stores.
// Notice that the project file sets complus_JitStressModeNames.
[StructLayout(LayoutKind.Explicit)]
internal class AA
{
[FieldOffset(8)]
public QQ q;
public static AA[] a_init = new AA[101];
public static AA[] a_zero = new AA[101];
public AA(int qq)
{
this.q = new QQ(qq);
}
public static void reset()
{
AA.a_init[100] = new AA(1);
AA.a_zero[100] = new AA(2);
}
}
internal class QQ
{
public int val;
public QQ(int vv)
{
this.val = vv;
}
public int ret_code()
{
return 100;
}
}
internal class TestApp
{
private static int test_2_2(int num)
{
int result;
if (AA.a_init[num].q != AA.a_zero[num].q)
// Access field with contained IND instruction.
// EQ marks its operands as contained too.
// AA.a_init[num].q and AA.a_zero[num].q are allocated to the same lclVar.
// So we calculate AA.a_init[num].q and store as tmp0, use this temp to do nullCheck.
// Then store AA.a_zero[num].q as tmp0, destroy the old value and try to do EQ thinking that
// tmp0 is AA.a_init[num].q.
// It needs stress (complus_JitStressModeNames=STRESS_NULL_OBJECT_CHECK, STRESS_MAKE_CSE)
// to force the compiler to do implicit null checks and store values as local variables.
// Bad IL example, t53 is set as contained, t143 is set as contained, it means they will be calculated as part of their parent t9.
// But at that moment V02, that is read in t143 is already modified by [000056].
// N035 ( 1, 1) [000035] ------------ t35 = LCL_VAR ref V02 tmp0 u:3 eax (last use) REG eax <l:$149, c:$182>
// /--* t35 ref
// N037 (???,???) [000143] -c---------- t143 = * LEA(b+12) byref REG NA
// /--* t143 byref
// N039 ( 4, 4) [000054] Rc---O------ t54 = * IND ref REG NA <l:$155, c:$184> // This contained flag is invalid because
// // the value will be read after the store 000056.
// *********************************************************************************************
// /--* t117 ref
// N073 ( 18, 22) [000056] DA-XG------- * STORE_LCL_VAR ref V02 tmp0 d:4 eax REG eax // the store that corrupts t54 value.
// N075 ( 1, 1) [000057] ------------ t57 = LCL_VAR ref V02 tmp0 u:4 eax REG eax <l:$160, c:$187>
// /--* t57 ref
// N077 ( 2, 2) [000058] ---X---N---- * NULLCHECK byte REG NA <l:$166, c:$165>
// N079 ( 1, 1) [000060] ------------ t60 = LCL_VAR ref V02 tmp0 u:4 eax REG eax <l:$160, c:$187>
// /--* t60 ref
// N081 (???,???) [000146] -c---------- t146 = * LEA(b+12) byref REG NA
// /--* t146 byref
// N083 ( 4, 4) [000079] R----O------ t79 = * IND ref REG ecx <l:$16b, c:$189>
// /--* t79 ref
// N085 ( 4, 4) [000121] DA---O------ * STORE_LCL_VAR ref V07 cse1 ecx REG ecx
// N087 ( 1, 1) [000122] ------------ t122 = LCL_VAR ref V07 cse1 ecx REG ecx <l:$16b, c:$189>
// /--* t54 ref // reads V02.
// +--* t122 ref
// N089 ( 48, 56) [000009] J--XGO-N---- t9 = * EQ int REG NA <l:$1c5, c:$1c4>
{
result = 100;
}
else
{
result = AA.a_zero[num].q.val;
}
return result;
}
private static int Main()
{
AA.reset();
int result;
int r = TestApp.test_2_2(100);
if (r != 100)
{
Console.WriteLine("Failed.");
result = 101;
}
else
{
Console.WriteLine("Passed.");
result = 100;
}
return result;
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/mono/mono/mini/basic-calls.cs | using System;
using System.Reflection;
/*
* Regression tests for the mono JIT.
*
* Each test needs to be of the form:
*
* public static int test_<result>_<name> ();
*
* where <result> is an integer (the value that needs to be returned by
* the method to make it pass.
* <name> is a user-displayed name used to identify the test.
*
* The tests can be driven in two ways:
* *) running the program directly: Main() uses reflection to find and invoke
* the test methods (this is useful mostly to check that the tests are correct)
* *) with the --regression switch of the jit (this is the preferred way since
* all the tests will be run with optimizations on and off)
*
* The reflection logic could be moved to a .dll since we need at least another
* regression test file written in IL code to have better control on how
* the IL code looks.
*/
#if __MOBILE__
class CallsTests
#else
class Tests
#endif
{
#if !__MOBILE__
public static int Main (string[] args) {
return TestDriver.RunTests (typeof (Tests), args);
}
#endif
static void dummy () {
}
public static int test_0_return () {
dummy ();
return 0;
}
static int dummy1 () {
return 1;
}
public static int test_2_int_return () {
int r = dummy1 ();
if (r == 1)
return 2;
return 0;
}
static int add1 (int val) {
return val + 1;
}
public static int test_1_int_pass () {
int r = add1 (5);
if (r == 6)
return 1;
return 0;
}
static int add_many (int val, short t, byte b, int da) {
return val + t + b + da;
}
public static int test_1_int_pass_many () {
byte b = 6;
int r = add_many (5, 2, b, 1);
if (r == 14)
return 1;
return 0;
}
unsafe static float GetFloat (byte *ptr) {
return *(float*)ptr;
}
unsafe public static float GetFloat(float value)
{
return GetFloat((byte *)&value);
}
/* bug #42134 */
public static int test_2_inline_saved_arg_type () {
float f = 100.0f;
return GetFloat (f) == f? 2: 1;
}
static int pass_many_types (int a, long b, int c, long d) {
return a + (int)b + c + (int)d;
}
public static int test_5_pass_longs () {
return pass_many_types (1, 2, -5, 7);
}
static int overflow_registers (int a, int b, int c, int d, int e, int f, int g, int h, int i, int j) {
return a+b+c+d+e+f+g+h+i+j;
}
public static int test_55_pass_even_more () {
return overflow_registers (1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
}
static int pass_ints_longs (int a, long b, long c, long d, long e, int f, long g) {
return (int)(a + b + c + d + e + f + g);
}
public static int test_1_sparc_argument_passing () {
// The 4. argument tests split reg/mem argument passing
// The 5. argument tests mem argument passing
// The 7. argument tests passing longs in misaligned memory
// The MaxValues are needed so the MS word of the long is not 0
return pass_ints_longs (1, 2, System.Int64.MaxValue, System.Int64.MinValue, System.Int64.MaxValue, 0, System.Int64.MinValue);
}
static int pass_bytes (byte a, byte b, byte c, byte d, byte e, byte f, byte g) {
return (int)(a + b + c + d + e + f + g);
}
public static int test_21_sparc_byte_argument_passing () {
return pass_bytes (0, 1, 2, 3, 4, 5, 6);
}
static int pass_sbytes (sbyte a, sbyte b, sbyte c, sbyte d, sbyte e, sbyte f, sbyte g, sbyte h1, sbyte h2, sbyte h3, sbyte h4) {
return (int)(a + b + c + d + e + f + g + h1 + h2 + h3 + h4);
}
public static int test_55_sparc_sbyte_argument_passing () {
return pass_sbytes (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
}
static int pass_shorts (short a, short b, short c, short d, short e, short f, short g) {
return (int)(a + b + c + d + e + f + g);
}
public static int test_21_sparc_short_argument_passing () {
return pass_shorts (0, 1, 2, 3, 4, 5, 6);
}
static int pass_floats_doubles (float a, double b, double c, double d, double e, float f, double g) {
return (int)(a + b + c + d + e + f + g);
}
public static int test_721_sparc_float_argument_passing () {
return pass_floats_doubles (100.0f, 101.0, 102.0, 103.0, 104.0, 105.0f, 106.0);
}
static float pass_floats (float a, float b, float c, float d, float e, float f, float g, float h, float i, float j) {
return a + b + c + d + e + f + g + h + i + j;
}
public static int test_55_sparc_float_argument_passing2 () {
return (int)pass_floats (1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f);
}
public static bool is_small (float value) {
double d = (double)value;
double d2 = 7.183757E-41;
return d - d2 < 0.000001;
}
public static int test_0_float_argument_passing_precision () {
float f = 7.183757E-41f;
return is_small (f) ? 0 : 1;
}
// The first argument must be passed on a dword aligned stack location
static int pass_byref_ints_longs (ref long a, ref int b, ref byte c, ref short d, ref long e, ref int f, ref long g) {
return (int)(a + b + c + d + e + f + g);
}
static int pass_takeaddr_ints_longs (long a, int b, byte c, short d, long e, int f, long g) {
return pass_byref_ints_longs (ref a, ref b, ref c, ref d, ref e, ref f, ref g);
}
// Test that arguments are moved to the stack from incoming registers
// when the argument must reside in the stack because its address is taken
public static int test_2_sparc_takeaddr_argument_passing () {
return pass_takeaddr_ints_longs (1, 2, 253, -253, System.Int64.MaxValue, 0, System.Int64.MinValue);
}
static int pass_byref_floats_doubles (ref float a, ref double b, ref double c, ref double d, ref double e, ref float f, ref double g) {
return (int)(a + b + c + d + e + f + g);
}
static int pass_takeaddr_floats_doubles (float a, double b, double c, double d, double e, float f, double g) {
return pass_byref_floats_doubles (ref a, ref b, ref c, ref d, ref e, ref f, ref g);
}
public static int test_721_sparc_takeaddr_argument_passing2 () {
return pass_takeaddr_floats_doubles (100.0f, 101.0, 102.0, 103.0, 104.0, 105.0f, 106.0);
}
static void pass_byref_double (out double d) {
d = 5.0;
}
// Test byref double argument passing
public static int test_0_sparc_byref_double_argument_passing () {
double d;
pass_byref_double (out d);
return (d == 5.0) ? 0 : 1;
}
static void shift_un_arg (ulong value) {
do {
value = value >> 4;
} while (value != 0);
}
// Test that assignment to long arguments work
public static int test_0_long_arg_assign ()
{
ulong c = 0x800000ff00000000;
shift_un_arg (c >> 4);
return 0;
}
static unsafe void* ptr_return (void *ptr)
{
return ptr;
}
public static unsafe int test_0_ptr_return ()
{
void *ptr = new IntPtr (55).ToPointer ();
if (ptr_return (ptr) == ptr)
return 0;
else
return 1;
}
static bool isnan (float f) {
return (f != f);
}
public static int test_0_isnan () {
float f = 1.0f;
return isnan (f) ? 1 : 0;
}
static int first_is_zero (int v1, int v2) {
if (v1 != 0)
return -1;
return v2;
}
public static int test_1_handle_dup_stloc () {
int index = 0;
int val = first_is_zero (index, ++index);
if (val != 1)
return 2;
return 1;
}
static long return_5low () {
return 5;
}
static long return_5high () {
return 0x500000000;
}
public static int test_3_long_ret () {
long val = return_5low ();
return (int) (val - 2);
}
public static int test_1_long_ret2 () {
long val = return_5high ();
if (val > 0xffffffff)
return 1;
return 0;
}
public static void use_long_arg (ulong l) {
for (int i = 0; i < 10; ++i)
l ++;
}
public static ulong return_long_arg (object o, ulong perm) {
use_long_arg (perm);
perm = 0x8000000000000FFF;
use_long_arg (perm);
return perm;
}
public static int test_0_sparc_long_ret_regress_541577 () {
ulong perm = 0x8000000000000FFF;
ulong work = return_long_arg (null, perm);
return work == perm ? 0 : 1;
}
static void doit (double value, out long m) {
m = (long) value;
}
public static int test_0_ftol_clobber () {
long m;
doit (1.3, out m);
if (m != 1)
return 2;
return 0;
}
public static bool arm64_stack_arg_reg_bool (object o1, object o2, object o3, object o4, object o5, object o6, object o7,
bool foo, bool bar) {
bool res1 = bar || foo;
bool res2 = bar || foo;
return res1 | res2;
}
public static int arm64_stack_arg_reg_sbyte (object o1, object o2, object o3, object o4, object o5, object o6, object o7,
sbyte foo, sbyte bar) {
int res1 = bar + foo;
int res2 = bar + foo;
return res1 + res2;
}
// bool argument passed on the stack and promoted to a register
public static int test_0_arm64_stack_arg_reg_bool () {
bool res = arm64_stack_arg_reg_bool (null, null, null, null, null, null, null, false, false);
return res ? 1 : 0;
}
public static int test_0_arm64_stack_arg_reg_sbyte () {
int res = arm64_stack_arg_reg_sbyte (null, null, null, null, null, null, null, -4, -7);
return res == -22 ? 0 : 1;
}
}
| using System;
using System.Reflection;
/*
* Regression tests for the mono JIT.
*
* Each test needs to be of the form:
*
* public static int test_<result>_<name> ();
*
* where <result> is an integer (the value that needs to be returned by
* the method to make it pass.
* <name> is a user-displayed name used to identify the test.
*
* The tests can be driven in two ways:
* *) running the program directly: Main() uses reflection to find and invoke
* the test methods (this is useful mostly to check that the tests are correct)
* *) with the --regression switch of the jit (this is the preferred way since
* all the tests will be run with optimizations on and off)
*
* The reflection logic could be moved to a .dll since we need at least another
* regression test file written in IL code to have better control on how
* the IL code looks.
*/
#if __MOBILE__
class CallsTests
#else
class Tests
#endif
{
#if !__MOBILE__
public static int Main (string[] args) {
return TestDriver.RunTests (typeof (Tests), args);
}
#endif
static void dummy () {
}
public static int test_0_return () {
dummy ();
return 0;
}
static int dummy1 () {
return 1;
}
public static int test_2_int_return () {
int r = dummy1 ();
if (r == 1)
return 2;
return 0;
}
static int add1 (int val) {
return val + 1;
}
public static int test_1_int_pass () {
int r = add1 (5);
if (r == 6)
return 1;
return 0;
}
static int add_many (int val, short t, byte b, int da) {
return val + t + b + da;
}
public static int test_1_int_pass_many () {
byte b = 6;
int r = add_many (5, 2, b, 1);
if (r == 14)
return 1;
return 0;
}
unsafe static float GetFloat (byte *ptr) {
return *(float*)ptr;
}
unsafe public static float GetFloat(float value)
{
return GetFloat((byte *)&value);
}
/* bug #42134 */
public static int test_2_inline_saved_arg_type () {
float f = 100.0f;
return GetFloat (f) == f? 2: 1;
}
static int pass_many_types (int a, long b, int c, long d) {
return a + (int)b + c + (int)d;
}
public static int test_5_pass_longs () {
return pass_many_types (1, 2, -5, 7);
}
static int overflow_registers (int a, int b, int c, int d, int e, int f, int g, int h, int i, int j) {
return a+b+c+d+e+f+g+h+i+j;
}
public static int test_55_pass_even_more () {
return overflow_registers (1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
}
static int pass_ints_longs (int a, long b, long c, long d, long e, int f, long g) {
return (int)(a + b + c + d + e + f + g);
}
public static int test_1_sparc_argument_passing () {
// The 4. argument tests split reg/mem argument passing
// The 5. argument tests mem argument passing
// The 7. argument tests passing longs in misaligned memory
// The MaxValues are needed so the MS word of the long is not 0
return pass_ints_longs (1, 2, System.Int64.MaxValue, System.Int64.MinValue, System.Int64.MaxValue, 0, System.Int64.MinValue);
}
static int pass_bytes (byte a, byte b, byte c, byte d, byte e, byte f, byte g) {
return (int)(a + b + c + d + e + f + g);
}
public static int test_21_sparc_byte_argument_passing () {
return pass_bytes (0, 1, 2, 3, 4, 5, 6);
}
static int pass_sbytes (sbyte a, sbyte b, sbyte c, sbyte d, sbyte e, sbyte f, sbyte g, sbyte h1, sbyte h2, sbyte h3, sbyte h4) {
return (int)(a + b + c + d + e + f + g + h1 + h2 + h3 + h4);
}
public static int test_55_sparc_sbyte_argument_passing () {
return pass_sbytes (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
}
static int pass_shorts (short a, short b, short c, short d, short e, short f, short g) {
return (int)(a + b + c + d + e + f + g);
}
public static int test_21_sparc_short_argument_passing () {
return pass_shorts (0, 1, 2, 3, 4, 5, 6);
}
static int pass_floats_doubles (float a, double b, double c, double d, double e, float f, double g) {
return (int)(a + b + c + d + e + f + g);
}
public static int test_721_sparc_float_argument_passing () {
return pass_floats_doubles (100.0f, 101.0, 102.0, 103.0, 104.0, 105.0f, 106.0);
}
static float pass_floats (float a, float b, float c, float d, float e, float f, float g, float h, float i, float j) {
return a + b + c + d + e + f + g + h + i + j;
}
public static int test_55_sparc_float_argument_passing2 () {
return (int)pass_floats (1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f);
}
public static bool is_small (float value) {
double d = (double)value;
double d2 = 7.183757E-41;
return d - d2 < 0.000001;
}
public static int test_0_float_argument_passing_precision () {
float f = 7.183757E-41f;
return is_small (f) ? 0 : 1;
}
// The first argument must be passed on a dword aligned stack location
static int pass_byref_ints_longs (ref long a, ref int b, ref byte c, ref short d, ref long e, ref int f, ref long g) {
return (int)(a + b + c + d + e + f + g);
}
static int pass_takeaddr_ints_longs (long a, int b, byte c, short d, long e, int f, long g) {
return pass_byref_ints_longs (ref a, ref b, ref c, ref d, ref e, ref f, ref g);
}
// Test that arguments are moved to the stack from incoming registers
// when the argument must reside in the stack because its address is taken
public static int test_2_sparc_takeaddr_argument_passing () {
return pass_takeaddr_ints_longs (1, 2, 253, -253, System.Int64.MaxValue, 0, System.Int64.MinValue);
}
static int pass_byref_floats_doubles (ref float a, ref double b, ref double c, ref double d, ref double e, ref float f, ref double g) {
return (int)(a + b + c + d + e + f + g);
}
static int pass_takeaddr_floats_doubles (float a, double b, double c, double d, double e, float f, double g) {
return pass_byref_floats_doubles (ref a, ref b, ref c, ref d, ref e, ref f, ref g);
}
public static int test_721_sparc_takeaddr_argument_passing2 () {
return pass_takeaddr_floats_doubles (100.0f, 101.0, 102.0, 103.0, 104.0, 105.0f, 106.0);
}
static void pass_byref_double (out double d) {
d = 5.0;
}
// Test byref double argument passing
public static int test_0_sparc_byref_double_argument_passing () {
double d;
pass_byref_double (out d);
return (d == 5.0) ? 0 : 1;
}
static void shift_un_arg (ulong value) {
do {
value = value >> 4;
} while (value != 0);
}
// Test that assignment to long arguments work
public static int test_0_long_arg_assign ()
{
ulong c = 0x800000ff00000000;
shift_un_arg (c >> 4);
return 0;
}
static unsafe void* ptr_return (void *ptr)
{
return ptr;
}
public static unsafe int test_0_ptr_return ()
{
void *ptr = new IntPtr (55).ToPointer ();
if (ptr_return (ptr) == ptr)
return 0;
else
return 1;
}
static bool isnan (float f) {
return (f != f);
}
public static int test_0_isnan () {
float f = 1.0f;
return isnan (f) ? 1 : 0;
}
static int first_is_zero (int v1, int v2) {
if (v1 != 0)
return -1;
return v2;
}
public static int test_1_handle_dup_stloc () {
int index = 0;
int val = first_is_zero (index, ++index);
if (val != 1)
return 2;
return 1;
}
static long return_5low () {
return 5;
}
static long return_5high () {
return 0x500000000;
}
public static int test_3_long_ret () {
long val = return_5low ();
return (int) (val - 2);
}
public static int test_1_long_ret2 () {
long val = return_5high ();
if (val > 0xffffffff)
return 1;
return 0;
}
public static void use_long_arg (ulong l) {
for (int i = 0; i < 10; ++i)
l ++;
}
public static ulong return_long_arg (object o, ulong perm) {
use_long_arg (perm);
perm = 0x8000000000000FFF;
use_long_arg (perm);
return perm;
}
public static int test_0_sparc_long_ret_regress_541577 () {
ulong perm = 0x8000000000000FFF;
ulong work = return_long_arg (null, perm);
return work == perm ? 0 : 1;
}
static void doit (double value, out long m) {
m = (long) value;
}
public static int test_0_ftol_clobber () {
long m;
doit (1.3, out m);
if (m != 1)
return 2;
return 0;
}
public static bool arm64_stack_arg_reg_bool (object o1, object o2, object o3, object o4, object o5, object o6, object o7,
bool foo, bool bar) {
bool res1 = bar || foo;
bool res2 = bar || foo;
return res1 | res2;
}
public static int arm64_stack_arg_reg_sbyte (object o1, object o2, object o3, object o4, object o5, object o6, object o7,
sbyte foo, sbyte bar) {
int res1 = bar + foo;
int res2 = bar + foo;
return res1 + res2;
}
// bool argument passed on the stack and promoted to a register
public static int test_0_arm64_stack_arg_reg_bool () {
bool res = arm64_stack_arg_reg_bool (null, null, null, null, null, null, null, false, false);
return res ? 1 : 0;
}
public static int test_0_arm64_stack_arg_reg_sbyte () {
int res = arm64_stack_arg_reg_sbyte (null, null, null, null, null, null, null, -4, -7);
return res == -22 ? 0 : 1;
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/libraries/System.ComponentModel.Composition/tests/System/ComponentModel/Composition/CatalogExtensionsTests.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.ComponentModel.Composition.Hosting;
using Xunit;
namespace System.ComponentModel.Composition
{
public class CatalogExtensionsTests
{
[Fact]
public void CreateCompositionService_NullCatalog_ShouldThrowArgumentNullException()
{
Assert.Throws<ArgumentNullException>("composablePartCatalog", () =>
{
CatalogExtensions.CreateCompositionService(null);
});
}
[Fact]
public void CreateCompositionService_ImmutableCatalog_ShouldSucceed()
{
//Create and dispose an empty immutable catalog, I.e no INotifyComposablePartCatalogChanged interface
var catalog = new TypeCatalog();
using(var cs = catalog.CreateCompositionService())
{
//Do nothing
}
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.ComponentModel.Composition.Hosting;
using Xunit;
namespace System.ComponentModel.Composition
{
public class CatalogExtensionsTests
{
[Fact]
public void CreateCompositionService_NullCatalog_ShouldThrowArgumentNullException()
{
Assert.Throws<ArgumentNullException>("composablePartCatalog", () =>
{
CatalogExtensions.CreateCompositionService(null);
});
}
[Fact]
public void CreateCompositionService_ImmutableCatalog_ShouldSucceed()
{
//Create and dispose an empty immutable catalog, I.e no INotifyComposablePartCatalogChanged interface
var catalog = new TypeCatalog();
using(var cs = catalog.CreateCompositionService())
{
//Do nothing
}
}
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/tests/JIT/HardwareIntrinsics/X86/Avx2/InsertVector128.Byte.1.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/******************************************************************************
* This file is auto-generated from a template file by the GenerateTests.csx *
* script in tests\src\JIT\HardwareIntrinsics\X86\Shared. In order to make *
* changes, please update the corresponding template and run according to the *
* directions listed in the file. *
******************************************************************************/
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.X86;
using static System.Runtime.Intrinsics.X86.Sse;
using static System.Runtime.Intrinsics.X86.Sse2;
namespace JIT.HardwareIntrinsics.X86
{
public static partial class Program
{
private static void InsertVector128Byte1()
{
var test = new InsertVector128Test__InsertVector128Byte1();
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
test.RunBasicScenario_UnsafeRead();
if (Avx.IsSupported)
{
// Validates basic functionality works, using Load
test.RunBasicScenario_Load();
// Validates basic functionality works, using LoadAligned
test.RunBasicScenario_LoadAligned();
}
// Validates calling via reflection works, using Unsafe.Read
test.RunReflectionScenario_UnsafeRead();
if (Avx.IsSupported)
{
// Validates calling via reflection works, using Load
test.RunReflectionScenario_Load();
// Validates calling via reflection works, using LoadAligned
test.RunReflectionScenario_LoadAligned();
}
// Validates passing a static member works
test.RunClsVarScenario();
// Validates passing a local works, using Unsafe.Read
test.RunLclVarScenario_UnsafeRead();
if (Avx.IsSupported)
{
// Validates passing a local works, using Load
test.RunLclVarScenario_Load();
// Validates passing a local works, using LoadAligned
test.RunLclVarScenario_LoadAligned();
}
// Validates passing the field of a local class works
test.RunClassLclFldScenario();
// Validates passing an instance member of a class works
test.RunClassFldScenario();
// Validates passing the field of a local struct works
test.RunStructLclFldScenario();
// Validates passing an instance member of a struct works
test.RunStructFldScenario();
}
else
{
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
if (!test.Succeeded)
{
throw new Exception("One or more scenarios did not complete as expected.");
}
}
}
public sealed unsafe class InsertVector128Test__InsertVector128Byte1
{
private struct TestStruct
{
public Vector256<Byte> _fld1;
public Vector128<Byte> _fld2;
public static TestStruct Create()
{
var testStruct = new TestStruct();
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetByte(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector256<Byte>, byte>(ref testStruct._fld1), ref Unsafe.As<Byte, byte>(ref _data1[0]), (uint)Unsafe.SizeOf<Vector256<Byte>>());
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = TestLibrary.Generator.GetByte(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<Byte>, byte>(ref testStruct._fld2), ref Unsafe.As<Byte, byte>(ref _data2[0]), (uint)Unsafe.SizeOf<Vector128<Byte>>());
return testStruct;
}
public void RunStructFldScenario(InsertVector128Test__InsertVector128Byte1 testClass)
{
var result = Avx2.InsertVector128(_fld1, _fld2, 1);
Unsafe.Write(testClass._dataTable.outArrayPtr, result);
testClass.ValidateResult(_fld1, _fld2, testClass._dataTable.outArrayPtr);
}
}
private static readonly int LargestVectorSize = 32;
private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector256<Byte>>() / sizeof(Byte);
private static readonly int Op2ElementCount = Unsafe.SizeOf<Vector128<Byte>>() / sizeof(Byte);
private static readonly int RetElementCount = Unsafe.SizeOf<Vector256<Byte>>() / sizeof(Byte);
private static Byte[] _data1 = new Byte[Op1ElementCount];
private static Byte[] _data2 = new Byte[Op2ElementCount];
private static Vector256<Byte> _clsVar1;
private static Vector128<Byte> _clsVar2;
private Vector256<Byte> _fld1;
private Vector128<Byte> _fld2;
private SimpleBinaryOpTest__DataTable<Byte, Byte, Byte> _dataTable;
static InsertVector128Test__InsertVector128Byte1()
{
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetByte(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector256<Byte>, byte>(ref _clsVar1), ref Unsafe.As<Byte, byte>(ref _data1[0]), (uint)Unsafe.SizeOf<Vector256<Byte>>());
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = TestLibrary.Generator.GetByte(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<Byte>, byte>(ref _clsVar2), ref Unsafe.As<Byte, byte>(ref _data2[0]), (uint)Unsafe.SizeOf<Vector128<Byte>>());
}
public InsertVector128Test__InsertVector128Byte1()
{
Succeeded = true;
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetByte(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector256<Byte>, byte>(ref _fld1), ref Unsafe.As<Byte, byte>(ref _data1[0]), (uint)Unsafe.SizeOf<Vector256<Byte>>());
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = TestLibrary.Generator.GetByte(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<Byte>, byte>(ref _fld2), ref Unsafe.As<Byte, byte>(ref _data2[0]), (uint)Unsafe.SizeOf<Vector128<Byte>>());
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetByte(); }
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = TestLibrary.Generator.GetByte(); }
_dataTable = new SimpleBinaryOpTest__DataTable<Byte, Byte, Byte>(_data1, _data2, new Byte[RetElementCount], LargestVectorSize);
}
public bool IsSupported => Avx2.IsSupported;
public bool Succeeded { get; set; }
public void RunBasicScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_UnsafeRead));
var result = Avx2.InsertVector128(
Unsafe.Read<Vector256<Byte>>(_dataTable.inArray1Ptr),
Unsafe.Read<Vector128<Byte>>(_dataTable.inArray2Ptr),
1
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.outArrayPtr);
}
public void RunBasicScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
var result = Avx2.InsertVector128(
Avx.LoadVector256((Byte*)(_dataTable.inArray1Ptr)),
LoadVector128((Byte*)(_dataTable.inArray2Ptr)),
1
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.outArrayPtr);
}
public void RunBasicScenario_LoadAligned()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_LoadAligned));
var result = Avx2.InsertVector128(
Avx.LoadAlignedVector256((Byte*)(_dataTable.inArray1Ptr)),
LoadAlignedVector128((Byte*)(_dataTable.inArray2Ptr)),
1
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.outArrayPtr);
}
public void RunReflectionScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_UnsafeRead));
var result = typeof(Avx2).GetMethod(nameof(Avx2.InsertVector128), new Type[] { typeof(Vector256<Byte>), typeof(Vector128<Byte>), typeof(byte) })
.Invoke(null, new object[] {
Unsafe.Read<Vector256<Byte>>(_dataTable.inArray1Ptr),
Unsafe.Read<Vector128<Byte>>(_dataTable.inArray2Ptr),
(byte)1
});
Unsafe.Write(_dataTable.outArrayPtr, (Vector256<Byte>)(result));
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.outArrayPtr);
}
public void RunReflectionScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
var result = typeof(Avx2).GetMethod(nameof(Avx2.InsertVector128), new Type[] { typeof(Vector256<Byte>), typeof(Vector128<Byte>), typeof(byte) })
.Invoke(null, new object[] {
Avx.LoadVector256((Byte*)(_dataTable.inArray1Ptr)),
LoadVector128((Byte*)(_dataTable.inArray2Ptr)),
(byte)1
});
Unsafe.Write(_dataTable.outArrayPtr, (Vector256<Byte>)(result));
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.outArrayPtr);
}
public void RunReflectionScenario_LoadAligned()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_LoadAligned));
var result = typeof(Avx2).GetMethod(nameof(Avx2.InsertVector128), new Type[] { typeof(Vector256<Byte>), typeof(Vector128<Byte>), typeof(byte) })
.Invoke(null, new object[] {
Avx.LoadAlignedVector256((Byte*)(_dataTable.inArray1Ptr)),
LoadAlignedVector128((Byte*)(_dataTable.inArray2Ptr)),
(byte)1
});
Unsafe.Write(_dataTable.outArrayPtr, (Vector256<Byte>)(result));
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.outArrayPtr);
}
public void RunClsVarScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClsVarScenario));
var result = Avx2.InsertVector128(
_clsVar1,
_clsVar2,
1
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_clsVar1, _clsVar2, _dataTable.outArrayPtr);
}
public void RunLclVarScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunLclVarScenario_UnsafeRead));
var left = Unsafe.Read<Vector256<Byte>>(_dataTable.inArray1Ptr);
var right = Unsafe.Read<Vector128<Byte>>(_dataTable.inArray2Ptr);
var result = Avx2.InsertVector128(left, right, 1);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(left, right, _dataTable.outArrayPtr);
}
public void RunLclVarScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunLclVarScenario_Load));
var left = Avx.LoadVector256((Byte*)(_dataTable.inArray1Ptr));
var right = LoadVector128((Byte*)(_dataTable.inArray2Ptr));
var result = Avx2.InsertVector128(left, right, 1);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(left, right, _dataTable.outArrayPtr);
}
public void RunLclVarScenario_LoadAligned()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunLclVarScenario_LoadAligned));
var left = Avx.LoadAlignedVector256((Byte*)(_dataTable.inArray1Ptr));
var right = LoadAlignedVector128((Byte*)(_dataTable.inArray2Ptr));
var result = Avx2.InsertVector128(left, right, 1);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(left, right, _dataTable.outArrayPtr);
}
public void RunClassLclFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassLclFldScenario));
var test = new InsertVector128Test__InsertVector128Byte1();
var result = Avx2.InsertVector128(test._fld1, test._fld2, 1);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld1, test._fld2, _dataTable.outArrayPtr);
}
public void RunClassFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassFldScenario));
var result = Avx2.InsertVector128(_fld1, _fld2, 1);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_fld1, _fld2, _dataTable.outArrayPtr);
}
public void RunStructLclFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructLclFldScenario));
var test = TestStruct.Create();
var result = Avx2.InsertVector128(test._fld1, test._fld2, 1);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld1, test._fld2, _dataTable.outArrayPtr);
}
public void RunStructFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructFldScenario));
var test = TestStruct.Create();
test.RunStructFldScenario(this);
}
public void RunUnsupportedScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
bool succeeded = false;
try
{
RunBasicScenario_UnsafeRead();
}
catch (PlatformNotSupportedException)
{
succeeded = true;
}
if (!succeeded)
{
Succeeded = false;
}
}
private void ValidateResult(Vector256<Byte> left, Vector128<Byte> right, void* result, [CallerMemberName] string method = "")
{
Byte[] inArray1 = new Byte[Op1ElementCount];
Byte[] inArray2 = new Byte[Op2ElementCount];
Byte[] outArray = new Byte[RetElementCount];
Unsafe.WriteUnaligned(ref Unsafe.As<Byte, byte>(ref inArray1[0]), left);
Unsafe.WriteUnaligned(ref Unsafe.As<Byte, byte>(ref inArray2[0]), right);
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Byte, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector256<Byte>>());
ValidateResult(inArray1, inArray2, outArray, method);
}
private void ValidateResult(void* left, void* right, void* result, [CallerMemberName] string method = "")
{
Byte[] inArray1 = new Byte[Op1ElementCount];
Byte[] inArray2 = new Byte[Op2ElementCount];
Byte[] outArray = new Byte[RetElementCount];
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Byte, byte>(ref inArray1[0]), ref Unsafe.AsRef<byte>(left), (uint)Unsafe.SizeOf<Vector256<Byte>>());
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Byte, byte>(ref inArray2[0]), ref Unsafe.AsRef<byte>(right), (uint)Unsafe.SizeOf<Vector128<Byte>>());
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Byte, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector256<Byte>>());
ValidateResult(inArray1, inArray2, outArray, method);
}
private void ValidateResult(Byte[] left, Byte[] right, Byte[] result, [CallerMemberName] string method = "")
{
bool succeeded = true;
if (result[0] != left[0])
{
succeeded = false;
}
else
{
for (var i = 1; i < RetElementCount; i++)
{
if ((i > 15 ? result[i] != right[i - 16] : result[i] != left[i]))
{
succeeded = false;
break;
}
}
}
if (!succeeded)
{
TestLibrary.TestFramework.LogInformation($"{nameof(Avx2)}.{nameof(Avx2.InsertVector128)}<Byte>(Vector256<Byte>, Vector128<Byte>.1): {method} failed:");
TestLibrary.TestFramework.LogInformation($" left: ({string.Join(", ", left)})");
TestLibrary.TestFramework.LogInformation($" right: ({string.Join(", ", right)})");
TestLibrary.TestFramework.LogInformation($" result: ({string.Join(", ", result)})");
TestLibrary.TestFramework.LogInformation(string.Empty);
Succeeded = false;
}
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/******************************************************************************
* This file is auto-generated from a template file by the GenerateTests.csx *
* script in tests\src\JIT\HardwareIntrinsics\X86\Shared. In order to make *
* changes, please update the corresponding template and run according to the *
* directions listed in the file. *
******************************************************************************/
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.X86;
using static System.Runtime.Intrinsics.X86.Sse;
using static System.Runtime.Intrinsics.X86.Sse2;
namespace JIT.HardwareIntrinsics.X86
{
public static partial class Program
{
private static void InsertVector128Byte1()
{
var test = new InsertVector128Test__InsertVector128Byte1();
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
test.RunBasicScenario_UnsafeRead();
if (Avx.IsSupported)
{
// Validates basic functionality works, using Load
test.RunBasicScenario_Load();
// Validates basic functionality works, using LoadAligned
test.RunBasicScenario_LoadAligned();
}
// Validates calling via reflection works, using Unsafe.Read
test.RunReflectionScenario_UnsafeRead();
if (Avx.IsSupported)
{
// Validates calling via reflection works, using Load
test.RunReflectionScenario_Load();
// Validates calling via reflection works, using LoadAligned
test.RunReflectionScenario_LoadAligned();
}
// Validates passing a static member works
test.RunClsVarScenario();
// Validates passing a local works, using Unsafe.Read
test.RunLclVarScenario_UnsafeRead();
if (Avx.IsSupported)
{
// Validates passing a local works, using Load
test.RunLclVarScenario_Load();
// Validates passing a local works, using LoadAligned
test.RunLclVarScenario_LoadAligned();
}
// Validates passing the field of a local class works
test.RunClassLclFldScenario();
// Validates passing an instance member of a class works
test.RunClassFldScenario();
// Validates passing the field of a local struct works
test.RunStructLclFldScenario();
// Validates passing an instance member of a struct works
test.RunStructFldScenario();
}
else
{
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
if (!test.Succeeded)
{
throw new Exception("One or more scenarios did not complete as expected.");
}
}
}
public sealed unsafe class InsertVector128Test__InsertVector128Byte1
{
private struct TestStruct
{
public Vector256<Byte> _fld1;
public Vector128<Byte> _fld2;
public static TestStruct Create()
{
var testStruct = new TestStruct();
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetByte(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector256<Byte>, byte>(ref testStruct._fld1), ref Unsafe.As<Byte, byte>(ref _data1[0]), (uint)Unsafe.SizeOf<Vector256<Byte>>());
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = TestLibrary.Generator.GetByte(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<Byte>, byte>(ref testStruct._fld2), ref Unsafe.As<Byte, byte>(ref _data2[0]), (uint)Unsafe.SizeOf<Vector128<Byte>>());
return testStruct;
}
public void RunStructFldScenario(InsertVector128Test__InsertVector128Byte1 testClass)
{
var result = Avx2.InsertVector128(_fld1, _fld2, 1);
Unsafe.Write(testClass._dataTable.outArrayPtr, result);
testClass.ValidateResult(_fld1, _fld2, testClass._dataTable.outArrayPtr);
}
}
private static readonly int LargestVectorSize = 32;
private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector256<Byte>>() / sizeof(Byte);
private static readonly int Op2ElementCount = Unsafe.SizeOf<Vector128<Byte>>() / sizeof(Byte);
private static readonly int RetElementCount = Unsafe.SizeOf<Vector256<Byte>>() / sizeof(Byte);
private static Byte[] _data1 = new Byte[Op1ElementCount];
private static Byte[] _data2 = new Byte[Op2ElementCount];
private static Vector256<Byte> _clsVar1;
private static Vector128<Byte> _clsVar2;
private Vector256<Byte> _fld1;
private Vector128<Byte> _fld2;
private SimpleBinaryOpTest__DataTable<Byte, Byte, Byte> _dataTable;
static InsertVector128Test__InsertVector128Byte1()
{
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetByte(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector256<Byte>, byte>(ref _clsVar1), ref Unsafe.As<Byte, byte>(ref _data1[0]), (uint)Unsafe.SizeOf<Vector256<Byte>>());
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = TestLibrary.Generator.GetByte(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<Byte>, byte>(ref _clsVar2), ref Unsafe.As<Byte, byte>(ref _data2[0]), (uint)Unsafe.SizeOf<Vector128<Byte>>());
}
public InsertVector128Test__InsertVector128Byte1()
{
Succeeded = true;
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetByte(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector256<Byte>, byte>(ref _fld1), ref Unsafe.As<Byte, byte>(ref _data1[0]), (uint)Unsafe.SizeOf<Vector256<Byte>>());
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = TestLibrary.Generator.GetByte(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<Byte>, byte>(ref _fld2), ref Unsafe.As<Byte, byte>(ref _data2[0]), (uint)Unsafe.SizeOf<Vector128<Byte>>());
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetByte(); }
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = TestLibrary.Generator.GetByte(); }
_dataTable = new SimpleBinaryOpTest__DataTable<Byte, Byte, Byte>(_data1, _data2, new Byte[RetElementCount], LargestVectorSize);
}
public bool IsSupported => Avx2.IsSupported;
public bool Succeeded { get; set; }
public void RunBasicScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_UnsafeRead));
var result = Avx2.InsertVector128(
Unsafe.Read<Vector256<Byte>>(_dataTable.inArray1Ptr),
Unsafe.Read<Vector128<Byte>>(_dataTable.inArray2Ptr),
1
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.outArrayPtr);
}
public void RunBasicScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
var result = Avx2.InsertVector128(
Avx.LoadVector256((Byte*)(_dataTable.inArray1Ptr)),
LoadVector128((Byte*)(_dataTable.inArray2Ptr)),
1
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.outArrayPtr);
}
public void RunBasicScenario_LoadAligned()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_LoadAligned));
var result = Avx2.InsertVector128(
Avx.LoadAlignedVector256((Byte*)(_dataTable.inArray1Ptr)),
LoadAlignedVector128((Byte*)(_dataTable.inArray2Ptr)),
1
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.outArrayPtr);
}
public void RunReflectionScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_UnsafeRead));
var result = typeof(Avx2).GetMethod(nameof(Avx2.InsertVector128), new Type[] { typeof(Vector256<Byte>), typeof(Vector128<Byte>), typeof(byte) })
.Invoke(null, new object[] {
Unsafe.Read<Vector256<Byte>>(_dataTable.inArray1Ptr),
Unsafe.Read<Vector128<Byte>>(_dataTable.inArray2Ptr),
(byte)1
});
Unsafe.Write(_dataTable.outArrayPtr, (Vector256<Byte>)(result));
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.outArrayPtr);
}
public void RunReflectionScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
var result = typeof(Avx2).GetMethod(nameof(Avx2.InsertVector128), new Type[] { typeof(Vector256<Byte>), typeof(Vector128<Byte>), typeof(byte) })
.Invoke(null, new object[] {
Avx.LoadVector256((Byte*)(_dataTable.inArray1Ptr)),
LoadVector128((Byte*)(_dataTable.inArray2Ptr)),
(byte)1
});
Unsafe.Write(_dataTable.outArrayPtr, (Vector256<Byte>)(result));
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.outArrayPtr);
}
public void RunReflectionScenario_LoadAligned()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_LoadAligned));
var result = typeof(Avx2).GetMethod(nameof(Avx2.InsertVector128), new Type[] { typeof(Vector256<Byte>), typeof(Vector128<Byte>), typeof(byte) })
.Invoke(null, new object[] {
Avx.LoadAlignedVector256((Byte*)(_dataTable.inArray1Ptr)),
LoadAlignedVector128((Byte*)(_dataTable.inArray2Ptr)),
(byte)1
});
Unsafe.Write(_dataTable.outArrayPtr, (Vector256<Byte>)(result));
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.outArrayPtr);
}
public void RunClsVarScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClsVarScenario));
var result = Avx2.InsertVector128(
_clsVar1,
_clsVar2,
1
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_clsVar1, _clsVar2, _dataTable.outArrayPtr);
}
public void RunLclVarScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunLclVarScenario_UnsafeRead));
var left = Unsafe.Read<Vector256<Byte>>(_dataTable.inArray1Ptr);
var right = Unsafe.Read<Vector128<Byte>>(_dataTable.inArray2Ptr);
var result = Avx2.InsertVector128(left, right, 1);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(left, right, _dataTable.outArrayPtr);
}
public void RunLclVarScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunLclVarScenario_Load));
var left = Avx.LoadVector256((Byte*)(_dataTable.inArray1Ptr));
var right = LoadVector128((Byte*)(_dataTable.inArray2Ptr));
var result = Avx2.InsertVector128(left, right, 1);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(left, right, _dataTable.outArrayPtr);
}
public void RunLclVarScenario_LoadAligned()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunLclVarScenario_LoadAligned));
var left = Avx.LoadAlignedVector256((Byte*)(_dataTable.inArray1Ptr));
var right = LoadAlignedVector128((Byte*)(_dataTable.inArray2Ptr));
var result = Avx2.InsertVector128(left, right, 1);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(left, right, _dataTable.outArrayPtr);
}
public void RunClassLclFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassLclFldScenario));
var test = new InsertVector128Test__InsertVector128Byte1();
var result = Avx2.InsertVector128(test._fld1, test._fld2, 1);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld1, test._fld2, _dataTable.outArrayPtr);
}
public void RunClassFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassFldScenario));
var result = Avx2.InsertVector128(_fld1, _fld2, 1);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_fld1, _fld2, _dataTable.outArrayPtr);
}
public void RunStructLclFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructLclFldScenario));
var test = TestStruct.Create();
var result = Avx2.InsertVector128(test._fld1, test._fld2, 1);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld1, test._fld2, _dataTable.outArrayPtr);
}
public void RunStructFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructFldScenario));
var test = TestStruct.Create();
test.RunStructFldScenario(this);
}
public void RunUnsupportedScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
bool succeeded = false;
try
{
RunBasicScenario_UnsafeRead();
}
catch (PlatformNotSupportedException)
{
succeeded = true;
}
if (!succeeded)
{
Succeeded = false;
}
}
private void ValidateResult(Vector256<Byte> left, Vector128<Byte> right, void* result, [CallerMemberName] string method = "")
{
Byte[] inArray1 = new Byte[Op1ElementCount];
Byte[] inArray2 = new Byte[Op2ElementCount];
Byte[] outArray = new Byte[RetElementCount];
Unsafe.WriteUnaligned(ref Unsafe.As<Byte, byte>(ref inArray1[0]), left);
Unsafe.WriteUnaligned(ref Unsafe.As<Byte, byte>(ref inArray2[0]), right);
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Byte, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector256<Byte>>());
ValidateResult(inArray1, inArray2, outArray, method);
}
private void ValidateResult(void* left, void* right, void* result, [CallerMemberName] string method = "")
{
Byte[] inArray1 = new Byte[Op1ElementCount];
Byte[] inArray2 = new Byte[Op2ElementCount];
Byte[] outArray = new Byte[RetElementCount];
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Byte, byte>(ref inArray1[0]), ref Unsafe.AsRef<byte>(left), (uint)Unsafe.SizeOf<Vector256<Byte>>());
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Byte, byte>(ref inArray2[0]), ref Unsafe.AsRef<byte>(right), (uint)Unsafe.SizeOf<Vector128<Byte>>());
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Byte, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector256<Byte>>());
ValidateResult(inArray1, inArray2, outArray, method);
}
private void ValidateResult(Byte[] left, Byte[] right, Byte[] result, [CallerMemberName] string method = "")
{
bool succeeded = true;
if (result[0] != left[0])
{
succeeded = false;
}
else
{
for (var i = 1; i < RetElementCount; i++)
{
if ((i > 15 ? result[i] != right[i - 16] : result[i] != left[i]))
{
succeeded = false;
break;
}
}
}
if (!succeeded)
{
TestLibrary.TestFramework.LogInformation($"{nameof(Avx2)}.{nameof(Avx2.InsertVector128)}<Byte>(Vector256<Byte>, Vector128<Byte>.1): {method} failed:");
TestLibrary.TestFramework.LogInformation($" left: ({string.Join(", ", left)})");
TestLibrary.TestFramework.LogInformation($" right: ({string.Join(", ", right)})");
TestLibrary.TestFramework.LogInformation($" result: ({string.Join(", ", result)})");
TestLibrary.TestFramework.LogInformation(string.Empty);
Succeeded = false;
}
}
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/libraries/System.Text.Encoding/tests/UTF7Encoding/UTF7EncodingTests.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using Xunit;
namespace System.Text.Tests
{
public class UTF7EncodingTests
{
[Fact]
public void Ctor_Empty()
{
UTF7Encoding encoding = new UTF7Encoding();
VerifyUtf7Encoding(encoding, allowOptionals: false);
}
[Theory]
[InlineData(true)]
[InlineData(false)]
public void Ctor_Bool(bool allowOptionals)
{
UTF7Encoding encoding = new UTF7Encoding(allowOptionals);
VerifyUtf7Encoding(encoding, allowOptionals);
}
private static void VerifyUtf7Encoding(UTF7Encoding encoding, bool allowOptionals)
{
Assert.Empty(encoding.GetPreamble());
Assert.Equal(new EncoderReplacementFallback(string.Empty), encoding.EncoderFallback);
Assert.Equal(1, encoding.DecoderFallback.MaxCharCount);
Assert.Equal(984, encoding.DecoderFallback.GetHashCode());
if (allowOptionals)
{
Assert.Equal(new byte[] { 33 }, encoding.GetBytes("!"));
}
else
{
Assert.Equal(new byte[] { 43, 65, 67, 69, 45 }, encoding.GetBytes("!"));
}
}
public static IEnumerable<object[]> Encodings_TestData()
{
yield return new object[] { new UTF7Encoding(true) };
yield return new object[] { new UTF7Encoding(false) };
yield return new object[] { Encoding.UTF7 };
yield return new object[] { Encoding.GetEncoding("utf-7") };
}
[Theory]
[MemberData(nameof(Encodings_TestData))]
public void WebName(UTF7Encoding encoding)
{
Assert.Equal("utf-7", encoding.WebName);
}
[Theory]
[MemberData(nameof(Encodings_TestData))]
public void CodePage(UTF7Encoding encoding)
{
Assert.Equal(65000, encoding.CodePage);
}
[Theory]
[MemberData(nameof(Encodings_TestData))]
public void EncodingName(UTF7Encoding encoding)
{
Assert.NotEmpty(encoding.EncodingName); // Unicode (UTF-7) in en-US
}
[Theory]
[MemberData(nameof(Encodings_TestData))]
public void IsSingleByte(UTF7Encoding encoding)
{
Assert.False(encoding.IsSingleByte);
}
[Theory]
[MemberData(nameof(Encodings_TestData))]
public void Clone(UTF7Encoding encoding)
{
UTF7Encoding clone = (UTF7Encoding)encoding.Clone();
Assert.NotSame(encoding, clone);
Assert.Equal(encoding, clone);
}
public static IEnumerable<object[]> Equals_TestData()
{
UTF7Encoding encoding = new UTF7Encoding();
yield return new object[] { encoding, encoding, true };
yield return new object[] { new UTF7Encoding(), new UTF7Encoding(), true };
yield return new object[] { new UTF7Encoding(), new UTF7Encoding(true), false };
yield return new object[] { new UTF7Encoding(), new UTF7Encoding(false), true };
yield return new object[] { new UTF7Encoding(true), new UTF7Encoding(true), true };
yield return new object[] { new UTF7Encoding(true), new UTF7Encoding(false), false };
yield return new object[] { new UTF7Encoding(false), new UTF7Encoding(false), true };
yield return new object[] { new UTF7Encoding(false), new UTF7Encoding(true), false };
yield return new object[] { Encoding.UTF7, Encoding.UTF7, true };
yield return new object[] { Encoding.UTF7, Encoding.GetEncoding("utf-7"), true };
yield return new object[] { Encoding.UTF7, new UTF7Encoding(false), true };
yield return new object[] { Encoding.UTF7, new UTF7Encoding(true), false };
yield return new object[] { new UTF7Encoding(), new TimeSpan(), false };
yield return new object[] { new UTF7Encoding(), null, false };
}
[Theory]
[MemberData(nameof(Equals_TestData))]
public void EqualsTest(UTF7Encoding encoding, object value, bool expected)
{
Assert.Equal(expected, encoding.Equals(value));
Assert.Equal(value is UTF7Encoding, encoding.GetHashCode().Equals(value?.GetHashCode()));
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using Xunit;
namespace System.Text.Tests
{
public class UTF7EncodingTests
{
[Fact]
public void Ctor_Empty()
{
UTF7Encoding encoding = new UTF7Encoding();
VerifyUtf7Encoding(encoding, allowOptionals: false);
}
[Theory]
[InlineData(true)]
[InlineData(false)]
public void Ctor_Bool(bool allowOptionals)
{
UTF7Encoding encoding = new UTF7Encoding(allowOptionals);
VerifyUtf7Encoding(encoding, allowOptionals);
}
private static void VerifyUtf7Encoding(UTF7Encoding encoding, bool allowOptionals)
{
Assert.Empty(encoding.GetPreamble());
Assert.Equal(new EncoderReplacementFallback(string.Empty), encoding.EncoderFallback);
Assert.Equal(1, encoding.DecoderFallback.MaxCharCount);
Assert.Equal(984, encoding.DecoderFallback.GetHashCode());
if (allowOptionals)
{
Assert.Equal(new byte[] { 33 }, encoding.GetBytes("!"));
}
else
{
Assert.Equal(new byte[] { 43, 65, 67, 69, 45 }, encoding.GetBytes("!"));
}
}
public static IEnumerable<object[]> Encodings_TestData()
{
yield return new object[] { new UTF7Encoding(true) };
yield return new object[] { new UTF7Encoding(false) };
yield return new object[] { Encoding.UTF7 };
yield return new object[] { Encoding.GetEncoding("utf-7") };
}
[Theory]
[MemberData(nameof(Encodings_TestData))]
public void WebName(UTF7Encoding encoding)
{
Assert.Equal("utf-7", encoding.WebName);
}
[Theory]
[MemberData(nameof(Encodings_TestData))]
public void CodePage(UTF7Encoding encoding)
{
Assert.Equal(65000, encoding.CodePage);
}
[Theory]
[MemberData(nameof(Encodings_TestData))]
public void EncodingName(UTF7Encoding encoding)
{
Assert.NotEmpty(encoding.EncodingName); // Unicode (UTF-7) in en-US
}
[Theory]
[MemberData(nameof(Encodings_TestData))]
public void IsSingleByte(UTF7Encoding encoding)
{
Assert.False(encoding.IsSingleByte);
}
[Theory]
[MemberData(nameof(Encodings_TestData))]
public void Clone(UTF7Encoding encoding)
{
UTF7Encoding clone = (UTF7Encoding)encoding.Clone();
Assert.NotSame(encoding, clone);
Assert.Equal(encoding, clone);
}
public static IEnumerable<object[]> Equals_TestData()
{
UTF7Encoding encoding = new UTF7Encoding();
yield return new object[] { encoding, encoding, true };
yield return new object[] { new UTF7Encoding(), new UTF7Encoding(), true };
yield return new object[] { new UTF7Encoding(), new UTF7Encoding(true), false };
yield return new object[] { new UTF7Encoding(), new UTF7Encoding(false), true };
yield return new object[] { new UTF7Encoding(true), new UTF7Encoding(true), true };
yield return new object[] { new UTF7Encoding(true), new UTF7Encoding(false), false };
yield return new object[] { new UTF7Encoding(false), new UTF7Encoding(false), true };
yield return new object[] { new UTF7Encoding(false), new UTF7Encoding(true), false };
yield return new object[] { Encoding.UTF7, Encoding.UTF7, true };
yield return new object[] { Encoding.UTF7, Encoding.GetEncoding("utf-7"), true };
yield return new object[] { Encoding.UTF7, new UTF7Encoding(false), true };
yield return new object[] { Encoding.UTF7, new UTF7Encoding(true), false };
yield return new object[] { new UTF7Encoding(), new TimeSpan(), false };
yield return new object[] { new UTF7Encoding(), null, false };
}
[Theory]
[MemberData(nameof(Equals_TestData))]
public void EqualsTest(UTF7Encoding encoding, object value, bool expected)
{
Assert.Equal(expected, encoding.Equals(value));
Assert.Equal(value is UTF7Encoding, encoding.GetHashCode().Equals(value?.GetHashCode()));
}
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/coreclr/nativeaot/System.Private.StackTraceMetadata/src/Internal/StackTraceMetadata/StackTraceMetadata.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using Internal.Metadata.NativeFormat;
using Internal.Runtime;
using Internal.Runtime.Augments;
using Internal.Runtime.TypeLoader;
using Internal.TypeSystem;
using ReflectionExecution = Internal.Reflection.Execution.ReflectionExecution;
namespace Internal.StackTraceMetadata
{
/// <summary>
/// This helper class is used to resolve non-reflectable method names using a special
/// compiler-generated metadata blob to enhance quality of exception call stacks
/// in situations where symbol information is not available.
/// </summary>
internal static class StackTraceMetadata
{
/// <summary>
/// Module address-keyed map of per-module method name resolvers.
/// </summary>
static PerModuleMethodNameResolverHashtable _perModuleMethodNameResolverHashtable;
/// <summary>
/// Eager startup initialization of stack trace metadata support creates
/// the per-module method name resolver hashtable and registers the runtime augment
/// for metadata-based stack trace resolution.
/// </summary>
internal static void Initialize()
{
_perModuleMethodNameResolverHashtable = new PerModuleMethodNameResolverHashtable();
RuntimeAugments.InitializeStackTraceMetadataSupport(new StackTraceMetadataCallbacksImpl());
}
/// <summary>
/// Locate the containing module for a method and try to resolve its name based on start address.
/// </summary>
public static unsafe string GetMethodNameFromStartAddressIfAvailable(IntPtr methodStartAddress)
{
IntPtr moduleStartAddress = RuntimeAugments.GetOSModuleFromPointer(methodStartAddress);
int rva = (int)((byte*)methodStartAddress - (byte*)moduleStartAddress);
foreach (TypeManagerHandle handle in ModuleList.Enumerate())
{
if (handle.OsModuleBase == moduleStartAddress)
{
string name = _perModuleMethodNameResolverHashtable.GetOrCreateValue(handle.GetIntPtrUNSAFE()).GetMethodNameFromRvaIfAvailable(rva);
if (name != null)
return name;
}
}
// We haven't found information in the stack trace metadata tables, but maybe reflection will have this
if (IsReflectionExecutionAvailable() && ReflectionExecution.TryGetMethodMetadataFromStartAddress(methodStartAddress,
out MetadataReader reader,
out TypeDefinitionHandle typeHandle,
out MethodHandle methodHandle))
{
return MethodNameFormatter.FormatMethodName(reader, typeHandle, methodHandle);
}
return null;
}
// Can be rewritten to false through a feature switch.
private static bool IsReflectionExecutionAvailable() => true;
/// <summary>
/// This hashtable supports mapping from module start addresses to per-module method name resolvers.
/// </summary>
private sealed class PerModuleMethodNameResolverHashtable : LockFreeReaderHashtable<IntPtr, PerModuleMethodNameResolver>
{
/// <summary>
/// Given a key, compute a hash code. This function must be thread safe.
/// </summary>
protected override int GetKeyHashCode(IntPtr key)
{
return key.GetHashCode();
}
/// <summary>
/// Given a value, compute a hash code which would be identical to the hash code
/// for a key which should look up this value. This function must be thread safe.
/// This function must also not cause additional hashtable adds.
/// </summary>
protected override int GetValueHashCode(PerModuleMethodNameResolver value)
{
return GetKeyHashCode(value.ModuleAddress);
}
/// <summary>
/// Compare a key and value. If the key refers to this value, return true.
/// This function must be thread safe.
/// </summary>
protected override bool CompareKeyToValue(IntPtr key, PerModuleMethodNameResolver value)
{
return key == value.ModuleAddress;
}
/// <summary>
/// Compare a value with another value. Return true if values are equal.
/// This function must be thread safe.
/// </summary>
protected override bool CompareValueToValue(PerModuleMethodNameResolver value1, PerModuleMethodNameResolver value2)
{
return value1.ModuleAddress == value2.ModuleAddress;
}
/// <summary>
/// Create a new value from a key. Must be threadsafe. Value may or may not be added
/// to collection. Return value must not be null.
/// </summary>
protected override PerModuleMethodNameResolver CreateValueFromKey(IntPtr key)
{
return new PerModuleMethodNameResolver(key);
}
}
/// <summary>
/// Implementation of stack trace metadata callbacks.
/// </summary>
private sealed class StackTraceMetadataCallbacksImpl : StackTraceMetadataCallbacks
{
public override string TryGetMethodNameFromStartAddress(IntPtr methodStartAddress)
{
return GetMethodNameFromStartAddressIfAvailable(methodStartAddress);
}
}
/// <summary>
/// Method name resolver for a single binary module
/// </summary>
private sealed class PerModuleMethodNameResolver
{
/// <summary>
/// Start address of the module in question.
/// </summary>
private readonly IntPtr _moduleAddress;
/// <summary>
/// Dictionary mapping method RVA's to tokens within the metadata blob.
/// </summary>
private readonly Dictionary<int, int> _methodRvaToTokenMap;
/// <summary>
/// Metadata reader for the stack trace metadata.
/// </summary>
private readonly MetadataReader _metadataReader;
/// <summary>
/// Publicly exposed module address property.
/// </summary>
public IntPtr ModuleAddress { get { return _moduleAddress; } }
/// <summary>
/// Construct the per-module resolver by looking up the necessary blobs.
/// </summary>
public unsafe PerModuleMethodNameResolver(IntPtr moduleAddress)
{
_moduleAddress = moduleAddress;
TypeManagerHandle handle = new TypeManagerHandle(moduleAddress);
ModuleInfo moduleInfo;
if (!ModuleList.Instance.TryGetModuleInfoByHandle(handle, out moduleInfo))
{
// Module not found
return;
}
NativeFormatModuleInfo nativeFormatModuleInfo = moduleInfo as NativeFormatModuleInfo;
if (nativeFormatModuleInfo == null)
{
// It is not a native format module
return;
}
byte *metadataBlob;
uint metadataBlobSize;
byte *rvaToTokenMapBlob;
uint rvaToTokenMapBlobSize;
if (nativeFormatModuleInfo.TryFindBlob(
(int)ReflectionMapBlob.EmbeddedMetadata,
out metadataBlob,
out metadataBlobSize) &&
nativeFormatModuleInfo.TryFindBlob(
(int)ReflectionMapBlob.BlobIdStackTraceMethodRvaToTokenMapping,
out rvaToTokenMapBlob,
out rvaToTokenMapBlobSize))
{
_metadataReader = new MetadataReader(new IntPtr(metadataBlob), (int)metadataBlobSize);
// RVA to token map consists of pairs of integers (method RVA - token)
int rvaToTokenMapEntryCount = (int)(rvaToTokenMapBlobSize / (2 * sizeof(int)));
_methodRvaToTokenMap = new Dictionary<int, int>(rvaToTokenMapEntryCount);
PopulateRvaToTokenMap(handle, (int *)rvaToTokenMapBlob, rvaToTokenMapEntryCount);
}
}
/// <summary>
/// Construct the dictionary mapping method RVAs to stack trace metadata tokens
/// within a single binary module.
/// </summary>
/// <param name="handle">Module to use to construct the mapping</param>
/// <param name="rvaToTokenMap">List of RVA - token pairs</param>
/// <param name="entryCount">Number of the RVA - token pairs in the list</param>
private unsafe void PopulateRvaToTokenMap(TypeManagerHandle handle, int *rvaToTokenMap, int entryCount)
{
for (int entryIndex = 0; entryIndex < entryCount; entryIndex++)
{
int* pRelPtr32 = &rvaToTokenMap[2 * entryIndex + 0];
byte* pointer = (byte*)pRelPtr32 + *pRelPtr32;
int methodRva = (int)(pointer - (byte*)handle.OsModuleBase);
int token = rvaToTokenMap[2 * entryIndex + 1];
_methodRvaToTokenMap[methodRva] = token;
}
}
/// <summary>
/// Try to resolve method name based on its address using the stack trace metadata
/// </summary>
public string GetMethodNameFromRvaIfAvailable(int rva)
{
if (_methodRvaToTokenMap == null)
{
// No stack trace metadata for this module
return null;
}
int rawToken;
if (!_methodRvaToTokenMap.TryGetValue(rva, out rawToken))
{
// Method RVA not found in the map
return null;
}
return MethodNameFormatter.FormatMethodName(_metadataReader, Handle.FromIntToken(rawToken));
}
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using Internal.Metadata.NativeFormat;
using Internal.Runtime;
using Internal.Runtime.Augments;
using Internal.Runtime.TypeLoader;
using Internal.TypeSystem;
using ReflectionExecution = Internal.Reflection.Execution.ReflectionExecution;
namespace Internal.StackTraceMetadata
{
/// <summary>
/// This helper class is used to resolve non-reflectable method names using a special
/// compiler-generated metadata blob to enhance quality of exception call stacks
/// in situations where symbol information is not available.
/// </summary>
internal static class StackTraceMetadata
{
/// <summary>
/// Module address-keyed map of per-module method name resolvers.
/// </summary>
static PerModuleMethodNameResolverHashtable _perModuleMethodNameResolverHashtable;
/// <summary>
/// Eager startup initialization of stack trace metadata support creates
/// the per-module method name resolver hashtable and registers the runtime augment
/// for metadata-based stack trace resolution.
/// </summary>
internal static void Initialize()
{
_perModuleMethodNameResolverHashtable = new PerModuleMethodNameResolverHashtable();
RuntimeAugments.InitializeStackTraceMetadataSupport(new StackTraceMetadataCallbacksImpl());
}
/// <summary>
/// Locate the containing module for a method and try to resolve its name based on start address.
/// </summary>
public static unsafe string GetMethodNameFromStartAddressIfAvailable(IntPtr methodStartAddress)
{
IntPtr moduleStartAddress = RuntimeAugments.GetOSModuleFromPointer(methodStartAddress);
int rva = (int)((byte*)methodStartAddress - (byte*)moduleStartAddress);
foreach (TypeManagerHandle handle in ModuleList.Enumerate())
{
if (handle.OsModuleBase == moduleStartAddress)
{
string name = _perModuleMethodNameResolverHashtable.GetOrCreateValue(handle.GetIntPtrUNSAFE()).GetMethodNameFromRvaIfAvailable(rva);
if (name != null)
return name;
}
}
// We haven't found information in the stack trace metadata tables, but maybe reflection will have this
if (IsReflectionExecutionAvailable() && ReflectionExecution.TryGetMethodMetadataFromStartAddress(methodStartAddress,
out MetadataReader reader,
out TypeDefinitionHandle typeHandle,
out MethodHandle methodHandle))
{
return MethodNameFormatter.FormatMethodName(reader, typeHandle, methodHandle);
}
return null;
}
// Can be rewritten to false through a feature switch.
private static bool IsReflectionExecutionAvailable() => true;
/// <summary>
/// This hashtable supports mapping from module start addresses to per-module method name resolvers.
/// </summary>
private sealed class PerModuleMethodNameResolverHashtable : LockFreeReaderHashtable<IntPtr, PerModuleMethodNameResolver>
{
/// <summary>
/// Given a key, compute a hash code. This function must be thread safe.
/// </summary>
protected override int GetKeyHashCode(IntPtr key)
{
return key.GetHashCode();
}
/// <summary>
/// Given a value, compute a hash code which would be identical to the hash code
/// for a key which should look up this value. This function must be thread safe.
/// This function must also not cause additional hashtable adds.
/// </summary>
protected override int GetValueHashCode(PerModuleMethodNameResolver value)
{
return GetKeyHashCode(value.ModuleAddress);
}
/// <summary>
/// Compare a key and value. If the key refers to this value, return true.
/// This function must be thread safe.
/// </summary>
protected override bool CompareKeyToValue(IntPtr key, PerModuleMethodNameResolver value)
{
return key == value.ModuleAddress;
}
/// <summary>
/// Compare a value with another value. Return true if values are equal.
/// This function must be thread safe.
/// </summary>
protected override bool CompareValueToValue(PerModuleMethodNameResolver value1, PerModuleMethodNameResolver value2)
{
return value1.ModuleAddress == value2.ModuleAddress;
}
/// <summary>
/// Create a new value from a key. Must be threadsafe. Value may or may not be added
/// to collection. Return value must not be null.
/// </summary>
protected override PerModuleMethodNameResolver CreateValueFromKey(IntPtr key)
{
return new PerModuleMethodNameResolver(key);
}
}
/// <summary>
/// Implementation of stack trace metadata callbacks.
/// </summary>
private sealed class StackTraceMetadataCallbacksImpl : StackTraceMetadataCallbacks
{
public override string TryGetMethodNameFromStartAddress(IntPtr methodStartAddress)
{
return GetMethodNameFromStartAddressIfAvailable(methodStartAddress);
}
}
/// <summary>
/// Method name resolver for a single binary module
/// </summary>
private sealed class PerModuleMethodNameResolver
{
/// <summary>
/// Start address of the module in question.
/// </summary>
private readonly IntPtr _moduleAddress;
/// <summary>
/// Dictionary mapping method RVA's to tokens within the metadata blob.
/// </summary>
private readonly Dictionary<int, int> _methodRvaToTokenMap;
/// <summary>
/// Metadata reader for the stack trace metadata.
/// </summary>
private readonly MetadataReader _metadataReader;
/// <summary>
/// Publicly exposed module address property.
/// </summary>
public IntPtr ModuleAddress { get { return _moduleAddress; } }
/// <summary>
/// Construct the per-module resolver by looking up the necessary blobs.
/// </summary>
public unsafe PerModuleMethodNameResolver(IntPtr moduleAddress)
{
_moduleAddress = moduleAddress;
TypeManagerHandle handle = new TypeManagerHandle(moduleAddress);
ModuleInfo moduleInfo;
if (!ModuleList.Instance.TryGetModuleInfoByHandle(handle, out moduleInfo))
{
// Module not found
return;
}
NativeFormatModuleInfo nativeFormatModuleInfo = moduleInfo as NativeFormatModuleInfo;
if (nativeFormatModuleInfo == null)
{
// It is not a native format module
return;
}
byte *metadataBlob;
uint metadataBlobSize;
byte *rvaToTokenMapBlob;
uint rvaToTokenMapBlobSize;
if (nativeFormatModuleInfo.TryFindBlob(
(int)ReflectionMapBlob.EmbeddedMetadata,
out metadataBlob,
out metadataBlobSize) &&
nativeFormatModuleInfo.TryFindBlob(
(int)ReflectionMapBlob.BlobIdStackTraceMethodRvaToTokenMapping,
out rvaToTokenMapBlob,
out rvaToTokenMapBlobSize))
{
_metadataReader = new MetadataReader(new IntPtr(metadataBlob), (int)metadataBlobSize);
// RVA to token map consists of pairs of integers (method RVA - token)
int rvaToTokenMapEntryCount = (int)(rvaToTokenMapBlobSize / (2 * sizeof(int)));
_methodRvaToTokenMap = new Dictionary<int, int>(rvaToTokenMapEntryCount);
PopulateRvaToTokenMap(handle, (int *)rvaToTokenMapBlob, rvaToTokenMapEntryCount);
}
}
/// <summary>
/// Construct the dictionary mapping method RVAs to stack trace metadata tokens
/// within a single binary module.
/// </summary>
/// <param name="handle">Module to use to construct the mapping</param>
/// <param name="rvaToTokenMap">List of RVA - token pairs</param>
/// <param name="entryCount">Number of the RVA - token pairs in the list</param>
private unsafe void PopulateRvaToTokenMap(TypeManagerHandle handle, int *rvaToTokenMap, int entryCount)
{
for (int entryIndex = 0; entryIndex < entryCount; entryIndex++)
{
int* pRelPtr32 = &rvaToTokenMap[2 * entryIndex + 0];
byte* pointer = (byte*)pRelPtr32 + *pRelPtr32;
int methodRva = (int)(pointer - (byte*)handle.OsModuleBase);
int token = rvaToTokenMap[2 * entryIndex + 1];
_methodRvaToTokenMap[methodRva] = token;
}
}
/// <summary>
/// Try to resolve method name based on its address using the stack trace metadata
/// </summary>
public string GetMethodNameFromRvaIfAvailable(int rva)
{
if (_methodRvaToTokenMap == null)
{
// No stack trace metadata for this module
return null;
}
int rawToken;
if (!_methodRvaToTokenMap.TryGetValue(rva, out rawToken))
{
// Method RVA not found in the map
return null;
}
return MethodNameFormatter.FormatMethodName(_metadataReader, Handle.FromIntToken(rawToken));
}
}
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/libraries/System.Dynamic.Runtime/tests/Dynamic.Statements/Conformance.dynamic.statements.foreach.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Xunit;
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.statements.freach.freach001.freach001
{
// <Title> Dynamic in Foreach </Title>
// <Description>
// Conversions between elements in foreach expressions to the type of the identifier in the foreach loop
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
public class Test
{
// Implicit and Explicit Numeric Conversions. Test will throw a runtime exception if it fails.
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod());
}
public static int MainMethod()
{
int i = 0;
sbyte[] x1 = new sbyte[]
{
1, 2, 3
}
;
byte[] x2 = new byte[]
{
1, 2, 3
}
;
short[] x3 = new short[]
{
1, 2, 3
}
;
ushort[] x4 = new ushort[]
{
1, 2, 3
}
;
int[] x5 = new int[]
{
1, 2, 3
}
;
uint[] x6 = new uint[]
{
1, 2, 3
}
;
long[] x7 = new long[]
{
1, 2, 3
}
;
ulong[] x8 = new ulong[]
{
1, 2, 3
}
;
char[] x9 = new char[]
{
'1', '2', '3'
}
;
float[] x10 = new float[]
{
1.1f, 2.2f, 3.3f
}
;
double[] x11 = new double[]
{
1.1, 2.2, 3.35
}
;
decimal[] x12 = new decimal[]
{
1.1m, 22.2m, 33.3m
}
;
// IMPLICIT NUMERIC CONVERSIONS
// sybte to short, int, long, float, double, decimal
foreach (short y in (dynamic)x1)
i++;
foreach (int y in (dynamic)x1)
i++;
foreach (long y in (dynamic)x1)
i++;
foreach (float y in (dynamic)x1)
i++;
foreach (double y in (dynamic)x1)
i++;
foreach (decimal y in (dynamic)x1)
i++;
// byte to short, ushort, int, uint, long, ulong, float, double, decimal
foreach (short y in (dynamic)x2)
i++;
foreach (ushort y in (dynamic)x2)
i++;
foreach (int y in (dynamic)x2)
i++;
foreach (uint y in (dynamic)x2)
i++;
foreach (long y in (dynamic)x2)
i++;
foreach (ulong y in (dynamic)x2)
i++;
foreach (float y in (dynamic)x2)
i++;
foreach (double y in (dynamic)x2)
i++;
foreach (decimal y in (dynamic)x2)
i++;
// short to int, long, float, double, decimal
foreach (int y in (dynamic)x3)
i++;
foreach (long y in (dynamic)x3)
i++;
foreach (float y in (dynamic)x3)
i++;
foreach (double y in (dynamic)x3)
i++;
foreach (decimal y in (dynamic)x3)
i++;
// ushort to int, uint, long, ulong, float, double, decimal
foreach (int y in (dynamic)x4)
i++;
foreach (uint y in (dynamic)x4)
i++;
foreach (long y in (dynamic)x4)
i++;
foreach (ulong y in (dynamic)x4)
i++;
foreach (float y in (dynamic)x4)
i++;
foreach (double y in (dynamic)x4)
i++;
foreach (decimal y in (dynamic)x4)
i++;
// int to long, float, double, decimal
foreach (long y in (dynamic)x5)
i++;
foreach (float y in (dynamic)x5)
i++;
foreach (double y in (dynamic)x5)
i++;
foreach (decimal y in (dynamic)x5)
i++;
// uint to long, ulong, float, double, decimal
foreach (long y in (dynamic)x6)
i++;
foreach (ulong y in (dynamic)x6)
i++;
foreach (float y in (dynamic)x6)
i++;
foreach (double y in (dynamic)x6)
i++;
foreach (decimal y in (dynamic)x6)
i++;
// long to float, double, decimal
foreach (float y in (dynamic)x7)
i++;
foreach (double y in (dynamic)x7)
i++;
foreach (decimal y in (dynamic)x7)
i++;
// ulong to float, double, decimal
foreach (float y in (dynamic)x8)
i++;
foreach (double y in (dynamic)x8)
i++;
foreach (decimal y in (dynamic)x8)
i++;
// char to ushort, int, uint, long, ulong, float, double, decimal
foreach (ushort y in (dynamic)x9)
i++;
foreach (int y in (dynamic)x9)
i++;
foreach (uint y in (dynamic)x9)
i++;
foreach (long y in (dynamic)x9)
i++;
foreach (ulong y in (dynamic)x9)
i++;
foreach (float y in (dynamic)x9)
i++;
foreach (double y in (dynamic)x9)
i++;
foreach (decimal y in (dynamic)x9)
i++;
// float to double
foreach (double y in (dynamic)x10)
i++;
// EXPLICIT NUMERIC CONVERSIONS
// sbyte to byte, ushort, uint, ulong char
foreach (byte y in (dynamic)x1)
i++;
foreach (ushort y in (dynamic)x1)
i++;
foreach (uint y in (dynamic)x1)
i++;
foreach (ulong y in (dynamic)x1)
i++;
foreach (char y in (dynamic)x1)
i++;
// byte to sbyte, char
foreach (sbyte y in (dynamic)x2)
i++;
foreach (char y in (dynamic)x2)
i++;
// short to sbyte, byte, ushort, uint, ulong, char
foreach (sbyte y in (dynamic)x3)
i++;
foreach (byte y in (dynamic)x3)
i++;
foreach (ushort y in (dynamic)x3)
i++;
foreach (uint y in (dynamic)x3)
i++;
foreach (ulong y in (dynamic)x3)
i++;
foreach (char y in (dynamic)x3)
i++;
// ushort to sbyte, byte, short, char
foreach (sbyte y in (dynamic)x4)
i++;
foreach (byte y in (dynamic)x4)
i++;
foreach (short y in (dynamic)x4)
i++;
foreach (char y in (dynamic)x4)
i++;
// int to sbyte, byte, short, ushort, uint, ulong, char
foreach (sbyte y in (dynamic)x5)
i++;
foreach (byte y in (dynamic)x5)
i++;
foreach (short y in (dynamic)x5)
i++;
foreach (ushort y in (dynamic)x5)
i++;
foreach (uint y in (dynamic)x5)
i++;
foreach (ulong y in (dynamic)x5)
i++;
foreach (char y in (dynamic)x5)
i++;
// uint to sbyte, byte, short, ushort, int, char
foreach (sbyte y in (dynamic)x6)
i++;
foreach (byte y in (dynamic)x6)
i++;
foreach (short y in (dynamic)x6)
i++;
foreach (ushort y in (dynamic)x6)
i++;
foreach (int y in (dynamic)x6)
i++;
foreach (char y in (dynamic)x6)
i++;
// long to sbyte, byte, short, ushort, int, uint, ulong, char
foreach (sbyte y in (dynamic)x7)
i++;
foreach (byte y in (dynamic)x7)
i++;
foreach (short y in (dynamic)x7)
i++;
foreach (ushort y in (dynamic)x7)
i++;
foreach (int y in (dynamic)x7)
i++;
foreach (uint y in (dynamic)x7)
i++;
foreach (ulong y in (dynamic)x7)
i++;
foreach (char y in (dynamic)x7)
i++;
// ulong to sbyte, byte, short, ushort, int, uint, ulong, char
foreach (sbyte y in (dynamic)x8)
i++;
foreach (byte y in (dynamic)x8)
i++;
foreach (short y in (dynamic)x8)
i++;
foreach (ushort y in (dynamic)x8)
i++;
foreach (int y in (dynamic)x8)
i++;
foreach (uint y in (dynamic)x8)
i++;
foreach (ulong y in (dynamic)x8)
i++;
foreach (char y in (dynamic)x8)
i++;
// char to sbyte, byte, short
foreach (sbyte y in (dynamic)x9)
i++;
foreach (byte y in (dynamic)x9)
i++;
foreach (short y in (dynamic)x9)
i++;
// float to sybte, byte, short, ushort, int, uint, long, ulong, char, decimal
foreach (sbyte y in (dynamic)x10)
i++;
foreach (byte y in (dynamic)x10)
i++;
foreach (short y in (dynamic)x10)
i++;
foreach (ushort y in (dynamic)x10)
i++;
foreach (int y in (dynamic)x10)
i++;
foreach (uint y in (dynamic)x10)
i++;
foreach (long y in (dynamic)x10)
i++;
foreach (ulong y in (dynamic)x10)
i++;
foreach (char y in (dynamic)x10)
i++;
foreach (decimal y in (dynamic)x10)
i++;
// double to sbyte, short, ushort, int, uint, long, ulong, char, float, decimal
foreach (sbyte y in (dynamic)x11)
i++;
foreach (short y in (dynamic)x11)
i++;
foreach (ushort y in (dynamic)x11)
i++;
foreach (int y in (dynamic)x11)
i++;
foreach (uint y in (dynamic)x11)
i++;
foreach (long y in (dynamic)x11)
i++;
foreach (ulong y in (dynamic)x11)
i++;
foreach (char y in (dynamic)x11)
i++;
foreach (float y in (dynamic)x11)
i++;
foreach (decimal y in (dynamic)x11)
i++;
// decimal to sbyte, byte, short, ushort, int, uint, long, ulong, char, float, double
foreach (sbyte y in (dynamic)x12)
i++;
foreach (byte y in (dynamic)x12)
i++;
foreach (short y in (dynamic)x12)
i++;
foreach (ushort y in (dynamic)x12)
i++;
foreach (int y in (dynamic)x12)
i++;
foreach (uint y in (dynamic)x12)
i++;
foreach (long y in (dynamic)x12)
i++;
foreach (ulong y in (dynamic)x12)
i++;
foreach (char y in (dynamic)x12)
i++;
foreach (float y in (dynamic)x12)
i++;
foreach (double y in (dynamic)x12)
i++;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.statements.freach.freach002.freach002
{
// <Title> Dynamic in Foreach </Title>
// <Description>
// Conversions between elements in foreach expressions to the type of the identifier in the foreach loop
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
public class A
{
}
public class B : A
{
}
public interface I1
{
}
public interface I2 : I1
{
}
public class CI1 : I1
{
}
public class CI2 : I2
{
}
public class Test
{
// Implicit and Explicit Reference Conversions. Test will throw a runtime exception if it fails.
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod());
}
public static int MainMethod()
{
int i = 0;
// IMPLICIT REFERENCE CONVERSIONS
// Reference type to object
Test[] x1 = new Test[]
{
new Test(), new Test()}
;
foreach (object y in (dynamic)x1)
i++;
// Class-Type S to Class-Type T, S is derived from T
B[] x2 = new B[]
{
new B(), new B()}
;
foreach (A y in (dynamic)x2)
i++;
// Class-Type S to Interface-Type T, S implements T
CI1[] x3 = new CI1[]
{
new CI1(), new CI1()}
;
foreach (I1 y in (dynamic)x3)
i++;
// Interface-Type S to Interface-Type T, S is derived from T
I2[] x4 = new I2[]
{
new CI2(), new CI2()}
;
foreach (I1 y in (dynamic)x4)
i++;
// From array-type to System.Array
int[][] x5 = new int[][]
{
new int[]
{
1, 2, 3
}
, new int[]
{
4, 5, 6
}
}
;
foreach (System.Array y in (dynamic)x5)
i++;
// EXPLICIT REFERENCE CONVERSIONS
// object to reference-type
object[] xr1 = new object[]
{
new Test(), new Test()}
;
foreach (Test y in (dynamic)xr1)
i++;
// Class-Type S to Class-Type T, S is base class from T
A[] xr2 = new A[]
{
new B(), new B()}
;
foreach (B y in (dynamic)xr2)
i++;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.statements.freach.freach003.freach003
{
// <Title> Dynamic in Foreach </Title>
// <Description>
// Conversions between elements in foreach expressions to the type of the identifier in the foreach loop
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
public struct S
{
}
public class Test
{
// Boxing and Unboxing Conversions. Test will throw a runtime exception if it fails.
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod());
}
public static int MainMethod()
{
int i = 0;
// Boxing Conversions
int[] x1 = new int[]
{
1, 2, 3
}
;
S[] x2 = new S[]
{
new S(), new S()}
;
decimal[] x3 = new decimal[]
{
1m, 2m, 3m
}
;
int?[] x4 = new int?[]
{
1, 2, 3
}
;
uint?[] x5 = new uint?[]
{
1, 2, 3
}
;
decimal?[] x6 = new decimal?[]
{
1m, 2m, 3m
}
;
// Boxing to object
foreach (object y in (dynamic)x1)
i++;
foreach (object y in (dynamic)x2)
i++;
foreach (object y in (dynamic)x3)
i++;
foreach (object y in (dynamic)x4)
i++;
foreach (object y in (dynamic)x5)
i++;
foreach (object y in (dynamic)x6)
i++;
// Boxing to System.ValueType
foreach (System.ValueType y in (dynamic)x1)
i++;
foreach (System.ValueType y in (dynamic)x2)
i++;
foreach (System.ValueType y in (dynamic)x3)
i++;
foreach (System.ValueType y in (dynamic)x4)
i++;
foreach (System.ValueType y in (dynamic)x5)
i++;
foreach (System.ValueType y in (dynamic)x6)
i++;
// Unboxing Conversions
object[] xo1 = new object[]
{
1, 2, 3
}
;
object[] xo2 = new object[]
{
new S(), new S()}
;
object[] xo3 = new object[]
{
1m, 2m, 3m
}
;
object[] xo4 = new object[]
{
(int ? )1, (int ? )2, (int ? )3
}
;
object[] xo5 = new object[]
{
(uint ? )1, (uint ? )2, (uint ? )3
}
;
object[] xo6 = new object[]
{
(decimal ? )1m, (decimal ? )2m, (decimal ? )3m
}
;
// Unboxing from object
foreach (object y in (dynamic)xo1)
i++;
foreach (object y in (dynamic)xo2)
i++;
foreach (object y in (dynamic)xo3)
i++;
foreach (object y in (dynamic)xo4)
i++;
foreach (object y in (dynamic)xo5)
i++;
foreach (object y in (dynamic)xo6)
i++;
// Unboxing Conversions
System.ValueType[] xv1 = new System.ValueType[]
{
1, 2, 3
}
;
System.ValueType[] xv2 = new System.ValueType[]
{
new S(), new S()}
;
System.ValueType[] xv3 = new System.ValueType[]
{
1m, 2m, 3m
}
;
System.ValueType[] xv4 = new System.ValueType[]
{
(int ? )1, (int ? )2, (int ? )3
}
;
System.ValueType[] xv5 = new System.ValueType[]
{
(uint ? )1, (uint ? )2, (uint ? )3
}
;
System.ValueType[] xv6 = new System.ValueType[]
{
(decimal ? )1m, (decimal ? )2m, (decimal ? )3m
}
;
// Unboxing from System.ValueType
foreach (System.ValueType y in (dynamic)xv1)
i++;
foreach (System.ValueType y in (dynamic)xv2)
i++;
foreach (System.ValueType y in (dynamic)xv3)
i++;
foreach (System.ValueType y in (dynamic)xv4)
i++;
foreach (System.ValueType y in (dynamic)xv5)
i++;
foreach (System.ValueType y in (dynamic)xv6)
i++;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.statements.freach.freach004.freach004
{
// <Title> Dynamic in Foreach </Title>
// <Description>
// Conversions between elements in foreach expressions to the type of the identifier in the foreach loop
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
public enum Color
{
Red,
Blue,
Green
}
public enum Cars
{
Toyota,
Lexus,
BMW
}
public class Test
{
// Explicit Enum Conversions. Test will throw a runtime exception if it fails.
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod());
}
public static int MainMethod()
{
int i = 0;
sbyte[] x1 = new sbyte[]
{
1, 2, 3
}
;
byte[] x2 = new byte[]
{
1, 2, 3
}
;
short[] x3 = new short[]
{
1, 2, 3
}
;
ushort[] x4 = new ushort[]
{
1, 2, 3
}
;
int[] x5 = new int[]
{
1, 2, 3
}
;
uint[] x6 = new uint[]
{
1, 2, 3
}
;
long[] x7 = new long[]
{
1, 2, 3
}
;
ulong[] x8 = new ulong[]
{
1, 2, 3
}
;
char[] x9 = new char[]
{
'1', '2', '3'
}
;
float[] x10 = new float[]
{
1.1f, 2.2f, 3.3f
}
;
double[] x11 = new double[]
{
1.1, 2.2, 3.35
}
;
decimal[] x12 = new decimal[]
{
1.1m, 22.2m, 33.3m
}
;
Color[] x13 = new Color[]
{
Color.Red, Color.Green
}
;
Cars[] x14 = new Cars[]
{
Cars.Toyota, Cars.BMW
}
;
// From sybte, byte, short, ushort, int, uint, long, ulong, char, float, double, decimal to enum-type
foreach (Color y in (dynamic)x1)
i++;
foreach (Color y in (dynamic)x2)
i++;
foreach (Color y in (dynamic)x3)
i++;
foreach (Color y in (dynamic)x4)
i++;
foreach (Color y in (dynamic)x5)
i++;
foreach (Color y in (dynamic)x6)
i++;
foreach (Color y in (dynamic)x7)
i++;
foreach (Color y in (dynamic)x8)
i++;
foreach (Color y in (dynamic)x9)
i++;
foreach (Color y in (dynamic)x10)
i++;
foreach (Color y in (dynamic)x11)
i++;
foreach (Color y in (dynamic)x12)
i++;
// From enum type to sybte, byte, short, ushort, int, uint, long, ulong, char, float, double, decimal
foreach (sbyte y in (dynamic)x13)
i++;
foreach (byte y in (dynamic)x13)
i++;
foreach (short y in (dynamic)x13)
i++;
foreach (ushort y in (dynamic)x13)
i++;
foreach (int y in (dynamic)x13)
i++;
foreach (uint y in (dynamic)x13)
i++;
foreach (long y in (dynamic)x13)
i++;
foreach (ulong y in (dynamic)x13)
i++;
foreach (char y in (dynamic)x13)
i++;
foreach (float y in (dynamic)x13)
i++;
foreach (double y in (dynamic)x13)
i++;
foreach (decimal y in (dynamic)x13)
i++;
// From one enum type to another enum type
foreach (Color y in (dynamic)x14)
i++;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.statements.freach.freach005.freach005
{
// <Title> Dynamic in Foreach </Title>
// <Description>
// Conversions between elements in foreach expressions to the type of the identifier in the foreach loop
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
public class Test
{
public static implicit operator int (Test t)
{
return 5;
}
public static explicit operator decimal (Test t)
{
return 10m;
}
// Explicit/Implicit User-defined Conversions. Test will throw a runtime exception if it fails.
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod());
}
public static int MainMethod()
{
int i = 0;
Test[] x1 = new Test[]
{
new Test(), new Test()}
;
// User-defined Implicit conversions
foreach (int y in (dynamic)x1)
i++;
foreach (long y in (dynamic)x1)
i++;
// User-defined Explicit conversions
foreach (decimal y in (dynamic)x1)
i++;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.statements.freach.freach006.freach006
{
// <Title> Dynamic in Foreach </Title>
// <Description>
// Conversions between elements in foreach expressions to the type of the identifier in the foreach loop
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
public class Test
{
// Nested foreach statements. Test will throw runtime exception if it fails.
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod());
}
public static int MainMethod()
{
int i = 0;
int[][] v1 = new int[][]
{
new int[]
{
4, 5
}
, new int[]
{
1, 2, 3
}
}
;
// Nested foreach statements
foreach (dynamic y in (dynamic)v1)
{
i++;
foreach (long z in y)
i++;
}
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.statements.freach.freach007.freach007
{
// <Title> Dynamic in Foreach </Title>
// <Description>
// Conversions between elements in foreach expressions to the type of the identifier in the foreach loop
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
public class Test
{
// Implicit and Explicit Nullable Numeric Conversions. Test will throw a runtime exception if it fails.
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod());
}
public static int MainMethod()
{
int i = 0;
sbyte?[] x1 = new sbyte?[]
{
1, 2, 3
}
;
byte?[] x2 = new byte?[]
{
1, 2, 3
}
;
short?[] x3 = new short?[]
{
1, 2, 3
}
;
ushort?[] x4 = new ushort?[]
{
1, 2, 3
}
;
int?[] x5 = new int?[]
{
1, 2, 3
}
;
uint?[] x6 = new uint?[]
{
1, 2, 3
}
;
long?[] x7 = new long?[]
{
1, 2, 3
}
;
ulong?[] x8 = new ulong?[]
{
1, 2, 3
}
;
char?[] x9 = new char?[]
{
'1', '2', '3'
}
;
float?[] x10 = new float?[]
{
1.1f, 2.2f, 3.3f
}
;
double?[] x11 = new double?[]
{
1.1, 2.2, 3.35
}
;
decimal?[] x12 = new decimal?[]
{
1.1m, 22.2m, 33.3m
}
;
// IMPLICIT NUMERIC CONVERSIONS
// sybte to short, int, long, float, double, decimal
foreach (short? y in (dynamic)x1)
i++;
foreach (int? y in (dynamic)x1)
i++;
foreach (long? y in (dynamic)x1)
i++;
foreach (float? y in (dynamic)x1)
i++;
foreach (double? y in (dynamic)x1)
i++;
foreach (decimal? y in (dynamic)x1)
i++;
// byte to short, ushort, int, uint, long, ulong, float, double, decimal
foreach (short? y in (dynamic)x2)
i++;
foreach (ushort? y in (dynamic)x2)
i++;
foreach (int? y in (dynamic)x2)
i++;
foreach (uint? y in (dynamic)x2)
i++;
foreach (long? y in (dynamic)x2)
i++;
foreach (ulong? y in (dynamic)x2)
i++;
foreach (float? y in (dynamic)x2)
i++;
foreach (double? y in (dynamic)x2)
i++;
foreach (decimal? y in (dynamic)x2)
i++;
// short to int, long, float, double, decimal
foreach (int? y in (dynamic)x3)
i++;
foreach (long? y in (dynamic)x3)
i++;
foreach (float? y in (dynamic)x3)
i++;
foreach (double? y in (dynamic)x3)
i++;
foreach (decimal? y in (dynamic)x3)
i++;
// ushort to int, uint, long, ulong, float, double, decimal
foreach (int? y in (dynamic)x4)
i++;
foreach (uint? y in (dynamic)x4)
i++;
foreach (long? y in (dynamic)x4)
i++;
foreach (ulong? y in (dynamic)x4)
i++;
foreach (float? y in (dynamic)x4)
i++;
foreach (double? y in (dynamic)x4)
i++;
foreach (decimal? y in (dynamic)x4)
i++;
// int to long, float, double, decimal
foreach (long? y in (dynamic)x5)
i++;
foreach (float? y in (dynamic)x5)
i++;
foreach (double? y in (dynamic)x5)
i++;
foreach (decimal? y in (dynamic)x5)
i++;
// uint to long, ulong, float, double, decimal
foreach (long? y in (dynamic)x6)
i++;
foreach (ulong? y in (dynamic)x6)
i++;
foreach (float? y in (dynamic)x6)
i++;
foreach (double? y in (dynamic)x6)
i++;
foreach (decimal? y in (dynamic)x6)
i++;
// long to float, double, decimal
foreach (float? y in (dynamic)x7)
i++;
foreach (double? y in (dynamic)x7)
i++;
foreach (decimal? y in (dynamic)x7)
i++;
// ulong to float, double, decimal
foreach (float? y in (dynamic)x8)
i++;
foreach (double? y in (dynamic)x8)
i++;
foreach (decimal? y in (dynamic)x8)
i++;
// char to ushort, int, uint, long, ulong, float, double, decimal
foreach (ushort? y in (dynamic)x9)
i++;
foreach (int? y in (dynamic)x9)
i++;
foreach (uint? y in (dynamic)x9)
i++;
foreach (long? y in (dynamic)x9)
i++;
foreach (ulong? y in (dynamic)x9)
i++;
foreach (float? y in (dynamic)x9)
i++;
foreach (double? y in (dynamic)x9)
i++;
foreach (decimal? y in (dynamic)x9)
i++;
// float to double
foreach (double y in (dynamic)x10)
i++;
// EXPLICIT NUMERIC CONVERSIONS
// sbyte to byte, ushort, uint, ulong char
foreach (byte? y in (dynamic)x1)
i++;
foreach (ushort? y in (dynamic)x1)
i++;
foreach (uint? y in (dynamic)x1)
i++;
foreach (ulong? y in (dynamic)x1)
i++;
foreach (char? y in (dynamic)x1)
i++;
// byte to sbyte, char
foreach (sbyte? y in (dynamic)x2)
i++;
foreach (char? y in (dynamic)x2)
i++;
// short to sbyte, byte, ushort, uint, ulong, char
foreach (sbyte? y in (dynamic)x3)
i++;
foreach (byte? y in (dynamic)x3)
i++;
foreach (ushort? y in (dynamic)x3)
i++;
foreach (uint? y in (dynamic)x3)
i++;
foreach (ulong? y in (dynamic)x3)
i++;
foreach (char? y in (dynamic)x3)
i++;
// ushort to sbyte, byte, short, char
foreach (sbyte? y in (dynamic)x4)
i++;
foreach (byte? y in (dynamic)x4)
i++;
foreach (short? y in (dynamic)x4)
i++;
foreach (char? y in (dynamic)x4)
i++;
// int to sbyte, byte, short, ushort, uint, ulong, char
foreach (sbyte? y in (dynamic)x5)
i++;
foreach (byte? y in (dynamic)x5)
i++;
foreach (short? y in (dynamic)x5)
i++;
foreach (ushort? y in (dynamic)x5)
i++;
foreach (uint? y in (dynamic)x5)
i++;
foreach (ulong? y in (dynamic)x5)
i++;
foreach (char? y in (dynamic)x5)
i++;
// uint to sbyte, byte, short, ushort, int, char
foreach (sbyte? y in (dynamic)x6)
i++;
foreach (byte? y in (dynamic)x6)
i++;
foreach (short? y in (dynamic)x6)
i++;
foreach (ushort? y in (dynamic)x6)
i++;
foreach (int? y in (dynamic)x6)
i++;
foreach (char? y in (dynamic)x6)
i++;
// long to sbyte, byte, short, ushort, int, uint, ulong, char
foreach (sbyte? y in (dynamic)x7)
i++;
foreach (byte? y in (dynamic)x7)
i++;
foreach (short? y in (dynamic)x7)
i++;
foreach (ushort? y in (dynamic)x7)
i++;
foreach (int? y in (dynamic)x7)
i++;
foreach (uint? y in (dynamic)x7)
i++;
foreach (ulong? y in (dynamic)x7)
i++;
foreach (char? y in (dynamic)x7)
i++;
// ulong to sbyte, byte, short, ushort, int, uint, ulong, char
foreach (sbyte? y in (dynamic)x8)
i++;
foreach (byte? y in (dynamic)x8)
i++;
foreach (short? y in (dynamic)x8)
i++;
foreach (ushort? y in (dynamic)x8)
i++;
foreach (int? y in (dynamic)x8)
i++;
foreach (uint? y in (dynamic)x8)
i++;
foreach (ulong? y in (dynamic)x8)
i++;
foreach (char? y in (dynamic)x8)
i++;
// char to sbyte, byte, short
foreach (sbyte? y in (dynamic)x9)
i++;
foreach (byte? y in (dynamic)x9)
i++;
foreach (short? y in (dynamic)x9)
i++;
// float to sybte, byte, short, ushort, int, uint, long, ulong, char, decimal
foreach (sbyte? y in (dynamic)x10)
i++;
foreach (byte? y in (dynamic)x10)
i++;
foreach (short? y in (dynamic)x10)
i++;
foreach (ushort? y in (dynamic)x10)
i++;
foreach (int? y in (dynamic)x10)
i++;
foreach (uint? y in (dynamic)x10)
i++;
foreach (long? y in (dynamic)x10)
i++;
foreach (ulong? y in (dynamic)x10)
i++;
foreach (char? y in (dynamic)x10)
i++;
foreach (decimal? y in (dynamic)x10)
i++;
// double to sbyte, short, ushort, int, uint, long, ulong, char, float, decimal
foreach (sbyte? y in (dynamic)x11)
i++;
foreach (short? y in (dynamic)x11)
i++;
foreach (ushort? y in (dynamic)x11)
i++;
foreach (int? y in (dynamic)x11)
i++;
foreach (uint? y in (dynamic)x11)
i++;
foreach (long? y in (dynamic)x11)
i++;
foreach (ulong? y in (dynamic)x11)
i++;
foreach (char? y in (dynamic)x11)
i++;
foreach (float? y in (dynamic)x11)
i++;
foreach (decimal? y in (dynamic)x11)
i++;
// decimal to sbyte, byte, short, ushort, int, uint, long, ulong, char, float, double
foreach (sbyte? y in (dynamic)x12)
i++;
foreach (byte? y in (dynamic)x12)
i++;
foreach (short? y in (dynamic)x12)
i++;
foreach (ushort? y in (dynamic)x12)
i++;
foreach (int? y in (dynamic)x12)
i++;
foreach (uint? y in (dynamic)x12)
i++;
foreach (long? y in (dynamic)x12)
i++;
foreach (ulong? y in (dynamic)x12)
i++;
foreach (char? y in (dynamic)x12)
i++;
foreach (float? y in (dynamic)x12)
i++;
foreach (double? y in (dynamic)x12)
i++;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.statements.freach.freach008.freach008
{
// <Title> Dynamic in Foreach </Title>
// <Description>
// Conversions between elements in foreach expressions to the type of the identifier in the foreach loop
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System.Collections;
public class MyCollection : IEnumerable
{
private int[] _items;
public MyCollection()
{
_items = new int[5]
{
1, 4, 3, 2, 5
}
;
}
public IEnumerator GetEnumerator()
{
return new MyEnumerator(this);
}
public class MyEnumerator : IEnumerator
{
private int _nIndex;
private MyCollection _collection;
public MyEnumerator(MyCollection coll)
{
_collection = coll;
_nIndex = -1;
}
public bool MoveNext()
{
_nIndex++;
return (_nIndex < _collection._items.GetLength(0));
}
public void Reset()
{
_nIndex = -1;
}
public dynamic Current
{
get
{
return (_collection._items[_nIndex]);
}
}
}
}
public class Test
{
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod(null));
}
public static int MainMethod(string[] args)
{
MyCollection col = new MyCollection();
int[] expected = new int[] { 1, 4, 3, 2, 5 };
int index = 0;
foreach (int i in col)
{
if (i != expected[index])
{
return 1;
}
index++;
}
return index - expected.Length;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.statements.freach.freach009.freach009
{
// <Title> Dynamic in Foreach </Title>
// <Description>
// Conversions between elements in foreach expressions to the type of the identifier in the foreach loop
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System.Collections;
public class MyCollection : IEnumerable
{
private int[] _items;
public MyCollection()
{
_items = new int[5]
{
1, 4, 3, 2, 5
}
;
}
IEnumerator IEnumerable.GetEnumerator()
{
return new MyEnumerator(this);
}
public class MyEnumerator : IEnumerator
{
private int _nIndex;
private MyCollection _collection;
public MyEnumerator(MyCollection coll)
{
_collection = coll;
_nIndex = -1;
}
bool IEnumerator.MoveNext()
{
_nIndex++;
return (_nIndex < _collection._items.GetLength(0));
}
void IEnumerator.Reset()
{
_nIndex = -1;
}
dynamic IEnumerator.Current
{
get
{
return (_collection._items[_nIndex]);
}
}
}
}
public class Test
{
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod(null));
}
public static int MainMethod(string[] args)
{
MyCollection col = new MyCollection();
int[] expected = new int[] { 1, 4, 3, 2, 5 };
int index = 0;
foreach (int i in col)
{
if (i != expected[index])
{
return 1;
}
index++;
}
return index - expected.Length;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.statements.freach.freach010.freach010
{
// <Title> Dynamic in Foreach </Title>
// <Description>
// Conversions between elements in foreach expressions to the type of the identifier in the foreach loop
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System.Collections;
public class MyCollection : IEnumerable
{
private int[] _items;
public MyCollection()
{
_items = new int[5]
{
1, 4, 3, 2, 6
}
;
}
public MyEnumerator GetEnumerator()
{
return new MyEnumerator(this);
}
IEnumerator IEnumerable.GetEnumerator()
{
return GetEnumerator();
}
public class MyEnumerator : IEnumerator
{
private int _index;
private MyCollection _collection;
public MyEnumerator(MyCollection coll)
{
_collection = coll;
_index = -1;
}
public bool MoveNext()
{
_index++;
return (_index < _collection._items.GetLength(0));
}
public void Reset()
{
_index = -1;
}
public dynamic Current
{
get
{
return (_collection._items[_index]);
}
}
dynamic IEnumerator.Current
{
get
{
return (Current);
}
}
}
}
public class Test
{
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod());
}
public static int MainMethod()
{
MyCollection col = new MyCollection();
byte[] expected = new byte[] { 1, 4, 3, 2, 6 };
int index = 0;
foreach (byte i in col)
{
if (i != expected[index])
{
return 1;
}
index++;
}
return index - expected.Length;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.statements.freach.freach011.freach011
{
// <Title> Dynamic in Foreach </Title>
// <Description>
// Conversions between elements in foreach expressions to the type of the identifier in the foreach loop
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
public class GenC<T>
{
}
public class Test
{
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod());
}
public static int MainMethod()
{
int result = 0;
int flag = 1;
flag = 1;
dynamic darr = new string[2]
{
"aa", "bb"
}
;
try
{
foreach (int v in darr)
{
}
}
catch (Microsoft.CSharp.RuntimeBinder.RuntimeBinderException ex)
{
if (ErrorVerifier.Verify(ErrorMessageId.NoExplicitConv, ex.Message, "string", "int"))
{
flag = 0;
}
}
result += flag;
flag = 1;
dynamic darr2 = new string[2];
try
{
foreach (int v in darr2)
{
}
}
catch (Microsoft.CSharp.RuntimeBinder.RuntimeBinderException ex)
{
if (ErrorVerifier.Verify(ErrorMessageId.ValueCantBeNull, ex.Message, "int"))
{
flag = 0;
}
}
result += flag;
flag = 0;
dynamic darr3 = new GenC<string>[2];
foreach (GenC<int> v in darr3)
{
if (v != null)
flag++;
}
result += flag;
return result;
}
}
// </Code>
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Xunit;
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.statements.freach.freach001.freach001
{
// <Title> Dynamic in Foreach </Title>
// <Description>
// Conversions between elements in foreach expressions to the type of the identifier in the foreach loop
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
public class Test
{
// Implicit and Explicit Numeric Conversions. Test will throw a runtime exception if it fails.
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod());
}
public static int MainMethod()
{
int i = 0;
sbyte[] x1 = new sbyte[]
{
1, 2, 3
}
;
byte[] x2 = new byte[]
{
1, 2, 3
}
;
short[] x3 = new short[]
{
1, 2, 3
}
;
ushort[] x4 = new ushort[]
{
1, 2, 3
}
;
int[] x5 = new int[]
{
1, 2, 3
}
;
uint[] x6 = new uint[]
{
1, 2, 3
}
;
long[] x7 = new long[]
{
1, 2, 3
}
;
ulong[] x8 = new ulong[]
{
1, 2, 3
}
;
char[] x9 = new char[]
{
'1', '2', '3'
}
;
float[] x10 = new float[]
{
1.1f, 2.2f, 3.3f
}
;
double[] x11 = new double[]
{
1.1, 2.2, 3.35
}
;
decimal[] x12 = new decimal[]
{
1.1m, 22.2m, 33.3m
}
;
// IMPLICIT NUMERIC CONVERSIONS
// sybte to short, int, long, float, double, decimal
foreach (short y in (dynamic)x1)
i++;
foreach (int y in (dynamic)x1)
i++;
foreach (long y in (dynamic)x1)
i++;
foreach (float y in (dynamic)x1)
i++;
foreach (double y in (dynamic)x1)
i++;
foreach (decimal y in (dynamic)x1)
i++;
// byte to short, ushort, int, uint, long, ulong, float, double, decimal
foreach (short y in (dynamic)x2)
i++;
foreach (ushort y in (dynamic)x2)
i++;
foreach (int y in (dynamic)x2)
i++;
foreach (uint y in (dynamic)x2)
i++;
foreach (long y in (dynamic)x2)
i++;
foreach (ulong y in (dynamic)x2)
i++;
foreach (float y in (dynamic)x2)
i++;
foreach (double y in (dynamic)x2)
i++;
foreach (decimal y in (dynamic)x2)
i++;
// short to int, long, float, double, decimal
foreach (int y in (dynamic)x3)
i++;
foreach (long y in (dynamic)x3)
i++;
foreach (float y in (dynamic)x3)
i++;
foreach (double y in (dynamic)x3)
i++;
foreach (decimal y in (dynamic)x3)
i++;
// ushort to int, uint, long, ulong, float, double, decimal
foreach (int y in (dynamic)x4)
i++;
foreach (uint y in (dynamic)x4)
i++;
foreach (long y in (dynamic)x4)
i++;
foreach (ulong y in (dynamic)x4)
i++;
foreach (float y in (dynamic)x4)
i++;
foreach (double y in (dynamic)x4)
i++;
foreach (decimal y in (dynamic)x4)
i++;
// int to long, float, double, decimal
foreach (long y in (dynamic)x5)
i++;
foreach (float y in (dynamic)x5)
i++;
foreach (double y in (dynamic)x5)
i++;
foreach (decimal y in (dynamic)x5)
i++;
// uint to long, ulong, float, double, decimal
foreach (long y in (dynamic)x6)
i++;
foreach (ulong y in (dynamic)x6)
i++;
foreach (float y in (dynamic)x6)
i++;
foreach (double y in (dynamic)x6)
i++;
foreach (decimal y in (dynamic)x6)
i++;
// long to float, double, decimal
foreach (float y in (dynamic)x7)
i++;
foreach (double y in (dynamic)x7)
i++;
foreach (decimal y in (dynamic)x7)
i++;
// ulong to float, double, decimal
foreach (float y in (dynamic)x8)
i++;
foreach (double y in (dynamic)x8)
i++;
foreach (decimal y in (dynamic)x8)
i++;
// char to ushort, int, uint, long, ulong, float, double, decimal
foreach (ushort y in (dynamic)x9)
i++;
foreach (int y in (dynamic)x9)
i++;
foreach (uint y in (dynamic)x9)
i++;
foreach (long y in (dynamic)x9)
i++;
foreach (ulong y in (dynamic)x9)
i++;
foreach (float y in (dynamic)x9)
i++;
foreach (double y in (dynamic)x9)
i++;
foreach (decimal y in (dynamic)x9)
i++;
// float to double
foreach (double y in (dynamic)x10)
i++;
// EXPLICIT NUMERIC CONVERSIONS
// sbyte to byte, ushort, uint, ulong char
foreach (byte y in (dynamic)x1)
i++;
foreach (ushort y in (dynamic)x1)
i++;
foreach (uint y in (dynamic)x1)
i++;
foreach (ulong y in (dynamic)x1)
i++;
foreach (char y in (dynamic)x1)
i++;
// byte to sbyte, char
foreach (sbyte y in (dynamic)x2)
i++;
foreach (char y in (dynamic)x2)
i++;
// short to sbyte, byte, ushort, uint, ulong, char
foreach (sbyte y in (dynamic)x3)
i++;
foreach (byte y in (dynamic)x3)
i++;
foreach (ushort y in (dynamic)x3)
i++;
foreach (uint y in (dynamic)x3)
i++;
foreach (ulong y in (dynamic)x3)
i++;
foreach (char y in (dynamic)x3)
i++;
// ushort to sbyte, byte, short, char
foreach (sbyte y in (dynamic)x4)
i++;
foreach (byte y in (dynamic)x4)
i++;
foreach (short y in (dynamic)x4)
i++;
foreach (char y in (dynamic)x4)
i++;
// int to sbyte, byte, short, ushort, uint, ulong, char
foreach (sbyte y in (dynamic)x5)
i++;
foreach (byte y in (dynamic)x5)
i++;
foreach (short y in (dynamic)x5)
i++;
foreach (ushort y in (dynamic)x5)
i++;
foreach (uint y in (dynamic)x5)
i++;
foreach (ulong y in (dynamic)x5)
i++;
foreach (char y in (dynamic)x5)
i++;
// uint to sbyte, byte, short, ushort, int, char
foreach (sbyte y in (dynamic)x6)
i++;
foreach (byte y in (dynamic)x6)
i++;
foreach (short y in (dynamic)x6)
i++;
foreach (ushort y in (dynamic)x6)
i++;
foreach (int y in (dynamic)x6)
i++;
foreach (char y in (dynamic)x6)
i++;
// long to sbyte, byte, short, ushort, int, uint, ulong, char
foreach (sbyte y in (dynamic)x7)
i++;
foreach (byte y in (dynamic)x7)
i++;
foreach (short y in (dynamic)x7)
i++;
foreach (ushort y in (dynamic)x7)
i++;
foreach (int y in (dynamic)x7)
i++;
foreach (uint y in (dynamic)x7)
i++;
foreach (ulong y in (dynamic)x7)
i++;
foreach (char y in (dynamic)x7)
i++;
// ulong to sbyte, byte, short, ushort, int, uint, ulong, char
foreach (sbyte y in (dynamic)x8)
i++;
foreach (byte y in (dynamic)x8)
i++;
foreach (short y in (dynamic)x8)
i++;
foreach (ushort y in (dynamic)x8)
i++;
foreach (int y in (dynamic)x8)
i++;
foreach (uint y in (dynamic)x8)
i++;
foreach (ulong y in (dynamic)x8)
i++;
foreach (char y in (dynamic)x8)
i++;
// char to sbyte, byte, short
foreach (sbyte y in (dynamic)x9)
i++;
foreach (byte y in (dynamic)x9)
i++;
foreach (short y in (dynamic)x9)
i++;
// float to sybte, byte, short, ushort, int, uint, long, ulong, char, decimal
foreach (sbyte y in (dynamic)x10)
i++;
foreach (byte y in (dynamic)x10)
i++;
foreach (short y in (dynamic)x10)
i++;
foreach (ushort y in (dynamic)x10)
i++;
foreach (int y in (dynamic)x10)
i++;
foreach (uint y in (dynamic)x10)
i++;
foreach (long y in (dynamic)x10)
i++;
foreach (ulong y in (dynamic)x10)
i++;
foreach (char y in (dynamic)x10)
i++;
foreach (decimal y in (dynamic)x10)
i++;
// double to sbyte, short, ushort, int, uint, long, ulong, char, float, decimal
foreach (sbyte y in (dynamic)x11)
i++;
foreach (short y in (dynamic)x11)
i++;
foreach (ushort y in (dynamic)x11)
i++;
foreach (int y in (dynamic)x11)
i++;
foreach (uint y in (dynamic)x11)
i++;
foreach (long y in (dynamic)x11)
i++;
foreach (ulong y in (dynamic)x11)
i++;
foreach (char y in (dynamic)x11)
i++;
foreach (float y in (dynamic)x11)
i++;
foreach (decimal y in (dynamic)x11)
i++;
// decimal to sbyte, byte, short, ushort, int, uint, long, ulong, char, float, double
foreach (sbyte y in (dynamic)x12)
i++;
foreach (byte y in (dynamic)x12)
i++;
foreach (short y in (dynamic)x12)
i++;
foreach (ushort y in (dynamic)x12)
i++;
foreach (int y in (dynamic)x12)
i++;
foreach (uint y in (dynamic)x12)
i++;
foreach (long y in (dynamic)x12)
i++;
foreach (ulong y in (dynamic)x12)
i++;
foreach (char y in (dynamic)x12)
i++;
foreach (float y in (dynamic)x12)
i++;
foreach (double y in (dynamic)x12)
i++;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.statements.freach.freach002.freach002
{
// <Title> Dynamic in Foreach </Title>
// <Description>
// Conversions between elements in foreach expressions to the type of the identifier in the foreach loop
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
public class A
{
}
public class B : A
{
}
public interface I1
{
}
public interface I2 : I1
{
}
public class CI1 : I1
{
}
public class CI2 : I2
{
}
public class Test
{
// Implicit and Explicit Reference Conversions. Test will throw a runtime exception if it fails.
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod());
}
public static int MainMethod()
{
int i = 0;
// IMPLICIT REFERENCE CONVERSIONS
// Reference type to object
Test[] x1 = new Test[]
{
new Test(), new Test()}
;
foreach (object y in (dynamic)x1)
i++;
// Class-Type S to Class-Type T, S is derived from T
B[] x2 = new B[]
{
new B(), new B()}
;
foreach (A y in (dynamic)x2)
i++;
// Class-Type S to Interface-Type T, S implements T
CI1[] x3 = new CI1[]
{
new CI1(), new CI1()}
;
foreach (I1 y in (dynamic)x3)
i++;
// Interface-Type S to Interface-Type T, S is derived from T
I2[] x4 = new I2[]
{
new CI2(), new CI2()}
;
foreach (I1 y in (dynamic)x4)
i++;
// From array-type to System.Array
int[][] x5 = new int[][]
{
new int[]
{
1, 2, 3
}
, new int[]
{
4, 5, 6
}
}
;
foreach (System.Array y in (dynamic)x5)
i++;
// EXPLICIT REFERENCE CONVERSIONS
// object to reference-type
object[] xr1 = new object[]
{
new Test(), new Test()}
;
foreach (Test y in (dynamic)xr1)
i++;
// Class-Type S to Class-Type T, S is base class from T
A[] xr2 = new A[]
{
new B(), new B()}
;
foreach (B y in (dynamic)xr2)
i++;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.statements.freach.freach003.freach003
{
// <Title> Dynamic in Foreach </Title>
// <Description>
// Conversions between elements in foreach expressions to the type of the identifier in the foreach loop
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
public struct S
{
}
public class Test
{
// Boxing and Unboxing Conversions. Test will throw a runtime exception if it fails.
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod());
}
public static int MainMethod()
{
int i = 0;
// Boxing Conversions
int[] x1 = new int[]
{
1, 2, 3
}
;
S[] x2 = new S[]
{
new S(), new S()}
;
decimal[] x3 = new decimal[]
{
1m, 2m, 3m
}
;
int?[] x4 = new int?[]
{
1, 2, 3
}
;
uint?[] x5 = new uint?[]
{
1, 2, 3
}
;
decimal?[] x6 = new decimal?[]
{
1m, 2m, 3m
}
;
// Boxing to object
foreach (object y in (dynamic)x1)
i++;
foreach (object y in (dynamic)x2)
i++;
foreach (object y in (dynamic)x3)
i++;
foreach (object y in (dynamic)x4)
i++;
foreach (object y in (dynamic)x5)
i++;
foreach (object y in (dynamic)x6)
i++;
// Boxing to System.ValueType
foreach (System.ValueType y in (dynamic)x1)
i++;
foreach (System.ValueType y in (dynamic)x2)
i++;
foreach (System.ValueType y in (dynamic)x3)
i++;
foreach (System.ValueType y in (dynamic)x4)
i++;
foreach (System.ValueType y in (dynamic)x5)
i++;
foreach (System.ValueType y in (dynamic)x6)
i++;
// Unboxing Conversions
object[] xo1 = new object[]
{
1, 2, 3
}
;
object[] xo2 = new object[]
{
new S(), new S()}
;
object[] xo3 = new object[]
{
1m, 2m, 3m
}
;
object[] xo4 = new object[]
{
(int ? )1, (int ? )2, (int ? )3
}
;
object[] xo5 = new object[]
{
(uint ? )1, (uint ? )2, (uint ? )3
}
;
object[] xo6 = new object[]
{
(decimal ? )1m, (decimal ? )2m, (decimal ? )3m
}
;
// Unboxing from object
foreach (object y in (dynamic)xo1)
i++;
foreach (object y in (dynamic)xo2)
i++;
foreach (object y in (dynamic)xo3)
i++;
foreach (object y in (dynamic)xo4)
i++;
foreach (object y in (dynamic)xo5)
i++;
foreach (object y in (dynamic)xo6)
i++;
// Unboxing Conversions
System.ValueType[] xv1 = new System.ValueType[]
{
1, 2, 3
}
;
System.ValueType[] xv2 = new System.ValueType[]
{
new S(), new S()}
;
System.ValueType[] xv3 = new System.ValueType[]
{
1m, 2m, 3m
}
;
System.ValueType[] xv4 = new System.ValueType[]
{
(int ? )1, (int ? )2, (int ? )3
}
;
System.ValueType[] xv5 = new System.ValueType[]
{
(uint ? )1, (uint ? )2, (uint ? )3
}
;
System.ValueType[] xv6 = new System.ValueType[]
{
(decimal ? )1m, (decimal ? )2m, (decimal ? )3m
}
;
// Unboxing from System.ValueType
foreach (System.ValueType y in (dynamic)xv1)
i++;
foreach (System.ValueType y in (dynamic)xv2)
i++;
foreach (System.ValueType y in (dynamic)xv3)
i++;
foreach (System.ValueType y in (dynamic)xv4)
i++;
foreach (System.ValueType y in (dynamic)xv5)
i++;
foreach (System.ValueType y in (dynamic)xv6)
i++;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.statements.freach.freach004.freach004
{
// <Title> Dynamic in Foreach </Title>
// <Description>
// Conversions between elements in foreach expressions to the type of the identifier in the foreach loop
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
public enum Color
{
Red,
Blue,
Green
}
public enum Cars
{
Toyota,
Lexus,
BMW
}
public class Test
{
// Explicit Enum Conversions. Test will throw a runtime exception if it fails.
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod());
}
public static int MainMethod()
{
int i = 0;
sbyte[] x1 = new sbyte[]
{
1, 2, 3
}
;
byte[] x2 = new byte[]
{
1, 2, 3
}
;
short[] x3 = new short[]
{
1, 2, 3
}
;
ushort[] x4 = new ushort[]
{
1, 2, 3
}
;
int[] x5 = new int[]
{
1, 2, 3
}
;
uint[] x6 = new uint[]
{
1, 2, 3
}
;
long[] x7 = new long[]
{
1, 2, 3
}
;
ulong[] x8 = new ulong[]
{
1, 2, 3
}
;
char[] x9 = new char[]
{
'1', '2', '3'
}
;
float[] x10 = new float[]
{
1.1f, 2.2f, 3.3f
}
;
double[] x11 = new double[]
{
1.1, 2.2, 3.35
}
;
decimal[] x12 = new decimal[]
{
1.1m, 22.2m, 33.3m
}
;
Color[] x13 = new Color[]
{
Color.Red, Color.Green
}
;
Cars[] x14 = new Cars[]
{
Cars.Toyota, Cars.BMW
}
;
// From sybte, byte, short, ushort, int, uint, long, ulong, char, float, double, decimal to enum-type
foreach (Color y in (dynamic)x1)
i++;
foreach (Color y in (dynamic)x2)
i++;
foreach (Color y in (dynamic)x3)
i++;
foreach (Color y in (dynamic)x4)
i++;
foreach (Color y in (dynamic)x5)
i++;
foreach (Color y in (dynamic)x6)
i++;
foreach (Color y in (dynamic)x7)
i++;
foreach (Color y in (dynamic)x8)
i++;
foreach (Color y in (dynamic)x9)
i++;
foreach (Color y in (dynamic)x10)
i++;
foreach (Color y in (dynamic)x11)
i++;
foreach (Color y in (dynamic)x12)
i++;
// From enum type to sybte, byte, short, ushort, int, uint, long, ulong, char, float, double, decimal
foreach (sbyte y in (dynamic)x13)
i++;
foreach (byte y in (dynamic)x13)
i++;
foreach (short y in (dynamic)x13)
i++;
foreach (ushort y in (dynamic)x13)
i++;
foreach (int y in (dynamic)x13)
i++;
foreach (uint y in (dynamic)x13)
i++;
foreach (long y in (dynamic)x13)
i++;
foreach (ulong y in (dynamic)x13)
i++;
foreach (char y in (dynamic)x13)
i++;
foreach (float y in (dynamic)x13)
i++;
foreach (double y in (dynamic)x13)
i++;
foreach (decimal y in (dynamic)x13)
i++;
// From one enum type to another enum type
foreach (Color y in (dynamic)x14)
i++;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.statements.freach.freach005.freach005
{
// <Title> Dynamic in Foreach </Title>
// <Description>
// Conversions between elements in foreach expressions to the type of the identifier in the foreach loop
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
public class Test
{
public static implicit operator int (Test t)
{
return 5;
}
public static explicit operator decimal (Test t)
{
return 10m;
}
// Explicit/Implicit User-defined Conversions. Test will throw a runtime exception if it fails.
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod());
}
public static int MainMethod()
{
int i = 0;
Test[] x1 = new Test[]
{
new Test(), new Test()}
;
// User-defined Implicit conversions
foreach (int y in (dynamic)x1)
i++;
foreach (long y in (dynamic)x1)
i++;
// User-defined Explicit conversions
foreach (decimal y in (dynamic)x1)
i++;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.statements.freach.freach006.freach006
{
// <Title> Dynamic in Foreach </Title>
// <Description>
// Conversions between elements in foreach expressions to the type of the identifier in the foreach loop
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
public class Test
{
// Nested foreach statements. Test will throw runtime exception if it fails.
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod());
}
public static int MainMethod()
{
int i = 0;
int[][] v1 = new int[][]
{
new int[]
{
4, 5
}
, new int[]
{
1, 2, 3
}
}
;
// Nested foreach statements
foreach (dynamic y in (dynamic)v1)
{
i++;
foreach (long z in y)
i++;
}
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.statements.freach.freach007.freach007
{
// <Title> Dynamic in Foreach </Title>
// <Description>
// Conversions between elements in foreach expressions to the type of the identifier in the foreach loop
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
public class Test
{
// Implicit and Explicit Nullable Numeric Conversions. Test will throw a runtime exception if it fails.
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod());
}
public static int MainMethod()
{
int i = 0;
sbyte?[] x1 = new sbyte?[]
{
1, 2, 3
}
;
byte?[] x2 = new byte?[]
{
1, 2, 3
}
;
short?[] x3 = new short?[]
{
1, 2, 3
}
;
ushort?[] x4 = new ushort?[]
{
1, 2, 3
}
;
int?[] x5 = new int?[]
{
1, 2, 3
}
;
uint?[] x6 = new uint?[]
{
1, 2, 3
}
;
long?[] x7 = new long?[]
{
1, 2, 3
}
;
ulong?[] x8 = new ulong?[]
{
1, 2, 3
}
;
char?[] x9 = new char?[]
{
'1', '2', '3'
}
;
float?[] x10 = new float?[]
{
1.1f, 2.2f, 3.3f
}
;
double?[] x11 = new double?[]
{
1.1, 2.2, 3.35
}
;
decimal?[] x12 = new decimal?[]
{
1.1m, 22.2m, 33.3m
}
;
// IMPLICIT NUMERIC CONVERSIONS
// sybte to short, int, long, float, double, decimal
foreach (short? y in (dynamic)x1)
i++;
foreach (int? y in (dynamic)x1)
i++;
foreach (long? y in (dynamic)x1)
i++;
foreach (float? y in (dynamic)x1)
i++;
foreach (double? y in (dynamic)x1)
i++;
foreach (decimal? y in (dynamic)x1)
i++;
// byte to short, ushort, int, uint, long, ulong, float, double, decimal
foreach (short? y in (dynamic)x2)
i++;
foreach (ushort? y in (dynamic)x2)
i++;
foreach (int? y in (dynamic)x2)
i++;
foreach (uint? y in (dynamic)x2)
i++;
foreach (long? y in (dynamic)x2)
i++;
foreach (ulong? y in (dynamic)x2)
i++;
foreach (float? y in (dynamic)x2)
i++;
foreach (double? y in (dynamic)x2)
i++;
foreach (decimal? y in (dynamic)x2)
i++;
// short to int, long, float, double, decimal
foreach (int? y in (dynamic)x3)
i++;
foreach (long? y in (dynamic)x3)
i++;
foreach (float? y in (dynamic)x3)
i++;
foreach (double? y in (dynamic)x3)
i++;
foreach (decimal? y in (dynamic)x3)
i++;
// ushort to int, uint, long, ulong, float, double, decimal
foreach (int? y in (dynamic)x4)
i++;
foreach (uint? y in (dynamic)x4)
i++;
foreach (long? y in (dynamic)x4)
i++;
foreach (ulong? y in (dynamic)x4)
i++;
foreach (float? y in (dynamic)x4)
i++;
foreach (double? y in (dynamic)x4)
i++;
foreach (decimal? y in (dynamic)x4)
i++;
// int to long, float, double, decimal
foreach (long? y in (dynamic)x5)
i++;
foreach (float? y in (dynamic)x5)
i++;
foreach (double? y in (dynamic)x5)
i++;
foreach (decimal? y in (dynamic)x5)
i++;
// uint to long, ulong, float, double, decimal
foreach (long? y in (dynamic)x6)
i++;
foreach (ulong? y in (dynamic)x6)
i++;
foreach (float? y in (dynamic)x6)
i++;
foreach (double? y in (dynamic)x6)
i++;
foreach (decimal? y in (dynamic)x6)
i++;
// long to float, double, decimal
foreach (float? y in (dynamic)x7)
i++;
foreach (double? y in (dynamic)x7)
i++;
foreach (decimal? y in (dynamic)x7)
i++;
// ulong to float, double, decimal
foreach (float? y in (dynamic)x8)
i++;
foreach (double? y in (dynamic)x8)
i++;
foreach (decimal? y in (dynamic)x8)
i++;
// char to ushort, int, uint, long, ulong, float, double, decimal
foreach (ushort? y in (dynamic)x9)
i++;
foreach (int? y in (dynamic)x9)
i++;
foreach (uint? y in (dynamic)x9)
i++;
foreach (long? y in (dynamic)x9)
i++;
foreach (ulong? y in (dynamic)x9)
i++;
foreach (float? y in (dynamic)x9)
i++;
foreach (double? y in (dynamic)x9)
i++;
foreach (decimal? y in (dynamic)x9)
i++;
// float to double
foreach (double y in (dynamic)x10)
i++;
// EXPLICIT NUMERIC CONVERSIONS
// sbyte to byte, ushort, uint, ulong char
foreach (byte? y in (dynamic)x1)
i++;
foreach (ushort? y in (dynamic)x1)
i++;
foreach (uint? y in (dynamic)x1)
i++;
foreach (ulong? y in (dynamic)x1)
i++;
foreach (char? y in (dynamic)x1)
i++;
// byte to sbyte, char
foreach (sbyte? y in (dynamic)x2)
i++;
foreach (char? y in (dynamic)x2)
i++;
// short to sbyte, byte, ushort, uint, ulong, char
foreach (sbyte? y in (dynamic)x3)
i++;
foreach (byte? y in (dynamic)x3)
i++;
foreach (ushort? y in (dynamic)x3)
i++;
foreach (uint? y in (dynamic)x3)
i++;
foreach (ulong? y in (dynamic)x3)
i++;
foreach (char? y in (dynamic)x3)
i++;
// ushort to sbyte, byte, short, char
foreach (sbyte? y in (dynamic)x4)
i++;
foreach (byte? y in (dynamic)x4)
i++;
foreach (short? y in (dynamic)x4)
i++;
foreach (char? y in (dynamic)x4)
i++;
// int to sbyte, byte, short, ushort, uint, ulong, char
foreach (sbyte? y in (dynamic)x5)
i++;
foreach (byte? y in (dynamic)x5)
i++;
foreach (short? y in (dynamic)x5)
i++;
foreach (ushort? y in (dynamic)x5)
i++;
foreach (uint? y in (dynamic)x5)
i++;
foreach (ulong? y in (dynamic)x5)
i++;
foreach (char? y in (dynamic)x5)
i++;
// uint to sbyte, byte, short, ushort, int, char
foreach (sbyte? y in (dynamic)x6)
i++;
foreach (byte? y in (dynamic)x6)
i++;
foreach (short? y in (dynamic)x6)
i++;
foreach (ushort? y in (dynamic)x6)
i++;
foreach (int? y in (dynamic)x6)
i++;
foreach (char? y in (dynamic)x6)
i++;
// long to sbyte, byte, short, ushort, int, uint, ulong, char
foreach (sbyte? y in (dynamic)x7)
i++;
foreach (byte? y in (dynamic)x7)
i++;
foreach (short? y in (dynamic)x7)
i++;
foreach (ushort? y in (dynamic)x7)
i++;
foreach (int? y in (dynamic)x7)
i++;
foreach (uint? y in (dynamic)x7)
i++;
foreach (ulong? y in (dynamic)x7)
i++;
foreach (char? y in (dynamic)x7)
i++;
// ulong to sbyte, byte, short, ushort, int, uint, ulong, char
foreach (sbyte? y in (dynamic)x8)
i++;
foreach (byte? y in (dynamic)x8)
i++;
foreach (short? y in (dynamic)x8)
i++;
foreach (ushort? y in (dynamic)x8)
i++;
foreach (int? y in (dynamic)x8)
i++;
foreach (uint? y in (dynamic)x8)
i++;
foreach (ulong? y in (dynamic)x8)
i++;
foreach (char? y in (dynamic)x8)
i++;
// char to sbyte, byte, short
foreach (sbyte? y in (dynamic)x9)
i++;
foreach (byte? y in (dynamic)x9)
i++;
foreach (short? y in (dynamic)x9)
i++;
// float to sybte, byte, short, ushort, int, uint, long, ulong, char, decimal
foreach (sbyte? y in (dynamic)x10)
i++;
foreach (byte? y in (dynamic)x10)
i++;
foreach (short? y in (dynamic)x10)
i++;
foreach (ushort? y in (dynamic)x10)
i++;
foreach (int? y in (dynamic)x10)
i++;
foreach (uint? y in (dynamic)x10)
i++;
foreach (long? y in (dynamic)x10)
i++;
foreach (ulong? y in (dynamic)x10)
i++;
foreach (char? y in (dynamic)x10)
i++;
foreach (decimal? y in (dynamic)x10)
i++;
// double to sbyte, short, ushort, int, uint, long, ulong, char, float, decimal
foreach (sbyte? y in (dynamic)x11)
i++;
foreach (short? y in (dynamic)x11)
i++;
foreach (ushort? y in (dynamic)x11)
i++;
foreach (int? y in (dynamic)x11)
i++;
foreach (uint? y in (dynamic)x11)
i++;
foreach (long? y in (dynamic)x11)
i++;
foreach (ulong? y in (dynamic)x11)
i++;
foreach (char? y in (dynamic)x11)
i++;
foreach (float? y in (dynamic)x11)
i++;
foreach (decimal? y in (dynamic)x11)
i++;
// decimal to sbyte, byte, short, ushort, int, uint, long, ulong, char, float, double
foreach (sbyte? y in (dynamic)x12)
i++;
foreach (byte? y in (dynamic)x12)
i++;
foreach (short? y in (dynamic)x12)
i++;
foreach (ushort? y in (dynamic)x12)
i++;
foreach (int? y in (dynamic)x12)
i++;
foreach (uint? y in (dynamic)x12)
i++;
foreach (long? y in (dynamic)x12)
i++;
foreach (ulong? y in (dynamic)x12)
i++;
foreach (char? y in (dynamic)x12)
i++;
foreach (float? y in (dynamic)x12)
i++;
foreach (double? y in (dynamic)x12)
i++;
return 0;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.statements.freach.freach008.freach008
{
// <Title> Dynamic in Foreach </Title>
// <Description>
// Conversions between elements in foreach expressions to the type of the identifier in the foreach loop
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System.Collections;
public class MyCollection : IEnumerable
{
private int[] _items;
public MyCollection()
{
_items = new int[5]
{
1, 4, 3, 2, 5
}
;
}
public IEnumerator GetEnumerator()
{
return new MyEnumerator(this);
}
public class MyEnumerator : IEnumerator
{
private int _nIndex;
private MyCollection _collection;
public MyEnumerator(MyCollection coll)
{
_collection = coll;
_nIndex = -1;
}
public bool MoveNext()
{
_nIndex++;
return (_nIndex < _collection._items.GetLength(0));
}
public void Reset()
{
_nIndex = -1;
}
public dynamic Current
{
get
{
return (_collection._items[_nIndex]);
}
}
}
}
public class Test
{
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod(null));
}
public static int MainMethod(string[] args)
{
MyCollection col = new MyCollection();
int[] expected = new int[] { 1, 4, 3, 2, 5 };
int index = 0;
foreach (int i in col)
{
if (i != expected[index])
{
return 1;
}
index++;
}
return index - expected.Length;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.statements.freach.freach009.freach009
{
// <Title> Dynamic in Foreach </Title>
// <Description>
// Conversions between elements in foreach expressions to the type of the identifier in the foreach loop
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System.Collections;
public class MyCollection : IEnumerable
{
private int[] _items;
public MyCollection()
{
_items = new int[5]
{
1, 4, 3, 2, 5
}
;
}
IEnumerator IEnumerable.GetEnumerator()
{
return new MyEnumerator(this);
}
public class MyEnumerator : IEnumerator
{
private int _nIndex;
private MyCollection _collection;
public MyEnumerator(MyCollection coll)
{
_collection = coll;
_nIndex = -1;
}
bool IEnumerator.MoveNext()
{
_nIndex++;
return (_nIndex < _collection._items.GetLength(0));
}
void IEnumerator.Reset()
{
_nIndex = -1;
}
dynamic IEnumerator.Current
{
get
{
return (_collection._items[_nIndex]);
}
}
}
}
public class Test
{
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod(null));
}
public static int MainMethod(string[] args)
{
MyCollection col = new MyCollection();
int[] expected = new int[] { 1, 4, 3, 2, 5 };
int index = 0;
foreach (int i in col)
{
if (i != expected[index])
{
return 1;
}
index++;
}
return index - expected.Length;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.statements.freach.freach010.freach010
{
// <Title> Dynamic in Foreach </Title>
// <Description>
// Conversions between elements in foreach expressions to the type of the identifier in the foreach loop
// </Description>
// <RelatedBugs></RelatedBugs>
//<Expects Status=success></Expects>
// <Code>
using System.Collections;
public class MyCollection : IEnumerable
{
private int[] _items;
public MyCollection()
{
_items = new int[5]
{
1, 4, 3, 2, 6
}
;
}
public MyEnumerator GetEnumerator()
{
return new MyEnumerator(this);
}
IEnumerator IEnumerable.GetEnumerator()
{
return GetEnumerator();
}
public class MyEnumerator : IEnumerator
{
private int _index;
private MyCollection _collection;
public MyEnumerator(MyCollection coll)
{
_collection = coll;
_index = -1;
}
public bool MoveNext()
{
_index++;
return (_index < _collection._items.GetLength(0));
}
public void Reset()
{
_index = -1;
}
public dynamic Current
{
get
{
return (_collection._items[_index]);
}
}
dynamic IEnumerator.Current
{
get
{
return (Current);
}
}
}
}
public class Test
{
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod());
}
public static int MainMethod()
{
MyCollection col = new MyCollection();
byte[] expected = new byte[] { 1, 4, 3, 2, 6 };
int index = 0;
foreach (byte i in col)
{
if (i != expected[index])
{
return 1;
}
index++;
}
return index - expected.Length;
}
}
// </Code>
}
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.statements.freach.freach011.freach011
{
// <Title> Dynamic in Foreach </Title>
// <Description>
// Conversions between elements in foreach expressions to the type of the identifier in the foreach loop
// </Description>
// <RelatedBugs></RelatedBugs>
// <Expects Status=success></Expects>
// <Code>
public class GenC<T>
{
}
public class Test
{
[Fact]
public static void DynamicCSharpRunTest()
{
Assert.Equal(0, MainMethod());
}
public static int MainMethod()
{
int result = 0;
int flag = 1;
flag = 1;
dynamic darr = new string[2]
{
"aa", "bb"
}
;
try
{
foreach (int v in darr)
{
}
}
catch (Microsoft.CSharp.RuntimeBinder.RuntimeBinderException ex)
{
if (ErrorVerifier.Verify(ErrorMessageId.NoExplicitConv, ex.Message, "string", "int"))
{
flag = 0;
}
}
result += flag;
flag = 1;
dynamic darr2 = new string[2];
try
{
foreach (int v in darr2)
{
}
}
catch (Microsoft.CSharp.RuntimeBinder.RuntimeBinderException ex)
{
if (ErrorVerifier.Verify(ErrorMessageId.ValueCantBeNull, ex.Message, "int"))
{
flag = 0;
}
}
result += flag;
flag = 0;
dynamic darr3 = new GenC<string>[2];
foreach (GenC<int> v in darr3)
{
if (v != null)
flag++;
}
result += flag;
return result;
}
}
// </Code>
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/tests/Loader/classloader/regressions/vsw531159/repro.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
public class Gen<U>
{
public void Meth<T>(T t) where T : struct, U {}
}
public class Test_repro
{
public static int Main()
{
try
{
Gen<System.ValueType> g1 = new Gen<ValueType>();
g1.Meth(1);
Console.WriteLine("PASS");
return 100;
}
catch(Exception e)
{
Console.WriteLine("cuaght unexpected exception \n {0}", e);
return 99;
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
public class Gen<U>
{
public void Meth<T>(T t) where T : struct, U {}
}
public class Test_repro
{
public static int Main()
{
try
{
Gen<System.ValueType> g1 = new Gen<ValueType>();
g1.Meth(1);
Console.WriteLine("PASS");
return 100;
}
catch(Exception e)
{
Console.WriteLine("cuaght unexpected exception \n {0}", e);
return 99;
}
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/libraries/System.Drawing.Common/src/System/Drawing/SystemPens.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Diagnostics;
using Gdip = System.Drawing.SafeNativeMethods.Gdip;
namespace System.Drawing
{
public static class SystemPens
{
private static readonly object s_systemPensKey = new object();
public static Pen ActiveBorder => FromSystemColor(SystemColors.ActiveBorder);
public static Pen ActiveCaption => FromSystemColor(SystemColors.ActiveCaption);
public static Pen ActiveCaptionText => FromSystemColor(SystemColors.ActiveCaptionText);
public static Pen AppWorkspace => FromSystemColor(SystemColors.AppWorkspace);
public static Pen ButtonFace => FromSystemColor(SystemColors.ButtonFace);
public static Pen ButtonHighlight => FromSystemColor(SystemColors.ButtonHighlight);
public static Pen ButtonShadow => FromSystemColor(SystemColors.ButtonShadow);
public static Pen Control => FromSystemColor(SystemColors.Control);
public static Pen ControlText => FromSystemColor(SystemColors.ControlText);
public static Pen ControlDark => FromSystemColor(SystemColors.ControlDark);
public static Pen ControlDarkDark => FromSystemColor(SystemColors.ControlDarkDark);
public static Pen ControlLight => FromSystemColor(SystemColors.ControlLight);
public static Pen ControlLightLight => FromSystemColor(SystemColors.ControlLightLight);
public static Pen Desktop => FromSystemColor(SystemColors.Desktop);
public static Pen GradientActiveCaption => FromSystemColor(SystemColors.GradientActiveCaption);
public static Pen GradientInactiveCaption => FromSystemColor(SystemColors.GradientInactiveCaption);
public static Pen GrayText => FromSystemColor(SystemColors.GrayText);
public static Pen Highlight => FromSystemColor(SystemColors.Highlight);
public static Pen HighlightText => FromSystemColor(SystemColors.HighlightText);
public static Pen HotTrack => FromSystemColor(SystemColors.HotTrack);
public static Pen InactiveBorder => FromSystemColor(SystemColors.InactiveBorder);
public static Pen InactiveCaption => FromSystemColor(SystemColors.InactiveCaption);
public static Pen InactiveCaptionText => FromSystemColor(SystemColors.InactiveCaptionText);
public static Pen Info => FromSystemColor(SystemColors.Info);
public static Pen InfoText => FromSystemColor(SystemColors.InfoText);
public static Pen Menu => FromSystemColor(SystemColors.Menu);
public static Pen MenuBar => FromSystemColor(SystemColors.MenuBar);
public static Pen MenuHighlight => FromSystemColor(SystemColors.MenuHighlight);
public static Pen MenuText => FromSystemColor(SystemColors.MenuText);
public static Pen ScrollBar => FromSystemColor(SystemColors.ScrollBar);
public static Pen Window => FromSystemColor(SystemColors.Window);
public static Pen WindowFrame => FromSystemColor(SystemColors.WindowFrame);
public static Pen WindowText => FromSystemColor(SystemColors.WindowText);
public static Pen FromSystemColor(Color c)
{
if (!c.IsSystemColor)
{
throw new ArgumentException(SR.Format(SR.ColorNotSystemColor, c.ToString()));
}
Pen[]? systemPens = (Pen[]?)Gdip.ThreadData[s_systemPensKey];
if (systemPens == null)
{
systemPens = new Pen[(int)KnownColor.WindowText + (int)KnownColor.MenuHighlight - (int)KnownColor.YellowGreen];
Gdip.ThreadData[s_systemPensKey] = systemPens;
}
int idx = (int)c.ToKnownColor();
if (idx > (int)KnownColor.YellowGreen)
{
idx -= (int)KnownColor.YellowGreen - (int)KnownColor.WindowText;
}
idx--;
Debug.Assert(idx >= 0 && idx < systemPens.Length, "System colors have been added but our system color array has not been expanded.");
if (systemPens[idx] == null)
{
systemPens[idx] = new Pen(c, true);
}
return systemPens[idx];
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Diagnostics;
using Gdip = System.Drawing.SafeNativeMethods.Gdip;
namespace System.Drawing
{
public static class SystemPens
{
private static readonly object s_systemPensKey = new object();
public static Pen ActiveBorder => FromSystemColor(SystemColors.ActiveBorder);
public static Pen ActiveCaption => FromSystemColor(SystemColors.ActiveCaption);
public static Pen ActiveCaptionText => FromSystemColor(SystemColors.ActiveCaptionText);
public static Pen AppWorkspace => FromSystemColor(SystemColors.AppWorkspace);
public static Pen ButtonFace => FromSystemColor(SystemColors.ButtonFace);
public static Pen ButtonHighlight => FromSystemColor(SystemColors.ButtonHighlight);
public static Pen ButtonShadow => FromSystemColor(SystemColors.ButtonShadow);
public static Pen Control => FromSystemColor(SystemColors.Control);
public static Pen ControlText => FromSystemColor(SystemColors.ControlText);
public static Pen ControlDark => FromSystemColor(SystemColors.ControlDark);
public static Pen ControlDarkDark => FromSystemColor(SystemColors.ControlDarkDark);
public static Pen ControlLight => FromSystemColor(SystemColors.ControlLight);
public static Pen ControlLightLight => FromSystemColor(SystemColors.ControlLightLight);
public static Pen Desktop => FromSystemColor(SystemColors.Desktop);
public static Pen GradientActiveCaption => FromSystemColor(SystemColors.GradientActiveCaption);
public static Pen GradientInactiveCaption => FromSystemColor(SystemColors.GradientInactiveCaption);
public static Pen GrayText => FromSystemColor(SystemColors.GrayText);
public static Pen Highlight => FromSystemColor(SystemColors.Highlight);
public static Pen HighlightText => FromSystemColor(SystemColors.HighlightText);
public static Pen HotTrack => FromSystemColor(SystemColors.HotTrack);
public static Pen InactiveBorder => FromSystemColor(SystemColors.InactiveBorder);
public static Pen InactiveCaption => FromSystemColor(SystemColors.InactiveCaption);
public static Pen InactiveCaptionText => FromSystemColor(SystemColors.InactiveCaptionText);
public static Pen Info => FromSystemColor(SystemColors.Info);
public static Pen InfoText => FromSystemColor(SystemColors.InfoText);
public static Pen Menu => FromSystemColor(SystemColors.Menu);
public static Pen MenuBar => FromSystemColor(SystemColors.MenuBar);
public static Pen MenuHighlight => FromSystemColor(SystemColors.MenuHighlight);
public static Pen MenuText => FromSystemColor(SystemColors.MenuText);
public static Pen ScrollBar => FromSystemColor(SystemColors.ScrollBar);
public static Pen Window => FromSystemColor(SystemColors.Window);
public static Pen WindowFrame => FromSystemColor(SystemColors.WindowFrame);
public static Pen WindowText => FromSystemColor(SystemColors.WindowText);
public static Pen FromSystemColor(Color c)
{
if (!c.IsSystemColor)
{
throw new ArgumentException(SR.Format(SR.ColorNotSystemColor, c.ToString()));
}
Pen[]? systemPens = (Pen[]?)Gdip.ThreadData[s_systemPensKey];
if (systemPens == null)
{
systemPens = new Pen[(int)KnownColor.WindowText + (int)KnownColor.MenuHighlight - (int)KnownColor.YellowGreen];
Gdip.ThreadData[s_systemPensKey] = systemPens;
}
int idx = (int)c.ToKnownColor();
if (idx > (int)KnownColor.YellowGreen)
{
idx -= (int)KnownColor.YellowGreen - (int)KnownColor.WindowText;
}
idx--;
Debug.Assert(idx >= 0 && idx < systemPens.Length, "System colors have been added but our system color array has not been expanded.");
if (systemPens[idx] == null)
{
systemPens[idx] = new Pen(c, true);
}
return systemPens[idx];
}
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/tests/JIT/HardwareIntrinsics/Arm/AdvSimd/FusedSubtractHalving.Vector128.UInt16.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/******************************************************************************
* This file is auto-generated from a template file by the GenerateTests.csx *
* script in tests\src\JIT\HardwareIntrinsics.Arm\Shared. In order to make *
* changes, please update the corresponding template and run according to the *
* directions listed in the file. *
******************************************************************************/
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.Arm;
namespace JIT.HardwareIntrinsics.Arm
{
public static partial class Program
{
private static void FusedSubtractHalving_Vector128_UInt16()
{
var test = new SimpleBinaryOpTest__FusedSubtractHalving_Vector128_UInt16();
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
test.RunBasicScenario_UnsafeRead();
if (AdvSimd.IsSupported)
{
// Validates basic functionality works, using Load
test.RunBasicScenario_Load();
}
// Validates calling via reflection works, using Unsafe.Read
test.RunReflectionScenario_UnsafeRead();
if (AdvSimd.IsSupported)
{
// Validates calling via reflection works, using Load
test.RunReflectionScenario_Load();
}
// Validates passing a static member works
test.RunClsVarScenario();
if (AdvSimd.IsSupported)
{
// Validates passing a static member works, using pinning and Load
test.RunClsVarScenario_Load();
}
// Validates passing a local works, using Unsafe.Read
test.RunLclVarScenario_UnsafeRead();
if (AdvSimd.IsSupported)
{
// Validates passing a local works, using Load
test.RunLclVarScenario_Load();
}
// Validates passing the field of a local class works
test.RunClassLclFldScenario();
if (AdvSimd.IsSupported)
{
// Validates passing the field of a local class works, using pinning and Load
test.RunClassLclFldScenario_Load();
}
// Validates passing an instance member of a class works
test.RunClassFldScenario();
if (AdvSimd.IsSupported)
{
// Validates passing an instance member of a class works, using pinning and Load
test.RunClassFldScenario_Load();
}
// Validates passing the field of a local struct works
test.RunStructLclFldScenario();
if (AdvSimd.IsSupported)
{
// Validates passing the field of a local struct works, using pinning and Load
test.RunStructLclFldScenario_Load();
}
// Validates passing an instance member of a struct works
test.RunStructFldScenario();
if (AdvSimd.IsSupported)
{
// Validates passing an instance member of a struct works, using pinning and Load
test.RunStructFldScenario_Load();
}
}
else
{
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
if (!test.Succeeded)
{
throw new Exception("One or more scenarios did not complete as expected.");
}
}
}
public sealed unsafe class SimpleBinaryOpTest__FusedSubtractHalving_Vector128_UInt16
{
private struct DataTable
{
private byte[] inArray1;
private byte[] inArray2;
private byte[] outArray;
private GCHandle inHandle1;
private GCHandle inHandle2;
private GCHandle outHandle;
private ulong alignment;
public DataTable(UInt16[] inArray1, UInt16[] inArray2, UInt16[] outArray, int alignment)
{
int sizeOfinArray1 = inArray1.Length * Unsafe.SizeOf<UInt16>();
int sizeOfinArray2 = inArray2.Length * Unsafe.SizeOf<UInt16>();
int sizeOfoutArray = outArray.Length * Unsafe.SizeOf<UInt16>();
if ((alignment != 16 && alignment != 8) || (alignment * 2) < sizeOfinArray1 || (alignment * 2) < sizeOfinArray2 || (alignment * 2) < sizeOfoutArray)
{
throw new ArgumentException("Invalid value of alignment");
}
this.inArray1 = new byte[alignment * 2];
this.inArray2 = new byte[alignment * 2];
this.outArray = new byte[alignment * 2];
this.inHandle1 = GCHandle.Alloc(this.inArray1, GCHandleType.Pinned);
this.inHandle2 = GCHandle.Alloc(this.inArray2, GCHandleType.Pinned);
this.outHandle = GCHandle.Alloc(this.outArray, GCHandleType.Pinned);
this.alignment = (ulong)alignment;
Unsafe.CopyBlockUnaligned(ref Unsafe.AsRef<byte>(inArray1Ptr), ref Unsafe.As<UInt16, byte>(ref inArray1[0]), (uint)sizeOfinArray1);
Unsafe.CopyBlockUnaligned(ref Unsafe.AsRef<byte>(inArray2Ptr), ref Unsafe.As<UInt16, byte>(ref inArray2[0]), (uint)sizeOfinArray2);
}
public void* inArray1Ptr => Align((byte*)(inHandle1.AddrOfPinnedObject().ToPointer()), alignment);
public void* inArray2Ptr => Align((byte*)(inHandle2.AddrOfPinnedObject().ToPointer()), alignment);
public void* outArrayPtr => Align((byte*)(outHandle.AddrOfPinnedObject().ToPointer()), alignment);
public void Dispose()
{
inHandle1.Free();
inHandle2.Free();
outHandle.Free();
}
private static unsafe void* Align(byte* buffer, ulong expectedAlignment)
{
return (void*)(((ulong)buffer + expectedAlignment - 1) & ~(expectedAlignment - 1));
}
}
private struct TestStruct
{
public Vector128<UInt16> _fld1;
public Vector128<UInt16> _fld2;
public static TestStruct Create()
{
var testStruct = new TestStruct();
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetUInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<UInt16>, byte>(ref testStruct._fld1), ref Unsafe.As<UInt16, byte>(ref _data1[0]), (uint)Unsafe.SizeOf<Vector128<UInt16>>());
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = TestLibrary.Generator.GetUInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<UInt16>, byte>(ref testStruct._fld2), ref Unsafe.As<UInt16, byte>(ref _data2[0]), (uint)Unsafe.SizeOf<Vector128<UInt16>>());
return testStruct;
}
public void RunStructFldScenario(SimpleBinaryOpTest__FusedSubtractHalving_Vector128_UInt16 testClass)
{
var result = AdvSimd.FusedSubtractHalving(_fld1, _fld2);
Unsafe.Write(testClass._dataTable.outArrayPtr, result);
testClass.ValidateResult(_fld1, _fld2, testClass._dataTable.outArrayPtr);
}
public void RunStructFldScenario_Load(SimpleBinaryOpTest__FusedSubtractHalving_Vector128_UInt16 testClass)
{
fixed (Vector128<UInt16>* pFld1 = &_fld1)
fixed (Vector128<UInt16>* pFld2 = &_fld2)
{
var result = AdvSimd.FusedSubtractHalving(
AdvSimd.LoadVector128((UInt16*)(pFld1)),
AdvSimd.LoadVector128((UInt16*)(pFld2))
);
Unsafe.Write(testClass._dataTable.outArrayPtr, result);
testClass.ValidateResult(_fld1, _fld2, testClass._dataTable.outArrayPtr);
}
}
}
private static readonly int LargestVectorSize = 16;
private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector128<UInt16>>() / sizeof(UInt16);
private static readonly int Op2ElementCount = Unsafe.SizeOf<Vector128<UInt16>>() / sizeof(UInt16);
private static readonly int RetElementCount = Unsafe.SizeOf<Vector128<UInt16>>() / sizeof(UInt16);
private static UInt16[] _data1 = new UInt16[Op1ElementCount];
private static UInt16[] _data2 = new UInt16[Op2ElementCount];
private static Vector128<UInt16> _clsVar1;
private static Vector128<UInt16> _clsVar2;
private Vector128<UInt16> _fld1;
private Vector128<UInt16> _fld2;
private DataTable _dataTable;
static SimpleBinaryOpTest__FusedSubtractHalving_Vector128_UInt16()
{
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetUInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<UInt16>, byte>(ref _clsVar1), ref Unsafe.As<UInt16, byte>(ref _data1[0]), (uint)Unsafe.SizeOf<Vector128<UInt16>>());
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = TestLibrary.Generator.GetUInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<UInt16>, byte>(ref _clsVar2), ref Unsafe.As<UInt16, byte>(ref _data2[0]), (uint)Unsafe.SizeOf<Vector128<UInt16>>());
}
public SimpleBinaryOpTest__FusedSubtractHalving_Vector128_UInt16()
{
Succeeded = true;
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetUInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<UInt16>, byte>(ref _fld1), ref Unsafe.As<UInt16, byte>(ref _data1[0]), (uint)Unsafe.SizeOf<Vector128<UInt16>>());
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = TestLibrary.Generator.GetUInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<UInt16>, byte>(ref _fld2), ref Unsafe.As<UInt16, byte>(ref _data2[0]), (uint)Unsafe.SizeOf<Vector128<UInt16>>());
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetUInt16(); }
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = TestLibrary.Generator.GetUInt16(); }
_dataTable = new DataTable(_data1, _data2, new UInt16[RetElementCount], LargestVectorSize);
}
public bool IsSupported => AdvSimd.IsSupported;
public bool Succeeded { get; set; }
public void RunBasicScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_UnsafeRead));
var result = AdvSimd.FusedSubtractHalving(
Unsafe.Read<Vector128<UInt16>>(_dataTable.inArray1Ptr),
Unsafe.Read<Vector128<UInt16>>(_dataTable.inArray2Ptr)
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.outArrayPtr);
}
public void RunBasicScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
var result = AdvSimd.FusedSubtractHalving(
AdvSimd.LoadVector128((UInt16*)(_dataTable.inArray1Ptr)),
AdvSimd.LoadVector128((UInt16*)(_dataTable.inArray2Ptr))
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.outArrayPtr);
}
public void RunReflectionScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_UnsafeRead));
var result = typeof(AdvSimd).GetMethod(nameof(AdvSimd.FusedSubtractHalving), new Type[] { typeof(Vector128<UInt16>), typeof(Vector128<UInt16>) })
.Invoke(null, new object[] {
Unsafe.Read<Vector128<UInt16>>(_dataTable.inArray1Ptr),
Unsafe.Read<Vector128<UInt16>>(_dataTable.inArray2Ptr)
});
Unsafe.Write(_dataTable.outArrayPtr, (Vector128<UInt16>)(result));
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.outArrayPtr);
}
public void RunReflectionScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
var result = typeof(AdvSimd).GetMethod(nameof(AdvSimd.FusedSubtractHalving), new Type[] { typeof(Vector128<UInt16>), typeof(Vector128<UInt16>) })
.Invoke(null, new object[] {
AdvSimd.LoadVector128((UInt16*)(_dataTable.inArray1Ptr)),
AdvSimd.LoadVector128((UInt16*)(_dataTable.inArray2Ptr))
});
Unsafe.Write(_dataTable.outArrayPtr, (Vector128<UInt16>)(result));
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.outArrayPtr);
}
public void RunClsVarScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClsVarScenario));
var result = AdvSimd.FusedSubtractHalving(
_clsVar1,
_clsVar2
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_clsVar1, _clsVar2, _dataTable.outArrayPtr);
}
public void RunClsVarScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClsVarScenario_Load));
fixed (Vector128<UInt16>* pClsVar1 = &_clsVar1)
fixed (Vector128<UInt16>* pClsVar2 = &_clsVar2)
{
var result = AdvSimd.FusedSubtractHalving(
AdvSimd.LoadVector128((UInt16*)(pClsVar1)),
AdvSimd.LoadVector128((UInt16*)(pClsVar2))
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_clsVar1, _clsVar2, _dataTable.outArrayPtr);
}
}
public void RunLclVarScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunLclVarScenario_UnsafeRead));
var op1 = Unsafe.Read<Vector128<UInt16>>(_dataTable.inArray1Ptr);
var op2 = Unsafe.Read<Vector128<UInt16>>(_dataTable.inArray2Ptr);
var result = AdvSimd.FusedSubtractHalving(op1, op2);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(op1, op2, _dataTable.outArrayPtr);
}
public void RunLclVarScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunLclVarScenario_Load));
var op1 = AdvSimd.LoadVector128((UInt16*)(_dataTable.inArray1Ptr));
var op2 = AdvSimd.LoadVector128((UInt16*)(_dataTable.inArray2Ptr));
var result = AdvSimd.FusedSubtractHalving(op1, op2);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(op1, op2, _dataTable.outArrayPtr);
}
public void RunClassLclFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassLclFldScenario));
var test = new SimpleBinaryOpTest__FusedSubtractHalving_Vector128_UInt16();
var result = AdvSimd.FusedSubtractHalving(test._fld1, test._fld2);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld1, test._fld2, _dataTable.outArrayPtr);
}
public void RunClassLclFldScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassLclFldScenario_Load));
var test = new SimpleBinaryOpTest__FusedSubtractHalving_Vector128_UInt16();
fixed (Vector128<UInt16>* pFld1 = &test._fld1)
fixed (Vector128<UInt16>* pFld2 = &test._fld2)
{
var result = AdvSimd.FusedSubtractHalving(
AdvSimd.LoadVector128((UInt16*)(pFld1)),
AdvSimd.LoadVector128((UInt16*)(pFld2))
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld1, test._fld2, _dataTable.outArrayPtr);
}
}
public void RunClassFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassFldScenario));
var result = AdvSimd.FusedSubtractHalving(_fld1, _fld2);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_fld1, _fld2, _dataTable.outArrayPtr);
}
public void RunClassFldScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassFldScenario_Load));
fixed (Vector128<UInt16>* pFld1 = &_fld1)
fixed (Vector128<UInt16>* pFld2 = &_fld2)
{
var result = AdvSimd.FusedSubtractHalving(
AdvSimd.LoadVector128((UInt16*)(pFld1)),
AdvSimd.LoadVector128((UInt16*)(pFld2))
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_fld1, _fld2, _dataTable.outArrayPtr);
}
}
public void RunStructLclFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructLclFldScenario));
var test = TestStruct.Create();
var result = AdvSimd.FusedSubtractHalving(test._fld1, test._fld2);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld1, test._fld2, _dataTable.outArrayPtr);
}
public void RunStructLclFldScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructLclFldScenario_Load));
var test = TestStruct.Create();
var result = AdvSimd.FusedSubtractHalving(
AdvSimd.LoadVector128((UInt16*)(&test._fld1)),
AdvSimd.LoadVector128((UInt16*)(&test._fld2))
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld1, test._fld2, _dataTable.outArrayPtr);
}
public void RunStructFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructFldScenario));
var test = TestStruct.Create();
test.RunStructFldScenario(this);
}
public void RunStructFldScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructFldScenario_Load));
var test = TestStruct.Create();
test.RunStructFldScenario_Load(this);
}
public void RunUnsupportedScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
bool succeeded = false;
try
{
RunBasicScenario_UnsafeRead();
}
catch (PlatformNotSupportedException)
{
succeeded = true;
}
if (!succeeded)
{
Succeeded = false;
}
}
private void ValidateResult(Vector128<UInt16> op1, Vector128<UInt16> op2, void* result, [CallerMemberName] string method = "")
{
UInt16[] inArray1 = new UInt16[Op1ElementCount];
UInt16[] inArray2 = new UInt16[Op2ElementCount];
UInt16[] outArray = new UInt16[RetElementCount];
Unsafe.WriteUnaligned(ref Unsafe.As<UInt16, byte>(ref inArray1[0]), op1);
Unsafe.WriteUnaligned(ref Unsafe.As<UInt16, byte>(ref inArray2[0]), op2);
Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt16, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<UInt16>>());
ValidateResult(inArray1, inArray2, outArray, method);
}
private void ValidateResult(void* op1, void* op2, void* result, [CallerMemberName] string method = "")
{
UInt16[] inArray1 = new UInt16[Op1ElementCount];
UInt16[] inArray2 = new UInt16[Op2ElementCount];
UInt16[] outArray = new UInt16[RetElementCount];
Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt16, byte>(ref inArray1[0]), ref Unsafe.AsRef<byte>(op1), (uint)Unsafe.SizeOf<Vector128<UInt16>>());
Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt16, byte>(ref inArray2[0]), ref Unsafe.AsRef<byte>(op2), (uint)Unsafe.SizeOf<Vector128<UInt16>>());
Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt16, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<UInt16>>());
ValidateResult(inArray1, inArray2, outArray, method);
}
private void ValidateResult(UInt16[] left, UInt16[] right, UInt16[] result, [CallerMemberName] string method = "")
{
bool succeeded = true;
for (var i = 0; i < RetElementCount; i++)
{
if (Helpers.FusedSubtractHalving(left[i], right[i]) != result[i])
{
succeeded = false;
break;
}
}
if (!succeeded)
{
TestLibrary.TestFramework.LogInformation($"{nameof(AdvSimd)}.{nameof(AdvSimd.FusedSubtractHalving)}<UInt16>(Vector128<UInt16>, Vector128<UInt16>): {method} failed:");
TestLibrary.TestFramework.LogInformation($" left: ({string.Join(", ", left)})");
TestLibrary.TestFramework.LogInformation($" right: ({string.Join(", ", right)})");
TestLibrary.TestFramework.LogInformation($" result: ({string.Join(", ", result)})");
TestLibrary.TestFramework.LogInformation(string.Empty);
Succeeded = false;
}
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/******************************************************************************
* This file is auto-generated from a template file by the GenerateTests.csx *
* script in tests\src\JIT\HardwareIntrinsics.Arm\Shared. In order to make *
* changes, please update the corresponding template and run according to the *
* directions listed in the file. *
******************************************************************************/
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.Arm;
namespace JIT.HardwareIntrinsics.Arm
{
public static partial class Program
{
private static void FusedSubtractHalving_Vector128_UInt16()
{
var test = new SimpleBinaryOpTest__FusedSubtractHalving_Vector128_UInt16();
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
test.RunBasicScenario_UnsafeRead();
if (AdvSimd.IsSupported)
{
// Validates basic functionality works, using Load
test.RunBasicScenario_Load();
}
// Validates calling via reflection works, using Unsafe.Read
test.RunReflectionScenario_UnsafeRead();
if (AdvSimd.IsSupported)
{
// Validates calling via reflection works, using Load
test.RunReflectionScenario_Load();
}
// Validates passing a static member works
test.RunClsVarScenario();
if (AdvSimd.IsSupported)
{
// Validates passing a static member works, using pinning and Load
test.RunClsVarScenario_Load();
}
// Validates passing a local works, using Unsafe.Read
test.RunLclVarScenario_UnsafeRead();
if (AdvSimd.IsSupported)
{
// Validates passing a local works, using Load
test.RunLclVarScenario_Load();
}
// Validates passing the field of a local class works
test.RunClassLclFldScenario();
if (AdvSimd.IsSupported)
{
// Validates passing the field of a local class works, using pinning and Load
test.RunClassLclFldScenario_Load();
}
// Validates passing an instance member of a class works
test.RunClassFldScenario();
if (AdvSimd.IsSupported)
{
// Validates passing an instance member of a class works, using pinning and Load
test.RunClassFldScenario_Load();
}
// Validates passing the field of a local struct works
test.RunStructLclFldScenario();
if (AdvSimd.IsSupported)
{
// Validates passing the field of a local struct works, using pinning and Load
test.RunStructLclFldScenario_Load();
}
// Validates passing an instance member of a struct works
test.RunStructFldScenario();
if (AdvSimd.IsSupported)
{
// Validates passing an instance member of a struct works, using pinning and Load
test.RunStructFldScenario_Load();
}
}
else
{
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
if (!test.Succeeded)
{
throw new Exception("One or more scenarios did not complete as expected.");
}
}
}
public sealed unsafe class SimpleBinaryOpTest__FusedSubtractHalving_Vector128_UInt16
{
private struct DataTable
{
private byte[] inArray1;
private byte[] inArray2;
private byte[] outArray;
private GCHandle inHandle1;
private GCHandle inHandle2;
private GCHandle outHandle;
private ulong alignment;
public DataTable(UInt16[] inArray1, UInt16[] inArray2, UInt16[] outArray, int alignment)
{
int sizeOfinArray1 = inArray1.Length * Unsafe.SizeOf<UInt16>();
int sizeOfinArray2 = inArray2.Length * Unsafe.SizeOf<UInt16>();
int sizeOfoutArray = outArray.Length * Unsafe.SizeOf<UInt16>();
if ((alignment != 16 && alignment != 8) || (alignment * 2) < sizeOfinArray1 || (alignment * 2) < sizeOfinArray2 || (alignment * 2) < sizeOfoutArray)
{
throw new ArgumentException("Invalid value of alignment");
}
this.inArray1 = new byte[alignment * 2];
this.inArray2 = new byte[alignment * 2];
this.outArray = new byte[alignment * 2];
this.inHandle1 = GCHandle.Alloc(this.inArray1, GCHandleType.Pinned);
this.inHandle2 = GCHandle.Alloc(this.inArray2, GCHandleType.Pinned);
this.outHandle = GCHandle.Alloc(this.outArray, GCHandleType.Pinned);
this.alignment = (ulong)alignment;
Unsafe.CopyBlockUnaligned(ref Unsafe.AsRef<byte>(inArray1Ptr), ref Unsafe.As<UInt16, byte>(ref inArray1[0]), (uint)sizeOfinArray1);
Unsafe.CopyBlockUnaligned(ref Unsafe.AsRef<byte>(inArray2Ptr), ref Unsafe.As<UInt16, byte>(ref inArray2[0]), (uint)sizeOfinArray2);
}
public void* inArray1Ptr => Align((byte*)(inHandle1.AddrOfPinnedObject().ToPointer()), alignment);
public void* inArray2Ptr => Align((byte*)(inHandle2.AddrOfPinnedObject().ToPointer()), alignment);
public void* outArrayPtr => Align((byte*)(outHandle.AddrOfPinnedObject().ToPointer()), alignment);
public void Dispose()
{
inHandle1.Free();
inHandle2.Free();
outHandle.Free();
}
private static unsafe void* Align(byte* buffer, ulong expectedAlignment)
{
return (void*)(((ulong)buffer + expectedAlignment - 1) & ~(expectedAlignment - 1));
}
}
private struct TestStruct
{
public Vector128<UInt16> _fld1;
public Vector128<UInt16> _fld2;
public static TestStruct Create()
{
var testStruct = new TestStruct();
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetUInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<UInt16>, byte>(ref testStruct._fld1), ref Unsafe.As<UInt16, byte>(ref _data1[0]), (uint)Unsafe.SizeOf<Vector128<UInt16>>());
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = TestLibrary.Generator.GetUInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<UInt16>, byte>(ref testStruct._fld2), ref Unsafe.As<UInt16, byte>(ref _data2[0]), (uint)Unsafe.SizeOf<Vector128<UInt16>>());
return testStruct;
}
public void RunStructFldScenario(SimpleBinaryOpTest__FusedSubtractHalving_Vector128_UInt16 testClass)
{
var result = AdvSimd.FusedSubtractHalving(_fld1, _fld2);
Unsafe.Write(testClass._dataTable.outArrayPtr, result);
testClass.ValidateResult(_fld1, _fld2, testClass._dataTable.outArrayPtr);
}
public void RunStructFldScenario_Load(SimpleBinaryOpTest__FusedSubtractHalving_Vector128_UInt16 testClass)
{
fixed (Vector128<UInt16>* pFld1 = &_fld1)
fixed (Vector128<UInt16>* pFld2 = &_fld2)
{
var result = AdvSimd.FusedSubtractHalving(
AdvSimd.LoadVector128((UInt16*)(pFld1)),
AdvSimd.LoadVector128((UInt16*)(pFld2))
);
Unsafe.Write(testClass._dataTable.outArrayPtr, result);
testClass.ValidateResult(_fld1, _fld2, testClass._dataTable.outArrayPtr);
}
}
}
private static readonly int LargestVectorSize = 16;
private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector128<UInt16>>() / sizeof(UInt16);
private static readonly int Op2ElementCount = Unsafe.SizeOf<Vector128<UInt16>>() / sizeof(UInt16);
private static readonly int RetElementCount = Unsafe.SizeOf<Vector128<UInt16>>() / sizeof(UInt16);
private static UInt16[] _data1 = new UInt16[Op1ElementCount];
private static UInt16[] _data2 = new UInt16[Op2ElementCount];
private static Vector128<UInt16> _clsVar1;
private static Vector128<UInt16> _clsVar2;
private Vector128<UInt16> _fld1;
private Vector128<UInt16> _fld2;
private DataTable _dataTable;
static SimpleBinaryOpTest__FusedSubtractHalving_Vector128_UInt16()
{
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetUInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<UInt16>, byte>(ref _clsVar1), ref Unsafe.As<UInt16, byte>(ref _data1[0]), (uint)Unsafe.SizeOf<Vector128<UInt16>>());
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = TestLibrary.Generator.GetUInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<UInt16>, byte>(ref _clsVar2), ref Unsafe.As<UInt16, byte>(ref _data2[0]), (uint)Unsafe.SizeOf<Vector128<UInt16>>());
}
public SimpleBinaryOpTest__FusedSubtractHalving_Vector128_UInt16()
{
Succeeded = true;
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetUInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<UInt16>, byte>(ref _fld1), ref Unsafe.As<UInt16, byte>(ref _data1[0]), (uint)Unsafe.SizeOf<Vector128<UInt16>>());
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = TestLibrary.Generator.GetUInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector128<UInt16>, byte>(ref _fld2), ref Unsafe.As<UInt16, byte>(ref _data2[0]), (uint)Unsafe.SizeOf<Vector128<UInt16>>());
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetUInt16(); }
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = TestLibrary.Generator.GetUInt16(); }
_dataTable = new DataTable(_data1, _data2, new UInt16[RetElementCount], LargestVectorSize);
}
public bool IsSupported => AdvSimd.IsSupported;
public bool Succeeded { get; set; }
public void RunBasicScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_UnsafeRead));
var result = AdvSimd.FusedSubtractHalving(
Unsafe.Read<Vector128<UInt16>>(_dataTable.inArray1Ptr),
Unsafe.Read<Vector128<UInt16>>(_dataTable.inArray2Ptr)
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.outArrayPtr);
}
public void RunBasicScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
var result = AdvSimd.FusedSubtractHalving(
AdvSimd.LoadVector128((UInt16*)(_dataTable.inArray1Ptr)),
AdvSimd.LoadVector128((UInt16*)(_dataTable.inArray2Ptr))
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.outArrayPtr);
}
public void RunReflectionScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_UnsafeRead));
var result = typeof(AdvSimd).GetMethod(nameof(AdvSimd.FusedSubtractHalving), new Type[] { typeof(Vector128<UInt16>), typeof(Vector128<UInt16>) })
.Invoke(null, new object[] {
Unsafe.Read<Vector128<UInt16>>(_dataTable.inArray1Ptr),
Unsafe.Read<Vector128<UInt16>>(_dataTable.inArray2Ptr)
});
Unsafe.Write(_dataTable.outArrayPtr, (Vector128<UInt16>)(result));
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.outArrayPtr);
}
public void RunReflectionScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
var result = typeof(AdvSimd).GetMethod(nameof(AdvSimd.FusedSubtractHalving), new Type[] { typeof(Vector128<UInt16>), typeof(Vector128<UInt16>) })
.Invoke(null, new object[] {
AdvSimd.LoadVector128((UInt16*)(_dataTable.inArray1Ptr)),
AdvSimd.LoadVector128((UInt16*)(_dataTable.inArray2Ptr))
});
Unsafe.Write(_dataTable.outArrayPtr, (Vector128<UInt16>)(result));
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.outArrayPtr);
}
public void RunClsVarScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClsVarScenario));
var result = AdvSimd.FusedSubtractHalving(
_clsVar1,
_clsVar2
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_clsVar1, _clsVar2, _dataTable.outArrayPtr);
}
public void RunClsVarScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClsVarScenario_Load));
fixed (Vector128<UInt16>* pClsVar1 = &_clsVar1)
fixed (Vector128<UInt16>* pClsVar2 = &_clsVar2)
{
var result = AdvSimd.FusedSubtractHalving(
AdvSimd.LoadVector128((UInt16*)(pClsVar1)),
AdvSimd.LoadVector128((UInt16*)(pClsVar2))
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_clsVar1, _clsVar2, _dataTable.outArrayPtr);
}
}
public void RunLclVarScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunLclVarScenario_UnsafeRead));
var op1 = Unsafe.Read<Vector128<UInt16>>(_dataTable.inArray1Ptr);
var op2 = Unsafe.Read<Vector128<UInt16>>(_dataTable.inArray2Ptr);
var result = AdvSimd.FusedSubtractHalving(op1, op2);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(op1, op2, _dataTable.outArrayPtr);
}
public void RunLclVarScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunLclVarScenario_Load));
var op1 = AdvSimd.LoadVector128((UInt16*)(_dataTable.inArray1Ptr));
var op2 = AdvSimd.LoadVector128((UInt16*)(_dataTable.inArray2Ptr));
var result = AdvSimd.FusedSubtractHalving(op1, op2);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(op1, op2, _dataTable.outArrayPtr);
}
public void RunClassLclFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassLclFldScenario));
var test = new SimpleBinaryOpTest__FusedSubtractHalving_Vector128_UInt16();
var result = AdvSimd.FusedSubtractHalving(test._fld1, test._fld2);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld1, test._fld2, _dataTable.outArrayPtr);
}
public void RunClassLclFldScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassLclFldScenario_Load));
var test = new SimpleBinaryOpTest__FusedSubtractHalving_Vector128_UInt16();
fixed (Vector128<UInt16>* pFld1 = &test._fld1)
fixed (Vector128<UInt16>* pFld2 = &test._fld2)
{
var result = AdvSimd.FusedSubtractHalving(
AdvSimd.LoadVector128((UInt16*)(pFld1)),
AdvSimd.LoadVector128((UInt16*)(pFld2))
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld1, test._fld2, _dataTable.outArrayPtr);
}
}
public void RunClassFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassFldScenario));
var result = AdvSimd.FusedSubtractHalving(_fld1, _fld2);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_fld1, _fld2, _dataTable.outArrayPtr);
}
public void RunClassFldScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassFldScenario_Load));
fixed (Vector128<UInt16>* pFld1 = &_fld1)
fixed (Vector128<UInt16>* pFld2 = &_fld2)
{
var result = AdvSimd.FusedSubtractHalving(
AdvSimd.LoadVector128((UInt16*)(pFld1)),
AdvSimd.LoadVector128((UInt16*)(pFld2))
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_fld1, _fld2, _dataTable.outArrayPtr);
}
}
public void RunStructLclFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructLclFldScenario));
var test = TestStruct.Create();
var result = AdvSimd.FusedSubtractHalving(test._fld1, test._fld2);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld1, test._fld2, _dataTable.outArrayPtr);
}
public void RunStructLclFldScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructLclFldScenario_Load));
var test = TestStruct.Create();
var result = AdvSimd.FusedSubtractHalving(
AdvSimd.LoadVector128((UInt16*)(&test._fld1)),
AdvSimd.LoadVector128((UInt16*)(&test._fld2))
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld1, test._fld2, _dataTable.outArrayPtr);
}
public void RunStructFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructFldScenario));
var test = TestStruct.Create();
test.RunStructFldScenario(this);
}
public void RunStructFldScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructFldScenario_Load));
var test = TestStruct.Create();
test.RunStructFldScenario_Load(this);
}
public void RunUnsupportedScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
bool succeeded = false;
try
{
RunBasicScenario_UnsafeRead();
}
catch (PlatformNotSupportedException)
{
succeeded = true;
}
if (!succeeded)
{
Succeeded = false;
}
}
private void ValidateResult(Vector128<UInt16> op1, Vector128<UInt16> op2, void* result, [CallerMemberName] string method = "")
{
UInt16[] inArray1 = new UInt16[Op1ElementCount];
UInt16[] inArray2 = new UInt16[Op2ElementCount];
UInt16[] outArray = new UInt16[RetElementCount];
Unsafe.WriteUnaligned(ref Unsafe.As<UInt16, byte>(ref inArray1[0]), op1);
Unsafe.WriteUnaligned(ref Unsafe.As<UInt16, byte>(ref inArray2[0]), op2);
Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt16, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<UInt16>>());
ValidateResult(inArray1, inArray2, outArray, method);
}
private void ValidateResult(void* op1, void* op2, void* result, [CallerMemberName] string method = "")
{
UInt16[] inArray1 = new UInt16[Op1ElementCount];
UInt16[] inArray2 = new UInt16[Op2ElementCount];
UInt16[] outArray = new UInt16[RetElementCount];
Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt16, byte>(ref inArray1[0]), ref Unsafe.AsRef<byte>(op1), (uint)Unsafe.SizeOf<Vector128<UInt16>>());
Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt16, byte>(ref inArray2[0]), ref Unsafe.AsRef<byte>(op2), (uint)Unsafe.SizeOf<Vector128<UInt16>>());
Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt16, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector128<UInt16>>());
ValidateResult(inArray1, inArray2, outArray, method);
}
private void ValidateResult(UInt16[] left, UInt16[] right, UInt16[] result, [CallerMemberName] string method = "")
{
bool succeeded = true;
for (var i = 0; i < RetElementCount; i++)
{
if (Helpers.FusedSubtractHalving(left[i], right[i]) != result[i])
{
succeeded = false;
break;
}
}
if (!succeeded)
{
TestLibrary.TestFramework.LogInformation($"{nameof(AdvSimd)}.{nameof(AdvSimd.FusedSubtractHalving)}<UInt16>(Vector128<UInt16>, Vector128<UInt16>): {method} failed:");
TestLibrary.TestFramework.LogInformation($" left: ({string.Join(", ", left)})");
TestLibrary.TestFramework.LogInformation($" right: ({string.Join(", ", right)})");
TestLibrary.TestFramework.LogInformation($" result: ({string.Join(", ", result)})");
TestLibrary.TestFramework.LogInformation(string.Empty);
Succeeded = false;
}
}
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Serialization/NodeInteropTests.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.Text.Json.Serialization.Tests
{
public sealed partial class NodeInteropTestsDynamic : NodeInteropTests
{
public NodeInteropTestsDynamic() : base(JsonSerializerWrapperForString.StringSerializer) { }
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.Text.Json.Serialization.Tests
{
public sealed partial class NodeInteropTestsDynamic : NodeInteropTests
{
public NodeInteropTestsDynamic() : base(JsonSerializerWrapperForString.StringSerializer) { }
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/libraries/System.Drawing.Common/src/System/Drawing/Imaging/EmfPlusFlags.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.Drawing.Imaging
{
/**
* EMF+ Flags
*/
internal enum EmfPlusFlags
{
Display = 0x00000001,
NonDualGdi = 0x00000002
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.Drawing.Imaging
{
/**
* EMF+ Flags
*/
internal enum EmfPlusFlags
{
Display = 0x00000001,
NonDualGdi = 0x00000002
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/libraries/Common/src/Interop/Windows/Kernel32/Interop.GetEnvironmentStrings.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Runtime.InteropServices;
internal static partial class Interop
{
internal static partial class Kernel32
{
[GeneratedDllImport(Libraries.Kernel32)]
internal static unsafe partial char* GetEnvironmentStringsW();
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Runtime.InteropServices;
internal static partial class Interop
{
internal static partial class Kernel32
{
[GeneratedDllImport(Libraries.Kernel32)]
internal static unsafe partial char* GetEnvironmentStringsW();
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/libraries/System.Collections.Immutable/tests/ImmutableSortedDictionaryTest.nonnetstandard.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using Xunit;
namespace System.Collections.Immutable.Tests
{
public partial class ImmutableSortedDictionaryTest : ImmutableDictionaryTestBase
{
internal override IBinaryTree GetRootNode<TKey, TValue>(IImmutableDictionary<TKey, TValue> dictionary)
{
return ((ImmutableSortedDictionary<TKey, TValue>)dictionary).Root;
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using Xunit;
namespace System.Collections.Immutable.Tests
{
public partial class ImmutableSortedDictionaryTest : ImmutableDictionaryTestBase
{
internal override IBinaryTree GetRootNode<TKey, TValue>(IImmutableDictionary<TKey, TValue> dictionary)
{
return ((ImmutableSortedDictionary<TKey, TValue>)dictionary).Root;
}
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/libraries/System.IO.Pipelines/tests/SequencePipeReaderTests.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Buffers;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace System.IO.Pipelines.Tests
{
public class SequencePipeReaderTests
{
[Fact]
public async Task CanRead()
{
var sequence = new ReadOnlySequence<byte>(Encoding.ASCII.GetBytes("Hello World"));
var reader = PipeReader.Create(sequence);
ReadResult readResult = await reader.ReadAsync();
ReadOnlySequence<byte> buffer = readResult.Buffer;
Assert.Equal(11, buffer.Length);
Assert.True(buffer.IsSingleSegment);
Assert.Equal("Hello World", Encoding.ASCII.GetString(buffer.ToArray()));
reader.AdvanceTo(buffer.End);
reader.Complete();
}
[Fact]
public async Task TryReadReturnsTrueIfBufferedBytesAndNotExaminedEverything()
{
var sequence = new ReadOnlySequence<byte>(Encoding.ASCII.GetBytes("Hello World"));
var reader = PipeReader.Create(sequence);
ReadResult readResult = await reader.ReadAsync();
ReadOnlySequence<byte> buffer = readResult.Buffer;
Assert.Equal(11, buffer.Length);
Assert.True(buffer.IsSingleSegment);
reader.AdvanceTo(buffer.Start, buffer.GetPosition(5));
Assert.True(reader.TryRead(out readResult));
Assert.Equal(11, buffer.Length);
Assert.True(buffer.IsSingleSegment);
Assert.Equal("Hello World", Encoding.ASCII.GetString(buffer.ToArray()));
reader.Complete();
}
[Fact]
public async Task TryReadReturnsFalseIfBufferedBytesAndEverythingExamined()
{
var sequence = new ReadOnlySequence<byte>(Encoding.ASCII.GetBytes("Hello World"));
var reader = PipeReader.Create(sequence);
ReadResult readResult = await reader.ReadAsync();
ReadOnlySequence<byte> buffer = readResult.Buffer;
Assert.Equal(11, buffer.Length);
Assert.True(buffer.IsSingleSegment);
reader.AdvanceTo(buffer.End);
Assert.False(reader.TryRead(out readResult));
reader.Complete();
}
[Fact]
public async Task ReadAsyncAfterReceivingCompletedReadResultDoesNotThrow()
{
var sequence = ReadOnlySequence<byte>.Empty;
PipeReader reader = PipeReader.Create(sequence);
ReadResult readResult = await reader.ReadAsync();
Assert.True(readResult.Buffer.IsEmpty);
Assert.True(readResult.IsCompleted);
reader.AdvanceTo(readResult.Buffer.End);
readResult = await reader.ReadAsync();
Assert.True(readResult.Buffer.IsEmpty);
Assert.True(readResult.IsCompleted);
reader.AdvanceTo(readResult.Buffer.End);
reader.Complete();
}
[Fact]
public async Task DataCanBeReadMultipleTimes()
{
var helloBytes = Encoding.ASCII.GetBytes("Hello World");
var sequence = new ReadOnlySequence<byte>(helloBytes);
PipeReader reader = PipeReader.Create(sequence);
ReadResult readResult = await reader.ReadAsync();
ReadOnlySequence<byte> buffer = readResult.Buffer;
reader.AdvanceTo(buffer.Start, buffer.End);
// Make sure IsCompleted is true
readResult = await reader.ReadAsync();
buffer = readResult.Buffer;
reader.AdvanceTo(buffer.Start, buffer.End);
Assert.True(readResult.IsCompleted);
var value = await ReadFromPipeAsString(reader);
Assert.Equal("Hello World", value);
reader.Complete();
}
[Fact]
public async Task NextReadAfterPartiallyExaminedReturnsImmediately()
{
var sequence = new ReadOnlySequence<byte>(Encoding.ASCII.GetBytes(new string('a', 10000)));
PipeReader reader = PipeReader.Create(sequence);
ReadResult readResult = await reader.ReadAsync();
reader.AdvanceTo(readResult.Buffer.Start, readResult.Buffer.GetPosition(2048));
ValueTask<ReadResult> task = reader.ReadAsync();
// This should complete synchronously since
Assert.True(task.IsCompleted);
readResult = await task;
reader.AdvanceTo(readResult.Buffer.End);
reader.Complete();
}
[Fact]
public async Task CompleteReaderWithoutAdvanceDoesNotThrow()
{
PipeReader reader = PipeReader.Create(ReadOnlySequence<byte>.Empty);
await reader.ReadAsync();
reader.Complete();
}
[Fact]
public async Task AdvanceAfterCompleteThrows()
{
PipeReader reader = PipeReader.Create(new ReadOnlySequence<byte>(new byte[100]));
ReadOnlySequence<byte> buffer = (await reader.ReadAsync()).Buffer;
reader.Complete();
Assert.Throws<InvalidOperationException>(() => reader.AdvanceTo(buffer.End));
}
[Fact]
public async Task ThrowsOnReadAfterCompleteReader()
{
PipeReader reader = PipeReader.Create(ReadOnlySequence<byte>.Empty);
reader.Complete();
await Assert.ThrowsAsync<InvalidOperationException>(async () => await reader.ReadAsync());
}
[Fact]
public void TryReadAfterCancelPendingReadReturnsTrue()
{
PipeReader reader = PipeReader.Create(ReadOnlySequence<byte>.Empty);
reader.CancelPendingRead();
Assert.True(reader.TryRead(out ReadResult result));
Assert.True(result.IsCanceled);
reader.AdvanceTo(result.Buffer.End);
reader.Complete();
}
[Fact]
public async Task ReadAsyncReturnsCanceledIfCanceledBeforeRead()
{
var sequence = new ReadOnlySequence<byte>(new byte[10000]);
PipeReader reader = PipeReader.Create(sequence);
// Make sure state isn't used from before
for (var i = 0; i < 3; i++)
{
reader.CancelPendingRead();
ValueTask<ReadResult> readResultTask = reader.ReadAsync();
Assert.True(readResultTask.IsCompleted);
ReadResult readResult = readResultTask.GetAwaiter().GetResult();
Assert.True(readResult.IsCanceled);
readResult = await reader.ReadAsync();
reader.AdvanceTo(readResult.Buffer.End);
}
reader.Complete();
}
[Fact]
public async Task ReadAsyncReturnsCanceledInterleaved()
{
var sequence = new ReadOnlySequence<byte>(new byte[10000]);
PipeReader reader = PipeReader.Create(sequence);
// Cancel and Read interleaved to confirm cancellations are independent
for (var i = 0; i < 3; i++)
{
reader.CancelPendingRead();
ValueTask<ReadResult> readResultTask = reader.ReadAsync();
Assert.True(readResultTask.IsCompleted);
ReadResult readResult = readResultTask.GetAwaiter().GetResult();
Assert.True(readResult.IsCanceled);
readResult = await reader.ReadAsync();
Assert.False(readResult.IsCanceled);
}
reader.Complete();
}
[Fact]
public void OnWriterCompletedNoops()
{
bool fired = false;
PipeReader reader = PipeReader.Create(ReadOnlySequence<byte>.Empty);
#pragma warning disable CS0618 // Type or member is obsolete
reader.OnWriterCompleted((_, __) => { fired = true; }, null);
#pragma warning restore CS0618 // Type or member is obsolete
reader.Complete();
Assert.False(fired);
}
private static async Task<string> ReadFromPipeAsString(PipeReader reader)
{
ReadResult readResult = await reader.ReadAsync();
var result = Encoding.ASCII.GetString(readResult.Buffer.ToArray());
reader.AdvanceTo(readResult.Buffer.End);
return result;
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Buffers;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace System.IO.Pipelines.Tests
{
public class SequencePipeReaderTests
{
[Fact]
public async Task CanRead()
{
var sequence = new ReadOnlySequence<byte>(Encoding.ASCII.GetBytes("Hello World"));
var reader = PipeReader.Create(sequence);
ReadResult readResult = await reader.ReadAsync();
ReadOnlySequence<byte> buffer = readResult.Buffer;
Assert.Equal(11, buffer.Length);
Assert.True(buffer.IsSingleSegment);
Assert.Equal("Hello World", Encoding.ASCII.GetString(buffer.ToArray()));
reader.AdvanceTo(buffer.End);
reader.Complete();
}
[Fact]
public async Task TryReadReturnsTrueIfBufferedBytesAndNotExaminedEverything()
{
var sequence = new ReadOnlySequence<byte>(Encoding.ASCII.GetBytes("Hello World"));
var reader = PipeReader.Create(sequence);
ReadResult readResult = await reader.ReadAsync();
ReadOnlySequence<byte> buffer = readResult.Buffer;
Assert.Equal(11, buffer.Length);
Assert.True(buffer.IsSingleSegment);
reader.AdvanceTo(buffer.Start, buffer.GetPosition(5));
Assert.True(reader.TryRead(out readResult));
Assert.Equal(11, buffer.Length);
Assert.True(buffer.IsSingleSegment);
Assert.Equal("Hello World", Encoding.ASCII.GetString(buffer.ToArray()));
reader.Complete();
}
[Fact]
public async Task TryReadReturnsFalseIfBufferedBytesAndEverythingExamined()
{
var sequence = new ReadOnlySequence<byte>(Encoding.ASCII.GetBytes("Hello World"));
var reader = PipeReader.Create(sequence);
ReadResult readResult = await reader.ReadAsync();
ReadOnlySequence<byte> buffer = readResult.Buffer;
Assert.Equal(11, buffer.Length);
Assert.True(buffer.IsSingleSegment);
reader.AdvanceTo(buffer.End);
Assert.False(reader.TryRead(out readResult));
reader.Complete();
}
[Fact]
public async Task ReadAsyncAfterReceivingCompletedReadResultDoesNotThrow()
{
var sequence = ReadOnlySequence<byte>.Empty;
PipeReader reader = PipeReader.Create(sequence);
ReadResult readResult = await reader.ReadAsync();
Assert.True(readResult.Buffer.IsEmpty);
Assert.True(readResult.IsCompleted);
reader.AdvanceTo(readResult.Buffer.End);
readResult = await reader.ReadAsync();
Assert.True(readResult.Buffer.IsEmpty);
Assert.True(readResult.IsCompleted);
reader.AdvanceTo(readResult.Buffer.End);
reader.Complete();
}
[Fact]
public async Task DataCanBeReadMultipleTimes()
{
var helloBytes = Encoding.ASCII.GetBytes("Hello World");
var sequence = new ReadOnlySequence<byte>(helloBytes);
PipeReader reader = PipeReader.Create(sequence);
ReadResult readResult = await reader.ReadAsync();
ReadOnlySequence<byte> buffer = readResult.Buffer;
reader.AdvanceTo(buffer.Start, buffer.End);
// Make sure IsCompleted is true
readResult = await reader.ReadAsync();
buffer = readResult.Buffer;
reader.AdvanceTo(buffer.Start, buffer.End);
Assert.True(readResult.IsCompleted);
var value = await ReadFromPipeAsString(reader);
Assert.Equal("Hello World", value);
reader.Complete();
}
[Fact]
public async Task NextReadAfterPartiallyExaminedReturnsImmediately()
{
var sequence = new ReadOnlySequence<byte>(Encoding.ASCII.GetBytes(new string('a', 10000)));
PipeReader reader = PipeReader.Create(sequence);
ReadResult readResult = await reader.ReadAsync();
reader.AdvanceTo(readResult.Buffer.Start, readResult.Buffer.GetPosition(2048));
ValueTask<ReadResult> task = reader.ReadAsync();
// This should complete synchronously since
Assert.True(task.IsCompleted);
readResult = await task;
reader.AdvanceTo(readResult.Buffer.End);
reader.Complete();
}
[Fact]
public async Task CompleteReaderWithoutAdvanceDoesNotThrow()
{
PipeReader reader = PipeReader.Create(ReadOnlySequence<byte>.Empty);
await reader.ReadAsync();
reader.Complete();
}
[Fact]
public async Task AdvanceAfterCompleteThrows()
{
PipeReader reader = PipeReader.Create(new ReadOnlySequence<byte>(new byte[100]));
ReadOnlySequence<byte> buffer = (await reader.ReadAsync()).Buffer;
reader.Complete();
Assert.Throws<InvalidOperationException>(() => reader.AdvanceTo(buffer.End));
}
[Fact]
public async Task ThrowsOnReadAfterCompleteReader()
{
PipeReader reader = PipeReader.Create(ReadOnlySequence<byte>.Empty);
reader.Complete();
await Assert.ThrowsAsync<InvalidOperationException>(async () => await reader.ReadAsync());
}
[Fact]
public void TryReadAfterCancelPendingReadReturnsTrue()
{
PipeReader reader = PipeReader.Create(ReadOnlySequence<byte>.Empty);
reader.CancelPendingRead();
Assert.True(reader.TryRead(out ReadResult result));
Assert.True(result.IsCanceled);
reader.AdvanceTo(result.Buffer.End);
reader.Complete();
}
[Fact]
public async Task ReadAsyncReturnsCanceledIfCanceledBeforeRead()
{
var sequence = new ReadOnlySequence<byte>(new byte[10000]);
PipeReader reader = PipeReader.Create(sequence);
// Make sure state isn't used from before
for (var i = 0; i < 3; i++)
{
reader.CancelPendingRead();
ValueTask<ReadResult> readResultTask = reader.ReadAsync();
Assert.True(readResultTask.IsCompleted);
ReadResult readResult = readResultTask.GetAwaiter().GetResult();
Assert.True(readResult.IsCanceled);
readResult = await reader.ReadAsync();
reader.AdvanceTo(readResult.Buffer.End);
}
reader.Complete();
}
[Fact]
public async Task ReadAsyncReturnsCanceledInterleaved()
{
var sequence = new ReadOnlySequence<byte>(new byte[10000]);
PipeReader reader = PipeReader.Create(sequence);
// Cancel and Read interleaved to confirm cancellations are independent
for (var i = 0; i < 3; i++)
{
reader.CancelPendingRead();
ValueTask<ReadResult> readResultTask = reader.ReadAsync();
Assert.True(readResultTask.IsCompleted);
ReadResult readResult = readResultTask.GetAwaiter().GetResult();
Assert.True(readResult.IsCanceled);
readResult = await reader.ReadAsync();
Assert.False(readResult.IsCanceled);
}
reader.Complete();
}
[Fact]
public void OnWriterCompletedNoops()
{
bool fired = false;
PipeReader reader = PipeReader.Create(ReadOnlySequence<byte>.Empty);
#pragma warning disable CS0618 // Type or member is obsolete
reader.OnWriterCompleted((_, __) => { fired = true; }, null);
#pragma warning restore CS0618 // Type or member is obsolete
reader.Complete();
Assert.False(fired);
}
private static async Task<string> ReadFromPipeAsString(PipeReader reader)
{
ReadResult readResult = await reader.ReadAsync();
var result = Encoding.ASCII.GetString(readResult.Buffer.ToArray());
reader.AdvanceTo(readResult.Buffer.End);
return result;
}
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/libraries/System.Private.Xml/src/System/Xml/XPath/Internal/Query.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Xml;
using System.Xml.XPath;
using System.Xml.Xsl;
namespace MS.Internal.Xml.XPath
{
// See comments to QueryBuilder.Props
// Not all of them are used currently
internal enum QueryProps
{
None = 0x00,
Position = 0x01,
Count = 0x02,
Cached = 0x04,
Reverse = 0x08,
Merge = 0x10,
};
// Turn off DebuggerDisplayAttribute. in subclasses of Query.
// Calls to Current in the XPathNavigator.DebuggerDisplayProxy may change state or throw
[DebuggerDisplay("{ToString()}")]
internal abstract class Query : ResetableIterator
{
public Query() { }
protected Query(Query other) : base(other) { }
// -- XPathNodeIterator --
public override bool MoveNext() { return Advance() != null; }
public override int Count
{
get
{
// Query can be ordered in reverse order. So we can't assume like base.Count that last node has greatest position.
if (count == -1)
{
Query clone = (Query)this.Clone();
clone.Reset();
count = 0;
while (clone.MoveNext()) count++;
}
return count;
}
}
// -------------------- Query ------------------
public virtual void SetXsltContext(XsltContext context) { }
public abstract object Evaluate(XPathNodeIterator nodeIterator);
public abstract XPathNavigator? Advance();
public virtual XPathNavigator? MatchNode(XPathNavigator? current)
{
throw XPathException.Create(SR.Xp_InvalidPattern);
}
public virtual double XsltDefaultPriority { get { return 0.5; } }
public abstract XPathResultType StaticType { get; }
public virtual QueryProps Properties { get { return QueryProps.Merge; } }
// ----------------- Helper methods -------------
[return: NotNullIfNotNull("input")]
public static Query? Clone(Query? input)
{
if (input != null)
{
return (Query)input.Clone();
}
return null;
}
[return: NotNullIfNotNull("input")]
protected static XPathNodeIterator? Clone(XPathNodeIterator? input)
{
if (input != null)
{
return input.Clone();
}
return null;
}
[return: NotNullIfNotNull("input")]
protected static XPathNavigator? Clone(XPathNavigator? input)
{
if (input != null)
{
return input.Clone();
}
return null;
}
// -----------------------------------------------------
// Set of methods to support insertion to sorted buffer.
// buffer is always sorted here
public static bool Insert(List<XPathNavigator> buffer, XPathNavigator nav)
{
int l = 0;
int r = buffer.Count;
// In most cases nodes are already sorted.
// This means that nav often will be equal or after then last item in the buffer
// So let's check this first.
if (r != 0)
{
switch (CompareNodes(buffer[r - 1], nav))
{
case XmlNodeOrder.Same:
return false;
case XmlNodeOrder.Before:
buffer.Add(nav.Clone());
return true;
default:
r--;
break;
}
}
while (l < r)
{
int m = GetMedian(l, r);
switch (CompareNodes(buffer[m], nav))
{
case XmlNodeOrder.Same:
return false;
case XmlNodeOrder.Before:
l = m + 1;
break;
default:
r = m;
break;
}
}
buffer.Insert(l, nav.Clone());
return true;
}
private static int GetMedian(int l, int r)
{
Debug.Assert(0 <= l && l < r);
return (int)(((uint)l + (uint)r) >> 1);
}
public static XmlNodeOrder CompareNodes(XPathNavigator l, XPathNavigator r)
{
XmlNodeOrder cmp = l.ComparePosition(r);
if (cmp == XmlNodeOrder.Unknown)
{
XPathNavigator copy = l.Clone();
copy.MoveToRoot();
string baseUriL = copy.BaseURI;
if (!copy.MoveTo(r))
{
copy = r.Clone();
}
copy.MoveToRoot();
string baseUriR = copy.BaseURI;
int cmpBase = string.CompareOrdinal(baseUriL, baseUriR);
cmp = (
cmpBase < 0 ? XmlNodeOrder.Before :
cmpBase > 0 ? XmlNodeOrder.After :
/*default*/ XmlNodeOrder.Unknown
);
}
return cmp;
}
// =================== XPathResultType_Navigator ======================
// In v.1.0 and v.1.1 XPathResultType.Navigator is defined == to XPathResultType.String
// This is source for multiple bugs or additional type casts.
// To fix all of them in one change in v.2 we internally use one more value:
public const XPathResultType XPathResultType_Navigator = (XPathResultType)4;
// The biggest challenge in this change is preserve backward compatibility with v.1.1
// To achieve this in all places where we accept from or report to user XPathResultType.
// On my best knowledge this happens only in XsltContext.ResolveFunction() / IXsltContextFunction.ReturnType
protected XPathResultType GetXPathType(object value)
{
if (value is XPathNodeIterator) return XPathResultType.NodeSet;
if (value is string) return XPathResultType.String;
if (value is double) return XPathResultType.Number;
if (value is bool) return XPathResultType.Boolean;
Debug.Assert(value is XPathNavigator, "Unknown value type");
return XPathResultType_Navigator;
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Xml;
using System.Xml.XPath;
using System.Xml.Xsl;
namespace MS.Internal.Xml.XPath
{
// See comments to QueryBuilder.Props
// Not all of them are used currently
internal enum QueryProps
{
None = 0x00,
Position = 0x01,
Count = 0x02,
Cached = 0x04,
Reverse = 0x08,
Merge = 0x10,
};
// Turn off DebuggerDisplayAttribute. in subclasses of Query.
// Calls to Current in the XPathNavigator.DebuggerDisplayProxy may change state or throw
[DebuggerDisplay("{ToString()}")]
internal abstract class Query : ResetableIterator
{
public Query() { }
protected Query(Query other) : base(other) { }
// -- XPathNodeIterator --
public override bool MoveNext() { return Advance() != null; }
public override int Count
{
get
{
// Query can be ordered in reverse order. So we can't assume like base.Count that last node has greatest position.
if (count == -1)
{
Query clone = (Query)this.Clone();
clone.Reset();
count = 0;
while (clone.MoveNext()) count++;
}
return count;
}
}
// -------------------- Query ------------------
public virtual void SetXsltContext(XsltContext context) { }
public abstract object Evaluate(XPathNodeIterator nodeIterator);
public abstract XPathNavigator? Advance();
public virtual XPathNavigator? MatchNode(XPathNavigator? current)
{
throw XPathException.Create(SR.Xp_InvalidPattern);
}
public virtual double XsltDefaultPriority { get { return 0.5; } }
public abstract XPathResultType StaticType { get; }
public virtual QueryProps Properties { get { return QueryProps.Merge; } }
// ----------------- Helper methods -------------
[return: NotNullIfNotNull("input")]
public static Query? Clone(Query? input)
{
if (input != null)
{
return (Query)input.Clone();
}
return null;
}
[return: NotNullIfNotNull("input")]
protected static XPathNodeIterator? Clone(XPathNodeIterator? input)
{
if (input != null)
{
return input.Clone();
}
return null;
}
[return: NotNullIfNotNull("input")]
protected static XPathNavigator? Clone(XPathNavigator? input)
{
if (input != null)
{
return input.Clone();
}
return null;
}
// -----------------------------------------------------
// Set of methods to support insertion to sorted buffer.
// buffer is always sorted here
public static bool Insert(List<XPathNavigator> buffer, XPathNavigator nav)
{
int l = 0;
int r = buffer.Count;
// In most cases nodes are already sorted.
// This means that nav often will be equal or after then last item in the buffer
// So let's check this first.
if (r != 0)
{
switch (CompareNodes(buffer[r - 1], nav))
{
case XmlNodeOrder.Same:
return false;
case XmlNodeOrder.Before:
buffer.Add(nav.Clone());
return true;
default:
r--;
break;
}
}
while (l < r)
{
int m = GetMedian(l, r);
switch (CompareNodes(buffer[m], nav))
{
case XmlNodeOrder.Same:
return false;
case XmlNodeOrder.Before:
l = m + 1;
break;
default:
r = m;
break;
}
}
buffer.Insert(l, nav.Clone());
return true;
}
private static int GetMedian(int l, int r)
{
Debug.Assert(0 <= l && l < r);
return (int)(((uint)l + (uint)r) >> 1);
}
public static XmlNodeOrder CompareNodes(XPathNavigator l, XPathNavigator r)
{
XmlNodeOrder cmp = l.ComparePosition(r);
if (cmp == XmlNodeOrder.Unknown)
{
XPathNavigator copy = l.Clone();
copy.MoveToRoot();
string baseUriL = copy.BaseURI;
if (!copy.MoveTo(r))
{
copy = r.Clone();
}
copy.MoveToRoot();
string baseUriR = copy.BaseURI;
int cmpBase = string.CompareOrdinal(baseUriL, baseUriR);
cmp = (
cmpBase < 0 ? XmlNodeOrder.Before :
cmpBase > 0 ? XmlNodeOrder.After :
/*default*/ XmlNodeOrder.Unknown
);
}
return cmp;
}
// =================== XPathResultType_Navigator ======================
// In v.1.0 and v.1.1 XPathResultType.Navigator is defined == to XPathResultType.String
// This is source for multiple bugs or additional type casts.
// To fix all of them in one change in v.2 we internally use one more value:
public const XPathResultType XPathResultType_Navigator = (XPathResultType)4;
// The biggest challenge in this change is preserve backward compatibility with v.1.1
// To achieve this in all places where we accept from or report to user XPathResultType.
// On my best knowledge this happens only in XsltContext.ResolveFunction() / IXsltContextFunction.ReturnType
protected XPathResultType GetXPathType(object value)
{
if (value is XPathNodeIterator) return XPathResultType.NodeSet;
if (value is string) return XPathResultType.String;
if (value is double) return XPathResultType.Number;
if (value is bool) return XPathResultType.Boolean;
Debug.Assert(value is XPathNavigator, "Unknown value type");
return XPathResultType_Navigator;
}
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Expression.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Dynamic.Utils;
using System.Globalization;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Threading;
namespace System.Linq.Expressions
{
/// <summary>
/// The base type for all nodes in Expression Trees.
/// </summary>
public abstract partial class Expression
{
internal const string ExpressionRequiresUnreferencedCode = "Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.";
internal const string PropertyFromAccessorRequiresUnreferencedCode = "The Property metadata or other accessor may be trimmed.";
internal const string GenericMethodRequiresUnreferencedCode = "Calling a generic method cannot be statically analyzed. It's not possible to guarantee the availability of requirements of the generic method. This can be suppressed if the method is not generic.";
private static readonly CacheDict<Type, MethodInfo> s_lambdaDelegateCache = new CacheDict<Type, MethodInfo>(40);
private static volatile CacheDict<Type, Func<Expression, string?, bool, ReadOnlyCollection<ParameterExpression>, LambdaExpression>>? s_lambdaFactories;
// For 4.0, many frequently used Expression nodes have had their memory
// footprint reduced by removing the Type and NodeType fields. This has
// large performance benefits to all users of Expression Trees.
//
// To support the 3.5 protected constructor, we store the fields that
// used to be here in a ConditionalWeakTable.
private sealed class ExtensionInfo
{
public ExtensionInfo(ExpressionType nodeType, Type type)
{
NodeType = nodeType;
Type = type;
}
internal readonly ExpressionType NodeType;
internal readonly Type Type;
}
private static ConditionalWeakTable<Expression, ExtensionInfo>? s_legacyCtorSupportTable;
/// <summary>
/// Constructs a new instance of <see cref="Expression"/>.
/// </summary>
/// <param name="nodeType">The <see ctype="ExpressionType"/> of the <see cref="Expression"/>.</param>
/// <param name="type">The <see cref="Type"/> of the <see cref="Expression"/>.</param>
[Obsolete("This constructor has been deprecated. Use a different constructor that does not take ExpressionType. Then override NodeType and Type properties to provide the values that would be specified to this constructor.")]
protected Expression(ExpressionType nodeType, Type type)
{
// Can't enforce anything that V1 didn't
if (s_legacyCtorSupportTable == null)
{
Interlocked.CompareExchange(
ref s_legacyCtorSupportTable,
new ConditionalWeakTable<Expression, ExtensionInfo>(),
comparand: null
);
}
s_legacyCtorSupportTable.Add(this, new ExtensionInfo(nodeType, type));
}
/// <summary>
/// Constructs a new instance of <see cref="Expression"/>.
/// </summary>
protected Expression()
{
}
/// <summary>
/// The <see cref="ExpressionType"/> of the <see cref="Expression"/>.
/// </summary>
public virtual ExpressionType NodeType
{
get
{
if (s_legacyCtorSupportTable != null && s_legacyCtorSupportTable.TryGetValue(this, out ExtensionInfo? extInfo))
{
return extInfo.NodeType;
}
// the extension expression failed to override NodeType
throw Error.ExtensionNodeMustOverrideProperty("Expression.NodeType");
}
}
/// <summary>
/// The <see cref="Type"/> of the value represented by this <see cref="Expression"/>.
/// </summary>
public virtual Type Type
{
get
{
if (s_legacyCtorSupportTable != null && s_legacyCtorSupportTable.TryGetValue(this, out ExtensionInfo? extInfo))
{
return extInfo.Type;
}
// the extension expression failed to override Type
throw Error.ExtensionNodeMustOverrideProperty("Expression.Type");
}
}
/// <summary>
/// Indicates that the node can be reduced to a simpler node. If this
/// returns true, Reduce() can be called to produce the reduced form.
/// </summary>
public virtual bool CanReduce => false;
/// <summary>
/// Reduces this node to a simpler expression. If CanReduce returns
/// true, this should return a valid expression. This method is
/// allowed to return another node which itself must be reduced.
/// </summary>
/// <returns>The reduced expression.</returns>
public virtual Expression Reduce()
{
if (CanReduce) throw Error.ReducibleMustOverrideReduce();
return this;
}
/// <summary>
/// Reduces the node and then calls the <see cref="ExpressionVisitor.Visit(Expression)"/> method passing the reduced expression.
/// Throws an exception if the node isn't reducible.
/// </summary>
/// <param name="visitor">An instance of <see cref="ExpressionVisitor"/>.</param>
/// <returns>The expression being visited, or an expression which should replace it in the tree.</returns>
/// <remarks>
/// Override this method to provide logic to walk the node's children.
/// A typical implementation will call visitor.Visit on each of its
/// children, and if any of them change, should return a new copy of
/// itself with the modified children.
/// </remarks>
protected internal virtual Expression VisitChildren(ExpressionVisitor visitor)
{
if (!CanReduce) throw Error.MustBeReducible();
return visitor.Visit(ReduceAndCheck());
}
/// <summary>
/// Dispatches to the specific visit method for this node type. For
/// example, <see cref="MethodCallExpression"/> will call into
/// <see cref="ExpressionVisitor.VisitMethodCall"/>.
/// </summary>
/// <param name="visitor">The visitor to visit this node with.</param>
/// <returns>The result of visiting this node.</returns>
/// <remarks>
/// This default implementation for <see cref="ExpressionType.Extension"/>
/// nodes will call <see cref="ExpressionVisitor.VisitExtension"/>.
/// Override this method to call into a more specific method on a derived
/// visitor class of ExprressionVisitor. However, it should still
/// support unknown visitors by calling VisitExtension.
/// </remarks>
protected internal virtual Expression Accept(ExpressionVisitor visitor)
{
return visitor.VisitExtension(this);
}
/// <summary>
/// Reduces this node to a simpler expression. If CanReduce returns
/// true, this should return a valid expression. This method is
/// allowed to return another node which itself must be reduced.
/// </summary>
/// <returns>The reduced expression.</returns>
/// <remarks >
/// Unlike Reduce, this method checks that the reduced node satisfies
/// certain invariants.
/// </remarks>
public Expression ReduceAndCheck()
{
if (!CanReduce) throw Error.MustBeReducible();
Expression newNode = Reduce();
// 1. Reduction must return a new, non-null node
// 2. Reduction must return a new node whose result type can be assigned to the type of the original node
if (newNode == null || newNode == this) throw Error.MustReduceToDifferent();
if (!TypeUtils.AreReferenceAssignable(Type, newNode.Type)) throw Error.ReducedNotCompatible();
return newNode;
}
/// <summary>
/// Reduces the expression to a known node type (i.e. not an Extension node)
/// or simply returns the expression if it is already a known type.
/// </summary>
/// <returns>The reduced expression.</returns>
public Expression ReduceExtensions()
{
Expression node = this;
while (node.NodeType == ExpressionType.Extension)
{
node = node.ReduceAndCheck();
}
return node;
}
/// <summary>
/// Creates a <see cref="string"/> representation of the Expression.
/// </summary>
/// <returns>A <see cref="string"/> representation of the Expression.</returns>
public override string ToString()
{
return ExpressionStringBuilder.ExpressionToString(this);
}
/// <summary>
/// Creates a <see cref="string"/> representation of the Expression.
/// </summary>
/// <returns>A <see cref="string"/> representation of the Expression.</returns>
private string DebugView
{
// Note that this property is often accessed using reflection. As such it will have more dependencies than one
// might surmise from its being internal, and removing it requires greater caution than with other internal methods.
get
{
using (System.IO.StringWriter writer = new System.IO.StringWriter(CultureInfo.CurrentCulture))
{
DebugViewWriter.WriteTo(this, writer);
return writer.ToString();
}
}
}
private static void RequiresCanRead(IReadOnlyList<Expression> items, string paramName)
{
Debug.Assert(items != null);
// this is called a lot, avoid allocating an enumerator if we can...
for (int i = 0, n = items.Count; i < n; i++)
{
ExpressionUtils.RequiresCanRead(items[i], paramName, i);
}
}
private static void RequiresCanWrite(Expression expression, string paramName)
{
if (expression == null)
{
throw new ArgumentNullException(paramName);
}
switch (expression.NodeType)
{
case ExpressionType.Index:
PropertyInfo? indexer = ((IndexExpression)expression).Indexer;
if (indexer == null || indexer.CanWrite)
{
return;
}
break;
case ExpressionType.MemberAccess:
MemberInfo member = ((MemberExpression)expression).Member;
if (member is PropertyInfo prop)
{
if (prop.CanWrite)
{
return;
}
}
else
{
Debug.Assert(member is FieldInfo);
FieldInfo field = (FieldInfo)member;
if (!(field.IsInitOnly || field.IsLiteral))
{
return;
}
}
break;
case ExpressionType.Parameter:
return;
}
throw Error.ExpressionMustBeWriteable(paramName);
}
/// <summary>
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />.
/// </summary>
/// <param name="binder">The runtime binder for the dynamic operation.</param>
/// <param name="returnType">The result type of the dynamic expression.</param>
/// <param name="arguments">The arguments to the dynamic operation.</param>
/// <returns>
/// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.Binder">Binder</see> and
/// <see cref="DynamicExpression.Arguments">Arguments</see> set to the specified values.
/// </returns>
/// <remarks>
/// The <see cref="DynamicExpression.DelegateType">DelegateType</see> property of the
/// result will be inferred from the types of the arguments and the specified return type.
/// </remarks>
public static DynamicExpression Dynamic(CallSiteBinder binder, Type returnType, IEnumerable<Expression> arguments) =>
DynamicExpression.Dynamic(binder, returnType, arguments);
/// <summary>
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />.
/// </summary>
/// <param name="binder">The runtime binder for the dynamic operation.</param>
/// <param name="returnType">The result type of the dynamic expression.</param>
/// <param name="arg0">The first argument to the dynamic operation.</param>
/// <returns>
/// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.Binder">Binder</see> and
/// <see cref="DynamicExpression.Arguments">Arguments</see> set to the specified values.
/// </returns>
/// <remarks>
/// The <see cref="DynamicExpression.DelegateType">DelegateType</see> property of the
/// result will be inferred from the types of the arguments and the specified return type.
/// </remarks>
public static DynamicExpression Dynamic(CallSiteBinder binder, Type returnType, Expression arg0) =>
DynamicExpression.Dynamic(binder, returnType, arg0);
/// <summary>
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />.
/// </summary>
/// <param name="binder">The runtime binder for the dynamic operation.</param>
/// <param name="returnType">The result type of the dynamic expression.</param>
/// <param name="arg0">The first argument to the dynamic operation.</param>
/// <param name="arg1">The second argument to the dynamic operation.</param>
/// <returns>
/// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.Binder">Binder</see> and
/// <see cref="DynamicExpression.Arguments">Arguments</see> set to the specified values.
/// </returns>
/// <remarks>
/// The <see cref="DynamicExpression.DelegateType">DelegateType</see> property of the
/// result will be inferred from the types of the arguments and the specified return type.
/// </remarks>
public static DynamicExpression Dynamic(CallSiteBinder binder, Type returnType, Expression arg0, Expression arg1) =>
DynamicExpression.Dynamic(binder, returnType, arg0, arg1);
/// <summary>
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />.
/// </summary>
/// <param name="binder">The runtime binder for the dynamic operation.</param>
/// <param name="returnType">The result type of the dynamic expression.</param>
/// <param name="arg0">The first argument to the dynamic operation.</param>
/// <param name="arg1">The second argument to the dynamic operation.</param>
/// <param name="arg2">The third argument to the dynamic operation.</param>
/// <returns>
/// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.Binder">Binder</see> and
/// <see cref="DynamicExpression.Arguments">Arguments</see> set to the specified values.
/// </returns>
/// <remarks>
/// The <see cref="DynamicExpression.DelegateType">DelegateType</see> property of the
/// result will be inferred from the types of the arguments and the specified return type.
/// </remarks>
public static DynamicExpression Dynamic(CallSiteBinder binder, Type returnType, Expression arg0, Expression arg1, Expression arg2) =>
DynamicExpression.Dynamic(binder, returnType, arg0, arg1, arg2);
/// <summary>
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />.
/// </summary>
/// <param name="binder">The runtime binder for the dynamic operation.</param>
/// <param name="returnType">The result type of the dynamic expression.</param>
/// <param name="arg0">The first argument to the dynamic operation.</param>
/// <param name="arg1">The second argument to the dynamic operation.</param>
/// <param name="arg2">The third argument to the dynamic operation.</param>
/// <param name="arg3">The fourth argument to the dynamic operation.</param>
/// <returns>
/// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.Binder">Binder</see> and
/// <see cref="DynamicExpression.Arguments">Arguments</see> set to the specified values.
/// </returns>
/// <remarks>
/// The <see cref="DynamicExpression.DelegateType">DelegateType</see> property of the
/// result will be inferred from the types of the arguments and the specified return type.
/// </remarks>
public static DynamicExpression Dynamic(CallSiteBinder binder, Type returnType, Expression arg0, Expression arg1, Expression arg2, Expression arg3) =>
DynamicExpression.Dynamic(binder, returnType, arg0, arg1, arg2, arg3);
/// <summary>
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />.
/// </summary>
/// <param name="binder">The runtime binder for the dynamic operation.</param>
/// <param name="returnType">The result type of the dynamic expression.</param>
/// <param name="arguments">The arguments to the dynamic operation.</param>
/// <returns>
/// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.Binder">Binder</see> and
/// <see cref="DynamicExpression.Arguments">Arguments</see> set to the specified values.
/// </returns>
/// <remarks>
/// The <see cref="DynamicExpression.DelegateType">DelegateType</see> property of the
/// result will be inferred from the types of the arguments and the specified return type.
/// </remarks>
public static DynamicExpression Dynamic(CallSiteBinder binder, Type returnType, params Expression[] arguments) =>
DynamicExpression.Dynamic(binder, returnType, arguments);
/// <summary>
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />.
/// </summary>
/// <param name="delegateType">The type of the delegate used by the <see cref="CallSite" />.</param>
/// <param name="binder">The runtime binder for the dynamic operation.</param>
/// <param name="arguments">The arguments to the dynamic operation.</param>
/// <returns>
/// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.DelegateType">DelegateType</see>,
/// <see cref="DynamicExpression.Binder">Binder</see>, and
/// <see cref="DynamicExpression.Arguments">Arguments</see> set to the specified values.
/// </returns>
public static DynamicExpression MakeDynamic(Type delegateType, CallSiteBinder binder, IEnumerable<Expression>? arguments) =>
DynamicExpression.MakeDynamic(delegateType, binder, arguments);
/// <summary>
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" /> and one argument.
/// </summary>
/// <param name="delegateType">The type of the delegate used by the <see cref="CallSite" />.</param>
/// <param name="binder">The runtime binder for the dynamic operation.</param>
/// <param name="arg0">The argument to the dynamic operation.</param>
/// <returns>
/// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.DelegateType">DelegateType</see>,
/// <see cref="DynamicExpression.Binder">Binder</see>, and
/// <see cref="DynamicExpression.Arguments">Arguments</see> set to the specified values.
/// </returns>
public static DynamicExpression MakeDynamic(Type delegateType, CallSiteBinder binder, Expression arg0) =>
DynamicExpression.MakeDynamic(delegateType, binder, arg0);
/// <summary>
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" /> and two arguments.
/// </summary>
/// <param name="delegateType">The type of the delegate used by the <see cref="CallSite" />.</param>
/// <param name="binder">The runtime binder for the dynamic operation.</param>
/// <param name="arg0">The first argument to the dynamic operation.</param>
/// <param name="arg1">The second argument to the dynamic operation.</param>
/// <returns>
/// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.DelegateType">DelegateType</see>,
/// <see cref="DynamicExpression.Binder">Binder</see>, and
/// <see cref="DynamicExpression.Arguments">Arguments</see> set to the specified values.
/// </returns>
public static DynamicExpression MakeDynamic(Type delegateType, CallSiteBinder binder, Expression arg0, Expression arg1) =>
DynamicExpression.MakeDynamic(delegateType, binder, arg0, arg1);
/// <summary>
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" /> and three arguments.
/// </summary>
/// <param name="delegateType">The type of the delegate used by the <see cref="CallSite" />.</param>
/// <param name="binder">The runtime binder for the dynamic operation.</param>
/// <param name="arg0">The first argument to the dynamic operation.</param>
/// <param name="arg1">The second argument to the dynamic operation.</param>
/// <param name="arg2">The third argument to the dynamic operation.</param>
/// <returns>
/// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.DelegateType">DelegateType</see>,
/// <see cref="DynamicExpression.Binder">Binder</see>, and
/// <see cref="DynamicExpression.Arguments">Arguments</see> set to the specified values.
/// </returns>
public static DynamicExpression MakeDynamic(Type delegateType, CallSiteBinder binder, Expression arg0, Expression arg1, Expression arg2) =>
DynamicExpression.MakeDynamic(delegateType, binder, arg0, arg1, arg2);
/// <summary>
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" /> and four arguments.
/// </summary>
/// <param name="delegateType">The type of the delegate used by the <see cref="CallSite" />.</param>
/// <param name="binder">The runtime binder for the dynamic operation.</param>
/// <param name="arg0">The first argument to the dynamic operation.</param>
/// <param name="arg1">The second argument to the dynamic operation.</param>
/// <param name="arg2">The third argument to the dynamic operation.</param>
/// <param name="arg3">The fourth argument to the dynamic operation.</param>
/// <returns>
/// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.DelegateType">DelegateType</see>,
/// <see cref="DynamicExpression.Binder">Binder</see>, and
/// <see cref="DynamicExpression.Arguments">Arguments</see> set to the specified values.
/// </returns>
public static DynamicExpression MakeDynamic(Type delegateType, CallSiteBinder binder, Expression arg0, Expression arg1, Expression arg2, Expression arg3) =>
DynamicExpression.MakeDynamic(delegateType, binder, arg0, arg1, arg2, arg3);
/// <summary>
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />.
/// </summary>
/// <param name="delegateType">The type of the delegate used by the <see cref="CallSite" />.</param>
/// <param name="binder">The runtime binder for the dynamic operation.</param>
/// <param name="arguments">The arguments to the dynamic operation.</param>
/// <returns>
/// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.DelegateType">DelegateType</see>,
/// <see cref="DynamicExpression.Binder">Binder</see>, and
/// <see cref="DynamicExpression.Arguments">Arguments</see> set to the specified values.
/// </returns>
public static DynamicExpression MakeDynamic(Type delegateType, CallSiteBinder binder, params Expression[]? arguments) =>
MakeDynamic(delegateType, binder, (IEnumerable<Expression>?)arguments);
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Dynamic.Utils;
using System.Globalization;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Threading;
namespace System.Linq.Expressions
{
/// <summary>
/// The base type for all nodes in Expression Trees.
/// </summary>
public abstract partial class Expression
{
internal const string ExpressionRequiresUnreferencedCode = "Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.";
internal const string PropertyFromAccessorRequiresUnreferencedCode = "The Property metadata or other accessor may be trimmed.";
internal const string GenericMethodRequiresUnreferencedCode = "Calling a generic method cannot be statically analyzed. It's not possible to guarantee the availability of requirements of the generic method. This can be suppressed if the method is not generic.";
private static readonly CacheDict<Type, MethodInfo> s_lambdaDelegateCache = new CacheDict<Type, MethodInfo>(40);
private static volatile CacheDict<Type, Func<Expression, string?, bool, ReadOnlyCollection<ParameterExpression>, LambdaExpression>>? s_lambdaFactories;
// For 4.0, many frequently used Expression nodes have had their memory
// footprint reduced by removing the Type and NodeType fields. This has
// large performance benefits to all users of Expression Trees.
//
// To support the 3.5 protected constructor, we store the fields that
// used to be here in a ConditionalWeakTable.
private sealed class ExtensionInfo
{
public ExtensionInfo(ExpressionType nodeType, Type type)
{
NodeType = nodeType;
Type = type;
}
internal readonly ExpressionType NodeType;
internal readonly Type Type;
}
private static ConditionalWeakTable<Expression, ExtensionInfo>? s_legacyCtorSupportTable;
/// <summary>
/// Constructs a new instance of <see cref="Expression"/>.
/// </summary>
/// <param name="nodeType">The <see ctype="ExpressionType"/> of the <see cref="Expression"/>.</param>
/// <param name="type">The <see cref="Type"/> of the <see cref="Expression"/>.</param>
[Obsolete("This constructor has been deprecated. Use a different constructor that does not take ExpressionType. Then override NodeType and Type properties to provide the values that would be specified to this constructor.")]
protected Expression(ExpressionType nodeType, Type type)
{
// Can't enforce anything that V1 didn't
if (s_legacyCtorSupportTable == null)
{
Interlocked.CompareExchange(
ref s_legacyCtorSupportTable,
new ConditionalWeakTable<Expression, ExtensionInfo>(),
comparand: null
);
}
s_legacyCtorSupportTable.Add(this, new ExtensionInfo(nodeType, type));
}
/// <summary>
/// Constructs a new instance of <see cref="Expression"/>.
/// </summary>
protected Expression()
{
}
/// <summary>
/// The <see cref="ExpressionType"/> of the <see cref="Expression"/>.
/// </summary>
public virtual ExpressionType NodeType
{
get
{
if (s_legacyCtorSupportTable != null && s_legacyCtorSupportTable.TryGetValue(this, out ExtensionInfo? extInfo))
{
return extInfo.NodeType;
}
// the extension expression failed to override NodeType
throw Error.ExtensionNodeMustOverrideProperty("Expression.NodeType");
}
}
/// <summary>
/// The <see cref="Type"/> of the value represented by this <see cref="Expression"/>.
/// </summary>
public virtual Type Type
{
get
{
if (s_legacyCtorSupportTable != null && s_legacyCtorSupportTable.TryGetValue(this, out ExtensionInfo? extInfo))
{
return extInfo.Type;
}
// the extension expression failed to override Type
throw Error.ExtensionNodeMustOverrideProperty("Expression.Type");
}
}
/// <summary>
/// Indicates that the node can be reduced to a simpler node. If this
/// returns true, Reduce() can be called to produce the reduced form.
/// </summary>
public virtual bool CanReduce => false;
/// <summary>
/// Reduces this node to a simpler expression. If CanReduce returns
/// true, this should return a valid expression. This method is
/// allowed to return another node which itself must be reduced.
/// </summary>
/// <returns>The reduced expression.</returns>
public virtual Expression Reduce()
{
if (CanReduce) throw Error.ReducibleMustOverrideReduce();
return this;
}
/// <summary>
/// Reduces the node and then calls the <see cref="ExpressionVisitor.Visit(Expression)"/> method passing the reduced expression.
/// Throws an exception if the node isn't reducible.
/// </summary>
/// <param name="visitor">An instance of <see cref="ExpressionVisitor"/>.</param>
/// <returns>The expression being visited, or an expression which should replace it in the tree.</returns>
/// <remarks>
/// Override this method to provide logic to walk the node's children.
/// A typical implementation will call visitor.Visit on each of its
/// children, and if any of them change, should return a new copy of
/// itself with the modified children.
/// </remarks>
protected internal virtual Expression VisitChildren(ExpressionVisitor visitor)
{
if (!CanReduce) throw Error.MustBeReducible();
return visitor.Visit(ReduceAndCheck());
}
/// <summary>
/// Dispatches to the specific visit method for this node type. For
/// example, <see cref="MethodCallExpression"/> will call into
/// <see cref="ExpressionVisitor.VisitMethodCall"/>.
/// </summary>
/// <param name="visitor">The visitor to visit this node with.</param>
/// <returns>The result of visiting this node.</returns>
/// <remarks>
/// This default implementation for <see cref="ExpressionType.Extension"/>
/// nodes will call <see cref="ExpressionVisitor.VisitExtension"/>.
/// Override this method to call into a more specific method on a derived
/// visitor class of ExprressionVisitor. However, it should still
/// support unknown visitors by calling VisitExtension.
/// </remarks>
protected internal virtual Expression Accept(ExpressionVisitor visitor)
{
return visitor.VisitExtension(this);
}
/// <summary>
/// Reduces this node to a simpler expression. If CanReduce returns
/// true, this should return a valid expression. This method is
/// allowed to return another node which itself must be reduced.
/// </summary>
/// <returns>The reduced expression.</returns>
/// <remarks >
/// Unlike Reduce, this method checks that the reduced node satisfies
/// certain invariants.
/// </remarks>
public Expression ReduceAndCheck()
{
if (!CanReduce) throw Error.MustBeReducible();
Expression newNode = Reduce();
// 1. Reduction must return a new, non-null node
// 2. Reduction must return a new node whose result type can be assigned to the type of the original node
if (newNode == null || newNode == this) throw Error.MustReduceToDifferent();
if (!TypeUtils.AreReferenceAssignable(Type, newNode.Type)) throw Error.ReducedNotCompatible();
return newNode;
}
/// <summary>
/// Reduces the expression to a known node type (i.e. not an Extension node)
/// or simply returns the expression if it is already a known type.
/// </summary>
/// <returns>The reduced expression.</returns>
public Expression ReduceExtensions()
{
Expression node = this;
while (node.NodeType == ExpressionType.Extension)
{
node = node.ReduceAndCheck();
}
return node;
}
/// <summary>
/// Creates a <see cref="string"/> representation of the Expression.
/// </summary>
/// <returns>A <see cref="string"/> representation of the Expression.</returns>
public override string ToString()
{
return ExpressionStringBuilder.ExpressionToString(this);
}
/// <summary>
/// Creates a <see cref="string"/> representation of the Expression.
/// </summary>
/// <returns>A <see cref="string"/> representation of the Expression.</returns>
private string DebugView
{
// Note that this property is often accessed using reflection. As such it will have more dependencies than one
// might surmise from its being internal, and removing it requires greater caution than with other internal methods.
get
{
using (System.IO.StringWriter writer = new System.IO.StringWriter(CultureInfo.CurrentCulture))
{
DebugViewWriter.WriteTo(this, writer);
return writer.ToString();
}
}
}
private static void RequiresCanRead(IReadOnlyList<Expression> items, string paramName)
{
Debug.Assert(items != null);
// this is called a lot, avoid allocating an enumerator if we can...
for (int i = 0, n = items.Count; i < n; i++)
{
ExpressionUtils.RequiresCanRead(items[i], paramName, i);
}
}
private static void RequiresCanWrite(Expression expression, string paramName)
{
if (expression == null)
{
throw new ArgumentNullException(paramName);
}
switch (expression.NodeType)
{
case ExpressionType.Index:
PropertyInfo? indexer = ((IndexExpression)expression).Indexer;
if (indexer == null || indexer.CanWrite)
{
return;
}
break;
case ExpressionType.MemberAccess:
MemberInfo member = ((MemberExpression)expression).Member;
if (member is PropertyInfo prop)
{
if (prop.CanWrite)
{
return;
}
}
else
{
Debug.Assert(member is FieldInfo);
FieldInfo field = (FieldInfo)member;
if (!(field.IsInitOnly || field.IsLiteral))
{
return;
}
}
break;
case ExpressionType.Parameter:
return;
}
throw Error.ExpressionMustBeWriteable(paramName);
}
/// <summary>
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />.
/// </summary>
/// <param name="binder">The runtime binder for the dynamic operation.</param>
/// <param name="returnType">The result type of the dynamic expression.</param>
/// <param name="arguments">The arguments to the dynamic operation.</param>
/// <returns>
/// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.Binder">Binder</see> and
/// <see cref="DynamicExpression.Arguments">Arguments</see> set to the specified values.
/// </returns>
/// <remarks>
/// The <see cref="DynamicExpression.DelegateType">DelegateType</see> property of the
/// result will be inferred from the types of the arguments and the specified return type.
/// </remarks>
public static DynamicExpression Dynamic(CallSiteBinder binder, Type returnType, IEnumerable<Expression> arguments) =>
DynamicExpression.Dynamic(binder, returnType, arguments);
/// <summary>
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />.
/// </summary>
/// <param name="binder">The runtime binder for the dynamic operation.</param>
/// <param name="returnType">The result type of the dynamic expression.</param>
/// <param name="arg0">The first argument to the dynamic operation.</param>
/// <returns>
/// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.Binder">Binder</see> and
/// <see cref="DynamicExpression.Arguments">Arguments</see> set to the specified values.
/// </returns>
/// <remarks>
/// The <see cref="DynamicExpression.DelegateType">DelegateType</see> property of the
/// result will be inferred from the types of the arguments and the specified return type.
/// </remarks>
public static DynamicExpression Dynamic(CallSiteBinder binder, Type returnType, Expression arg0) =>
DynamicExpression.Dynamic(binder, returnType, arg0);
/// <summary>
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />.
/// </summary>
/// <param name="binder">The runtime binder for the dynamic operation.</param>
/// <param name="returnType">The result type of the dynamic expression.</param>
/// <param name="arg0">The first argument to the dynamic operation.</param>
/// <param name="arg1">The second argument to the dynamic operation.</param>
/// <returns>
/// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.Binder">Binder</see> and
/// <see cref="DynamicExpression.Arguments">Arguments</see> set to the specified values.
/// </returns>
/// <remarks>
/// The <see cref="DynamicExpression.DelegateType">DelegateType</see> property of the
/// result will be inferred from the types of the arguments and the specified return type.
/// </remarks>
public static DynamicExpression Dynamic(CallSiteBinder binder, Type returnType, Expression arg0, Expression arg1) =>
DynamicExpression.Dynamic(binder, returnType, arg0, arg1);
/// <summary>
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />.
/// </summary>
/// <param name="binder">The runtime binder for the dynamic operation.</param>
/// <param name="returnType">The result type of the dynamic expression.</param>
/// <param name="arg0">The first argument to the dynamic operation.</param>
/// <param name="arg1">The second argument to the dynamic operation.</param>
/// <param name="arg2">The third argument to the dynamic operation.</param>
/// <returns>
/// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.Binder">Binder</see> and
/// <see cref="DynamicExpression.Arguments">Arguments</see> set to the specified values.
/// </returns>
/// <remarks>
/// The <see cref="DynamicExpression.DelegateType">DelegateType</see> property of the
/// result will be inferred from the types of the arguments and the specified return type.
/// </remarks>
public static DynamicExpression Dynamic(CallSiteBinder binder, Type returnType, Expression arg0, Expression arg1, Expression arg2) =>
DynamicExpression.Dynamic(binder, returnType, arg0, arg1, arg2);
/// <summary>
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />.
/// </summary>
/// <param name="binder">The runtime binder for the dynamic operation.</param>
/// <param name="returnType">The result type of the dynamic expression.</param>
/// <param name="arg0">The first argument to the dynamic operation.</param>
/// <param name="arg1">The second argument to the dynamic operation.</param>
/// <param name="arg2">The third argument to the dynamic operation.</param>
/// <param name="arg3">The fourth argument to the dynamic operation.</param>
/// <returns>
/// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.Binder">Binder</see> and
/// <see cref="DynamicExpression.Arguments">Arguments</see> set to the specified values.
/// </returns>
/// <remarks>
/// The <see cref="DynamicExpression.DelegateType">DelegateType</see> property of the
/// result will be inferred from the types of the arguments and the specified return type.
/// </remarks>
public static DynamicExpression Dynamic(CallSiteBinder binder, Type returnType, Expression arg0, Expression arg1, Expression arg2, Expression arg3) =>
DynamicExpression.Dynamic(binder, returnType, arg0, arg1, arg2, arg3);
/// <summary>
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />.
/// </summary>
/// <param name="binder">The runtime binder for the dynamic operation.</param>
/// <param name="returnType">The result type of the dynamic expression.</param>
/// <param name="arguments">The arguments to the dynamic operation.</param>
/// <returns>
/// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.Binder">Binder</see> and
/// <see cref="DynamicExpression.Arguments">Arguments</see> set to the specified values.
/// </returns>
/// <remarks>
/// The <see cref="DynamicExpression.DelegateType">DelegateType</see> property of the
/// result will be inferred from the types of the arguments and the specified return type.
/// </remarks>
public static DynamicExpression Dynamic(CallSiteBinder binder, Type returnType, params Expression[] arguments) =>
DynamicExpression.Dynamic(binder, returnType, arguments);
/// <summary>
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />.
/// </summary>
/// <param name="delegateType">The type of the delegate used by the <see cref="CallSite" />.</param>
/// <param name="binder">The runtime binder for the dynamic operation.</param>
/// <param name="arguments">The arguments to the dynamic operation.</param>
/// <returns>
/// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.DelegateType">DelegateType</see>,
/// <see cref="DynamicExpression.Binder">Binder</see>, and
/// <see cref="DynamicExpression.Arguments">Arguments</see> set to the specified values.
/// </returns>
public static DynamicExpression MakeDynamic(Type delegateType, CallSiteBinder binder, IEnumerable<Expression>? arguments) =>
DynamicExpression.MakeDynamic(delegateType, binder, arguments);
/// <summary>
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" /> and one argument.
/// </summary>
/// <param name="delegateType">The type of the delegate used by the <see cref="CallSite" />.</param>
/// <param name="binder">The runtime binder for the dynamic operation.</param>
/// <param name="arg0">The argument to the dynamic operation.</param>
/// <returns>
/// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.DelegateType">DelegateType</see>,
/// <see cref="DynamicExpression.Binder">Binder</see>, and
/// <see cref="DynamicExpression.Arguments">Arguments</see> set to the specified values.
/// </returns>
public static DynamicExpression MakeDynamic(Type delegateType, CallSiteBinder binder, Expression arg0) =>
DynamicExpression.MakeDynamic(delegateType, binder, arg0);
/// <summary>
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" /> and two arguments.
/// </summary>
/// <param name="delegateType">The type of the delegate used by the <see cref="CallSite" />.</param>
/// <param name="binder">The runtime binder for the dynamic operation.</param>
/// <param name="arg0">The first argument to the dynamic operation.</param>
/// <param name="arg1">The second argument to the dynamic operation.</param>
/// <returns>
/// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.DelegateType">DelegateType</see>,
/// <see cref="DynamicExpression.Binder">Binder</see>, and
/// <see cref="DynamicExpression.Arguments">Arguments</see> set to the specified values.
/// </returns>
public static DynamicExpression MakeDynamic(Type delegateType, CallSiteBinder binder, Expression arg0, Expression arg1) =>
DynamicExpression.MakeDynamic(delegateType, binder, arg0, arg1);
/// <summary>
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" /> and three arguments.
/// </summary>
/// <param name="delegateType">The type of the delegate used by the <see cref="CallSite" />.</param>
/// <param name="binder">The runtime binder for the dynamic operation.</param>
/// <param name="arg0">The first argument to the dynamic operation.</param>
/// <param name="arg1">The second argument to the dynamic operation.</param>
/// <param name="arg2">The third argument to the dynamic operation.</param>
/// <returns>
/// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.DelegateType">DelegateType</see>,
/// <see cref="DynamicExpression.Binder">Binder</see>, and
/// <see cref="DynamicExpression.Arguments">Arguments</see> set to the specified values.
/// </returns>
public static DynamicExpression MakeDynamic(Type delegateType, CallSiteBinder binder, Expression arg0, Expression arg1, Expression arg2) =>
DynamicExpression.MakeDynamic(delegateType, binder, arg0, arg1, arg2);
/// <summary>
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" /> and four arguments.
/// </summary>
/// <param name="delegateType">The type of the delegate used by the <see cref="CallSite" />.</param>
/// <param name="binder">The runtime binder for the dynamic operation.</param>
/// <param name="arg0">The first argument to the dynamic operation.</param>
/// <param name="arg1">The second argument to the dynamic operation.</param>
/// <param name="arg2">The third argument to the dynamic operation.</param>
/// <param name="arg3">The fourth argument to the dynamic operation.</param>
/// <returns>
/// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.DelegateType">DelegateType</see>,
/// <see cref="DynamicExpression.Binder">Binder</see>, and
/// <see cref="DynamicExpression.Arguments">Arguments</see> set to the specified values.
/// </returns>
public static DynamicExpression MakeDynamic(Type delegateType, CallSiteBinder binder, Expression arg0, Expression arg1, Expression arg2, Expression arg3) =>
DynamicExpression.MakeDynamic(delegateType, binder, arg0, arg1, arg2, arg3);
/// <summary>
/// Creates a <see cref="DynamicExpression" /> that represents a dynamic operation bound by the provided <see cref="CallSiteBinder" />.
/// </summary>
/// <param name="delegateType">The type of the delegate used by the <see cref="CallSite" />.</param>
/// <param name="binder">The runtime binder for the dynamic operation.</param>
/// <param name="arguments">The arguments to the dynamic operation.</param>
/// <returns>
/// A <see cref="DynamicExpression" /> that has <see cref="NodeType" /> equal to
/// <see cref="ExpressionType.Dynamic">Dynamic</see> and has the
/// <see cref="DynamicExpression.DelegateType">DelegateType</see>,
/// <see cref="DynamicExpression.Binder">Binder</see>, and
/// <see cref="DynamicExpression.Arguments">Arguments</see> set to the specified values.
/// </returns>
public static DynamicExpression MakeDynamic(Type delegateType, CallSiteBinder binder, params Expression[]? arguments) =>
MakeDynamic(delegateType, binder, (IEnumerable<Expression>?)arguments);
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/tests/JIT/HardwareIntrinsics/General/Vector128/CreateVector.Int64.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/******************************************************************************
* This file is auto-generated from a template file by the GenerateTests.csx *
* script in tests\src\JIT\HardwareIntrinsics\General\Shared. In order to make *
* changes, please update the corresponding template and run according to the *
* directions listed in the file. *
******************************************************************************/
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
namespace JIT.HardwareIntrinsics.General
{
public static partial class Program
{
private static void CreateVectorInt64()
{
var test = new VectorCreate__CreateVectorInt64();
// Validates basic functionality works
test.RunBasicScenario();
// Validates calling via reflection works
test.RunReflectionScenario();
if (!test.Succeeded)
{
throw new Exception("One or more scenarios did not complete as expected.");
}
}
}
public sealed unsafe class VectorCreate__CreateVectorInt64
{
private static readonly int LargestVectorSize = 16;
private static readonly int ElementCount = Unsafe.SizeOf<Vector128<Int64>>() / sizeof(Int64);
public bool Succeeded { get; set; } = true;
public void RunBasicScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario));
Int64 lowerValue = TestLibrary.Generator.GetInt64();
Vector64<Int64> lower = Vector64.Create(lowerValue);
Int64 upperValue = TestLibrary.Generator.GetInt64();
Vector64<Int64> upper = Vector64.Create(upperValue);
Vector128<Int64> result = Vector128.Create(lower, upper);
ValidateResult(result, lowerValue, upperValue);
}
public void RunReflectionScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario));
Int64 lowerValue = TestLibrary.Generator.GetInt64();
Vector64<Int64> lower = Vector64.Create(lowerValue);
Int64 upperValue = TestLibrary.Generator.GetInt64();
Vector64<Int64> upper = Vector64.Create(upperValue);
object result = typeof(Vector128)
.GetMethod(nameof(Vector128.Create), new Type[] { typeof(Vector64<Int64>), typeof(Vector64<Int64>) })
.Invoke(null, new object[] { lower, upper });
ValidateResult((Vector128<Int64>)(result), lowerValue, upperValue);
}
private void ValidateResult(Vector128<Int64> result, Int64 expectedLowerValue, Int64 expectedUpperValue, [CallerMemberName] string method = "")
{
Int64[] resultElements = new Int64[ElementCount];
Unsafe.WriteUnaligned(ref Unsafe.As<Int64, byte>(ref resultElements[0]), result);
ValidateResult(resultElements, expectedLowerValue, expectedUpperValue, method);
}
private void ValidateResult(Int64[] resultElements, Int64 expectedLowerValue, Int64 expectedUpperValue, [CallerMemberName] string method = "")
{
bool succeeded = true;
for (var i = 0; i < ElementCount / 2; i++)
{
if (resultElements[i] != expectedLowerValue)
{
succeeded = false;
break;
}
}
for (var i = ElementCount / 2; i < ElementCount; i++)
{
if (resultElements[i] != expectedUpperValue)
{
succeeded = false;
break;
}
}
if (!succeeded)
{
TestLibrary.TestFramework.LogInformation($"Vector128.Create(Int64): {method} failed:");
TestLibrary.TestFramework.LogInformation($" lower: {expectedLowerValue}");
TestLibrary.TestFramework.LogInformation($" upper: {expectedUpperValue}");
TestLibrary.TestFramework.LogInformation($" result: ({string.Join(", ", resultElements)})");
TestLibrary.TestFramework.LogInformation(string.Empty);
Succeeded = false;
}
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/******************************************************************************
* This file is auto-generated from a template file by the GenerateTests.csx *
* script in tests\src\JIT\HardwareIntrinsics\General\Shared. In order to make *
* changes, please update the corresponding template and run according to the *
* directions listed in the file. *
******************************************************************************/
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
namespace JIT.HardwareIntrinsics.General
{
public static partial class Program
{
private static void CreateVectorInt64()
{
var test = new VectorCreate__CreateVectorInt64();
// Validates basic functionality works
test.RunBasicScenario();
// Validates calling via reflection works
test.RunReflectionScenario();
if (!test.Succeeded)
{
throw new Exception("One or more scenarios did not complete as expected.");
}
}
}
public sealed unsafe class VectorCreate__CreateVectorInt64
{
private static readonly int LargestVectorSize = 16;
private static readonly int ElementCount = Unsafe.SizeOf<Vector128<Int64>>() / sizeof(Int64);
public bool Succeeded { get; set; } = true;
public void RunBasicScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario));
Int64 lowerValue = TestLibrary.Generator.GetInt64();
Vector64<Int64> lower = Vector64.Create(lowerValue);
Int64 upperValue = TestLibrary.Generator.GetInt64();
Vector64<Int64> upper = Vector64.Create(upperValue);
Vector128<Int64> result = Vector128.Create(lower, upper);
ValidateResult(result, lowerValue, upperValue);
}
public void RunReflectionScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario));
Int64 lowerValue = TestLibrary.Generator.GetInt64();
Vector64<Int64> lower = Vector64.Create(lowerValue);
Int64 upperValue = TestLibrary.Generator.GetInt64();
Vector64<Int64> upper = Vector64.Create(upperValue);
object result = typeof(Vector128)
.GetMethod(nameof(Vector128.Create), new Type[] { typeof(Vector64<Int64>), typeof(Vector64<Int64>) })
.Invoke(null, new object[] { lower, upper });
ValidateResult((Vector128<Int64>)(result), lowerValue, upperValue);
}
private void ValidateResult(Vector128<Int64> result, Int64 expectedLowerValue, Int64 expectedUpperValue, [CallerMemberName] string method = "")
{
Int64[] resultElements = new Int64[ElementCount];
Unsafe.WriteUnaligned(ref Unsafe.As<Int64, byte>(ref resultElements[0]), result);
ValidateResult(resultElements, expectedLowerValue, expectedUpperValue, method);
}
private void ValidateResult(Int64[] resultElements, Int64 expectedLowerValue, Int64 expectedUpperValue, [CallerMemberName] string method = "")
{
bool succeeded = true;
for (var i = 0; i < ElementCount / 2; i++)
{
if (resultElements[i] != expectedLowerValue)
{
succeeded = false;
break;
}
}
for (var i = ElementCount / 2; i < ElementCount; i++)
{
if (resultElements[i] != expectedUpperValue)
{
succeeded = false;
break;
}
}
if (!succeeded)
{
TestLibrary.TestFramework.LogInformation($"Vector128.Create(Int64): {method} failed:");
TestLibrary.TestFramework.LogInformation($" lower: {expectedLowerValue}");
TestLibrary.TestFramework.LogInformation($" upper: {expectedUpperValue}");
TestLibrary.TestFramework.LogInformation($" result: ({string.Join(", ", resultElements)})");
TestLibrary.TestFramework.LogInformation(string.Empty);
Succeeded = false;
}
}
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/tests/JIT/HardwareIntrinsics/Arm/AdvSimd/BitwiseClear.Vector64.UInt16.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/******************************************************************************
* This file is auto-generated from a template file by the GenerateTests.csx *
* script in tests\src\JIT\HardwareIntrinsics.Arm\Shared. In order to make *
* changes, please update the corresponding template and run according to the *
* directions listed in the file. *
******************************************************************************/
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.Arm;
namespace JIT.HardwareIntrinsics.Arm
{
public static partial class Program
{
private static void BitwiseClear_Vector64_UInt16()
{
var test = new SimpleBinaryOpTest__BitwiseClear_Vector64_UInt16();
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
test.RunBasicScenario_UnsafeRead();
if (AdvSimd.IsSupported)
{
// Validates basic functionality works, using Load
test.RunBasicScenario_Load();
}
// Validates calling via reflection works, using Unsafe.Read
test.RunReflectionScenario_UnsafeRead();
if (AdvSimd.IsSupported)
{
// Validates calling via reflection works, using Load
test.RunReflectionScenario_Load();
}
// Validates passing a static member works
test.RunClsVarScenario();
if (AdvSimd.IsSupported)
{
// Validates passing a static member works, using pinning and Load
test.RunClsVarScenario_Load();
}
// Validates passing a local works, using Unsafe.Read
test.RunLclVarScenario_UnsafeRead();
if (AdvSimd.IsSupported)
{
// Validates passing a local works, using Load
test.RunLclVarScenario_Load();
}
// Validates passing the field of a local class works
test.RunClassLclFldScenario();
if (AdvSimd.IsSupported)
{
// Validates passing the field of a local class works, using pinning and Load
test.RunClassLclFldScenario_Load();
}
// Validates passing an instance member of a class works
test.RunClassFldScenario();
if (AdvSimd.IsSupported)
{
// Validates passing an instance member of a class works, using pinning and Load
test.RunClassFldScenario_Load();
}
// Validates passing the field of a local struct works
test.RunStructLclFldScenario();
if (AdvSimd.IsSupported)
{
// Validates passing the field of a local struct works, using pinning and Load
test.RunStructLclFldScenario_Load();
}
// Validates passing an instance member of a struct works
test.RunStructFldScenario();
if (AdvSimd.IsSupported)
{
// Validates passing an instance member of a struct works, using pinning and Load
test.RunStructFldScenario_Load();
}
}
else
{
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
if (!test.Succeeded)
{
throw new Exception("One or more scenarios did not complete as expected.");
}
}
}
public sealed unsafe class SimpleBinaryOpTest__BitwiseClear_Vector64_UInt16
{
private struct DataTable
{
private byte[] inArray1;
private byte[] inArray2;
private byte[] outArray;
private GCHandle inHandle1;
private GCHandle inHandle2;
private GCHandle outHandle;
private ulong alignment;
public DataTable(UInt16[] inArray1, UInt16[] inArray2, UInt16[] outArray, int alignment)
{
int sizeOfinArray1 = inArray1.Length * Unsafe.SizeOf<UInt16>();
int sizeOfinArray2 = inArray2.Length * Unsafe.SizeOf<UInt16>();
int sizeOfoutArray = outArray.Length * Unsafe.SizeOf<UInt16>();
if ((alignment != 16 && alignment != 8) || (alignment * 2) < sizeOfinArray1 || (alignment * 2) < sizeOfinArray2 || (alignment * 2) < sizeOfoutArray)
{
throw new ArgumentException("Invalid value of alignment");
}
this.inArray1 = new byte[alignment * 2];
this.inArray2 = new byte[alignment * 2];
this.outArray = new byte[alignment * 2];
this.inHandle1 = GCHandle.Alloc(this.inArray1, GCHandleType.Pinned);
this.inHandle2 = GCHandle.Alloc(this.inArray2, GCHandleType.Pinned);
this.outHandle = GCHandle.Alloc(this.outArray, GCHandleType.Pinned);
this.alignment = (ulong)alignment;
Unsafe.CopyBlockUnaligned(ref Unsafe.AsRef<byte>(inArray1Ptr), ref Unsafe.As<UInt16, byte>(ref inArray1[0]), (uint)sizeOfinArray1);
Unsafe.CopyBlockUnaligned(ref Unsafe.AsRef<byte>(inArray2Ptr), ref Unsafe.As<UInt16, byte>(ref inArray2[0]), (uint)sizeOfinArray2);
}
public void* inArray1Ptr => Align((byte*)(inHandle1.AddrOfPinnedObject().ToPointer()), alignment);
public void* inArray2Ptr => Align((byte*)(inHandle2.AddrOfPinnedObject().ToPointer()), alignment);
public void* outArrayPtr => Align((byte*)(outHandle.AddrOfPinnedObject().ToPointer()), alignment);
public void Dispose()
{
inHandle1.Free();
inHandle2.Free();
outHandle.Free();
}
private static unsafe void* Align(byte* buffer, ulong expectedAlignment)
{
return (void*)(((ulong)buffer + expectedAlignment - 1) & ~(expectedAlignment - 1));
}
}
private struct TestStruct
{
public Vector64<UInt16> _fld1;
public Vector64<UInt16> _fld2;
public static TestStruct Create()
{
var testStruct = new TestStruct();
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetUInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector64<UInt16>, byte>(ref testStruct._fld1), ref Unsafe.As<UInt16, byte>(ref _data1[0]), (uint)Unsafe.SizeOf<Vector64<UInt16>>());
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = TestLibrary.Generator.GetUInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector64<UInt16>, byte>(ref testStruct._fld2), ref Unsafe.As<UInt16, byte>(ref _data2[0]), (uint)Unsafe.SizeOf<Vector64<UInt16>>());
return testStruct;
}
public void RunStructFldScenario(SimpleBinaryOpTest__BitwiseClear_Vector64_UInt16 testClass)
{
var result = AdvSimd.BitwiseClear(_fld1, _fld2);
Unsafe.Write(testClass._dataTable.outArrayPtr, result);
testClass.ValidateResult(_fld1, _fld2, testClass._dataTable.outArrayPtr);
}
public void RunStructFldScenario_Load(SimpleBinaryOpTest__BitwiseClear_Vector64_UInt16 testClass)
{
fixed (Vector64<UInt16>* pFld1 = &_fld1)
fixed (Vector64<UInt16>* pFld2 = &_fld2)
{
var result = AdvSimd.BitwiseClear(
AdvSimd.LoadVector64((UInt16*)(pFld1)),
AdvSimd.LoadVector64((UInt16*)(pFld2))
);
Unsafe.Write(testClass._dataTable.outArrayPtr, result);
testClass.ValidateResult(_fld1, _fld2, testClass._dataTable.outArrayPtr);
}
}
}
private static readonly int LargestVectorSize = 8;
private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector64<UInt16>>() / sizeof(UInt16);
private static readonly int Op2ElementCount = Unsafe.SizeOf<Vector64<UInt16>>() / sizeof(UInt16);
private static readonly int RetElementCount = Unsafe.SizeOf<Vector64<UInt16>>() / sizeof(UInt16);
private static UInt16[] _data1 = new UInt16[Op1ElementCount];
private static UInt16[] _data2 = new UInt16[Op2ElementCount];
private static Vector64<UInt16> _clsVar1;
private static Vector64<UInt16> _clsVar2;
private Vector64<UInt16> _fld1;
private Vector64<UInt16> _fld2;
private DataTable _dataTable;
static SimpleBinaryOpTest__BitwiseClear_Vector64_UInt16()
{
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetUInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector64<UInt16>, byte>(ref _clsVar1), ref Unsafe.As<UInt16, byte>(ref _data1[0]), (uint)Unsafe.SizeOf<Vector64<UInt16>>());
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = TestLibrary.Generator.GetUInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector64<UInt16>, byte>(ref _clsVar2), ref Unsafe.As<UInt16, byte>(ref _data2[0]), (uint)Unsafe.SizeOf<Vector64<UInt16>>());
}
public SimpleBinaryOpTest__BitwiseClear_Vector64_UInt16()
{
Succeeded = true;
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetUInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector64<UInt16>, byte>(ref _fld1), ref Unsafe.As<UInt16, byte>(ref _data1[0]), (uint)Unsafe.SizeOf<Vector64<UInt16>>());
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = TestLibrary.Generator.GetUInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector64<UInt16>, byte>(ref _fld2), ref Unsafe.As<UInt16, byte>(ref _data2[0]), (uint)Unsafe.SizeOf<Vector64<UInt16>>());
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetUInt16(); }
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = TestLibrary.Generator.GetUInt16(); }
_dataTable = new DataTable(_data1, _data2, new UInt16[RetElementCount], LargestVectorSize);
}
public bool IsSupported => AdvSimd.IsSupported;
public bool Succeeded { get; set; }
public void RunBasicScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_UnsafeRead));
var result = AdvSimd.BitwiseClear(
Unsafe.Read<Vector64<UInt16>>(_dataTable.inArray1Ptr),
Unsafe.Read<Vector64<UInt16>>(_dataTable.inArray2Ptr)
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.outArrayPtr);
}
public void RunBasicScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
var result = AdvSimd.BitwiseClear(
AdvSimd.LoadVector64((UInt16*)(_dataTable.inArray1Ptr)),
AdvSimd.LoadVector64((UInt16*)(_dataTable.inArray2Ptr))
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.outArrayPtr);
}
public void RunReflectionScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_UnsafeRead));
var result = typeof(AdvSimd).GetMethod(nameof(AdvSimd.BitwiseClear), new Type[] { typeof(Vector64<UInt16>), typeof(Vector64<UInt16>) })
.Invoke(null, new object[] {
Unsafe.Read<Vector64<UInt16>>(_dataTable.inArray1Ptr),
Unsafe.Read<Vector64<UInt16>>(_dataTable.inArray2Ptr)
});
Unsafe.Write(_dataTable.outArrayPtr, (Vector64<UInt16>)(result));
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.outArrayPtr);
}
public void RunReflectionScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
var result = typeof(AdvSimd).GetMethod(nameof(AdvSimd.BitwiseClear), new Type[] { typeof(Vector64<UInt16>), typeof(Vector64<UInt16>) })
.Invoke(null, new object[] {
AdvSimd.LoadVector64((UInt16*)(_dataTable.inArray1Ptr)),
AdvSimd.LoadVector64((UInt16*)(_dataTable.inArray2Ptr))
});
Unsafe.Write(_dataTable.outArrayPtr, (Vector64<UInt16>)(result));
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.outArrayPtr);
}
public void RunClsVarScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClsVarScenario));
var result = AdvSimd.BitwiseClear(
_clsVar1,
_clsVar2
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_clsVar1, _clsVar2, _dataTable.outArrayPtr);
}
public void RunClsVarScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClsVarScenario_Load));
fixed (Vector64<UInt16>* pClsVar1 = &_clsVar1)
fixed (Vector64<UInt16>* pClsVar2 = &_clsVar2)
{
var result = AdvSimd.BitwiseClear(
AdvSimd.LoadVector64((UInt16*)(pClsVar1)),
AdvSimd.LoadVector64((UInt16*)(pClsVar2))
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_clsVar1, _clsVar2, _dataTable.outArrayPtr);
}
}
public void RunLclVarScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunLclVarScenario_UnsafeRead));
var op1 = Unsafe.Read<Vector64<UInt16>>(_dataTable.inArray1Ptr);
var op2 = Unsafe.Read<Vector64<UInt16>>(_dataTable.inArray2Ptr);
var result = AdvSimd.BitwiseClear(op1, op2);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(op1, op2, _dataTable.outArrayPtr);
}
public void RunLclVarScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunLclVarScenario_Load));
var op1 = AdvSimd.LoadVector64((UInt16*)(_dataTable.inArray1Ptr));
var op2 = AdvSimd.LoadVector64((UInt16*)(_dataTable.inArray2Ptr));
var result = AdvSimd.BitwiseClear(op1, op2);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(op1, op2, _dataTable.outArrayPtr);
}
public void RunClassLclFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassLclFldScenario));
var test = new SimpleBinaryOpTest__BitwiseClear_Vector64_UInt16();
var result = AdvSimd.BitwiseClear(test._fld1, test._fld2);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld1, test._fld2, _dataTable.outArrayPtr);
}
public void RunClassLclFldScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassLclFldScenario_Load));
var test = new SimpleBinaryOpTest__BitwiseClear_Vector64_UInt16();
fixed (Vector64<UInt16>* pFld1 = &test._fld1)
fixed (Vector64<UInt16>* pFld2 = &test._fld2)
{
var result = AdvSimd.BitwiseClear(
AdvSimd.LoadVector64((UInt16*)(pFld1)),
AdvSimd.LoadVector64((UInt16*)(pFld2))
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld1, test._fld2, _dataTable.outArrayPtr);
}
}
public void RunClassFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassFldScenario));
var result = AdvSimd.BitwiseClear(_fld1, _fld2);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_fld1, _fld2, _dataTable.outArrayPtr);
}
public void RunClassFldScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassFldScenario_Load));
fixed (Vector64<UInt16>* pFld1 = &_fld1)
fixed (Vector64<UInt16>* pFld2 = &_fld2)
{
var result = AdvSimd.BitwiseClear(
AdvSimd.LoadVector64((UInt16*)(pFld1)),
AdvSimd.LoadVector64((UInt16*)(pFld2))
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_fld1, _fld2, _dataTable.outArrayPtr);
}
}
public void RunStructLclFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructLclFldScenario));
var test = TestStruct.Create();
var result = AdvSimd.BitwiseClear(test._fld1, test._fld2);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld1, test._fld2, _dataTable.outArrayPtr);
}
public void RunStructLclFldScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructLclFldScenario_Load));
var test = TestStruct.Create();
var result = AdvSimd.BitwiseClear(
AdvSimd.LoadVector64((UInt16*)(&test._fld1)),
AdvSimd.LoadVector64((UInt16*)(&test._fld2))
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld1, test._fld2, _dataTable.outArrayPtr);
}
public void RunStructFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructFldScenario));
var test = TestStruct.Create();
test.RunStructFldScenario(this);
}
public void RunStructFldScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructFldScenario_Load));
var test = TestStruct.Create();
test.RunStructFldScenario_Load(this);
}
public void RunUnsupportedScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
bool succeeded = false;
try
{
RunBasicScenario_UnsafeRead();
}
catch (PlatformNotSupportedException)
{
succeeded = true;
}
if (!succeeded)
{
Succeeded = false;
}
}
private void ValidateResult(Vector64<UInt16> op1, Vector64<UInt16> op2, void* result, [CallerMemberName] string method = "")
{
UInt16[] inArray1 = new UInt16[Op1ElementCount];
UInt16[] inArray2 = new UInt16[Op2ElementCount];
UInt16[] outArray = new UInt16[RetElementCount];
Unsafe.WriteUnaligned(ref Unsafe.As<UInt16, byte>(ref inArray1[0]), op1);
Unsafe.WriteUnaligned(ref Unsafe.As<UInt16, byte>(ref inArray2[0]), op2);
Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt16, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector64<UInt16>>());
ValidateResult(inArray1, inArray2, outArray, method);
}
private void ValidateResult(void* op1, void* op2, void* result, [CallerMemberName] string method = "")
{
UInt16[] inArray1 = new UInt16[Op1ElementCount];
UInt16[] inArray2 = new UInt16[Op2ElementCount];
UInt16[] outArray = new UInt16[RetElementCount];
Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt16, byte>(ref inArray1[0]), ref Unsafe.AsRef<byte>(op1), (uint)Unsafe.SizeOf<Vector64<UInt16>>());
Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt16, byte>(ref inArray2[0]), ref Unsafe.AsRef<byte>(op2), (uint)Unsafe.SizeOf<Vector64<UInt16>>());
Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt16, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector64<UInt16>>());
ValidateResult(inArray1, inArray2, outArray, method);
}
private void ValidateResult(UInt16[] left, UInt16[] right, UInt16[] result, [CallerMemberName] string method = "")
{
bool succeeded = true;
for (var i = 0; i < RetElementCount; i++)
{
if (Helpers.BitwiseClear(left[i], right[i]) != result[i])
{
succeeded = false;
break;
}
}
if (!succeeded)
{
TestLibrary.TestFramework.LogInformation($"{nameof(AdvSimd)}.{nameof(AdvSimd.BitwiseClear)}<UInt16>(Vector64<UInt16>, Vector64<UInt16>): {method} failed:");
TestLibrary.TestFramework.LogInformation($" left: ({string.Join(", ", left)})");
TestLibrary.TestFramework.LogInformation($" right: ({string.Join(", ", right)})");
TestLibrary.TestFramework.LogInformation($" result: ({string.Join(", ", result)})");
TestLibrary.TestFramework.LogInformation(string.Empty);
Succeeded = false;
}
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/******************************************************************************
* This file is auto-generated from a template file by the GenerateTests.csx *
* script in tests\src\JIT\HardwareIntrinsics.Arm\Shared. In order to make *
* changes, please update the corresponding template and run according to the *
* directions listed in the file. *
******************************************************************************/
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.Arm;
namespace JIT.HardwareIntrinsics.Arm
{
public static partial class Program
{
private static void BitwiseClear_Vector64_UInt16()
{
var test = new SimpleBinaryOpTest__BitwiseClear_Vector64_UInt16();
if (test.IsSupported)
{
// Validates basic functionality works, using Unsafe.Read
test.RunBasicScenario_UnsafeRead();
if (AdvSimd.IsSupported)
{
// Validates basic functionality works, using Load
test.RunBasicScenario_Load();
}
// Validates calling via reflection works, using Unsafe.Read
test.RunReflectionScenario_UnsafeRead();
if (AdvSimd.IsSupported)
{
// Validates calling via reflection works, using Load
test.RunReflectionScenario_Load();
}
// Validates passing a static member works
test.RunClsVarScenario();
if (AdvSimd.IsSupported)
{
// Validates passing a static member works, using pinning and Load
test.RunClsVarScenario_Load();
}
// Validates passing a local works, using Unsafe.Read
test.RunLclVarScenario_UnsafeRead();
if (AdvSimd.IsSupported)
{
// Validates passing a local works, using Load
test.RunLclVarScenario_Load();
}
// Validates passing the field of a local class works
test.RunClassLclFldScenario();
if (AdvSimd.IsSupported)
{
// Validates passing the field of a local class works, using pinning and Load
test.RunClassLclFldScenario_Load();
}
// Validates passing an instance member of a class works
test.RunClassFldScenario();
if (AdvSimd.IsSupported)
{
// Validates passing an instance member of a class works, using pinning and Load
test.RunClassFldScenario_Load();
}
// Validates passing the field of a local struct works
test.RunStructLclFldScenario();
if (AdvSimd.IsSupported)
{
// Validates passing the field of a local struct works, using pinning and Load
test.RunStructLclFldScenario_Load();
}
// Validates passing an instance member of a struct works
test.RunStructFldScenario();
if (AdvSimd.IsSupported)
{
// Validates passing an instance member of a struct works, using pinning and Load
test.RunStructFldScenario_Load();
}
}
else
{
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
if (!test.Succeeded)
{
throw new Exception("One or more scenarios did not complete as expected.");
}
}
}
public sealed unsafe class SimpleBinaryOpTest__BitwiseClear_Vector64_UInt16
{
private struct DataTable
{
private byte[] inArray1;
private byte[] inArray2;
private byte[] outArray;
private GCHandle inHandle1;
private GCHandle inHandle2;
private GCHandle outHandle;
private ulong alignment;
public DataTable(UInt16[] inArray1, UInt16[] inArray2, UInt16[] outArray, int alignment)
{
int sizeOfinArray1 = inArray1.Length * Unsafe.SizeOf<UInt16>();
int sizeOfinArray2 = inArray2.Length * Unsafe.SizeOf<UInt16>();
int sizeOfoutArray = outArray.Length * Unsafe.SizeOf<UInt16>();
if ((alignment != 16 && alignment != 8) || (alignment * 2) < sizeOfinArray1 || (alignment * 2) < sizeOfinArray2 || (alignment * 2) < sizeOfoutArray)
{
throw new ArgumentException("Invalid value of alignment");
}
this.inArray1 = new byte[alignment * 2];
this.inArray2 = new byte[alignment * 2];
this.outArray = new byte[alignment * 2];
this.inHandle1 = GCHandle.Alloc(this.inArray1, GCHandleType.Pinned);
this.inHandle2 = GCHandle.Alloc(this.inArray2, GCHandleType.Pinned);
this.outHandle = GCHandle.Alloc(this.outArray, GCHandleType.Pinned);
this.alignment = (ulong)alignment;
Unsafe.CopyBlockUnaligned(ref Unsafe.AsRef<byte>(inArray1Ptr), ref Unsafe.As<UInt16, byte>(ref inArray1[0]), (uint)sizeOfinArray1);
Unsafe.CopyBlockUnaligned(ref Unsafe.AsRef<byte>(inArray2Ptr), ref Unsafe.As<UInt16, byte>(ref inArray2[0]), (uint)sizeOfinArray2);
}
public void* inArray1Ptr => Align((byte*)(inHandle1.AddrOfPinnedObject().ToPointer()), alignment);
public void* inArray2Ptr => Align((byte*)(inHandle2.AddrOfPinnedObject().ToPointer()), alignment);
public void* outArrayPtr => Align((byte*)(outHandle.AddrOfPinnedObject().ToPointer()), alignment);
public void Dispose()
{
inHandle1.Free();
inHandle2.Free();
outHandle.Free();
}
private static unsafe void* Align(byte* buffer, ulong expectedAlignment)
{
return (void*)(((ulong)buffer + expectedAlignment - 1) & ~(expectedAlignment - 1));
}
}
private struct TestStruct
{
public Vector64<UInt16> _fld1;
public Vector64<UInt16> _fld2;
public static TestStruct Create()
{
var testStruct = new TestStruct();
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetUInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector64<UInt16>, byte>(ref testStruct._fld1), ref Unsafe.As<UInt16, byte>(ref _data1[0]), (uint)Unsafe.SizeOf<Vector64<UInt16>>());
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = TestLibrary.Generator.GetUInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector64<UInt16>, byte>(ref testStruct._fld2), ref Unsafe.As<UInt16, byte>(ref _data2[0]), (uint)Unsafe.SizeOf<Vector64<UInt16>>());
return testStruct;
}
public void RunStructFldScenario(SimpleBinaryOpTest__BitwiseClear_Vector64_UInt16 testClass)
{
var result = AdvSimd.BitwiseClear(_fld1, _fld2);
Unsafe.Write(testClass._dataTable.outArrayPtr, result);
testClass.ValidateResult(_fld1, _fld2, testClass._dataTable.outArrayPtr);
}
public void RunStructFldScenario_Load(SimpleBinaryOpTest__BitwiseClear_Vector64_UInt16 testClass)
{
fixed (Vector64<UInt16>* pFld1 = &_fld1)
fixed (Vector64<UInt16>* pFld2 = &_fld2)
{
var result = AdvSimd.BitwiseClear(
AdvSimd.LoadVector64((UInt16*)(pFld1)),
AdvSimd.LoadVector64((UInt16*)(pFld2))
);
Unsafe.Write(testClass._dataTable.outArrayPtr, result);
testClass.ValidateResult(_fld1, _fld2, testClass._dataTable.outArrayPtr);
}
}
}
private static readonly int LargestVectorSize = 8;
private static readonly int Op1ElementCount = Unsafe.SizeOf<Vector64<UInt16>>() / sizeof(UInt16);
private static readonly int Op2ElementCount = Unsafe.SizeOf<Vector64<UInt16>>() / sizeof(UInt16);
private static readonly int RetElementCount = Unsafe.SizeOf<Vector64<UInt16>>() / sizeof(UInt16);
private static UInt16[] _data1 = new UInt16[Op1ElementCount];
private static UInt16[] _data2 = new UInt16[Op2ElementCount];
private static Vector64<UInt16> _clsVar1;
private static Vector64<UInt16> _clsVar2;
private Vector64<UInt16> _fld1;
private Vector64<UInt16> _fld2;
private DataTable _dataTable;
static SimpleBinaryOpTest__BitwiseClear_Vector64_UInt16()
{
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetUInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector64<UInt16>, byte>(ref _clsVar1), ref Unsafe.As<UInt16, byte>(ref _data1[0]), (uint)Unsafe.SizeOf<Vector64<UInt16>>());
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = TestLibrary.Generator.GetUInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector64<UInt16>, byte>(ref _clsVar2), ref Unsafe.As<UInt16, byte>(ref _data2[0]), (uint)Unsafe.SizeOf<Vector64<UInt16>>());
}
public SimpleBinaryOpTest__BitwiseClear_Vector64_UInt16()
{
Succeeded = true;
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetUInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector64<UInt16>, byte>(ref _fld1), ref Unsafe.As<UInt16, byte>(ref _data1[0]), (uint)Unsafe.SizeOf<Vector64<UInt16>>());
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = TestLibrary.Generator.GetUInt16(); }
Unsafe.CopyBlockUnaligned(ref Unsafe.As<Vector64<UInt16>, byte>(ref _fld2), ref Unsafe.As<UInt16, byte>(ref _data2[0]), (uint)Unsafe.SizeOf<Vector64<UInt16>>());
for (var i = 0; i < Op1ElementCount; i++) { _data1[i] = TestLibrary.Generator.GetUInt16(); }
for (var i = 0; i < Op2ElementCount; i++) { _data2[i] = TestLibrary.Generator.GetUInt16(); }
_dataTable = new DataTable(_data1, _data2, new UInt16[RetElementCount], LargestVectorSize);
}
public bool IsSupported => AdvSimd.IsSupported;
public bool Succeeded { get; set; }
public void RunBasicScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_UnsafeRead));
var result = AdvSimd.BitwiseClear(
Unsafe.Read<Vector64<UInt16>>(_dataTable.inArray1Ptr),
Unsafe.Read<Vector64<UInt16>>(_dataTable.inArray2Ptr)
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.outArrayPtr);
}
public void RunBasicScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
var result = AdvSimd.BitwiseClear(
AdvSimd.LoadVector64((UInt16*)(_dataTable.inArray1Ptr)),
AdvSimd.LoadVector64((UInt16*)(_dataTable.inArray2Ptr))
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.outArrayPtr);
}
public void RunReflectionScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_UnsafeRead));
var result = typeof(AdvSimd).GetMethod(nameof(AdvSimd.BitwiseClear), new Type[] { typeof(Vector64<UInt16>), typeof(Vector64<UInt16>) })
.Invoke(null, new object[] {
Unsafe.Read<Vector64<UInt16>>(_dataTable.inArray1Ptr),
Unsafe.Read<Vector64<UInt16>>(_dataTable.inArray2Ptr)
});
Unsafe.Write(_dataTable.outArrayPtr, (Vector64<UInt16>)(result));
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.outArrayPtr);
}
public void RunReflectionScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
var result = typeof(AdvSimd).GetMethod(nameof(AdvSimd.BitwiseClear), new Type[] { typeof(Vector64<UInt16>), typeof(Vector64<UInt16>) })
.Invoke(null, new object[] {
AdvSimd.LoadVector64((UInt16*)(_dataTable.inArray1Ptr)),
AdvSimd.LoadVector64((UInt16*)(_dataTable.inArray2Ptr))
});
Unsafe.Write(_dataTable.outArrayPtr, (Vector64<UInt16>)(result));
ValidateResult(_dataTable.inArray1Ptr, _dataTable.inArray2Ptr, _dataTable.outArrayPtr);
}
public void RunClsVarScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClsVarScenario));
var result = AdvSimd.BitwiseClear(
_clsVar1,
_clsVar2
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_clsVar1, _clsVar2, _dataTable.outArrayPtr);
}
public void RunClsVarScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClsVarScenario_Load));
fixed (Vector64<UInt16>* pClsVar1 = &_clsVar1)
fixed (Vector64<UInt16>* pClsVar2 = &_clsVar2)
{
var result = AdvSimd.BitwiseClear(
AdvSimd.LoadVector64((UInt16*)(pClsVar1)),
AdvSimd.LoadVector64((UInt16*)(pClsVar2))
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_clsVar1, _clsVar2, _dataTable.outArrayPtr);
}
}
public void RunLclVarScenario_UnsafeRead()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunLclVarScenario_UnsafeRead));
var op1 = Unsafe.Read<Vector64<UInt16>>(_dataTable.inArray1Ptr);
var op2 = Unsafe.Read<Vector64<UInt16>>(_dataTable.inArray2Ptr);
var result = AdvSimd.BitwiseClear(op1, op2);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(op1, op2, _dataTable.outArrayPtr);
}
public void RunLclVarScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunLclVarScenario_Load));
var op1 = AdvSimd.LoadVector64((UInt16*)(_dataTable.inArray1Ptr));
var op2 = AdvSimd.LoadVector64((UInt16*)(_dataTable.inArray2Ptr));
var result = AdvSimd.BitwiseClear(op1, op2);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(op1, op2, _dataTable.outArrayPtr);
}
public void RunClassLclFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassLclFldScenario));
var test = new SimpleBinaryOpTest__BitwiseClear_Vector64_UInt16();
var result = AdvSimd.BitwiseClear(test._fld1, test._fld2);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld1, test._fld2, _dataTable.outArrayPtr);
}
public void RunClassLclFldScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassLclFldScenario_Load));
var test = new SimpleBinaryOpTest__BitwiseClear_Vector64_UInt16();
fixed (Vector64<UInt16>* pFld1 = &test._fld1)
fixed (Vector64<UInt16>* pFld2 = &test._fld2)
{
var result = AdvSimd.BitwiseClear(
AdvSimd.LoadVector64((UInt16*)(pFld1)),
AdvSimd.LoadVector64((UInt16*)(pFld2))
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld1, test._fld2, _dataTable.outArrayPtr);
}
}
public void RunClassFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassFldScenario));
var result = AdvSimd.BitwiseClear(_fld1, _fld2);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_fld1, _fld2, _dataTable.outArrayPtr);
}
public void RunClassFldScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunClassFldScenario_Load));
fixed (Vector64<UInt16>* pFld1 = &_fld1)
fixed (Vector64<UInt16>* pFld2 = &_fld2)
{
var result = AdvSimd.BitwiseClear(
AdvSimd.LoadVector64((UInt16*)(pFld1)),
AdvSimd.LoadVector64((UInt16*)(pFld2))
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_fld1, _fld2, _dataTable.outArrayPtr);
}
}
public void RunStructLclFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructLclFldScenario));
var test = TestStruct.Create();
var result = AdvSimd.BitwiseClear(test._fld1, test._fld2);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld1, test._fld2, _dataTable.outArrayPtr);
}
public void RunStructLclFldScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructLclFldScenario_Load));
var test = TestStruct.Create();
var result = AdvSimd.BitwiseClear(
AdvSimd.LoadVector64((UInt16*)(&test._fld1)),
AdvSimd.LoadVector64((UInt16*)(&test._fld2))
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(test._fld1, test._fld2, _dataTable.outArrayPtr);
}
public void RunStructFldScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructFldScenario));
var test = TestStruct.Create();
test.RunStructFldScenario(this);
}
public void RunStructFldScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunStructFldScenario_Load));
var test = TestStruct.Create();
test.RunStructFldScenario_Load(this);
}
public void RunUnsupportedScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
bool succeeded = false;
try
{
RunBasicScenario_UnsafeRead();
}
catch (PlatformNotSupportedException)
{
succeeded = true;
}
if (!succeeded)
{
Succeeded = false;
}
}
private void ValidateResult(Vector64<UInt16> op1, Vector64<UInt16> op2, void* result, [CallerMemberName] string method = "")
{
UInt16[] inArray1 = new UInt16[Op1ElementCount];
UInt16[] inArray2 = new UInt16[Op2ElementCount];
UInt16[] outArray = new UInt16[RetElementCount];
Unsafe.WriteUnaligned(ref Unsafe.As<UInt16, byte>(ref inArray1[0]), op1);
Unsafe.WriteUnaligned(ref Unsafe.As<UInt16, byte>(ref inArray2[0]), op2);
Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt16, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector64<UInt16>>());
ValidateResult(inArray1, inArray2, outArray, method);
}
private void ValidateResult(void* op1, void* op2, void* result, [CallerMemberName] string method = "")
{
UInt16[] inArray1 = new UInt16[Op1ElementCount];
UInt16[] inArray2 = new UInt16[Op2ElementCount];
UInt16[] outArray = new UInt16[RetElementCount];
Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt16, byte>(ref inArray1[0]), ref Unsafe.AsRef<byte>(op1), (uint)Unsafe.SizeOf<Vector64<UInt16>>());
Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt16, byte>(ref inArray2[0]), ref Unsafe.AsRef<byte>(op2), (uint)Unsafe.SizeOf<Vector64<UInt16>>());
Unsafe.CopyBlockUnaligned(ref Unsafe.As<UInt16, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<Vector64<UInt16>>());
ValidateResult(inArray1, inArray2, outArray, method);
}
private void ValidateResult(UInt16[] left, UInt16[] right, UInt16[] result, [CallerMemberName] string method = "")
{
bool succeeded = true;
for (var i = 0; i < RetElementCount; i++)
{
if (Helpers.BitwiseClear(left[i], right[i]) != result[i])
{
succeeded = false;
break;
}
}
if (!succeeded)
{
TestLibrary.TestFramework.LogInformation($"{nameof(AdvSimd)}.{nameof(AdvSimd.BitwiseClear)}<UInt16>(Vector64<UInt16>, Vector64<UInt16>): {method} failed:");
TestLibrary.TestFramework.LogInformation($" left: ({string.Join(", ", left)})");
TestLibrary.TestFramework.LogInformation($" right: ({string.Join(", ", right)})");
TestLibrary.TestFramework.LogInformation($" result: ({string.Join(", ", result)})");
TestLibrary.TestFramework.LogInformation(string.Empty);
Succeeded = false;
}
}
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/libraries/System.ComponentModel.Composition/tests/System/ComponentModel/Composition/PartCreationPolicyAttributeTests.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Xunit;
namespace System.ComponentModel.Composition
{
public class PartCreationPolicyAttributeTests
{
[Fact]
public void Constructor_ShouldSetCreationPolicyToGivenValue()
{
var expectations = Expectations.GetEnumValues<CreationPolicy>();
foreach (var e in expectations)
{
var attribute = new PartCreationPolicyAttribute(e);
Assert.Equal(e, attribute.CreationPolicy);
}
}
[Fact]
public void Constructor_OutOfRangeValueAsCreationPolicyArgument_ShouldSetCreationPolicy()
{ // Attributes should not throw exceptions
var expectations = Expectations.GetInvalidEnumValues<CreationPolicy>();
foreach (var e in expectations)
{
var attribute = new PartCreationPolicyAttribute(e);
Assert.Equal(e, attribute.CreationPolicy);
}
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Xunit;
namespace System.ComponentModel.Composition
{
public class PartCreationPolicyAttributeTests
{
[Fact]
public void Constructor_ShouldSetCreationPolicyToGivenValue()
{
var expectations = Expectations.GetEnumValues<CreationPolicy>();
foreach (var e in expectations)
{
var attribute = new PartCreationPolicyAttribute(e);
Assert.Equal(e, attribute.CreationPolicy);
}
}
[Fact]
public void Constructor_OutOfRangeValueAsCreationPolicyArgument_ShouldSetCreationPolicy()
{ // Attributes should not throw exceptions
var expectations = Expectations.GetInvalidEnumValues<CreationPolicy>();
foreach (var e in expectations)
{
var attribute = new PartCreationPolicyAttribute(e);
Assert.Equal(e, attribute.CreationPolicy);
}
}
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/libraries/Common/src/Interop/Windows/Kernel32/Interop.HandleOptions.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
internal static partial class Interop
{
internal static partial class Kernel32
{
internal static partial class HandleOptions
{
internal const int DUPLICATE_SAME_ACCESS = 2;
internal const int STILL_ACTIVE = 0x00000103;
internal const int TOKEN_ADJUST_PRIVILEGES = 0x20;
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
internal static partial class Interop
{
internal static partial class Kernel32
{
internal static partial class HandleOptions
{
internal const int DUPLICATE_SAME_ACCESS = 2;
internal const int STILL_ACTIVE = 0x00000103;
internal const int TOKEN_ADJUST_PRIVILEGES = 0x20;
}
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/FeatureSettings.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.Xml.XPath;
using ILLink.Shared;
using Internal.TypeSystem;
namespace ILCompiler
{
public static class FeatureSettings
{
public static bool ShouldProcessElement(XPathNavigator nav, IReadOnlyDictionary<string, bool> featureSwitchValues)
{
var feature = GetAttribute(nav, "feature");
if (string.IsNullOrEmpty(feature))
return true;
var value = GetAttribute(nav, "featurevalue");
if (string.IsNullOrEmpty(value))
{
//context.LogError(null, DiagnosticId.XmlFeatureDoesNotSpecifyFeatureValue, documentLocation, feature);
return false;
}
if (!bool.TryParse(value, out bool bValue))
{
//context.LogError(null, DiagnosticId.XmlUnsupportedNonBooleanValueForFeature, documentLocation, feature);
return false;
}
var isDefault = GetAttribute(nav, "featuredefault");
bool bIsDefault = false;
if (!string.IsNullOrEmpty(isDefault) && (!bool.TryParse(isDefault, out bIsDefault) || !bIsDefault))
{
//context.LogError(null, DiagnosticId.XmlDocumentLocationHasInvalidFeatureDefault, documentLocation);
return false;
}
if (!featureSwitchValues.TryGetValue(feature, out bool featureSetting))
return bIsDefault;
return bValue == featureSetting;
}
public static string GetAttribute(XPathNavigator nav, string attribute)
{
return nav.GetAttribute(attribute, String.Empty);
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.Xml.XPath;
using ILLink.Shared;
using Internal.TypeSystem;
namespace ILCompiler
{
public static class FeatureSettings
{
public static bool ShouldProcessElement(XPathNavigator nav, IReadOnlyDictionary<string, bool> featureSwitchValues)
{
var feature = GetAttribute(nav, "feature");
if (string.IsNullOrEmpty(feature))
return true;
var value = GetAttribute(nav, "featurevalue");
if (string.IsNullOrEmpty(value))
{
//context.LogError(null, DiagnosticId.XmlFeatureDoesNotSpecifyFeatureValue, documentLocation, feature);
return false;
}
if (!bool.TryParse(value, out bool bValue))
{
//context.LogError(null, DiagnosticId.XmlUnsupportedNonBooleanValueForFeature, documentLocation, feature);
return false;
}
var isDefault = GetAttribute(nav, "featuredefault");
bool bIsDefault = false;
if (!string.IsNullOrEmpty(isDefault) && (!bool.TryParse(isDefault, out bIsDefault) || !bIsDefault))
{
//context.LogError(null, DiagnosticId.XmlDocumentLocationHasInvalidFeatureDefault, documentLocation);
return false;
}
if (!featureSwitchValues.TryGetValue(feature, out bool featureSetting))
return bIsDefault;
return bValue == featureSetting;
}
public static string GetAttribute(XPathNavigator nav, string attribute)
{
return nav.GetAttribute(attribute, String.Empty);
}
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/libraries/System.Net.HttpListener/src/System/Net/Windows/WebSockets/WebSocketBuffer.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Diagnostics;
using System.Globalization;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
namespace System.Net.WebSockets
{
// This class helps to abstract the internal WebSocket buffer, which is used to interact with the native WebSocket
// protocol component (WSPC). It helps to shield the details of the layout and the involved pointer arithmetic.
// The internal WebSocket buffer also contains a segment, which is used by the WebSocketBase class to buffer
// payload (parsed by WSPC already) for the application, if the application requested fewer bytes than the
// WSPC returned. The internal buffer is pinned for the whole lifetime if this class.
// LAYOUT:
// | Native buffer | PayloadReceiveBuffer | PropertyBuffer |
// | RBS + SBS + 144 | RBS | PBS |
// | Only WSPC may modify | Only WebSocketBase may modify |
//
// *RBS = ReceiveBufferSize, *SBS = SendBufferSize
// *PBS = PropertyBufferSize (32-bit: 16, 64 bit: 20 bytes)
internal sealed class WebSocketBuffer : IDisposable
{
private const int NativeOverheadBufferSize = 144;
private static readonly int s_PropertyBufferSize = 3 * sizeof(uint) + IntPtr.Size;
private readonly int _receiveBufferSize;
// Indicates the range of the pinned byte[] that can be used by the WSPC (nativeBuffer + pinnedSendBuffer)
private readonly long _startAddress;
private readonly long _endAddress;
private GCHandle _gcHandle;
private readonly ArraySegment<byte> _internalBuffer;
private readonly ArraySegment<byte> _nativeBuffer;
private readonly ArraySegment<byte> _payloadBuffer;
private readonly ArraySegment<byte> _propertyBuffer;
private readonly int _sendBufferSize;
private volatile int _payloadOffset;
private volatile PayloadReceiveResult? _bufferedPayloadReceiveResult;
private long _pinnedSendBufferStartAddress;
private long _pinnedSendBufferEndAddress;
private ArraySegment<byte> _pinnedSendBuffer;
private GCHandle _pinnedSendBufferHandle;
private int _stateWhenDisposing = int.MinValue;
private int _sendBufferState;
private WebSocketBuffer(ArraySegment<byte> internalBuffer, int receiveBufferSize, int sendBufferSize)
{
Debug.Assert(internalBuffer.Array != null, "'internalBuffer.Array' MUST NOT be NULL.");
Debug.Assert(receiveBufferSize >= HttpWebSocket.MinReceiveBufferSize, $"'receiveBufferSize' MUST be at least {HttpWebSocket.MinReceiveBufferSize}.");
Debug.Assert(sendBufferSize >= HttpWebSocket.MinSendBufferSize, $"'sendBufferSize' MUST be at least {HttpWebSocket.MinSendBufferSize}.");
Debug.Assert(receiveBufferSize <= HttpWebSocket.MaxBufferSize, $"'receiveBufferSize' MUST NOT exceed {HttpWebSocket.MaxBufferSize}.");
Debug.Assert(sendBufferSize <= HttpWebSocket.MaxBufferSize, $"'sendBufferSize' MUST NOT exceed {HttpWebSocket.MaxBufferSize}.");
_receiveBufferSize = receiveBufferSize;
_sendBufferSize = sendBufferSize;
_internalBuffer = internalBuffer;
_gcHandle = GCHandle.Alloc(internalBuffer.Array, GCHandleType.Pinned);
// Size of the internal buffer owned exclusively by the WSPC.
int nativeBufferSize = _receiveBufferSize + _sendBufferSize + NativeOverheadBufferSize;
_startAddress = Marshal.UnsafeAddrOfPinnedArrayElement(internalBuffer.Array, internalBuffer.Offset).ToInt64();
_endAddress = _startAddress + nativeBufferSize;
_nativeBuffer = new ArraySegment<byte>(internalBuffer.Array, internalBuffer.Offset, nativeBufferSize);
_payloadBuffer = new ArraySegment<byte>(internalBuffer.Array,
_nativeBuffer.Offset + _nativeBuffer.Count,
_receiveBufferSize);
_propertyBuffer = new ArraySegment<byte>(internalBuffer.Array,
_payloadBuffer.Offset + _payloadBuffer.Count,
s_PropertyBufferSize);
_sendBufferState = SendBufferState.None;
}
public int ReceiveBufferSize
{
get { return _receiveBufferSize; }
}
public int SendBufferSize
{
get { return _sendBufferSize; }
}
internal static WebSocketBuffer CreateServerBuffer(ArraySegment<byte> internalBuffer, int receiveBufferSize)
{
int sendBufferSize = GetNativeSendBufferSize(HttpWebSocket.MinSendBufferSize, true);
Debug.Assert(internalBuffer.Count >= GetInternalBufferSize(receiveBufferSize, sendBufferSize, true),
"Array 'internalBuffer' is TOO SMALL. Call Validate before instantiating WebSocketBuffer.");
return new WebSocketBuffer(internalBuffer, receiveBufferSize, sendBufferSize);
}
public void Dispose(WebSocketState webSocketState)
{
if (Interlocked.CompareExchange(ref _stateWhenDisposing, (int)webSocketState, int.MinValue) != int.MinValue)
{
return;
}
this.CleanUp();
}
public void Dispose()
{
this.Dispose(WebSocketState.None);
}
internal Interop.WebSocket.Property[] CreateProperties(bool useZeroMaskingKey)
{
ThrowIfDisposed();
// serialize marshaled property values in the property segment of the internal buffer
// m_GCHandle.AddrOfPinnedObject() points to the address of m_InternalBuffer.Array
IntPtr internalBufferPtr = _gcHandle.AddrOfPinnedObject();
int offset = _propertyBuffer.Offset;
Marshal.WriteInt32(internalBufferPtr, offset, _receiveBufferSize);
offset += sizeof(uint);
Marshal.WriteInt32(internalBufferPtr, offset, _sendBufferSize);
offset += sizeof(uint);
Marshal.WriteIntPtr(internalBufferPtr, offset, internalBufferPtr + _internalBuffer.Offset);
offset += IntPtr.Size;
Marshal.WriteInt32(internalBufferPtr, offset, useZeroMaskingKey ? (int)1 : (int)0);
int propertyCount = useZeroMaskingKey ? 4 : 3;
Interop.WebSocket.Property[] properties =
new Interop.WebSocket.Property[propertyCount];
// Calculate the pointers to the positions of the properties within the internal buffer
offset = _propertyBuffer.Offset;
properties[0] = new Interop.WebSocket.Property()
{
Type = WebSocketProtocolComponent.PropertyType.ReceiveBufferSize,
PropertySize = (uint)sizeof(uint),
PropertyData = IntPtr.Add(internalBufferPtr, offset)
};
offset += sizeof(uint);
properties[1] = new Interop.WebSocket.Property()
{
Type = WebSocketProtocolComponent.PropertyType.SendBufferSize,
PropertySize = (uint)sizeof(uint),
PropertyData = IntPtr.Add(internalBufferPtr, offset)
};
offset += sizeof(uint);
properties[2] = new Interop.WebSocket.Property()
{
Type = WebSocketProtocolComponent.PropertyType.AllocatedBuffer,
PropertySize = (uint)_nativeBuffer.Count,
PropertyData = IntPtr.Add(internalBufferPtr, offset)
};
offset += IntPtr.Size;
if (useZeroMaskingKey)
{
properties[3] = new Interop.WebSocket.Property()
{
Type = WebSocketProtocolComponent.PropertyType.DisableMasking,
PropertySize = (uint)sizeof(uint),
PropertyData = IntPtr.Add(internalBufferPtr, offset)
};
}
return properties;
}
// This method is not thread safe. It must only be called after enforcing at most 1 outstanding send operation
internal void PinSendBuffer(ArraySegment<byte> payload, out bool bufferHasBeenPinned)
{
bufferHasBeenPinned = false;
WebSocketValidate.ValidateBuffer(payload.Array!, payload.Offset, payload.Count);
int previousState = Interlocked.Exchange(ref _sendBufferState, SendBufferState.SendPayloadSpecified);
if (previousState != SendBufferState.None)
{
Debug.Fail("'m_SendBufferState' MUST BE 'None' at this point.");
// Indicates a violation in the API contract that could indicate
// memory corruption because the pinned sendbuffer is shared between managed and native code
throw new AccessViolationException();
}
_pinnedSendBuffer = payload;
_pinnedSendBufferHandle = GCHandle.Alloc(_pinnedSendBuffer.Array, GCHandleType.Pinned);
bufferHasBeenPinned = true;
_pinnedSendBufferStartAddress =
Marshal.UnsafeAddrOfPinnedArrayElement(_pinnedSendBuffer.Array!, _pinnedSendBuffer.Offset).ToInt64();
_pinnedSendBufferEndAddress = _pinnedSendBufferStartAddress + _pinnedSendBuffer.Count;
}
// This method is not thread safe. It must only be called after enforcing at most 1 outstanding send operation
internal IntPtr ConvertPinnedSendPayloadToNative(ArraySegment<byte> payload)
{
return ConvertPinnedSendPayloadToNative(payload.Array!, payload.Offset, payload.Count);
}
// This method is not thread safe. It must only be called after enforcing at most 1 outstanding send operation
internal IntPtr ConvertPinnedSendPayloadToNative(byte[] buffer, int offset, int count)
{
if (!IsPinnedSendPayloadBuffer(buffer, offset, count))
{
// Indicates a violation in the API contract that could indicate
// memory corruption because the pinned sendbuffer is shared between managed and native code
throw new AccessViolationException();
}
Debug.Assert(Marshal.UnsafeAddrOfPinnedArrayElement(_pinnedSendBuffer.Array!,
_pinnedSendBuffer.Offset).ToInt64() == _pinnedSendBufferStartAddress,
"'m_PinnedSendBuffer.Array' MUST be pinned during the entire send operation.");
return new IntPtr(_pinnedSendBufferStartAddress + offset - _pinnedSendBuffer.Offset);
}
// This method is not thread safe. It must only be called after enforcing at most 1 outstanding send operation
internal ArraySegment<byte> ConvertPinnedSendPayloadFromNative(Interop.WebSocket.Buffer buffer,
WebSocketProtocolComponent.BufferType bufferType)
{
if (!IsPinnedSendPayloadBuffer(buffer, bufferType))
{
// Indicates a violation in the API contract that could indicate
// memory corruption because the pinned sendbuffer is shared between managed and native code
throw new AccessViolationException();
}
Debug.Assert(Marshal.UnsafeAddrOfPinnedArrayElement(_pinnedSendBuffer.Array!,
_pinnedSendBuffer.Offset).ToInt64() == _pinnedSendBufferStartAddress,
"'m_PinnedSendBuffer.Array' MUST be pinned during the entire send operation.");
IntPtr bufferData;
uint bufferSize;
UnwrapWebSocketBuffer(buffer, bufferType, out bufferData, out bufferSize);
int internalOffset = (int)(bufferData.ToInt64() - _pinnedSendBufferStartAddress);
return new ArraySegment<byte>(_pinnedSendBuffer.Array!, _pinnedSendBuffer.Offset + internalOffset, (int)bufferSize);
}
// This method is not thread safe. It must only be called after enforcing at most 1 outstanding send operation
private bool IsPinnedSendPayloadBuffer(byte[] buffer, int offset, int count)
{
if (_sendBufferState != SendBufferState.SendPayloadSpecified)
{
return false;
}
return object.ReferenceEquals(buffer, _pinnedSendBuffer.Array) &&
offset >= _pinnedSendBuffer.Offset &&
offset + count <= _pinnedSendBuffer.Offset + _pinnedSendBuffer.Count;
}
// This method is not thread safe. It must only be called after enforcing at most 1 outstanding send operation
internal bool IsPinnedSendPayloadBuffer(Interop.WebSocket.Buffer buffer,
WebSocketProtocolComponent.BufferType bufferType)
{
if (_sendBufferState != SendBufferState.SendPayloadSpecified)
{
return false;
}
IntPtr bufferData;
uint bufferSize;
UnwrapWebSocketBuffer(buffer, bufferType, out bufferData, out bufferSize);
long nativeBufferStartAddress = bufferData.ToInt64();
long nativeBufferEndAddress = nativeBufferStartAddress + bufferSize;
return nativeBufferStartAddress >= _pinnedSendBufferStartAddress &&
nativeBufferEndAddress >= _pinnedSendBufferStartAddress &&
nativeBufferStartAddress <= _pinnedSendBufferEndAddress &&
nativeBufferEndAddress <= _pinnedSendBufferEndAddress;
}
// This method is only thread safe for races between Abort and at most 1 uncompleted send operation
internal void ReleasePinnedSendBuffer()
{
int previousState = Interlocked.Exchange(ref _sendBufferState, SendBufferState.None);
if (previousState != SendBufferState.SendPayloadSpecified)
{
return;
}
if (_pinnedSendBufferHandle.IsAllocated)
{
_pinnedSendBufferHandle.Free();
}
_pinnedSendBuffer = ArraySegment<byte>.Empty;
}
internal void BufferPayload(ArraySegment<byte> payload,
int unconsumedDataOffset,
WebSocketMessageType messageType,
bool endOfMessage)
{
ThrowIfDisposed();
int bytesBuffered = payload.Count - unconsumedDataOffset;
Debug.Assert(_payloadOffset == 0,
"'m_PayloadOffset' MUST be '0' at this point.");
Debug.Assert(_bufferedPayloadReceiveResult == null || _bufferedPayloadReceiveResult.Count == 0,
"'_bufferedPayloadReceiveResult.Count' MUST be '0' at this point.");
Buffer.BlockCopy(payload.Array!,
payload.Offset + unconsumedDataOffset,
_payloadBuffer.Array!,
_payloadBuffer.Offset,
bytesBuffered);
_bufferedPayloadReceiveResult =
new PayloadReceiveResult(bytesBuffered, messageType, endOfMessage);
this.ValidateBufferedPayload();
}
internal bool ReceiveFromBufferedPayload(ArraySegment<byte> buffer, out WebSocketReceiveResult receiveResult)
{
ThrowIfDisposed();
ValidateBufferedPayload();
int bytesTransferred = Math.Min(buffer.Count, _bufferedPayloadReceiveResult!.Count);
_bufferedPayloadReceiveResult.Count -= bytesTransferred;
receiveResult = new WebSocketReceiveResult(
bytesTransferred,
_bufferedPayloadReceiveResult.MessageType,
_bufferedPayloadReceiveResult.Count == 0 && _bufferedPayloadReceiveResult.EndOfMessage);
Buffer.BlockCopy(_payloadBuffer.Array!,
_payloadBuffer.Offset + _payloadOffset,
buffer.Array!,
buffer.Offset,
bytesTransferred);
bool morePayloadBuffered;
if (_bufferedPayloadReceiveResult.Count == 0)
{
_payloadOffset = 0;
_bufferedPayloadReceiveResult = null;
morePayloadBuffered = false;
}
else
{
_payloadOffset += bytesTransferred;
morePayloadBuffered = true;
this.ValidateBufferedPayload();
}
return morePayloadBuffered;
}
internal ArraySegment<byte> ConvertNativeBuffer(WebSocketProtocolComponent.Action action,
Interop.WebSocket.Buffer buffer,
WebSocketProtocolComponent.BufferType bufferType)
{
ThrowIfDisposed();
IntPtr bufferData;
uint bufferLength;
UnwrapWebSocketBuffer(buffer, bufferType, out bufferData, out bufferLength);
if (bufferData == IntPtr.Zero)
{
return ArraySegment<byte>.Empty;
}
if (this.IsNativeBuffer(bufferData, bufferLength))
{
return new ArraySegment<byte>(_internalBuffer.Array!,
this.GetOffset(bufferData),
(int)bufferLength);
}
Debug.Fail("'buffer' MUST reference a memory segment within the pinned InternalBuffer.");
// Indicates a violation in the contract with native Websocket.dll and could indicate
// memory corruption because the internal buffer is shared between managed and native code
throw new AccessViolationException();
}
internal void ConvertCloseBuffer(WebSocketProtocolComponent.Action action,
Interop.WebSocket.Buffer buffer,
out WebSocketCloseStatus closeStatus,
out string? reason)
{
ThrowIfDisposed();
IntPtr bufferData;
uint bufferLength;
closeStatus = (WebSocketCloseStatus)buffer.CloseStatus.CloseStatus;
UnwrapWebSocketBuffer(buffer, WebSocketProtocolComponent.BufferType.Close, out bufferData, out bufferLength);
if (bufferData == IntPtr.Zero)
{
reason = null;
}
else
{
ArraySegment<byte> reasonBlob;
if (this.IsNativeBuffer(bufferData, bufferLength))
{
reasonBlob = new ArraySegment<byte>(_internalBuffer.Array!,
this.GetOffset(bufferData),
(int)bufferLength);
}
else
{
Debug.Fail("'buffer' MUST reference a memory segment within the pinned InternalBuffer.");
// Indicates a violation in the contract with native Websocket.dll and could indicate
// memory corruption because the internal buffer is shared between managed and native code
throw new AccessViolationException();
}
// No need to wrap DecoderFallbackException for invalid UTF8 chacters, because
// Encoding.UTF8 will not throw but replace invalid characters instead.
reason = Encoding.UTF8.GetString(reasonBlob.Array!, reasonBlob.Offset, reasonBlob.Count);
}
}
internal void ValidateNativeBuffers(WebSocketProtocolComponent.Action action,
WebSocketProtocolComponent.BufferType bufferType,
Interop.WebSocket.Buffer[] dataBuffers,
uint dataBufferCount)
{
Debug.Assert(dataBufferCount <= (uint)int.MaxValue,
"'dataBufferCount' MUST NOT be bigger than Int32.MaxValue.");
Debug.Assert(dataBuffers != null, "'dataBuffers' MUST NOT be NULL.");
ThrowIfDisposed();
if (dataBufferCount > dataBuffers.Length)
{
Debug.Fail("'dataBufferCount' MUST NOT be bigger than 'dataBuffers.Length'.");
// Indicates a violation in the contract with native Websocket.dll and could indicate
// memory corruption because the internal buffer is shared between managed and native code
throw new AccessViolationException();
}
int count = dataBuffers.Length;
bool isSendActivity = action == WebSocketProtocolComponent.Action.IndicateSendComplete ||
action == WebSocketProtocolComponent.Action.SendToNetwork;
if (isSendActivity)
{
count = (int)dataBufferCount;
}
bool nonZeroBufferFound = false;
for (int i = 0; i < count; i++)
{
Interop.WebSocket.Buffer dataBuffer = dataBuffers[i];
IntPtr bufferData;
uint bufferLength;
UnwrapWebSocketBuffer(dataBuffer, bufferType, out bufferData, out bufferLength);
if (bufferData == IntPtr.Zero)
{
continue;
}
nonZeroBufferFound = true;
bool isPinnedSendPayloadBuffer = IsPinnedSendPayloadBuffer(dataBuffer, bufferType);
if (bufferLength > GetMaxBufferSize())
{
if (!isSendActivity || !isPinnedSendPayloadBuffer)
{
Debug.Fail("'dataBuffer.BufferLength' MUST NOT be bigger than 'm_ReceiveBufferSize' and 'm_SendBufferSize'.");
// Indicates a violation in the contract with native Websocket.dll and could indicate
// memory corruption because the internal buffer is shared between managed and native code
throw new AccessViolationException();
}
}
if (!isPinnedSendPayloadBuffer && !IsNativeBuffer(bufferData, bufferLength))
{
Debug.Fail("WebSocketGetAction MUST return a pointer within the pinned internal buffer.");
// Indicates a violation in the contract with native Websocket.dll and could indicate
// memory corruption because the internal buffer is shared between managed and native code
throw new AccessViolationException();
}
}
if (!nonZeroBufferFound &&
action != WebSocketProtocolComponent.Action.NoAction &&
action != WebSocketProtocolComponent.Action.IndicateReceiveComplete &&
action != WebSocketProtocolComponent.Action.IndicateSendComplete)
{
Debug.Fail("At least one 'dataBuffer.Buffer' MUST NOT be NULL.");
}
}
private static int GetNativeSendBufferSize(int sendBufferSize, bool isServerBuffer)
{
return isServerBuffer ? HttpWebSocket.MinSendBufferSize : sendBufferSize;
}
internal static void UnwrapWebSocketBuffer(Interop.WebSocket.Buffer buffer,
WebSocketProtocolComponent.BufferType bufferType,
out IntPtr bufferData,
out uint bufferLength)
{
bufferData = IntPtr.Zero;
bufferLength = 0;
switch (bufferType)
{
case WebSocketProtocolComponent.BufferType.Close:
bufferData = buffer.CloseStatus.ReasonData;
bufferLength = buffer.CloseStatus.ReasonLength;
break;
case WebSocketProtocolComponent.BufferType.None:
case WebSocketProtocolComponent.BufferType.BinaryFragment:
case WebSocketProtocolComponent.BufferType.BinaryMessage:
case WebSocketProtocolComponent.BufferType.UTF8Fragment:
case WebSocketProtocolComponent.BufferType.UTF8Message:
case WebSocketProtocolComponent.BufferType.PingPong:
case WebSocketProtocolComponent.BufferType.UnsolicitedPong:
bufferData = buffer.Data.BufferData;
bufferLength = buffer.Data.BufferLength;
break;
default:
Debug.Fail($"BufferType '{bufferType}' is invalid/unknown.");
break;
}
}
private void ThrowIfDisposed()
{
switch (_stateWhenDisposing)
{
case int.MinValue:
return;
case (int)WebSocketState.Closed:
case (int)WebSocketState.Aborted:
throw new WebSocketException(WebSocketError.InvalidState,
SR.Format(SR.net_WebSockets_InvalidState_ClosedOrAborted, typeof(WebSocketBase), _stateWhenDisposing));
default:
throw new ObjectDisposedException(GetType().FullName);
}
}
[Conditional("DEBUG")]
private void ValidateBufferedPayload()
{
Debug.Assert(_bufferedPayloadReceiveResult != null,
"'_bufferedPayloadReceiveResult' MUST NOT be NULL.");
Debug.Assert(_bufferedPayloadReceiveResult.Count >= 0,
"'_bufferedPayloadReceiveResult.Count' MUST NOT be negative.");
Debug.Assert(_payloadOffset >= 0, "'m_PayloadOffset' MUST NOT be smaller than 0.");
Debug.Assert(_payloadOffset <= _payloadBuffer.Count,
"'m_PayloadOffset' MUST NOT be bigger than 'm_PayloadBuffer.Count'.");
Debug.Assert(_payloadOffset + _bufferedPayloadReceiveResult.Count <= _payloadBuffer.Count,
"'m_PayloadOffset + m_PayloadBytesBuffered' MUST NOT be bigger than 'm_PayloadBuffer.Count'.");
}
private int GetOffset(IntPtr pBuffer)
{
Debug.Assert(pBuffer != IntPtr.Zero, "'pBuffer' MUST NOT be IntPtr.Zero.");
int offset = (int)(pBuffer.ToInt64() - _startAddress + _internalBuffer.Offset);
Debug.Assert(offset >= 0, "'offset' MUST NOT be negative.");
return offset;
}
private int GetMaxBufferSize()
{
return Math.Max(_receiveBufferSize, _sendBufferSize);
}
// This method is actually checking whether the array "buffer" is located
// within m_NativeBuffer not m_InternalBuffer
internal bool IsInternalBuffer(byte[] buffer, int offset, int count)
{
Debug.Assert(buffer != null, "'buffer' MUST NOT be NULL.");
Debug.Assert(_nativeBuffer.Array != null, "'m_NativeBuffer.Array' MUST NOT be NULL.");
Debug.Assert(offset >= 0, "'offset' MUST NOT be negative.");
Debug.Assert(count >= 0, "'count' MUST NOT be negative.");
Debug.Assert(offset + count <= buffer.Length, "'offset + count' MUST NOT exceed 'buffer.Length'.");
return object.ReferenceEquals(buffer, _nativeBuffer.Array) &&
offset >= _nativeBuffer.Offset &&
offset + count <= _nativeBuffer.Offset + _nativeBuffer.Count;
}
internal IntPtr ToIntPtr(int offset)
{
Debug.Assert(offset >= 0, "'offset' MUST NOT be negative.");
Debug.Assert(_startAddress + offset - _internalBuffer.Offset <= _endAddress, "'offset' is TOO BIG.");
return new IntPtr(_startAddress + offset - _internalBuffer.Offset);
}
private bool IsNativeBuffer(IntPtr pBuffer, uint bufferSize)
{
Debug.Assert(pBuffer != IntPtr.Zero, "'pBuffer' MUST NOT be NULL.");
Debug.Assert(bufferSize <= GetMaxBufferSize(),
"'bufferSize' MUST NOT be bigger than 'm_ReceiveBufferSize' and 'm_SendBufferSize'.");
long nativeBufferStartAddress = pBuffer.ToInt64();
long nativeBufferEndAddress = bufferSize + nativeBufferStartAddress;
Debug.Assert(Marshal.UnsafeAddrOfPinnedArrayElement(_internalBuffer.Array!, _internalBuffer.Offset).ToInt64() == _startAddress,
"'m_InternalBuffer.Array' MUST be pinned for the whole lifetime of a WebSocket.");
if (nativeBufferStartAddress >= _startAddress &&
nativeBufferStartAddress <= _endAddress &&
nativeBufferEndAddress >= _startAddress &&
nativeBufferEndAddress <= _endAddress)
{
return true;
}
return false;
}
private void CleanUp()
{
if (_gcHandle.IsAllocated)
{
_gcHandle.Free();
}
ReleasePinnedSendBuffer();
}
internal static ArraySegment<byte> CreateInternalBufferArraySegment(int receiveBufferSize, int sendBufferSize, bool isServerBuffer)
{
Debug.Assert(receiveBufferSize >= HttpWebSocket.MinReceiveBufferSize, $"'receiveBufferSize' MUST be at least {HttpWebSocket.MinReceiveBufferSize}.");
Debug.Assert(sendBufferSize >= HttpWebSocket.MinSendBufferSize, $"'sendBufferSize' MUST be at least {HttpWebSocket.MinSendBufferSize}.");
int internalBufferSize = GetInternalBufferSize(receiveBufferSize, sendBufferSize, isServerBuffer);
return new ArraySegment<byte>(new byte[internalBufferSize]);
}
internal static void Validate(int count, int receiveBufferSize, int sendBufferSize, bool isServerBuffer)
{
Debug.Assert(receiveBufferSize >= HttpWebSocket.MinReceiveBufferSize, $"'receiveBufferSize' MUST be at least {HttpWebSocket.MinReceiveBufferSize}.");
Debug.Assert(sendBufferSize >= HttpWebSocket.MinSendBufferSize, $"'sendBufferSize' MUST be at least {HttpWebSocket.MinSendBufferSize}.");
int minBufferSize = GetInternalBufferSize(receiveBufferSize, sendBufferSize, isServerBuffer);
if (count < minBufferSize)
{
throw new ArgumentOutOfRangeException("internalBuffer",
SR.Format(SR.net_WebSockets_ArgumentOutOfRange_InternalBuffer, minBufferSize));
}
}
private static int GetInternalBufferSize(int receiveBufferSize, int sendBufferSize, bool isServerBuffer)
{
Debug.Assert(receiveBufferSize >= HttpWebSocket.MinReceiveBufferSize, $"'receiveBufferSize' MUST be at least {HttpWebSocket.MinReceiveBufferSize}.");
Debug.Assert(sendBufferSize >= HttpWebSocket.MinSendBufferSize, $"'sendBufferSize' MUST be at least {HttpWebSocket.MinSendBufferSize}.");
Debug.Assert(receiveBufferSize <= HttpWebSocket.MaxBufferSize, $"'receiveBufferSize' MUST be less than or equal to {HttpWebSocket.MaxBufferSize}.");
Debug.Assert(sendBufferSize <= HttpWebSocket.MaxBufferSize, $"'sendBufferSize' MUST be at less than or equal to {HttpWebSocket.MaxBufferSize}.");
int nativeSendBufferSize = GetNativeSendBufferSize(sendBufferSize, isServerBuffer);
return 2 * receiveBufferSize + nativeSendBufferSize + NativeOverheadBufferSize + s_PropertyBufferSize;
}
private static class SendBufferState
{
public const int None = 0;
public const int SendPayloadSpecified = 1;
}
private sealed class PayloadReceiveResult
{
public int Count { get; set; }
public bool EndOfMessage { get; }
public WebSocketMessageType MessageType { get; }
public PayloadReceiveResult(int count, WebSocketMessageType messageType, bool endOfMessage)
{
if (count < 0)
{
throw new ArgumentOutOfRangeException(nameof(count));
}
Count = count;
EndOfMessage = endOfMessage;
MessageType = messageType;
}
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Diagnostics;
using System.Globalization;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
namespace System.Net.WebSockets
{
// This class helps to abstract the internal WebSocket buffer, which is used to interact with the native WebSocket
// protocol component (WSPC). It helps to shield the details of the layout and the involved pointer arithmetic.
// The internal WebSocket buffer also contains a segment, which is used by the WebSocketBase class to buffer
// payload (parsed by WSPC already) for the application, if the application requested fewer bytes than the
// WSPC returned. The internal buffer is pinned for the whole lifetime if this class.
// LAYOUT:
// | Native buffer | PayloadReceiveBuffer | PropertyBuffer |
// | RBS + SBS + 144 | RBS | PBS |
// | Only WSPC may modify | Only WebSocketBase may modify |
//
// *RBS = ReceiveBufferSize, *SBS = SendBufferSize
// *PBS = PropertyBufferSize (32-bit: 16, 64 bit: 20 bytes)
internal sealed class WebSocketBuffer : IDisposable
{
private const int NativeOverheadBufferSize = 144;
private static readonly int s_PropertyBufferSize = 3 * sizeof(uint) + IntPtr.Size;
private readonly int _receiveBufferSize;
// Indicates the range of the pinned byte[] that can be used by the WSPC (nativeBuffer + pinnedSendBuffer)
private readonly long _startAddress;
private readonly long _endAddress;
private GCHandle _gcHandle;
private readonly ArraySegment<byte> _internalBuffer;
private readonly ArraySegment<byte> _nativeBuffer;
private readonly ArraySegment<byte> _payloadBuffer;
private readonly ArraySegment<byte> _propertyBuffer;
private readonly int _sendBufferSize;
private volatile int _payloadOffset;
private volatile PayloadReceiveResult? _bufferedPayloadReceiveResult;
private long _pinnedSendBufferStartAddress;
private long _pinnedSendBufferEndAddress;
private ArraySegment<byte> _pinnedSendBuffer;
private GCHandle _pinnedSendBufferHandle;
private int _stateWhenDisposing = int.MinValue;
private int _sendBufferState;
private WebSocketBuffer(ArraySegment<byte> internalBuffer, int receiveBufferSize, int sendBufferSize)
{
Debug.Assert(internalBuffer.Array != null, "'internalBuffer.Array' MUST NOT be NULL.");
Debug.Assert(receiveBufferSize >= HttpWebSocket.MinReceiveBufferSize, $"'receiveBufferSize' MUST be at least {HttpWebSocket.MinReceiveBufferSize}.");
Debug.Assert(sendBufferSize >= HttpWebSocket.MinSendBufferSize, $"'sendBufferSize' MUST be at least {HttpWebSocket.MinSendBufferSize}.");
Debug.Assert(receiveBufferSize <= HttpWebSocket.MaxBufferSize, $"'receiveBufferSize' MUST NOT exceed {HttpWebSocket.MaxBufferSize}.");
Debug.Assert(sendBufferSize <= HttpWebSocket.MaxBufferSize, $"'sendBufferSize' MUST NOT exceed {HttpWebSocket.MaxBufferSize}.");
_receiveBufferSize = receiveBufferSize;
_sendBufferSize = sendBufferSize;
_internalBuffer = internalBuffer;
_gcHandle = GCHandle.Alloc(internalBuffer.Array, GCHandleType.Pinned);
// Size of the internal buffer owned exclusively by the WSPC.
int nativeBufferSize = _receiveBufferSize + _sendBufferSize + NativeOverheadBufferSize;
_startAddress = Marshal.UnsafeAddrOfPinnedArrayElement(internalBuffer.Array, internalBuffer.Offset).ToInt64();
_endAddress = _startAddress + nativeBufferSize;
_nativeBuffer = new ArraySegment<byte>(internalBuffer.Array, internalBuffer.Offset, nativeBufferSize);
_payloadBuffer = new ArraySegment<byte>(internalBuffer.Array,
_nativeBuffer.Offset + _nativeBuffer.Count,
_receiveBufferSize);
_propertyBuffer = new ArraySegment<byte>(internalBuffer.Array,
_payloadBuffer.Offset + _payloadBuffer.Count,
s_PropertyBufferSize);
_sendBufferState = SendBufferState.None;
}
public int ReceiveBufferSize
{
get { return _receiveBufferSize; }
}
public int SendBufferSize
{
get { return _sendBufferSize; }
}
internal static WebSocketBuffer CreateServerBuffer(ArraySegment<byte> internalBuffer, int receiveBufferSize)
{
int sendBufferSize = GetNativeSendBufferSize(HttpWebSocket.MinSendBufferSize, true);
Debug.Assert(internalBuffer.Count >= GetInternalBufferSize(receiveBufferSize, sendBufferSize, true),
"Array 'internalBuffer' is TOO SMALL. Call Validate before instantiating WebSocketBuffer.");
return new WebSocketBuffer(internalBuffer, receiveBufferSize, sendBufferSize);
}
public void Dispose(WebSocketState webSocketState)
{
if (Interlocked.CompareExchange(ref _stateWhenDisposing, (int)webSocketState, int.MinValue) != int.MinValue)
{
return;
}
this.CleanUp();
}
public void Dispose()
{
this.Dispose(WebSocketState.None);
}
internal Interop.WebSocket.Property[] CreateProperties(bool useZeroMaskingKey)
{
ThrowIfDisposed();
// serialize marshaled property values in the property segment of the internal buffer
// m_GCHandle.AddrOfPinnedObject() points to the address of m_InternalBuffer.Array
IntPtr internalBufferPtr = _gcHandle.AddrOfPinnedObject();
int offset = _propertyBuffer.Offset;
Marshal.WriteInt32(internalBufferPtr, offset, _receiveBufferSize);
offset += sizeof(uint);
Marshal.WriteInt32(internalBufferPtr, offset, _sendBufferSize);
offset += sizeof(uint);
Marshal.WriteIntPtr(internalBufferPtr, offset, internalBufferPtr + _internalBuffer.Offset);
offset += IntPtr.Size;
Marshal.WriteInt32(internalBufferPtr, offset, useZeroMaskingKey ? (int)1 : (int)0);
int propertyCount = useZeroMaskingKey ? 4 : 3;
Interop.WebSocket.Property[] properties =
new Interop.WebSocket.Property[propertyCount];
// Calculate the pointers to the positions of the properties within the internal buffer
offset = _propertyBuffer.Offset;
properties[0] = new Interop.WebSocket.Property()
{
Type = WebSocketProtocolComponent.PropertyType.ReceiveBufferSize,
PropertySize = (uint)sizeof(uint),
PropertyData = IntPtr.Add(internalBufferPtr, offset)
};
offset += sizeof(uint);
properties[1] = new Interop.WebSocket.Property()
{
Type = WebSocketProtocolComponent.PropertyType.SendBufferSize,
PropertySize = (uint)sizeof(uint),
PropertyData = IntPtr.Add(internalBufferPtr, offset)
};
offset += sizeof(uint);
properties[2] = new Interop.WebSocket.Property()
{
Type = WebSocketProtocolComponent.PropertyType.AllocatedBuffer,
PropertySize = (uint)_nativeBuffer.Count,
PropertyData = IntPtr.Add(internalBufferPtr, offset)
};
offset += IntPtr.Size;
if (useZeroMaskingKey)
{
properties[3] = new Interop.WebSocket.Property()
{
Type = WebSocketProtocolComponent.PropertyType.DisableMasking,
PropertySize = (uint)sizeof(uint),
PropertyData = IntPtr.Add(internalBufferPtr, offset)
};
}
return properties;
}
// This method is not thread safe. It must only be called after enforcing at most 1 outstanding send operation
internal void PinSendBuffer(ArraySegment<byte> payload, out bool bufferHasBeenPinned)
{
bufferHasBeenPinned = false;
WebSocketValidate.ValidateBuffer(payload.Array!, payload.Offset, payload.Count);
int previousState = Interlocked.Exchange(ref _sendBufferState, SendBufferState.SendPayloadSpecified);
if (previousState != SendBufferState.None)
{
Debug.Fail("'m_SendBufferState' MUST BE 'None' at this point.");
// Indicates a violation in the API contract that could indicate
// memory corruption because the pinned sendbuffer is shared between managed and native code
throw new AccessViolationException();
}
_pinnedSendBuffer = payload;
_pinnedSendBufferHandle = GCHandle.Alloc(_pinnedSendBuffer.Array, GCHandleType.Pinned);
bufferHasBeenPinned = true;
_pinnedSendBufferStartAddress =
Marshal.UnsafeAddrOfPinnedArrayElement(_pinnedSendBuffer.Array!, _pinnedSendBuffer.Offset).ToInt64();
_pinnedSendBufferEndAddress = _pinnedSendBufferStartAddress + _pinnedSendBuffer.Count;
}
// This method is not thread safe. It must only be called after enforcing at most 1 outstanding send operation
internal IntPtr ConvertPinnedSendPayloadToNative(ArraySegment<byte> payload)
{
return ConvertPinnedSendPayloadToNative(payload.Array!, payload.Offset, payload.Count);
}
// This method is not thread safe. It must only be called after enforcing at most 1 outstanding send operation
internal IntPtr ConvertPinnedSendPayloadToNative(byte[] buffer, int offset, int count)
{
if (!IsPinnedSendPayloadBuffer(buffer, offset, count))
{
// Indicates a violation in the API contract that could indicate
// memory corruption because the pinned sendbuffer is shared between managed and native code
throw new AccessViolationException();
}
Debug.Assert(Marshal.UnsafeAddrOfPinnedArrayElement(_pinnedSendBuffer.Array!,
_pinnedSendBuffer.Offset).ToInt64() == _pinnedSendBufferStartAddress,
"'m_PinnedSendBuffer.Array' MUST be pinned during the entire send operation.");
return new IntPtr(_pinnedSendBufferStartAddress + offset - _pinnedSendBuffer.Offset);
}
// This method is not thread safe. It must only be called after enforcing at most 1 outstanding send operation
internal ArraySegment<byte> ConvertPinnedSendPayloadFromNative(Interop.WebSocket.Buffer buffer,
WebSocketProtocolComponent.BufferType bufferType)
{
if (!IsPinnedSendPayloadBuffer(buffer, bufferType))
{
// Indicates a violation in the API contract that could indicate
// memory corruption because the pinned sendbuffer is shared between managed and native code
throw new AccessViolationException();
}
Debug.Assert(Marshal.UnsafeAddrOfPinnedArrayElement(_pinnedSendBuffer.Array!,
_pinnedSendBuffer.Offset).ToInt64() == _pinnedSendBufferStartAddress,
"'m_PinnedSendBuffer.Array' MUST be pinned during the entire send operation.");
IntPtr bufferData;
uint bufferSize;
UnwrapWebSocketBuffer(buffer, bufferType, out bufferData, out bufferSize);
int internalOffset = (int)(bufferData.ToInt64() - _pinnedSendBufferStartAddress);
return new ArraySegment<byte>(_pinnedSendBuffer.Array!, _pinnedSendBuffer.Offset + internalOffset, (int)bufferSize);
}
// This method is not thread safe. It must only be called after enforcing at most 1 outstanding send operation
private bool IsPinnedSendPayloadBuffer(byte[] buffer, int offset, int count)
{
if (_sendBufferState != SendBufferState.SendPayloadSpecified)
{
return false;
}
return object.ReferenceEquals(buffer, _pinnedSendBuffer.Array) &&
offset >= _pinnedSendBuffer.Offset &&
offset + count <= _pinnedSendBuffer.Offset + _pinnedSendBuffer.Count;
}
// This method is not thread safe. It must only be called after enforcing at most 1 outstanding send operation
internal bool IsPinnedSendPayloadBuffer(Interop.WebSocket.Buffer buffer,
WebSocketProtocolComponent.BufferType bufferType)
{
if (_sendBufferState != SendBufferState.SendPayloadSpecified)
{
return false;
}
IntPtr bufferData;
uint bufferSize;
UnwrapWebSocketBuffer(buffer, bufferType, out bufferData, out bufferSize);
long nativeBufferStartAddress = bufferData.ToInt64();
long nativeBufferEndAddress = nativeBufferStartAddress + bufferSize;
return nativeBufferStartAddress >= _pinnedSendBufferStartAddress &&
nativeBufferEndAddress >= _pinnedSendBufferStartAddress &&
nativeBufferStartAddress <= _pinnedSendBufferEndAddress &&
nativeBufferEndAddress <= _pinnedSendBufferEndAddress;
}
// This method is only thread safe for races between Abort and at most 1 uncompleted send operation
internal void ReleasePinnedSendBuffer()
{
int previousState = Interlocked.Exchange(ref _sendBufferState, SendBufferState.None);
if (previousState != SendBufferState.SendPayloadSpecified)
{
return;
}
if (_pinnedSendBufferHandle.IsAllocated)
{
_pinnedSendBufferHandle.Free();
}
_pinnedSendBuffer = ArraySegment<byte>.Empty;
}
internal void BufferPayload(ArraySegment<byte> payload,
int unconsumedDataOffset,
WebSocketMessageType messageType,
bool endOfMessage)
{
ThrowIfDisposed();
int bytesBuffered = payload.Count - unconsumedDataOffset;
Debug.Assert(_payloadOffset == 0,
"'m_PayloadOffset' MUST be '0' at this point.");
Debug.Assert(_bufferedPayloadReceiveResult == null || _bufferedPayloadReceiveResult.Count == 0,
"'_bufferedPayloadReceiveResult.Count' MUST be '0' at this point.");
Buffer.BlockCopy(payload.Array!,
payload.Offset + unconsumedDataOffset,
_payloadBuffer.Array!,
_payloadBuffer.Offset,
bytesBuffered);
_bufferedPayloadReceiveResult =
new PayloadReceiveResult(bytesBuffered, messageType, endOfMessage);
this.ValidateBufferedPayload();
}
internal bool ReceiveFromBufferedPayload(ArraySegment<byte> buffer, out WebSocketReceiveResult receiveResult)
{
ThrowIfDisposed();
ValidateBufferedPayload();
int bytesTransferred = Math.Min(buffer.Count, _bufferedPayloadReceiveResult!.Count);
_bufferedPayloadReceiveResult.Count -= bytesTransferred;
receiveResult = new WebSocketReceiveResult(
bytesTransferred,
_bufferedPayloadReceiveResult.MessageType,
_bufferedPayloadReceiveResult.Count == 0 && _bufferedPayloadReceiveResult.EndOfMessage);
Buffer.BlockCopy(_payloadBuffer.Array!,
_payloadBuffer.Offset + _payloadOffset,
buffer.Array!,
buffer.Offset,
bytesTransferred);
bool morePayloadBuffered;
if (_bufferedPayloadReceiveResult.Count == 0)
{
_payloadOffset = 0;
_bufferedPayloadReceiveResult = null;
morePayloadBuffered = false;
}
else
{
_payloadOffset += bytesTransferred;
morePayloadBuffered = true;
this.ValidateBufferedPayload();
}
return morePayloadBuffered;
}
internal ArraySegment<byte> ConvertNativeBuffer(WebSocketProtocolComponent.Action action,
Interop.WebSocket.Buffer buffer,
WebSocketProtocolComponent.BufferType bufferType)
{
ThrowIfDisposed();
IntPtr bufferData;
uint bufferLength;
UnwrapWebSocketBuffer(buffer, bufferType, out bufferData, out bufferLength);
if (bufferData == IntPtr.Zero)
{
return ArraySegment<byte>.Empty;
}
if (this.IsNativeBuffer(bufferData, bufferLength))
{
return new ArraySegment<byte>(_internalBuffer.Array!,
this.GetOffset(bufferData),
(int)bufferLength);
}
Debug.Fail("'buffer' MUST reference a memory segment within the pinned InternalBuffer.");
// Indicates a violation in the contract with native Websocket.dll and could indicate
// memory corruption because the internal buffer is shared between managed and native code
throw new AccessViolationException();
}
internal void ConvertCloseBuffer(WebSocketProtocolComponent.Action action,
Interop.WebSocket.Buffer buffer,
out WebSocketCloseStatus closeStatus,
out string? reason)
{
ThrowIfDisposed();
IntPtr bufferData;
uint bufferLength;
closeStatus = (WebSocketCloseStatus)buffer.CloseStatus.CloseStatus;
UnwrapWebSocketBuffer(buffer, WebSocketProtocolComponent.BufferType.Close, out bufferData, out bufferLength);
if (bufferData == IntPtr.Zero)
{
reason = null;
}
else
{
ArraySegment<byte> reasonBlob;
if (this.IsNativeBuffer(bufferData, bufferLength))
{
reasonBlob = new ArraySegment<byte>(_internalBuffer.Array!,
this.GetOffset(bufferData),
(int)bufferLength);
}
else
{
Debug.Fail("'buffer' MUST reference a memory segment within the pinned InternalBuffer.");
// Indicates a violation in the contract with native Websocket.dll and could indicate
// memory corruption because the internal buffer is shared between managed and native code
throw new AccessViolationException();
}
// No need to wrap DecoderFallbackException for invalid UTF8 chacters, because
// Encoding.UTF8 will not throw but replace invalid characters instead.
reason = Encoding.UTF8.GetString(reasonBlob.Array!, reasonBlob.Offset, reasonBlob.Count);
}
}
internal void ValidateNativeBuffers(WebSocketProtocolComponent.Action action,
WebSocketProtocolComponent.BufferType bufferType,
Interop.WebSocket.Buffer[] dataBuffers,
uint dataBufferCount)
{
Debug.Assert(dataBufferCount <= (uint)int.MaxValue,
"'dataBufferCount' MUST NOT be bigger than Int32.MaxValue.");
Debug.Assert(dataBuffers != null, "'dataBuffers' MUST NOT be NULL.");
ThrowIfDisposed();
if (dataBufferCount > dataBuffers.Length)
{
Debug.Fail("'dataBufferCount' MUST NOT be bigger than 'dataBuffers.Length'.");
// Indicates a violation in the contract with native Websocket.dll and could indicate
// memory corruption because the internal buffer is shared between managed and native code
throw new AccessViolationException();
}
int count = dataBuffers.Length;
bool isSendActivity = action == WebSocketProtocolComponent.Action.IndicateSendComplete ||
action == WebSocketProtocolComponent.Action.SendToNetwork;
if (isSendActivity)
{
count = (int)dataBufferCount;
}
bool nonZeroBufferFound = false;
for (int i = 0; i < count; i++)
{
Interop.WebSocket.Buffer dataBuffer = dataBuffers[i];
IntPtr bufferData;
uint bufferLength;
UnwrapWebSocketBuffer(dataBuffer, bufferType, out bufferData, out bufferLength);
if (bufferData == IntPtr.Zero)
{
continue;
}
nonZeroBufferFound = true;
bool isPinnedSendPayloadBuffer = IsPinnedSendPayloadBuffer(dataBuffer, bufferType);
if (bufferLength > GetMaxBufferSize())
{
if (!isSendActivity || !isPinnedSendPayloadBuffer)
{
Debug.Fail("'dataBuffer.BufferLength' MUST NOT be bigger than 'm_ReceiveBufferSize' and 'm_SendBufferSize'.");
// Indicates a violation in the contract with native Websocket.dll and could indicate
// memory corruption because the internal buffer is shared between managed and native code
throw new AccessViolationException();
}
}
if (!isPinnedSendPayloadBuffer && !IsNativeBuffer(bufferData, bufferLength))
{
Debug.Fail("WebSocketGetAction MUST return a pointer within the pinned internal buffer.");
// Indicates a violation in the contract with native Websocket.dll and could indicate
// memory corruption because the internal buffer is shared between managed and native code
throw new AccessViolationException();
}
}
if (!nonZeroBufferFound &&
action != WebSocketProtocolComponent.Action.NoAction &&
action != WebSocketProtocolComponent.Action.IndicateReceiveComplete &&
action != WebSocketProtocolComponent.Action.IndicateSendComplete)
{
Debug.Fail("At least one 'dataBuffer.Buffer' MUST NOT be NULL.");
}
}
private static int GetNativeSendBufferSize(int sendBufferSize, bool isServerBuffer)
{
return isServerBuffer ? HttpWebSocket.MinSendBufferSize : sendBufferSize;
}
internal static void UnwrapWebSocketBuffer(Interop.WebSocket.Buffer buffer,
WebSocketProtocolComponent.BufferType bufferType,
out IntPtr bufferData,
out uint bufferLength)
{
bufferData = IntPtr.Zero;
bufferLength = 0;
switch (bufferType)
{
case WebSocketProtocolComponent.BufferType.Close:
bufferData = buffer.CloseStatus.ReasonData;
bufferLength = buffer.CloseStatus.ReasonLength;
break;
case WebSocketProtocolComponent.BufferType.None:
case WebSocketProtocolComponent.BufferType.BinaryFragment:
case WebSocketProtocolComponent.BufferType.BinaryMessage:
case WebSocketProtocolComponent.BufferType.UTF8Fragment:
case WebSocketProtocolComponent.BufferType.UTF8Message:
case WebSocketProtocolComponent.BufferType.PingPong:
case WebSocketProtocolComponent.BufferType.UnsolicitedPong:
bufferData = buffer.Data.BufferData;
bufferLength = buffer.Data.BufferLength;
break;
default:
Debug.Fail($"BufferType '{bufferType}' is invalid/unknown.");
break;
}
}
private void ThrowIfDisposed()
{
switch (_stateWhenDisposing)
{
case int.MinValue:
return;
case (int)WebSocketState.Closed:
case (int)WebSocketState.Aborted:
throw new WebSocketException(WebSocketError.InvalidState,
SR.Format(SR.net_WebSockets_InvalidState_ClosedOrAborted, typeof(WebSocketBase), _stateWhenDisposing));
default:
throw new ObjectDisposedException(GetType().FullName);
}
}
[Conditional("DEBUG")]
private void ValidateBufferedPayload()
{
Debug.Assert(_bufferedPayloadReceiveResult != null,
"'_bufferedPayloadReceiveResult' MUST NOT be NULL.");
Debug.Assert(_bufferedPayloadReceiveResult.Count >= 0,
"'_bufferedPayloadReceiveResult.Count' MUST NOT be negative.");
Debug.Assert(_payloadOffset >= 0, "'m_PayloadOffset' MUST NOT be smaller than 0.");
Debug.Assert(_payloadOffset <= _payloadBuffer.Count,
"'m_PayloadOffset' MUST NOT be bigger than 'm_PayloadBuffer.Count'.");
Debug.Assert(_payloadOffset + _bufferedPayloadReceiveResult.Count <= _payloadBuffer.Count,
"'m_PayloadOffset + m_PayloadBytesBuffered' MUST NOT be bigger than 'm_PayloadBuffer.Count'.");
}
private int GetOffset(IntPtr pBuffer)
{
Debug.Assert(pBuffer != IntPtr.Zero, "'pBuffer' MUST NOT be IntPtr.Zero.");
int offset = (int)(pBuffer.ToInt64() - _startAddress + _internalBuffer.Offset);
Debug.Assert(offset >= 0, "'offset' MUST NOT be negative.");
return offset;
}
private int GetMaxBufferSize()
{
return Math.Max(_receiveBufferSize, _sendBufferSize);
}
// This method is actually checking whether the array "buffer" is located
// within m_NativeBuffer not m_InternalBuffer
internal bool IsInternalBuffer(byte[] buffer, int offset, int count)
{
Debug.Assert(buffer != null, "'buffer' MUST NOT be NULL.");
Debug.Assert(_nativeBuffer.Array != null, "'m_NativeBuffer.Array' MUST NOT be NULL.");
Debug.Assert(offset >= 0, "'offset' MUST NOT be negative.");
Debug.Assert(count >= 0, "'count' MUST NOT be negative.");
Debug.Assert(offset + count <= buffer.Length, "'offset + count' MUST NOT exceed 'buffer.Length'.");
return object.ReferenceEquals(buffer, _nativeBuffer.Array) &&
offset >= _nativeBuffer.Offset &&
offset + count <= _nativeBuffer.Offset + _nativeBuffer.Count;
}
internal IntPtr ToIntPtr(int offset)
{
Debug.Assert(offset >= 0, "'offset' MUST NOT be negative.");
Debug.Assert(_startAddress + offset - _internalBuffer.Offset <= _endAddress, "'offset' is TOO BIG.");
return new IntPtr(_startAddress + offset - _internalBuffer.Offset);
}
private bool IsNativeBuffer(IntPtr pBuffer, uint bufferSize)
{
Debug.Assert(pBuffer != IntPtr.Zero, "'pBuffer' MUST NOT be NULL.");
Debug.Assert(bufferSize <= GetMaxBufferSize(),
"'bufferSize' MUST NOT be bigger than 'm_ReceiveBufferSize' and 'm_SendBufferSize'.");
long nativeBufferStartAddress = pBuffer.ToInt64();
long nativeBufferEndAddress = bufferSize + nativeBufferStartAddress;
Debug.Assert(Marshal.UnsafeAddrOfPinnedArrayElement(_internalBuffer.Array!, _internalBuffer.Offset).ToInt64() == _startAddress,
"'m_InternalBuffer.Array' MUST be pinned for the whole lifetime of a WebSocket.");
if (nativeBufferStartAddress >= _startAddress &&
nativeBufferStartAddress <= _endAddress &&
nativeBufferEndAddress >= _startAddress &&
nativeBufferEndAddress <= _endAddress)
{
return true;
}
return false;
}
private void CleanUp()
{
if (_gcHandle.IsAllocated)
{
_gcHandle.Free();
}
ReleasePinnedSendBuffer();
}
internal static ArraySegment<byte> CreateInternalBufferArraySegment(int receiveBufferSize, int sendBufferSize, bool isServerBuffer)
{
Debug.Assert(receiveBufferSize >= HttpWebSocket.MinReceiveBufferSize, $"'receiveBufferSize' MUST be at least {HttpWebSocket.MinReceiveBufferSize}.");
Debug.Assert(sendBufferSize >= HttpWebSocket.MinSendBufferSize, $"'sendBufferSize' MUST be at least {HttpWebSocket.MinSendBufferSize}.");
int internalBufferSize = GetInternalBufferSize(receiveBufferSize, sendBufferSize, isServerBuffer);
return new ArraySegment<byte>(new byte[internalBufferSize]);
}
internal static void Validate(int count, int receiveBufferSize, int sendBufferSize, bool isServerBuffer)
{
Debug.Assert(receiveBufferSize >= HttpWebSocket.MinReceiveBufferSize, $"'receiveBufferSize' MUST be at least {HttpWebSocket.MinReceiveBufferSize}.");
Debug.Assert(sendBufferSize >= HttpWebSocket.MinSendBufferSize, $"'sendBufferSize' MUST be at least {HttpWebSocket.MinSendBufferSize}.");
int minBufferSize = GetInternalBufferSize(receiveBufferSize, sendBufferSize, isServerBuffer);
if (count < minBufferSize)
{
throw new ArgumentOutOfRangeException("internalBuffer",
SR.Format(SR.net_WebSockets_ArgumentOutOfRange_InternalBuffer, minBufferSize));
}
}
private static int GetInternalBufferSize(int receiveBufferSize, int sendBufferSize, bool isServerBuffer)
{
Debug.Assert(receiveBufferSize >= HttpWebSocket.MinReceiveBufferSize, $"'receiveBufferSize' MUST be at least {HttpWebSocket.MinReceiveBufferSize}.");
Debug.Assert(sendBufferSize >= HttpWebSocket.MinSendBufferSize, $"'sendBufferSize' MUST be at least {HttpWebSocket.MinSendBufferSize}.");
Debug.Assert(receiveBufferSize <= HttpWebSocket.MaxBufferSize, $"'receiveBufferSize' MUST be less than or equal to {HttpWebSocket.MaxBufferSize}.");
Debug.Assert(sendBufferSize <= HttpWebSocket.MaxBufferSize, $"'sendBufferSize' MUST be at less than or equal to {HttpWebSocket.MaxBufferSize}.");
int nativeSendBufferSize = GetNativeSendBufferSize(sendBufferSize, isServerBuffer);
return 2 * receiveBufferSize + nativeSendBufferSize + NativeOverheadBufferSize + s_PropertyBufferSize;
}
private static class SendBufferState
{
public const int None = 0;
public const int SendPayloadSpecified = 1;
}
private sealed class PayloadReceiveResult
{
public int Count { get; set; }
public bool EndOfMessage { get; }
public WebSocketMessageType MessageType { get; }
public PayloadReceiveResult(int count, WebSocketMessageType messageType, bool endOfMessage)
{
if (count < 0)
{
throw new ArgumentOutOfRangeException(nameof(count));
}
Count = count;
EndOfMessage = endOfMessage;
MessageType = messageType;
}
}
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/libraries/System.Drawing.Common/src/System/Drawing/Drawing2D/CustomLineCap.Windows.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Runtime.InteropServices;
using Gdip = System.Drawing.SafeNativeMethods.Gdip;
namespace System.Drawing.Drawing2D
{
public partial class CustomLineCap
{
internal static CustomLineCap CreateCustomLineCapObject(IntPtr cap)
{
int status = Gdip.GdipGetCustomLineCapType(cap, out CustomLineCapType capType);
if (status != Gdip.Ok)
{
Gdip.GdipDeleteCustomLineCap(cap);
throw Gdip.StatusException(status);
}
switch (capType)
{
case CustomLineCapType.Default:
return new CustomLineCap(cap);
case CustomLineCapType.AdjustableArrowCap:
return new AdjustableArrowCap(cap);
}
Gdip.GdipDeleteCustomLineCap(cap);
throw Gdip.StatusException(Gdip.NotImplemented);
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Runtime.InteropServices;
using Gdip = System.Drawing.SafeNativeMethods.Gdip;
namespace System.Drawing.Drawing2D
{
public partial class CustomLineCap
{
internal static CustomLineCap CreateCustomLineCapObject(IntPtr cap)
{
int status = Gdip.GdipGetCustomLineCapType(cap, out CustomLineCapType capType);
if (status != Gdip.Ok)
{
Gdip.GdipDeleteCustomLineCap(cap);
throw Gdip.StatusException(status);
}
switch (capType)
{
case CustomLineCapType.Default:
return new CustomLineCap(cap);
case CustomLineCapType.AdjustableArrowCap:
return new AdjustableArrowCap(cap);
}
Gdip.GdipDeleteCustomLineCap(cap);
throw Gdip.StatusException(Gdip.NotImplemented);
}
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/libraries/System.Private.CoreLib/src/System/IO/FileShare.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.IO
{
// Contains constants for controlling file sharing options while
// opening files. You can specify what access other processes trying
// to open the same file concurrently can have.
//
// Note these values currently match the values for FILE_SHARE_READ,
// FILE_SHARE_WRITE, and FILE_SHARE_DELETE in winnt.h
//
[Flags]
public enum FileShare
{
// No sharing. Any request to open the file (by this process or another
// process) will fail until the file is closed.
None = 0,
// Allows subsequent opening of the file for reading. If this flag is not
// specified, any request to open the file for reading (by this process or
// another process) will fail until the file is closed.
Read = 1,
// Allows subsequent opening of the file for writing. If this flag is not
// specified, any request to open the file for writing (by this process or
// another process) will fail until the file is closed.
Write = 2,
// Allows subsequent opening of the file for writing or reading. If this flag
// is not specified, any request to open the file for writing or reading (by
// this process or another process) will fail until the file is closed.
ReadWrite = 3,
// Open the file, but allow someone else to delete the file.
Delete = 4,
// Whether the file handle should be inheritable by child processes.
// Note this is not directly supported like this by Win32.
Inheritable = 0x10,
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.IO
{
// Contains constants for controlling file sharing options while
// opening files. You can specify what access other processes trying
// to open the same file concurrently can have.
//
// Note these values currently match the values for FILE_SHARE_READ,
// FILE_SHARE_WRITE, and FILE_SHARE_DELETE in winnt.h
//
[Flags]
public enum FileShare
{
// No sharing. Any request to open the file (by this process or another
// process) will fail until the file is closed.
None = 0,
// Allows subsequent opening of the file for reading. If this flag is not
// specified, any request to open the file for reading (by this process or
// another process) will fail until the file is closed.
Read = 1,
// Allows subsequent opening of the file for writing. If this flag is not
// specified, any request to open the file for writing (by this process or
// another process) will fail until the file is closed.
Write = 2,
// Allows subsequent opening of the file for writing or reading. If this flag
// is not specified, any request to open the file for writing or reading (by
// this process or another process) will fail until the file is closed.
ReadWrite = 3,
// Open the file, but allow someone else to delete the file.
Delete = 4,
// Whether the file handle should be inheritable by child processes.
// Note this is not directly supported like this by Win32.
Inheritable = 0x10,
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/tests/ilverify/ILTests/FieldTests.il | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
.assembly extern System.Runtime
{
}
.assembly FieldTests
{
}
.class private auto ansi beforefieldinit ConstrainedClass`1<([System.Runtime]System.Collections.IEnumerable) T>
extends [System.Runtime]System.Object
{
.field public static int32 StaticField
.method public hidebysig specialname rtspecialname instance void .ctor () cil managed
{
ldarg.0
call instance void [System.Runtime]System.Object::.ctor()
ret
}
}
.class public auto ansi beforefieldinit FieldTestsType
extends [System.Runtime]System.Object
{
.field public initonly int32 InstanceInitonlyField
.field public static initonly int32 StaticInitonlyField
.field private initonly int32 InstanceExternalInitField
.method public hidebysig specialname instance void modreq([System.Runtime]System.Runtime.CompilerServices.IsExternalInit) 'special.StoreExternalInitField.set_MyProperty_Valid'(int32 'value') cil managed { ret }
.method public hidebysig specialname instance void modreq([System.Runtime]System.Runtime.CompilerServices.IsExternalInit) set_MyProperty(int32 'value') cil managed
{
ldarg.0
ldarg.1
stfld int32 FieldTestsType::InstanceExternalInitField
ret
}
.method public instance void Stsfld.UnsatisfiedParentConstraints_Invalid_UnsatisfiedFieldParentInst() cil managed
{
ldc.i4.0
stsfld int32 class ConstrainedClass`1<int32>::StaticField
ret
}
.method public instance void Stfld.InitonlyFieldOutsideCtor_Invalid_InitOnly() cil managed
{
ldarg.0
ldc.i4.0
stfld int32 FieldTestsType::InstanceInitonlyField
ret
}
// TODO: verification of readonly references https://github.com/dotnet/runtime/issues/57444
.method public instance void Ldflda.InitonlyFieldOutsideCtor_Valid() cil managed
{
ldarg.0
ldflda int32 FieldTestsType::InstanceInitonlyField
pop
ret
}
.method public hidebysig instance void 'special.StoreInitonlyField..ctor_Valid'() cil managed { ret }
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed
{
ldarg.0
call instance void [System.Runtime]System.Object::.ctor()
ldarg.0
ldc.i4.0
stfld int32 FieldTestsType::InstanceInitonlyField
ret
}
.method public hidebysig instance void 'special.LoadAddrInitonlyField..ctor_Valid'(int32) cil managed { ret }
.method public hidebysig specialname rtspecialname instance void .ctor(int32) cil managed
{
ldarg.0
call instance void [System.Runtime]System.Object::.ctor()
ldarg.0
ldflda int32 FieldTestsType::InstanceInitonlyField
pop
ret
}
.method public hidebysig instance void 'special.LoadAddrInitonlyField..ctor_Valid'(int64) cil managed { ret }
.method public hidebysig specialname rtspecialname instance void .ctor(int64) cil managed
{
ldarg.0
call instance void [System.Runtime]System.Object::.ctor()
ldarg.0
ldflda int32 FieldTestsType::InstanceInitonlyField
pop
ret
}
.method public hidebysig instance void 'special.StoreInitonlyFieldOtherType..ctor_Invalid_InitOnly'(class OtherType c) cil managed { ret }
.method public hidebysig specialname rtspecialname instance void .ctor(class OtherType c) cil managed
{
ldarg.0
call instance void [System.Runtime]System.Object::.ctor()
ldarg.1
ldc.i4.0
stfld int32 OtherType::InstanceInitonlyField
ret
}
.method public hidebysig instance void 'special.StoreInitonlyFieldOtherInstance..ctor_Invalid_InitOnly'(class FieldTestsType c) cil managed { ret }
.method public hidebysig specialname rtspecialname instance void .ctor(class FieldTestsType c) cil managed
{
ldarg.0
call instance void [System.Runtime]System.Object::.ctor()
ldarg.1
ldc.i4.0
stfld int32 FieldTestsType::InstanceInitonlyField
ret
}
.method public hidebysig instance void 'special.StsfldInitonlyInCtor..ctor_Invalid_InitOnly'(bool) cil managed { ret }
.method public hidebysig specialname rtspecialname instance void .ctor(bool) cil managed
{
ldarg.0
call instance void [System.Runtime]System.Object::.ctor()
ldc.i4.0
stsfld int32 FieldTestsType::StaticInitonlyField
ret
}
.method public hidebysig instance void 'special.LdsfldInitonlyInCtor..ctor_Invalid_InitOnly'(char) cil managed { ret }
.method public hidebysig specialname rtspecialname instance void .ctor(char) cil managed
{
ldarg.0
call instance void [System.Runtime]System.Object::.ctor()
ldsflda int32 FieldTestsType::StaticInitonlyField
pop
ret
}
.method public hidebysig instance void 'special.LdsfldStslfdInitonlyCctor..cctor_Valid'() cil managed { ret }
.method public hidebysig specialname rtspecialname instance void .cctor() cil managed
{
ldsflda int32 FieldTestsType::StaticInitonlyField
pop
ldc.i4.0
stsfld int32 FieldTestsType::StaticInitonlyField
ret
}
}
.class public auto ansi beforefieldinit OtherType
extends [System.Runtime]System.Object
{
.field public static class OtherType Instance
.field public initonly int32 InstanceInitonlyField
.field public static initonly int32 StaticInitonlyField
.method public hidebysig instance void 'special.LdfldStlfdInitonlyCctor..cctor_Invalid_InitOnly'() cil managed { ret }
.method public hidebysig specialname rtspecialname instance void .cctor() cil managed
{
ldsfld class OtherType OtherType::Instance
ldflda int32 OtherType::InstanceInitonlyField
pop
ldsfld class OtherType OtherType::Instance
ldc.i4.0
stfld int32 OtherType::InstanceInitonlyField
ret
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
.assembly extern System.Runtime
{
}
.assembly FieldTests
{
}
.class private auto ansi beforefieldinit ConstrainedClass`1<([System.Runtime]System.Collections.IEnumerable) T>
extends [System.Runtime]System.Object
{
.field public static int32 StaticField
.method public hidebysig specialname rtspecialname instance void .ctor () cil managed
{
ldarg.0
call instance void [System.Runtime]System.Object::.ctor()
ret
}
}
.class public auto ansi beforefieldinit FieldTestsType
extends [System.Runtime]System.Object
{
.field public initonly int32 InstanceInitonlyField
.field public static initonly int32 StaticInitonlyField
.field private initonly int32 InstanceExternalInitField
.method public hidebysig specialname instance void modreq([System.Runtime]System.Runtime.CompilerServices.IsExternalInit) 'special.StoreExternalInitField.set_MyProperty_Valid'(int32 'value') cil managed { ret }
.method public hidebysig specialname instance void modreq([System.Runtime]System.Runtime.CompilerServices.IsExternalInit) set_MyProperty(int32 'value') cil managed
{
ldarg.0
ldarg.1
stfld int32 FieldTestsType::InstanceExternalInitField
ret
}
.method public instance void Stsfld.UnsatisfiedParentConstraints_Invalid_UnsatisfiedFieldParentInst() cil managed
{
ldc.i4.0
stsfld int32 class ConstrainedClass`1<int32>::StaticField
ret
}
.method public instance void Stfld.InitonlyFieldOutsideCtor_Invalid_InitOnly() cil managed
{
ldarg.0
ldc.i4.0
stfld int32 FieldTestsType::InstanceInitonlyField
ret
}
// TODO: verification of readonly references https://github.com/dotnet/runtime/issues/57444
.method public instance void Ldflda.InitonlyFieldOutsideCtor_Valid() cil managed
{
ldarg.0
ldflda int32 FieldTestsType::InstanceInitonlyField
pop
ret
}
.method public hidebysig instance void 'special.StoreInitonlyField..ctor_Valid'() cil managed { ret }
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed
{
ldarg.0
call instance void [System.Runtime]System.Object::.ctor()
ldarg.0
ldc.i4.0
stfld int32 FieldTestsType::InstanceInitonlyField
ret
}
.method public hidebysig instance void 'special.LoadAddrInitonlyField..ctor_Valid'(int32) cil managed { ret }
.method public hidebysig specialname rtspecialname instance void .ctor(int32) cil managed
{
ldarg.0
call instance void [System.Runtime]System.Object::.ctor()
ldarg.0
ldflda int32 FieldTestsType::InstanceInitonlyField
pop
ret
}
.method public hidebysig instance void 'special.LoadAddrInitonlyField..ctor_Valid'(int64) cil managed { ret }
.method public hidebysig specialname rtspecialname instance void .ctor(int64) cil managed
{
ldarg.0
call instance void [System.Runtime]System.Object::.ctor()
ldarg.0
ldflda int32 FieldTestsType::InstanceInitonlyField
pop
ret
}
.method public hidebysig instance void 'special.StoreInitonlyFieldOtherType..ctor_Invalid_InitOnly'(class OtherType c) cil managed { ret }
.method public hidebysig specialname rtspecialname instance void .ctor(class OtherType c) cil managed
{
ldarg.0
call instance void [System.Runtime]System.Object::.ctor()
ldarg.1
ldc.i4.0
stfld int32 OtherType::InstanceInitonlyField
ret
}
.method public hidebysig instance void 'special.StoreInitonlyFieldOtherInstance..ctor_Invalid_InitOnly'(class FieldTestsType c) cil managed { ret }
.method public hidebysig specialname rtspecialname instance void .ctor(class FieldTestsType c) cil managed
{
ldarg.0
call instance void [System.Runtime]System.Object::.ctor()
ldarg.1
ldc.i4.0
stfld int32 FieldTestsType::InstanceInitonlyField
ret
}
.method public hidebysig instance void 'special.StsfldInitonlyInCtor..ctor_Invalid_InitOnly'(bool) cil managed { ret }
.method public hidebysig specialname rtspecialname instance void .ctor(bool) cil managed
{
ldarg.0
call instance void [System.Runtime]System.Object::.ctor()
ldc.i4.0
stsfld int32 FieldTestsType::StaticInitonlyField
ret
}
.method public hidebysig instance void 'special.LdsfldInitonlyInCtor..ctor_Invalid_InitOnly'(char) cil managed { ret }
.method public hidebysig specialname rtspecialname instance void .ctor(char) cil managed
{
ldarg.0
call instance void [System.Runtime]System.Object::.ctor()
ldsflda int32 FieldTestsType::StaticInitonlyField
pop
ret
}
.method public hidebysig instance void 'special.LdsfldStslfdInitonlyCctor..cctor_Valid'() cil managed { ret }
.method public hidebysig specialname rtspecialname instance void .cctor() cil managed
{
ldsflda int32 FieldTestsType::StaticInitonlyField
pop
ldc.i4.0
stsfld int32 FieldTestsType::StaticInitonlyField
ret
}
}
.class public auto ansi beforefieldinit OtherType
extends [System.Runtime]System.Object
{
.field public static class OtherType Instance
.field public initonly int32 InstanceInitonlyField
.field public static initonly int32 StaticInitonlyField
.method public hidebysig instance void 'special.LdfldStlfdInitonlyCctor..cctor_Invalid_InitOnly'() cil managed { ret }
.method public hidebysig specialname rtspecialname instance void .cctor() cil managed
{
ldsfld class OtherType OtherType::Instance
ldflda int32 OtherType::InstanceInitonlyField
pop
ldsfld class OtherType OtherType::Instance
ldc.i4.0
stfld int32 OtherType::InstanceInitonlyField
ret
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/tests/reflection/Modifiers/modifiers.csproj | <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<OutputType>Exe</OutputType>
</PropertyGroup>
<ItemGroup>
<Compile Include="modifiers.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="modifiersdata.ilproj" />
</ItemGroup>
</Project>
| <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<OutputType>Exe</OutputType>
</PropertyGroup>
<ItemGroup>
<Compile Include="modifiers.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="modifiersdata.ilproj" />
</ItemGroup>
</Project>
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/libraries/Common/tests/System/Net/Prerequisites/Servers/CoreFxNetCloudService/WebServer/WebSocket/EchoWebSocket.ashx | <%@ WebHandler Language="C#" CodeBehind="EchoWebSocket.ashx.cs" Class="WebServer.EchoWebSocket" %>
| <%@ WebHandler Language="C#" CodeBehind="EchoWebSocket.ashx.cs" Class="WebServer.EchoWebSocket" %>
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/coreclr/pal/tests/palsuite/c_runtime/fmod/test1/test1.cpp | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/*=============================================================================
**
** Source: test1.c
**
** Purpose: Test to ensure that fmod return the correct values
**
** Dependencies: PAL_Initialize
** PAL_Terminate
** Fail
** fabs
**
**===========================================================================*/
#include <palsuite.h>
// binary64 (double) has a machine epsilon of 2^-52 (approx. 2.22e-16). However, this
// is slightly too accurate when writing tests meant to run against libm implementations
// for various platforms. 2^-50 (approx. 8.88e-16) seems to be as accurate as we can get.
//
// The tests themselves will take PAL_EPSILON and adjust it according to the expected result
// so that the delta used for comparison will compare the most significant digits and ignore
// any digits that are outside the double precision range (15-17 digits).
// For example, a test with an expect result in the format of 0.xxxxxxxxxxxxxxxxx will use
// PAL_EPSILON for the variance, while an expected result in the format of 0.0xxxxxxxxxxxxxxxxx
// will use PAL_EPSILON / 10 and and expected result in the format of x.xxxxxxxxxxxxxxxx will
// use PAL_EPSILON * 10.
#define PAL_EPSILON 8.8817841970012523e-16
#define PAL_NAN sqrt(-1.0)
#define PAL_POSINF -log(0.0)
#define PAL_NEGINF log(0.0)
/**
* Helper test structure
*/
struct test
{
double numerator; /* second component of the value to test the function with */
double denominator; /* first component of the value to test the function with */
double expected; /* expected result */
double variance; /* maximum delta between the expected and actual result */
};
/**
* fmod_test1_validate
*
* test validation function
*/
void __cdecl fmod_test1_validate(double numerator, double denominator, double expected, double variance)
{
double result = fmod(numerator, denominator);
/*
* The test is valid when the difference between result
* and expected is less than or equal to variance
*/
double delta = fabs(result - expected);
if (delta > variance)
{
Fail("fmod(%g, %g) returned %20.17g when it should have returned %20.17g",
numerator, denominator, result, expected);
}
}
/**
* fmod_test1_validate
*
* test validation function for values returning NaN
*/
void __cdecl fmod_test1_validate_isnan(double numerator, double denominator)
{
double result = fmod(numerator, denominator);
if (!_isnan(result))
{
Fail("fmod(%g, %g) returned %20.17g when it should have returned %20.17g",
numerator, denominator, result, PAL_NAN);
}
}
/**
* main
*
* executable entry point
*/
PALTEST(c_runtime_fmod_test1_paltest_fmod_test1, "c_runtime/fmod/test1/paltest_fmod_test1")
{
struct test tests[] =
{
/* numerator denominator expected variance */
{ 0, PAL_POSINF, 0, PAL_EPSILON },
{ 0.31296179620778659, 0.94976571538163866, 0.31296179620778658, PAL_EPSILON },
{ 0.42077048331375735, 0.90716712923909839, 0.42077048331375733, PAL_EPSILON },
{ 0.59448076852482208, 0.80410982822879171, 0.59448076852482212, PAL_EPSILON },
{ 0.63896127631363480, 0.76923890136397213, 0.63896127631363475, PAL_EPSILON },
{ 0.64963693908006244, 0.76024459707563015, 0.64963693908006248, PAL_EPSILON },
{ 0.70710678118654752, 0.70710678118654752, 0, PAL_EPSILON },
{ 1, 1, 0, PAL_EPSILON },
{ 0.84147098480789651, 0.54030230586813972, 0.30116867893975674, PAL_EPSILON },
{ 0.90371945743584630, 0.42812514788535792, 0.047469161665130377, PAL_EPSILON / 10 },
{ 0.98776594599273553, 0.15594369476537447, 0.052103777400488605, PAL_EPSILON / 10 },
{ 0.99180624439366372, 0.12775121753523991, 0.097547721646984359, PAL_EPSILON / 10 },
{ 0.74398033695749319, -0.66820151019031295, 0.075778826767180285, PAL_EPSILON / 10 },
{ 0.41078129050290870, -0.91173391478696510, 0.41078129050290868, PAL_EPSILON },
{ 0, -1, 0, PAL_EPSILON },
{ 1, PAL_POSINF, 1, PAL_EPSILON * 10 },
};
// PAL initialization
if (PAL_Initialize(argc, argv) != 0)
{
return FAIL;
}
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
fmod_test1_validate( tests[i].numerator, tests[i].denominator, tests[i].expected, tests[i].variance);
fmod_test1_validate(-tests[i].numerator, tests[i].denominator, -tests[i].expected, tests[i].variance);
fmod_test1_validate( tests[i].numerator, -tests[i].denominator, tests[i].expected, tests[i].variance);
fmod_test1_validate(-tests[i].numerator, -tests[i].denominator, -tests[i].expected, tests[i].variance);
}
fmod_test1_validate_isnan( 0, 0);
fmod_test1_validate_isnan(-0.0, 0);
fmod_test1_validate_isnan( 0, -0.0);
fmod_test1_validate_isnan(-0.0, -0.0);
fmod_test1_validate_isnan( 1, 0);
fmod_test1_validate_isnan(-1.0, 0);
fmod_test1_validate_isnan( 1, -0.0);
fmod_test1_validate_isnan(-1.0, -0.0);
fmod_test1_validate_isnan(PAL_POSINF, PAL_POSINF);
fmod_test1_validate_isnan(PAL_NEGINF, PAL_POSINF);
fmod_test1_validate_isnan(PAL_POSINF, PAL_NEGINF);
fmod_test1_validate_isnan(PAL_NEGINF, PAL_NEGINF);
fmod_test1_validate_isnan(PAL_POSINF, 0);
fmod_test1_validate_isnan(PAL_NEGINF, 0);
fmod_test1_validate_isnan(PAL_POSINF, -0.0);
fmod_test1_validate_isnan(PAL_NEGINF, -0.0);
fmod_test1_validate_isnan(PAL_POSINF, 1);
fmod_test1_validate_isnan(PAL_NEGINF, 1);
fmod_test1_validate_isnan(PAL_POSINF, -1.0);
fmod_test1_validate_isnan(PAL_NEGINF, -1.0);
PAL_Terminate();
return PASS;
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/*=============================================================================
**
** Source: test1.c
**
** Purpose: Test to ensure that fmod return the correct values
**
** Dependencies: PAL_Initialize
** PAL_Terminate
** Fail
** fabs
**
**===========================================================================*/
#include <palsuite.h>
// binary64 (double) has a machine epsilon of 2^-52 (approx. 2.22e-16). However, this
// is slightly too accurate when writing tests meant to run against libm implementations
// for various platforms. 2^-50 (approx. 8.88e-16) seems to be as accurate as we can get.
//
// The tests themselves will take PAL_EPSILON and adjust it according to the expected result
// so that the delta used for comparison will compare the most significant digits and ignore
// any digits that are outside the double precision range (15-17 digits).
// For example, a test with an expect result in the format of 0.xxxxxxxxxxxxxxxxx will use
// PAL_EPSILON for the variance, while an expected result in the format of 0.0xxxxxxxxxxxxxxxxx
// will use PAL_EPSILON / 10 and and expected result in the format of x.xxxxxxxxxxxxxxxx will
// use PAL_EPSILON * 10.
#define PAL_EPSILON 8.8817841970012523e-16
#define PAL_NAN sqrt(-1.0)
#define PAL_POSINF -log(0.0)
#define PAL_NEGINF log(0.0)
/**
* Helper test structure
*/
struct test
{
double numerator; /* second component of the value to test the function with */
double denominator; /* first component of the value to test the function with */
double expected; /* expected result */
double variance; /* maximum delta between the expected and actual result */
};
/**
* fmod_test1_validate
*
* test validation function
*/
void __cdecl fmod_test1_validate(double numerator, double denominator, double expected, double variance)
{
double result = fmod(numerator, denominator);
/*
* The test is valid when the difference between result
* and expected is less than or equal to variance
*/
double delta = fabs(result - expected);
if (delta > variance)
{
Fail("fmod(%g, %g) returned %20.17g when it should have returned %20.17g",
numerator, denominator, result, expected);
}
}
/**
* fmod_test1_validate
*
* test validation function for values returning NaN
*/
void __cdecl fmod_test1_validate_isnan(double numerator, double denominator)
{
double result = fmod(numerator, denominator);
if (!_isnan(result))
{
Fail("fmod(%g, %g) returned %20.17g when it should have returned %20.17g",
numerator, denominator, result, PAL_NAN);
}
}
/**
* main
*
* executable entry point
*/
PALTEST(c_runtime_fmod_test1_paltest_fmod_test1, "c_runtime/fmod/test1/paltest_fmod_test1")
{
struct test tests[] =
{
/* numerator denominator expected variance */
{ 0, PAL_POSINF, 0, PAL_EPSILON },
{ 0.31296179620778659, 0.94976571538163866, 0.31296179620778658, PAL_EPSILON },
{ 0.42077048331375735, 0.90716712923909839, 0.42077048331375733, PAL_EPSILON },
{ 0.59448076852482208, 0.80410982822879171, 0.59448076852482212, PAL_EPSILON },
{ 0.63896127631363480, 0.76923890136397213, 0.63896127631363475, PAL_EPSILON },
{ 0.64963693908006244, 0.76024459707563015, 0.64963693908006248, PAL_EPSILON },
{ 0.70710678118654752, 0.70710678118654752, 0, PAL_EPSILON },
{ 1, 1, 0, PAL_EPSILON },
{ 0.84147098480789651, 0.54030230586813972, 0.30116867893975674, PAL_EPSILON },
{ 0.90371945743584630, 0.42812514788535792, 0.047469161665130377, PAL_EPSILON / 10 },
{ 0.98776594599273553, 0.15594369476537447, 0.052103777400488605, PAL_EPSILON / 10 },
{ 0.99180624439366372, 0.12775121753523991, 0.097547721646984359, PAL_EPSILON / 10 },
{ 0.74398033695749319, -0.66820151019031295, 0.075778826767180285, PAL_EPSILON / 10 },
{ 0.41078129050290870, -0.91173391478696510, 0.41078129050290868, PAL_EPSILON },
{ 0, -1, 0, PAL_EPSILON },
{ 1, PAL_POSINF, 1, PAL_EPSILON * 10 },
};
// PAL initialization
if (PAL_Initialize(argc, argv) != 0)
{
return FAIL;
}
for (int i = 0; i < (sizeof(tests) / sizeof(struct test)); i++)
{
fmod_test1_validate( tests[i].numerator, tests[i].denominator, tests[i].expected, tests[i].variance);
fmod_test1_validate(-tests[i].numerator, tests[i].denominator, -tests[i].expected, tests[i].variance);
fmod_test1_validate( tests[i].numerator, -tests[i].denominator, tests[i].expected, tests[i].variance);
fmod_test1_validate(-tests[i].numerator, -tests[i].denominator, -tests[i].expected, tests[i].variance);
}
fmod_test1_validate_isnan( 0, 0);
fmod_test1_validate_isnan(-0.0, 0);
fmod_test1_validate_isnan( 0, -0.0);
fmod_test1_validate_isnan(-0.0, -0.0);
fmod_test1_validate_isnan( 1, 0);
fmod_test1_validate_isnan(-1.0, 0);
fmod_test1_validate_isnan( 1, -0.0);
fmod_test1_validate_isnan(-1.0, -0.0);
fmod_test1_validate_isnan(PAL_POSINF, PAL_POSINF);
fmod_test1_validate_isnan(PAL_NEGINF, PAL_POSINF);
fmod_test1_validate_isnan(PAL_POSINF, PAL_NEGINF);
fmod_test1_validate_isnan(PAL_NEGINF, PAL_NEGINF);
fmod_test1_validate_isnan(PAL_POSINF, 0);
fmod_test1_validate_isnan(PAL_NEGINF, 0);
fmod_test1_validate_isnan(PAL_POSINF, -0.0);
fmod_test1_validate_isnan(PAL_NEGINF, -0.0);
fmod_test1_validate_isnan(PAL_POSINF, 1);
fmod_test1_validate_isnan(PAL_NEGINF, 1);
fmod_test1_validate_isnan(PAL_POSINF, -1.0);
fmod_test1_validate_isnan(PAL_NEGINF, -1.0);
PAL_Terminate();
return PASS;
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/tests/Loader/classloader/TypeGeneratorTests/TypeGeneratorTest1381/Generated1381.il | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
.assembly extern mscorlib { .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) .ver 4:0:0:0 }
.assembly extern TestFramework { .publickeytoken = ( B0 3F 5F 7F 11 D5 0A 3A ) }
//TYPES IN FORWARDER ASSEMBLIES:
//TEST ASSEMBLY:
.assembly Generated1381 { .hash algorithm 0x00008004 }
.assembly extern xunit.core {}
.class public BaseClass0
{
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed {
ldarg.0
call instance void [mscorlib]System.Object::.ctor()
ret
}
}
.class public BaseClass1
extends BaseClass0
{
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed {
ldarg.0
call instance void BaseClass0::.ctor()
ret
}
}
.class public G3_C1853`1<T0>
extends class G2_C794`2<class BaseClass0,class BaseClass1>
implements class IBase1`1<class BaseClass0>
{
.method public hidebysig virtual instance string Method4() cil managed noinlining {
ldstr "G3_C1853::Method4.18355()"
ret
}
.method public hidebysig newslot virtual instance string Method5() cil managed noinlining {
ldstr "G3_C1853::Method5.18356()"
ret
}
.method public hidebysig newslot virtual instance string Method6<M0>() cil managed noinlining {
ldstr "G3_C1853::Method6.18357<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed {
ldarg.0
call instance void class G2_C794`2<class BaseClass0,class BaseClass1>::.ctor()
ret
}
}
.class public G2_C794`2<T0, T1>
extends class G1_C14`2<!T1,class BaseClass1>
implements class IBase1`1<!T1>, class IBase2`2<class BaseClass0,!T0>
{
.method public hidebysig newslot virtual instance string Method4() cil managed noinlining {
ldstr "G2_C794::Method4.12338()"
ret
}
.method public hidebysig newslot virtual instance string 'IBase1<T1>.Method4'() cil managed noinlining {
.override method instance string class IBase1`1<!T1>::Method4()
ldstr "G2_C794::Method4.MI.12339()"
ret
}
.method public hidebysig virtual instance string Method5() cil managed noinlining {
ldstr "G2_C794::Method5.12340()"
ret
}
.method public hidebysig newslot virtual instance string 'IBase1<T1>.Method5'() cil managed noinlining {
.override method instance string class IBase1`1<!T1>::Method5()
ldstr "G2_C794::Method5.MI.12341()"
ret
}
.method public hidebysig newslot virtual instance string Method6<M0>() cil managed noinlining {
ldstr "G2_C794::Method6.12342<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig virtual instance string Method7<M0>() cil managed noinlining {
ldstr "G2_C794::Method7.12343<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string 'IBase2<class BaseClass0,T0>.Method7'<M0>() cil managed noinlining {
.override method instance string class IBase2`2<class BaseClass0,!T0>::Method7<[1]>()
ldstr "G2_C794::Method7.MI.12344<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string ClassMethod2970<M0>() cil managed noinlining {
ldstr "G2_C794::ClassMethod2970.12345<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed {
ldarg.0
call instance void class G1_C14`2<!T1,class BaseClass1>::.ctor()
ret
}
}
.class interface public abstract IBase1`1<+T0>
{
.method public hidebysig newslot abstract virtual instance string Method4() cil managed { }
.method public hidebysig newslot abstract virtual instance string Method5() cil managed { }
.method public hidebysig newslot abstract virtual instance string Method6<M0>() cil managed { }
}
.class public G1_C14`2<T0, T1>
implements class IBase2`2<!T1,class BaseClass1>, class IBase1`1<class BaseClass1>
{
.method public hidebysig virtual instance string Method7<M0>() cil managed noinlining {
ldstr "G1_C14::Method7.4878<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string Method4() cil managed noinlining {
ldstr "G1_C14::Method4.4879()"
ret
}
.method public hidebysig newslot virtual instance string Method5() cil managed noinlining {
ldstr "G1_C14::Method5.4880()"
ret
}
.method public hidebysig newslot virtual instance string 'IBase1<class BaseClass1>.Method5'() cil managed noinlining {
.override method instance string class IBase1`1<class BaseClass1>::Method5()
ldstr "G1_C14::Method5.MI.4881()"
ret
}
.method public hidebysig virtual instance string Method6<M0>() cil managed noinlining {
ldstr "G1_C14::Method6.4882<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string ClassMethod1350<M0>() cil managed noinlining {
ldstr "G1_C14::ClassMethod1350.4883<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string ClassMethod1351<M0>() cil managed noinlining {
ldstr "G1_C14::ClassMethod1351.4884<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed {
ldarg.0
call instance void [mscorlib]System.Object::.ctor()
ret
}
}
.class interface public abstract IBase2`2<+T0, -T1>
{
.method public hidebysig newslot abstract virtual instance string Method7<M0>() cil managed { }
}
.class public auto ansi beforefieldinit Generated1381 {
.method static void M.BaseClass0<(BaseClass0)W>(!!W inst, string exp) cil managed {
.maxstack 5
.locals init (string[] actualResults)
ldc.i4.s 0
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.BaseClass0<(BaseClass0)W>(!!W inst, string exp)"
ldc.i4.s 0
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.BaseClass1<(BaseClass1)W>(!!W inst, string exp) cil managed {
.maxstack 5
.locals init (string[] actualResults)
ldc.i4.s 0
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.BaseClass1<(BaseClass1)W>(!!W inst, string exp)"
ldc.i4.s 0
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G3_C1853.T<T0,(class G3_C1853`1<!!T0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 12
.locals init (string[] actualResults)
ldc.i4.s 7
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G3_C1853.T<T0,(class G3_C1853`1<!!T0>)W>(!!W 'inst', string exp)"
ldc.i4.s 7
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<!!T0>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<!!T0>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<!!T0>::ClassMethod2970<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<!!T0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<!!T0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<!!T0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<!!T0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G3_C1853.A<(class G3_C1853`1<class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 12
.locals init (string[] actualResults)
ldc.i4.s 7
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G3_C1853.A<(class G3_C1853`1<class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 7
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<class BaseClass0>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<class BaseClass0>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<class BaseClass0>::ClassMethod2970<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G3_C1853.B<(class G3_C1853`1<class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 12
.locals init (string[] actualResults)
ldc.i4.s 7
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G3_C1853.B<(class G3_C1853`1<class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 7
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<class BaseClass1>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<class BaseClass1>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<class BaseClass1>::ClassMethod2970<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C794.T.T<T0,T1,(class G2_C794`2<!!T0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 12
.locals init (string[] actualResults)
ldc.i4.s 7
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C794.T.T<T0,T1,(class G2_C794`2<!!T0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 7
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<!!T0,!!T1>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<!!T0,!!T1>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<!!T0,!!T1>::ClassMethod2970<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<!!T0,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<!!T0,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<!!T0,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<!!T0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C794.A.T<T1,(class G2_C794`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 12
.locals init (string[] actualResults)
ldc.i4.s 7
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C794.A.T<T1,(class G2_C794`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 7
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,!!T1>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,!!T1>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,!!T1>::ClassMethod2970<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C794.A.A<(class G2_C794`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 12
.locals init (string[] actualResults)
ldc.i4.s 7
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C794.A.A<(class G2_C794`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 7
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass0>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass0>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass0>::ClassMethod2970<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C794.A.B<(class G2_C794`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 12
.locals init (string[] actualResults)
ldc.i4.s 7
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C794.A.B<(class G2_C794`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 7
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod2970<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C794.B.T<T1,(class G2_C794`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 12
.locals init (string[] actualResults)
ldc.i4.s 7
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C794.B.T<T1,(class G2_C794`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 7
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,!!T1>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,!!T1>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,!!T1>::ClassMethod2970<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C794.B.A<(class G2_C794`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 12
.locals init (string[] actualResults)
ldc.i4.s 7
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C794.B.A<(class G2_C794`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 7
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass0>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass0>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass0>::ClassMethod2970<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C794.B.B<(class G2_C794`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 12
.locals init (string[] actualResults)
ldc.i4.s 7
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C794.B.B<(class G2_C794`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 7
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass1>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass1>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass1>::ClassMethod2970<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase1.T<T0,(class IBase1`1<!!T0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 8
.locals init (string[] actualResults)
ldc.i4.s 3
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase1.T<T0,(class IBase1`1<!!T0>)W>(!!W 'inst', string exp)"
ldc.i4.s 3
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<!!T0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<!!T0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<!!T0>::Method6<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase1.A<(class IBase1`1<class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 8
.locals init (string[] actualResults)
ldc.i4.s 3
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase1.A<(class IBase1`1<class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 3
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase1.B<(class IBase1`1<class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 8
.locals init (string[] actualResults)
ldc.i4.s 3
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase1.B<(class IBase1`1<class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 3
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C14.T.T<T0,T1,(class G1_C14`2<!!T0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 11
.locals init (string[] actualResults)
ldc.i4.s 6
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C14.T.T<T0,T1,(class G1_C14`2<!!T0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 6
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<!!T0,!!T1>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<!!T0,!!T1>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<!!T0,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<!!T0,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<!!T0,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<!!T0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C14.A.T<T1,(class G1_C14`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 11
.locals init (string[] actualResults)
ldc.i4.s 6
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C14.A.T<T1,(class G1_C14`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 6
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,!!T1>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,!!T1>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C14.A.A<(class G1_C14`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 11
.locals init (string[] actualResults)
ldc.i4.s 6
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C14.A.A<(class G1_C14`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 6
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass0>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass0>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C14.A.B<(class G1_C14`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 11
.locals init (string[] actualResults)
ldc.i4.s 6
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C14.A.B<(class G1_C14`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 6
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C14.B.T<T1,(class G1_C14`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 11
.locals init (string[] actualResults)
ldc.i4.s 6
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C14.B.T<T1,(class G1_C14`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 6
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,!!T1>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,!!T1>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C14.B.A<(class G1_C14`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 11
.locals init (string[] actualResults)
ldc.i4.s 6
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C14.B.A<(class G1_C14`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 6
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass0>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass0>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C14.B.B<(class G1_C14`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 11
.locals init (string[] actualResults)
ldc.i4.s 6
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C14.B.B<(class G1_C14`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 6
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.T.T<T0,T1,(class IBase2`2<!!T0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.T.T<T0,T1,(class IBase2`2<!!T0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<!!T0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.A.T<T1,(class IBase2`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.A.T<T1,(class IBase2`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.A.A<(class IBase2`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.A.A<(class IBase2`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.A.B<(class IBase2`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.A.B<(class IBase2`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.B.T<T1,(class IBase2`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.B.T<T1,(class IBase2`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass1,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.B.A<(class IBase2`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.B.A<(class IBase2`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.B.B<(class IBase2`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.B.B<(class IBase2`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method public hidebysig static void MethodCallingTest() cil managed
{
.maxstack 10
.locals init (object V_0)
ldstr "========================== Method Calling Test =========================="
call void [mscorlib]System.Console::WriteLine(string)
newobj instance void class G3_C1853`1<class BaseClass0>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method5()
ldstr "G2_C794::Method5.12340()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
ldstr "G2_C794::Method4.MI.12339()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
ldstr "G2_C794::Method5.MI.12341()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G3_C1853::Method4.18355()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G3_C1853::Method5.18356()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G3_C1853::Method6.18357<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod2970<object>()
ldstr "G2_C794::ClassMethod2970.12345<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method6<object>()
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method5()
ldstr "G2_C794::Method5.12340()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method4()
ldstr "G3_C1853::Method4.18355()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G3_C1853`1<class BaseClass0>
callvirt instance string class G3_C1853`1<class BaseClass0>::Method6<object>()
ldstr "G3_C1853::Method6.18357<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1853`1<class BaseClass0>
callvirt instance string class G3_C1853`1<class BaseClass0>::Method5()
ldstr "G3_C1853::Method5.18356()"
ldstr "class G3_C1853`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1853`1<class BaseClass0>
callvirt instance string class G3_C1853`1<class BaseClass0>::Method4()
ldstr "G3_C1853::Method4.18355()"
ldstr "class G3_C1853`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1853`1<class BaseClass0>
callvirt instance string class G3_C1853`1<class BaseClass0>::ClassMethod2970<object>()
ldstr "G2_C794::ClassMethod2970.12345<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1853`1<class BaseClass0>
callvirt instance string class G3_C1853`1<class BaseClass0>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1853`1<class BaseClass0>
callvirt instance string class G3_C1853`1<class BaseClass0>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1853`1<class BaseClass0>
callvirt instance string class G3_C1853`1<class BaseClass0>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G3_C1853`1<class BaseClass1>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method5()
ldstr "G2_C794::Method5.12340()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
ldstr "G2_C794::Method4.MI.12339()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
ldstr "G2_C794::Method5.MI.12341()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G3_C1853::Method4.18355()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G3_C1853::Method5.18356()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G3_C1853::Method6.18357<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod2970<object>()
ldstr "G2_C794::ClassMethod2970.12345<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method6<object>()
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method5()
ldstr "G2_C794::Method5.12340()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method4()
ldstr "G3_C1853::Method4.18355()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G3_C1853`1<class BaseClass1>
callvirt instance string class G3_C1853`1<class BaseClass1>::Method6<object>()
ldstr "G3_C1853::Method6.18357<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1853`1<class BaseClass1>
callvirt instance string class G3_C1853`1<class BaseClass1>::Method5()
ldstr "G3_C1853::Method5.18356()"
ldstr "class G3_C1853`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1853`1<class BaseClass1>
callvirt instance string class G3_C1853`1<class BaseClass1>::Method4()
ldstr "G3_C1853::Method4.18355()"
ldstr "class G3_C1853`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1853`1<class BaseClass1>
callvirt instance string class G3_C1853`1<class BaseClass1>::ClassMethod2970<object>()
ldstr "G2_C794::ClassMethod2970.12345<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1853`1<class BaseClass1>
callvirt instance string class G3_C1853`1<class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1853`1<class BaseClass1>
callvirt instance string class G3_C1853`1<class BaseClass1>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1853`1<class BaseClass1>
callvirt instance string class G3_C1853`1<class BaseClass1>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G2_C794`2<class BaseClass0,class BaseClass0>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method5()
ldstr "G2_C794::Method5.12340()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G2_C794::Method4.MI.12339()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G2_C794::Method5.MI.12341()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass0>::ClassMethod2970<object>()
ldstr "G2_C794::ClassMethod2970.12345<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass0>::Method6<object>()
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass0>::Method5()
ldstr "G2_C794::Method5.12340()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass0>::Method4()
ldstr "G2_C794::Method4.12338()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass0>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass0>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G2_C794`2<class BaseClass0,class BaseClass1>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method5()
ldstr "G2_C794::Method5.12340()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
ldstr "G2_C794::Method4.MI.12339()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
ldstr "G2_C794::Method5.MI.12341()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G2_C794::Method4.MI.12339()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G2_C794::Method5.MI.12341()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod2970<object>()
ldstr "G2_C794::ClassMethod2970.12345<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method6<object>()
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method5()
ldstr "G2_C794::Method5.12340()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method4()
ldstr "G2_C794::Method4.12338()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G2_C794`2<class BaseClass1,class BaseClass0>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method5()
ldstr "G2_C794::Method5.12340()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G2_C794::Method4.MI.12339()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G2_C794::Method5.MI.12341()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C794`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass0>::ClassMethod2970<object>()
ldstr "G2_C794::ClassMethod2970.12345<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass0>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass0>::Method6<object>()
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass0>::Method5()
ldstr "G2_C794::Method5.12340()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass0>::Method4()
ldstr "G2_C794::Method4.12338()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass0>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass0>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G2_C794`2<class BaseClass1,class BaseClass1>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method5()
ldstr "G2_C794::Method5.12340()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
ldstr "G2_C794::Method4.MI.12339()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
ldstr "G2_C794::Method5.MI.12341()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G2_C794::Method4.MI.12339()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G2_C794::Method5.MI.12341()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C794`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass1>::ClassMethod2970<object>()
ldstr "G2_C794::ClassMethod2970.12345<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass1>::Method6<object>()
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass1>::Method5()
ldstr "G2_C794::Method5.12340()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass1>::Method4()
ldstr "G2_C794::Method4.12338()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass1>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass1>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G1_C14`2<class BaseClass0,class BaseClass0>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass0>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass0>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass0>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass0>::Method5()
ldstr "G1_C14::Method5.4880()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass0>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G1_C14`2<class BaseClass0,class BaseClass1>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method5()
ldstr "G1_C14::Method5.4880()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G1_C14`2<class BaseClass1,class BaseClass0>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass0>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass0>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass0>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass0>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass0>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass0>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass0>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass0>::Method5()
ldstr "G1_C14::Method5.4880()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass0>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass0>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass0>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass0>::Method7<object>()
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G1_C14`2<class BaseClass1,class BaseClass1>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method5()
ldstr "G1_C14::Method5.4880()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldstr "========================================================================\n\n"
call void [mscorlib]System.Console::WriteLine(string)
ret
}
.method public hidebysig static void ConstrainedCallsTest() cil managed
{
.maxstack 10
.locals init (object V_0)
ldstr "========================== Constrained Calls Test =========================="
call void [mscorlib]System.Console::WriteLine(string)
newobj instance void class G3_C1853`1<class BaseClass0>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.T.T<class BaseClass1,class BaseClass1,class G3_C1853`1<class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.B.T<class BaseClass1,class G3_C1853`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.B.B<class G3_C1853`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G3_C1853`1<class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.B.T<class BaseClass1,class G3_C1853`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.B.B<class G3_C1853`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method4.MI.12339()#G2_C794::Method5.MI.12341()#G2_C794::Method6.12342<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass1,class G3_C1853`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method4.MI.12339()#G2_C794::Method5.MI.12341()#G2_C794::Method6.12342<System.Object>()#"
call void Generated1381::M.IBase1.B<class G3_C1853`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G3_C1853`1<class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.T<class BaseClass1,class G3_C1853`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.B<class G3_C1853`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G3_C1853::Method4.18355()#G3_C1853::Method5.18356()#G3_C1853::Method6.18357<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass0,class G3_C1853`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G3_C1853::Method4.18355()#G3_C1853::Method5.18356()#G3_C1853::Method6.18357<System.Object>()#"
call void Generated1381::M.IBase1.A<class G3_C1853`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G3_C1853::Method4.18355()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.T.T<class BaseClass0,class BaseClass1,class G3_C1853`1<class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G3_C1853::Method4.18355()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.A.T<class BaseClass1,class G3_C1853`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G3_C1853::Method4.18355()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.A.B<class G3_C1853`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass0,class BaseClass0,class G3_C1853`1<class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.T<class BaseClass0,class G3_C1853`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.A<class G3_C1853`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G3_C1853::Method4.18355()#G3_C1853::Method5.18356()#G3_C1853::Method6.18357<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G3_C1853.T<class BaseClass0,class G3_C1853`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G3_C1853::Method4.18355()#G3_C1853::Method5.18356()#G3_C1853::Method6.18357<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G3_C1853.A<class G3_C1853`1<class BaseClass0>>(!!0,string)
newobj instance void class G3_C1853`1<class BaseClass1>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.T.T<class BaseClass1,class BaseClass1,class G3_C1853`1<class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.B.T<class BaseClass1,class G3_C1853`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.B.B<class G3_C1853`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G3_C1853`1<class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.B.T<class BaseClass1,class G3_C1853`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.B.B<class G3_C1853`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method4.MI.12339()#G2_C794::Method5.MI.12341()#G2_C794::Method6.12342<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass1,class G3_C1853`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method4.MI.12339()#G2_C794::Method5.MI.12341()#G2_C794::Method6.12342<System.Object>()#"
call void Generated1381::M.IBase1.B<class G3_C1853`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G3_C1853`1<class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.T<class BaseClass1,class G3_C1853`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.B<class G3_C1853`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G3_C1853::Method4.18355()#G3_C1853::Method5.18356()#G3_C1853::Method6.18357<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass0,class G3_C1853`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G3_C1853::Method4.18355()#G3_C1853::Method5.18356()#G3_C1853::Method6.18357<System.Object>()#"
call void Generated1381::M.IBase1.A<class G3_C1853`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G3_C1853::Method4.18355()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.T.T<class BaseClass0,class BaseClass1,class G3_C1853`1<class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G3_C1853::Method4.18355()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.A.T<class BaseClass1,class G3_C1853`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G3_C1853::Method4.18355()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.A.B<class G3_C1853`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass0,class BaseClass0,class G3_C1853`1<class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.T<class BaseClass0,class G3_C1853`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.A<class G3_C1853`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G3_C1853::Method4.18355()#G3_C1853::Method5.18356()#G3_C1853::Method6.18357<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G3_C1853.T<class BaseClass1,class G3_C1853`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G3_C1853::Method4.18355()#G3_C1853::Method5.18356()#G3_C1853::Method6.18357<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G3_C1853.B<class G3_C1853`1<class BaseClass1>>(!!0,string)
newobj instance void class G2_C794`2<class BaseClass0,class BaseClass0>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.T.T<class BaseClass0,class BaseClass1,class G2_C794`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.A.T<class BaseClass1,class G2_C794`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.A.B<class G2_C794`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G2_C794`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.B.T<class BaseClass1,class G2_C794`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.B.B<class G2_C794`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass1,class G2_C794`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.B<class G2_C794`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G2_C794`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.T<class BaseClass1,class G2_C794`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.B<class G2_C794`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method4.MI.12339()#G2_C794::Method5.MI.12341()#G2_C794::Method6.12342<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass0,class G2_C794`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method4.MI.12339()#G2_C794::Method5.MI.12341()#G2_C794::Method6.12342<System.Object>()#"
call void Generated1381::M.IBase1.A<class G2_C794`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G2_C794::Method4.12338()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.T.T<class BaseClass0,class BaseClass0,class G2_C794`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G2_C794::Method4.12338()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.A.T<class BaseClass0,class G2_C794`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G2_C794::Method4.12338()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.A.A<class G2_C794`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass0,class BaseClass0,class G2_C794`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.T<class BaseClass0,class G2_C794`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.A<class G2_C794`2<class BaseClass0,class BaseClass0>>(!!0,string)
newobj instance void class G2_C794`2<class BaseClass0,class BaseClass1>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.T.T<class BaseClass1,class BaseClass1,class G2_C794`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.B.T<class BaseClass1,class G2_C794`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.B.B<class G2_C794`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G2_C794`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.B.T<class BaseClass1,class G2_C794`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.B.B<class G2_C794`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method4.MI.12339()#G2_C794::Method5.MI.12341()#G2_C794::Method6.12342<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass1,class G2_C794`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method4.MI.12339()#G2_C794::Method5.MI.12341()#G2_C794::Method6.12342<System.Object>()#"
call void Generated1381::M.IBase1.B<class G2_C794`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G2_C794`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.T<class BaseClass1,class G2_C794`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.B<class G2_C794`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method4.MI.12339()#G2_C794::Method5.MI.12341()#G2_C794::Method6.12342<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass0,class G2_C794`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method4.MI.12339()#G2_C794::Method5.MI.12341()#G2_C794::Method6.12342<System.Object>()#"
call void Generated1381::M.IBase1.A<class G2_C794`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G2_C794::Method4.12338()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.T.T<class BaseClass0,class BaseClass1,class G2_C794`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G2_C794::Method4.12338()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.A.T<class BaseClass1,class G2_C794`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G2_C794::Method4.12338()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.A.B<class G2_C794`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass0,class BaseClass0,class G2_C794`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.T<class BaseClass0,class G2_C794`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.A<class G2_C794`2<class BaseClass0,class BaseClass1>>(!!0,string)
newobj instance void class G2_C794`2<class BaseClass1,class BaseClass0>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.T.T<class BaseClass0,class BaseClass1,class G2_C794`2<class BaseClass1,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.A.T<class BaseClass1,class G2_C794`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.A.B<class G2_C794`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G2_C794`2<class BaseClass1,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.B.T<class BaseClass1,class G2_C794`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.B.B<class G2_C794`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass1,class G2_C794`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.B<class G2_C794`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G2_C794`2<class BaseClass1,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.T<class BaseClass1,class G2_C794`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.B<class G2_C794`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method4.MI.12339()#G2_C794::Method5.MI.12341()#G2_C794::Method6.12342<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass0,class G2_C794`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method4.MI.12339()#G2_C794::Method5.MI.12341()#G2_C794::Method6.12342<System.Object>()#"
call void Generated1381::M.IBase1.A<class G2_C794`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G2_C794::Method4.12338()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.T.T<class BaseClass1,class BaseClass0,class G2_C794`2<class BaseClass1,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G2_C794::Method4.12338()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.B.T<class BaseClass0,class G2_C794`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G2_C794::Method4.12338()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.B.A<class G2_C794`2<class BaseClass1,class BaseClass0>>(!!0,string)
newobj instance void class G2_C794`2<class BaseClass1,class BaseClass1>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.T.T<class BaseClass1,class BaseClass1,class G2_C794`2<class BaseClass1,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.B.T<class BaseClass1,class G2_C794`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.B.B<class G2_C794`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G2_C794`2<class BaseClass1,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.B.T<class BaseClass1,class G2_C794`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.B.B<class G2_C794`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method4.MI.12339()#G2_C794::Method5.MI.12341()#G2_C794::Method6.12342<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass1,class G2_C794`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method4.MI.12339()#G2_C794::Method5.MI.12341()#G2_C794::Method6.12342<System.Object>()#"
call void Generated1381::M.IBase1.B<class G2_C794`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G2_C794`2<class BaseClass1,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.T<class BaseClass1,class G2_C794`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.B<class G2_C794`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method4.MI.12339()#G2_C794::Method5.MI.12341()#G2_C794::Method6.12342<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass0,class G2_C794`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method4.MI.12339()#G2_C794::Method5.MI.12341()#G2_C794::Method6.12342<System.Object>()#"
call void Generated1381::M.IBase1.A<class G2_C794`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G2_C794::Method4.12338()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.T.T<class BaseClass1,class BaseClass1,class G2_C794`2<class BaseClass1,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G2_C794::Method4.12338()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.B.T<class BaseClass1,class G2_C794`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G2_C794::Method4.12338()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.B.B<class G2_C794`2<class BaseClass1,class BaseClass1>>(!!0,string)
newobj instance void class G1_C14`2<class BaseClass0,class BaseClass0>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G1_C14::Method5.4880()#G1_C14::Method6.4882<System.Object>()#G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.G1_C14.T.T<class BaseClass0,class BaseClass0,class G1_C14`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G1_C14::Method5.4880()#G1_C14::Method6.4882<System.Object>()#G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.G1_C14.A.T<class BaseClass0,class G1_C14`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G1_C14::Method5.4880()#G1_C14::Method6.4882<System.Object>()#G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.G1_C14.A.A<class G1_C14`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G1_C14`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.A.T<class BaseClass1,class G1_C14`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.A.B<class G1_C14`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass1,class G1_C14`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.B<class G1_C14`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass0,class G1_C14`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.A<class G1_C14`2<class BaseClass0,class BaseClass0>>(!!0,string)
newobj instance void class G1_C14`2<class BaseClass0,class BaseClass1>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G1_C14::Method5.4880()#G1_C14::Method6.4882<System.Object>()#G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.G1_C14.T.T<class BaseClass0,class BaseClass1,class G1_C14`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G1_C14::Method5.4880()#G1_C14::Method6.4882<System.Object>()#G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.G1_C14.A.T<class BaseClass1,class G1_C14`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G1_C14::Method5.4880()#G1_C14::Method6.4882<System.Object>()#G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.G1_C14.A.B<class G1_C14`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G1_C14`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.B.T<class BaseClass1,class G1_C14`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.B.B<class G1_C14`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass1,class G1_C14`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.B<class G1_C14`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G1_C14`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.A.T<class BaseClass1,class G1_C14`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.A.B<class G1_C14`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass0,class G1_C14`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.A<class G1_C14`2<class BaseClass0,class BaseClass1>>(!!0,string)
newobj instance void class G1_C14`2<class BaseClass1,class BaseClass0>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G1_C14::Method5.4880()#G1_C14::Method6.4882<System.Object>()#G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.G1_C14.T.T<class BaseClass1,class BaseClass0,class G1_C14`2<class BaseClass1,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G1_C14::Method5.4880()#G1_C14::Method6.4882<System.Object>()#G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.G1_C14.B.T<class BaseClass0,class G1_C14`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G1_C14::Method5.4880()#G1_C14::Method6.4882<System.Object>()#G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.G1_C14.B.A<class G1_C14`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G1_C14`2<class BaseClass1,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.A.T<class BaseClass1,class G1_C14`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.A.B<class G1_C14`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass1,class G1_C14`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.B<class G1_C14`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass0,class G1_C14`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.A<class G1_C14`2<class BaseClass1,class BaseClass0>>(!!0,string)
newobj instance void class G1_C14`2<class BaseClass1,class BaseClass1>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G1_C14::Method5.4880()#G1_C14::Method6.4882<System.Object>()#G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.G1_C14.T.T<class BaseClass1,class BaseClass1,class G1_C14`2<class BaseClass1,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G1_C14::Method5.4880()#G1_C14::Method6.4882<System.Object>()#G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.G1_C14.B.T<class BaseClass1,class G1_C14`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G1_C14::Method5.4880()#G1_C14::Method6.4882<System.Object>()#G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.G1_C14.B.B<class G1_C14`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G1_C14`2<class BaseClass1,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.B.T<class BaseClass1,class G1_C14`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.B.B<class G1_C14`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass1,class G1_C14`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.B<class G1_C14`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G1_C14`2<class BaseClass1,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.A.T<class BaseClass1,class G1_C14`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.A.B<class G1_C14`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass0,class G1_C14`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.A<class G1_C14`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldstr "========================================================================\n\n"
call void [mscorlib]System.Console::WriteLine(string)
ret
}
.method public hidebysig static void StructConstrainedInterfaceCallsTest() cil managed
{
.maxstack 10
ldstr "===================== Struct Constrained Interface Calls Test ====================="
call void [mscorlib]System.Console::WriteLine(string)
ldstr "========================================================================\n\n"
call void [mscorlib]System.Console::WriteLine(string)
ret
}
.method public hidebysig static void CalliTest() cil managed
{
.maxstack 10
.locals init (object V_0)
ldstr "========================== Method Calli Test =========================="
call void [mscorlib]System.Console::WriteLine(string)
newobj instance void class G3_C1853`1<class BaseClass0>::.ctor()
stloc.0
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1351<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1350<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method6<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method5()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G2_C794::Method5.12340()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method4()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method4()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G2_C794::Method4.MI.12339()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method5()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G2_C794::Method5.MI.12341()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method6<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G3_C1853::Method4.18355()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G3_C1853::Method5.18356()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G3_C1853::Method6.18357<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod2970<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G2_C794::ClassMethod2970.12345<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method6<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method5()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G2_C794::Method5.12340()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method4()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G3_C1853::Method4.18355()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod1351<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod1350<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1853`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1853`1<class BaseClass0>::Method6<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G3_C1853::Method6.18357<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1853`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1853`1<class BaseClass0>::Method5()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G3_C1853::Method5.18356()"
ldstr "class G3_C1853`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1853`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1853`1<class BaseClass0>::Method4()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G3_C1853::Method4.18355()"
ldstr "class G3_C1853`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1853`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1853`1<class BaseClass0>::ClassMethod2970<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G2_C794::ClassMethod2970.12345<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1853`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1853`1<class BaseClass0>::Method7<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1853`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1853`1<class BaseClass0>::ClassMethod1351<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1853`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1853`1<class BaseClass0>::ClassMethod1350<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G3_C1853`1<class BaseClass1>::.ctor()
stloc.0
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1351<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1350<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method6<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method5()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G2_C794::Method5.12340()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method4()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method4()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G2_C794::Method4.MI.12339()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method5()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G2_C794::Method5.MI.12341()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method6<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G3_C1853::Method4.18355()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G3_C1853::Method5.18356()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G3_C1853::Method6.18357<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod2970<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G2_C794::ClassMethod2970.12345<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method6<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method5()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G2_C794::Method5.12340()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method4()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G3_C1853::Method4.18355()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod1351<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod1350<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1853`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1853`1<class BaseClass1>::Method6<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G3_C1853::Method6.18357<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1853`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1853`1<class BaseClass1>::Method5()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G3_C1853::Method5.18356()"
ldstr "class G3_C1853`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1853`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1853`1<class BaseClass1>::Method4()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G3_C1853::Method4.18355()"
ldstr "class G3_C1853`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1853`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1853`1<class BaseClass1>::ClassMethod2970<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G2_C794::ClassMethod2970.12345<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1853`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1853`1<class BaseClass1>::Method7<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1853`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1853`1<class BaseClass1>::ClassMethod1351<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1853`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1853`1<class BaseClass1>::ClassMethod1350<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G2_C794`2<class BaseClass0,class BaseClass0>::.ctor()
stloc.0
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::ClassMethod1351<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::ClassMethod1350<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method6<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method5()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C794::Method5.12340()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method4()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method4()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method5()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method6<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C794::Method4.MI.12339()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C794::Method5.MI.12341()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass0>::ClassMethod2970<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C794::ClassMethod2970.12345<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass0>::Method6<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass0>::Method5()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C794::Method5.12340()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass0>::Method4()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C794::Method4.12338()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass0>::ClassMethod1351<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass0>::ClassMethod1350<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G2_C794`2<class BaseClass0,class BaseClass1>::.ctor()
stloc.0
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1351<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1350<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method6<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method5()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C794::Method5.12340()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method4()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method4()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C794::Method4.MI.12339()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method5()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C794::Method5.MI.12341()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method6<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C794::Method4.MI.12339()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C794::Method5.MI.12341()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod2970<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C794::ClassMethod2970.12345<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method6<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method5()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C794::Method5.12340()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method4()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C794::Method4.12338()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod1351<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod1350<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G2_C794`2<class BaseClass1,class BaseClass0>::.ctor()
stloc.0
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::ClassMethod1351<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::ClassMethod1350<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method6<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method5()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C794::Method5.12340()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method4()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method4()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method5()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method6<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C794::Method4.MI.12339()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C794::Method5.MI.12341()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass1,class BaseClass0>::ClassMethod2970<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C794::ClassMethod2970.12345<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass1,class BaseClass0>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass1,class BaseClass0>::Method6<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass1,class BaseClass0>::Method5()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C794::Method5.12340()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass1,class BaseClass0>::Method4()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C794::Method4.12338()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass1,class BaseClass0>::ClassMethod1351<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass1,class BaseClass0>::ClassMethod1350<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G2_C794`2<class BaseClass1,class BaseClass1>::.ctor()
stloc.0
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1351<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1350<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method6<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method5()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C794::Method5.12340()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method4()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method4()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C794::Method4.MI.12339()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method5()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C794::Method5.MI.12341()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method6<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C794::Method4.MI.12339()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C794::Method5.MI.12341()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass1,class BaseClass1>::ClassMethod2970<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C794::ClassMethod2970.12345<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass1,class BaseClass1>::Method6<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass1,class BaseClass1>::Method5()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C794::Method5.12340()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass1,class BaseClass1>::Method4()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C794::Method4.12338()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass1,class BaseClass1>::ClassMethod1351<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass1,class BaseClass1>::ClassMethod1350<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G1_C14`2<class BaseClass0,class BaseClass0>::.ctor()
stloc.0
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass0>::ClassMethod1351<object>()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass0>::ClassMethod1350<object>()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass0>::Method6<object>()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass0>::Method5()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::Method5.4880()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass0>::Method4()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method4()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method5()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method6<object>()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G1_C14`2<class BaseClass0,class BaseClass1>::.ctor()
stloc.0
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::ClassMethod1351<object>()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::ClassMethod1350<object>()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method6<object>()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method5()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::Method5.4880()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method4()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method4()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method5()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method6<object>()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G1_C14`2<class BaseClass1,class BaseClass0>::.ctor()
stloc.0
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass0>::ClassMethod1351<object>()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass0>::ClassMethod1350<object>()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass0>::Method6<object>()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass0>::Method5()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::Method5.4880()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass0>::Method4()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass0>::Method7<object>()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method4()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method5()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method6<object>()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G1_C14`2<class BaseClass1,class BaseClass1>::.ctor()
stloc.0
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1351<object>()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1350<object>()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method6<object>()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method5()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::Method5.4880()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method4()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method4()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method5()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method6<object>()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldstr "========================================================================\n\n"
call void [mscorlib]System.Console::WriteLine(string)
ret
}
.method public hidebysig static int32 Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 10
call void Generated1381::MethodCallingTest()
call void Generated1381::ConstrainedCallsTest()
call void Generated1381::StructConstrainedInterfaceCallsTest()
call void Generated1381::CalliTest()
ldc.i4 100
ret
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
.assembly extern mscorlib { .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) .ver 4:0:0:0 }
.assembly extern TestFramework { .publickeytoken = ( B0 3F 5F 7F 11 D5 0A 3A ) }
//TYPES IN FORWARDER ASSEMBLIES:
//TEST ASSEMBLY:
.assembly Generated1381 { .hash algorithm 0x00008004 }
.assembly extern xunit.core {}
.class public BaseClass0
{
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed {
ldarg.0
call instance void [mscorlib]System.Object::.ctor()
ret
}
}
.class public BaseClass1
extends BaseClass0
{
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed {
ldarg.0
call instance void BaseClass0::.ctor()
ret
}
}
.class public G3_C1853`1<T0>
extends class G2_C794`2<class BaseClass0,class BaseClass1>
implements class IBase1`1<class BaseClass0>
{
.method public hidebysig virtual instance string Method4() cil managed noinlining {
ldstr "G3_C1853::Method4.18355()"
ret
}
.method public hidebysig newslot virtual instance string Method5() cil managed noinlining {
ldstr "G3_C1853::Method5.18356()"
ret
}
.method public hidebysig newslot virtual instance string Method6<M0>() cil managed noinlining {
ldstr "G3_C1853::Method6.18357<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed {
ldarg.0
call instance void class G2_C794`2<class BaseClass0,class BaseClass1>::.ctor()
ret
}
}
.class public G2_C794`2<T0, T1>
extends class G1_C14`2<!T1,class BaseClass1>
implements class IBase1`1<!T1>, class IBase2`2<class BaseClass0,!T0>
{
.method public hidebysig newslot virtual instance string Method4() cil managed noinlining {
ldstr "G2_C794::Method4.12338()"
ret
}
.method public hidebysig newslot virtual instance string 'IBase1<T1>.Method4'() cil managed noinlining {
.override method instance string class IBase1`1<!T1>::Method4()
ldstr "G2_C794::Method4.MI.12339()"
ret
}
.method public hidebysig virtual instance string Method5() cil managed noinlining {
ldstr "G2_C794::Method5.12340()"
ret
}
.method public hidebysig newslot virtual instance string 'IBase1<T1>.Method5'() cil managed noinlining {
.override method instance string class IBase1`1<!T1>::Method5()
ldstr "G2_C794::Method5.MI.12341()"
ret
}
.method public hidebysig newslot virtual instance string Method6<M0>() cil managed noinlining {
ldstr "G2_C794::Method6.12342<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig virtual instance string Method7<M0>() cil managed noinlining {
ldstr "G2_C794::Method7.12343<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string 'IBase2<class BaseClass0,T0>.Method7'<M0>() cil managed noinlining {
.override method instance string class IBase2`2<class BaseClass0,!T0>::Method7<[1]>()
ldstr "G2_C794::Method7.MI.12344<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string ClassMethod2970<M0>() cil managed noinlining {
ldstr "G2_C794::ClassMethod2970.12345<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed {
ldarg.0
call instance void class G1_C14`2<!T1,class BaseClass1>::.ctor()
ret
}
}
.class interface public abstract IBase1`1<+T0>
{
.method public hidebysig newslot abstract virtual instance string Method4() cil managed { }
.method public hidebysig newslot abstract virtual instance string Method5() cil managed { }
.method public hidebysig newslot abstract virtual instance string Method6<M0>() cil managed { }
}
.class public G1_C14`2<T0, T1>
implements class IBase2`2<!T1,class BaseClass1>, class IBase1`1<class BaseClass1>
{
.method public hidebysig virtual instance string Method7<M0>() cil managed noinlining {
ldstr "G1_C14::Method7.4878<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string Method4() cil managed noinlining {
ldstr "G1_C14::Method4.4879()"
ret
}
.method public hidebysig newslot virtual instance string Method5() cil managed noinlining {
ldstr "G1_C14::Method5.4880()"
ret
}
.method public hidebysig newslot virtual instance string 'IBase1<class BaseClass1>.Method5'() cil managed noinlining {
.override method instance string class IBase1`1<class BaseClass1>::Method5()
ldstr "G1_C14::Method5.MI.4881()"
ret
}
.method public hidebysig virtual instance string Method6<M0>() cil managed noinlining {
ldstr "G1_C14::Method6.4882<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string ClassMethod1350<M0>() cil managed noinlining {
ldstr "G1_C14::ClassMethod1350.4883<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string ClassMethod1351<M0>() cil managed noinlining {
ldstr "G1_C14::ClassMethod1351.4884<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed {
ldarg.0
call instance void [mscorlib]System.Object::.ctor()
ret
}
}
.class interface public abstract IBase2`2<+T0, -T1>
{
.method public hidebysig newslot abstract virtual instance string Method7<M0>() cil managed { }
}
.class public auto ansi beforefieldinit Generated1381 {
.method static void M.BaseClass0<(BaseClass0)W>(!!W inst, string exp) cil managed {
.maxstack 5
.locals init (string[] actualResults)
ldc.i4.s 0
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.BaseClass0<(BaseClass0)W>(!!W inst, string exp)"
ldc.i4.s 0
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.BaseClass1<(BaseClass1)W>(!!W inst, string exp) cil managed {
.maxstack 5
.locals init (string[] actualResults)
ldc.i4.s 0
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.BaseClass1<(BaseClass1)W>(!!W inst, string exp)"
ldc.i4.s 0
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G3_C1853.T<T0,(class G3_C1853`1<!!T0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 12
.locals init (string[] actualResults)
ldc.i4.s 7
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G3_C1853.T<T0,(class G3_C1853`1<!!T0>)W>(!!W 'inst', string exp)"
ldc.i4.s 7
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<!!T0>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<!!T0>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<!!T0>::ClassMethod2970<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<!!T0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<!!T0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<!!T0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<!!T0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G3_C1853.A<(class G3_C1853`1<class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 12
.locals init (string[] actualResults)
ldc.i4.s 7
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G3_C1853.A<(class G3_C1853`1<class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 7
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<class BaseClass0>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<class BaseClass0>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<class BaseClass0>::ClassMethod2970<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G3_C1853.B<(class G3_C1853`1<class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 12
.locals init (string[] actualResults)
ldc.i4.s 7
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G3_C1853.B<(class G3_C1853`1<class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 7
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<class BaseClass1>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<class BaseClass1>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<class BaseClass1>::ClassMethod2970<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1853`1<class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C794.T.T<T0,T1,(class G2_C794`2<!!T0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 12
.locals init (string[] actualResults)
ldc.i4.s 7
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C794.T.T<T0,T1,(class G2_C794`2<!!T0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 7
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<!!T0,!!T1>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<!!T0,!!T1>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<!!T0,!!T1>::ClassMethod2970<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<!!T0,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<!!T0,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<!!T0,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<!!T0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C794.A.T<T1,(class G2_C794`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 12
.locals init (string[] actualResults)
ldc.i4.s 7
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C794.A.T<T1,(class G2_C794`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 7
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,!!T1>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,!!T1>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,!!T1>::ClassMethod2970<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C794.A.A<(class G2_C794`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 12
.locals init (string[] actualResults)
ldc.i4.s 7
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C794.A.A<(class G2_C794`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 7
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass0>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass0>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass0>::ClassMethod2970<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C794.A.B<(class G2_C794`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 12
.locals init (string[] actualResults)
ldc.i4.s 7
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C794.A.B<(class G2_C794`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 7
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod2970<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C794.B.T<T1,(class G2_C794`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 12
.locals init (string[] actualResults)
ldc.i4.s 7
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C794.B.T<T1,(class G2_C794`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 7
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,!!T1>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,!!T1>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,!!T1>::ClassMethod2970<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C794.B.A<(class G2_C794`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 12
.locals init (string[] actualResults)
ldc.i4.s 7
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C794.B.A<(class G2_C794`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 7
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass0>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass0>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass0>::ClassMethod2970<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C794.B.B<(class G2_C794`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 12
.locals init (string[] actualResults)
ldc.i4.s 7
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C794.B.B<(class G2_C794`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 7
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass1>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass1>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass1>::ClassMethod2970<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase1.T<T0,(class IBase1`1<!!T0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 8
.locals init (string[] actualResults)
ldc.i4.s 3
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase1.T<T0,(class IBase1`1<!!T0>)W>(!!W 'inst', string exp)"
ldc.i4.s 3
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<!!T0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<!!T0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<!!T0>::Method6<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase1.A<(class IBase1`1<class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 8
.locals init (string[] actualResults)
ldc.i4.s 3
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase1.A<(class IBase1`1<class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 3
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase1.B<(class IBase1`1<class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 8
.locals init (string[] actualResults)
ldc.i4.s 3
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase1.B<(class IBase1`1<class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 3
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C14.T.T<T0,T1,(class G1_C14`2<!!T0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 11
.locals init (string[] actualResults)
ldc.i4.s 6
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C14.T.T<T0,T1,(class G1_C14`2<!!T0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 6
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<!!T0,!!T1>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<!!T0,!!T1>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<!!T0,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<!!T0,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<!!T0,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<!!T0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C14.A.T<T1,(class G1_C14`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 11
.locals init (string[] actualResults)
ldc.i4.s 6
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C14.A.T<T1,(class G1_C14`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 6
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,!!T1>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,!!T1>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C14.A.A<(class G1_C14`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 11
.locals init (string[] actualResults)
ldc.i4.s 6
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C14.A.A<(class G1_C14`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 6
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass0>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass0>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C14.A.B<(class G1_C14`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 11
.locals init (string[] actualResults)
ldc.i4.s 6
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C14.A.B<(class G1_C14`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 6
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C14.B.T<T1,(class G1_C14`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 11
.locals init (string[] actualResults)
ldc.i4.s 6
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C14.B.T<T1,(class G1_C14`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 6
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,!!T1>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,!!T1>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C14.B.A<(class G1_C14`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 11
.locals init (string[] actualResults)
ldc.i4.s 6
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C14.B.A<(class G1_C14`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 6
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass0>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass0>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C14.B.B<(class G1_C14`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 11
.locals init (string[] actualResults)
ldc.i4.s 6
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C14.B.B<(class G1_C14`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 6
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1350<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1351<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.T.T<T0,T1,(class IBase2`2<!!T0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.T.T<T0,T1,(class IBase2`2<!!T0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<!!T0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.A.T<T1,(class IBase2`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.A.T<T1,(class IBase2`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.A.A<(class IBase2`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.A.A<(class IBase2`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.A.B<(class IBase2`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.A.B<(class IBase2`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.B.T<T1,(class IBase2`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.B.T<T1,(class IBase2`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass1,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.B.A<(class IBase2`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.B.A<(class IBase2`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.B.B<(class IBase2`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.B.B<(class IBase2`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method public hidebysig static void MethodCallingTest() cil managed
{
.maxstack 10
.locals init (object V_0)
ldstr "========================== Method Calling Test =========================="
call void [mscorlib]System.Console::WriteLine(string)
newobj instance void class G3_C1853`1<class BaseClass0>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method5()
ldstr "G2_C794::Method5.12340()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
ldstr "G2_C794::Method4.MI.12339()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
ldstr "G2_C794::Method5.MI.12341()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G3_C1853::Method4.18355()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G3_C1853::Method5.18356()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G3_C1853::Method6.18357<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod2970<object>()
ldstr "G2_C794::ClassMethod2970.12345<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method6<object>()
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method5()
ldstr "G2_C794::Method5.12340()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method4()
ldstr "G3_C1853::Method4.18355()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G3_C1853`1<class BaseClass0>
callvirt instance string class G3_C1853`1<class BaseClass0>::Method6<object>()
ldstr "G3_C1853::Method6.18357<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1853`1<class BaseClass0>
callvirt instance string class G3_C1853`1<class BaseClass0>::Method5()
ldstr "G3_C1853::Method5.18356()"
ldstr "class G3_C1853`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1853`1<class BaseClass0>
callvirt instance string class G3_C1853`1<class BaseClass0>::Method4()
ldstr "G3_C1853::Method4.18355()"
ldstr "class G3_C1853`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1853`1<class BaseClass0>
callvirt instance string class G3_C1853`1<class BaseClass0>::ClassMethod2970<object>()
ldstr "G2_C794::ClassMethod2970.12345<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1853`1<class BaseClass0>
callvirt instance string class G3_C1853`1<class BaseClass0>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1853`1<class BaseClass0>
callvirt instance string class G3_C1853`1<class BaseClass0>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1853`1<class BaseClass0>
callvirt instance string class G3_C1853`1<class BaseClass0>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G3_C1853`1<class BaseClass1>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method5()
ldstr "G2_C794::Method5.12340()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
ldstr "G2_C794::Method4.MI.12339()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
ldstr "G2_C794::Method5.MI.12341()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G3_C1853::Method4.18355()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G3_C1853::Method5.18356()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G3_C1853::Method6.18357<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod2970<object>()
ldstr "G2_C794::ClassMethod2970.12345<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method6<object>()
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method5()
ldstr "G2_C794::Method5.12340()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method4()
ldstr "G3_C1853::Method4.18355()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G3_C1853`1<class BaseClass1>
callvirt instance string class G3_C1853`1<class BaseClass1>::Method6<object>()
ldstr "G3_C1853::Method6.18357<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1853`1<class BaseClass1>
callvirt instance string class G3_C1853`1<class BaseClass1>::Method5()
ldstr "G3_C1853::Method5.18356()"
ldstr "class G3_C1853`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1853`1<class BaseClass1>
callvirt instance string class G3_C1853`1<class BaseClass1>::Method4()
ldstr "G3_C1853::Method4.18355()"
ldstr "class G3_C1853`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1853`1<class BaseClass1>
callvirt instance string class G3_C1853`1<class BaseClass1>::ClassMethod2970<object>()
ldstr "G2_C794::ClassMethod2970.12345<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1853`1<class BaseClass1>
callvirt instance string class G3_C1853`1<class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1853`1<class BaseClass1>
callvirt instance string class G3_C1853`1<class BaseClass1>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1853`1<class BaseClass1>
callvirt instance string class G3_C1853`1<class BaseClass1>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G2_C794`2<class BaseClass0,class BaseClass0>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method5()
ldstr "G2_C794::Method5.12340()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G2_C794::Method4.MI.12339()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G2_C794::Method5.MI.12341()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass0>::ClassMethod2970<object>()
ldstr "G2_C794::ClassMethod2970.12345<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass0>::Method6<object>()
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass0>::Method5()
ldstr "G2_C794::Method5.12340()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass0>::Method4()
ldstr "G2_C794::Method4.12338()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass0>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass0>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G2_C794`2<class BaseClass0,class BaseClass1>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method5()
ldstr "G2_C794::Method5.12340()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
ldstr "G2_C794::Method4.MI.12339()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
ldstr "G2_C794::Method5.MI.12341()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G2_C794::Method4.MI.12339()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G2_C794::Method5.MI.12341()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod2970<object>()
ldstr "G2_C794::ClassMethod2970.12345<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method6<object>()
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method5()
ldstr "G2_C794::Method5.12340()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method4()
ldstr "G2_C794::Method4.12338()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G2_C794`2<class BaseClass1,class BaseClass0>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method5()
ldstr "G2_C794::Method5.12340()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G2_C794::Method4.MI.12339()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G2_C794::Method5.MI.12341()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C794`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass0>::ClassMethod2970<object>()
ldstr "G2_C794::ClassMethod2970.12345<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass0>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass0>::Method6<object>()
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass0>::Method5()
ldstr "G2_C794::Method5.12340()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass0>::Method4()
ldstr "G2_C794::Method4.12338()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass0>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass0>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G2_C794`2<class BaseClass1,class BaseClass1>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method5()
ldstr "G2_C794::Method5.12340()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
ldstr "G2_C794::Method4.MI.12339()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
ldstr "G2_C794::Method5.MI.12341()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G2_C794::Method4.MI.12339()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G2_C794::Method5.MI.12341()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C794`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass1>::ClassMethod2970<object>()
ldstr "G2_C794::ClassMethod2970.12345<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass1>::Method6<object>()
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass1>::Method5()
ldstr "G2_C794::Method5.12340()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass1>::Method4()
ldstr "G2_C794::Method4.12338()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass1>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C794`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C794`2<class BaseClass1,class BaseClass1>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G1_C14`2<class BaseClass0,class BaseClass0>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass0>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass0>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass0>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass0>::Method5()
ldstr "G1_C14::Method5.4880()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass0>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G1_C14`2<class BaseClass0,class BaseClass1>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method5()
ldstr "G1_C14::Method5.4880()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G1_C14`2<class BaseClass1,class BaseClass0>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass0>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass0>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass0>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass0>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass0>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass0>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass0>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass0>::Method5()
ldstr "G1_C14::Method5.4880()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass0>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass0>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass0>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass0>::Method7<object>()
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G1_C14`2<class BaseClass1,class BaseClass1>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1351<object>()
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1350<object>()
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method5()
ldstr "G1_C14::Method5.4880()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldstr "========================================================================\n\n"
call void [mscorlib]System.Console::WriteLine(string)
ret
}
.method public hidebysig static void ConstrainedCallsTest() cil managed
{
.maxstack 10
.locals init (object V_0)
ldstr "========================== Constrained Calls Test =========================="
call void [mscorlib]System.Console::WriteLine(string)
newobj instance void class G3_C1853`1<class BaseClass0>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.T.T<class BaseClass1,class BaseClass1,class G3_C1853`1<class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.B.T<class BaseClass1,class G3_C1853`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.B.B<class G3_C1853`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G3_C1853`1<class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.B.T<class BaseClass1,class G3_C1853`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.B.B<class G3_C1853`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method4.MI.12339()#G2_C794::Method5.MI.12341()#G2_C794::Method6.12342<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass1,class G3_C1853`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method4.MI.12339()#G2_C794::Method5.MI.12341()#G2_C794::Method6.12342<System.Object>()#"
call void Generated1381::M.IBase1.B<class G3_C1853`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G3_C1853`1<class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.T<class BaseClass1,class G3_C1853`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.B<class G3_C1853`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G3_C1853::Method4.18355()#G3_C1853::Method5.18356()#G3_C1853::Method6.18357<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass0,class G3_C1853`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G3_C1853::Method4.18355()#G3_C1853::Method5.18356()#G3_C1853::Method6.18357<System.Object>()#"
call void Generated1381::M.IBase1.A<class G3_C1853`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G3_C1853::Method4.18355()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.T.T<class BaseClass0,class BaseClass1,class G3_C1853`1<class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G3_C1853::Method4.18355()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.A.T<class BaseClass1,class G3_C1853`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G3_C1853::Method4.18355()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.A.B<class G3_C1853`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass0,class BaseClass0,class G3_C1853`1<class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.T<class BaseClass0,class G3_C1853`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.A<class G3_C1853`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G3_C1853::Method4.18355()#G3_C1853::Method5.18356()#G3_C1853::Method6.18357<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G3_C1853.T<class BaseClass0,class G3_C1853`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G3_C1853::Method4.18355()#G3_C1853::Method5.18356()#G3_C1853::Method6.18357<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G3_C1853.A<class G3_C1853`1<class BaseClass0>>(!!0,string)
newobj instance void class G3_C1853`1<class BaseClass1>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.T.T<class BaseClass1,class BaseClass1,class G3_C1853`1<class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.B.T<class BaseClass1,class G3_C1853`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.B.B<class G3_C1853`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G3_C1853`1<class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.B.T<class BaseClass1,class G3_C1853`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.B.B<class G3_C1853`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method4.MI.12339()#G2_C794::Method5.MI.12341()#G2_C794::Method6.12342<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass1,class G3_C1853`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method4.MI.12339()#G2_C794::Method5.MI.12341()#G2_C794::Method6.12342<System.Object>()#"
call void Generated1381::M.IBase1.B<class G3_C1853`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G3_C1853`1<class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.T<class BaseClass1,class G3_C1853`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.B<class G3_C1853`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G3_C1853::Method4.18355()#G3_C1853::Method5.18356()#G3_C1853::Method6.18357<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass0,class G3_C1853`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G3_C1853::Method4.18355()#G3_C1853::Method5.18356()#G3_C1853::Method6.18357<System.Object>()#"
call void Generated1381::M.IBase1.A<class G3_C1853`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G3_C1853::Method4.18355()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.T.T<class BaseClass0,class BaseClass1,class G3_C1853`1<class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G3_C1853::Method4.18355()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.A.T<class BaseClass1,class G3_C1853`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G3_C1853::Method4.18355()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.A.B<class G3_C1853`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass0,class BaseClass0,class G3_C1853`1<class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.T<class BaseClass0,class G3_C1853`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.A<class G3_C1853`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G3_C1853::Method4.18355()#G3_C1853::Method5.18356()#G3_C1853::Method6.18357<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G3_C1853.T<class BaseClass1,class G3_C1853`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G3_C1853::Method4.18355()#G3_C1853::Method5.18356()#G3_C1853::Method6.18357<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G3_C1853.B<class G3_C1853`1<class BaseClass1>>(!!0,string)
newobj instance void class G2_C794`2<class BaseClass0,class BaseClass0>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.T.T<class BaseClass0,class BaseClass1,class G2_C794`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.A.T<class BaseClass1,class G2_C794`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.A.B<class G2_C794`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G2_C794`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.B.T<class BaseClass1,class G2_C794`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.B.B<class G2_C794`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass1,class G2_C794`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.B<class G2_C794`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G2_C794`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.T<class BaseClass1,class G2_C794`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.B<class G2_C794`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method4.MI.12339()#G2_C794::Method5.MI.12341()#G2_C794::Method6.12342<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass0,class G2_C794`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method4.MI.12339()#G2_C794::Method5.MI.12341()#G2_C794::Method6.12342<System.Object>()#"
call void Generated1381::M.IBase1.A<class G2_C794`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G2_C794::Method4.12338()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.T.T<class BaseClass0,class BaseClass0,class G2_C794`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G2_C794::Method4.12338()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.A.T<class BaseClass0,class G2_C794`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G2_C794::Method4.12338()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.A.A<class G2_C794`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass0,class BaseClass0,class G2_C794`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.T<class BaseClass0,class G2_C794`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.A<class G2_C794`2<class BaseClass0,class BaseClass0>>(!!0,string)
newobj instance void class G2_C794`2<class BaseClass0,class BaseClass1>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.T.T<class BaseClass1,class BaseClass1,class G2_C794`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.B.T<class BaseClass1,class G2_C794`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.B.B<class G2_C794`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G2_C794`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.B.T<class BaseClass1,class G2_C794`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.B.B<class G2_C794`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method4.MI.12339()#G2_C794::Method5.MI.12341()#G2_C794::Method6.12342<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass1,class G2_C794`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method4.MI.12339()#G2_C794::Method5.MI.12341()#G2_C794::Method6.12342<System.Object>()#"
call void Generated1381::M.IBase1.B<class G2_C794`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G2_C794`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.T<class BaseClass1,class G2_C794`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.B<class G2_C794`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method4.MI.12339()#G2_C794::Method5.MI.12341()#G2_C794::Method6.12342<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass0,class G2_C794`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method4.MI.12339()#G2_C794::Method5.MI.12341()#G2_C794::Method6.12342<System.Object>()#"
call void Generated1381::M.IBase1.A<class G2_C794`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G2_C794::Method4.12338()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.T.T<class BaseClass0,class BaseClass1,class G2_C794`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G2_C794::Method4.12338()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.A.T<class BaseClass1,class G2_C794`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G2_C794::Method4.12338()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.A.B<class G2_C794`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass0,class BaseClass0,class G2_C794`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.T<class BaseClass0,class G2_C794`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.A<class G2_C794`2<class BaseClass0,class BaseClass1>>(!!0,string)
newobj instance void class G2_C794`2<class BaseClass1,class BaseClass0>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.T.T<class BaseClass0,class BaseClass1,class G2_C794`2<class BaseClass1,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.A.T<class BaseClass1,class G2_C794`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.A.B<class G2_C794`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G2_C794`2<class BaseClass1,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.B.T<class BaseClass1,class G2_C794`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.B.B<class G2_C794`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass1,class G2_C794`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.B<class G2_C794`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G2_C794`2<class BaseClass1,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.T<class BaseClass1,class G2_C794`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.B<class G2_C794`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method4.MI.12339()#G2_C794::Method5.MI.12341()#G2_C794::Method6.12342<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass0,class G2_C794`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method4.MI.12339()#G2_C794::Method5.MI.12341()#G2_C794::Method6.12342<System.Object>()#"
call void Generated1381::M.IBase1.A<class G2_C794`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G2_C794::Method4.12338()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.T.T<class BaseClass1,class BaseClass0,class G2_C794`2<class BaseClass1,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G2_C794::Method4.12338()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.B.T<class BaseClass0,class G2_C794`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G2_C794::Method4.12338()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.B.A<class G2_C794`2<class BaseClass1,class BaseClass0>>(!!0,string)
newobj instance void class G2_C794`2<class BaseClass1,class BaseClass1>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.T.T<class BaseClass1,class BaseClass1,class G2_C794`2<class BaseClass1,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.B.T<class BaseClass1,class G2_C794`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G2_C794::Method5.12340()#G1_C14::Method6.4882<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G1_C14.B.B<class G2_C794`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G2_C794`2<class BaseClass1,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.B.T<class BaseClass1,class G2_C794`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.IBase2.B.B<class G2_C794`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method4.MI.12339()#G2_C794::Method5.MI.12341()#G2_C794::Method6.12342<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass1,class G2_C794`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method4.MI.12339()#G2_C794::Method5.MI.12341()#G2_C794::Method6.12342<System.Object>()#"
call void Generated1381::M.IBase1.B<class G2_C794`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G2_C794`2<class BaseClass1,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.T<class BaseClass1,class G2_C794`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method7.MI.12344<System.Object>()#"
call void Generated1381::M.IBase2.A.B<class G2_C794`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C794::Method4.MI.12339()#G2_C794::Method5.MI.12341()#G2_C794::Method6.12342<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass0,class G2_C794`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C794::Method4.MI.12339()#G2_C794::Method5.MI.12341()#G2_C794::Method6.12342<System.Object>()#"
call void Generated1381::M.IBase1.A<class G2_C794`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G2_C794::Method4.12338()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.T.T<class BaseClass1,class BaseClass1,class G2_C794`2<class BaseClass1,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G2_C794::Method4.12338()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.B.T<class BaseClass1,class G2_C794`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G2_C794::ClassMethod2970.12345<System.Object>()#G2_C794::Method4.12338()#G2_C794::Method5.12340()#G2_C794::Method6.12342<System.Object>()#G2_C794::Method7.12343<System.Object>()#"
call void Generated1381::M.G2_C794.B.B<class G2_C794`2<class BaseClass1,class BaseClass1>>(!!0,string)
newobj instance void class G1_C14`2<class BaseClass0,class BaseClass0>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G1_C14::Method5.4880()#G1_C14::Method6.4882<System.Object>()#G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.G1_C14.T.T<class BaseClass0,class BaseClass0,class G1_C14`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G1_C14::Method5.4880()#G1_C14::Method6.4882<System.Object>()#G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.G1_C14.A.T<class BaseClass0,class G1_C14`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G1_C14::Method5.4880()#G1_C14::Method6.4882<System.Object>()#G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.G1_C14.A.A<class G1_C14`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G1_C14`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.A.T<class BaseClass1,class G1_C14`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.A.B<class G1_C14`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass1,class G1_C14`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.B<class G1_C14`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass0,class G1_C14`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.A<class G1_C14`2<class BaseClass0,class BaseClass0>>(!!0,string)
newobj instance void class G1_C14`2<class BaseClass0,class BaseClass1>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G1_C14::Method5.4880()#G1_C14::Method6.4882<System.Object>()#G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.G1_C14.T.T<class BaseClass0,class BaseClass1,class G1_C14`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G1_C14::Method5.4880()#G1_C14::Method6.4882<System.Object>()#G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.G1_C14.A.T<class BaseClass1,class G1_C14`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G1_C14::Method5.4880()#G1_C14::Method6.4882<System.Object>()#G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.G1_C14.A.B<class G1_C14`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G1_C14`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.B.T<class BaseClass1,class G1_C14`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.B.B<class G1_C14`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass1,class G1_C14`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.B<class G1_C14`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G1_C14`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.A.T<class BaseClass1,class G1_C14`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.A.B<class G1_C14`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass0,class G1_C14`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.A<class G1_C14`2<class BaseClass0,class BaseClass1>>(!!0,string)
newobj instance void class G1_C14`2<class BaseClass1,class BaseClass0>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G1_C14::Method5.4880()#G1_C14::Method6.4882<System.Object>()#G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.G1_C14.T.T<class BaseClass1,class BaseClass0,class G1_C14`2<class BaseClass1,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G1_C14::Method5.4880()#G1_C14::Method6.4882<System.Object>()#G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.G1_C14.B.T<class BaseClass0,class G1_C14`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G1_C14::Method5.4880()#G1_C14::Method6.4882<System.Object>()#G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.G1_C14.B.A<class G1_C14`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G1_C14`2<class BaseClass1,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.A.T<class BaseClass1,class G1_C14`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.A.B<class G1_C14`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass1,class G1_C14`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.B<class G1_C14`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass0,class G1_C14`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.A<class G1_C14`2<class BaseClass1,class BaseClass0>>(!!0,string)
newobj instance void class G1_C14`2<class BaseClass1,class BaseClass1>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G1_C14::Method5.4880()#G1_C14::Method6.4882<System.Object>()#G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.G1_C14.T.T<class BaseClass1,class BaseClass1,class G1_C14`2<class BaseClass1,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G1_C14::Method5.4880()#G1_C14::Method6.4882<System.Object>()#G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.G1_C14.B.T<class BaseClass1,class G1_C14`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()#G1_C14::ClassMethod1351.4884<System.Object>()#G1_C14::Method4.4879()#G1_C14::Method5.4880()#G1_C14::Method6.4882<System.Object>()#G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.G1_C14.B.B<class G1_C14`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G1_C14`2<class BaseClass1,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.B.T<class BaseClass1,class G1_C14`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.B.B<class G1_C14`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass1,class G1_C14`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.B<class G1_C14`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G1_C14`2<class BaseClass1,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.A.T<class BaseClass1,class G1_C14`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::Method7.4878<System.Object>()#"
call void Generated1381::M.IBase2.A.B<class G1_C14`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.T<class BaseClass0,class G1_C14`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C14::Method4.4879()#G1_C14::Method5.MI.4881()#G1_C14::Method6.4882<System.Object>()#"
call void Generated1381::M.IBase1.A<class G1_C14`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldstr "========================================================================\n\n"
call void [mscorlib]System.Console::WriteLine(string)
ret
}
.method public hidebysig static void StructConstrainedInterfaceCallsTest() cil managed
{
.maxstack 10
ldstr "===================== Struct Constrained Interface Calls Test ====================="
call void [mscorlib]System.Console::WriteLine(string)
ldstr "========================================================================\n\n"
call void [mscorlib]System.Console::WriteLine(string)
ret
}
.method public hidebysig static void CalliTest() cil managed
{
.maxstack 10
.locals init (object V_0)
ldstr "========================== Method Calli Test =========================="
call void [mscorlib]System.Console::WriteLine(string)
newobj instance void class G3_C1853`1<class BaseClass0>::.ctor()
stloc.0
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1351<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1350<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method6<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method5()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G2_C794::Method5.12340()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method4()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method4()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G2_C794::Method4.MI.12339()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method5()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G2_C794::Method5.MI.12341()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method6<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G3_C1853::Method4.18355()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G3_C1853::Method5.18356()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G3_C1853::Method6.18357<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod2970<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G2_C794::ClassMethod2970.12345<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method6<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method5()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G2_C794::Method5.12340()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method4()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G3_C1853::Method4.18355()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod1351<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod1350<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1853`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1853`1<class BaseClass0>::Method6<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G3_C1853::Method6.18357<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1853`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1853`1<class BaseClass0>::Method5()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G3_C1853::Method5.18356()"
ldstr "class G3_C1853`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1853`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1853`1<class BaseClass0>::Method4()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G3_C1853::Method4.18355()"
ldstr "class G3_C1853`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1853`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1853`1<class BaseClass0>::ClassMethod2970<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G2_C794::ClassMethod2970.12345<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1853`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1853`1<class BaseClass0>::Method7<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1853`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1853`1<class BaseClass0>::ClassMethod1351<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1853`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1853`1<class BaseClass0>::ClassMethod1350<object>()
calli default string(class G3_C1853`1<class BaseClass0>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass0> on type class G3_C1853`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G3_C1853`1<class BaseClass1>::.ctor()
stloc.0
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1351<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1350<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method6<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method5()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G2_C794::Method5.12340()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method4()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method4()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G2_C794::Method4.MI.12339()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method5()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G2_C794::Method5.MI.12341()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method6<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G3_C1853::Method4.18355()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G3_C1853::Method5.18356()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G3_C1853::Method6.18357<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod2970<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G2_C794::ClassMethod2970.12345<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method6<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method5()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G2_C794::Method5.12340()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method4()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G3_C1853::Method4.18355()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod1351<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod1350<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1853`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1853`1<class BaseClass1>::Method6<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G3_C1853::Method6.18357<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1853`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1853`1<class BaseClass1>::Method5()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G3_C1853::Method5.18356()"
ldstr "class G3_C1853`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1853`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1853`1<class BaseClass1>::Method4()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G3_C1853::Method4.18355()"
ldstr "class G3_C1853`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1853`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1853`1<class BaseClass1>::ClassMethod2970<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G2_C794::ClassMethod2970.12345<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1853`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1853`1<class BaseClass1>::Method7<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1853`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1853`1<class BaseClass1>::ClassMethod1351<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1853`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1853`1<class BaseClass1>::ClassMethod1350<object>()
calli default string(class G3_C1853`1<class BaseClass1>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G3_C1853`1<class BaseClass1> on type class G3_C1853`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G2_C794`2<class BaseClass0,class BaseClass0>::.ctor()
stloc.0
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::ClassMethod1351<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::ClassMethod1350<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method6<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method5()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C794::Method5.12340()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method4()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method4()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method5()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method6<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C794::Method4.MI.12339()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C794::Method5.MI.12341()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass0>::ClassMethod2970<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C794::ClassMethod2970.12345<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass0>::Method6<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass0>::Method5()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C794::Method5.12340()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass0>::Method4()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C794::Method4.12338()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass0>::ClassMethod1351<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass0>::ClassMethod1350<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G2_C794`2<class BaseClass0,class BaseClass1>::.ctor()
stloc.0
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1351<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1350<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method6<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method5()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C794::Method5.12340()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method4()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method4()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C794::Method4.MI.12339()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method5()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C794::Method5.MI.12341()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method6<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C794::Method4.MI.12339()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C794::Method5.MI.12341()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod2970<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C794::ClassMethod2970.12345<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method6<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method5()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C794::Method5.12340()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::Method4()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C794::Method4.12338()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod1351<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass0,class BaseClass1>::ClassMethod1350<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G2_C794`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G2_C794`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G2_C794`2<class BaseClass1,class BaseClass0>::.ctor()
stloc.0
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::ClassMethod1351<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::ClassMethod1350<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method6<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method5()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C794::Method5.12340()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method4()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method4()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method5()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method6<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C794::Method4.MI.12339()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C794::Method5.MI.12341()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass1,class BaseClass0>::ClassMethod2970<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C794::ClassMethod2970.12345<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass1,class BaseClass0>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass1,class BaseClass0>::Method6<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass1,class BaseClass0>::Method5()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C794::Method5.12340()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass1,class BaseClass0>::Method4()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C794::Method4.12338()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass1,class BaseClass0>::ClassMethod1351<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass1,class BaseClass0>::ClassMethod1350<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G2_C794`2<class BaseClass1,class BaseClass1>::.ctor()
stloc.0
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1351<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1350<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method6<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method5()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C794::Method5.12340()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method4()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method4()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C794::Method4.MI.12339()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method5()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C794::Method5.MI.12341()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method6<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C794::Method7.MI.12344<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C794::Method4.MI.12339()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C794::Method5.MI.12341()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass1,class BaseClass1>::ClassMethod2970<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C794::ClassMethod2970.12345<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C794::Method7.12343<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass1,class BaseClass1>::Method6<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C794::Method6.12342<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass1,class BaseClass1>::Method5()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C794::Method5.12340()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass1,class BaseClass1>::Method4()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C794::Method4.12338()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass1,class BaseClass1>::ClassMethod1351<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C794`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C794`2<class BaseClass1,class BaseClass1>::ClassMethod1350<object>()
calli default string(class G2_C794`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G2_C794`2<class BaseClass1,class BaseClass1> on type class G2_C794`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G1_C14`2<class BaseClass0,class BaseClass0>::.ctor()
stloc.0
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass0>::ClassMethod1351<object>()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass0>::ClassMethod1350<object>()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass0>::Method6<object>()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass0>::Method5()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::Method5.4880()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass0>::Method4()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method4()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method5()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method6<object>()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G1_C14`2<class BaseClass0,class BaseClass1>::.ctor()
stloc.0
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::ClassMethod1351<object>()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::ClassMethod1350<object>()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method6<object>()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method5()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::Method5.4880()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method4()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class G1_C14`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method4()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method5()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method6<object>()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G1_C14`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G1_C14`2<class BaseClass1,class BaseClass0>::.ctor()
stloc.0
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass0>::ClassMethod1351<object>()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass0>::ClassMethod1350<object>()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass0>::Method6<object>()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass0>::Method5()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::Method5.4880()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass0>::Method4()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass0>::Method7<object>()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method4()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method5()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method6<object>()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G1_C14`2<class BaseClass1,class BaseClass1>::.ctor()
stloc.0
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1351<object>()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::ClassMethod1351.4884<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::ClassMethod1350<object>()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::ClassMethod1350.4883<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method6<object>()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method5()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::Method5.4880()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method4()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::Method4.4879()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C14`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C14`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class G1_C14`2<class BaseClass1,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method4()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method5()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method6<object>()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::Method7.4878<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::Method4.4879()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::Method5.MI.4881()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G1_C14`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C14::Method6.4882<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G1_C14`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldstr "========================================================================\n\n"
call void [mscorlib]System.Console::WriteLine(string)
ret
}
.method public hidebysig static int32 Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 10
call void Generated1381::MethodCallingTest()
call void Generated1381::ConstrainedCallsTest()
call void Generated1381::StructConstrainedInterfaceCallsTest()
call void Generated1381::CalliTest()
ldc.i4 100
ret
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/libraries/System.Security.Permissions/src/System/Security/Permissions/FileIOPermissionAttribute.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.Security.Permissions
{
#if NET5_0_OR_GREATER
[Obsolete(Obsoletions.CodeAccessSecurityMessage, DiagnosticId = Obsoletions.CodeAccessSecurityDiagId, UrlFormat = Obsoletions.SharedUrlFormat)]
#endif
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)]
public sealed class FileIOPermissionAttribute : CodeAccessSecurityAttribute
{
public FileIOPermissionAttribute(SecurityAction action) : base(action) { }
public string Read { get; set; }
public string Write { get; set; }
public string Append { get; set; }
public string PathDiscovery { get; set; }
public string ViewAccessControl { get; set; }
public string ChangeAccessControl { get; set; }
[Obsolete]
public string All { get; set; }
public string ViewAndModify { get; set; }
public FileIOPermissionAccess AllFiles { get; set; }
public FileIOPermissionAccess AllLocalFiles { get; set; }
public override IPermission CreatePermission() { return null; }
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.Security.Permissions
{
#if NET5_0_OR_GREATER
[Obsolete(Obsoletions.CodeAccessSecurityMessage, DiagnosticId = Obsoletions.CodeAccessSecurityDiagId, UrlFormat = Obsoletions.SharedUrlFormat)]
#endif
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)]
public sealed class FileIOPermissionAttribute : CodeAccessSecurityAttribute
{
public FileIOPermissionAttribute(SecurityAction action) : base(action) { }
public string Read { get; set; }
public string Write { get; set; }
public string Append { get; set; }
public string PathDiscovery { get; set; }
public string ViewAccessControl { get; set; }
public string ChangeAccessControl { get; set; }
[Obsolete]
public string All { get; set; }
public string ViewAndModify { get; set; }
public FileIOPermissionAccess AllFiles { get; set; }
public FileIOPermissionAccess AllLocalFiles { get; set; }
public override IPermission CreatePermission() { return null; }
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/UniversalCryptoEncryptor.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Diagnostics;
using System.Security.Cryptography;
using Internal.Cryptography;
namespace System.Security.Cryptography
{
//
// A cross-platform ICryptoTransform implementation for encryption.
//
// - Implements the various padding algorithms (as we support padding algorithms that the underlying native apis don't.)
//
// - Parameterized by a BasicSymmetricCipher which encapsulates the algorithm, key, IV, chaining mode, direction of encryption
// and the underlying native apis implementing the encryption.
//
internal sealed class UniversalCryptoEncryptor : UniversalCryptoTransform
{
public UniversalCryptoEncryptor(PaddingMode paddingMode, BasicSymmetricCipher basicSymmetricCipher)
: base(paddingMode, basicSymmetricCipher)
{
}
protected override int UncheckedTransformBlock(ReadOnlySpan<byte> inputBuffer, Span<byte> outputBuffer)
{
return BasicSymmetricCipher.Transform(inputBuffer, outputBuffer);
}
protected override int UncheckedTransformFinalBlock(ReadOnlySpan<byte> inputBuffer, Span<byte> outputBuffer)
{
// The only caller of this method is the array-allocating overload, outputBuffer is
// always new memory, not a user-provided buffer.
Debug.Assert(!inputBuffer.Overlaps(outputBuffer));
int padWritten = SymmetricPadding.PadBlock(inputBuffer, outputBuffer, PaddingSizeBytes, PaddingMode);
int transformWritten = BasicSymmetricCipher.TransformFinal(outputBuffer.Slice(0, padWritten), outputBuffer);
// After padding, we should have an even number of blocks, and the same applies
// to the transform.
Debug.Assert(padWritten == transformWritten);
return transformWritten;
}
protected override byte[] UncheckedTransformFinalBlock(byte[] inputBuffer, int inputOffset, int inputCount)
{
int ciphertextLength = SymmetricPadding.GetCiphertextLength(inputCount, PaddingSizeBytes, PaddingMode);
byte[] buffer = GC.AllocateUninitializedArray<byte>(ciphertextLength);
int written = UncheckedTransformFinalBlock(inputBuffer.AsSpan(inputOffset, inputCount), buffer);
Debug.Assert(written == buffer.Length);
return buffer;
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Diagnostics;
using System.Security.Cryptography;
using Internal.Cryptography;
namespace System.Security.Cryptography
{
//
// A cross-platform ICryptoTransform implementation for encryption.
//
// - Implements the various padding algorithms (as we support padding algorithms that the underlying native apis don't.)
//
// - Parameterized by a BasicSymmetricCipher which encapsulates the algorithm, key, IV, chaining mode, direction of encryption
// and the underlying native apis implementing the encryption.
//
internal sealed class UniversalCryptoEncryptor : UniversalCryptoTransform
{
public UniversalCryptoEncryptor(PaddingMode paddingMode, BasicSymmetricCipher basicSymmetricCipher)
: base(paddingMode, basicSymmetricCipher)
{
}
protected override int UncheckedTransformBlock(ReadOnlySpan<byte> inputBuffer, Span<byte> outputBuffer)
{
return BasicSymmetricCipher.Transform(inputBuffer, outputBuffer);
}
protected override int UncheckedTransformFinalBlock(ReadOnlySpan<byte> inputBuffer, Span<byte> outputBuffer)
{
// The only caller of this method is the array-allocating overload, outputBuffer is
// always new memory, not a user-provided buffer.
Debug.Assert(!inputBuffer.Overlaps(outputBuffer));
int padWritten = SymmetricPadding.PadBlock(inputBuffer, outputBuffer, PaddingSizeBytes, PaddingMode);
int transformWritten = BasicSymmetricCipher.TransformFinal(outputBuffer.Slice(0, padWritten), outputBuffer);
// After padding, we should have an even number of blocks, and the same applies
// to the transform.
Debug.Assert(padWritten == transformWritten);
return transformWritten;
}
protected override byte[] UncheckedTransformFinalBlock(byte[] inputBuffer, int inputOffset, int inputCount)
{
int ciphertextLength = SymmetricPadding.GetCiphertextLength(inputCount, PaddingSizeBytes, PaddingMode);
byte[] buffer = GC.AllocateUninitializedArray<byte>(ciphertextLength);
int written = UncheckedTransformFinalBlock(inputBuffer.AsSpan(inputOffset, inputCount), buffer);
Debug.Assert(written == buffer.Length);
return buffer;
}
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/tests/Loader/classloader/TypeGeneratorTests/TypeGeneratorTest869/Generated869.il | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
.assembly extern mscorlib { .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) .ver 4:0:0:0 }
.assembly extern TestFramework { .publickeytoken = ( B0 3F 5F 7F 11 D5 0A 3A ) }
//TYPES IN FORWARDER ASSEMBLIES:
//TEST ASSEMBLY:
.assembly Generated869 { .hash algorithm 0x00008004 }
.assembly extern xunit.core {}
.class public BaseClass0
{
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed {
ldarg.0
call instance void [mscorlib]System.Object::.ctor()
ret
}
}
.class public BaseClass1
extends BaseClass0
{
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed {
ldarg.0
call instance void BaseClass0::.ctor()
ret
}
}
.class public G3_C1341`1<T0>
extends class G2_C378`2<class BaseClass1,class BaseClass1>
implements class IBase2`2<class BaseClass0,class BaseClass0>
{
.method public hidebysig newslot virtual instance string Method7<M0>() cil managed noinlining {
ldstr "G3_C1341::Method7.15651<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string 'IBase2<class BaseClass0,class BaseClass0>.Method7'<M0>() cil managed noinlining {
.override method instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<[1]>()
ldstr "G3_C1341::Method7.MI.15652<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string ClassMethod4072() cil managed noinlining {
ldstr "G3_C1341::ClassMethod4072.15653()"
ret
}
.method public hidebysig newslot virtual instance string ClassMethod4073() cil managed noinlining {
ldstr "G3_C1341::ClassMethod4073.15654()"
ret
}
.method public hidebysig newslot virtual instance string ClassMethod4074<M0>() cil managed noinlining {
ldstr "G3_C1341::ClassMethod4074.15655<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string ClassMethod4075<M0>() cil managed noinlining {
ldstr "G3_C1341::ClassMethod4075.15656<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string 'G2_C378<class BaseClass1,class BaseClass1>.ClassMethod2098'() cil managed noinlining {
.override method instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2098()
ldstr "G3_C1341::ClassMethod2098.MI.15657()"
ret
}
.method public hidebysig newslot virtual instance string 'G2_C378<class BaseClass1,class BaseClass1>.ClassMethod2099'() cil managed noinlining {
.override method instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2099()
ldstr "G3_C1341::ClassMethod2099.MI.15658()"
ret
}
.method public hidebysig newslot virtual instance string 'G2_C378<class BaseClass1,class BaseClass1>.ClassMethod2101'<M0>() cil managed noinlining {
.override method instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2101<[1]>()
ldstr "G3_C1341::ClassMethod2101.MI.15659<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed {
ldarg.0
call instance void class G2_C378`2<class BaseClass1,class BaseClass1>::.ctor()
ret
}
}
.class public G2_C378`2<T0, T1>
extends class G1_C7`2<!T0,!T0>
implements class IBase2`2<class BaseClass1,class BaseClass1>, class IBase1`1<class BaseClass0>
{
.method public hidebysig virtual instance string Method7<M0>() cil managed noinlining {
ldstr "G2_C378::Method7.8326<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string 'IBase2<class BaseClass1,class BaseClass1>.Method7'<M0>() cil managed noinlining {
.override method instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<[1]>()
ldstr "G2_C378::Method7.MI.8327<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig virtual instance string Method4() cil managed noinlining {
ldstr "G2_C378::Method4.8328()"
ret
}
.method public hidebysig newslot virtual instance string 'IBase1<class BaseClass0>.Method4'() cil managed noinlining {
.override method instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G2_C378::Method4.MI.8329()"
ret
}
.method public hidebysig virtual instance string Method5() cil managed noinlining {
ldstr "G2_C378::Method5.8330()"
ret
}
.method public hidebysig newslot virtual instance string Method6<M0>() cil managed noinlining {
ldstr "G2_C378::Method6.8331<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string ClassMethod2098() cil managed noinlining {
ldstr "G2_C378::ClassMethod2098.8332()"
ret
}
.method public hidebysig newslot virtual instance string ClassMethod2099() cil managed noinlining {
ldstr "G2_C378::ClassMethod2099.8333()"
ret
}
.method public hidebysig newslot virtual instance string ClassMethod2100<M0>() cil managed noinlining {
ldstr "G2_C378::ClassMethod2100.8334<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string ClassMethod2101<M0>() cil managed noinlining {
ldstr "G2_C378::ClassMethod2101.8335<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string 'G1_C7<T0,T0>.ClassMethod1329'() cil managed noinlining {
.override method instance string class G1_C7`2<!T0,!T0>::ClassMethod1329()
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ret
}
.method public hidebysig newslot virtual instance string 'G1_C7<T0,T0>.ClassMethod1330'<M0>() cil managed noinlining {
.override method instance string class G1_C7`2<!T0,!T0>::ClassMethod1330<[1]>()
ldstr "G2_C378::ClassMethod1330.MI.8337<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed {
ldarg.0
call instance void class G1_C7`2<!T0,!T0>::.ctor()
ret
}
}
.class interface public abstract IBase2`2<+T0, -T1>
{
.method public hidebysig newslot abstract virtual instance string Method7<M0>() cil managed { }
}
.class public abstract G1_C7`2<T0, T1>
implements class IBase1`1<!T0>, class IBase2`2<class BaseClass1,!T0>
{
.method public hidebysig virtual instance string Method4() cil managed noinlining {
ldstr "G1_C7::Method4.4811()"
ret
}
.method public hidebysig newslot virtual instance string Method5() cil managed noinlining {
ldstr "G1_C7::Method5.4812()"
ret
}
.method public hidebysig newslot virtual instance string Method6<M0>() cil managed noinlining {
ldstr "G1_C7::Method6.4813<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string 'IBase1<T0>.Method6'<M0>() cil managed noinlining {
.override method instance string class IBase1`1<!T0>::Method6<[1]>()
ldstr "G1_C7::Method6.MI.4814<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig virtual instance string Method7<M0>() cil managed noinlining {
ldstr "G1_C7::Method7.4815<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string 'IBase2<class BaseClass1,T0>.Method7'<M0>() cil managed noinlining {
.override method instance string class IBase2`2<class BaseClass1,!T0>::Method7<[1]>()
ldstr "G1_C7::Method7.MI.4816<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string ClassMethod1328() cil managed noinlining {
ldstr "G1_C7::ClassMethod1328.4817()"
ret
}
.method public hidebysig newslot virtual instance string ClassMethod1329() cil managed noinlining {
ldstr "G1_C7::ClassMethod1329.4818()"
ret
}
.method public hidebysig newslot virtual instance string ClassMethod1330<M0>() cil managed noinlining {
ldstr "G1_C7::ClassMethod1330.4819<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string ClassMethod1331<M0>() cil managed noinlining {
ldstr "G1_C7::ClassMethod1331.4820<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed {
ldarg.0
call instance void [mscorlib]System.Object::.ctor()
ret
}
}
.class interface public abstract IBase1`1<+T0>
{
.method public hidebysig newslot abstract virtual instance string Method4() cil managed { }
.method public hidebysig newslot abstract virtual instance string Method5() cil managed { }
.method public hidebysig newslot abstract virtual instance string Method6<M0>() cil managed { }
}
.class public auto ansi beforefieldinit Generated869 {
.method static void M.BaseClass0<(BaseClass0)W>(!!W inst, string exp) cil managed {
.maxstack 5
.locals init (string[] actualResults)
ldc.i4.s 0
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.BaseClass0<(BaseClass0)W>(!!W inst, string exp)"
ldc.i4.s 0
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.BaseClass1<(BaseClass1)W>(!!W inst, string exp) cil managed {
.maxstack 5
.locals init (string[] actualResults)
ldc.i4.s 0
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.BaseClass1<(BaseClass1)W>(!!W inst, string exp)"
ldc.i4.s 0
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G3_C1341.T<T0,(class G3_C1341`1<!!T0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 21
.locals init (string[] actualResults)
ldc.i4.s 16
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G3_C1341.T<T0,(class G3_C1341`1<!!T0>)W>(!!W 'inst', string exp)"
ldc.i4.s 16
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<!!T0>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<!!T0>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<!!T0>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<!!T0>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<!!T0>::ClassMethod2098()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<!!T0>::ClassMethod2099()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<!!T0>::ClassMethod2100<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<!!T0>::ClassMethod2101<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 8
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<!!T0>::ClassMethod4072()
stelem.ref
ldloc.s actualResults
ldc.i4.s 9
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<!!T0>::ClassMethod4073()
stelem.ref
ldloc.s actualResults
ldc.i4.s 10
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<!!T0>::ClassMethod4074<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 11
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<!!T0>::ClassMethod4075<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 12
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<!!T0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 13
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<!!T0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 14
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<!!T0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 15
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<!!T0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G3_C1341.A<(class G3_C1341`1<class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 21
.locals init (string[] actualResults)
ldc.i4.s 16
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G3_C1341.A<(class G3_C1341`1<class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 16
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod2098()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod2099()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod2100<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod2101<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 8
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod4072()
stelem.ref
ldloc.s actualResults
ldc.i4.s 9
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod4073()
stelem.ref
ldloc.s actualResults
ldc.i4.s 10
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod4074<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 11
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod4075<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 12
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 13
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 14
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 15
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G3_C1341.B<(class G3_C1341`1<class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 21
.locals init (string[] actualResults)
ldc.i4.s 16
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G3_C1341.B<(class G3_C1341`1<class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 16
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod2098()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod2099()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod2100<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod2101<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 8
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod4072()
stelem.ref
ldloc.s actualResults
ldc.i4.s 9
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod4073()
stelem.ref
ldloc.s actualResults
ldc.i4.s 10
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod4074<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 11
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod4075<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 12
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 13
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 14
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 15
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C378.T.T<T0,T1,(class G2_C378`2<!!T0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 17
.locals init (string[] actualResults)
ldc.i4.s 12
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C378.T.T<T0,T1,(class G2_C378`2<!!T0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 12
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<!!T0,!!T1>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<!!T0,!!T1>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<!!T0,!!T1>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<!!T0,!!T1>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<!!T0,!!T1>::ClassMethod2098()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<!!T0,!!T1>::ClassMethod2099()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<!!T0,!!T1>::ClassMethod2100<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<!!T0,!!T1>::ClassMethod2101<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 8
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<!!T0,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 9
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<!!T0,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 10
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<!!T0,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 11
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<!!T0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C378.A.T<T1,(class G2_C378`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 17
.locals init (string[] actualResults)
ldc.i4.s 12
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C378.A.T<T1,(class G2_C378`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 12
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,!!T1>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,!!T1>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,!!T1>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,!!T1>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,!!T1>::ClassMethod2098()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,!!T1>::ClassMethod2099()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,!!T1>::ClassMethod2100<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,!!T1>::ClassMethod2101<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 8
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 9
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 10
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 11
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C378.A.A<(class G2_C378`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 17
.locals init (string[] actualResults)
ldc.i4.s 12
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C378.A.A<(class G2_C378`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 12
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod2098()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod2099()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod2100<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod2101<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 8
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 9
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 10
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 11
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C378.A.B<(class G2_C378`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 17
.locals init (string[] actualResults)
ldc.i4.s 12
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C378.A.B<(class G2_C378`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 12
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod2098()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod2099()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod2100<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod2101<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 8
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 9
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 10
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 11
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C378.B.T<T1,(class G2_C378`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 17
.locals init (string[] actualResults)
ldc.i4.s 12
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C378.B.T<T1,(class G2_C378`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 12
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,!!T1>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,!!T1>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,!!T1>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,!!T1>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,!!T1>::ClassMethod2098()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,!!T1>::ClassMethod2099()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,!!T1>::ClassMethod2100<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,!!T1>::ClassMethod2101<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 8
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 9
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 10
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 11
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C378.B.A<(class G2_C378`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 17
.locals init (string[] actualResults)
ldc.i4.s 12
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C378.B.A<(class G2_C378`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 12
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod2098()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod2099()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod2100<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod2101<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 8
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 9
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 10
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 11
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C378.B.B<(class G2_C378`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 17
.locals init (string[] actualResults)
ldc.i4.s 12
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C378.B.B<(class G2_C378`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 12
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2098()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2099()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2100<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2101<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 8
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 9
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 10
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 11
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.T.T<T0,T1,(class IBase2`2<!!T0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.T.T<T0,T1,(class IBase2`2<!!T0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<!!T0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.A.T<T1,(class IBase2`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.A.T<T1,(class IBase2`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.A.A<(class IBase2`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.A.A<(class IBase2`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.A.B<(class IBase2`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.A.B<(class IBase2`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.B.T<T1,(class IBase2`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.B.T<T1,(class IBase2`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass1,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.B.A<(class IBase2`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.B.A<(class IBase2`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.B.B<(class IBase2`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.B.B<(class IBase2`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C7.T.T<T0,T1,(class G1_C7`2<!!T0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 13
.locals init (string[] actualResults)
ldc.i4.s 8
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C7.T.T<T0,T1,(class G1_C7`2<!!T0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 8
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<!!T0,!!T1>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<!!T0,!!T1>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<!!T0,!!T1>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<!!T0,!!T1>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<!!T0,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<!!T0,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<!!T0,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<!!T0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C7.A.T<T1,(class G1_C7`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 13
.locals init (string[] actualResults)
ldc.i4.s 8
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C7.A.T<T1,(class G1_C7`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 8
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,!!T1>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,!!T1>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,!!T1>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,!!T1>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C7.A.A<(class G1_C7`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 13
.locals init (string[] actualResults)
ldc.i4.s 8
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C7.A.A<(class G1_C7`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 8
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C7.A.B<(class G1_C7`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 13
.locals init (string[] actualResults)
ldc.i4.s 8
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C7.A.B<(class G1_C7`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 8
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass1>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass1>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass1>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass1>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C7.B.T<T1,(class G1_C7`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 13
.locals init (string[] actualResults)
ldc.i4.s 8
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C7.B.T<T1,(class G1_C7`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 8
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,!!T1>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,!!T1>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,!!T1>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,!!T1>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C7.B.A<(class G1_C7`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 13
.locals init (string[] actualResults)
ldc.i4.s 8
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C7.B.A<(class G1_C7`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 8
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass0>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass0>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass0>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass0>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C7.B.B<(class G1_C7`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 13
.locals init (string[] actualResults)
ldc.i4.s 8
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C7.B.B<(class G1_C7`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 8
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase1.T<T0,(class IBase1`1<!!T0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 8
.locals init (string[] actualResults)
ldc.i4.s 3
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase1.T<T0,(class IBase1`1<!!T0>)W>(!!W 'inst', string exp)"
ldc.i4.s 3
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<!!T0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<!!T0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<!!T0>::Method6<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase1.A<(class IBase1`1<class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 8
.locals init (string[] actualResults)
ldc.i4.s 3
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase1.A<(class IBase1`1<class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 3
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase1.B<(class IBase1`1<class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 8
.locals init (string[] actualResults)
ldc.i4.s 3
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase1.B<(class IBase1`1<class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 3
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method public hidebysig static void MethodCallingTest() cil managed
{
.maxstack 10
.locals init (object V_0)
ldstr "========================== Method Calling Test =========================="
call void [mscorlib]System.Console::WriteLine(string)
newobj instance void class G3_C1341`1<class BaseClass0>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1331<object>()
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1330<object>()
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1329()
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1328()
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method6<object>()
ldstr "G1_C7::Method6.4813<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
ldstr "G1_C7::Method6.MI.4814<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G2_C378::Method4.MI.8329()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G3_C1341::Method7.MI.15652<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2101<object>()
ldstr "G3_C1341::ClassMethod2101.MI.15659<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2100<object>()
ldstr "G2_C378::ClassMethod2100.8334<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2099()
ldstr "G3_C1341::ClassMethod2099.MI.15658()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2098()
ldstr "G3_C1341::ClassMethod2098.MI.15657()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method6<object>()
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1331<object>()
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1330<object>()
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1329()
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1328()
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G3_C1341`1<class BaseClass0>
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod4075<object>()
ldstr "G3_C1341::ClassMethod4075.15656<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass0>
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod4074<object>()
ldstr "G3_C1341::ClassMethod4074.15655<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass0>
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod4073()
ldstr "G3_C1341::ClassMethod4073.15654()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass0>
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod4072()
ldstr "G3_C1341::ClassMethod4072.15653()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass0>
callvirt instance string class G3_C1341`1<class BaseClass0>::Method7<object>()
ldstr "G3_C1341::Method7.15651<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass0>
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod2101<object>()
ldstr "G3_C1341::ClassMethod2101.MI.15659<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass0>
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod2100<object>()
ldstr "G2_C378::ClassMethod2100.8334<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass0>
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod2099()
ldstr "G3_C1341::ClassMethod2099.MI.15658()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass0>
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod2098()
ldstr "G3_C1341::ClassMethod2098.MI.15657()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass0>
callvirt instance string class G3_C1341`1<class BaseClass0>::Method6<object>()
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass0>
callvirt instance string class G3_C1341`1<class BaseClass0>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass0>
callvirt instance string class G3_C1341`1<class BaseClass0>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass0>
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod1331<object>()
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass0>
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod1330<object>()
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass0>
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod1329()
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass0>
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod1328()
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G3_C1341::Method7.MI.15652<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G3_C1341`1<class BaseClass1>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1331<object>()
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1330<object>()
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1329()
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1328()
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method6<object>()
ldstr "G1_C7::Method6.4813<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
ldstr "G1_C7::Method6.MI.4814<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G2_C378::Method4.MI.8329()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G3_C1341::Method7.MI.15652<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2101<object>()
ldstr "G3_C1341::ClassMethod2101.MI.15659<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2100<object>()
ldstr "G2_C378::ClassMethod2100.8334<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2099()
ldstr "G3_C1341::ClassMethod2099.MI.15658()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2098()
ldstr "G3_C1341::ClassMethod2098.MI.15657()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method6<object>()
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1331<object>()
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1330<object>()
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1329()
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1328()
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G3_C1341`1<class BaseClass1>
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod4075<object>()
ldstr "G3_C1341::ClassMethod4075.15656<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass1>
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod4074<object>()
ldstr "G3_C1341::ClassMethod4074.15655<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass1>
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod4073()
ldstr "G3_C1341::ClassMethod4073.15654()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass1>
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod4072()
ldstr "G3_C1341::ClassMethod4072.15653()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass1>
callvirt instance string class G3_C1341`1<class BaseClass1>::Method7<object>()
ldstr "G3_C1341::Method7.15651<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass1>
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod2101<object>()
ldstr "G3_C1341::ClassMethod2101.MI.15659<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass1>
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod2100<object>()
ldstr "G2_C378::ClassMethod2100.8334<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass1>
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod2099()
ldstr "G3_C1341::ClassMethod2099.MI.15658()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass1>
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod2098()
ldstr "G3_C1341::ClassMethod2098.MI.15657()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass1>
callvirt instance string class G3_C1341`1<class BaseClass1>::Method6<object>()
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass1>
callvirt instance string class G3_C1341`1<class BaseClass1>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass1>
callvirt instance string class G3_C1341`1<class BaseClass1>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass1>
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod1331<object>()
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass1>
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod1330<object>()
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass1>
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod1329()
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass1>
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod1328()
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G3_C1341::Method7.MI.15652<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G2_C378`2<class BaseClass0,class BaseClass0>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1331<object>()
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1330<object>()
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1329()
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1328()
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method6<object>()
ldstr "G1_C7::Method6.4813<System.Object>()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G2_C378::Method4.MI.8329()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass0>::Method7<object>()
ldstr "G1_C7::Method7.MI.4816<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G1_C7::Method7.MI.4816<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod2101<object>()
ldstr "G2_C378::ClassMethod2101.8335<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod2100<object>()
ldstr "G2_C378::ClassMethod2100.8334<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod2099()
ldstr "G2_C378::ClassMethod2099.8333()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod2098()
ldstr "G2_C378::ClassMethod2098.8332()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::Method6<object>()
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod1331<object>()
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod1330<object>()
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod1329()
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod1328()
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G2_C378`2<class BaseClass0,class BaseClass1>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1331<object>()
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1330<object>()
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1329()
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1328()
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method6<object>()
ldstr "G1_C7::Method6.4813<System.Object>()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G2_C378::Method4.MI.8329()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass0>::Method7<object>()
ldstr "G1_C7::Method7.MI.4816<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G1_C7::Method7.MI.4816<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod2101<object>()
ldstr "G2_C378::ClassMethod2101.8335<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod2100<object>()
ldstr "G2_C378::ClassMethod2100.8334<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod2099()
ldstr "G2_C378::ClassMethod2099.8333()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod2098()
ldstr "G2_C378::ClassMethod2098.8332()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::Method6<object>()
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod1331<object>()
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod1330<object>()
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod1329()
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod1328()
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G2_C378`2<class BaseClass1,class BaseClass0>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1331<object>()
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1330<object>()
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1329()
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1328()
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method6<object>()
ldstr "G1_C7::Method6.4813<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
ldstr "G1_C7::Method6.MI.4814<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G2_C378::Method4.MI.8329()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod2101<object>()
ldstr "G2_C378::ClassMethod2101.8335<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod2100<object>()
ldstr "G2_C378::ClassMethod2100.8334<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod2099()
ldstr "G2_C378::ClassMethod2099.8333()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod2098()
ldstr "G2_C378::ClassMethod2098.8332()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::Method6<object>()
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::Method7<object>()
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod1331<object>()
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod1330<object>()
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod1329()
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod1328()
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G2_C378`2<class BaseClass1,class BaseClass1>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1331<object>()
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1330<object>()
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1329()
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1328()
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method6<object>()
ldstr "G1_C7::Method6.4813<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
ldstr "G1_C7::Method6.MI.4814<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G2_C378::Method4.MI.8329()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2101<object>()
ldstr "G2_C378::ClassMethod2101.8335<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2100<object>()
ldstr "G2_C378::ClassMethod2100.8334<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2099()
ldstr "G2_C378::ClassMethod2099.8333()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2098()
ldstr "G2_C378::ClassMethod2098.8332()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method6<object>()
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1331<object>()
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1330<object>()
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1329()
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1328()
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldstr "========================================================================\n\n"
call void [mscorlib]System.Console::WriteLine(string)
ret
}
.method public hidebysig static void ConstrainedCallsTest() cil managed
{
.maxstack 10
.locals init (object V_0)
ldstr "========================== Constrained Calls Test =========================="
call void [mscorlib]System.Console::WriteLine(string)
newobj instance void class G3_C1341`1<class BaseClass0>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.T.T<class BaseClass1,class BaseClass1,class G3_C1341`1<class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.B.T<class BaseClass1,class G3_C1341`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.B.B<class G3_C1341`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.MI.4814<System.Object>()#"
call void Generated869::M.IBase1.T<class BaseClass1,class G3_C1341`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.MI.4814<System.Object>()#"
call void Generated869::M.IBase1.B<class G3_C1341`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G3_C1341`1<class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.B.T<class BaseClass1,class G3_C1341`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.B.B<class G3_C1341`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method4.MI.8329()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#"
call void Generated869::M.IBase1.T<class BaseClass0,class G3_C1341`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method4.MI.8329()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#"
call void Generated869::M.IBase1.A<class G3_C1341`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G3_C1341::Method7.MI.15652<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G3_C1341`1<class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G3_C1341::Method7.MI.15652<System.Object>()#"
call void Generated869::M.IBase2.A.T<class BaseClass1,class G3_C1341`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G3_C1341::Method7.MI.15652<System.Object>()#"
call void Generated869::M.IBase2.A.B<class G3_C1341`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G3_C1341::ClassMethod2098.MI.15657()#G3_C1341::ClassMethod2099.MI.15658()#G2_C378::ClassMethod2100.8334<System.Object>()#G3_C1341::ClassMethod2101.MI.15659<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.T.T<class BaseClass1,class BaseClass1,class G3_C1341`1<class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G3_C1341::ClassMethod2098.MI.15657()#G3_C1341::ClassMethod2099.MI.15658()#G2_C378::ClassMethod2100.8334<System.Object>()#G3_C1341::ClassMethod2101.MI.15659<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.B.T<class BaseClass1,class G3_C1341`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G3_C1341::ClassMethod2098.MI.15657()#G3_C1341::ClassMethod2099.MI.15658()#G2_C378::ClassMethod2100.8334<System.Object>()#G3_C1341::ClassMethod2101.MI.15659<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.B.B<class G3_C1341`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G3_C1341::ClassMethod2098.MI.15657()#G3_C1341::ClassMethod2099.MI.15658()#G2_C378::ClassMethod2100.8334<System.Object>()#G3_C1341::ClassMethod2101.MI.15659<System.Object>()#G3_C1341::ClassMethod4072.15653()#G3_C1341::ClassMethod4073.15654()#G3_C1341::ClassMethod4074.15655<System.Object>()#G3_C1341::ClassMethod4075.15656<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G3_C1341::Method7.15651<System.Object>()#"
call void Generated869::M.G3_C1341.T<class BaseClass0,class G3_C1341`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G3_C1341::ClassMethod2098.MI.15657()#G3_C1341::ClassMethod2099.MI.15658()#G2_C378::ClassMethod2100.8334<System.Object>()#G3_C1341::ClassMethod2101.MI.15659<System.Object>()#G3_C1341::ClassMethod4072.15653()#G3_C1341::ClassMethod4073.15654()#G3_C1341::ClassMethod4074.15655<System.Object>()#G3_C1341::ClassMethod4075.15656<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G3_C1341::Method7.15651<System.Object>()#"
call void Generated869::M.G3_C1341.A<class G3_C1341`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G3_C1341::Method7.MI.15652<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass0,class BaseClass0,class G3_C1341`1<class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G3_C1341::Method7.MI.15652<System.Object>()#"
call void Generated869::M.IBase2.A.T<class BaseClass0,class G3_C1341`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G3_C1341::Method7.MI.15652<System.Object>()#"
call void Generated869::M.IBase2.A.A<class G3_C1341`1<class BaseClass0>>(!!0,string)
newobj instance void class G3_C1341`1<class BaseClass1>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.T.T<class BaseClass1,class BaseClass1,class G3_C1341`1<class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.B.T<class BaseClass1,class G3_C1341`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.B.B<class G3_C1341`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.MI.4814<System.Object>()#"
call void Generated869::M.IBase1.T<class BaseClass1,class G3_C1341`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.MI.4814<System.Object>()#"
call void Generated869::M.IBase1.B<class G3_C1341`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G3_C1341`1<class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.B.T<class BaseClass1,class G3_C1341`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.B.B<class G3_C1341`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method4.MI.8329()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#"
call void Generated869::M.IBase1.T<class BaseClass0,class G3_C1341`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method4.MI.8329()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#"
call void Generated869::M.IBase1.A<class G3_C1341`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G3_C1341::Method7.MI.15652<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G3_C1341`1<class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G3_C1341::Method7.MI.15652<System.Object>()#"
call void Generated869::M.IBase2.A.T<class BaseClass1,class G3_C1341`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G3_C1341::Method7.MI.15652<System.Object>()#"
call void Generated869::M.IBase2.A.B<class G3_C1341`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G3_C1341::ClassMethod2098.MI.15657()#G3_C1341::ClassMethod2099.MI.15658()#G2_C378::ClassMethod2100.8334<System.Object>()#G3_C1341::ClassMethod2101.MI.15659<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.T.T<class BaseClass1,class BaseClass1,class G3_C1341`1<class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G3_C1341::ClassMethod2098.MI.15657()#G3_C1341::ClassMethod2099.MI.15658()#G2_C378::ClassMethod2100.8334<System.Object>()#G3_C1341::ClassMethod2101.MI.15659<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.B.T<class BaseClass1,class G3_C1341`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G3_C1341::ClassMethod2098.MI.15657()#G3_C1341::ClassMethod2099.MI.15658()#G2_C378::ClassMethod2100.8334<System.Object>()#G3_C1341::ClassMethod2101.MI.15659<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.B.B<class G3_C1341`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G3_C1341::ClassMethod2098.MI.15657()#G3_C1341::ClassMethod2099.MI.15658()#G2_C378::ClassMethod2100.8334<System.Object>()#G3_C1341::ClassMethod2101.MI.15659<System.Object>()#G3_C1341::ClassMethod4072.15653()#G3_C1341::ClassMethod4073.15654()#G3_C1341::ClassMethod4074.15655<System.Object>()#G3_C1341::ClassMethod4075.15656<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G3_C1341::Method7.15651<System.Object>()#"
call void Generated869::M.G3_C1341.T<class BaseClass1,class G3_C1341`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G3_C1341::ClassMethod2098.MI.15657()#G3_C1341::ClassMethod2099.MI.15658()#G2_C378::ClassMethod2100.8334<System.Object>()#G3_C1341::ClassMethod2101.MI.15659<System.Object>()#G3_C1341::ClassMethod4072.15653()#G3_C1341::ClassMethod4073.15654()#G3_C1341::ClassMethod4074.15655<System.Object>()#G3_C1341::ClassMethod4075.15656<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G3_C1341::Method7.15651<System.Object>()#"
call void Generated869::M.G3_C1341.B<class G3_C1341`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G3_C1341::Method7.MI.15652<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass0,class BaseClass0,class G3_C1341`1<class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G3_C1341::Method7.MI.15652<System.Object>()#"
call void Generated869::M.IBase2.A.T<class BaseClass0,class G3_C1341`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G3_C1341::Method7.MI.15652<System.Object>()#"
call void Generated869::M.IBase2.A.A<class G3_C1341`1<class BaseClass1>>(!!0,string)
newobj instance void class G2_C378`2<class BaseClass0,class BaseClass0>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.T.T<class BaseClass0,class BaseClass0,class G2_C378`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.A.T<class BaseClass0,class G2_C378`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.A.A<class G2_C378`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method4.MI.8329()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#"
call void Generated869::M.IBase1.T<class BaseClass0,class G2_C378`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method4.MI.8329()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#"
call void Generated869::M.IBase1.A<class G2_C378`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C7::Method7.MI.4816<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass1,class BaseClass0,class G2_C378`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C7::Method7.MI.4816<System.Object>()#"
call void Generated869::M.IBase2.B.T<class BaseClass0,class G2_C378`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C7::Method7.MI.4816<System.Object>()#"
call void Generated869::M.IBase2.B.A<class G2_C378`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C7::Method7.MI.4816<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass0,class BaseClass0,class G2_C378`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C7::Method7.MI.4816<System.Object>()#"
call void Generated869::M.IBase2.A.T<class BaseClass0,class G2_C378`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C7::Method7.MI.4816<System.Object>()#"
call void Generated869::M.IBase2.A.A<class G2_C378`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G2_C378`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.A.T<class BaseClass1,class G2_C378`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.A.B<class G2_C378`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G2_C378`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.B.T<class BaseClass1,class G2_C378`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.B.B<class G2_C378`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::ClassMethod2098.8332()#G2_C378::ClassMethod2099.8333()#G2_C378::ClassMethod2100.8334<System.Object>()#G2_C378::ClassMethod2101.8335<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.T.T<class BaseClass0,class BaseClass0,class G2_C378`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::ClassMethod2098.8332()#G2_C378::ClassMethod2099.8333()#G2_C378::ClassMethod2100.8334<System.Object>()#G2_C378::ClassMethod2101.8335<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.A.T<class BaseClass0,class G2_C378`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::ClassMethod2098.8332()#G2_C378::ClassMethod2099.8333()#G2_C378::ClassMethod2100.8334<System.Object>()#G2_C378::ClassMethod2101.8335<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.A.A<class G2_C378`2<class BaseClass0,class BaseClass0>>(!!0,string)
newobj instance void class G2_C378`2<class BaseClass0,class BaseClass1>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.T.T<class BaseClass0,class BaseClass0,class G2_C378`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.A.T<class BaseClass0,class G2_C378`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.A.A<class G2_C378`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method4.MI.8329()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#"
call void Generated869::M.IBase1.T<class BaseClass0,class G2_C378`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method4.MI.8329()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#"
call void Generated869::M.IBase1.A<class G2_C378`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C7::Method7.MI.4816<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass1,class BaseClass0,class G2_C378`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C7::Method7.MI.4816<System.Object>()#"
call void Generated869::M.IBase2.B.T<class BaseClass0,class G2_C378`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C7::Method7.MI.4816<System.Object>()#"
call void Generated869::M.IBase2.B.A<class G2_C378`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C7::Method7.MI.4816<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass0,class BaseClass0,class G2_C378`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C7::Method7.MI.4816<System.Object>()#"
call void Generated869::M.IBase2.A.T<class BaseClass0,class G2_C378`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C7::Method7.MI.4816<System.Object>()#"
call void Generated869::M.IBase2.A.A<class G2_C378`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G2_C378`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.A.T<class BaseClass1,class G2_C378`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.A.B<class G2_C378`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G2_C378`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.B.T<class BaseClass1,class G2_C378`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.B.B<class G2_C378`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::ClassMethod2098.8332()#G2_C378::ClassMethod2099.8333()#G2_C378::ClassMethod2100.8334<System.Object>()#G2_C378::ClassMethod2101.8335<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.T.T<class BaseClass0,class BaseClass1,class G2_C378`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::ClassMethod2098.8332()#G2_C378::ClassMethod2099.8333()#G2_C378::ClassMethod2100.8334<System.Object>()#G2_C378::ClassMethod2101.8335<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.A.T<class BaseClass1,class G2_C378`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::ClassMethod2098.8332()#G2_C378::ClassMethod2099.8333()#G2_C378::ClassMethod2100.8334<System.Object>()#G2_C378::ClassMethod2101.8335<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.A.B<class G2_C378`2<class BaseClass0,class BaseClass1>>(!!0,string)
newobj instance void class G2_C378`2<class BaseClass1,class BaseClass0>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.T.T<class BaseClass1,class BaseClass1,class G2_C378`2<class BaseClass1,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.B.T<class BaseClass1,class G2_C378`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.B.B<class G2_C378`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.MI.4814<System.Object>()#"
call void Generated869::M.IBase1.T<class BaseClass1,class G2_C378`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.MI.4814<System.Object>()#"
call void Generated869::M.IBase1.B<class G2_C378`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G2_C378`2<class BaseClass1,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.B.T<class BaseClass1,class G2_C378`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.B.B<class G2_C378`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method4.MI.8329()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#"
call void Generated869::M.IBase1.T<class BaseClass0,class G2_C378`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method4.MI.8329()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#"
call void Generated869::M.IBase1.A<class G2_C378`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G2_C378`2<class BaseClass1,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.A.T<class BaseClass1,class G2_C378`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.A.B<class G2_C378`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::ClassMethod2098.8332()#G2_C378::ClassMethod2099.8333()#G2_C378::ClassMethod2100.8334<System.Object>()#G2_C378::ClassMethod2101.8335<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.T.T<class BaseClass1,class BaseClass0,class G2_C378`2<class BaseClass1,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::ClassMethod2098.8332()#G2_C378::ClassMethod2099.8333()#G2_C378::ClassMethod2100.8334<System.Object>()#G2_C378::ClassMethod2101.8335<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.B.T<class BaseClass0,class G2_C378`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::ClassMethod2098.8332()#G2_C378::ClassMethod2099.8333()#G2_C378::ClassMethod2100.8334<System.Object>()#G2_C378::ClassMethod2101.8335<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.B.A<class G2_C378`2<class BaseClass1,class BaseClass0>>(!!0,string)
newobj instance void class G2_C378`2<class BaseClass1,class BaseClass1>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.T.T<class BaseClass1,class BaseClass1,class G2_C378`2<class BaseClass1,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.B.T<class BaseClass1,class G2_C378`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.B.B<class G2_C378`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.MI.4814<System.Object>()#"
call void Generated869::M.IBase1.T<class BaseClass1,class G2_C378`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.MI.4814<System.Object>()#"
call void Generated869::M.IBase1.B<class G2_C378`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G2_C378`2<class BaseClass1,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.B.T<class BaseClass1,class G2_C378`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.B.B<class G2_C378`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method4.MI.8329()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#"
call void Generated869::M.IBase1.T<class BaseClass0,class G2_C378`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method4.MI.8329()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#"
call void Generated869::M.IBase1.A<class G2_C378`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G2_C378`2<class BaseClass1,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.A.T<class BaseClass1,class G2_C378`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.A.B<class G2_C378`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::ClassMethod2098.8332()#G2_C378::ClassMethod2099.8333()#G2_C378::ClassMethod2100.8334<System.Object>()#G2_C378::ClassMethod2101.8335<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.T.T<class BaseClass1,class BaseClass1,class G2_C378`2<class BaseClass1,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::ClassMethod2098.8332()#G2_C378::ClassMethod2099.8333()#G2_C378::ClassMethod2100.8334<System.Object>()#G2_C378::ClassMethod2101.8335<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.B.T<class BaseClass1,class G2_C378`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::ClassMethod2098.8332()#G2_C378::ClassMethod2099.8333()#G2_C378::ClassMethod2100.8334<System.Object>()#G2_C378::ClassMethod2101.8335<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.B.B<class G2_C378`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldstr "========================================================================\n\n"
call void [mscorlib]System.Console::WriteLine(string)
ret
}
.method public hidebysig static void StructConstrainedInterfaceCallsTest() cil managed
{
.maxstack 10
ldstr "===================== Struct Constrained Interface Calls Test ====================="
call void [mscorlib]System.Console::WriteLine(string)
ldstr "========================================================================\n\n"
call void [mscorlib]System.Console::WriteLine(string)
ret
}
.method public hidebysig static void CalliTest() cil managed
{
.maxstack 10
.locals init (object V_0)
ldstr "========================== Method Calli Test =========================="
call void [mscorlib]System.Console::WriteLine(string)
newobj instance void class G3_C1341`1<class BaseClass0>::.ctor()
stloc.0
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1331<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1330<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1329()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1328()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method6<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G1_C7::Method6.4813<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method5()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::Method5.8330()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method4()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::Method4.8328()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method4()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::Method4.8328()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method5()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method6<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G1_C7::Method6.MI.4814<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::Method4.MI.8329()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G3_C1341::Method7.MI.15652<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2101<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G3_C1341::ClassMethod2101.MI.15659<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2100<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::ClassMethod2100.8334<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2099()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G3_C1341::ClassMethod2099.MI.15658()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2098()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G3_C1341::ClassMethod2098.MI.15657()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method6<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method5()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::Method5.8330()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method4()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::Method4.8328()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1331<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1330<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1329()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1328()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass0>::ClassMethod4075<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G3_C1341::ClassMethod4075.15656<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass0>::ClassMethod4074<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G3_C1341::ClassMethod4074.15655<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass0>::ClassMethod4073()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G3_C1341::ClassMethod4073.15654()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass0>::ClassMethod4072()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G3_C1341::ClassMethod4072.15653()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass0>::Method7<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G3_C1341::Method7.15651<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass0>::ClassMethod2101<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G3_C1341::ClassMethod2101.MI.15659<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass0>::ClassMethod2100<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::ClassMethod2100.8334<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass0>::ClassMethod2099()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G3_C1341::ClassMethod2099.MI.15658()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass0>::ClassMethod2098()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G3_C1341::ClassMethod2098.MI.15657()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass0>::Method6<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass0>::Method5()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::Method5.8330()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass0>::Method4()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::Method4.8328()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass0>::ClassMethod1331<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass0>::ClassMethod1330<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass0>::ClassMethod1329()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass0>::ClassMethod1328()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G3_C1341::Method7.MI.15652<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G3_C1341`1<class BaseClass1>::.ctor()
stloc.0
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1331<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1330<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1329()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1328()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method6<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G1_C7::Method6.4813<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method5()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::Method5.8330()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method4()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::Method4.8328()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method4()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::Method4.8328()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method5()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method6<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G1_C7::Method6.MI.4814<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::Method4.MI.8329()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G3_C1341::Method7.MI.15652<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2101<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G3_C1341::ClassMethod2101.MI.15659<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2100<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::ClassMethod2100.8334<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2099()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G3_C1341::ClassMethod2099.MI.15658()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2098()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G3_C1341::ClassMethod2098.MI.15657()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method6<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method5()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::Method5.8330()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method4()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::Method4.8328()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1331<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1330<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1329()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1328()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass1>::ClassMethod4075<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G3_C1341::ClassMethod4075.15656<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass1>::ClassMethod4074<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G3_C1341::ClassMethod4074.15655<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass1>::ClassMethod4073()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G3_C1341::ClassMethod4073.15654()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass1>::ClassMethod4072()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G3_C1341::ClassMethod4072.15653()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass1>::Method7<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G3_C1341::Method7.15651<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass1>::ClassMethod2101<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G3_C1341::ClassMethod2101.MI.15659<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass1>::ClassMethod2100<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::ClassMethod2100.8334<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass1>::ClassMethod2099()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G3_C1341::ClassMethod2099.MI.15658()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass1>::ClassMethod2098()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G3_C1341::ClassMethod2098.MI.15657()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass1>::Method6<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass1>::Method5()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::Method5.8330()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass1>::Method4()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::Method4.8328()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass1>::ClassMethod1331<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass1>::ClassMethod1330<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass1>::ClassMethod1329()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass1>::ClassMethod1328()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G3_C1341::Method7.MI.15652<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G2_C378`2<class BaseClass0,class BaseClass0>::.ctor()
stloc.0
ldloc.0
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1331<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1330<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1329()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1328()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method6<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C7::Method6.4813<System.Object>()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method5()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::Method5.8330()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method4()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::Method4.8328()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::Method4.MI.8329()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass0>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C7::Method7.MI.4816<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C7::Method7.MI.4816<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod2101<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::ClassMethod2101.8335<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod2100<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::ClassMethod2100.8334<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod2099()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::ClassMethod2099.8333()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod2098()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::ClassMethod2098.8332()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass0>::Method6<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass0>::Method5()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::Method5.8330()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass0>::Method4()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::Method4.8328()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod1331<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod1330<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod1329()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod1328()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G2_C378`2<class BaseClass0,class BaseClass1>::.ctor()
stloc.0
ldloc.0
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1331<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1330<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1329()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1328()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method6<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C7::Method6.4813<System.Object>()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method5()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::Method5.8330()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method4()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::Method4.8328()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::Method4.MI.8329()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass0>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C7::Method7.MI.4816<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C7::Method7.MI.4816<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod2101<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::ClassMethod2101.8335<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod2100<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::ClassMethod2100.8334<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod2099()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::ClassMethod2099.8333()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod2098()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::ClassMethod2098.8332()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass1>::Method6<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass1>::Method5()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::Method5.8330()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass1>::Method4()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::Method4.8328()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod1331<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod1330<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod1329()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod1328()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G2_C378`2<class BaseClass1,class BaseClass0>::.ctor()
stloc.0
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1331<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1330<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1329()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1328()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method6<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C7::Method6.4813<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method5()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::Method5.8330()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method4()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::Method4.8328()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method4()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::Method4.8328()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method5()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method6<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C7::Method6.MI.4814<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::Method4.MI.8329()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod2101<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::ClassMethod2101.8335<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod2100<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::ClassMethod2100.8334<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod2099()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::ClassMethod2099.8333()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod2098()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::ClassMethod2098.8332()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass0>::Method6<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass0>::Method5()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::Method5.8330()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass0>::Method4()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::Method4.8328()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass0>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod1331<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod1330<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod1329()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod1328()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G2_C378`2<class BaseClass1,class BaseClass1>::.ctor()
stloc.0
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1331<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1330<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1329()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1328()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method6<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C7::Method6.4813<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method5()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::Method5.8330()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method4()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::Method4.8328()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method4()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::Method4.8328()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method5()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method6<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C7::Method6.MI.4814<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::Method4.MI.8329()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2101<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::ClassMethod2101.8335<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2100<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::ClassMethod2100.8334<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2099()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::ClassMethod2099.8333()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2098()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::ClassMethod2098.8332()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method6<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method5()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::Method5.8330()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method4()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::Method4.8328()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1331<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1330<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1329()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1328()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldstr "========================================================================\n\n"
call void [mscorlib]System.Console::WriteLine(string)
ret
}
.method public hidebysig static int32 Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 10
call void Generated869::MethodCallingTest()
call void Generated869::ConstrainedCallsTest()
call void Generated869::StructConstrainedInterfaceCallsTest()
call void Generated869::CalliTest()
ldc.i4 100
ret
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
.assembly extern mscorlib { .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) .ver 4:0:0:0 }
.assembly extern TestFramework { .publickeytoken = ( B0 3F 5F 7F 11 D5 0A 3A ) }
//TYPES IN FORWARDER ASSEMBLIES:
//TEST ASSEMBLY:
.assembly Generated869 { .hash algorithm 0x00008004 }
.assembly extern xunit.core {}
.class public BaseClass0
{
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed {
ldarg.0
call instance void [mscorlib]System.Object::.ctor()
ret
}
}
.class public BaseClass1
extends BaseClass0
{
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed {
ldarg.0
call instance void BaseClass0::.ctor()
ret
}
}
.class public G3_C1341`1<T0>
extends class G2_C378`2<class BaseClass1,class BaseClass1>
implements class IBase2`2<class BaseClass0,class BaseClass0>
{
.method public hidebysig newslot virtual instance string Method7<M0>() cil managed noinlining {
ldstr "G3_C1341::Method7.15651<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string 'IBase2<class BaseClass0,class BaseClass0>.Method7'<M0>() cil managed noinlining {
.override method instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<[1]>()
ldstr "G3_C1341::Method7.MI.15652<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string ClassMethod4072() cil managed noinlining {
ldstr "G3_C1341::ClassMethod4072.15653()"
ret
}
.method public hidebysig newslot virtual instance string ClassMethod4073() cil managed noinlining {
ldstr "G3_C1341::ClassMethod4073.15654()"
ret
}
.method public hidebysig newslot virtual instance string ClassMethod4074<M0>() cil managed noinlining {
ldstr "G3_C1341::ClassMethod4074.15655<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string ClassMethod4075<M0>() cil managed noinlining {
ldstr "G3_C1341::ClassMethod4075.15656<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string 'G2_C378<class BaseClass1,class BaseClass1>.ClassMethod2098'() cil managed noinlining {
.override method instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2098()
ldstr "G3_C1341::ClassMethod2098.MI.15657()"
ret
}
.method public hidebysig newslot virtual instance string 'G2_C378<class BaseClass1,class BaseClass1>.ClassMethod2099'() cil managed noinlining {
.override method instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2099()
ldstr "G3_C1341::ClassMethod2099.MI.15658()"
ret
}
.method public hidebysig newslot virtual instance string 'G2_C378<class BaseClass1,class BaseClass1>.ClassMethod2101'<M0>() cil managed noinlining {
.override method instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2101<[1]>()
ldstr "G3_C1341::ClassMethod2101.MI.15659<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed {
ldarg.0
call instance void class G2_C378`2<class BaseClass1,class BaseClass1>::.ctor()
ret
}
}
.class public G2_C378`2<T0, T1>
extends class G1_C7`2<!T0,!T0>
implements class IBase2`2<class BaseClass1,class BaseClass1>, class IBase1`1<class BaseClass0>
{
.method public hidebysig virtual instance string Method7<M0>() cil managed noinlining {
ldstr "G2_C378::Method7.8326<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string 'IBase2<class BaseClass1,class BaseClass1>.Method7'<M0>() cil managed noinlining {
.override method instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<[1]>()
ldstr "G2_C378::Method7.MI.8327<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig virtual instance string Method4() cil managed noinlining {
ldstr "G2_C378::Method4.8328()"
ret
}
.method public hidebysig newslot virtual instance string 'IBase1<class BaseClass0>.Method4'() cil managed noinlining {
.override method instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G2_C378::Method4.MI.8329()"
ret
}
.method public hidebysig virtual instance string Method5() cil managed noinlining {
ldstr "G2_C378::Method5.8330()"
ret
}
.method public hidebysig newslot virtual instance string Method6<M0>() cil managed noinlining {
ldstr "G2_C378::Method6.8331<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string ClassMethod2098() cil managed noinlining {
ldstr "G2_C378::ClassMethod2098.8332()"
ret
}
.method public hidebysig newslot virtual instance string ClassMethod2099() cil managed noinlining {
ldstr "G2_C378::ClassMethod2099.8333()"
ret
}
.method public hidebysig newslot virtual instance string ClassMethod2100<M0>() cil managed noinlining {
ldstr "G2_C378::ClassMethod2100.8334<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string ClassMethod2101<M0>() cil managed noinlining {
ldstr "G2_C378::ClassMethod2101.8335<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string 'G1_C7<T0,T0>.ClassMethod1329'() cil managed noinlining {
.override method instance string class G1_C7`2<!T0,!T0>::ClassMethod1329()
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ret
}
.method public hidebysig newslot virtual instance string 'G1_C7<T0,T0>.ClassMethod1330'<M0>() cil managed noinlining {
.override method instance string class G1_C7`2<!T0,!T0>::ClassMethod1330<[1]>()
ldstr "G2_C378::ClassMethod1330.MI.8337<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed {
ldarg.0
call instance void class G1_C7`2<!T0,!T0>::.ctor()
ret
}
}
.class interface public abstract IBase2`2<+T0, -T1>
{
.method public hidebysig newslot abstract virtual instance string Method7<M0>() cil managed { }
}
.class public abstract G1_C7`2<T0, T1>
implements class IBase1`1<!T0>, class IBase2`2<class BaseClass1,!T0>
{
.method public hidebysig virtual instance string Method4() cil managed noinlining {
ldstr "G1_C7::Method4.4811()"
ret
}
.method public hidebysig newslot virtual instance string Method5() cil managed noinlining {
ldstr "G1_C7::Method5.4812()"
ret
}
.method public hidebysig newslot virtual instance string Method6<M0>() cil managed noinlining {
ldstr "G1_C7::Method6.4813<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string 'IBase1<T0>.Method6'<M0>() cil managed noinlining {
.override method instance string class IBase1`1<!T0>::Method6<[1]>()
ldstr "G1_C7::Method6.MI.4814<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig virtual instance string Method7<M0>() cil managed noinlining {
ldstr "G1_C7::Method7.4815<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string 'IBase2<class BaseClass1,T0>.Method7'<M0>() cil managed noinlining {
.override method instance string class IBase2`2<class BaseClass1,!T0>::Method7<[1]>()
ldstr "G1_C7::Method7.MI.4816<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string ClassMethod1328() cil managed noinlining {
ldstr "G1_C7::ClassMethod1328.4817()"
ret
}
.method public hidebysig newslot virtual instance string ClassMethod1329() cil managed noinlining {
ldstr "G1_C7::ClassMethod1329.4818()"
ret
}
.method public hidebysig newslot virtual instance string ClassMethod1330<M0>() cil managed noinlining {
ldstr "G1_C7::ClassMethod1330.4819<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig newslot virtual instance string ClassMethod1331<M0>() cil managed noinlining {
ldstr "G1_C7::ClassMethod1331.4820<"
ldtoken !!M0
call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
call string [mscorlib]System.String::Concat(object,object)
ldstr ">()"
call string [mscorlib]System.String::Concat(object,object)
ret
}
.method public hidebysig specialname rtspecialname instance void .ctor() cil managed {
ldarg.0
call instance void [mscorlib]System.Object::.ctor()
ret
}
}
.class interface public abstract IBase1`1<+T0>
{
.method public hidebysig newslot abstract virtual instance string Method4() cil managed { }
.method public hidebysig newslot abstract virtual instance string Method5() cil managed { }
.method public hidebysig newslot abstract virtual instance string Method6<M0>() cil managed { }
}
.class public auto ansi beforefieldinit Generated869 {
.method static void M.BaseClass0<(BaseClass0)W>(!!W inst, string exp) cil managed {
.maxstack 5
.locals init (string[] actualResults)
ldc.i4.s 0
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.BaseClass0<(BaseClass0)W>(!!W inst, string exp)"
ldc.i4.s 0
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.BaseClass1<(BaseClass1)W>(!!W inst, string exp) cil managed {
.maxstack 5
.locals init (string[] actualResults)
ldc.i4.s 0
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.BaseClass1<(BaseClass1)W>(!!W inst, string exp)"
ldc.i4.s 0
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G3_C1341.T<T0,(class G3_C1341`1<!!T0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 21
.locals init (string[] actualResults)
ldc.i4.s 16
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G3_C1341.T<T0,(class G3_C1341`1<!!T0>)W>(!!W 'inst', string exp)"
ldc.i4.s 16
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<!!T0>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<!!T0>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<!!T0>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<!!T0>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<!!T0>::ClassMethod2098()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<!!T0>::ClassMethod2099()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<!!T0>::ClassMethod2100<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<!!T0>::ClassMethod2101<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 8
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<!!T0>::ClassMethod4072()
stelem.ref
ldloc.s actualResults
ldc.i4.s 9
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<!!T0>::ClassMethod4073()
stelem.ref
ldloc.s actualResults
ldc.i4.s 10
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<!!T0>::ClassMethod4074<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 11
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<!!T0>::ClassMethod4075<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 12
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<!!T0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 13
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<!!T0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 14
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<!!T0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 15
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<!!T0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G3_C1341.A<(class G3_C1341`1<class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 21
.locals init (string[] actualResults)
ldc.i4.s 16
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G3_C1341.A<(class G3_C1341`1<class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 16
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod2098()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod2099()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod2100<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod2101<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 8
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod4072()
stelem.ref
ldloc.s actualResults
ldc.i4.s 9
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod4073()
stelem.ref
ldloc.s actualResults
ldc.i4.s 10
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod4074<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 11
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod4075<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 12
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 13
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 14
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 15
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G3_C1341.B<(class G3_C1341`1<class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 21
.locals init (string[] actualResults)
ldc.i4.s 16
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G3_C1341.B<(class G3_C1341`1<class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 16
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod2098()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod2099()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod2100<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod2101<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 8
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod4072()
stelem.ref
ldloc.s actualResults
ldc.i4.s 9
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod4073()
stelem.ref
ldloc.s actualResults
ldc.i4.s 10
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod4074<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 11
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod4075<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 12
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 13
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 14
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 15
ldarga.s 0
constrained. !!W
callvirt instance string class G3_C1341`1<class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C378.T.T<T0,T1,(class G2_C378`2<!!T0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 17
.locals init (string[] actualResults)
ldc.i4.s 12
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C378.T.T<T0,T1,(class G2_C378`2<!!T0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 12
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<!!T0,!!T1>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<!!T0,!!T1>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<!!T0,!!T1>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<!!T0,!!T1>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<!!T0,!!T1>::ClassMethod2098()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<!!T0,!!T1>::ClassMethod2099()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<!!T0,!!T1>::ClassMethod2100<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<!!T0,!!T1>::ClassMethod2101<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 8
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<!!T0,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 9
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<!!T0,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 10
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<!!T0,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 11
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<!!T0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C378.A.T<T1,(class G2_C378`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 17
.locals init (string[] actualResults)
ldc.i4.s 12
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C378.A.T<T1,(class G2_C378`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 12
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,!!T1>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,!!T1>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,!!T1>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,!!T1>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,!!T1>::ClassMethod2098()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,!!T1>::ClassMethod2099()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,!!T1>::ClassMethod2100<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,!!T1>::ClassMethod2101<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 8
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 9
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 10
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 11
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C378.A.A<(class G2_C378`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 17
.locals init (string[] actualResults)
ldc.i4.s 12
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C378.A.A<(class G2_C378`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 12
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod2098()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod2099()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod2100<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod2101<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 8
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 9
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 10
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 11
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C378.A.B<(class G2_C378`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 17
.locals init (string[] actualResults)
ldc.i4.s 12
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C378.A.B<(class G2_C378`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 12
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod2098()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod2099()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod2100<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod2101<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 8
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 9
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 10
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 11
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C378.B.T<T1,(class G2_C378`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 17
.locals init (string[] actualResults)
ldc.i4.s 12
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C378.B.T<T1,(class G2_C378`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 12
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,!!T1>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,!!T1>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,!!T1>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,!!T1>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,!!T1>::ClassMethod2098()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,!!T1>::ClassMethod2099()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,!!T1>::ClassMethod2100<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,!!T1>::ClassMethod2101<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 8
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 9
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 10
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 11
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C378.B.A<(class G2_C378`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 17
.locals init (string[] actualResults)
ldc.i4.s 12
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C378.B.A<(class G2_C378`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 12
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod2098()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod2099()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod2100<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod2101<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 8
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 9
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 10
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 11
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G2_C378.B.B<(class G2_C378`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 17
.locals init (string[] actualResults)
ldc.i4.s 12
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G2_C378.B.B<(class G2_C378`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 12
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2098()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2099()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2100<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2101<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 8
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 9
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 10
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 11
ldarga.s 0
constrained. !!W
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.T.T<T0,T1,(class IBase2`2<!!T0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.T.T<T0,T1,(class IBase2`2<!!T0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<!!T0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.A.T<T1,(class IBase2`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.A.T<T1,(class IBase2`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.A.A<(class IBase2`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.A.A<(class IBase2`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.A.B<(class IBase2`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.A.B<(class IBase2`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.B.T<T1,(class IBase2`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.B.T<T1,(class IBase2`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass1,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.B.A<(class IBase2`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.B.A<(class IBase2`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase2.B.B<(class IBase2`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 6
.locals init (string[] actualResults)
ldc.i4.s 1
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase2.B.B<(class IBase2`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 1
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C7.T.T<T0,T1,(class G1_C7`2<!!T0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 13
.locals init (string[] actualResults)
ldc.i4.s 8
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C7.T.T<T0,T1,(class G1_C7`2<!!T0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 8
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<!!T0,!!T1>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<!!T0,!!T1>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<!!T0,!!T1>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<!!T0,!!T1>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<!!T0,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<!!T0,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<!!T0,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<!!T0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C7.A.T<T1,(class G1_C7`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 13
.locals init (string[] actualResults)
ldc.i4.s 8
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C7.A.T<T1,(class G1_C7`2<class BaseClass0,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 8
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,!!T1>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,!!T1>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,!!T1>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,!!T1>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C7.A.A<(class G1_C7`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 13
.locals init (string[] actualResults)
ldc.i4.s 8
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C7.A.A<(class G1_C7`2<class BaseClass0,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 8
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C7.A.B<(class G1_C7`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 13
.locals init (string[] actualResults)
ldc.i4.s 8
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C7.A.B<(class G1_C7`2<class BaseClass0,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 8
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass1>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass1>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass1>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass1>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C7.B.T<T1,(class G1_C7`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 13
.locals init (string[] actualResults)
ldc.i4.s 8
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C7.B.T<T1,(class G1_C7`2<class BaseClass1,!!T1>)W>(!!W 'inst', string exp)"
ldc.i4.s 8
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,!!T1>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,!!T1>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,!!T1>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,!!T1>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,!!T1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,!!T1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,!!T1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,!!T1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C7.B.A<(class G1_C7`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 13
.locals init (string[] actualResults)
ldc.i4.s 8
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C7.B.A<(class G1_C7`2<class BaseClass1,class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 8
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass0>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass0>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass0>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass0>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass0>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.G1_C7.B.B<(class G1_C7`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 13
.locals init (string[] actualResults)
ldc.i4.s 8
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.G1_C7.B.B<(class G1_C7`2<class BaseClass1,class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 8
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1328()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1329()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1330<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 3
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1331<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 4
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 5
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 6
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
ldc.i4.s 7
ldarga.s 0
constrained. !!W
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method7<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase1.T<T0,(class IBase1`1<!!T0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 8
.locals init (string[] actualResults)
ldc.i4.s 3
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase1.T<T0,(class IBase1`1<!!T0>)W>(!!W 'inst', string exp)"
ldc.i4.s 3
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<!!T0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<!!T0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<!!T0>::Method6<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase1.A<(class IBase1`1<class BaseClass0>)W>(!!W 'inst', string exp) cil managed {
.maxstack 8
.locals init (string[] actualResults)
ldc.i4.s 3
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase1.A<(class IBase1`1<class BaseClass0>)W>(!!W 'inst', string exp)"
ldc.i4.s 3
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method static void M.IBase1.B<(class IBase1`1<class BaseClass1>)W>(!!W 'inst', string exp) cil managed {
.maxstack 8
.locals init (string[] actualResults)
ldc.i4.s 3
newarr string
stloc.s actualResults
ldarg.1
ldstr "M.IBase1.B<(class IBase1`1<class BaseClass1>)W>(!!W 'inst', string exp)"
ldc.i4.s 3
ldloc.s actualResults
ldc.i4.s 0
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
stelem.ref
ldloc.s actualResults
ldc.i4.s 1
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
stelem.ref
ldloc.s actualResults
ldc.i4.s 2
ldarga.s 0
constrained. !!W
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
stelem.ref
ldloc.s actualResults
call void [TestFramework]TestFramework::MethodCallTest(string,string,int32,string[])
ret
}
.method public hidebysig static void MethodCallingTest() cil managed
{
.maxstack 10
.locals init (object V_0)
ldstr "========================== Method Calling Test =========================="
call void [mscorlib]System.Console::WriteLine(string)
newobj instance void class G3_C1341`1<class BaseClass0>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1331<object>()
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1330<object>()
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1329()
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1328()
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method6<object>()
ldstr "G1_C7::Method6.4813<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
ldstr "G1_C7::Method6.MI.4814<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G2_C378::Method4.MI.8329()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G3_C1341::Method7.MI.15652<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2101<object>()
ldstr "G3_C1341::ClassMethod2101.MI.15659<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2100<object>()
ldstr "G2_C378::ClassMethod2100.8334<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2099()
ldstr "G3_C1341::ClassMethod2099.MI.15658()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2098()
ldstr "G3_C1341::ClassMethod2098.MI.15657()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method6<object>()
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1331<object>()
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1330<object>()
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1329()
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1328()
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G3_C1341`1<class BaseClass0>
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod4075<object>()
ldstr "G3_C1341::ClassMethod4075.15656<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass0>
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod4074<object>()
ldstr "G3_C1341::ClassMethod4074.15655<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass0>
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod4073()
ldstr "G3_C1341::ClassMethod4073.15654()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass0>
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod4072()
ldstr "G3_C1341::ClassMethod4072.15653()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass0>
callvirt instance string class G3_C1341`1<class BaseClass0>::Method7<object>()
ldstr "G3_C1341::Method7.15651<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass0>
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod2101<object>()
ldstr "G3_C1341::ClassMethod2101.MI.15659<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass0>
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod2100<object>()
ldstr "G2_C378::ClassMethod2100.8334<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass0>
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod2099()
ldstr "G3_C1341::ClassMethod2099.MI.15658()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass0>
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod2098()
ldstr "G3_C1341::ClassMethod2098.MI.15657()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass0>
callvirt instance string class G3_C1341`1<class BaseClass0>::Method6<object>()
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass0>
callvirt instance string class G3_C1341`1<class BaseClass0>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass0>
callvirt instance string class G3_C1341`1<class BaseClass0>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass0>
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod1331<object>()
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass0>
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod1330<object>()
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass0>
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod1329()
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass0>
callvirt instance string class G3_C1341`1<class BaseClass0>::ClassMethod1328()
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G3_C1341::Method7.MI.15652<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G3_C1341`1<class BaseClass1>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1331<object>()
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1330<object>()
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1329()
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1328()
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method6<object>()
ldstr "G1_C7::Method6.4813<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
ldstr "G1_C7::Method6.MI.4814<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G2_C378::Method4.MI.8329()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G3_C1341::Method7.MI.15652<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2101<object>()
ldstr "G3_C1341::ClassMethod2101.MI.15659<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2100<object>()
ldstr "G2_C378::ClassMethod2100.8334<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2099()
ldstr "G3_C1341::ClassMethod2099.MI.15658()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2098()
ldstr "G3_C1341::ClassMethod2098.MI.15657()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method6<object>()
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1331<object>()
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1330<object>()
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1329()
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1328()
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G3_C1341`1<class BaseClass1>
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod4075<object>()
ldstr "G3_C1341::ClassMethod4075.15656<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass1>
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod4074<object>()
ldstr "G3_C1341::ClassMethod4074.15655<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass1>
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod4073()
ldstr "G3_C1341::ClassMethod4073.15654()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass1>
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod4072()
ldstr "G3_C1341::ClassMethod4072.15653()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass1>
callvirt instance string class G3_C1341`1<class BaseClass1>::Method7<object>()
ldstr "G3_C1341::Method7.15651<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass1>
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod2101<object>()
ldstr "G3_C1341::ClassMethod2101.MI.15659<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass1>
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod2100<object>()
ldstr "G2_C378::ClassMethod2100.8334<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass1>
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod2099()
ldstr "G3_C1341::ClassMethod2099.MI.15658()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass1>
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod2098()
ldstr "G3_C1341::ClassMethod2098.MI.15657()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass1>
callvirt instance string class G3_C1341`1<class BaseClass1>::Method6<object>()
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass1>
callvirt instance string class G3_C1341`1<class BaseClass1>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass1>
callvirt instance string class G3_C1341`1<class BaseClass1>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass1>
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod1331<object>()
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass1>
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod1330<object>()
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass1>
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod1329()
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G3_C1341`1<class BaseClass1>
callvirt instance string class G3_C1341`1<class BaseClass1>::ClassMethod1328()
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G3_C1341::Method7.MI.15652<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G2_C378`2<class BaseClass0,class BaseClass0>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1331<object>()
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1330<object>()
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1329()
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1328()
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method6<object>()
ldstr "G1_C7::Method6.4813<System.Object>()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G2_C378::Method4.MI.8329()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass0>::Method7<object>()
ldstr "G1_C7::Method7.MI.4816<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G1_C7::Method7.MI.4816<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod2101<object>()
ldstr "G2_C378::ClassMethod2101.8335<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod2100<object>()
ldstr "G2_C378::ClassMethod2100.8334<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod2099()
ldstr "G2_C378::ClassMethod2099.8333()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod2098()
ldstr "G2_C378::ClassMethod2098.8332()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::Method6<object>()
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod1331<object>()
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod1330<object>()
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod1329()
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod1328()
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G2_C378`2<class BaseClass0,class BaseClass1>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1331<object>()
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1330<object>()
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1329()
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1328()
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method6<object>()
ldstr "G1_C7::Method6.4813<System.Object>()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
callvirt instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G2_C378::Method4.MI.8329()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass0>::Method7<object>()
ldstr "G1_C7::Method7.MI.4816<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
ldstr "G1_C7::Method7.MI.4816<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod2101<object>()
ldstr "G2_C378::ClassMethod2101.8335<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod2100<object>()
ldstr "G2_C378::ClassMethod2100.8334<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod2099()
ldstr "G2_C378::ClassMethod2099.8333()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod2098()
ldstr "G2_C378::ClassMethod2098.8332()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::Method6<object>()
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod1331<object>()
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod1330<object>()
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod1329()
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod1328()
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G2_C378`2<class BaseClass1,class BaseClass0>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1331<object>()
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1330<object>()
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1329()
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1328()
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method6<object>()
ldstr "G1_C7::Method6.4813<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
ldstr "G1_C7::Method6.MI.4814<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G2_C378::Method4.MI.8329()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod2101<object>()
ldstr "G2_C378::ClassMethod2101.8335<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod2100<object>()
ldstr "G2_C378::ClassMethod2100.8334<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod2099()
ldstr "G2_C378::ClassMethod2099.8333()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod2098()
ldstr "G2_C378::ClassMethod2098.8332()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::Method6<object>()
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::Method7<object>()
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod1331<object>()
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod1330<object>()
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod1329()
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod1328()
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
newobj instance void class G2_C378`2<class BaseClass1,class BaseClass1>::.ctor()
stloc.0
ldloc.0
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1331<object>()
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1330<object>()
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1329()
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1328()
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method6<object>()
ldstr "G1_C7::Method6.4813<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
callvirt instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass1>::Method6<object>()
ldstr "G1_C7::Method6.MI.4814<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method4()
ldstr "G2_C378::Method4.MI.8329()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
callvirt instance string class IBase1`1<class BaseClass0>::Method6<object>()
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
callvirt instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldloc.0
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2101<object>()
ldstr "G2_C378::ClassMethod2101.8335<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2100<object>()
ldstr "G2_C378::ClassMethod2100.8334<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2099()
ldstr "G2_C378::ClassMethod2099.8333()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2098()
ldstr "G2_C378::ClassMethod2098.8332()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method6<object>()
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method5()
ldstr "G2_C378::Method5.8330()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method4()
ldstr "G2_C378::Method4.8328()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method7<object>()
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1331<object>()
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1330<object>()
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1329()
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
dup
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
callvirt instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1328()
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
pop
ldstr "========================================================================\n\n"
call void [mscorlib]System.Console::WriteLine(string)
ret
}
.method public hidebysig static void ConstrainedCallsTest() cil managed
{
.maxstack 10
.locals init (object V_0)
ldstr "========================== Constrained Calls Test =========================="
call void [mscorlib]System.Console::WriteLine(string)
newobj instance void class G3_C1341`1<class BaseClass0>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.T.T<class BaseClass1,class BaseClass1,class G3_C1341`1<class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.B.T<class BaseClass1,class G3_C1341`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.B.B<class G3_C1341`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.MI.4814<System.Object>()#"
call void Generated869::M.IBase1.T<class BaseClass1,class G3_C1341`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.MI.4814<System.Object>()#"
call void Generated869::M.IBase1.B<class G3_C1341`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G3_C1341`1<class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.B.T<class BaseClass1,class G3_C1341`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.B.B<class G3_C1341`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method4.MI.8329()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#"
call void Generated869::M.IBase1.T<class BaseClass0,class G3_C1341`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method4.MI.8329()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#"
call void Generated869::M.IBase1.A<class G3_C1341`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G3_C1341::Method7.MI.15652<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G3_C1341`1<class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G3_C1341::Method7.MI.15652<System.Object>()#"
call void Generated869::M.IBase2.A.T<class BaseClass1,class G3_C1341`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G3_C1341::Method7.MI.15652<System.Object>()#"
call void Generated869::M.IBase2.A.B<class G3_C1341`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G3_C1341::ClassMethod2098.MI.15657()#G3_C1341::ClassMethod2099.MI.15658()#G2_C378::ClassMethod2100.8334<System.Object>()#G3_C1341::ClassMethod2101.MI.15659<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.T.T<class BaseClass1,class BaseClass1,class G3_C1341`1<class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G3_C1341::ClassMethod2098.MI.15657()#G3_C1341::ClassMethod2099.MI.15658()#G2_C378::ClassMethod2100.8334<System.Object>()#G3_C1341::ClassMethod2101.MI.15659<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.B.T<class BaseClass1,class G3_C1341`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G3_C1341::ClassMethod2098.MI.15657()#G3_C1341::ClassMethod2099.MI.15658()#G2_C378::ClassMethod2100.8334<System.Object>()#G3_C1341::ClassMethod2101.MI.15659<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.B.B<class G3_C1341`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G3_C1341::ClassMethod2098.MI.15657()#G3_C1341::ClassMethod2099.MI.15658()#G2_C378::ClassMethod2100.8334<System.Object>()#G3_C1341::ClassMethod2101.MI.15659<System.Object>()#G3_C1341::ClassMethod4072.15653()#G3_C1341::ClassMethod4073.15654()#G3_C1341::ClassMethod4074.15655<System.Object>()#G3_C1341::ClassMethod4075.15656<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G3_C1341::Method7.15651<System.Object>()#"
call void Generated869::M.G3_C1341.T<class BaseClass0,class G3_C1341`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G3_C1341::ClassMethod2098.MI.15657()#G3_C1341::ClassMethod2099.MI.15658()#G2_C378::ClassMethod2100.8334<System.Object>()#G3_C1341::ClassMethod2101.MI.15659<System.Object>()#G3_C1341::ClassMethod4072.15653()#G3_C1341::ClassMethod4073.15654()#G3_C1341::ClassMethod4074.15655<System.Object>()#G3_C1341::ClassMethod4075.15656<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G3_C1341::Method7.15651<System.Object>()#"
call void Generated869::M.G3_C1341.A<class G3_C1341`1<class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G3_C1341::Method7.MI.15652<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass0,class BaseClass0,class G3_C1341`1<class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G3_C1341::Method7.MI.15652<System.Object>()#"
call void Generated869::M.IBase2.A.T<class BaseClass0,class G3_C1341`1<class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G3_C1341::Method7.MI.15652<System.Object>()#"
call void Generated869::M.IBase2.A.A<class G3_C1341`1<class BaseClass0>>(!!0,string)
newobj instance void class G3_C1341`1<class BaseClass1>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.T.T<class BaseClass1,class BaseClass1,class G3_C1341`1<class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.B.T<class BaseClass1,class G3_C1341`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.B.B<class G3_C1341`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.MI.4814<System.Object>()#"
call void Generated869::M.IBase1.T<class BaseClass1,class G3_C1341`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.MI.4814<System.Object>()#"
call void Generated869::M.IBase1.B<class G3_C1341`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G3_C1341`1<class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.B.T<class BaseClass1,class G3_C1341`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.B.B<class G3_C1341`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method4.MI.8329()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#"
call void Generated869::M.IBase1.T<class BaseClass0,class G3_C1341`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method4.MI.8329()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#"
call void Generated869::M.IBase1.A<class G3_C1341`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G3_C1341::Method7.MI.15652<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G3_C1341`1<class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G3_C1341::Method7.MI.15652<System.Object>()#"
call void Generated869::M.IBase2.A.T<class BaseClass1,class G3_C1341`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G3_C1341::Method7.MI.15652<System.Object>()#"
call void Generated869::M.IBase2.A.B<class G3_C1341`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G3_C1341::ClassMethod2098.MI.15657()#G3_C1341::ClassMethod2099.MI.15658()#G2_C378::ClassMethod2100.8334<System.Object>()#G3_C1341::ClassMethod2101.MI.15659<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.T.T<class BaseClass1,class BaseClass1,class G3_C1341`1<class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G3_C1341::ClassMethod2098.MI.15657()#G3_C1341::ClassMethod2099.MI.15658()#G2_C378::ClassMethod2100.8334<System.Object>()#G3_C1341::ClassMethod2101.MI.15659<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.B.T<class BaseClass1,class G3_C1341`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G3_C1341::ClassMethod2098.MI.15657()#G3_C1341::ClassMethod2099.MI.15658()#G2_C378::ClassMethod2100.8334<System.Object>()#G3_C1341::ClassMethod2101.MI.15659<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.B.B<class G3_C1341`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G3_C1341::ClassMethod2098.MI.15657()#G3_C1341::ClassMethod2099.MI.15658()#G2_C378::ClassMethod2100.8334<System.Object>()#G3_C1341::ClassMethod2101.MI.15659<System.Object>()#G3_C1341::ClassMethod4072.15653()#G3_C1341::ClassMethod4073.15654()#G3_C1341::ClassMethod4074.15655<System.Object>()#G3_C1341::ClassMethod4075.15656<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G3_C1341::Method7.15651<System.Object>()#"
call void Generated869::M.G3_C1341.T<class BaseClass1,class G3_C1341`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G3_C1341::ClassMethod2098.MI.15657()#G3_C1341::ClassMethod2099.MI.15658()#G2_C378::ClassMethod2100.8334<System.Object>()#G3_C1341::ClassMethod2101.MI.15659<System.Object>()#G3_C1341::ClassMethod4072.15653()#G3_C1341::ClassMethod4073.15654()#G3_C1341::ClassMethod4074.15655<System.Object>()#G3_C1341::ClassMethod4075.15656<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G3_C1341::Method7.15651<System.Object>()#"
call void Generated869::M.G3_C1341.B<class G3_C1341`1<class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G3_C1341::Method7.MI.15652<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass0,class BaseClass0,class G3_C1341`1<class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G3_C1341::Method7.MI.15652<System.Object>()#"
call void Generated869::M.IBase2.A.T<class BaseClass0,class G3_C1341`1<class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G3_C1341::Method7.MI.15652<System.Object>()#"
call void Generated869::M.IBase2.A.A<class G3_C1341`1<class BaseClass1>>(!!0,string)
newobj instance void class G2_C378`2<class BaseClass0,class BaseClass0>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.T.T<class BaseClass0,class BaseClass0,class G2_C378`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.A.T<class BaseClass0,class G2_C378`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.A.A<class G2_C378`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method4.MI.8329()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#"
call void Generated869::M.IBase1.T<class BaseClass0,class G2_C378`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method4.MI.8329()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#"
call void Generated869::M.IBase1.A<class G2_C378`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C7::Method7.MI.4816<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass1,class BaseClass0,class G2_C378`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C7::Method7.MI.4816<System.Object>()#"
call void Generated869::M.IBase2.B.T<class BaseClass0,class G2_C378`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C7::Method7.MI.4816<System.Object>()#"
call void Generated869::M.IBase2.B.A<class G2_C378`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C7::Method7.MI.4816<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass0,class BaseClass0,class G2_C378`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C7::Method7.MI.4816<System.Object>()#"
call void Generated869::M.IBase2.A.T<class BaseClass0,class G2_C378`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C7::Method7.MI.4816<System.Object>()#"
call void Generated869::M.IBase2.A.A<class G2_C378`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G2_C378`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.A.T<class BaseClass1,class G2_C378`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.A.B<class G2_C378`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G2_C378`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.B.T<class BaseClass1,class G2_C378`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.B.B<class G2_C378`2<class BaseClass0,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::ClassMethod2098.8332()#G2_C378::ClassMethod2099.8333()#G2_C378::ClassMethod2100.8334<System.Object>()#G2_C378::ClassMethod2101.8335<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.T.T<class BaseClass0,class BaseClass0,class G2_C378`2<class BaseClass0,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::ClassMethod2098.8332()#G2_C378::ClassMethod2099.8333()#G2_C378::ClassMethod2100.8334<System.Object>()#G2_C378::ClassMethod2101.8335<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.A.T<class BaseClass0,class G2_C378`2<class BaseClass0,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::ClassMethod2098.8332()#G2_C378::ClassMethod2099.8333()#G2_C378::ClassMethod2100.8334<System.Object>()#G2_C378::ClassMethod2101.8335<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.A.A<class G2_C378`2<class BaseClass0,class BaseClass0>>(!!0,string)
newobj instance void class G2_C378`2<class BaseClass0,class BaseClass1>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.T.T<class BaseClass0,class BaseClass0,class G2_C378`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.A.T<class BaseClass0,class G2_C378`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.A.A<class G2_C378`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method4.MI.8329()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#"
call void Generated869::M.IBase1.T<class BaseClass0,class G2_C378`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method4.MI.8329()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#"
call void Generated869::M.IBase1.A<class G2_C378`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C7::Method7.MI.4816<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass1,class BaseClass0,class G2_C378`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C7::Method7.MI.4816<System.Object>()#"
call void Generated869::M.IBase2.B.T<class BaseClass0,class G2_C378`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C7::Method7.MI.4816<System.Object>()#"
call void Generated869::M.IBase2.B.A<class G2_C378`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C7::Method7.MI.4816<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass0,class BaseClass0,class G2_C378`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C7::Method7.MI.4816<System.Object>()#"
call void Generated869::M.IBase2.A.T<class BaseClass0,class G2_C378`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C7::Method7.MI.4816<System.Object>()#"
call void Generated869::M.IBase2.A.A<class G2_C378`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G2_C378`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.A.T<class BaseClass1,class G2_C378`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.A.B<class G2_C378`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G2_C378`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.B.T<class BaseClass1,class G2_C378`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.B.B<class G2_C378`2<class BaseClass0,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::ClassMethod2098.8332()#G2_C378::ClassMethod2099.8333()#G2_C378::ClassMethod2100.8334<System.Object>()#G2_C378::ClassMethod2101.8335<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.T.T<class BaseClass0,class BaseClass1,class G2_C378`2<class BaseClass0,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::ClassMethod2098.8332()#G2_C378::ClassMethod2099.8333()#G2_C378::ClassMethod2100.8334<System.Object>()#G2_C378::ClassMethod2101.8335<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.A.T<class BaseClass1,class G2_C378`2<class BaseClass0,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::ClassMethod2098.8332()#G2_C378::ClassMethod2099.8333()#G2_C378::ClassMethod2100.8334<System.Object>()#G2_C378::ClassMethod2101.8335<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.A.B<class G2_C378`2<class BaseClass0,class BaseClass1>>(!!0,string)
newobj instance void class G2_C378`2<class BaseClass1,class BaseClass0>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.T.T<class BaseClass1,class BaseClass1,class G2_C378`2<class BaseClass1,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.B.T<class BaseClass1,class G2_C378`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.B.B<class G2_C378`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.MI.4814<System.Object>()#"
call void Generated869::M.IBase1.T<class BaseClass1,class G2_C378`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.MI.4814<System.Object>()#"
call void Generated869::M.IBase1.B<class G2_C378`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G2_C378`2<class BaseClass1,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.B.T<class BaseClass1,class G2_C378`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.B.B<class G2_C378`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method4.MI.8329()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#"
call void Generated869::M.IBase1.T<class BaseClass0,class G2_C378`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method4.MI.8329()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#"
call void Generated869::M.IBase1.A<class G2_C378`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G2_C378`2<class BaseClass1,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.A.T<class BaseClass1,class G2_C378`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.A.B<class G2_C378`2<class BaseClass1,class BaseClass0>>(!!0,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::ClassMethod2098.8332()#G2_C378::ClassMethod2099.8333()#G2_C378::ClassMethod2100.8334<System.Object>()#G2_C378::ClassMethod2101.8335<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.T.T<class BaseClass1,class BaseClass0,class G2_C378`2<class BaseClass1,class BaseClass0>>(!!2,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::ClassMethod2098.8332()#G2_C378::ClassMethod2099.8333()#G2_C378::ClassMethod2100.8334<System.Object>()#G2_C378::ClassMethod2101.8335<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.B.T<class BaseClass0,class G2_C378`2<class BaseClass1,class BaseClass0>>(!!1,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::ClassMethod2098.8332()#G2_C378::ClassMethod2099.8333()#G2_C378::ClassMethod2100.8334<System.Object>()#G2_C378::ClassMethod2101.8335<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.B.A<class G2_C378`2<class BaseClass1,class BaseClass0>>(!!0,string)
newobj instance void class G2_C378`2<class BaseClass1,class BaseClass1>::.ctor()
stloc.0
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.T.T<class BaseClass1,class BaseClass1,class G2_C378`2<class BaseClass1,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.B.T<class BaseClass1,class G2_C378`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.4813<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G1_C7.B.B<class G2_C378`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.MI.4814<System.Object>()#"
call void Generated869::M.IBase1.T<class BaseClass1,class G2_C378`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method4.8328()#G2_C378::Method5.8330()#G1_C7::Method6.MI.4814<System.Object>()#"
call void Generated869::M.IBase1.B<class G2_C378`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass1,class BaseClass1,class G2_C378`2<class BaseClass1,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.B.T<class BaseClass1,class G2_C378`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.B.B<class G2_C378`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method4.MI.8329()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#"
call void Generated869::M.IBase1.T<class BaseClass0,class G2_C378`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method4.MI.8329()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#"
call void Generated869::M.IBase1.A<class G2_C378`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.T.T<class BaseClass0,class BaseClass1,class G2_C378`2<class BaseClass1,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.A.T<class BaseClass1,class G2_C378`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G2_C378::Method7.MI.8327<System.Object>()#"
call void Generated869::M.IBase2.A.B<class G2_C378`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::ClassMethod2098.8332()#G2_C378::ClassMethod2099.8333()#G2_C378::ClassMethod2100.8334<System.Object>()#G2_C378::ClassMethod2101.8335<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.T.T<class BaseClass1,class BaseClass1,class G2_C378`2<class BaseClass1,class BaseClass1>>(!!2,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::ClassMethod2098.8332()#G2_C378::ClassMethod2099.8333()#G2_C378::ClassMethod2100.8334<System.Object>()#G2_C378::ClassMethod2101.8335<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.B.T<class BaseClass1,class G2_C378`2<class BaseClass1,class BaseClass1>>(!!1,string)
ldloc.0
ldstr "G1_C7::ClassMethod1328.4817()#G2_C378::ClassMethod1329.MI.8336()#G2_C378::ClassMethod1330.MI.8337<System.Object>()#G1_C7::ClassMethod1331.4820<System.Object>()#G2_C378::ClassMethod2098.8332()#G2_C378::ClassMethod2099.8333()#G2_C378::ClassMethod2100.8334<System.Object>()#G2_C378::ClassMethod2101.8335<System.Object>()#G2_C378::Method4.8328()#G2_C378::Method5.8330()#G2_C378::Method6.8331<System.Object>()#G2_C378::Method7.8326<System.Object>()#"
call void Generated869::M.G2_C378.B.B<class G2_C378`2<class BaseClass1,class BaseClass1>>(!!0,string)
ldstr "========================================================================\n\n"
call void [mscorlib]System.Console::WriteLine(string)
ret
}
.method public hidebysig static void StructConstrainedInterfaceCallsTest() cil managed
{
.maxstack 10
ldstr "===================== Struct Constrained Interface Calls Test ====================="
call void [mscorlib]System.Console::WriteLine(string)
ldstr "========================================================================\n\n"
call void [mscorlib]System.Console::WriteLine(string)
ret
}
.method public hidebysig static void CalliTest() cil managed
{
.maxstack 10
.locals init (object V_0)
ldstr "========================== Method Calli Test =========================="
call void [mscorlib]System.Console::WriteLine(string)
newobj instance void class G3_C1341`1<class BaseClass0>::.ctor()
stloc.0
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1331<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1330<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1329()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1328()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method6<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G1_C7::Method6.4813<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method5()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::Method5.8330()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method4()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::Method4.8328()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method4()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::Method4.8328()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method5()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method6<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G1_C7::Method6.MI.4814<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::Method4.MI.8329()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G3_C1341::Method7.MI.15652<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2101<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G3_C1341::ClassMethod2101.MI.15659<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2100<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::ClassMethod2100.8334<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2099()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G3_C1341::ClassMethod2099.MI.15658()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2098()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G3_C1341::ClassMethod2098.MI.15657()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method6<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method5()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::Method5.8330()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method4()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::Method4.8328()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1331<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1330<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1329()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1328()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass0>::ClassMethod4075<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G3_C1341::ClassMethod4075.15656<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass0>::ClassMethod4074<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G3_C1341::ClassMethod4074.15655<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass0>::ClassMethod4073()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G3_C1341::ClassMethod4073.15654()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass0>::ClassMethod4072()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G3_C1341::ClassMethod4072.15653()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass0>::Method7<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G3_C1341::Method7.15651<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass0>::ClassMethod2101<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G3_C1341::ClassMethod2101.MI.15659<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass0>::ClassMethod2100<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::ClassMethod2100.8334<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass0>::ClassMethod2099()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G3_C1341::ClassMethod2099.MI.15658()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass0>::ClassMethod2098()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G3_C1341::ClassMethod2098.MI.15657()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass0>::Method6<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass0>::Method5()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::Method5.8330()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass0>::Method4()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::Method4.8328()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass0>::ClassMethod1331<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass0>::ClassMethod1330<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass0>::ClassMethod1329()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass0>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass0>::ClassMethod1328()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G3_C1341`1<class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G3_C1341`1<class BaseClass0>)
ldstr "G3_C1341::Method7.MI.15652<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G3_C1341`1<class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G3_C1341`1<class BaseClass1>::.ctor()
stloc.0
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1331<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1330<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1329()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1328()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method6<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G1_C7::Method6.4813<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method5()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::Method5.8330()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method4()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::Method4.8328()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method4()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::Method4.8328()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method5()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method6<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G1_C7::Method6.MI.4814<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::Method4.MI.8329()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G3_C1341::Method7.MI.15652<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2101<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G3_C1341::ClassMethod2101.MI.15659<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2100<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::ClassMethod2100.8334<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2099()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G3_C1341::ClassMethod2099.MI.15658()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2098()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G3_C1341::ClassMethod2098.MI.15657()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method6<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method5()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::Method5.8330()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method4()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::Method4.8328()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1331<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1330<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1329()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1328()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass1>::ClassMethod4075<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G3_C1341::ClassMethod4075.15656<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass1>::ClassMethod4074<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G3_C1341::ClassMethod4074.15655<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass1>::ClassMethod4073()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G3_C1341::ClassMethod4073.15654()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass1>::ClassMethod4072()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G3_C1341::ClassMethod4072.15653()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass1>::Method7<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G3_C1341::Method7.15651<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass1>::ClassMethod2101<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G3_C1341::ClassMethod2101.MI.15659<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass1>::ClassMethod2100<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::ClassMethod2100.8334<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass1>::ClassMethod2099()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G3_C1341::ClassMethod2099.MI.15658()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass1>::ClassMethod2098()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G3_C1341::ClassMethod2098.MI.15657()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass1>::Method6<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass1>::Method5()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::Method5.8330()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass1>::Method4()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::Method4.8328()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass1>::ClassMethod1331<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass1>::ClassMethod1330<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass1>::ClassMethod1329()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G3_C1341`1<class BaseClass1>
ldloc.0
ldvirtftn instance string class G3_C1341`1<class BaseClass1>::ClassMethod1328()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G3_C1341`1<class BaseClass1> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G3_C1341`1<class BaseClass1>)
ldstr "G3_C1341::Method7.MI.15652<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G3_C1341`1<class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G2_C378`2<class BaseClass0,class BaseClass0>::.ctor()
stloc.0
ldloc.0
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1331<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1330<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1329()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1328()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method6<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C7::Method6.4813<System.Object>()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method5()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::Method5.8330()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method4()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::Method4.8328()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::Method4.MI.8329()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass0>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C7::Method7.MI.4816<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C7::Method7.MI.4816<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod2101<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::ClassMethod2101.8335<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod2100<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::ClassMethod2100.8334<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod2099()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::ClassMethod2099.8333()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod2098()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::ClassMethod2098.8332()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass0>::Method6<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass0>::Method5()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::Method5.8330()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass0>::Method4()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::Method4.8328()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod1331<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod1330<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod1329()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass0>::ClassMethod1328()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass0>)
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G2_C378`2<class BaseClass0,class BaseClass1>::.ctor()
stloc.0
ldloc.0
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1331<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1330<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1329()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass0,class BaseClass0>::ClassMethod1328()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method6<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C7::Method6.4813<System.Object>()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method5()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::Method5.8330()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass0,class BaseClass0>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass0,class BaseClass0>::Method4()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::Method4.8328()"
ldstr "class G1_C7`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::Method4.MI.8329()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass0>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C7::Method7.MI.4816<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass0>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C7::Method7.MI.4816<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass0> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod2101<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::ClassMethod2101.8335<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod2100<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::ClassMethod2100.8334<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod2099()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::ClassMethod2099.8333()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod2098()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::ClassMethod2098.8332()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass1>::Method6<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass1>::Method5()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::Method5.8330()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass1>::Method4()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::Method4.8328()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod1331<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod1330<object>()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod1329()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass0,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass0,class BaseClass1>::ClassMethod1328()
calli default string(class G2_C378`2<class BaseClass0,class BaseClass1>)
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G2_C378`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass0,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G2_C378`2<class BaseClass1,class BaseClass0>::.ctor()
stloc.0
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1331<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1330<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1329()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1328()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method6<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C7::Method6.4813<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method5()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::Method5.8330()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method4()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::Method4.8328()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method4()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::Method4.8328()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method5()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method6<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C7::Method6.MI.4814<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::Method4.MI.8329()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod2101<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::ClassMethod2101.8335<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod2100<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::ClassMethod2100.8334<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod2099()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::ClassMethod2099.8333()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod2098()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::ClassMethod2098.8332()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass0>::Method6<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass0>::Method5()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::Method5.8330()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass0>::Method4()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::Method4.8328()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass0>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod1331<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod1330<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod1329()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass0>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass0>::ClassMethod1328()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass0>)
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass0>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
newobj instance void class G2_C378`2<class BaseClass1,class BaseClass1>::.ctor()
stloc.0
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1331<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1330<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1329()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::ClassMethod1328()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method6<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C7::Method6.4813<System.Object>()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method5()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::Method5.8330()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G1_C7`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G1_C7`2<class BaseClass1,class BaseClass1>::Method4()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::Method4.8328()"
ldstr "class G1_C7`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method4()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::Method4.8328()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method5()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass1>::Method6<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C7::Method6.MI.4814<System.Object>()"
ldstr "class IBase1`1<class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method4()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::Method4.MI.8329()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method5()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::Method5.8330()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase1`1<class BaseClass0>::Method6<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class IBase1`1<class BaseClass0> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
ldloc.0
ldvirtftn instance string class IBase2`2<class BaseClass0,class BaseClass1>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::Method7.MI.8327<System.Object>()"
ldstr "class IBase2`2<class BaseClass0,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2101<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::ClassMethod2101.8335<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2100<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::ClassMethod2100.8334<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2099()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::ClassMethod2099.8333()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod2098()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::ClassMethod2098.8332()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method6<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::Method6.8331<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method5()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::Method5.8330()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method4()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::Method4.8328()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::Method7<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::Method7.8326<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1331<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C7::ClassMethod1331.4820<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1330<object>()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::ClassMethod1330.MI.8337<System.Object>()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1329()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G2_C378::ClassMethod1329.MI.8336()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldloc.0
castclass class G2_C378`2<class BaseClass1,class BaseClass1>
ldloc.0
ldvirtftn instance string class G2_C378`2<class BaseClass1,class BaseClass1>::ClassMethod1328()
calli default string(class G2_C378`2<class BaseClass1,class BaseClass1>)
ldstr "G1_C7::ClassMethod1328.4817()"
ldstr "class G2_C378`2<class BaseClass1,class BaseClass1> on type class G2_C378`2<class BaseClass1,class BaseClass1>"
call void [TestFramework]TestFramework::MethodCallTest(string,string,string)
ldstr "========================================================================\n\n"
call void [mscorlib]System.Console::WriteLine(string)
ret
}
.method public hidebysig static int32 Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 10
call void Generated869::MethodCallingTest()
call void Generated869::ConstrainedCallsTest()
call void Generated869::StructConstrainedInterfaceCallsTest()
call void Generated869::CalliTest()
ldc.i4 100
ret
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/libraries/Common/tests/System/Net/Prerequisites/RemoteLoopServer/Program.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
namespace RemoteLoopServer
{
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseStartup<Startup>();
});
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
namespace RemoteLoopServer
{
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseStartup<Startup>();
});
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/coreclr/nativeaot/System.Private.CoreLib/src/System/Environment.CoreRT.Win32.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Diagnostics.CodeAnalysis;
using System.Runtime.InteropServices;
namespace System
{
public static partial class Environment
{
[DoesNotReturn]
private static void ExitRaw() => Interop.Kernel32.ExitProcess(s_latchedExitCode);
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Diagnostics.CodeAnalysis;
using System.Runtime.InteropServices;
namespace System
{
public static partial class Environment
{
[DoesNotReturn]
private static void ExitRaw() => Interop.Kernel32.ExitProcess(s_latchedExitCode);
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/tests/GC/Scenarios/FinalNStruct/finalnstruct.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
//***************************************************************************/
//* Test: FinalNStruct
//* Coverage: 1. check if GC can collect NStruct memeory (externally_allocated
//* memory correctly.
//* 2. If all NStruct's finalize() get called after they lose ref.
//****************************************************************************/
namespace NStruct {
using System;
using System.Runtime.CompilerServices;
internal class FinalNStruct
{
[MethodImplAttribute(MethodImplOptions.NoInlining)]
public static void CreateObj(int iObj)
{
STRMAP []strmap = new STRMAP[iObj];
for (int i=0; i< iObj; i++ ) //allocate 3100KB
{
strmap[i] = new STRMAP();
}
for( int i=0; i< iObj; i++ )
{
strmap[i] = null;
}
}
public static bool RunTest()
{
GC.Collect();
GC.WaitForPendingFinalizers();
GC.Collect();
return ( FinalizeCount.icFinal == FinalizeCount.icCreat );
}
public static int Main(String [] args){
int iObj = 100;
Console.WriteLine("Test should return with ExitCode 100 ...");
CreateObj(iObj);
if (RunTest())
{
Console.WriteLine( "Created objects number is same with finalized objects." );
Console.WriteLine( "Test Passed !" );
return 100;
}
Console.WriteLine( "Created objects number is not same with finalized objects (" + FinalizeCount.icFinal + " of " + FinalizeCount.icCreat + ")");
Console.WriteLine( "Test failed !" );
return 1;
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
//***************************************************************************/
//* Test: FinalNStruct
//* Coverage: 1. check if GC can collect NStruct memeory (externally_allocated
//* memory correctly.
//* 2. If all NStruct's finalize() get called after they lose ref.
//****************************************************************************/
namespace NStruct {
using System;
using System.Runtime.CompilerServices;
internal class FinalNStruct
{
[MethodImplAttribute(MethodImplOptions.NoInlining)]
public static void CreateObj(int iObj)
{
STRMAP []strmap = new STRMAP[iObj];
for (int i=0; i< iObj; i++ ) //allocate 3100KB
{
strmap[i] = new STRMAP();
}
for( int i=0; i< iObj; i++ )
{
strmap[i] = null;
}
}
public static bool RunTest()
{
GC.Collect();
GC.WaitForPendingFinalizers();
GC.Collect();
return ( FinalizeCount.icFinal == FinalizeCount.icCreat );
}
public static int Main(String [] args){
int iObj = 100;
Console.WriteLine("Test should return with ExitCode 100 ...");
CreateObj(iObj);
if (RunTest())
{
Console.WriteLine( "Created objects number is same with finalized objects." );
Console.WriteLine( "Test Passed !" );
return 100;
}
Console.WriteLine( "Created objects number is not same with finalized objects (" + FinalizeCount.icFinal + " of " + FinalizeCount.icCreat + ")");
Console.WriteLine( "Test failed !" );
return 1;
}
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/tests/JIT/Regression/CLR-x86-JIT/V1-M11-Beta1/b39397/b39397.il | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
.assembly extern legacy library mscorlib {}
.assembly extern System.Console
{
.publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
.ver 4:0:0:0
}
.assembly 'b39397' {}
.assembly extern xunit.core {}
.class ILGEN_0xcbda6722 {
.method static float32 Method_0x796a(int64 Arg_0x0) {
.maxstack 17
ldc.r4 55.0
conv.u
conv.u8
ldc.i4.2
conv.u8
mul.ovf.un
conv.r8
ret
}
.method static int32 Main() {
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 20
ldc.i8 0x36cd60286b4444a9
call float32 ILGEN_0xcbda6722::Method_0x796a(int64 Arg_0x0)
conv.i4
ldc.i4 10
sub
ret
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
.assembly extern legacy library mscorlib {}
.assembly extern System.Console
{
.publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
.ver 4:0:0:0
}
.assembly 'b39397' {}
.assembly extern xunit.core {}
.class ILGEN_0xcbda6722 {
.method static float32 Method_0x796a(int64 Arg_0x0) {
.maxstack 17
ldc.r4 55.0
conv.u
conv.u8
ldc.i4.2
conv.u8
mul.ovf.un
conv.r8
ret
}
.method static int32 Main() {
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 20
ldc.i8 0x36cd60286b4444a9
call float32 ILGEN_0xcbda6722::Method_0x796a(int64 Arg_0x0)
conv.i4
ldc.i4 10
sub
ret
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/mono/mono/eglib/gmodule-win32.c | /*
* gmodule.c: dl* functions, glib style
*
* Author:
* Gonzalo Paniagua Javier (gonzalo@novell.com)
* Jonathan Chambers (joncham@gmail.com)
* Robert Jordan (robertj@gmx.net)
*
* (C) 2006 Novell, Inc.
* (C) 2006 Jonathan Chambers
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#include <config.h>
#include <glib.h>
#ifndef PSAPI_VERSION
#define PSAPI_VERSION 2 // Use the Windows 7 or newer version more directly.
#endif
#include <windows.h>
#include <psapi.h>
#include <gmodule.h>
#include "../utils/w32subset.h"
#define LIBSUFFIX ".dll"
#define LIBPREFIX ""
struct _GModule {
HMODULE handle;
int main_module;
};
GModule *
g_module_open (const gchar *file, GModuleFlags flags)
{
GModule *module;
module = g_malloc (sizeof (GModule));
if (module == NULL)
return NULL;
if (file != NULL) {
gunichar2 *file16;
file16 = u8to16(file);
module->main_module = FALSE;
module->handle = LoadLibraryW (file16);
g_free(file16);
if (!module->handle) {
g_free (module);
return NULL;
}
} else {
module->main_module = TRUE;
module->handle = GetModuleHandle (NULL);
}
return module;
}
#if HAVE_API_SUPPORT_WIN32_ENUM_PROCESS_MODULES
gpointer
w32_find_symbol (const gchar *symbol_name)
{
HMODULE *modules;
DWORD buffer_size = sizeof (HMODULE) * 1024;
DWORD needed, i;
modules = (HMODULE *) g_malloc (buffer_size);
if (modules == NULL)
return NULL;
if (!EnumProcessModules (GetCurrentProcess (), modules,
buffer_size, &needed)) {
g_free (modules);
return NULL;
}
/* check whether the supplied buffer was too small, realloc, retry */
if (needed > buffer_size) {
g_free (modules);
buffer_size = needed;
modules = (HMODULE *) g_malloc (buffer_size);
if (modules == NULL)
return NULL;
if (!EnumProcessModules (GetCurrentProcess (), modules,
buffer_size, &needed)) {
g_free (modules);
return NULL;
}
}
for (i = 0; i < needed / sizeof (HANDLE); i++) {
gpointer proc = (gpointer)(intptr_t)GetProcAddress (modules [i], symbol_name);
if (proc != NULL) {
g_free (modules);
return proc;
}
}
g_free (modules);
return NULL;
}
#elif !HAVE_EXTERN_DEFINED_WIN32_ENUM_PROCESS_MODULES
gpointer
w32_find_symbol (const gchar *symbol_name)
{
g_unsupported_api ("EnumProcessModules");
SetLastError (ERROR_NOT_SUPPORTED);
return NULL;
}
#else
extern gpointer w32_find_symbol (const gchar *symbol_name);
#endif /* HAVE_API_SUPPORT_WIN32_ENUM_PROCESS_MODULES */
gboolean
g_module_symbol (GModule *module, const gchar *symbol_name, gpointer *symbol)
{
if (module == NULL || symbol_name == NULL || symbol == NULL)
return FALSE;
if (module->main_module) {
*symbol = (gpointer)(intptr_t)GetProcAddress (module->handle, symbol_name);
if (*symbol != NULL)
return TRUE;
*symbol = w32_find_symbol (symbol_name);
return *symbol != NULL;
} else {
*symbol = (gpointer)(intptr_t)GetProcAddress (module->handle, symbol_name);
return *symbol != NULL;
}
}
#if HAVE_API_SUPPORT_WIN32_GET_MODULE_HANDLE_EX
gboolean
g_module_address (void *addr, char *file_name, size_t file_name_len,
void **file_base, char *sym_name, size_t sym_name_len,
void **sym_addr)
{
HMODULE module;
/*
* We have to cast the address because usually this func works with strings,
* this being an exception.
*/
BOOL ret = GetModuleHandleExW (GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS, (LPCWSTR)addr, &module);
if (!ret)
return FALSE;
if (file_name != NULL && file_name_len >= 1) {
/* sigh, non-const. AIX for POSIX is the same way. */
WCHAR fname [MAX_PATH];
DWORD bytes = GetModuleFileNameW (module, fname, G_N_ELEMENTS (fname));
if (bytes) {
/* Convert back to UTF-8 from wide for runtime */
GFixedBufferCustomAllocatorData custom_alloc_data;
custom_alloc_data.buffer = file_name;
custom_alloc_data.buffer_size = file_name_len;
custom_alloc_data.req_buffer_size = 0;
if (!g_utf16_to_utf8_custom_alloc (fname, -1, NULL, NULL, g_fixed_buffer_custom_allocator, &custom_alloc_data, NULL))
*file_name = '\0';
} else {
*file_name = '\0';
}
}
/* XXX: implement the rest */
if (file_base != NULL)
*file_base = NULL;
if (sym_name != NULL && sym_name_len >= 1)
sym_name[0] = '\0';
if (sym_addr != NULL)
*sym_addr = NULL;
/* -1 reference count to avoid leaks; Ex variant does +1 refcount */
FreeLibrary (module);
return TRUE;
}
#elif !HAVE_EXTERN_DEFINED_WIN32_GET_MODULE_HANDLE_EX
gboolean
g_module_address (void *addr, char *file_name, size_t file_name_len,
void **file_base, char *sym_name, size_t sym_name_len,
void **sym_addr)
{
g_unsupported_api ("GetModuleHandleEx");
SetLastError (ERROR_NOT_SUPPORTED);
return FALSE;
}
#endif /* HAVE_API_SUPPORT_WIN32_GET_MODULE_HANDLE_EX */
#if HAVE_API_SUPPORT_WIN32_FORMAT_MESSAGE
const gchar *
g_module_error (void)
{
gchar* ret = NULL;
DWORD code = GetLastError ();
#if HAVE_API_SUPPORT_WIN32_LOCAL_ALLOC_FREE
PWSTR buf = NULL;
if (FormatMessageW (FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_ALLOCATE_BUFFER, NULL, code, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (PWSTR)&buf, 0, NULL)) {
ret = u16to8 (buf);
LocalFree (buf);
}
#else
WCHAR local_buf [1024];
if (!FormatMessageW (FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, NULL,
code, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), local_buf, STRING_LENGTH (local_buf), NULL) )
local_buf [0] = TEXT('\0');
ret = u16to8 (local_buf);
#endif
return ret;
}
#elif !HAVE_EXTERN_DEFINED_WIN32_FORMAT_MESSAGE
const gchar *
g_module_error (void)
{
return g_strdup_printf ("GetLastError=%d. FormatMessage not supported.", GetLastError ());
}
#endif /* HAVE_API_SUPPORT_WIN32_FORMAT_MESSAGE */
gboolean
g_module_close (GModule *module)
{
HMODULE handle;
int main_module;
if (module == NULL || module->handle == NULL)
return FALSE;
handle = module->handle;
main_module = module->main_module;
module->handle = NULL;
g_free (module);
return (main_module ? 1 : (0 == FreeLibrary (handle)));
}
gchar *
g_module_build_path (const gchar *directory, const gchar *module_name)
{
const char *lib_prefix = "";
if (module_name == NULL)
return NULL;
if (strncmp (module_name, "lib", 3) != 0)
lib_prefix = LIBPREFIX;
if (directory && *directory){
return g_strdup_printf ("%s/%s%s" LIBSUFFIX, directory, lib_prefix, module_name);
}
return g_strdup_printf ("%s%s" LIBSUFFIX, lib_prefix, module_name);
}
// This is not about GModule but is still a close fit.
// This is not named "g_" but that should be ok.
// g_free the result
// No MAX_PATH limit.
//
// Prefer mono_get_module_filename over mono_get_module_filename_ex and mono_get_module_basename.
// Prefer not-ex, not-base.
//
gboolean
mono_get_module_filename (gpointer mod, gunichar2 **pstr, guint32 *plength)
{
gunichar2 *str = NULL;
guint32 capacity = MAX_PATH; // tunable
guint32 length = 0;
gboolean success = FALSE;
while (TRUE)
{
length = 0;
if (capacity > (1 << 24))
break;
str = g_new (gunichar2, capacity);
if (!str)
break;
length = GetModuleFileNameW ((HMODULE)mod, str, capacity);
success = length && length < (capacity - 1); // This function does not truncate, but - 1 anyway.
if (success)
break;
g_free (str); // error or too small
str = NULL;
if (!length) // error
break;
capacity *= 2;
}
*pstr = str;
*plength = length;
return success;
}
// This is not about GModule but is still a close fit.
// This is not named "g_" but that should be ok.
// g_free the result
// No MAX_PATH limit.
//
// Prefer mono_get_module_filename over mono_get_module_filename_ex and mono_get_module_basename.
// Prefer not-ex, not-base.
//
#if HAVE_API_SUPPORT_WIN32_GET_MODULE_FILE_NAME_EX
gboolean
mono_get_module_filename_ex (gpointer process, gpointer mod, gunichar2 **pstr, guint32 *plength)
{
gunichar2 *str = NULL;
guint32 capacity = MAX_PATH; // tunable
guint32 length = 0;
gboolean success = FALSE;
while (TRUE)
{
length = 0;
if (capacity > (1 << 24))
break;
str = g_new (gunichar2, capacity);
if (!str)
break;
length = GetModuleFileNameExW (process, (HMODULE)mod, str, capacity);
success = length && length < (capacity - 1); // This function truncates, thus the - 1.
if (success)
break;
g_free (str); // error or too small
str = NULL;
if (!length) // error
break;
capacity *= 2;
}
*pstr = str;
*plength = length;
return success;
}
#elif !HAVE_EXTERN_DEFINED_WIN32_GET_MODULE_FILE_NAME_EX
gboolean
mono_get_module_filename_ex (gpointer process, gpointer mod, gunichar2 **pstr, guint32 *plength)
{
g_unsupported_api ("GetModuleFileNameEx");
SetLastError (ERROR_NOT_SUPPORTED);
return FALSE;
}
#endif /* HAVE_API_SUPPORT_WIN32_GET_MODULE_FILE_NAME_EX */
// This is not about GModule but is still a close fit.
// This is not named "g_" but that should be ok.
// g_free the result
// No MAX_PATH limit.
//
// Prefer mono_get_module_filename over mono_get_module_filename_ex and mono_get_module_basename.
// Prefer not-ex, not-base.
//
#if HAVE_API_SUPPORT_WIN32_GET_MODULE_BASE_NAME
gboolean
mono_get_module_basename (gpointer process, gpointer mod, gunichar2 **pstr, guint32 *plength)
{
gunichar2 *str = NULL;
guint32 capacity = MAX_PATH; // tunable
guint32 length = 0;
gboolean success = FALSE;
while (TRUE)
{
length = 0;
if (capacity > (1 << 24))
break;
str = g_new (gunichar2, capacity);
if (!str)
break;
length = GetModuleBaseNameW (process, (HMODULE)mod, str, capacity);
success = length && length < (capacity - 1); // This function truncates, thus the - 1.
if (success)
break;
g_free (str); // error or too small
str = NULL;
if (!length) // error
break;
capacity *= 2;
}
*pstr = str;
*plength = length;
return success;
}
#elif !HAVE_EXTERN_DEFINED_WIN32_GET_MODULE_BASE_NAME
gboolean
mono_get_module_basename (gpointer process, gpointer mod, gunichar2 **pstr, guint32 *plength)
{
g_unsupported_api ("GetModuleBaseName");
SetLastError (ERROR_NOT_SUPPORTED);
return FALSE;
}
#endif /* HAVE_API_SUPPORT_WIN32_GET_MODULE_BASE_NAME */
// g_free the result
// No MAX_PATH limit.
gboolean
mono_get_current_directory (gunichar2 **pstr, guint32 *plength)
{
gunichar2 *str = NULL;
guint32 capacity = MAX_PATH; // tunable
guint32 length = 0;
gboolean success = FALSE;
while (TRUE)
{
length = 0;
if (capacity > (1 << 24))
break;
str = g_new (gunichar2, capacity);
if (!str)
break;
// Call in loop, not just twice, in case another thread is changing it.
// Result is transient in currentness and validity (can get deleted or become a file).
length = GetCurrentDirectoryW (capacity, str);
success = length && length < (capacity - 1);
if (success)
break;
g_free (str); // error or too small
str = NULL;
if (!length) // error
break;
capacity *= 2;
}
*pstr = str;
*plength = length;
return success;
}
| /*
* gmodule.c: dl* functions, glib style
*
* Author:
* Gonzalo Paniagua Javier (gonzalo@novell.com)
* Jonathan Chambers (joncham@gmail.com)
* Robert Jordan (robertj@gmx.net)
*
* (C) 2006 Novell, Inc.
* (C) 2006 Jonathan Chambers
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#include <config.h>
#include <glib.h>
#ifndef PSAPI_VERSION
#define PSAPI_VERSION 2 // Use the Windows 7 or newer version more directly.
#endif
#include <windows.h>
#include <psapi.h>
#include <gmodule.h>
#include "../utils/w32subset.h"
#define LIBSUFFIX ".dll"
#define LIBPREFIX ""
struct _GModule {
HMODULE handle;
int main_module;
};
GModule *
g_module_open (const gchar *file, GModuleFlags flags)
{
GModule *module;
module = g_malloc (sizeof (GModule));
if (module == NULL)
return NULL;
if (file != NULL) {
gunichar2 *file16;
file16 = u8to16(file);
module->main_module = FALSE;
module->handle = LoadLibraryW (file16);
g_free(file16);
if (!module->handle) {
g_free (module);
return NULL;
}
} else {
module->main_module = TRUE;
module->handle = GetModuleHandle (NULL);
}
return module;
}
#if HAVE_API_SUPPORT_WIN32_ENUM_PROCESS_MODULES
gpointer
w32_find_symbol (const gchar *symbol_name)
{
HMODULE *modules;
DWORD buffer_size = sizeof (HMODULE) * 1024;
DWORD needed, i;
modules = (HMODULE *) g_malloc (buffer_size);
if (modules == NULL)
return NULL;
if (!EnumProcessModules (GetCurrentProcess (), modules,
buffer_size, &needed)) {
g_free (modules);
return NULL;
}
/* check whether the supplied buffer was too small, realloc, retry */
if (needed > buffer_size) {
g_free (modules);
buffer_size = needed;
modules = (HMODULE *) g_malloc (buffer_size);
if (modules == NULL)
return NULL;
if (!EnumProcessModules (GetCurrentProcess (), modules,
buffer_size, &needed)) {
g_free (modules);
return NULL;
}
}
for (i = 0; i < needed / sizeof (HANDLE); i++) {
gpointer proc = (gpointer)(intptr_t)GetProcAddress (modules [i], symbol_name);
if (proc != NULL) {
g_free (modules);
return proc;
}
}
g_free (modules);
return NULL;
}
#elif !HAVE_EXTERN_DEFINED_WIN32_ENUM_PROCESS_MODULES
gpointer
w32_find_symbol (const gchar *symbol_name)
{
g_unsupported_api ("EnumProcessModules");
SetLastError (ERROR_NOT_SUPPORTED);
return NULL;
}
#else
extern gpointer w32_find_symbol (const gchar *symbol_name);
#endif /* HAVE_API_SUPPORT_WIN32_ENUM_PROCESS_MODULES */
gboolean
g_module_symbol (GModule *module, const gchar *symbol_name, gpointer *symbol)
{
if (module == NULL || symbol_name == NULL || symbol == NULL)
return FALSE;
if (module->main_module) {
*symbol = (gpointer)(intptr_t)GetProcAddress (module->handle, symbol_name);
if (*symbol != NULL)
return TRUE;
*symbol = w32_find_symbol (symbol_name);
return *symbol != NULL;
} else {
*symbol = (gpointer)(intptr_t)GetProcAddress (module->handle, symbol_name);
return *symbol != NULL;
}
}
#if HAVE_API_SUPPORT_WIN32_GET_MODULE_HANDLE_EX
gboolean
g_module_address (void *addr, char *file_name, size_t file_name_len,
void **file_base, char *sym_name, size_t sym_name_len,
void **sym_addr)
{
HMODULE module;
/*
* We have to cast the address because usually this func works with strings,
* this being an exception.
*/
BOOL ret = GetModuleHandleExW (GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS, (LPCWSTR)addr, &module);
if (!ret)
return FALSE;
if (file_name != NULL && file_name_len >= 1) {
/* sigh, non-const. AIX for POSIX is the same way. */
WCHAR fname [MAX_PATH];
DWORD bytes = GetModuleFileNameW (module, fname, G_N_ELEMENTS (fname));
if (bytes) {
/* Convert back to UTF-8 from wide for runtime */
GFixedBufferCustomAllocatorData custom_alloc_data;
custom_alloc_data.buffer = file_name;
custom_alloc_data.buffer_size = file_name_len;
custom_alloc_data.req_buffer_size = 0;
if (!g_utf16_to_utf8_custom_alloc (fname, -1, NULL, NULL, g_fixed_buffer_custom_allocator, &custom_alloc_data, NULL))
*file_name = '\0';
} else {
*file_name = '\0';
}
}
/* XXX: implement the rest */
if (file_base != NULL)
*file_base = NULL;
if (sym_name != NULL && sym_name_len >= 1)
sym_name[0] = '\0';
if (sym_addr != NULL)
*sym_addr = NULL;
/* -1 reference count to avoid leaks; Ex variant does +1 refcount */
FreeLibrary (module);
return TRUE;
}
#elif !HAVE_EXTERN_DEFINED_WIN32_GET_MODULE_HANDLE_EX
gboolean
g_module_address (void *addr, char *file_name, size_t file_name_len,
void **file_base, char *sym_name, size_t sym_name_len,
void **sym_addr)
{
g_unsupported_api ("GetModuleHandleEx");
SetLastError (ERROR_NOT_SUPPORTED);
return FALSE;
}
#endif /* HAVE_API_SUPPORT_WIN32_GET_MODULE_HANDLE_EX */
#if HAVE_API_SUPPORT_WIN32_FORMAT_MESSAGE
const gchar *
g_module_error (void)
{
gchar* ret = NULL;
DWORD code = GetLastError ();
#if HAVE_API_SUPPORT_WIN32_LOCAL_ALLOC_FREE
PWSTR buf = NULL;
if (FormatMessageW (FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_ALLOCATE_BUFFER, NULL, code, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (PWSTR)&buf, 0, NULL)) {
ret = u16to8 (buf);
LocalFree (buf);
}
#else
WCHAR local_buf [1024];
if (!FormatMessageW (FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, NULL,
code, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), local_buf, STRING_LENGTH (local_buf), NULL) )
local_buf [0] = TEXT('\0');
ret = u16to8 (local_buf);
#endif
return ret;
}
#elif !HAVE_EXTERN_DEFINED_WIN32_FORMAT_MESSAGE
const gchar *
g_module_error (void)
{
return g_strdup_printf ("GetLastError=%d. FormatMessage not supported.", GetLastError ());
}
#endif /* HAVE_API_SUPPORT_WIN32_FORMAT_MESSAGE */
gboolean
g_module_close (GModule *module)
{
HMODULE handle;
int main_module;
if (module == NULL || module->handle == NULL)
return FALSE;
handle = module->handle;
main_module = module->main_module;
module->handle = NULL;
g_free (module);
return (main_module ? 1 : (0 == FreeLibrary (handle)));
}
gchar *
g_module_build_path (const gchar *directory, const gchar *module_name)
{
const char *lib_prefix = "";
if (module_name == NULL)
return NULL;
if (strncmp (module_name, "lib", 3) != 0)
lib_prefix = LIBPREFIX;
if (directory && *directory){
return g_strdup_printf ("%s/%s%s" LIBSUFFIX, directory, lib_prefix, module_name);
}
return g_strdup_printf ("%s%s" LIBSUFFIX, lib_prefix, module_name);
}
// This is not about GModule but is still a close fit.
// This is not named "g_" but that should be ok.
// g_free the result
// No MAX_PATH limit.
//
// Prefer mono_get_module_filename over mono_get_module_filename_ex and mono_get_module_basename.
// Prefer not-ex, not-base.
//
gboolean
mono_get_module_filename (gpointer mod, gunichar2 **pstr, guint32 *plength)
{
gunichar2 *str = NULL;
guint32 capacity = MAX_PATH; // tunable
guint32 length = 0;
gboolean success = FALSE;
while (TRUE)
{
length = 0;
if (capacity > (1 << 24))
break;
str = g_new (gunichar2, capacity);
if (!str)
break;
length = GetModuleFileNameW ((HMODULE)mod, str, capacity);
success = length && length < (capacity - 1); // This function does not truncate, but - 1 anyway.
if (success)
break;
g_free (str); // error or too small
str = NULL;
if (!length) // error
break;
capacity *= 2;
}
*pstr = str;
*plength = length;
return success;
}
// This is not about GModule but is still a close fit.
// This is not named "g_" but that should be ok.
// g_free the result
// No MAX_PATH limit.
//
// Prefer mono_get_module_filename over mono_get_module_filename_ex and mono_get_module_basename.
// Prefer not-ex, not-base.
//
#if HAVE_API_SUPPORT_WIN32_GET_MODULE_FILE_NAME_EX
gboolean
mono_get_module_filename_ex (gpointer process, gpointer mod, gunichar2 **pstr, guint32 *plength)
{
gunichar2 *str = NULL;
guint32 capacity = MAX_PATH; // tunable
guint32 length = 0;
gboolean success = FALSE;
while (TRUE)
{
length = 0;
if (capacity > (1 << 24))
break;
str = g_new (gunichar2, capacity);
if (!str)
break;
length = GetModuleFileNameExW (process, (HMODULE)mod, str, capacity);
success = length && length < (capacity - 1); // This function truncates, thus the - 1.
if (success)
break;
g_free (str); // error or too small
str = NULL;
if (!length) // error
break;
capacity *= 2;
}
*pstr = str;
*plength = length;
return success;
}
#elif !HAVE_EXTERN_DEFINED_WIN32_GET_MODULE_FILE_NAME_EX
gboolean
mono_get_module_filename_ex (gpointer process, gpointer mod, gunichar2 **pstr, guint32 *plength)
{
g_unsupported_api ("GetModuleFileNameEx");
SetLastError (ERROR_NOT_SUPPORTED);
return FALSE;
}
#endif /* HAVE_API_SUPPORT_WIN32_GET_MODULE_FILE_NAME_EX */
// This is not about GModule but is still a close fit.
// This is not named "g_" but that should be ok.
// g_free the result
// No MAX_PATH limit.
//
// Prefer mono_get_module_filename over mono_get_module_filename_ex and mono_get_module_basename.
// Prefer not-ex, not-base.
//
#if HAVE_API_SUPPORT_WIN32_GET_MODULE_BASE_NAME
gboolean
mono_get_module_basename (gpointer process, gpointer mod, gunichar2 **pstr, guint32 *plength)
{
gunichar2 *str = NULL;
guint32 capacity = MAX_PATH; // tunable
guint32 length = 0;
gboolean success = FALSE;
while (TRUE)
{
length = 0;
if (capacity > (1 << 24))
break;
str = g_new (gunichar2, capacity);
if (!str)
break;
length = GetModuleBaseNameW (process, (HMODULE)mod, str, capacity);
success = length && length < (capacity - 1); // This function truncates, thus the - 1.
if (success)
break;
g_free (str); // error or too small
str = NULL;
if (!length) // error
break;
capacity *= 2;
}
*pstr = str;
*plength = length;
return success;
}
#elif !HAVE_EXTERN_DEFINED_WIN32_GET_MODULE_BASE_NAME
gboolean
mono_get_module_basename (gpointer process, gpointer mod, gunichar2 **pstr, guint32 *plength)
{
g_unsupported_api ("GetModuleBaseName");
SetLastError (ERROR_NOT_SUPPORTED);
return FALSE;
}
#endif /* HAVE_API_SUPPORT_WIN32_GET_MODULE_BASE_NAME */
// g_free the result
// No MAX_PATH limit.
gboolean
mono_get_current_directory (gunichar2 **pstr, guint32 *plength)
{
gunichar2 *str = NULL;
guint32 capacity = MAX_PATH; // tunable
guint32 length = 0;
gboolean success = FALSE;
while (TRUE)
{
length = 0;
if (capacity > (1 << 24))
break;
str = g_new (gunichar2, capacity);
if (!str)
break;
// Call in loop, not just twice, in case another thread is changing it.
// Result is transient in currentness and validity (can get deleted or become a file).
length = GetCurrentDirectoryW (capacity, str);
success = length && length < (capacity - 1);
if (success)
break;
g_free (str); // error or too small
str = NULL;
if (!length) // error
break;
capacity *= 2;
}
*pstr = str;
*plength = length;
return success;
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/libraries/System.Text.RegularExpressions/tests/FunctionalTests/MatchCollectionTests2.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using Xunit;
namespace System.Text.RegularExpressions.Tests
{
public static partial class MatchCollectionTests
{
[Fact]
public static void IListOfT_Item_Get()
{
IList<Match> collection = CreateCollection();
Assert.Equal("t", collection[0].ToString());
Assert.Equal("t", collection[1].ToString());
}
[Fact]
public static void IReadOnlyListOfT_Item_Get()
{
IReadOnlyList<Match> collection = CreateCollection();
Assert.Equal("t", collection[0].ToString());
Assert.Equal("t", collection[1].ToString());
}
[Fact]
public static void IList_Item_Get()
{
IList collection = CreateCollection();
Assert.Equal("t", collection[0].ToString());
Assert.Equal("t", collection[1].ToString());
}
[Fact]
public static void ICollectionOfT_Contains()
{
ICollection<Match> collection = CreateCollection();
foreach (Match item in collection)
{
Assert.True(collection.Contains(item));
}
foreach (Match item in CreateCollection())
{
Assert.False(collection.Contains(item));
}
}
[Fact]
public static void IList_Contains()
{
IList collection = CreateCollection();
foreach (object item in collection)
{
Assert.True(collection.Contains(item));
}
foreach (object item in CreateCollection())
{
Assert.False(collection.Contains(item));
}
Assert.False(collection.Contains(new object()));
}
[Fact]
public static void IListOfT_IndexOf()
{
IList<Match> collection = CreateCollection();
int i = 0;
foreach (Match item in collection)
{
Assert.Equal(i, collection.IndexOf(item));
i++;
}
foreach (Match item in CreateCollection())
{
Assert.Equal(-1, collection.IndexOf(item));
}
}
[Fact]
public static void IList_IndexOf()
{
IList collection = CreateCollection();
int i = 0;
foreach (object item in collection)
{
Assert.Equal(i, collection.IndexOf(item));
i++;
}
foreach (object item in CreateCollection())
{
Assert.Equal(-1, collection.IndexOf(item));
}
Assert.Equal(-1, collection.IndexOf(new object()));
}
[Fact]
public static void ICollectionOfT_CopyTo()
{
string[] expected = new[] { "t", "t" };
ICollection<Match> collection = CreateCollection();
Match[] array = new Match[collection.Count];
collection.CopyTo(array, 0);
Assert.Equal(expected, array.Select(c => c.ToString()));
}
[Fact]
public static void ICollectionOfT_CopyTo_Invalid()
{
ICollection<Match> collection = CreateCollection();
Assert.Throws<ArgumentNullException>(() => collection.CopyTo(null, 0));
Assert.Throws<ArgumentOutOfRangeException>(() => collection.CopyTo(new Match[1], -1));
AssertExtensions.Throws<ArgumentException>("destinationArray", () => collection.CopyTo(new Match[1], 0));
AssertExtensions.Throws<ArgumentException>("destinationArray", () => collection.CopyTo(new Match[1], 1));
AssertExtensions.Throws<ArgumentException>("destinationArray", () => collection.CopyTo(new Match[1], 2));
}
[Fact]
public static void IListOfT_IsReadOnly()
{
IList<Match> list = CreateCollection();
Assert.True(list.IsReadOnly);
Assert.Throws<NotSupportedException>(() => list.Add(default(Match)));
Assert.Throws<NotSupportedException>(() => list.Clear());
Assert.Throws<NotSupportedException>(() => list.Insert(0, default(Match)));
Assert.Throws<NotSupportedException>(() => list.Remove(default(Match)));
Assert.Throws<NotSupportedException>(() => list.RemoveAt(0));
Assert.Throws<NotSupportedException>(() => list[0] = default(Match));
}
[Fact]
public static void IList_IsReadOnly()
{
IList list = CreateCollection();
Assert.True(list.IsReadOnly);
Assert.True(list.IsFixedSize);
Assert.Throws<NotSupportedException>(() => list.Add(default(Match)));
Assert.Throws<NotSupportedException>(() => list.Clear());
Assert.Throws<NotSupportedException>(() => list.Insert(0, default(Match)));
Assert.Throws<NotSupportedException>(() => list.Remove(default(Match)));
Assert.Throws<NotSupportedException>(() => list.RemoveAt(0));
Assert.Throws<NotSupportedException>(() => list[0] = default(Match));
}
[Fact]
public static void DebuggerAttributeTests()
{
MatchCollection col = CreateCollection();
DebuggerAttributes.ValidateDebuggerDisplayReferences(col);
DebuggerAttributeInfo info = DebuggerAttributes.ValidateDebuggerTypeProxyProperties(col);
PropertyInfo itemProperty = info.Properties.Single(pr => pr.GetCustomAttribute<DebuggerBrowsableAttribute>().State == DebuggerBrowsableState.RootHidden);
Match[] items = itemProperty.GetValue(info.Instance) as Match[];
Assert.Equal(col, items);
}
[Fact]
public static void DebuggerAttributeTests_Null()
{
TargetInvocationException ex = Assert.Throws<TargetInvocationException>(() => DebuggerAttributes.ValidateDebuggerTypeProxyProperties(typeof(MatchCollection), null));
Assert.IsType<ArgumentNullException>(ex.InnerException);
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using Xunit;
namespace System.Text.RegularExpressions.Tests
{
public static partial class MatchCollectionTests
{
[Fact]
public static void IListOfT_Item_Get()
{
IList<Match> collection = CreateCollection();
Assert.Equal("t", collection[0].ToString());
Assert.Equal("t", collection[1].ToString());
}
[Fact]
public static void IReadOnlyListOfT_Item_Get()
{
IReadOnlyList<Match> collection = CreateCollection();
Assert.Equal("t", collection[0].ToString());
Assert.Equal("t", collection[1].ToString());
}
[Fact]
public static void IList_Item_Get()
{
IList collection = CreateCollection();
Assert.Equal("t", collection[0].ToString());
Assert.Equal("t", collection[1].ToString());
}
[Fact]
public static void ICollectionOfT_Contains()
{
ICollection<Match> collection = CreateCollection();
foreach (Match item in collection)
{
Assert.True(collection.Contains(item));
}
foreach (Match item in CreateCollection())
{
Assert.False(collection.Contains(item));
}
}
[Fact]
public static void IList_Contains()
{
IList collection = CreateCollection();
foreach (object item in collection)
{
Assert.True(collection.Contains(item));
}
foreach (object item in CreateCollection())
{
Assert.False(collection.Contains(item));
}
Assert.False(collection.Contains(new object()));
}
[Fact]
public static void IListOfT_IndexOf()
{
IList<Match> collection = CreateCollection();
int i = 0;
foreach (Match item in collection)
{
Assert.Equal(i, collection.IndexOf(item));
i++;
}
foreach (Match item in CreateCollection())
{
Assert.Equal(-1, collection.IndexOf(item));
}
}
[Fact]
public static void IList_IndexOf()
{
IList collection = CreateCollection();
int i = 0;
foreach (object item in collection)
{
Assert.Equal(i, collection.IndexOf(item));
i++;
}
foreach (object item in CreateCollection())
{
Assert.Equal(-1, collection.IndexOf(item));
}
Assert.Equal(-1, collection.IndexOf(new object()));
}
[Fact]
public static void ICollectionOfT_CopyTo()
{
string[] expected = new[] { "t", "t" };
ICollection<Match> collection = CreateCollection();
Match[] array = new Match[collection.Count];
collection.CopyTo(array, 0);
Assert.Equal(expected, array.Select(c => c.ToString()));
}
[Fact]
public static void ICollectionOfT_CopyTo_Invalid()
{
ICollection<Match> collection = CreateCollection();
Assert.Throws<ArgumentNullException>(() => collection.CopyTo(null, 0));
Assert.Throws<ArgumentOutOfRangeException>(() => collection.CopyTo(new Match[1], -1));
AssertExtensions.Throws<ArgumentException>("destinationArray", () => collection.CopyTo(new Match[1], 0));
AssertExtensions.Throws<ArgumentException>("destinationArray", () => collection.CopyTo(new Match[1], 1));
AssertExtensions.Throws<ArgumentException>("destinationArray", () => collection.CopyTo(new Match[1], 2));
}
[Fact]
public static void IListOfT_IsReadOnly()
{
IList<Match> list = CreateCollection();
Assert.True(list.IsReadOnly);
Assert.Throws<NotSupportedException>(() => list.Add(default(Match)));
Assert.Throws<NotSupportedException>(() => list.Clear());
Assert.Throws<NotSupportedException>(() => list.Insert(0, default(Match)));
Assert.Throws<NotSupportedException>(() => list.Remove(default(Match)));
Assert.Throws<NotSupportedException>(() => list.RemoveAt(0));
Assert.Throws<NotSupportedException>(() => list[0] = default(Match));
}
[Fact]
public static void IList_IsReadOnly()
{
IList list = CreateCollection();
Assert.True(list.IsReadOnly);
Assert.True(list.IsFixedSize);
Assert.Throws<NotSupportedException>(() => list.Add(default(Match)));
Assert.Throws<NotSupportedException>(() => list.Clear());
Assert.Throws<NotSupportedException>(() => list.Insert(0, default(Match)));
Assert.Throws<NotSupportedException>(() => list.Remove(default(Match)));
Assert.Throws<NotSupportedException>(() => list.RemoveAt(0));
Assert.Throws<NotSupportedException>(() => list[0] = default(Match));
}
[Fact]
public static void DebuggerAttributeTests()
{
MatchCollection col = CreateCollection();
DebuggerAttributes.ValidateDebuggerDisplayReferences(col);
DebuggerAttributeInfo info = DebuggerAttributes.ValidateDebuggerTypeProxyProperties(col);
PropertyInfo itemProperty = info.Properties.Single(pr => pr.GetCustomAttribute<DebuggerBrowsableAttribute>().State == DebuggerBrowsableState.RootHidden);
Match[] items = itemProperty.GetValue(info.Instance) as Match[];
Assert.Equal(col, items);
}
[Fact]
public static void DebuggerAttributeTests_Null()
{
TargetInvocationException ex = Assert.Throws<TargetInvocationException>(() => DebuggerAttributes.ValidateDebuggerTypeProxyProperties(typeof(MatchCollection), null));
Assert.IsType<ArgumentNullException>(ex.InnerException);
}
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/libraries/System.DirectoryServices.AccountManagement/src/System/DirectoryServices/AccountManagement/Utils.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Diagnostics;
using System.Globalization;
using System.Runtime.InteropServices;
using System.Text;
using System.Security.Principal;
using Microsoft.Win32.SafeHandles;
namespace System.DirectoryServices.AccountManagement
{
internal static class Utils
{
//
// byte utilities
//
/// <summary>
/// Performs bytewise comparison of two byte[] arrays
/// </summary>
/// <param name="src">Array to compare</param>
/// <param name="tgt">Array to compare against src</param>
/// <returns>true if identical, false otherwise</returns>
internal static bool AreBytesEqual(byte[] src, byte[] tgt)
{
if (src.Length != tgt.Length)
return false;
for (int i = 0; i < src.Length; i++)
{
if (src[i] != tgt[i])
return false;
}
return true;
}
internal static void ClearBit(ref int value, uint bitmask)
{
value = (int)(((uint)value) & ((uint)(~bitmask)));
}
internal static void SetBit(ref int value, uint bitmask)
{
value = (int)(((uint)value) | ((uint)bitmask));
}
// {0xa2, 0x3f,...} --> "a23f..."
internal static string ByteArrayToString(byte[] byteArray)
{
StringBuilder stringizedArray = new StringBuilder();
foreach (byte b in byteArray)
{
stringizedArray.Append(b.ToString("x2", CultureInfo.InvariantCulture));
}
return stringizedArray.ToString();
}
// Use this for ldap search filter string...
internal static string SecurityIdentifierToLdapHexFilterString(SecurityIdentifier sid)
{
return (ADUtils.HexStringToLdapHexString(SecurityIdentifierToLdapHexBindingString(sid)));
}
// use this for binding string...
internal static string SecurityIdentifierToLdapHexBindingString(SecurityIdentifier sid)
{
byte[] sidB = new byte[sid.BinaryLength];
sid.GetBinaryForm(sidB, 0);
StringBuilder stringizedBinarySid = new StringBuilder();
foreach (byte b in sidB)
{
stringizedBinarySid.Append(b.ToString("x2", CultureInfo.InvariantCulture));
}
return stringizedBinarySid.ToString();
}
internal static byte[] StringToByteArray(string s)
{
if (s.Length % 2 != 0)
{
GlobalDebug.WriteLineIf(GlobalDebug.Warn, "Utils", "StringToByteArray: string has bad length " + s.Length);
return null;
}
byte[] bytes = new byte[s.Length / 2];
for (int i = 0; i < (s.Length) / 2; i++)
{
char firstChar = s[i * 2];
char secondChar = s[(i * 2) + 1];
if (((firstChar >= '0' && firstChar <= '9') || (firstChar >= 'A' && firstChar <= 'F') || (firstChar >= 'a' && firstChar <= 'f')) &&
((secondChar >= '0' && secondChar <= '9') || (secondChar >= 'A' && secondChar <= 'F') || (secondChar >= 'a' && secondChar <= 'f')))
{
byte b = byte.Parse(s.Substring(i * 2, 2), NumberStyles.AllowHexSpecifier, CultureInfo.InvariantCulture);
bytes[i] = b;
}
else
{
GlobalDebug.WriteLineIf(GlobalDebug.Warn, "Utils", "StringToByteArray: invalid string: " + s);
return null;
}
}
return bytes;
}
//
// SID Utilities
//
internal static string ConvertSidToSDDL(byte[] sid)
{
// To put the byte[] SID into SDDL, we use ConvertSidToStringSid.
// Calling that requires we first copy the SID into native memory.
IntPtr pSid = IntPtr.Zero;
try
{
pSid = ConvertByteArrayToIntPtr(sid);
if (Interop.Advapi32.ConvertSidToStringSid(pSid, out string sddlSid) != Interop.BOOL.FALSE)
{
return sddlSid;
}
else
{
int lastErrorCode = Marshal.GetLastWin32Error();
GlobalDebug.WriteLineIf(
GlobalDebug.Warn,
"Utils",
"ConvertSidToSDDL: ConvertSidToStringSid failed, " + lastErrorCode);
return null;
}
}
finally
{
if (pSid != IntPtr.Zero)
Marshal.FreeHGlobal(pSid);
}
}
// The caller must call Marshal.FreeHGlobal on the returned
// value to free it.
internal static IntPtr ConvertByteArrayToIntPtr(byte[] bytes)
{
IntPtr pBytes = IntPtr.Zero;
pBytes = Marshal.AllocHGlobal(bytes.Length);
try
{
Marshal.Copy(bytes, 0, pBytes, bytes.Length);
}
catch (Exception e)
{
GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "ConvertByteArrayToIntPtr: caught exception of type "
+ e.GetType().ToString() +
" and message " + e.Message);
Marshal.FreeHGlobal(pBytes);
throw;
}
Debug.Assert(pBytes != IntPtr.Zero);
return pBytes;
}
internal static byte[] ConvertNativeSidToByteArray(IntPtr pSid)
{
int sidLength = Interop.Advapi32.GetLengthSid(pSid);
byte[] sid = new byte[sidLength];
Marshal.Copy(pSid, sid, 0, sidLength);
return sid;
}
internal static SidType ClassifySID(byte[] sid)
{
IntPtr pSid = IntPtr.Zero;
try
{
pSid = ConvertByteArrayToIntPtr(sid);
return ClassifySID(pSid);
}
finally
{
if (pSid != IntPtr.Zero)
Marshal.FreeHGlobal(pSid);
}
}
internal static SidType ClassifySID(IntPtr pSid)
{
Debug.Assert(Interop.Advapi32.IsValidSid(pSid));
// Get the issuing authority and the first RID
IntPtr pIdentAuth = Interop.Advapi32.GetSidIdentifierAuthority(pSid);
Interop.Advapi32.SID_IDENTIFIER_AUTHORITY identAuth =
(Interop.Advapi32.SID_IDENTIFIER_AUTHORITY)Marshal.PtrToStructure(pIdentAuth, typeof(Interop.Advapi32.SID_IDENTIFIER_AUTHORITY));
IntPtr pRid = Interop.Advapi32.GetSidSubAuthority(pSid, 0);
int rid = Marshal.ReadInt32(pRid);
// These bit signify that the sid was issued by ADAM. If so then it can't be a fake sid.
if ((identAuth.b3 & 0xF0) == 0x10)
return SidType.RealObject;
// Is it S-1-5-...?
if (!(identAuth.b1 == 0) &&
(identAuth.b2 == 0) &&
(identAuth.b3 == 0) &&
(identAuth.b4 == 0) &&
(identAuth.b5 == 0) &&
(identAuth.b6 == 5))
{
// No, so it can't be an account or builtin SID.
// Probably something like \Everyone or \LOCAL.
return SidType.FakeObject;
}
return rid switch
{
21 => SidType.RealObject, // Account SID
32 => SidType.RealObjectFakeDomain, // BUILTIN SID
_ => SidType.FakeObject,
};
}
internal static int GetLastRidFromSid(IntPtr pSid)
{
IntPtr pRidCount = Interop.Advapi32.GetSidSubAuthorityCount(pSid);
int ridCount = Marshal.ReadByte(pRidCount);
IntPtr pLastRid = Interop.Advapi32.GetSidSubAuthority(pSid, ridCount - 1);
int lastRid = Marshal.ReadInt32(pLastRid);
return lastRid;
}
internal static int GetLastRidFromSid(byte[] sid)
{
IntPtr pSid = IntPtr.Zero;
try
{
pSid = Utils.ConvertByteArrayToIntPtr(sid);
int rid = GetLastRidFromSid(pSid);
return rid;
}
finally
{
if (pSid != IntPtr.Zero)
Marshal.FreeHGlobal(pSid);
}
}
//
//
//
internal static bool IsSamUser()
{
//
// Basic algorithm
//
// Get SID of current user (via OpenThreadToken/GetTokenInformation/CloseHandle for TokenUser)
//
// Is the user SID of the form S-1-5-21-... (does GetSidIdentityAuthority(u) == 5 and GetSidSubauthority(u, 0) == 21)?
// If NO ---> is local user
// If YES --->
// Get machine domain SID (via LsaOpenPolicy/LsaQueryInformationPolicy for PolicyAccountDomainInformation/LsaClose)
// Does EqualDomainSid indicate the current user SID and the machine domain SID have the same domain?
// If YES -->
// IS the local machine a DC
// If NO --> is local user
// If YES --> is _not_ local user
// If NO --> is _not_ local user
//
IntPtr pCopyOfUserSid = IntPtr.Zero;
IntPtr pMachineDomainSid = IntPtr.Zero;
try
{
// Get the user's SID
pCopyOfUserSid = GetCurrentUserSid();
// Is it of S-1-5-21 form: Is the issuing authority NT_AUTHORITY and the RID NT_NOT_UNIQUE?
SidType sidType = ClassifySID(pCopyOfUserSid);
if (sidType == SidType.RealObject)
{
// It's a domain SID. Now, is the domain portion for the local machine, or something else?
// Get the machine domain SID
pMachineDomainSid = GetMachineDomainSid();
// Does the user SID have the same domain as the machine SID?
bool sameDomain = false;
bool success = Interop.Advapi32.EqualDomainSid(pCopyOfUserSid, pMachineDomainSid, ref sameDomain);
// Since both pCopyOfUserSid and pMachineDomainSid should always be account SIDs
Debug.Assert(success == true);
// If user SID is the same domain as the machine domain, and the machine is not a DC then the user is a local (machine) user
return sameDomain ? !IsMachineDC(null) : false;
}
else
{
// It's not a domain SID, must be local (e.g., NT AUTHORITY\foo, or BUILTIN\foo)
return true;
}
}
finally
{
if (pCopyOfUserSid != IntPtr.Zero)
Marshal.FreeHGlobal(pCopyOfUserSid);
if (pMachineDomainSid != IntPtr.Zero)
Marshal.FreeHGlobal(pMachineDomainSid);
}
}
internal static IntPtr GetCurrentUserSid()
{
SafeTokenHandle tokenHandle = null;
IntPtr pBuffer = IntPtr.Zero;
try
{
//
// Get the current user's SID
//
int error = 0;
// Get the current thread's token
if (!Interop.Advapi32.OpenThreadToken(
Interop.Kernel32.GetCurrentThread(),
TokenAccessLevels.Query,
true,
out tokenHandle
))
{
if ((error = Marshal.GetLastWin32Error()) == 1008) // ERROR_NO_TOKEN
{
Debug.Assert(tokenHandle.IsInvalid);
// Current thread doesn't have a token, try the process
if (!Interop.Advapi32.OpenProcessToken(
Interop.Kernel32.GetCurrentProcess(),
(int)TokenAccessLevels.Query,
out tokenHandle
))
{
int lastError = Marshal.GetLastWin32Error();
GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "GetCurrentUserSid: OpenProcessToken failed, gle=" + lastError);
throw new PrincipalOperationException(SR.Format(SR.UnableToOpenToken, lastError));
}
}
else
{
GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "GetCurrentUserSid: OpenThreadToken failed, gle=" + error);
throw new PrincipalOperationException(SR.Format(SR.UnableToOpenToken, error));
}
}
Debug.Assert(!tokenHandle.IsInvalid);
uint neededBufferSize = 0;
// Retrieve the user info from the current thread's token
// First, determine how big a buffer we need.
bool success = Interop.Advapi32.GetTokenInformation(
tokenHandle.DangerousGetHandle(),
(uint)Interop.Advapi32.TOKEN_INFORMATION_CLASS.TokenUser,
IntPtr.Zero,
0,
out neededBufferSize);
int getTokenInfoError = 0;
if ((getTokenInfoError = Marshal.GetLastWin32Error()) != 122) // ERROR_INSUFFICIENT_BUFFER
{
GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "GetCurrentUserSid: GetTokenInformation (1st try) failed, gle=" + getTokenInfoError);
throw new PrincipalOperationException(
SR.Format(SR.UnableToRetrieveTokenInfo, getTokenInfoError));
}
// Allocate the necessary buffer.
Debug.Assert(neededBufferSize > 0);
pBuffer = Marshal.AllocHGlobal((int)neededBufferSize);
// Load the user info into the buffer
success = Interop.Advapi32.GetTokenInformation(
tokenHandle.DangerousGetHandle(),
(uint)Interop.Advapi32.TOKEN_INFORMATION_CLASS.TokenUser,
pBuffer,
neededBufferSize,
out neededBufferSize);
if (!success)
{
int lastError = Marshal.GetLastWin32Error();
GlobalDebug.WriteLineIf(GlobalDebug.Error,
"Utils",
"GetCurrentUserSid: GetTokenInformation (2nd try) failed, neededBufferSize=" + neededBufferSize + ", gle=" + lastError);
throw new PrincipalOperationException(
SR.Format(SR.UnableToRetrieveTokenInfo, lastError));
}
// Retrieve the user's SID from the user info
Interop.TOKEN_USER tokenUser = (Interop.TOKEN_USER)Marshal.PtrToStructure(pBuffer, typeof(Interop.TOKEN_USER));
IntPtr pUserSid = tokenUser.sidAndAttributes.Sid; // this is a reference into the NATIVE memory (into pBuffer)
Debug.Assert(Interop.Advapi32.IsValidSid(pUserSid));
// Now we make a copy of the SID to return
int userSidLength = Interop.Advapi32.GetLengthSid(pUserSid);
IntPtr pCopyOfUserSid = Marshal.AllocHGlobal(userSidLength);
success = Interop.Advapi32.CopySid(userSidLength, pCopyOfUserSid, pUserSid);
if (!success)
{
int lastError = Marshal.GetLastWin32Error();
GlobalDebug.WriteLineIf(GlobalDebug.Error,
"Utils",
"GetCurrentUserSid: CopySid failed, errorcode=" + lastError);
throw new PrincipalOperationException(
SR.Format(SR.UnableToRetrieveTokenInfo, lastError));
}
return pCopyOfUserSid;
}
finally
{
if (tokenHandle != null)
tokenHandle.Dispose();
if (pBuffer != IntPtr.Zero)
Marshal.FreeHGlobal(pBuffer);
}
}
internal static IntPtr GetMachineDomainSid()
{
SafeLsaPolicyHandle policyHandle = null;
IntPtr pBuffer = IntPtr.Zero;
try
{
Interop.OBJECT_ATTRIBUTES oa = default;
uint err = Interop.Advapi32.LsaOpenPolicy(
SystemName: null,
ref oa,
(int)Interop.Advapi32.PolicyRights.POLICY_VIEW_LOCAL_INFORMATION,
out policyHandle);
if (err != 0)
{
GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "GetMachineDomainSid: LsaOpenPolicy failed, gle=" + Interop.Advapi32.LsaNtStatusToWinError(err));
throw new PrincipalOperationException(SR.Format(
SR.UnableToRetrievePolicy,
Interop.Advapi32.LsaNtStatusToWinError(err)));
}
Debug.Assert(!policyHandle.IsInvalid);
err = Interop.Advapi32.LsaQueryInformationPolicy(
policyHandle.DangerousGetHandle(),
5, // PolicyAccountDomainInformation
ref pBuffer);
if (err != 0)
{
GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "GetMachineDomainSid: LsaQueryInformationPolicy failed, gle=" + Interop.Advapi32.LsaNtStatusToWinError(err));
throw new PrincipalOperationException(SR.Format(
SR.UnableToRetrievePolicy,
Interop.Advapi32.LsaNtStatusToWinError(err)));
}
Debug.Assert(pBuffer != IntPtr.Zero);
UnsafeNativeMethods.POLICY_ACCOUNT_DOMAIN_INFO info = (UnsafeNativeMethods.POLICY_ACCOUNT_DOMAIN_INFO)
Marshal.PtrToStructure(pBuffer, typeof(UnsafeNativeMethods.POLICY_ACCOUNT_DOMAIN_INFO));
Debug.Assert(Interop.Advapi32.IsValidSid(info.DomainSid));
// Now we make a copy of the SID to return
int sidLength = Interop.Advapi32.GetLengthSid(info.DomainSid);
IntPtr pCopyOfSid = Marshal.AllocHGlobal(sidLength);
bool success = Interop.Advapi32.CopySid(sidLength, pCopyOfSid, info.DomainSid);
if (!success)
{
int lastError = Marshal.GetLastWin32Error();
GlobalDebug.WriteLineIf(GlobalDebug.Error,
"Utils",
"GetMachineDomainSid: CopySid failed, errorcode=" + lastError);
throw new PrincipalOperationException(
SR.Format(SR.UnableToRetrievePolicy, lastError));
}
return pCopyOfSid;
}
finally
{
if (policyHandle != null)
policyHandle.Dispose();
if (pBuffer != IntPtr.Zero)
Interop.Advapi32.LsaFreeMemory(pBuffer);
}
}
// Returns name in the form "domain\user"
internal static string GetNT4UserName()
{
using (WindowsIdentity currentIdentity = System.Security.Principal.WindowsIdentity.GetCurrent())
{
string s = currentIdentity.Name;
GlobalDebug.WriteLineIf(GlobalDebug.Info, "Utils", "GetNT4UserName: name is " + s);
return s;
}
}
internal static string GetComputerFlatName()
{
//string s = System.Windows.Forms.SystemInformation.ComputerName;
string s = Environment.MachineName;
GlobalDebug.WriteLineIf(GlobalDebug.Info, "Utils", "GetComputerFlatName: name is " + s);
return s;
}
//
// Interop support
//
internal static UnsafeNativeMethods.DomainControllerInfo GetDcName(string computerName, string domainName, string siteName, int flags)
{
IntPtr domainControllerInfoPtr = IntPtr.Zero;
try
{
int err = Interop.Logoncli.DsGetDcName(computerName, domainName, IntPtr.Zero, siteName, flags, out domainControllerInfoPtr);
if (err != 0)
{
GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "GetDcName: DsGetDcName failed, err=" + err);
throw new PrincipalOperationException(
SR.Format(
SR.UnableToRetrieveDomainInfo,
err),
err);
}
UnsafeNativeMethods.DomainControllerInfo domainControllerInfo =
(UnsafeNativeMethods.DomainControllerInfo)Marshal.PtrToStructure(domainControllerInfoPtr, typeof(UnsafeNativeMethods.DomainControllerInfo));
return domainControllerInfo;
}
finally
{
if (domainControllerInfoPtr != IntPtr.Zero)
Interop.Netutils.NetApiBufferFree(domainControllerInfoPtr);
}
}
internal static unsafe int LookupSid(string serverName, NetCred credentials, byte[] sid, out string name, out string domainName, out int accountUsage)
{
int nameLength = 0;
int domainNameLength = 0;
accountUsage = 0;
name = null;
domainName = null;
IntPtr hUser = IntPtr.Zero;
try
{
Utils.BeginImpersonation(credentials, out hUser);
// hUser could be null if no credentials were specified
Debug.Assert(hUser != IntPtr.Zero ||
(credentials == null || (credentials.UserName == null && credentials.Password == null)));
int f = Interop.Advapi32.LookupAccountSid(serverName, sid, null, ref nameLength, null, ref domainNameLength, out accountUsage);
int lastErr = Marshal.GetLastWin32Error();
if (lastErr != 122) // ERROR_INSUFFICIENT_BUFFER
{
GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "LookupSid: LookupAccountSid (1st try) failed, gle=" + lastErr);
return lastErr;
}
Debug.Assert(f == 0); // should never succeed, with a 0 buffer size
Debug.Assert(nameLength > 0);
Debug.Assert(domainNameLength > 0);
fixed (char* sbName = new char[nameLength])
fixed (char* sbDomainName = new char[domainNameLength])
{
f = Interop.Advapi32.LookupAccountSid(serverName, sid, sbName, ref nameLength, sbDomainName, ref domainNameLength, out accountUsage);
if (f == 0)
{
lastErr = Marshal.GetLastWin32Error();
Debug.Assert(lastErr != 0);
GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "LookupSid: LookupAccountSid (2nd try) failed, gle=" + lastErr);
return lastErr;
}
name = new string(sbName);
domainName = new string(sbDomainName);
}
return 0;
}
finally
{
if (hUser != IntPtr.Zero)
Utils.EndImpersonation(hUser);
}
}
internal static Principal ConstructFakePrincipalFromSID(
byte[] sid,
PrincipalContext ctx,
string serverName,
NetCred credentials,
string authorityName)
{
GlobalDebug.WriteLineIf(
GlobalDebug.Info,
"Utils",
"ConstructFakePrincipalFromSID: Build principal for SID={0}, server={1}, authority={2}",
Utils.ByteArrayToString(sid),
(serverName != null ? serverName : "NULL"),
(authorityName != null ? authorityName : "NULL"));
Debug.Assert(ClassifySID(sid) == SidType.FakeObject);
// Get the name for it
string nt4Name = "";
int accountUsage = 0;
string name;
string domainName;
int err = Utils.LookupSid(serverName, credentials, sid, out name, out domainName, out accountUsage);
if (err == 0)
{
// If it failed, we'll just live without a name
//Debug.Assert(accountUsage == 5 /*WellKnownGroup*/);
nt4Name = (!string.IsNullOrEmpty(domainName) ? domainName + "\\" : "") + name;
}
else
{
GlobalDebug.WriteLineIf(
GlobalDebug.Warn,
"Utils",
"ConstructFakePrincipalFromSID: LookupSid failed (ignoring), serverName=" + serverName + ", err=" + err);
}
// Since LookupAccountSid indicates all of the NT AUTHORITY, etc., SIDs are WellKnownGroups,
// we'll map them all to Group.
// Create a Principal object to represent it
GroupPrincipal g = GroupPrincipal.MakeGroup(ctx);
g.fakePrincipal = true;
g.unpersisted = false;
// Set the display name on the object
g.LoadValueIntoProperty(PropertyNames.PrincipalDisplayName, nt4Name);
// Set the display name on the object
g.LoadValueIntoProperty(PropertyNames.PrincipalName, name);
// Set the display name on the object
g.LoadValueIntoProperty(PropertyNames.PrincipalSamAccountName, name);
// SID IdentityClaim
SecurityIdentifier sidObj = new SecurityIdentifier(Utils.ConvertSidToSDDL(sid));
// Set the display name on the object
g.LoadValueIntoProperty(PropertyNames.PrincipalSid, sidObj);
g.LoadValueIntoProperty(PropertyNames.GroupIsSecurityGroup, true);
return g;
}
//
// Impersonation
//
internal static bool BeginImpersonation(NetCred credential, out IntPtr hUserToken)
{
GlobalDebug.WriteLineIf(GlobalDebug.Info, "Utils", "Entering BeginImpersonation");
hUserToken = IntPtr.Zero;
IntPtr hToken = IntPtr.Zero;
// default credential is specified, no need to do impersonation
if (credential == null)
{
GlobalDebug.WriteLineIf(GlobalDebug.Info, "Utils", "BeginImpersonation: nothing to impersonate");
return false;
}
// Retrive the parsed username which has had the domain removed because LogonUser
// expects creds this way.
string userName = credential.ParsedUserName;
string password = credential.Password;
string domainName = credential.Domain;
// no need to do impersonation as username and password are both null
if (userName == null && password == null)
{
GlobalDebug.WriteLineIf(GlobalDebug.Info, "Utils", "BeginImpersonation: nothing to impersonate (2)");
return false;
}
GlobalDebug.WriteLineIf(GlobalDebug.Info, "Utils", "BeginImpersonation: trying to impersonate " + userName);
int result = Interop.Advapi32.LogonUser(
userName,
domainName,
password,
9, /* LOGON32_LOGON_NEW_CREDENTIALS */
3, /* LOGON32_PROVIDER_WINNT50 */
ref hToken);
// check the result
if (result == 0)
{
int lastError = Marshal.GetLastWin32Error();
GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "BeginImpersonation: LogonUser failed, gle=" + lastError);
throw new PrincipalOperationException(
SR.Format(SR.UnableToImpersonateCredentials, lastError));
}
result = Interop.Advapi32.ImpersonateLoggedOnUser(hToken);
if (result == 0)
{
int lastError = Marshal.GetLastWin32Error();
GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "BeginImpersonation: ImpersonateLoggedOnUser failed, gle=" + lastError);
// Close the token the was created above....
Interop.Kernel32.CloseHandle(hToken);
throw new PrincipalOperationException(
SR.Format(SR.UnableToImpersonateCredentials, lastError));
}
hUserToken = hToken;
return true;
}
internal static void EndImpersonation(IntPtr hUserToken)
{
GlobalDebug.WriteLineIf(GlobalDebug.Info, "Utils", "Entering EndImpersonation");
Interop.Advapi32.RevertToSelf();
Interop.Kernel32.CloseHandle(hUserToken);
}
internal static bool IsMachineDC(string computerName)
{
IntPtr dsRoleInfoPtr = IntPtr.Zero;
int err = -1;
try
{
err = Interop.Dsrole.DsRoleGetPrimaryDomainInformation(computerName, Interop.Dsrole.DSROLE_PRIMARY_DOMAIN_INFO_LEVEL.DsRolePrimaryDomainInfoBasic, out dsRoleInfoPtr);
if (err != 0)
{
GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "IsMachineDC: DsRoleGetPrimaryDomainInformation failed, err=" + err);
throw new PrincipalOperationException(
SR.Format(
SR.UnableToRetrieveDomainInfo,
err));
}
UnsafeNativeMethods.DSROLE_PRIMARY_DOMAIN_INFO_BASIC dsRolePrimaryDomainInfo =
(UnsafeNativeMethods.DSROLE_PRIMARY_DOMAIN_INFO_BASIC)Marshal.PtrToStructure(dsRoleInfoPtr, typeof(UnsafeNativeMethods.DSROLE_PRIMARY_DOMAIN_INFO_BASIC));
return (dsRolePrimaryDomainInfo.MachineRole == UnsafeNativeMethods.DSROLE_MACHINE_ROLE.DsRole_RoleBackupDomainController ||
dsRolePrimaryDomainInfo.MachineRole == UnsafeNativeMethods.DSROLE_MACHINE_ROLE.DsRole_RolePrimaryDomainController);
}
finally
{
if (dsRoleInfoPtr != IntPtr.Zero)
Interop.Dsrole.DsRoleFreeMemory(dsRoleInfoPtr);
}
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Diagnostics;
using System.Globalization;
using System.Runtime.InteropServices;
using System.Text;
using System.Security.Principal;
using Microsoft.Win32.SafeHandles;
namespace System.DirectoryServices.AccountManagement
{
internal static class Utils
{
//
// byte utilities
//
/// <summary>
/// Performs bytewise comparison of two byte[] arrays
/// </summary>
/// <param name="src">Array to compare</param>
/// <param name="tgt">Array to compare against src</param>
/// <returns>true if identical, false otherwise</returns>
internal static bool AreBytesEqual(byte[] src, byte[] tgt)
{
if (src.Length != tgt.Length)
return false;
for (int i = 0; i < src.Length; i++)
{
if (src[i] != tgt[i])
return false;
}
return true;
}
internal static void ClearBit(ref int value, uint bitmask)
{
value = (int)(((uint)value) & ((uint)(~bitmask)));
}
internal static void SetBit(ref int value, uint bitmask)
{
value = (int)(((uint)value) | ((uint)bitmask));
}
// {0xa2, 0x3f,...} --> "a23f..."
internal static string ByteArrayToString(byte[] byteArray)
{
StringBuilder stringizedArray = new StringBuilder();
foreach (byte b in byteArray)
{
stringizedArray.Append(b.ToString("x2", CultureInfo.InvariantCulture));
}
return stringizedArray.ToString();
}
// Use this for ldap search filter string...
internal static string SecurityIdentifierToLdapHexFilterString(SecurityIdentifier sid)
{
return (ADUtils.HexStringToLdapHexString(SecurityIdentifierToLdapHexBindingString(sid)));
}
// use this for binding string...
internal static string SecurityIdentifierToLdapHexBindingString(SecurityIdentifier sid)
{
byte[] sidB = new byte[sid.BinaryLength];
sid.GetBinaryForm(sidB, 0);
StringBuilder stringizedBinarySid = new StringBuilder();
foreach (byte b in sidB)
{
stringizedBinarySid.Append(b.ToString("x2", CultureInfo.InvariantCulture));
}
return stringizedBinarySid.ToString();
}
internal static byte[] StringToByteArray(string s)
{
if (s.Length % 2 != 0)
{
GlobalDebug.WriteLineIf(GlobalDebug.Warn, "Utils", "StringToByteArray: string has bad length " + s.Length);
return null;
}
byte[] bytes = new byte[s.Length / 2];
for (int i = 0; i < (s.Length) / 2; i++)
{
char firstChar = s[i * 2];
char secondChar = s[(i * 2) + 1];
if (((firstChar >= '0' && firstChar <= '9') || (firstChar >= 'A' && firstChar <= 'F') || (firstChar >= 'a' && firstChar <= 'f')) &&
((secondChar >= '0' && secondChar <= '9') || (secondChar >= 'A' && secondChar <= 'F') || (secondChar >= 'a' && secondChar <= 'f')))
{
byte b = byte.Parse(s.Substring(i * 2, 2), NumberStyles.AllowHexSpecifier, CultureInfo.InvariantCulture);
bytes[i] = b;
}
else
{
GlobalDebug.WriteLineIf(GlobalDebug.Warn, "Utils", "StringToByteArray: invalid string: " + s);
return null;
}
}
return bytes;
}
//
// SID Utilities
//
internal static string ConvertSidToSDDL(byte[] sid)
{
// To put the byte[] SID into SDDL, we use ConvertSidToStringSid.
// Calling that requires we first copy the SID into native memory.
IntPtr pSid = IntPtr.Zero;
try
{
pSid = ConvertByteArrayToIntPtr(sid);
if (Interop.Advapi32.ConvertSidToStringSid(pSid, out string sddlSid) != Interop.BOOL.FALSE)
{
return sddlSid;
}
else
{
int lastErrorCode = Marshal.GetLastWin32Error();
GlobalDebug.WriteLineIf(
GlobalDebug.Warn,
"Utils",
"ConvertSidToSDDL: ConvertSidToStringSid failed, " + lastErrorCode);
return null;
}
}
finally
{
if (pSid != IntPtr.Zero)
Marshal.FreeHGlobal(pSid);
}
}
// The caller must call Marshal.FreeHGlobal on the returned
// value to free it.
internal static IntPtr ConvertByteArrayToIntPtr(byte[] bytes)
{
IntPtr pBytes = IntPtr.Zero;
pBytes = Marshal.AllocHGlobal(bytes.Length);
try
{
Marshal.Copy(bytes, 0, pBytes, bytes.Length);
}
catch (Exception e)
{
GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "ConvertByteArrayToIntPtr: caught exception of type "
+ e.GetType().ToString() +
" and message " + e.Message);
Marshal.FreeHGlobal(pBytes);
throw;
}
Debug.Assert(pBytes != IntPtr.Zero);
return pBytes;
}
internal static byte[] ConvertNativeSidToByteArray(IntPtr pSid)
{
int sidLength = Interop.Advapi32.GetLengthSid(pSid);
byte[] sid = new byte[sidLength];
Marshal.Copy(pSid, sid, 0, sidLength);
return sid;
}
internal static SidType ClassifySID(byte[] sid)
{
IntPtr pSid = IntPtr.Zero;
try
{
pSid = ConvertByteArrayToIntPtr(sid);
return ClassifySID(pSid);
}
finally
{
if (pSid != IntPtr.Zero)
Marshal.FreeHGlobal(pSid);
}
}
internal static SidType ClassifySID(IntPtr pSid)
{
Debug.Assert(Interop.Advapi32.IsValidSid(pSid));
// Get the issuing authority and the first RID
IntPtr pIdentAuth = Interop.Advapi32.GetSidIdentifierAuthority(pSid);
Interop.Advapi32.SID_IDENTIFIER_AUTHORITY identAuth =
(Interop.Advapi32.SID_IDENTIFIER_AUTHORITY)Marshal.PtrToStructure(pIdentAuth, typeof(Interop.Advapi32.SID_IDENTIFIER_AUTHORITY));
IntPtr pRid = Interop.Advapi32.GetSidSubAuthority(pSid, 0);
int rid = Marshal.ReadInt32(pRid);
// These bit signify that the sid was issued by ADAM. If so then it can't be a fake sid.
if ((identAuth.b3 & 0xF0) == 0x10)
return SidType.RealObject;
// Is it S-1-5-...?
if (!(identAuth.b1 == 0) &&
(identAuth.b2 == 0) &&
(identAuth.b3 == 0) &&
(identAuth.b4 == 0) &&
(identAuth.b5 == 0) &&
(identAuth.b6 == 5))
{
// No, so it can't be an account or builtin SID.
// Probably something like \Everyone or \LOCAL.
return SidType.FakeObject;
}
return rid switch
{
21 => SidType.RealObject, // Account SID
32 => SidType.RealObjectFakeDomain, // BUILTIN SID
_ => SidType.FakeObject,
};
}
internal static int GetLastRidFromSid(IntPtr pSid)
{
IntPtr pRidCount = Interop.Advapi32.GetSidSubAuthorityCount(pSid);
int ridCount = Marshal.ReadByte(pRidCount);
IntPtr pLastRid = Interop.Advapi32.GetSidSubAuthority(pSid, ridCount - 1);
int lastRid = Marshal.ReadInt32(pLastRid);
return lastRid;
}
internal static int GetLastRidFromSid(byte[] sid)
{
IntPtr pSid = IntPtr.Zero;
try
{
pSid = Utils.ConvertByteArrayToIntPtr(sid);
int rid = GetLastRidFromSid(pSid);
return rid;
}
finally
{
if (pSid != IntPtr.Zero)
Marshal.FreeHGlobal(pSid);
}
}
//
//
//
internal static bool IsSamUser()
{
//
// Basic algorithm
//
// Get SID of current user (via OpenThreadToken/GetTokenInformation/CloseHandle for TokenUser)
//
// Is the user SID of the form S-1-5-21-... (does GetSidIdentityAuthority(u) == 5 and GetSidSubauthority(u, 0) == 21)?
// If NO ---> is local user
// If YES --->
// Get machine domain SID (via LsaOpenPolicy/LsaQueryInformationPolicy for PolicyAccountDomainInformation/LsaClose)
// Does EqualDomainSid indicate the current user SID and the machine domain SID have the same domain?
// If YES -->
// IS the local machine a DC
// If NO --> is local user
// If YES --> is _not_ local user
// If NO --> is _not_ local user
//
IntPtr pCopyOfUserSid = IntPtr.Zero;
IntPtr pMachineDomainSid = IntPtr.Zero;
try
{
// Get the user's SID
pCopyOfUserSid = GetCurrentUserSid();
// Is it of S-1-5-21 form: Is the issuing authority NT_AUTHORITY and the RID NT_NOT_UNIQUE?
SidType sidType = ClassifySID(pCopyOfUserSid);
if (sidType == SidType.RealObject)
{
// It's a domain SID. Now, is the domain portion for the local machine, or something else?
// Get the machine domain SID
pMachineDomainSid = GetMachineDomainSid();
// Does the user SID have the same domain as the machine SID?
bool sameDomain = false;
bool success = Interop.Advapi32.EqualDomainSid(pCopyOfUserSid, pMachineDomainSid, ref sameDomain);
// Since both pCopyOfUserSid and pMachineDomainSid should always be account SIDs
Debug.Assert(success == true);
// If user SID is the same domain as the machine domain, and the machine is not a DC then the user is a local (machine) user
return sameDomain ? !IsMachineDC(null) : false;
}
else
{
// It's not a domain SID, must be local (e.g., NT AUTHORITY\foo, or BUILTIN\foo)
return true;
}
}
finally
{
if (pCopyOfUserSid != IntPtr.Zero)
Marshal.FreeHGlobal(pCopyOfUserSid);
if (pMachineDomainSid != IntPtr.Zero)
Marshal.FreeHGlobal(pMachineDomainSid);
}
}
internal static IntPtr GetCurrentUserSid()
{
SafeTokenHandle tokenHandle = null;
IntPtr pBuffer = IntPtr.Zero;
try
{
//
// Get the current user's SID
//
int error = 0;
// Get the current thread's token
if (!Interop.Advapi32.OpenThreadToken(
Interop.Kernel32.GetCurrentThread(),
TokenAccessLevels.Query,
true,
out tokenHandle
))
{
if ((error = Marshal.GetLastWin32Error()) == 1008) // ERROR_NO_TOKEN
{
Debug.Assert(tokenHandle.IsInvalid);
// Current thread doesn't have a token, try the process
if (!Interop.Advapi32.OpenProcessToken(
Interop.Kernel32.GetCurrentProcess(),
(int)TokenAccessLevels.Query,
out tokenHandle
))
{
int lastError = Marshal.GetLastWin32Error();
GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "GetCurrentUserSid: OpenProcessToken failed, gle=" + lastError);
throw new PrincipalOperationException(SR.Format(SR.UnableToOpenToken, lastError));
}
}
else
{
GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "GetCurrentUserSid: OpenThreadToken failed, gle=" + error);
throw new PrincipalOperationException(SR.Format(SR.UnableToOpenToken, error));
}
}
Debug.Assert(!tokenHandle.IsInvalid);
uint neededBufferSize = 0;
// Retrieve the user info from the current thread's token
// First, determine how big a buffer we need.
bool success = Interop.Advapi32.GetTokenInformation(
tokenHandle.DangerousGetHandle(),
(uint)Interop.Advapi32.TOKEN_INFORMATION_CLASS.TokenUser,
IntPtr.Zero,
0,
out neededBufferSize);
int getTokenInfoError = 0;
if ((getTokenInfoError = Marshal.GetLastWin32Error()) != 122) // ERROR_INSUFFICIENT_BUFFER
{
GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "GetCurrentUserSid: GetTokenInformation (1st try) failed, gle=" + getTokenInfoError);
throw new PrincipalOperationException(
SR.Format(SR.UnableToRetrieveTokenInfo, getTokenInfoError));
}
// Allocate the necessary buffer.
Debug.Assert(neededBufferSize > 0);
pBuffer = Marshal.AllocHGlobal((int)neededBufferSize);
// Load the user info into the buffer
success = Interop.Advapi32.GetTokenInformation(
tokenHandle.DangerousGetHandle(),
(uint)Interop.Advapi32.TOKEN_INFORMATION_CLASS.TokenUser,
pBuffer,
neededBufferSize,
out neededBufferSize);
if (!success)
{
int lastError = Marshal.GetLastWin32Error();
GlobalDebug.WriteLineIf(GlobalDebug.Error,
"Utils",
"GetCurrentUserSid: GetTokenInformation (2nd try) failed, neededBufferSize=" + neededBufferSize + ", gle=" + lastError);
throw new PrincipalOperationException(
SR.Format(SR.UnableToRetrieveTokenInfo, lastError));
}
// Retrieve the user's SID from the user info
Interop.TOKEN_USER tokenUser = (Interop.TOKEN_USER)Marshal.PtrToStructure(pBuffer, typeof(Interop.TOKEN_USER));
IntPtr pUserSid = tokenUser.sidAndAttributes.Sid; // this is a reference into the NATIVE memory (into pBuffer)
Debug.Assert(Interop.Advapi32.IsValidSid(pUserSid));
// Now we make a copy of the SID to return
int userSidLength = Interop.Advapi32.GetLengthSid(pUserSid);
IntPtr pCopyOfUserSid = Marshal.AllocHGlobal(userSidLength);
success = Interop.Advapi32.CopySid(userSidLength, pCopyOfUserSid, pUserSid);
if (!success)
{
int lastError = Marshal.GetLastWin32Error();
GlobalDebug.WriteLineIf(GlobalDebug.Error,
"Utils",
"GetCurrentUserSid: CopySid failed, errorcode=" + lastError);
throw new PrincipalOperationException(
SR.Format(SR.UnableToRetrieveTokenInfo, lastError));
}
return pCopyOfUserSid;
}
finally
{
if (tokenHandle != null)
tokenHandle.Dispose();
if (pBuffer != IntPtr.Zero)
Marshal.FreeHGlobal(pBuffer);
}
}
internal static IntPtr GetMachineDomainSid()
{
SafeLsaPolicyHandle policyHandle = null;
IntPtr pBuffer = IntPtr.Zero;
try
{
Interop.OBJECT_ATTRIBUTES oa = default;
uint err = Interop.Advapi32.LsaOpenPolicy(
SystemName: null,
ref oa,
(int)Interop.Advapi32.PolicyRights.POLICY_VIEW_LOCAL_INFORMATION,
out policyHandle);
if (err != 0)
{
GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "GetMachineDomainSid: LsaOpenPolicy failed, gle=" + Interop.Advapi32.LsaNtStatusToWinError(err));
throw new PrincipalOperationException(SR.Format(
SR.UnableToRetrievePolicy,
Interop.Advapi32.LsaNtStatusToWinError(err)));
}
Debug.Assert(!policyHandle.IsInvalid);
err = Interop.Advapi32.LsaQueryInformationPolicy(
policyHandle.DangerousGetHandle(),
5, // PolicyAccountDomainInformation
ref pBuffer);
if (err != 0)
{
GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "GetMachineDomainSid: LsaQueryInformationPolicy failed, gle=" + Interop.Advapi32.LsaNtStatusToWinError(err));
throw new PrincipalOperationException(SR.Format(
SR.UnableToRetrievePolicy,
Interop.Advapi32.LsaNtStatusToWinError(err)));
}
Debug.Assert(pBuffer != IntPtr.Zero);
UnsafeNativeMethods.POLICY_ACCOUNT_DOMAIN_INFO info = (UnsafeNativeMethods.POLICY_ACCOUNT_DOMAIN_INFO)
Marshal.PtrToStructure(pBuffer, typeof(UnsafeNativeMethods.POLICY_ACCOUNT_DOMAIN_INFO));
Debug.Assert(Interop.Advapi32.IsValidSid(info.DomainSid));
// Now we make a copy of the SID to return
int sidLength = Interop.Advapi32.GetLengthSid(info.DomainSid);
IntPtr pCopyOfSid = Marshal.AllocHGlobal(sidLength);
bool success = Interop.Advapi32.CopySid(sidLength, pCopyOfSid, info.DomainSid);
if (!success)
{
int lastError = Marshal.GetLastWin32Error();
GlobalDebug.WriteLineIf(GlobalDebug.Error,
"Utils",
"GetMachineDomainSid: CopySid failed, errorcode=" + lastError);
throw new PrincipalOperationException(
SR.Format(SR.UnableToRetrievePolicy, lastError));
}
return pCopyOfSid;
}
finally
{
if (policyHandle != null)
policyHandle.Dispose();
if (pBuffer != IntPtr.Zero)
Interop.Advapi32.LsaFreeMemory(pBuffer);
}
}
// Returns name in the form "domain\user"
internal static string GetNT4UserName()
{
using (WindowsIdentity currentIdentity = System.Security.Principal.WindowsIdentity.GetCurrent())
{
string s = currentIdentity.Name;
GlobalDebug.WriteLineIf(GlobalDebug.Info, "Utils", "GetNT4UserName: name is " + s);
return s;
}
}
internal static string GetComputerFlatName()
{
//string s = System.Windows.Forms.SystemInformation.ComputerName;
string s = Environment.MachineName;
GlobalDebug.WriteLineIf(GlobalDebug.Info, "Utils", "GetComputerFlatName: name is " + s);
return s;
}
//
// Interop support
//
internal static UnsafeNativeMethods.DomainControllerInfo GetDcName(string computerName, string domainName, string siteName, int flags)
{
IntPtr domainControllerInfoPtr = IntPtr.Zero;
try
{
int err = Interop.Logoncli.DsGetDcName(computerName, domainName, IntPtr.Zero, siteName, flags, out domainControllerInfoPtr);
if (err != 0)
{
GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "GetDcName: DsGetDcName failed, err=" + err);
throw new PrincipalOperationException(
SR.Format(
SR.UnableToRetrieveDomainInfo,
err),
err);
}
UnsafeNativeMethods.DomainControllerInfo domainControllerInfo =
(UnsafeNativeMethods.DomainControllerInfo)Marshal.PtrToStructure(domainControllerInfoPtr, typeof(UnsafeNativeMethods.DomainControllerInfo));
return domainControllerInfo;
}
finally
{
if (domainControllerInfoPtr != IntPtr.Zero)
Interop.Netutils.NetApiBufferFree(domainControllerInfoPtr);
}
}
internal static unsafe int LookupSid(string serverName, NetCred credentials, byte[] sid, out string name, out string domainName, out int accountUsage)
{
int nameLength = 0;
int domainNameLength = 0;
accountUsage = 0;
name = null;
domainName = null;
IntPtr hUser = IntPtr.Zero;
try
{
Utils.BeginImpersonation(credentials, out hUser);
// hUser could be null if no credentials were specified
Debug.Assert(hUser != IntPtr.Zero ||
(credentials == null || (credentials.UserName == null && credentials.Password == null)));
int f = Interop.Advapi32.LookupAccountSid(serverName, sid, null, ref nameLength, null, ref domainNameLength, out accountUsage);
int lastErr = Marshal.GetLastWin32Error();
if (lastErr != 122) // ERROR_INSUFFICIENT_BUFFER
{
GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "LookupSid: LookupAccountSid (1st try) failed, gle=" + lastErr);
return lastErr;
}
Debug.Assert(f == 0); // should never succeed, with a 0 buffer size
Debug.Assert(nameLength > 0);
Debug.Assert(domainNameLength > 0);
fixed (char* sbName = new char[nameLength])
fixed (char* sbDomainName = new char[domainNameLength])
{
f = Interop.Advapi32.LookupAccountSid(serverName, sid, sbName, ref nameLength, sbDomainName, ref domainNameLength, out accountUsage);
if (f == 0)
{
lastErr = Marshal.GetLastWin32Error();
Debug.Assert(lastErr != 0);
GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "LookupSid: LookupAccountSid (2nd try) failed, gle=" + lastErr);
return lastErr;
}
name = new string(sbName);
domainName = new string(sbDomainName);
}
return 0;
}
finally
{
if (hUser != IntPtr.Zero)
Utils.EndImpersonation(hUser);
}
}
internal static Principal ConstructFakePrincipalFromSID(
byte[] sid,
PrincipalContext ctx,
string serverName,
NetCred credentials,
string authorityName)
{
GlobalDebug.WriteLineIf(
GlobalDebug.Info,
"Utils",
"ConstructFakePrincipalFromSID: Build principal for SID={0}, server={1}, authority={2}",
Utils.ByteArrayToString(sid),
(serverName != null ? serverName : "NULL"),
(authorityName != null ? authorityName : "NULL"));
Debug.Assert(ClassifySID(sid) == SidType.FakeObject);
// Get the name for it
string nt4Name = "";
int accountUsage = 0;
string name;
string domainName;
int err = Utils.LookupSid(serverName, credentials, sid, out name, out domainName, out accountUsage);
if (err == 0)
{
// If it failed, we'll just live without a name
//Debug.Assert(accountUsage == 5 /*WellKnownGroup*/);
nt4Name = (!string.IsNullOrEmpty(domainName) ? domainName + "\\" : "") + name;
}
else
{
GlobalDebug.WriteLineIf(
GlobalDebug.Warn,
"Utils",
"ConstructFakePrincipalFromSID: LookupSid failed (ignoring), serverName=" + serverName + ", err=" + err);
}
// Since LookupAccountSid indicates all of the NT AUTHORITY, etc., SIDs are WellKnownGroups,
// we'll map them all to Group.
// Create a Principal object to represent it
GroupPrincipal g = GroupPrincipal.MakeGroup(ctx);
g.fakePrincipal = true;
g.unpersisted = false;
// Set the display name on the object
g.LoadValueIntoProperty(PropertyNames.PrincipalDisplayName, nt4Name);
// Set the display name on the object
g.LoadValueIntoProperty(PropertyNames.PrincipalName, name);
// Set the display name on the object
g.LoadValueIntoProperty(PropertyNames.PrincipalSamAccountName, name);
// SID IdentityClaim
SecurityIdentifier sidObj = new SecurityIdentifier(Utils.ConvertSidToSDDL(sid));
// Set the display name on the object
g.LoadValueIntoProperty(PropertyNames.PrincipalSid, sidObj);
g.LoadValueIntoProperty(PropertyNames.GroupIsSecurityGroup, true);
return g;
}
//
// Impersonation
//
internal static bool BeginImpersonation(NetCred credential, out IntPtr hUserToken)
{
GlobalDebug.WriteLineIf(GlobalDebug.Info, "Utils", "Entering BeginImpersonation");
hUserToken = IntPtr.Zero;
IntPtr hToken = IntPtr.Zero;
// default credential is specified, no need to do impersonation
if (credential == null)
{
GlobalDebug.WriteLineIf(GlobalDebug.Info, "Utils", "BeginImpersonation: nothing to impersonate");
return false;
}
// Retrive the parsed username which has had the domain removed because LogonUser
// expects creds this way.
string userName = credential.ParsedUserName;
string password = credential.Password;
string domainName = credential.Domain;
// no need to do impersonation as username and password are both null
if (userName == null && password == null)
{
GlobalDebug.WriteLineIf(GlobalDebug.Info, "Utils", "BeginImpersonation: nothing to impersonate (2)");
return false;
}
GlobalDebug.WriteLineIf(GlobalDebug.Info, "Utils", "BeginImpersonation: trying to impersonate " + userName);
int result = Interop.Advapi32.LogonUser(
userName,
domainName,
password,
9, /* LOGON32_LOGON_NEW_CREDENTIALS */
3, /* LOGON32_PROVIDER_WINNT50 */
ref hToken);
// check the result
if (result == 0)
{
int lastError = Marshal.GetLastWin32Error();
GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "BeginImpersonation: LogonUser failed, gle=" + lastError);
throw new PrincipalOperationException(
SR.Format(SR.UnableToImpersonateCredentials, lastError));
}
result = Interop.Advapi32.ImpersonateLoggedOnUser(hToken);
if (result == 0)
{
int lastError = Marshal.GetLastWin32Error();
GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "BeginImpersonation: ImpersonateLoggedOnUser failed, gle=" + lastError);
// Close the token the was created above....
Interop.Kernel32.CloseHandle(hToken);
throw new PrincipalOperationException(
SR.Format(SR.UnableToImpersonateCredentials, lastError));
}
hUserToken = hToken;
return true;
}
internal static void EndImpersonation(IntPtr hUserToken)
{
GlobalDebug.WriteLineIf(GlobalDebug.Info, "Utils", "Entering EndImpersonation");
Interop.Advapi32.RevertToSelf();
Interop.Kernel32.CloseHandle(hUserToken);
}
internal static bool IsMachineDC(string computerName)
{
IntPtr dsRoleInfoPtr = IntPtr.Zero;
int err = -1;
try
{
err = Interop.Dsrole.DsRoleGetPrimaryDomainInformation(computerName, Interop.Dsrole.DSROLE_PRIMARY_DOMAIN_INFO_LEVEL.DsRolePrimaryDomainInfoBasic, out dsRoleInfoPtr);
if (err != 0)
{
GlobalDebug.WriteLineIf(GlobalDebug.Error, "Utils", "IsMachineDC: DsRoleGetPrimaryDomainInformation failed, err=" + err);
throw new PrincipalOperationException(
SR.Format(
SR.UnableToRetrieveDomainInfo,
err));
}
UnsafeNativeMethods.DSROLE_PRIMARY_DOMAIN_INFO_BASIC dsRolePrimaryDomainInfo =
(UnsafeNativeMethods.DSROLE_PRIMARY_DOMAIN_INFO_BASIC)Marshal.PtrToStructure(dsRoleInfoPtr, typeof(UnsafeNativeMethods.DSROLE_PRIMARY_DOMAIN_INFO_BASIC));
return (dsRolePrimaryDomainInfo.MachineRole == UnsafeNativeMethods.DSROLE_MACHINE_ROLE.DsRole_RoleBackupDomainController ||
dsRolePrimaryDomainInfo.MachineRole == UnsafeNativeMethods.DSROLE_MACHINE_ROLE.DsRole_RolePrimaryDomainController);
}
finally
{
if (dsRoleInfoPtr != IntPtr.Zero)
Interop.Dsrole.DsRoleFreeMemory(dsRoleInfoPtr);
}
}
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/tests/JIT/Directed/coverage/oldtests/lcliimpl.il | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
.assembly extern legacy library mscorlib {}
.assembly extern System.Console
{
.publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
.ver 4:0:0:0
}
.assembly lcliimpl {}
.method public static int32 main() cil managed
{
.entrypoint
call int32 f()
ret
}
.method public static int32 f() cil managed
{
// Code size 26 (0x1a)
.maxstack 1
.locals init (class itest& V_0,
class ctest V_1)
IL_0000: ldnull
IL_0001: stloc.1
IL_0002: newobj instance void ctest::.ctor()
IL_0007: stloc.1
IL_0008: ldloca.s V_1
IL_000a: //castclass itest
IL_000f: stloc.0
IL_0010: ldloc.0
IL_0011: ldind.ref
IL_0012: callvirt instance int32 itest::f()
IL_0017: br.s IL_0019
IL_0019: ret
}
.class interface private abstract auto ansi itest
{
.method public newslot abstract virtual
instance int32 f() cil managed
{
} // end of method itest::f
} // end of class itest
.class private auto ansi ctest
extends [mscorlib]System.Object
implements itest
{
.method public virtual instance int32 f() cil managed
{
// Code size 5 (0x5)
.maxstack 1
IL_0000: ldc.i4.s 100
IL_0002: br.s IL_0004
IL_0004: ret
} // end of method ctest::f
.method public specialname rtspecialname
instance void .ctor() cil managed
{
// Code size 7 (0x7)
.maxstack 1
IL_0000: ldarg.0
IL_0001: call instance void [mscorlib]System.Object::.ctor()
IL_0006: ret
} // end of method ctest::.ctor
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
.assembly extern legacy library mscorlib {}
.assembly extern System.Console
{
.publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
.ver 4:0:0:0
}
.assembly lcliimpl {}
.method public static int32 main() cil managed
{
.entrypoint
call int32 f()
ret
}
.method public static int32 f() cil managed
{
// Code size 26 (0x1a)
.maxstack 1
.locals init (class itest& V_0,
class ctest V_1)
IL_0000: ldnull
IL_0001: stloc.1
IL_0002: newobj instance void ctest::.ctor()
IL_0007: stloc.1
IL_0008: ldloca.s V_1
IL_000a: //castclass itest
IL_000f: stloc.0
IL_0010: ldloc.0
IL_0011: ldind.ref
IL_0012: callvirt instance int32 itest::f()
IL_0017: br.s IL_0019
IL_0019: ret
}
.class interface private abstract auto ansi itest
{
.method public newslot abstract virtual
instance int32 f() cil managed
{
} // end of method itest::f
} // end of class itest
.class private auto ansi ctest
extends [mscorlib]System.Object
implements itest
{
.method public virtual instance int32 f() cil managed
{
// Code size 5 (0x5)
.maxstack 1
IL_0000: ldc.i4.s 100
IL_0002: br.s IL_0004
IL_0004: ret
} // end of method ctest::f
.method public specialname rtspecialname
instance void .ctor() cil managed
{
// Code size 7 (0x7)
.maxstack 1
IL_0000: ldarg.0
IL_0001: call instance void [mscorlib]System.Object::.ctor()
IL_0006: ret
} // end of method ctest::.ctor
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/libraries/Common/src/Interop/Windows/Advapi32/Interop.OpenEventLog.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Runtime.InteropServices;
using Microsoft.Win32.SafeHandles;
internal static partial class Interop
{
internal static partial class Advapi32
{
[GeneratedDllImport(Libraries.Advapi32, EntryPoint = "OpenEventLogW", SetLastError = true, StringMarshalling = StringMarshalling.Utf16)]
internal static partial SafeEventLogReadHandle OpenEventLog(string lpUNCServerName, string lpSourceName);
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Runtime.InteropServices;
using Microsoft.Win32.SafeHandles;
internal static partial class Interop
{
internal static partial class Advapi32
{
[GeneratedDllImport(Libraries.Advapi32, EntryPoint = "OpenEventLogW", SetLastError = true, StringMarshalling = StringMarshalling.Utf16)]
internal static partial SafeEventLogReadHandle OpenEventLog(string lpUNCServerName, string lpSourceName);
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/tests/JIT/HardwareIntrinsics/Arm/Shared/LoadUnOpTest.template | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/******************************************************************************
* This file is auto-generated from a template file by the GenerateTests.csx *
* script in tests\src\JIT\HardwareIntrinsics\Arm\Shared. In order to make *
* changes, please update the corresponding template and run according to the *
* directions listed in the file. *
******************************************************************************/
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.Arm;
namespace JIT.HardwareIntrinsics.Arm
{
public static partial class Program
{
private static void {TestName}()
{
var test = new LoadUnaryOpTest__{TestName}();
if (test.IsSupported)
{
// Validates basic functionality works
test.RunBasicScenario_Load();
// Validates calling via reflection works
test.RunReflectionScenario_Load();
}
else
{
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
if (!test.Succeeded)
{
throw new Exception("One or more scenarios did not complete as expected.");
}
}
}
public sealed unsafe class LoadUnaryOpTest__{TestName}
{
private struct DataTable
{
private byte[] inArray1;
private byte[] outArray;
private GCHandle inHandle1;
private GCHandle outHandle;
private ulong alignment;
public DataTable({Op1BaseType}[] inArray1, {RetBaseType}[] outArray, int alignment)
{
int sizeOfinArray1 = inArray1.Length * Unsafe.SizeOf<{Op1BaseType}>();
int sizeOfoutArray = outArray.Length * Unsafe.SizeOf<{RetBaseType}>();
if ((alignment != 16 && alignment != 8) || (alignment * 2) < sizeOfinArray1 || (alignment * 2) < sizeOfoutArray)
{
throw new ArgumentException("Invalid value of alignment");
}
this.inArray1 = new byte[alignment * 2];
this.outArray = new byte[alignment * 2];
this.inHandle1 = GCHandle.Alloc(this.inArray1, GCHandleType.Pinned);
this.outHandle = GCHandle.Alloc(this.outArray, GCHandleType.Pinned);
this.alignment = (ulong)alignment;
Unsafe.CopyBlockUnaligned(ref Unsafe.AsRef<byte>(inArray1Ptr), ref Unsafe.As<{Op1BaseType}, byte>(ref inArray1[0]), (uint)sizeOfinArray1);
}
public void* inArray1Ptr => Align((byte*)(inHandle1.AddrOfPinnedObject().ToPointer()), alignment);
public void* outArrayPtr => Align((byte*)(outHandle.AddrOfPinnedObject().ToPointer()), alignment);
public void Dispose()
{
inHandle1.Free();
outHandle.Free();
}
private static unsafe void* Align(byte* buffer, ulong expectedAlignment)
{
return (void*)(((ulong)buffer + expectedAlignment - 1) & ~(expectedAlignment - 1));
}
}
private static readonly int LargestVectorSize = {LargestVectorSize};
private static readonly int Op1ElementCount = Unsafe.SizeOf<{Op1VectorType}<{Op1BaseType}>>() / sizeof({Op1BaseType});
private static readonly int RetElementCount = Unsafe.SizeOf<{RetVectorType}<{RetBaseType}>>() / sizeof({RetBaseType});
private static {Op1BaseType}[] _data = new {Op1BaseType}[Op1ElementCount];
private DataTable _dataTable;
public LoadUnaryOpTest__{TestName}()
{
Succeeded = true;
for (var i = 0; i < Op1ElementCount; i++) { _data[i] = {NextValueOp1}; }
_dataTable = new DataTable(_data, new {RetBaseType}[RetElementCount], LargestVectorSize);
}
public bool IsSupported => {Isa}.IsSupported;
public bool Succeeded { get; set; }
public void RunBasicScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
var result = {Isa}.{Method}(
({Op1BaseType}*)(_dataTable.inArray1Ptr)
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_dataTable.inArray1Ptr, _dataTable.outArrayPtr);
}
public void RunReflectionScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
var result = typeof({Isa}).GetMethod(nameof({Isa}.{Method}), new Type[] { typeof({Op1BaseType}*) })
.Invoke(null, new object[] {
Pointer.Box(_dataTable.inArray1Ptr, typeof({Op1BaseType}*))
});
Unsafe.Write(_dataTable.outArrayPtr, ({RetVectorType}<{RetBaseType}>)(result));
ValidateResult(_dataTable.inArray1Ptr, _dataTable.outArrayPtr);
}
public void RunUnsupportedScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
Succeeded = false;
try
{
RunBasicScenario_Load();
}
catch (PlatformNotSupportedException)
{
Succeeded = true;
}
}
private void ValidateResult({Op1VectorType}<{Op1BaseType}> firstOp, void* result, [CallerMemberName] string method = "")
{
{Op1BaseType}[] inArray = new {Op1BaseType}[Op1ElementCount];
{RetBaseType}[] outArray = new {RetBaseType}[RetElementCount];
Unsafe.WriteUnaligned(ref Unsafe.As<{Op1BaseType}, byte>(ref inArray[0]), firstOp);
Unsafe.CopyBlockUnaligned(ref Unsafe.As<{RetBaseType}, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<{RetVectorType}<{RetBaseType}>>());
ValidateResult(inArray, outArray, method);
}
private void ValidateResult(void* firstOp, void* result, [CallerMemberName] string method = "")
{
{Op1BaseType}[] inArray = new {Op1BaseType}[Op1ElementCount];
{RetBaseType}[] outArray = new {RetBaseType}[RetElementCount];
Unsafe.CopyBlockUnaligned(ref Unsafe.As<{Op1BaseType}, byte>(ref inArray[0]), ref Unsafe.AsRef<byte>(firstOp), (uint)Unsafe.SizeOf<{Op1VectorType}<{Op1BaseType}>>());
Unsafe.CopyBlockUnaligned(ref Unsafe.As<{RetBaseType}, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<{RetVectorType}<{RetBaseType}>>());
ValidateResult(inArray, outArray, method);
}
private void ValidateResult({Op1BaseType}[] firstOp, {RetBaseType}[] result, [CallerMemberName] string method = "")
{
bool succeeded = true;
for (var i = 0; i < RetElementCount; i++)
{
if ({ValidateIterResult})
{
succeeded = false;
break;
}
}
if (!succeeded)
{
TestLibrary.TestFramework.LogInformation($"{nameof({Isa})}.{nameof({Isa}.{Method})}<{RetBaseType}>({Op1VectorType}<{Op1BaseType}>): {method} failed:");
TestLibrary.TestFramework.LogInformation($" firstOp: ({string.Join(", ", firstOp)})");
TestLibrary.TestFramework.LogInformation($" result: ({string.Join(", ", result)})");
TestLibrary.TestFramework.LogInformation(string.Empty);
Succeeded = false;
}
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/******************************************************************************
* This file is auto-generated from a template file by the GenerateTests.csx *
* script in tests\src\JIT\HardwareIntrinsics\Arm\Shared. In order to make *
* changes, please update the corresponding template and run according to the *
* directions listed in the file. *
******************************************************************************/
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.Arm;
namespace JIT.HardwareIntrinsics.Arm
{
public static partial class Program
{
private static void {TestName}()
{
var test = new LoadUnaryOpTest__{TestName}();
if (test.IsSupported)
{
// Validates basic functionality works
test.RunBasicScenario_Load();
// Validates calling via reflection works
test.RunReflectionScenario_Load();
}
else
{
// Validates we throw on unsupported hardware
test.RunUnsupportedScenario();
}
if (!test.Succeeded)
{
throw new Exception("One or more scenarios did not complete as expected.");
}
}
}
public sealed unsafe class LoadUnaryOpTest__{TestName}
{
private struct DataTable
{
private byte[] inArray1;
private byte[] outArray;
private GCHandle inHandle1;
private GCHandle outHandle;
private ulong alignment;
public DataTable({Op1BaseType}[] inArray1, {RetBaseType}[] outArray, int alignment)
{
int sizeOfinArray1 = inArray1.Length * Unsafe.SizeOf<{Op1BaseType}>();
int sizeOfoutArray = outArray.Length * Unsafe.SizeOf<{RetBaseType}>();
if ((alignment != 16 && alignment != 8) || (alignment * 2) < sizeOfinArray1 || (alignment * 2) < sizeOfoutArray)
{
throw new ArgumentException("Invalid value of alignment");
}
this.inArray1 = new byte[alignment * 2];
this.outArray = new byte[alignment * 2];
this.inHandle1 = GCHandle.Alloc(this.inArray1, GCHandleType.Pinned);
this.outHandle = GCHandle.Alloc(this.outArray, GCHandleType.Pinned);
this.alignment = (ulong)alignment;
Unsafe.CopyBlockUnaligned(ref Unsafe.AsRef<byte>(inArray1Ptr), ref Unsafe.As<{Op1BaseType}, byte>(ref inArray1[0]), (uint)sizeOfinArray1);
}
public void* inArray1Ptr => Align((byte*)(inHandle1.AddrOfPinnedObject().ToPointer()), alignment);
public void* outArrayPtr => Align((byte*)(outHandle.AddrOfPinnedObject().ToPointer()), alignment);
public void Dispose()
{
inHandle1.Free();
outHandle.Free();
}
private static unsafe void* Align(byte* buffer, ulong expectedAlignment)
{
return (void*)(((ulong)buffer + expectedAlignment - 1) & ~(expectedAlignment - 1));
}
}
private static readonly int LargestVectorSize = {LargestVectorSize};
private static readonly int Op1ElementCount = Unsafe.SizeOf<{Op1VectorType}<{Op1BaseType}>>() / sizeof({Op1BaseType});
private static readonly int RetElementCount = Unsafe.SizeOf<{RetVectorType}<{RetBaseType}>>() / sizeof({RetBaseType});
private static {Op1BaseType}[] _data = new {Op1BaseType}[Op1ElementCount];
private DataTable _dataTable;
public LoadUnaryOpTest__{TestName}()
{
Succeeded = true;
for (var i = 0; i < Op1ElementCount; i++) { _data[i] = {NextValueOp1}; }
_dataTable = new DataTable(_data, new {RetBaseType}[RetElementCount], LargestVectorSize);
}
public bool IsSupported => {Isa}.IsSupported;
public bool Succeeded { get; set; }
public void RunBasicScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunBasicScenario_Load));
var result = {Isa}.{Method}(
({Op1BaseType}*)(_dataTable.inArray1Ptr)
);
Unsafe.Write(_dataTable.outArrayPtr, result);
ValidateResult(_dataTable.inArray1Ptr, _dataTable.outArrayPtr);
}
public void RunReflectionScenario_Load()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunReflectionScenario_Load));
var result = typeof({Isa}).GetMethod(nameof({Isa}.{Method}), new Type[] { typeof({Op1BaseType}*) })
.Invoke(null, new object[] {
Pointer.Box(_dataTable.inArray1Ptr, typeof({Op1BaseType}*))
});
Unsafe.Write(_dataTable.outArrayPtr, ({RetVectorType}<{RetBaseType}>)(result));
ValidateResult(_dataTable.inArray1Ptr, _dataTable.outArrayPtr);
}
public void RunUnsupportedScenario()
{
TestLibrary.TestFramework.BeginScenario(nameof(RunUnsupportedScenario));
Succeeded = false;
try
{
RunBasicScenario_Load();
}
catch (PlatformNotSupportedException)
{
Succeeded = true;
}
}
private void ValidateResult({Op1VectorType}<{Op1BaseType}> firstOp, void* result, [CallerMemberName] string method = "")
{
{Op1BaseType}[] inArray = new {Op1BaseType}[Op1ElementCount];
{RetBaseType}[] outArray = new {RetBaseType}[RetElementCount];
Unsafe.WriteUnaligned(ref Unsafe.As<{Op1BaseType}, byte>(ref inArray[0]), firstOp);
Unsafe.CopyBlockUnaligned(ref Unsafe.As<{RetBaseType}, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<{RetVectorType}<{RetBaseType}>>());
ValidateResult(inArray, outArray, method);
}
private void ValidateResult(void* firstOp, void* result, [CallerMemberName] string method = "")
{
{Op1BaseType}[] inArray = new {Op1BaseType}[Op1ElementCount];
{RetBaseType}[] outArray = new {RetBaseType}[RetElementCount];
Unsafe.CopyBlockUnaligned(ref Unsafe.As<{Op1BaseType}, byte>(ref inArray[0]), ref Unsafe.AsRef<byte>(firstOp), (uint)Unsafe.SizeOf<{Op1VectorType}<{Op1BaseType}>>());
Unsafe.CopyBlockUnaligned(ref Unsafe.As<{RetBaseType}, byte>(ref outArray[0]), ref Unsafe.AsRef<byte>(result), (uint)Unsafe.SizeOf<{RetVectorType}<{RetBaseType}>>());
ValidateResult(inArray, outArray, method);
}
private void ValidateResult({Op1BaseType}[] firstOp, {RetBaseType}[] result, [CallerMemberName] string method = "")
{
bool succeeded = true;
for (var i = 0; i < RetElementCount; i++)
{
if ({ValidateIterResult})
{
succeeded = false;
break;
}
}
if (!succeeded)
{
TestLibrary.TestFramework.LogInformation($"{nameof({Isa})}.{nameof({Isa}.{Method})}<{RetBaseType}>({Op1VectorType}<{Op1BaseType}>): {method} failed:");
TestLibrary.TestFramework.LogInformation($" firstOp: ({string.Join(", ", firstOp)})");
TestLibrary.TestFramework.LogInformation($" result: ({string.Join(", ", result)})");
TestLibrary.TestFramework.LogInformation(string.Empty);
Succeeded = false;
}
}
}
}
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/tests/JIT/Methodical/eh/basics/throwinfinallyerrpathfn_r.csproj | <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<DebugType>None</DebugType>
<Optimize>False</Optimize>
</PropertyGroup>
<ItemGroup>
<Compile Include="throwinfinallyerrpathfn.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\common\eh_common.csproj" />
</ItemGroup>
</Project>
| <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<CLRTestPriority>1</CLRTestPriority>
</PropertyGroup>
<PropertyGroup>
<DebugType>None</DebugType>
<Optimize>False</Optimize>
</PropertyGroup>
<ItemGroup>
<Compile Include="throwinfinallyerrpathfn.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\common\eh_common.csproj" />
</ItemGroup>
</Project>
| -1 |
dotnet/runtime | 65,905 | Add AssemblyName overload for ILVerify.IResolver.Resolve method | Fixes #65573 | jkotas | "2022-02-25T21:48:51Z" | "2022-03-01T05:49:50Z" | 8686d06e5387cf50f08f451cd697331eb5bd830a | b40b31a126e8ddc0b37aacf50e78618e8c913283 | Add AssemblyName overload for ILVerify.IResolver.Resolve method. Fixes #65573 | ./src/libraries/System.Private.Xml/tests/Xslt/TestFiles/TestData/xsltc/baseline/infft15b.txt | @inffT15c.txt | @inffT15c.txt | -1 |
dotnet/runtime | 65,901 | Remove usages of native bootstrapping | hoyosjs | "2022-02-25T17:42:53Z" | "2022-02-25T22:06:34Z" | 2ce0af0b8404cf051783516cff4b07abccd5de00 | 8727ac772e1d8031691ee52e2d66e2520f78d01a | Remove usages of native bootstrapping. | ./eng/pipelines/common/global-build-job.yml | parameters:
buildConfig: ''
nameSuffix: ''
buildArgs: ''
archType: ''
hostedOs: ''
osGroup: ''
osSubgroup: ''
container: ''
crossBuild: false
crossrootfsDir: ''
variables: []
targetRid: ''
timeoutInMinutes: ''
dependsOn: []
pool: ''
platform: ''
pgoType: ''
condition: true
useContinueOnErrorDuringBuild: false
shouldContinueOnError: false
dependOnEvaluatePaths: false
isOfficialBuild: false
buildingOnSourceBuildImage: false
runtimeFlavor: 'coreclr'
runtimeVariant: ''
helixQueues: ''
enablePublishTestResults: false
testResultsFormat: ''
extraStepsTemplate: ''
extraStepsParameters: {}
enableRichCodeNavigation: false
richCodeNavigationLanguage: 'csharp'
richCodeNavigationEnvironment: 'production'
jobs:
- template: /eng/common/templates/job/job.yml
parameters:
${{ if eq(parameters.hostedOs, '') }}:
name: ${{ format('build_{0}{1}_{2}_{3}_{4}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig, parameters.nameSuffix) }}
displayName: ${{ format('Build {0}{1} {2} {3} {4}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig, parameters.nameSuffix) }}
${{ if ne(parameters.hostedOs, '') }}:
name: ${{ format('build_{0}{1}_{2}_{3}_{4}_{5}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.hostedOs, parameters.buildConfig, parameters.nameSuffix) }}
displayName: ${{ format('Build {0}{1} {2} {3} {4} {5}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.hostedOs, parameters.buildConfig, parameters.nameSuffix) }}
pool: ${{ parameters.pool }}
container: ${{ parameters.container }}
condition: and(succeeded(), ${{ parameters.condition }})
timeoutInMinutes: ${{ parameters.timeoutInMinutes }}
enablePublishTestResults: ${{ parameters.enablePublishTestResults }}
testResultsFormat: ${{ parameters.testResultsFormat }}
# Component governance does not work on musl machines
${{ if eq(parameters.osSubGroup, '_musl') }}:
disableComponentGovernance: true
workspace:
clean: all
enableRichCodeNavigation: ${{ parameters.enableRichCodeNavigation }}
richCodeNavigationLanguage: ${{ parameters.richCodeNavigationLanguage }}
richCodeNavigationEnvironment: ${{ parameters.richCodeNavigationEnvironment }}
${{ if and(ne(parameters.dependOnEvaluatePaths, true),ne(parameters.dependsOn,'')) }}:
dependsOn: ${{ parameters.dependsOn }}
${{ if eq(parameters.dependOnEvaluatePaths, true) }}:
dependsOn:
- evaluate_paths
- ${{ if ne(parameters.dependsOn,'') }}:
- ${{ parameters.dependsOn }}
variables:
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- group: DotNet-HelixApi-Access
- name: _osParameter
value: -os ${{ parameters.osGroup }}
- ${{ if and(eq(parameters.osGroup, 'Linux'), eq(parameters.osSubGroup, '_musl')) }}:
- name: _osParameter
value: /p:RuntimeOS=linux-musl /p:OutputRid=linux-musl-${{ parameters.archType }}
# Do not rename as it clashes with MSBuild property in libraries/build-native.proj
- name: _crossBuildPropertyArg
value: /p:CrossBuild=${{ parameters.crossBuild }}
- name: _cxx11Parameter
${{ if and(eq(parameters.osGroup, 'Linux'), eq(parameters.archType, 'arm64')) }}:
value: /p:MonoLLVMUseCxx11Abi=true
${{ if and(eq(parameters.osGroup, 'Linux'), not(eq(parameters.archType, 'arm64'))) }}:
value: /p:MonoLLVMUseCxx11Abi=false
- name: _officialBuildParameter
${{ if eq(parameters.isOfficialBuild, true) }}:
value: /p:OfficialBuildId=$(Build.BuildNumber)
${{ if ne(parameters.isOfficialBuild, true) }}:
value: ''
- name: _buildDarwinFrameworksParameter
${{ if in(parameters.osGroup, 'iOS', 'tvOS', 'MacCatalyst')}}:
value: /p:BuildDarwinFrameworks=true
${{ if notin(parameters.osGroup, 'iOS', 'tvOS', 'MacCatalyst')}}:
value: ''
- name: _richCodeNavigationParam
${{ if eq(parameters.enableRichCodeNavigation, true) }}:
value: /p:EnableRichCodeNavigation=true
${{ if ne(parameters.enableRichCodeNavigation, true) }}:
value: ''
- name: _sclEnableCommand
${{ if eq(parameters.buildingOnSourceBuildImage, true) }}:
value: scl enable llvm-toolset-7.0 --
${{ if ne(parameters.buildingOnSourceBuildImage, true) }}:
value: ''
- ${{ each variable in parameters.variables }}:
- ${{ variable }}
steps:
- checkout: self
clean: true
fetchDepth: $(checkoutFetchDepth)
- ${{ if eq(parameters.isOfficialBuild, true) }}:
- template: /eng/pipelines/common/restore-internal-tools.yml
- ${{ each monoCrossAOTTargetOS in parameters.monoCrossAOTTargetOS }}:
- task: DownloadPipelineArtifact@2
displayName: Download ${{monoCrossAOTTargetOS}} AOT offset files
inputs:
artifact: Mono_Offsets_${{monoCrossAOTTargetOS}}
path: '$(Build.SourcesDirectory)/artifacts/obj/mono/offsetfiles'
- ${{ if eq(parameters.buildingOnSourceBuildImage, true) }}:
- template: /eng/common/templates/steps/source-build.yml
parameters:
platform:
buildScript: $(_sclEnableCommand) $(Build.SourcesDirectory)$(dir)build$(scriptExt)
nonPortable: true
- ${{ if in(parameters.osGroup, 'OSX', 'iOS', 'tvOS', 'MacCatalyst') }}:
- script: $(Build.SourcesDirectory)/eng/install-native-dependencies.sh ${{ parameters.osGroup }} ${{ parameters.archType }} azDO
displayName: Install Build Dependencies
- script: |
du -sh $(Build.SourcesDirectory)/*
df -h
displayName: Disk Usage before Build
- ${{ if eq(parameters.platform, 'Browser_wasm_win') }}:
# Update machine certs
- task: PowerShell@2
displayName: Update machine certs
inputs:
filePath: $(Build.SourcesDirectory)/eng/pipelines/mono/update-machine-certs.ps1
- script: $(Build.SourcesDirectory)\eng\common\init-tools-native.cmd -InstallDirectory $(Build.SourcesDirectory)\native-tools -Force
displayName: Install native dependencies
# Build
- ${{ if eq(parameters.buildingOnSourceBuildImage, false) }}:
- script: $(_sclEnableCommand) $(Build.SourcesDirectory)$(dir)build$(scriptExt) -ci -arch ${{ parameters.archType }} $(_osParameter) ${{ parameters.buildArgs }} $(_officialBuildParameter) $(_crossBuildPropertyArg) $(_cxx11Parameter) $(_richCodeNavigationParam) $(_buildDarwinFrameworksParameter)
displayName: Build product
${{ if eq(parameters.useContinueOnErrorDuringBuild, true) }}:
continueOnError: ${{ parameters.shouldContinueOnError }}
- ${{ if in(parameters.osGroup, 'OSX', 'iOS', 'tvOS', 'Android') }}:
- script: |
du -sh $(Build.SourcesDirectory)/*
df -h
displayName: Disk Usage after Build
condition: always()
# If intended to send extra steps after regular build add them here.
- ${{ if ne(parameters.extraStepsTemplate, '') }}:
- template: ${{ parameters.extraStepsTemplate }}
parameters:
osGroup: ${{ parameters.osGroup }}
osSubgroup: ${{ parameters.osSubgroup }}
archType: ${{ parameters.archType }}
buildConfig: ${{ parameters.buildConfig }}
runtimeFlavor: ${{ parameters.runtimeFlavor }}
runtimeVariant: ${{ parameters.runtimeVariant }}
helixQueues: ${{ parameters.helixQueues }}
targetRid: ${{ parameters.targetRid }}
nameSuffix: ${{ parameters.nameSuffix }}
platform: ${{ parameters.platform }}
pgoType: ${{ parameters.pgoType }}
shouldContinueOnError: ${{ parameters.shouldContinueOnError }}
${{ insert }}: ${{ parameters.extraStepsParameters }}
- task: PublishBuildArtifacts@1
displayName: Publish Logs
inputs:
PathtoPublish: '$(Build.SourcesDirectory)/artifacts/log/'
PublishLocation: Container
ArtifactName: Logs_Build_${{ parameters.osGroup }}_${{ parameters.osSubGroup }}_${{ parameters.archType }}_${{ parameters.buildConfig }}_${{ parameters.nameSuffix }}
continueOnError: true
condition: always()
| parameters:
buildConfig: ''
nameSuffix: ''
buildArgs: ''
archType: ''
hostedOs: ''
osGroup: ''
osSubgroup: ''
container: ''
crossBuild: false
crossrootfsDir: ''
variables: []
targetRid: ''
timeoutInMinutes: ''
dependsOn: []
pool: ''
platform: ''
pgoType: ''
condition: true
useContinueOnErrorDuringBuild: false
shouldContinueOnError: false
dependOnEvaluatePaths: false
isOfficialBuild: false
buildingOnSourceBuildImage: false
runtimeFlavor: 'coreclr'
runtimeVariant: ''
helixQueues: ''
enablePublishTestResults: false
testResultsFormat: ''
extraStepsTemplate: ''
extraStepsParameters: {}
enableRichCodeNavigation: false
richCodeNavigationLanguage: 'csharp'
richCodeNavigationEnvironment: 'production'
jobs:
- template: /eng/common/templates/job/job.yml
parameters:
${{ if eq(parameters.hostedOs, '') }}:
name: ${{ format('build_{0}{1}_{2}_{3}_{4}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig, parameters.nameSuffix) }}
displayName: ${{ format('Build {0}{1} {2} {3} {4}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig, parameters.nameSuffix) }}
${{ if ne(parameters.hostedOs, '') }}:
name: ${{ format('build_{0}{1}_{2}_{3}_{4}_{5}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.hostedOs, parameters.buildConfig, parameters.nameSuffix) }}
displayName: ${{ format('Build {0}{1} {2} {3} {4} {5}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.hostedOs, parameters.buildConfig, parameters.nameSuffix) }}
pool: ${{ parameters.pool }}
container: ${{ parameters.container }}
condition: and(succeeded(), ${{ parameters.condition }})
timeoutInMinutes: ${{ parameters.timeoutInMinutes }}
enablePublishTestResults: ${{ parameters.enablePublishTestResults }}
testResultsFormat: ${{ parameters.testResultsFormat }}
# Component governance does not work on musl machines
${{ if eq(parameters.osSubGroup, '_musl') }}:
disableComponentGovernance: true
workspace:
clean: all
enableRichCodeNavigation: ${{ parameters.enableRichCodeNavigation }}
richCodeNavigationLanguage: ${{ parameters.richCodeNavigationLanguage }}
richCodeNavigationEnvironment: ${{ parameters.richCodeNavigationEnvironment }}
${{ if and(ne(parameters.dependOnEvaluatePaths, true),ne(parameters.dependsOn,'')) }}:
dependsOn: ${{ parameters.dependsOn }}
${{ if eq(parameters.dependOnEvaluatePaths, true) }}:
dependsOn:
- evaluate_paths
- ${{ if ne(parameters.dependsOn,'') }}:
- ${{ parameters.dependsOn }}
variables:
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- group: DotNet-HelixApi-Access
- name: _osParameter
value: -os ${{ parameters.osGroup }}
- ${{ if and(eq(parameters.osGroup, 'Linux'), eq(parameters.osSubGroup, '_musl')) }}:
- name: _osParameter
value: /p:RuntimeOS=linux-musl /p:OutputRid=linux-musl-${{ parameters.archType }}
# Do not rename as it clashes with MSBuild property in libraries/build-native.proj
- name: _crossBuildPropertyArg
value: /p:CrossBuild=${{ parameters.crossBuild }}
- name: _cxx11Parameter
${{ if and(eq(parameters.osGroup, 'Linux'), eq(parameters.archType, 'arm64')) }}:
value: /p:MonoLLVMUseCxx11Abi=true
${{ if and(eq(parameters.osGroup, 'Linux'), not(eq(parameters.archType, 'arm64'))) }}:
value: /p:MonoLLVMUseCxx11Abi=false
- name: _officialBuildParameter
${{ if eq(parameters.isOfficialBuild, true) }}:
value: /p:OfficialBuildId=$(Build.BuildNumber)
${{ if ne(parameters.isOfficialBuild, true) }}:
value: ''
- name: _buildDarwinFrameworksParameter
${{ if in(parameters.osGroup, 'iOS', 'tvOS', 'MacCatalyst')}}:
value: /p:BuildDarwinFrameworks=true
${{ if notin(parameters.osGroup, 'iOS', 'tvOS', 'MacCatalyst')}}:
value: ''
- name: _richCodeNavigationParam
${{ if eq(parameters.enableRichCodeNavigation, true) }}:
value: /p:EnableRichCodeNavigation=true
${{ if ne(parameters.enableRichCodeNavigation, true) }}:
value: ''
- name: _sclEnableCommand
${{ if eq(parameters.buildingOnSourceBuildImage, true) }}:
value: scl enable llvm-toolset-7.0 --
${{ if ne(parameters.buildingOnSourceBuildImage, true) }}:
value: ''
- ${{ each variable in parameters.variables }}:
- ${{ variable }}
steps:
- checkout: self
clean: true
fetchDepth: $(checkoutFetchDepth)
- ${{ if eq(parameters.isOfficialBuild, true) }}:
- template: /eng/pipelines/common/restore-internal-tools.yml
- ${{ each monoCrossAOTTargetOS in parameters.monoCrossAOTTargetOS }}:
- task: DownloadPipelineArtifact@2
displayName: Download ${{monoCrossAOTTargetOS}} AOT offset files
inputs:
artifact: Mono_Offsets_${{monoCrossAOTTargetOS}}
path: '$(Build.SourcesDirectory)/artifacts/obj/mono/offsetfiles'
- ${{ if eq(parameters.buildingOnSourceBuildImage, true) }}:
- template: /eng/common/templates/steps/source-build.yml
parameters:
platform:
buildScript: $(_sclEnableCommand) $(Build.SourcesDirectory)$(dir)build$(scriptExt)
nonPortable: true
- ${{ if in(parameters.osGroup, 'OSX', 'iOS', 'tvOS', 'MacCatalyst') }}:
- script: $(Build.SourcesDirectory)/eng/install-native-dependencies.sh ${{ parameters.osGroup }} ${{ parameters.archType }} azDO
displayName: Install Build Dependencies
- script: |
du -sh $(Build.SourcesDirectory)/*
df -h
displayName: Disk Usage before Build
- ${{ if eq(parameters.platform, 'Browser_wasm_win') }}:
# Update machine certs
- task: PowerShell@2
displayName: Update machine certs
inputs:
filePath: $(Build.SourcesDirectory)/eng/pipelines/mono/update-machine-certs.ps1
# Build
- ${{ if eq(parameters.buildingOnSourceBuildImage, false) }}:
- script: $(_sclEnableCommand) $(Build.SourcesDirectory)$(dir)build$(scriptExt) -ci -arch ${{ parameters.archType }} $(_osParameter) ${{ parameters.buildArgs }} $(_officialBuildParameter) $(_crossBuildPropertyArg) $(_cxx11Parameter) $(_richCodeNavigationParam) $(_buildDarwinFrameworksParameter)
displayName: Build product
${{ if eq(parameters.useContinueOnErrorDuringBuild, true) }}:
continueOnError: ${{ parameters.shouldContinueOnError }}
- ${{ if in(parameters.osGroup, 'OSX', 'iOS', 'tvOS', 'Android') }}:
- script: |
du -sh $(Build.SourcesDirectory)/*
df -h
displayName: Disk Usage after Build
condition: always()
# If intended to send extra steps after regular build add them here.
- ${{ if ne(parameters.extraStepsTemplate, '') }}:
- template: ${{ parameters.extraStepsTemplate }}
parameters:
osGroup: ${{ parameters.osGroup }}
osSubgroup: ${{ parameters.osSubgroup }}
archType: ${{ parameters.archType }}
buildConfig: ${{ parameters.buildConfig }}
runtimeFlavor: ${{ parameters.runtimeFlavor }}
runtimeVariant: ${{ parameters.runtimeVariant }}
helixQueues: ${{ parameters.helixQueues }}
targetRid: ${{ parameters.targetRid }}
nameSuffix: ${{ parameters.nameSuffix }}
platform: ${{ parameters.platform }}
pgoType: ${{ parameters.pgoType }}
shouldContinueOnError: ${{ parameters.shouldContinueOnError }}
${{ insert }}: ${{ parameters.extraStepsParameters }}
- task: PublishBuildArtifacts@1
displayName: Publish Logs
inputs:
PathtoPublish: '$(Build.SourcesDirectory)/artifacts/log/'
PublishLocation: Container
ArtifactName: Logs_Build_${{ parameters.osGroup }}_${{ parameters.osSubGroup }}_${{ parameters.archType }}_${{ parameters.buildConfig }}_${{ parameters.nameSuffix }}
continueOnError: true
condition: always()
| 1 |
|
dotnet/runtime | 65,901 | Remove usages of native bootstrapping | hoyosjs | "2022-02-25T17:42:53Z" | "2022-02-25T22:06:34Z" | 2ce0af0b8404cf051783516cff4b07abccd5de00 | 8727ac772e1d8031691ee52e2d66e2520f78d01a | Remove usages of native bootstrapping. | ./eng/pipelines/common/templates/runtimes/build-test-job.yml | parameters:
buildConfig: ''
archType: ''
osGroup: ''
osSubgroup: ''
container: ''
testGroup: ''
displayNameArgs: ''
condition: true
stagedBuild: false
variables: {}
pool: ''
runtimeFlavor: 'coreclr'
runtimeFlavorDisplayName: 'CoreCLR'
runtimeVariant: ''
dependsOn: []
dependOnEvaluatePaths: false
pgoType: ''
### Build managed test components (native components are getting built as part
### of the the product build job).
### TODO: As of today, build of managed test components requires the product build
### as a prerequisite due to dependency on System.Private.Corelib. After switching
### over to its reference assembly we should be able to remove this dependency and
### run managed test builds in parallel with the product build job.
jobs:
- template: /eng/pipelines/${{ parameters.runtimeFlavor }}/templates/xplat-pipeline-job.yml
parameters:
buildConfig: ${{ parameters.buildConfig }}
archType: ${{ parameters.archType }}
osGroup: ${{ parameters.osGroup }}
osSubgroup: ${{ parameters.osSubgroup }}
container: ${{ parameters.container }}
runtimeVariant: ${{ parameters.runtimeVariant }}
testGroup: ${{ parameters.testGroup }}
stagedBuild: ${{ parameters.stagedBuild }}
pool: ${{ parameters.pool }}
dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }}
${{ if and(ne(parameters.osGroup, 'windows'), ne(parameters.compilerName, 'gcc'), not(and(eq(parameters.osGroup, 'Linux'), eq(parameters.osSubgroup, '_musl'), eq(parameters.archType, 'x64'))), not(eq(parameters.osGroup, 'OSX'))) }}:
compilerArg: '-clang9'
${{ if not(and(ne(parameters.osGroup, 'windows'), ne(parameters.compilerName, 'gcc'), not(and(eq(parameters.osGroup, 'Linux'), eq(parameters.osSubgroup, '_musl'), eq(parameters.archType, 'x64'))), not(eq(parameters.osGroup, 'OSX')))) }}:
compilerArg: ''
# Test jobs should continue on error for internal builds
${{ if eq(variables['System.TeamProject'], 'internal') }}:
continueOnError: true
# Compute job name from template parameters
${{ if in(parameters.testGroup, 'innerloop', 'clrinterpreter') }}:
name: '${{ parameters.runtimeFlavor }}_common_test_build_p0_AnyOS_AnyCPU_${{ parameters.buildConfig }}'
displayName: '${{ parameters.runtimeFlavorDisplayName }} Common Pri0 Test Build AnyOS AnyCPU ${{ parameters.buildConfig }}'
${{ if notIn(parameters.testGroup, 'innerloop', 'clrinterpreter') }}:
name: '${{ parameters.runtimeFlavor }}_common_test_build_p1_AnyOS_AnyCPU_${{ parameters.buildConfig }}'
displayName: '${{ parameters.runtimeFlavorDisplayName }} Common Pri1 Test Build AnyOS AnyCPU ${{ parameters.buildConfig }}'
# Since the condition is being altered, merge the default with the additional conditions.
# See https://docs.microsoft.com/azure/devops/pipelines/process/conditions
condition: and(succeeded(), ${{ parameters.condition }})
${{ if ne(parameters.dependsOn[0], '') }}:
dependsOn: ${{ parameters.dependsOn }}
${{ if in(parameters.testGroup, 'innerloop', 'clrinterpreter') }}:
timeoutInMinutes: 90
${{ if notIn(parameters.testGroup, 'innerloop', 'clrinterpreter') }}:
timeoutInMinutes: 160
variables:
- ${{ each variable in parameters.variables }}:
- ${{ variable }}
- name: liveRuntimeBuildParams
value: 'libs.sfx+libs.oob /p:RefOnly=true -c Release -ci'
- name: compilerArg
value: ''
- ${{ if and(ne(parameters.osGroup, 'windows'), ne(parameters.compilerName, 'gcc')) }}:
- name: compilerArg
value: '-clang9'
# Building for x64 MUSL happens on Alpine Linux and we need to use the stable version available there
- ${{ if and(eq(parameters.osGroup, 'Linux'), eq(parameters.osSubgroup, '_musl'), eq(parameters.archType, 'x64')) }}:
- name: compilerArg
value: ''
# AppleClang has different version scheme, so we let complier introspection pick up the available clang from PATH
- ${{ if eq(parameters.osGroup, 'OSX') }}:
- name: compilerArg
value: ''
- name: runtimeFlavorArgs
value: ''
- ${{ if eq(parameters.runtimeFlavor, 'mono') }}:
- name: runtimeFlavorArgs
value: '-mono'
steps:
# Install test build dependencies
- ${{ if eq(parameters.osGroup, 'OSX') }}:
- script: $(Build.SourcesDirectory)/eng/install-native-dependencies.sh $(osGroup) ${{ parameters.archType }} azDO
displayName: Install native dependencies
- ${{ if eq(parameters.osGroup, 'windows') }}:
# Necessary to install correct cmake version
- script: $(Build.SourcesDirectory)\eng\common\init-tools-native.cmd -InstallDirectory $(Build.SourcesDirectory)\native-tools -Force
displayName: Install native dependencies
# Build core/libraries dependencies of test build
- script: $(Build.SourcesDirectory)/build$(scriptExt) $(liveRuntimeBuildParams) $(compilerArg)
displayName: Build coreclr/libs components needed by test build
- ${{ if in(parameters.osGroup, 'OSX', 'iOS', 'tvOS') }}:
- script: |
du -sh $(Build.SourcesDirectory)/*
df -h
displayName: Disk Usage before Build
# Build managed test components
- script: $(Build.SourcesDirectory)/src/tests/build$(scriptExt) $(logRootNameArg)Managed allTargets skipnative skipgeneratelayout skiptestwrappers $(buildConfig) $(archType) $(runtimeFlavorArgs) $(crossArg) $(priorityArg) ci /p:TargetOS=AnyOS
displayName: Build managed test components
- ${{ if in(parameters.osGroup, 'OSX', 'iOS', 'tvOS') }}:
- script: |
du -sh $(Build.SourcesDirectory)/*
df -h
displayName: Disk Usage after Build
# Zip and publish managed test components
- template: /eng/pipelines/common/upload-artifact-step.yml
parameters:
rootFolder: '$(binTestsPath)/AnyOS.$(archType).$(buildConfigUpper)'
includeRootFolder: false
archiveExtension: '.tar.gz'
archiveType: tar
tarCompression: gz
artifactName: $(managedGenericTestArtifactName)
displayName: 'managed test components (generic)'
# Publish .packages/microsoft.net.sdk.il needed for traversing
# test projects during the copynativeonly command in run test job.
- template: /eng/pipelines/common/upload-artifact-step.yml
parameters:
rootFolder: $(microsoftNetSdkIlFolderPath)
includeRootFolder: false
archiveType: tar
tarCompression: gz
archiveExtension: '.tar.gz'
artifactName: $(microsoftNetSdkIlArtifactName)
displayName: 'Microsoft.NET.Sdk.IL package'
# Publish Logs
- task: PublishPipelineArtifact@1
displayName: Publish Logs
inputs:
targetPath: $(Build.SourcesDirectory)/artifacts/log
artifactName: '${{ parameters.runtimeFlavor }}_Common_Runtime_TestBuildLogs_AnyOS_AnyCPU_$(buildConfig)_${{ parameters.testGroup }}'
continueOnError: true
condition: always()
| parameters:
buildConfig: ''
archType: ''
osGroup: ''
osSubgroup: ''
container: ''
testGroup: ''
displayNameArgs: ''
condition: true
stagedBuild: false
variables: {}
pool: ''
runtimeFlavor: 'coreclr'
runtimeFlavorDisplayName: 'CoreCLR'
runtimeVariant: ''
dependsOn: []
dependOnEvaluatePaths: false
pgoType: ''
### Build managed test components (native components are getting built as part
### of the the product build job).
### TODO: As of today, build of managed test components requires the product build
### as a prerequisite due to dependency on System.Private.Corelib. After switching
### over to its reference assembly we should be able to remove this dependency and
### run managed test builds in parallel with the product build job.
jobs:
- template: /eng/pipelines/${{ parameters.runtimeFlavor }}/templates/xplat-pipeline-job.yml
parameters:
buildConfig: ${{ parameters.buildConfig }}
archType: ${{ parameters.archType }}
osGroup: ${{ parameters.osGroup }}
osSubgroup: ${{ parameters.osSubgroup }}
container: ${{ parameters.container }}
runtimeVariant: ${{ parameters.runtimeVariant }}
testGroup: ${{ parameters.testGroup }}
stagedBuild: ${{ parameters.stagedBuild }}
pool: ${{ parameters.pool }}
dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }}
${{ if and(ne(parameters.osGroup, 'windows'), ne(parameters.compilerName, 'gcc'), not(and(eq(parameters.osGroup, 'Linux'), eq(parameters.osSubgroup, '_musl'), eq(parameters.archType, 'x64'))), not(eq(parameters.osGroup, 'OSX'))) }}:
compilerArg: '-clang9'
${{ if not(and(ne(parameters.osGroup, 'windows'), ne(parameters.compilerName, 'gcc'), not(and(eq(parameters.osGroup, 'Linux'), eq(parameters.osSubgroup, '_musl'), eq(parameters.archType, 'x64'))), not(eq(parameters.osGroup, 'OSX')))) }}:
compilerArg: ''
# Test jobs should continue on error for internal builds
${{ if eq(variables['System.TeamProject'], 'internal') }}:
continueOnError: true
# Compute job name from template parameters
${{ if in(parameters.testGroup, 'innerloop', 'clrinterpreter') }}:
name: '${{ parameters.runtimeFlavor }}_common_test_build_p0_AnyOS_AnyCPU_${{ parameters.buildConfig }}'
displayName: '${{ parameters.runtimeFlavorDisplayName }} Common Pri0 Test Build AnyOS AnyCPU ${{ parameters.buildConfig }}'
${{ if notIn(parameters.testGroup, 'innerloop', 'clrinterpreter') }}:
name: '${{ parameters.runtimeFlavor }}_common_test_build_p1_AnyOS_AnyCPU_${{ parameters.buildConfig }}'
displayName: '${{ parameters.runtimeFlavorDisplayName }} Common Pri1 Test Build AnyOS AnyCPU ${{ parameters.buildConfig }}'
# Since the condition is being altered, merge the default with the additional conditions.
# See https://docs.microsoft.com/azure/devops/pipelines/process/conditions
condition: and(succeeded(), ${{ parameters.condition }})
${{ if ne(parameters.dependsOn[0], '') }}:
dependsOn: ${{ parameters.dependsOn }}
${{ if in(parameters.testGroup, 'innerloop', 'clrinterpreter') }}:
timeoutInMinutes: 90
${{ if notIn(parameters.testGroup, 'innerloop', 'clrinterpreter') }}:
timeoutInMinutes: 160
variables:
- ${{ each variable in parameters.variables }}:
- ${{ variable }}
- name: liveRuntimeBuildParams
value: 'libs.sfx+libs.oob /p:RefOnly=true -c Release -ci'
- name: compilerArg
value: ''
- ${{ if and(ne(parameters.osGroup, 'windows'), ne(parameters.compilerName, 'gcc')) }}:
- name: compilerArg
value: '-clang9'
# Building for x64 MUSL happens on Alpine Linux and we need to use the stable version available there
- ${{ if and(eq(parameters.osGroup, 'Linux'), eq(parameters.osSubgroup, '_musl'), eq(parameters.archType, 'x64')) }}:
- name: compilerArg
value: ''
# AppleClang has different version scheme, so we let complier introspection pick up the available clang from PATH
- ${{ if eq(parameters.osGroup, 'OSX') }}:
- name: compilerArg
value: ''
- name: runtimeFlavorArgs
value: ''
- ${{ if eq(parameters.runtimeFlavor, 'mono') }}:
- name: runtimeFlavorArgs
value: '-mono'
steps:
# Install test build dependencies
- ${{ if eq(parameters.osGroup, 'OSX') }}:
- script: $(Build.SourcesDirectory)/eng/install-native-dependencies.sh $(osGroup) ${{ parameters.archType }} azDO
displayName: Install native dependencies
# Build core/libraries dependencies of test build
- script: $(Build.SourcesDirectory)/build$(scriptExt) $(liveRuntimeBuildParams) $(compilerArg)
displayName: Build coreclr/libs components needed by test build
- ${{ if in(parameters.osGroup, 'OSX', 'iOS', 'tvOS') }}:
- script: |
du -sh $(Build.SourcesDirectory)/*
df -h
displayName: Disk Usage before Build
# Build managed test components
- script: $(Build.SourcesDirectory)/src/tests/build$(scriptExt) $(logRootNameArg)Managed allTargets skipnative skipgeneratelayout skiptestwrappers $(buildConfig) $(archType) $(runtimeFlavorArgs) $(crossArg) $(priorityArg) ci /p:TargetOS=AnyOS
displayName: Build managed test components
- ${{ if in(parameters.osGroup, 'OSX', 'iOS', 'tvOS') }}:
- script: |
du -sh $(Build.SourcesDirectory)/*
df -h
displayName: Disk Usage after Build
# Zip and publish managed test components
- template: /eng/pipelines/common/upload-artifact-step.yml
parameters:
rootFolder: '$(binTestsPath)/AnyOS.$(archType).$(buildConfigUpper)'
includeRootFolder: false
archiveExtension: '.tar.gz'
archiveType: tar
tarCompression: gz
artifactName: $(managedGenericTestArtifactName)
displayName: 'managed test components (generic)'
# Publish .packages/microsoft.net.sdk.il needed for traversing
# test projects during the copynativeonly command in run test job.
- template: /eng/pipelines/common/upload-artifact-step.yml
parameters:
rootFolder: $(microsoftNetSdkIlFolderPath)
includeRootFolder: false
archiveType: tar
tarCompression: gz
archiveExtension: '.tar.gz'
artifactName: $(microsoftNetSdkIlArtifactName)
displayName: 'Microsoft.NET.Sdk.IL package'
# Publish Logs
- task: PublishPipelineArtifact@1
displayName: Publish Logs
inputs:
targetPath: $(Build.SourcesDirectory)/artifacts/log
artifactName: '${{ parameters.runtimeFlavor }}_Common_Runtime_TestBuildLogs_AnyOS_AnyCPU_$(buildConfig)_${{ parameters.testGroup }}'
continueOnError: true
condition: always()
| 1 |
|
dotnet/runtime | 65,901 | Remove usages of native bootstrapping | hoyosjs | "2022-02-25T17:42:53Z" | "2022-02-25T22:06:34Z" | 2ce0af0b8404cf051783516cff4b07abccd5de00 | 8727ac772e1d8031691ee52e2d66e2520f78d01a | Remove usages of native bootstrapping. | ./eng/pipelines/coreclr/templates/build-jit-job.yml | parameters:
archType: ''
buildConfig: ''
container: ''
crossBuild: false
crossrootfsDir: ''
osGroup: ''
osSubgroup: ''
pool: ''
stagedBuild: false
timeoutInMinutes: ''
variables: {}
dependOnEvaluatePaths: false
uploadAs: 'azureBlob'
### Product build
jobs:
- template: xplat-pipeline-job.yml
parameters:
buildConfig: ${{ parameters.buildConfig }}
archType: ${{ parameters.archType }}
osGroup: ${{ parameters.osGroup }}
osSubgroup: ${{ parameters.osSubgroup }}
helixType: 'build/product/'
enableMicrobuild: true
stagedBuild: ${{ parameters.stagedBuild }}
pool: ${{ parameters.pool }}
dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }}
# Compute job name from template parameters
name: ${{ format('coreclr_jit_build_{0}{1}_{2}_{3}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}
displayName: ${{ format('CoreCLR JIT Build {0}{1} {2} {3}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}
# Run all steps in the container.
# Note that the containers are defined in platform-matrix.yml
container: ${{ parameters.container }}
timeoutInMinutes: ${{ parameters.timeoutInMinutes }}
crossBuild: ${{ parameters.crossBuild }}
crossrootfsDir: ${{ parameters.crossrootfsDir }}
gatherAssetManifests: true
variables:
- name: osGroup
value: ${{ parameters.osGroup }}
- name: osSubgroup
value: ${{ parameters.osSubgroup }}
- name: publishLogsArtifactPrefix
value: 'BuildLogs_CoreCLR_JIT'
- name: uploadAs
value: ${{ parameters.uploadAs }}
- name: compilerArg
value: ''
- ${{ if ne(parameters.osGroup, 'windows') }}:
- name: compilerArg
value: '-clang9'
# Building for x64 MUSL happens on Alpine Linux and we need to use the stable version available there
- ${{ if and(eq(parameters.osGroup, 'Linux'), eq(parameters.osSubgroup, '_musl'), eq(parameters.archType, 'x64')) }}:
- name: compilerArg
value: ''
# AppleClang has different version scheme, so we let complier introspection pick up the available clang from PATH
- ${{ if eq(parameters.osGroup, 'OSX') }}:
- name: compilerArg
value: ''
- ${{ if eq(parameters.osGroup, 'windows') }}:
- name: PythonScript
value: 'py -3'
- name: PipScript
value: 'py -3 -m pip'
- ${{ if ne(parameters.osGroup, 'windows') }}:
- name: PythonScript
value: 'python3'
- name: PipScript
value: 'pip3'
- ${{ parameters.variables }}
steps:
# Install native dependencies
# Linux builds use docker images with dependencies preinstalled,
# and FreeBSD builds use a build agent with dependencies
# preinstalled, so we only need this step for OSX and Windows.
- ${{ if eq(parameters.osGroup, 'OSX') }}:
- script: $(Build.SourcesDirectory)/eng/install-native-dependencies.sh $(osGroup) ${{ parameters.archType }} azDO
displayName: Install native dependencies (OSX)
- ${{ if eq(parameters.osGroup, 'windows') }}:
# Necessary to install python
- script: $(Build.SourcesDirectory)\eng\common\init-tools-native.cmd -InstallDirectory $(Build.SourcesDirectory)\native-tools -Force
displayName: Install native dependencies (windows)
# Install internal tools on official builds
# Since our internal tools are behind an authenticated feed,
# we need to use the DotNetCli AzDO task to restore from the feed using a service connection.
# We can't do this from within the build, so we need to do this as a separate step.
- ${{ if and(eq(variables['System.TeamProject'], 'internal'), ne(variables['Build.Reason'], 'PullRequest')) }}:
- template: /eng/pipelines/common/restore-internal-tools.yml
# Build/Generate native prerequisites
- script: $(Build.SourcesDirectory)$(dir)build$(scriptExt) -subset clr.nativeprereqs $(crossArg) -arch $(archType) -c $(buildConfig) -ci /bl:$(Build.SourcesDirectory)artifacts/log/$(buildConfig)/CoreCLRNativePrereqs.binlog
displayName: Build and generate native prerequisites
# Build CoreCLR JIT
- ${{ if ne(parameters.osGroup, 'windows') }}:
- script: $(Build.SourcesDirectory)/src/coreclr/build-runtime$(scriptExt) $(buildConfig) $(archType) $(crossArg) -ci $(compilerArg) -component alljits -component spmi
displayName: Build CoreCLR JIT
- ${{ if eq(parameters.osGroup, 'windows') }}:
- script: set __TestIntermediateDir=int&&$(Build.SourcesDirectory)/src/coreclr/build-runtime$(scriptExt) $(buildConfig) $(archType) -ci -component alljits -component spmi
displayName: Build CoreCLR JIT
- ${{ if eq(parameters.uploadAs, 'azureBlob') }}:
# Ensure the Python azure-storage-blob package is installed before doing the upload.
- script: $(PipScript) install --user --upgrade pip && $(PipScript) install --user azure.storage.blob==12.5.0 --force-reinstall
displayName: Upgrade Pip to latest and install azure-storage-blob Python package
- script: $(PythonScript) $(Build.SourcesDirectory)/src/coreclr/scripts/jitrollingbuild.py upload -build_type $(buildConfig) -arch $(archType) -host_os $(osGroup) -git_hash $(Build.SourceVersion) --use_latest_jit_change
displayName: Upload JIT to Azure Storage
env:
CLRJIT_AZ_KEY: $(clrjit_key1) # secret key stored as variable in pipeline
- ${{ if eq(parameters.uploadAs, 'pipelineArtifacts') }}:
# Publish product output directory for consumption by tests.
- template: /eng/pipelines/common/upload-artifact-step.yml
parameters:
rootFolder: $(buildProductRootFolderPath)
includeRootFolder: false
archiveType: $(archiveType)
tarCompression: $(tarCompression)
archiveExtension: $(archiveExtension)
artifactName: $(buildProductArtifactName)
displayName: 'product build'
# Publish Logs
- task: PublishPipelineArtifact@1
displayName: Publish Logs
inputs:
targetPath: $(Build.SourcesDirectory)/artifacts/log
artifactName: '$(publishLogsArtifactPrefix)_$(osGroup)$(osSubgroup)_$(archType)_$(buildConfig)'
continueOnError: true
condition: always()
| parameters:
archType: ''
buildConfig: ''
container: ''
crossBuild: false
crossrootfsDir: ''
osGroup: ''
osSubgroup: ''
pool: ''
stagedBuild: false
timeoutInMinutes: ''
variables: {}
dependOnEvaluatePaths: false
uploadAs: 'azureBlob'
### Product build
jobs:
- template: xplat-pipeline-job.yml
parameters:
buildConfig: ${{ parameters.buildConfig }}
archType: ${{ parameters.archType }}
osGroup: ${{ parameters.osGroup }}
osSubgroup: ${{ parameters.osSubgroup }}
helixType: 'build/product/'
enableMicrobuild: true
stagedBuild: ${{ parameters.stagedBuild }}
pool: ${{ parameters.pool }}
dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }}
# Compute job name from template parameters
name: ${{ format('coreclr_jit_build_{0}{1}_{2}_{3}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}
displayName: ${{ format('CoreCLR JIT Build {0}{1} {2} {3}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}
# Run all steps in the container.
# Note that the containers are defined in platform-matrix.yml
container: ${{ parameters.container }}
timeoutInMinutes: ${{ parameters.timeoutInMinutes }}
crossBuild: ${{ parameters.crossBuild }}
crossrootfsDir: ${{ parameters.crossrootfsDir }}
gatherAssetManifests: true
variables:
- name: osGroup
value: ${{ parameters.osGroup }}
- name: osSubgroup
value: ${{ parameters.osSubgroup }}
- name: publishLogsArtifactPrefix
value: 'BuildLogs_CoreCLR_JIT'
- name: uploadAs
value: ${{ parameters.uploadAs }}
- name: compilerArg
value: ''
- ${{ if ne(parameters.osGroup, 'windows') }}:
- name: compilerArg
value: '-clang9'
# Building for x64 MUSL happens on Alpine Linux and we need to use the stable version available there
- ${{ if and(eq(parameters.osGroup, 'Linux'), eq(parameters.osSubgroup, '_musl'), eq(parameters.archType, 'x64')) }}:
- name: compilerArg
value: ''
# AppleClang has different version scheme, so we let complier introspection pick up the available clang from PATH
- ${{ if eq(parameters.osGroup, 'OSX') }}:
- name: compilerArg
value: ''
- ${{ if eq(parameters.osGroup, 'windows') }}:
- name: PythonScript
value: 'py -3'
- name: PipScript
value: 'py -3 -m pip'
- ${{ if ne(parameters.osGroup, 'windows') }}:
- name: PythonScript
value: 'python3'
- name: PipScript
value: 'pip3'
- ${{ parameters.variables }}
steps:
# Install native dependencies
# Linux builds use docker images with dependencies preinstalled,
# and FreeBSD builds use a build agent with dependencies
# preinstalled, so we only need this step for OSX and Windows.
- ${{ if eq(parameters.osGroup, 'OSX') }}:
- script: $(Build.SourcesDirectory)/eng/install-native-dependencies.sh $(osGroup) ${{ parameters.archType }} azDO
displayName: Install native dependencies (OSX)
# Install internal tools on official builds
# Since our internal tools are behind an authenticated feed,
# we need to use the DotNetCli AzDO task to restore from the feed using a service connection.
# We can't do this from within the build, so we need to do this as a separate step.
- ${{ if and(eq(variables['System.TeamProject'], 'internal'), ne(variables['Build.Reason'], 'PullRequest')) }}:
- template: /eng/pipelines/common/restore-internal-tools.yml
# Build/Generate native prerequisites
- script: $(Build.SourcesDirectory)$(dir)build$(scriptExt) -subset clr.nativeprereqs $(crossArg) -arch $(archType) -c $(buildConfig) -ci /bl:$(Build.SourcesDirectory)artifacts/log/$(buildConfig)/CoreCLRNativePrereqs.binlog
displayName: Build and generate native prerequisites
# Build CoreCLR JIT
- ${{ if ne(parameters.osGroup, 'windows') }}:
- script: $(Build.SourcesDirectory)/src/coreclr/build-runtime$(scriptExt) $(buildConfig) $(archType) $(crossArg) -ci $(compilerArg) -component alljits -component spmi
displayName: Build CoreCLR JIT
- ${{ if eq(parameters.osGroup, 'windows') }}:
- script: set __TestIntermediateDir=int&&$(Build.SourcesDirectory)/src/coreclr/build-runtime$(scriptExt) $(buildConfig) $(archType) -ci -component alljits -component spmi
displayName: Build CoreCLR JIT
- ${{ if eq(parameters.uploadAs, 'azureBlob') }}:
# Ensure the Python azure-storage-blob package is installed before doing the upload.
- script: $(PipScript) install --user --upgrade pip && $(PipScript) install --user azure.storage.blob==12.5.0 --force-reinstall
displayName: Upgrade Pip to latest and install azure-storage-blob Python package
- script: $(PythonScript) $(Build.SourcesDirectory)/src/coreclr/scripts/jitrollingbuild.py upload -build_type $(buildConfig) -arch $(archType) -host_os $(osGroup) -git_hash $(Build.SourceVersion) --use_latest_jit_change
displayName: Upload JIT to Azure Storage
env:
CLRJIT_AZ_KEY: $(clrjit_key1) # secret key stored as variable in pipeline
- ${{ if eq(parameters.uploadAs, 'pipelineArtifacts') }}:
# Publish product output directory for consumption by tests.
- template: /eng/pipelines/common/upload-artifact-step.yml
parameters:
rootFolder: $(buildProductRootFolderPath)
includeRootFolder: false
archiveType: $(archiveType)
tarCompression: $(tarCompression)
archiveExtension: $(archiveExtension)
artifactName: $(buildProductArtifactName)
displayName: 'product build'
# Publish Logs
- task: PublishPipelineArtifact@1
displayName: Publish Logs
inputs:
targetPath: $(Build.SourcesDirectory)/artifacts/log
artifactName: '$(publishLogsArtifactPrefix)_$(osGroup)$(osSubgroup)_$(archType)_$(buildConfig)'
continueOnError: true
condition: always()
| 1 |
|
dotnet/runtime | 65,901 | Remove usages of native bootstrapping | hoyosjs | "2022-02-25T17:42:53Z" | "2022-02-25T22:06:34Z" | 2ce0af0b8404cf051783516cff4b07abccd5de00 | 8727ac772e1d8031691ee52e2d66e2520f78d01a | Remove usages of native bootstrapping. | ./eng/pipelines/coreclr/templates/build-job.yml | parameters:
archType: ''
buildConfig: ''
# compilerName specifies the compiler to use to do the builds. This can either be 'gcc' or left
# unset to use the default (clang on Linux/Mac, Visual C++ on Windows).
compilerName: ''
condition: true
container: ''
crossBuild: false
crossrootfsDir: ''
dependOnEvaluatePaths: false
disableClrTest: false
isOfficialBuild: false
osGroup: ''
osSubgroup: ''
platform: ''
pool: ''
runtimeVariant: ''
signBinaries: false
stagedBuild: false
testGroup: ''
timeoutInMinutes: ''
variables: {}
pgoType: ''
### Product build
jobs:
- template: xplat-pipeline-job.yml
parameters:
buildConfig: ${{ parameters.buildConfig }}
archType: ${{ parameters.archType }}
osGroup: ${{ parameters.osGroup }}
osSubgroup: ${{ parameters.osSubgroup }}
runtimeVariant: ${{ parameters.runtimeVariant }}
testGroup: ${{ parameters.testGroup }}
helixType: 'build/product/'
enableMicrobuild: true
stagedBuild: ${{ parameters.stagedBuild }}
pool: ${{ parameters.pool }}
condition: ${{ parameters.condition }}
dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }}
disableClrTest: ${{ parameters.disableClrTest }}
pgoType: ${{ parameters.pgoType }}
# Compute job name from template parameters
${{ if and(ne(parameters.testGroup, 'clrTools'), eq(parameters.compilerName, 'gcc')) }}:
name: ${{ format('coreclr_{0}_product_build_{1}{1}_{3}_{4}', parameters.compilerName, parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}
displayName: ${{ format('GCC Product Build {0}{1} {2} {3}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}
${{ if and(ne(parameters.testGroup, 'clrTools'), ne(parameters.compilerName, 'gcc')) }}:
name: ${{ format('coreclr_{0}_product_build_{1}{2}_{3}_{4}{5}',
parameters.runtimeVariant,
parameters.osGroup,
parameters.osSubgroup,
parameters.archType,
parameters.buildConfig,
parameters.pgoType) }}
displayName: ${{ format('CoreCLR {0} Product Build {1}{2} {3} {4} {5}',
parameters.runtimeVariant, parameters.osGroup, parameters.osSubgroup,
parameters.archType,
parameters.buildConfig,
parameters.pgoType) }}
${{ if eq(parameters.testGroup, 'clrTools') }}:
name: ${{ format('coreclr_{0}_tools_unittests_{1}{2}_{3}_{4}', parameters.runtimeVariant, parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}
displayName: ${{ format('CoreCLR {0} Tools Unit Tests {1}{2} {3} {4}', parameters.runtimeVariant, parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}
# Run all steps in the container.
# Note that the containers are defined in platform-matrix.yml
container: ${{ parameters.container }}
timeoutInMinutes: ${{ parameters.timeoutInMinutes }}
crossBuild: ${{ parameters.crossBuild }}
crossrootfsDir: ${{ parameters.crossrootfsDir }}
gatherAssetManifests: true
variables:
- name: osGroup
value: ${{ parameters.osGroup }}
- name: osSubgroup
value: ${{ parameters.osSubgroup }}
- name: compilerArg
value: ''
- name: publishLogsArtifactPrefix
value: 'BuildLogs_CoreCLR'
- ${{ if eq(parameters.testGroup, 'clrTools') }}:
- name: publishLogsArtifactPrefix
value: 'BuildLogs_CoreCLR_ToolsUnitTests'
- ${{ if eq(parameters.compilerName, 'gcc') }}:
- name: compilerArg
value: '-gcc'
- name: publishLogsArtifactPrefix
value: 'BuildLogs_CoreCLR_GCC'
- ${{ if and(ne(parameters.osGroup, 'windows'), ne(parameters.compilerName, 'gcc')) }}:
- name: compilerArg
value: '-clang9'
# Building for x64 MUSL happens on Alpine Linux and we need to use the stable version available there
- ${{ if and(eq(parameters.osGroup, 'Linux'), eq(parameters.osSubgroup, '_musl'), eq(parameters.archType, 'x64')) }}:
- name: compilerArg
value: ''
# AppleClang has different version scheme, so we let complier introspection pick up the available clang from PATH
- ${{ if eq(parameters.osGroup, 'OSX') }}:
- name: compilerArg
value: ''
- ${{ if and(ne(variables['System.TeamProject'], 'public'), ne(variables['Build.Reason'], 'PullRequest')) }}:
# Variables used to publish packages to blob feed
- name: dotnetfeedUrl
value: https://dotnetfeed.blob.core.windows.net/dotnet-coreclr/index.json
- name: dotnetfeedPAT
value: $(dotnetfeed-storage-access-key-1)
# Variables used by arcade to gather asset manifests
- name: _DotNetPublishToBlobFeed
value: true
- name: officialBuildIdArg
value: ''
- ${{ if eq(parameters.isOfficialBuild, true) }}:
- name: officialBuildIdArg
value: '/p:OfficialBuildId=$(Build.BuildNumber)'
- name: enforcePgoArg
value: ''
# The EnforcePGO script is only supported on Windows and is not supported on arm or arm64.
- ${{ if and(eq(parameters.buildConfig, 'Release'), and(eq(parameters.osGroup, 'windows'), not(or(eq(parameters.archType, 'arm64'), eq(parameters.archType, 'arm')))), ne(parameters.pgoType, 'pgo')) }}:
- name: enforcePgoArg
value: '-enforcepgo'
- name: clrInterpreterBuildArg
value: ''
- ${{ if eq(parameters.testGroup, 'clrinterpreter') }}:
- name: clrInterpreterBuildArg
value: '-cmakeargs "-DFEATURE_INTERPRETER=1"'
- name: clrRuntimeComponentsBuildArg
value: ''
- ${{ if ne(parameters.testGroup, 'innerloop') }}:
- name: clrRuntimeComponentsBuildArg
value: '-component runtime -component alljits -component paltests -component nativeaot -component spmi '
- ${{ if and(eq(parameters.osGroup, 'Linux'), eq(parameters.archType, 'x86')) }}:
- name: clrRuntimeComponentsBuildArg
value: '-component runtime -component jit -component iltools -component spmi '
- name: pgoInstrumentArg
value: ''
- ${{ if eq(parameters.pgoType, 'PGO' )}}:
- name: pgoInstrumentArg
value: '-pgoinstrument '
- name: SignType
value: $[ coalesce(variables.OfficialSignType, 'real') ]
- name: clrRuntimePortableBuildArg
value: ''
- ${{ if eq(parameters.osGroup, 'Tizen') }}:
- name: clrRuntimePortableBuildArg
value: '-portablebuild=false'
- ${{ parameters.variables }}
steps:
# Install native dependencies
# Linux builds use docker images with dependencies preinstalled,
# and FreeBSD builds use a build agent with dependencies
# preinstalled, so we only need this step for OSX and Windows.
- ${{ if eq(parameters.osGroup, 'OSX') }}:
- script: $(Build.SourcesDirectory)/eng/install-native-dependencies.sh $(osGroup) ${{ parameters.archType }} azDO
displayName: Install native dependencies
- ${{ if eq(parameters.osGroup, 'windows') }}:
# Necessary to install python
- script: $(Build.SourcesDirectory)\eng\common\init-tools-native.cmd -InstallDirectory $(Build.SourcesDirectory)\native-tools -Force
displayName: Install native dependencies
# Install internal tools on official builds
# Since our internal tools are behind an authenticated feed,
# we need to use the DotNetCli AzDO task to restore from the feed using a service connection.
# We can't do this from within the build, so we need to do this as a separate step.
- ${{ if and(eq(variables['System.TeamProject'], 'internal'), ne(variables['Build.Reason'], 'PullRequest')) }}:
- template: /eng/pipelines/common/restore-internal-tools.yml
# Install MicroBuild for signing the DAC and DBI
- ${{ if and(eq(variables['System.TeamProject'], 'internal'), eq(parameters.signBinaries, true), eq(parameters.osGroup, 'windows')) }}:
- task: MicroBuildSigningPlugin@2
displayName: Install MicroBuild plugin for Signing
inputs:
signType: $(SignType)
zipSources: false
feedSource: https://dnceng.pkgs.visualstudio.com/_packaging/MicroBuildToolset/nuget/v3/index.json
continueOnError: false
condition: and(succeeded(), in(variables['SignType'], 'real', 'test'))
- ${{ if in(parameters.osGroup, 'OSX', 'iOS', 'tvOS') }}:
- script: |
du -sh $(Build.SourcesDirectory)/*
df -h
displayName: Disk Usage before Build
# Build/Generate native prerequisites
- script: $(Build.SourcesDirectory)$(dir)build$(scriptExt) -subset clr.nativeprereqs $(crossArg) -arch $(archType) $(osArg) -c $(buildConfig) $(officialBuildIdArg) -ci /bl:$(Build.SourcesDirectory)artifacts/log/$(buildConfig)/CoreCLRNativePrereqs.binlog
displayName: Build and generate native prerequisites
# Build CoreCLR Runtime
- ${{ if ne(parameters.osGroup, 'windows') }}:
- script: $(Build.SourcesDirectory)/src/coreclr/build-runtime$(scriptExt) $(buildConfig) $(archType) $(crossArg) $(osArg) -ci $(compilerArg) $(clrRuntimeComponentsBuildArg) $(pgoInstrumentArg) $(officialBuildIdArg) $(clrInterpreterBuildArg) $(clrRuntimePortableBuildArg) $(CoreClrPgoDataArg)
displayName: Build CoreCLR Runtime
- ${{ if eq(parameters.osGroup, 'windows') }}:
- script: set __TestIntermediateDir=int&&$(Build.SourcesDirectory)/src/coreclr/build-runtime$(scriptExt) $(buildConfig) $(archType) -ci $(enforcePgoArg) $(pgoInstrumentArg) $(officialBuildIdArg) $(clrInterpreterBuildArg) $(CoreClrPgoDataArg)
displayName: Build CoreCLR Runtime
- ${{ if in(parameters.osGroup, 'OSX', 'iOS', 'tvOS') }}:
- script: |
du -sh $(Build.SourcesDirectory)/*
df -h
displayName: Disk Usage after Build
# Build CoreCLR Managed Components
- ${{ if or(ne(parameters.osGroup, 'Linux'), ne(parameters.archType, 'x86')) }}:
- script: $(Build.SourcesDirectory)$(dir)build$(scriptExt) -subset clr.corelib+clr.nativecorelib+clr.nativeaotlibs+clr.tools+clr.packages+clr.paltestlist $(crossArg) -arch $(archType) $(osArg) -c $(buildConfig) $(pgoInstrumentArg) $(officialBuildIdArg) -ci
displayName: Build managed product components and packages
- ${{ if and(eq(parameters.osGroup, 'Linux'), eq(parameters.archType, 'x86')) }}:
- script: $(Build.SourcesDirectory)$(dir)build$(scriptExt) -subset clr.corelib $(crossArg) -arch $(archType) $(osArg) -c $(buildConfig) $(pgoInstrumentArg) $(officialBuildIdArg) -ci
displayName: Build managed product components and packages
# Run CoreCLR Tools unit tests
- ${{ if eq(parameters.testGroup, 'clrTools') }}:
- script: $(Build.SourcesDirectory)$(dir)build$(scriptExt) -subset clr.toolstests $(crossArg) -arch $(archType) $(osArg) -c $(buildConfig) $(officialBuildIdArg) -ci -test
displayName: Run CoreCLR Tools unit tests
# Build native test components
- ${{ if and(ne(parameters.isOfficialBuild, true), ne(parameters.disableClrTest, true)) }}:
- script: $(Build.SourcesDirectory)/src/tests/build$(scriptExt) skipmanaged skipgeneratelayout $(buildConfig) $(archType) $(crossArg) $(osArg) $(priorityArg) $(compilerArg)
displayName: Build native test components
# Build libs.native, host.native and mono with gcc
- ${{ if eq(parameters.compilerName, 'gcc') }}:
- script: $(Build.SourcesDirectory)$(dir)build$(scriptExt) libs.native+host.native+mono $(compilerArg) $(crossArg) -arch $(archType) $(osArg) -c $(buildConfig) $(pgoInstrumentArg) $(officialBuildIdArg) -ci
displayName: Build libs.native+host.native+mono
# Sign and add entitlements to these MacOS binaries
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
- ${{ if eq(parameters.osGroup, 'OSX') }}:
- template: /eng/pipelines/common/macos-sign-with-entitlements.yml
parameters:
filesToSign:
- name: createdump
path: $(buildProductRootFolderPath)
entitlementsFile: $(Build.SourcesDirectory)/eng/pipelines/common/createdump-entitlements.plist
- name: corerun
path: $(buildProductRootFolderPath)
entitlementsFile: $(Build.SourcesDirectory)/eng/pipelines/common/entitlements.plist
- task: CopyFiles@2
displayName: 'Copy signed createdump to sharedFramework'
inputs:
contents: createdump
sourceFolder: $(buildProductRootFolderPath)
targetFolder: $(buildProductRootFolderPath)/sharedFramework
overWrite: true
# Sign diagnostic files on Windows
- ${{ if and(eq(parameters.osGroup, 'windows'), eq(parameters.signBinaries, true)) }}:
- powershell: >-
eng\common\build.ps1 -ci -sign -restore -configuration:$(buildConfig) -warnaserror:0 $(officialBuildIdArg)
/p:DiagnosticsFilesRoot="$(buildProductRootFolderPath)"
/p:SignDiagnostics=true
/p:DotNetSignType=$(SignType)
-noBl
/bl:$(Build.SourcesDirectory)/artifacts/log/$(buildConfig)/SignDiagnostics.binlog
-projects $(Build.SourcesDirectory)\eng\empty.csproj
displayName: Sign Diagnostic Binaries
- task: PublishPipelineArtifact@1
displayName: Publish Signing Logs
inputs:
targetPath: '$(Build.SourcesDirectory)/artifacts/log/'
artifactName: ${{ format('SignLogs_{0}{1}_{2}_{3}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}
continueOnError: true
condition: always()
# Builds using gcc are not tested, and clrTools unitests do not publish the build artifacts
- ${{ if and(ne(parameters.compilerName, 'gcc'), ne(parameters.testGroup, 'clrTools'), ne(parameters.disableClrTest, true)) }}:
# Publish product output directory for consumption by tests.
- template: /eng/pipelines/common/upload-artifact-step.yml
parameters:
rootFolder: $(buildProductRootFolderPath)
includeRootFolder: false
archiveType: $(archiveType)
tarCompression: $(tarCompression)
archiveExtension: $(archiveExtension)
artifactName: $(buildProductArtifactName)
displayName: 'product build'
- ${{ if and(in(parameters.osGroup, 'windows', 'Linux'), ne(parameters.archType, 'x86'), ne(parameters.compilerName, 'gcc'), ne(parameters.testGroup, 'clrTools'), eq(parameters.pgoType, '')) }}:
- template: /eng/pipelines/coreclr/templates/crossdac-build.yml
parameters:
archType: ${{ parameters.archType }}
osGroup: ${{ parameters.osGroup }}
osSubgroup: ${{ parameters.osSubgroup }}
- ${{ if and(ne(parameters.compilerName, 'gcc'), ne(parameters.testGroup, ''), ne(parameters.testGroup, 'clrTools'), ne(parameters.disableClrTest, true)) }}:
# Publish test native components for consumption by test execution.
- ${{ if and(ne(parameters.isOfficialBuild, true), eq(parameters.pgoType, '')) }}:
- template: /eng/pipelines/common/upload-artifact-step.yml
parameters:
rootFolder: $(nativeTestArtifactRootFolderPath)
includeRootFolder: false
archiveType: $(archiveType)
tarCompression: $(tarCompression)
archiveExtension: $(archiveExtension)
artifactName: $(nativeTestArtifactName)
displayName: 'native test components'
# Get key vault secrets for publishing
- ${{ if and(ne(variables['System.TeamProject'], 'public'), ne(variables['Build.Reason'], 'PullRequest')) }}:
- task: AzureKeyVault@1
inputs:
azureSubscription: 'DotNet-Engineering-Services_KeyVault'
KeyVaultName: EngKeyVault
SecretsFilter: 'dotnetfeed-storage-access-key-1,microsoft-symbol-server-pat,symweb-symbol-server-pat'
# Save packages using the prepare-signed-artifacts format.
- ${{ if and(eq(parameters.isOfficialBuild, true), ne(parameters.testGroup, 'clrTools'), eq(parameters.pgoType, '')) }}:
- template: /eng/pipelines/common/upload-intermediate-artifacts-step.yml
parameters:
name: ${{ parameters.platform }}
# Publish unit tests results if executing unit tests
- ${{ if eq(parameters.testGroup, 'clrTools') }}:
- task: PublishTestResults@2
inputs:
testResultsFormat: 'xUnit'
testResultsFiles: '*.xml'
testRunTitle: CoreCLR-Tools-Unittests-$(osGroup)$(osSubgroup)_$(archType)_$(buildConfig)
searchFolder: '$(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)'
continueOnError: true
condition: always()
# Publish Logs
- task: PublishPipelineArtifact@1
displayName: Publish Logs
inputs:
targetPath: $(Build.SourcesDirectory)/artifacts/log
artifactName: '$(publishLogsArtifactPrefix)${{ parameters.pgoType }}_$(osGroup)$(osSubgroup)_$(archType)_$(buildConfig)'
continueOnError: true
condition: always()
| parameters:
archType: ''
buildConfig: ''
# compilerName specifies the compiler to use to do the builds. This can either be 'gcc' or left
# unset to use the default (clang on Linux/Mac, Visual C++ on Windows).
compilerName: ''
condition: true
container: ''
crossBuild: false
crossrootfsDir: ''
dependOnEvaluatePaths: false
disableClrTest: false
isOfficialBuild: false
osGroup: ''
osSubgroup: ''
platform: ''
pool: ''
runtimeVariant: ''
signBinaries: false
stagedBuild: false
testGroup: ''
timeoutInMinutes: ''
variables: {}
pgoType: ''
### Product build
jobs:
- template: xplat-pipeline-job.yml
parameters:
buildConfig: ${{ parameters.buildConfig }}
archType: ${{ parameters.archType }}
osGroup: ${{ parameters.osGroup }}
osSubgroup: ${{ parameters.osSubgroup }}
runtimeVariant: ${{ parameters.runtimeVariant }}
testGroup: ${{ parameters.testGroup }}
helixType: 'build/product/'
enableMicrobuild: true
stagedBuild: ${{ parameters.stagedBuild }}
pool: ${{ parameters.pool }}
condition: ${{ parameters.condition }}
dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }}
disableClrTest: ${{ parameters.disableClrTest }}
pgoType: ${{ parameters.pgoType }}
# Compute job name from template parameters
${{ if and(ne(parameters.testGroup, 'clrTools'), eq(parameters.compilerName, 'gcc')) }}:
name: ${{ format('coreclr_{0}_product_build_{1}{1}_{3}_{4}', parameters.compilerName, parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}
displayName: ${{ format('GCC Product Build {0}{1} {2} {3}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}
${{ if and(ne(parameters.testGroup, 'clrTools'), ne(parameters.compilerName, 'gcc')) }}:
name: ${{ format('coreclr_{0}_product_build_{1}{2}_{3}_{4}{5}',
parameters.runtimeVariant,
parameters.osGroup,
parameters.osSubgroup,
parameters.archType,
parameters.buildConfig,
parameters.pgoType) }}
displayName: ${{ format('CoreCLR {0} Product Build {1}{2} {3} {4} {5}',
parameters.runtimeVariant, parameters.osGroup, parameters.osSubgroup,
parameters.archType,
parameters.buildConfig,
parameters.pgoType) }}
${{ if eq(parameters.testGroup, 'clrTools') }}:
name: ${{ format('coreclr_{0}_tools_unittests_{1}{2}_{3}_{4}', parameters.runtimeVariant, parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}
displayName: ${{ format('CoreCLR {0} Tools Unit Tests {1}{2} {3} {4}', parameters.runtimeVariant, parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}
# Run all steps in the container.
# Note that the containers are defined in platform-matrix.yml
container: ${{ parameters.container }}
timeoutInMinutes: ${{ parameters.timeoutInMinutes }}
crossBuild: ${{ parameters.crossBuild }}
crossrootfsDir: ${{ parameters.crossrootfsDir }}
gatherAssetManifests: true
variables:
- name: osGroup
value: ${{ parameters.osGroup }}
- name: osSubgroup
value: ${{ parameters.osSubgroup }}
- name: compilerArg
value: ''
- name: publishLogsArtifactPrefix
value: 'BuildLogs_CoreCLR'
- ${{ if eq(parameters.testGroup, 'clrTools') }}:
- name: publishLogsArtifactPrefix
value: 'BuildLogs_CoreCLR_ToolsUnitTests'
- ${{ if eq(parameters.compilerName, 'gcc') }}:
- name: compilerArg
value: '-gcc'
- name: publishLogsArtifactPrefix
value: 'BuildLogs_CoreCLR_GCC'
- ${{ if and(ne(parameters.osGroup, 'windows'), ne(parameters.compilerName, 'gcc')) }}:
- name: compilerArg
value: '-clang9'
# Building for x64 MUSL happens on Alpine Linux and we need to use the stable version available there
- ${{ if and(eq(parameters.osGroup, 'Linux'), eq(parameters.osSubgroup, '_musl'), eq(parameters.archType, 'x64')) }}:
- name: compilerArg
value: ''
# AppleClang has different version scheme, so we let complier introspection pick up the available clang from PATH
- ${{ if eq(parameters.osGroup, 'OSX') }}:
- name: compilerArg
value: ''
- ${{ if and(ne(variables['System.TeamProject'], 'public'), ne(variables['Build.Reason'], 'PullRequest')) }}:
# Variables used to publish packages to blob feed
- name: dotnetfeedUrl
value: https://dotnetfeed.blob.core.windows.net/dotnet-coreclr/index.json
- name: dotnetfeedPAT
value: $(dotnetfeed-storage-access-key-1)
# Variables used by arcade to gather asset manifests
- name: _DotNetPublishToBlobFeed
value: true
- name: officialBuildIdArg
value: ''
- ${{ if eq(parameters.isOfficialBuild, true) }}:
- name: officialBuildIdArg
value: '/p:OfficialBuildId=$(Build.BuildNumber)'
- name: enforcePgoArg
value: ''
# The EnforcePGO script is only supported on Windows and is not supported on arm or arm64.
- ${{ if and(eq(parameters.buildConfig, 'Release'), and(eq(parameters.osGroup, 'windows'), not(or(eq(parameters.archType, 'arm64'), eq(parameters.archType, 'arm')))), ne(parameters.pgoType, 'pgo')) }}:
- name: enforcePgoArg
value: '-enforcepgo'
- name: clrInterpreterBuildArg
value: ''
- ${{ if eq(parameters.testGroup, 'clrinterpreter') }}:
- name: clrInterpreterBuildArg
value: '-cmakeargs "-DFEATURE_INTERPRETER=1"'
- name: clrRuntimeComponentsBuildArg
value: ''
- ${{ if ne(parameters.testGroup, 'innerloop') }}:
- name: clrRuntimeComponentsBuildArg
value: '-component runtime -component alljits -component paltests -component nativeaot -component spmi '
- ${{ if and(eq(parameters.osGroup, 'Linux'), eq(parameters.archType, 'x86')) }}:
- name: clrRuntimeComponentsBuildArg
value: '-component runtime -component jit -component iltools -component spmi '
- name: pgoInstrumentArg
value: ''
- ${{ if eq(parameters.pgoType, 'PGO' )}}:
- name: pgoInstrumentArg
value: '-pgoinstrument '
- name: SignType
value: $[ coalesce(variables.OfficialSignType, 'real') ]
- name: clrRuntimePortableBuildArg
value: ''
- ${{ if eq(parameters.osGroup, 'Tizen') }}:
- name: clrRuntimePortableBuildArg
value: '-portablebuild=false'
- ${{ parameters.variables }}
steps:
# Install native dependencies
# Linux builds use docker images with dependencies preinstalled,
# and FreeBSD builds use a build agent with dependencies
# preinstalled, so we only need this step for OSX and Windows.
- ${{ if eq(parameters.osGroup, 'OSX') }}:
- script: $(Build.SourcesDirectory)/eng/install-native-dependencies.sh $(osGroup) ${{ parameters.archType }} azDO
displayName: Install native dependencies
# Install internal tools on official builds
# Since our internal tools are behind an authenticated feed,
# we need to use the DotNetCli AzDO task to restore from the feed using a service connection.
# We can't do this from within the build, so we need to do this as a separate step.
- ${{ if and(eq(variables['System.TeamProject'], 'internal'), ne(variables['Build.Reason'], 'PullRequest')) }}:
- template: /eng/pipelines/common/restore-internal-tools.yml
# Install MicroBuild for signing the DAC and DBI
- ${{ if and(eq(variables['System.TeamProject'], 'internal'), eq(parameters.signBinaries, true), eq(parameters.osGroup, 'windows')) }}:
- task: MicroBuildSigningPlugin@2
displayName: Install MicroBuild plugin for Signing
inputs:
signType: $(SignType)
zipSources: false
feedSource: https://dnceng.pkgs.visualstudio.com/_packaging/MicroBuildToolset/nuget/v3/index.json
continueOnError: false
condition: and(succeeded(), in(variables['SignType'], 'real', 'test'))
- ${{ if in(parameters.osGroup, 'OSX', 'iOS', 'tvOS') }}:
- script: |
du -sh $(Build.SourcesDirectory)/*
df -h
displayName: Disk Usage before Build
# Build/Generate native prerequisites
- script: $(Build.SourcesDirectory)$(dir)build$(scriptExt) -subset clr.nativeprereqs $(crossArg) -arch $(archType) $(osArg) -c $(buildConfig) $(officialBuildIdArg) -ci /bl:$(Build.SourcesDirectory)artifacts/log/$(buildConfig)/CoreCLRNativePrereqs.binlog
displayName: Build and generate native prerequisites
# Build CoreCLR Runtime
- ${{ if ne(parameters.osGroup, 'windows') }}:
- script: $(Build.SourcesDirectory)/src/coreclr/build-runtime$(scriptExt) $(buildConfig) $(archType) $(crossArg) $(osArg) -ci $(compilerArg) $(clrRuntimeComponentsBuildArg) $(pgoInstrumentArg) $(officialBuildIdArg) $(clrInterpreterBuildArg) $(clrRuntimePortableBuildArg) $(CoreClrPgoDataArg)
displayName: Build CoreCLR Runtime
- ${{ if eq(parameters.osGroup, 'windows') }}:
- script: set __TestIntermediateDir=int&&$(Build.SourcesDirectory)/src/coreclr/build-runtime$(scriptExt) $(buildConfig) $(archType) -ci $(enforcePgoArg) $(pgoInstrumentArg) $(officialBuildIdArg) $(clrInterpreterBuildArg) $(CoreClrPgoDataArg)
displayName: Build CoreCLR Runtime
- ${{ if in(parameters.osGroup, 'OSX', 'iOS', 'tvOS') }}:
- script: |
du -sh $(Build.SourcesDirectory)/*
df -h
displayName: Disk Usage after Build
# Build CoreCLR Managed Components
- ${{ if or(ne(parameters.osGroup, 'Linux'), ne(parameters.archType, 'x86')) }}:
- script: $(Build.SourcesDirectory)$(dir)build$(scriptExt) -subset clr.corelib+clr.nativecorelib+clr.nativeaotlibs+clr.tools+clr.packages+clr.paltestlist $(crossArg) -arch $(archType) $(osArg) -c $(buildConfig) $(pgoInstrumentArg) $(officialBuildIdArg) -ci
displayName: Build managed product components and packages
- ${{ if and(eq(parameters.osGroup, 'Linux'), eq(parameters.archType, 'x86')) }}:
- script: $(Build.SourcesDirectory)$(dir)build$(scriptExt) -subset clr.corelib $(crossArg) -arch $(archType) $(osArg) -c $(buildConfig) $(pgoInstrumentArg) $(officialBuildIdArg) -ci
displayName: Build managed product components and packages
# Run CoreCLR Tools unit tests
- ${{ if eq(parameters.testGroup, 'clrTools') }}:
- script: $(Build.SourcesDirectory)$(dir)build$(scriptExt) -subset clr.toolstests $(crossArg) -arch $(archType) $(osArg) -c $(buildConfig) $(officialBuildIdArg) -ci -test
displayName: Run CoreCLR Tools unit tests
# Build native test components
- ${{ if and(ne(parameters.isOfficialBuild, true), ne(parameters.disableClrTest, true)) }}:
- script: $(Build.SourcesDirectory)/src/tests/build$(scriptExt) skipmanaged skipgeneratelayout $(buildConfig) $(archType) $(crossArg) $(osArg) $(priorityArg) $(compilerArg)
displayName: Build native test components
# Build libs.native, host.native and mono with gcc
- ${{ if eq(parameters.compilerName, 'gcc') }}:
- script: $(Build.SourcesDirectory)$(dir)build$(scriptExt) libs.native+host.native+mono $(compilerArg) $(crossArg) -arch $(archType) $(osArg) -c $(buildConfig) $(pgoInstrumentArg) $(officialBuildIdArg) -ci
displayName: Build libs.native+host.native+mono
# Sign and add entitlements to these MacOS binaries
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
- ${{ if eq(parameters.osGroup, 'OSX') }}:
- template: /eng/pipelines/common/macos-sign-with-entitlements.yml
parameters:
filesToSign:
- name: createdump
path: $(buildProductRootFolderPath)
entitlementsFile: $(Build.SourcesDirectory)/eng/pipelines/common/createdump-entitlements.plist
- name: corerun
path: $(buildProductRootFolderPath)
entitlementsFile: $(Build.SourcesDirectory)/eng/pipelines/common/entitlements.plist
- task: CopyFiles@2
displayName: 'Copy signed createdump to sharedFramework'
inputs:
contents: createdump
sourceFolder: $(buildProductRootFolderPath)
targetFolder: $(buildProductRootFolderPath)/sharedFramework
overWrite: true
# Sign diagnostic files on Windows
- ${{ if and(eq(parameters.osGroup, 'windows'), eq(parameters.signBinaries, true)) }}:
- powershell: >-
eng\common\build.ps1 -ci -sign -restore -configuration:$(buildConfig) -warnaserror:0 $(officialBuildIdArg)
/p:DiagnosticsFilesRoot="$(buildProductRootFolderPath)"
/p:SignDiagnostics=true
/p:DotNetSignType=$(SignType)
-noBl
/bl:$(Build.SourcesDirectory)/artifacts/log/$(buildConfig)/SignDiagnostics.binlog
-projects $(Build.SourcesDirectory)\eng\empty.csproj
displayName: Sign Diagnostic Binaries
- task: PublishPipelineArtifact@1
displayName: Publish Signing Logs
inputs:
targetPath: '$(Build.SourcesDirectory)/artifacts/log/'
artifactName: ${{ format('SignLogs_{0}{1}_{2}_{3}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}
continueOnError: true
condition: always()
# Builds using gcc are not tested, and clrTools unitests do not publish the build artifacts
- ${{ if and(ne(parameters.compilerName, 'gcc'), ne(parameters.testGroup, 'clrTools'), ne(parameters.disableClrTest, true)) }}:
# Publish product output directory for consumption by tests.
- template: /eng/pipelines/common/upload-artifact-step.yml
parameters:
rootFolder: $(buildProductRootFolderPath)
includeRootFolder: false
archiveType: $(archiveType)
tarCompression: $(tarCompression)
archiveExtension: $(archiveExtension)
artifactName: $(buildProductArtifactName)
displayName: 'product build'
- ${{ if and(in(parameters.osGroup, 'windows', 'Linux'), ne(parameters.archType, 'x86'), ne(parameters.compilerName, 'gcc'), ne(parameters.testGroup, 'clrTools'), eq(parameters.pgoType, '')) }}:
- template: /eng/pipelines/coreclr/templates/crossdac-build.yml
parameters:
archType: ${{ parameters.archType }}
osGroup: ${{ parameters.osGroup }}
osSubgroup: ${{ parameters.osSubgroup }}
- ${{ if and(ne(parameters.compilerName, 'gcc'), ne(parameters.testGroup, ''), ne(parameters.testGroup, 'clrTools'), ne(parameters.disableClrTest, true)) }}:
# Publish test native components for consumption by test execution.
- ${{ if and(ne(parameters.isOfficialBuild, true), eq(parameters.pgoType, '')) }}:
- template: /eng/pipelines/common/upload-artifact-step.yml
parameters:
rootFolder: $(nativeTestArtifactRootFolderPath)
includeRootFolder: false
archiveType: $(archiveType)
tarCompression: $(tarCompression)
archiveExtension: $(archiveExtension)
artifactName: $(nativeTestArtifactName)
displayName: 'native test components'
# Get key vault secrets for publishing
- ${{ if and(ne(variables['System.TeamProject'], 'public'), ne(variables['Build.Reason'], 'PullRequest')) }}:
- task: AzureKeyVault@1
inputs:
azureSubscription: 'DotNet-Engineering-Services_KeyVault'
KeyVaultName: EngKeyVault
SecretsFilter: 'dotnetfeed-storage-access-key-1,microsoft-symbol-server-pat,symweb-symbol-server-pat'
# Save packages using the prepare-signed-artifacts format.
- ${{ if and(eq(parameters.isOfficialBuild, true), ne(parameters.testGroup, 'clrTools'), eq(parameters.pgoType, '')) }}:
- template: /eng/pipelines/common/upload-intermediate-artifacts-step.yml
parameters:
name: ${{ parameters.platform }}
# Publish unit tests results if executing unit tests
- ${{ if eq(parameters.testGroup, 'clrTools') }}:
- task: PublishTestResults@2
inputs:
testResultsFormat: 'xUnit'
testResultsFiles: '*.xml'
testRunTitle: CoreCLR-Tools-Unittests-$(osGroup)$(osSubgroup)_$(archType)_$(buildConfig)
searchFolder: '$(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)'
continueOnError: true
condition: always()
# Publish Logs
- task: PublishPipelineArtifact@1
displayName: Publish Logs
inputs:
targetPath: $(Build.SourcesDirectory)/artifacts/log
artifactName: '$(publishLogsArtifactPrefix)${{ parameters.pgoType }}_$(osGroup)$(osSubgroup)_$(archType)_$(buildConfig)'
continueOnError: true
condition: always()
| 1 |
|
dotnet/runtime | 65,901 | Remove usages of native bootstrapping | hoyosjs | "2022-02-25T17:42:53Z" | "2022-02-25T22:06:34Z" | 2ce0af0b8404cf051783516cff4b07abccd5de00 | 8727ac772e1d8031691ee52e2d66e2520f78d01a | Remove usages of native bootstrapping. | ./eng/pipelines/mono/templates/build-job.yml | parameters:
buildConfig: ''
archType: ''
osGroup: ''
osSubgroup: ''
platform: ''
container: ''
timeoutInMinutes: ''
variables: {}
pool: ''
condition: true
runtimeVariant: ''
isOfficialBuild: false
crossBuild: false
crossrootfsDir: ''
dependsOn: []
monoCrossAOTTargetOS: []
dependOnEvaluatePaths: false
pgoType: ''
### Product build
jobs:
- template: xplat-pipeline-job.yml
parameters:
buildConfig: ${{ parameters.buildConfig }}
archType: ${{ parameters.archType }}
osGroup: ${{ parameters.osGroup }}
osSubgroup: ${{ parameters.osSubgroup }}
helixType: 'build/product/'
enableMicrobuild: true
pool: ${{ parameters.pool }}
runtimeVariant: ${{ parameters.runtimeVariant }}
crossBuild: ${{ parameters.crossBuild }}
monoCrossAOTTargetOS: ${{ parameters.monoCrossAOTTargetOS }}
crossrootfsDir: ${{ parameters.crossroofsDir }}
condition: ${{ parameters.condition }}
dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }}
# Compute job name from template parameters
name: ${{ format('mono_{0}_product_build_{1}{2}_{3}_{4}', parameters.runtimeVariant, parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}
displayName: ${{ format('Mono {0} Product Build {1}{2} {3} {4}', parameters.runtimeVariant, parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}
# Run all steps in the container.
# Note that the containers are defined in platform-matrix.yml
container: ${{ parameters.container }}
dependsOn: ${{ parameters.dependsOn }}
timeoutInMinutes: ${{ parameters.timeoutInMinutes }}
gatherAssetManifests: true
variables:
- name: osGroup
value: ${{ parameters.osGroup }}
- name: osSubgroup
value: ${{ parameters.osSubgroup }}
- name: officialBuildIdArg
value: ''
- name: osOverride
value: ''
- name: aotCrossParameter
value: ''
- name: llvmParameter
value: ''
- name: msCorDbi
value: '+mono.mscordbi'
- name: darwinFrameworks
value: ''
- ${{ if eq(parameters.isOfficialBuild, true) }}:
- name: officialBuildIdArg
value: '/p:officialBuildId=$(Build.BuildNumber)'
- ${{ if and(eq(parameters.osSubgroup, '_musl'), eq(parameters.osGroup, 'Linux')) }}:
# Set output RID manually: musl isn't properly detected. Make sure to also convert linux to
# lowercase for RID format. (Detection normally converts, but we're preventing it.)
- name: OutputRidArg
value: /p:OutputRid=linux-musl-${{ parameters.archType }}
- name: _PortableBuild
value: true
- ${{ if eq(parameters.osGroup, 'tvOS') }}:
- name: osOverride
value: -os tvOS
- name: darwinFrameworks
value: /p:BuildDarwinFrameworks=true
- ${{ if eq(parameters.osGroup, 'tvOSSimulator') }}:
- name: osOverride
value: -os tvOSSimulator
- name: darwinFrameworks
value: /p:BuildDarwinFrameworks=true
- ${{ if eq(parameters.osGroup, 'iOS') }}:
- name: osOverride
value: -os iOS
- name: darwinFrameworks
value: /p:BuildDarwinFrameworks=true
- ${{ if eq(parameters.osGroup, 'iOSSimulator') }}:
- name: osOverride
value: -os iOSSimulator
- name: darwinFrameworks
value: /p:BuildDarwinFrameworks=true
- ${{ if eq(parameters.osGroup, 'Android') }}:
- name: osOverride
value: -os Android
- ${{ if eq(parameters.osGroup, 'Browser') }}:
- name: archType
value: wasm
- name: osOverride
value: '-os Browser'
- ${{ if and(eq(parameters.osGroup, 'Linux'), not(eq(parameters.archType, 'x64'))) }}:
name: llvmCxxAbi
value: /p:MonoLLVMUseCxx11Abi=true
- ${{ if eq(parameters.runtimeVariant, 'llvmjit') }}:
- name: llvmParameter
value: /p:MonoEnableLLVM=true /p:MonoBundleLLVMOptimizer=false $(llvmCxxAbi)
- ${{ if eq(parameters.runtimeVariant, 'llvmaot') }}:
- name: llvmParameter
value: /p:MonoEnableLLVM=true /p:MonoBundleLLVMOptimizer=true $(llvmCxxAbi)
- ${{ if gt(length(parameters.monoCrossAOTTargetOS),0) }}:
- name: aotCrossParameter
value: /p:MonoCrossAOTTargetOS=${{join('+',parameters.monoCrossAOTTargetOS)}} /p:SkipMonoCrossJitConfigure=true /p:BuildMonoAOTCrossCompilerOnly=true
- ${{ parameters.variables }}
steps:
# Install native dependencies
# Linux builds use docker images with dependencies preinstalled,
# and FreeBSD builds use a build agent with dependencies
# preinstalled, so we only need this step for OSX and Windows.
- ${{ if in(parameters.osGroup, 'OSX', 'iOS', 'tvOS') }}:
- script: $(Build.SourcesDirectory)/eng/install-native-dependencies.sh $(osGroup) ${{ parameters.archType }} azDO
displayName: Install native dependencies
- ${{ if eq(parameters.osGroup, 'windows') }}:
# Necessary to install python
- script: $(Build.SourcesDirectory)\eng\common\init-tools-native.cmd -InstallDirectory $(Build.SourcesDirectory)\native-tools -Force
displayName: Install native dependencies
- ${{ each monoCrossAOTTargetOS in parameters.monoCrossAOTTargetOS }}:
- task: DownloadPipelineArtifact@2
displayName: Download ${{monoCrossAOTTargetOS}} AOT offset files
inputs:
artifact: Mono_Offsets_${{monoCrossAOTTargetOS}}
path: '$(Build.SourcesDirectory)/artifacts/obj/mono/offsetfiles'
- ${{ if in(parameters.osGroup, 'OSX', 'iOS', 'tvOS') }}:
- script: |
du -sh $(Build.SourcesDirectory)/*
df -h
displayName: Disk Usage before Build
# Build
- ${{ if ne(parameters.osGroup, 'windows') }}:
- script: ./build$(scriptExt) -subset mono$(msCorDbi)+clr.hosts -c $(buildConfig) -arch $(archType) $(osOverride) -ci $(officialBuildIdArg) $(aotCrossParameter) $(llvmParameter) $(darwinFrameworks)
displayName: Build product
- ${{ if eq(parameters.osGroup, 'windows') }}:
- script: build$(scriptExt) -subset mono$(msCorDbi)+clr.hosts -c $(buildConfig) -arch $(archType) $(osOverride) -ci $(officialBuildIdArg) $(aotCrossParameter) $(llvmParameter)
displayName: Build product
- ${{ if in(parameters.osGroup, 'OSX', 'iOS', 'tvOS') }}:
- script: |
du -sh $(Build.SourcesDirectory)/*
df -h
displayName: Disk Usage after Build
# Publish product output directory for consumption by tests.
- template: /eng/pipelines/common/upload-artifact-step.yml
parameters:
rootFolder: $(buildProductRootFolderPath)
includeRootFolder: false
archiveType: $(archiveType)
tarCompression: $(tarCompression)
archiveExtension: $(archiveExtension)
artifactName: $(buildProductArtifactName)
displayName: 'product build'
# Build packages
- ${{ if ne(parameters.osGroup, 'windows') }}:
- script: ./build$(scriptExt) -subset mono$(msCorDbi)+clr.hosts -c $(buildConfig) -arch $(archType) $(osOverride) -ci $(officialBuildIdArg) $(aotCrossParameter) $(llvmParameter) -pack $(OutputRidArg)
displayName: Build nupkg
- ${{ if eq(parameters.osGroup, 'windows') }}:
- script: build$(scriptExt) -subset mono$(msCorDbi)+clr.hosts -c $(buildConfig) -arch $(archType) $(osOverride) -ci $(officialBuildIdArg) $(aotCrossParameter) $(llvmParameter) -pack $(OutputRidArg)
displayName: Build nupkg
# Publish official build
- ${{ if eq(parameters.publishToBlobFeed, 'true') }}:
- ${{ if ne(parameters.osGroup, 'windows') }}:
- script: $(Build.SourcesDirectory)/eng/common/build.sh --ci --restore --publish --configuration $(_BuildConfig) /p:DotNetPublishUsingPipelines=true /p:DotNetPublishToBlobFeed=true /p:DotNetPublishBlobFeedUrl=$(dotnetfeedUrl) /p:DotNetPublishBlobFeedKey=$(dotnetfeedPAT) /p:Configuration=$(_BuildConfig) /p:TargetArchitecture=$(archType) /p:TargetOS=$(osGroup) /p:OSIdentifier=$(osGroup)$(osSubgroup) /bl:"$(Build.SourcesDirectory)/artifacts/log/publish-pkgs.binlog" --projects $(Build.SourcesDirectory)/eng/empty.csproj
displayName: Publish packages to blob feed
env:
# TODO: remove NUGET_PACKAGES once https://github.com/dotnet/arcade/issues/1578 is fixed
NUGET_PACKAGES: $(Build.SourcesDirectory)/.packages
${{ if eq(parameters.osGroup, 'FreeBSD') }}:
# Arcade uses this SDK instead of trying to restore one.
DotNetCoreSdkDir: /usr/local/dotnet
- ${{ if eq(parameters.osGroup, 'windows') }}:
# TODO: pass publish feed url and access token in from the internal pipeline
- powershell: eng\common\build.ps1 -ci -restore -publish -configuration $(_BuildConfig) /p:DotNetPublishUsingPipelines=true /p:DotNetPublishToBlobFeed=true /p:DotNetPublishBlobFeedUrl=$(dotnetfeedUrl) /p:DotNetPublishBlobFeedKey=$(dotnetfeedPAT) /p:Configuration=$(_BuildConfig) /p:TargetArchitecture=$(archType) /p:TargetOS=$(osGroup) /p:OSIdentifier=$(osGroup)$(osSubgroup) /bl:"$(Build.SourcesDirectory)\artifacts\log\publish-pkgs.binlog" -projects $(Build.SourcesDirectory)\eng\empty.csproj
displayName: Publish packages to blob feed
env:
# TODO: remove NUGET_PACKAGES once https://github.com/dotnet/arcade/issues/1578 is fixed
NUGET_PACKAGES: $(Build.SourcesDirectory)\.packages
# Publish Logs
- task: PublishPipelineArtifact@1
displayName: Publish Logs
inputs:
targetPath: $(Build.SourcesDirectory)/artifacts/log
artifactName: 'BuildLogs_Mono_${{ parameters.runtimeVariant }}_$(osGroup)$(osSubgroup)_$(archType)_$(buildConfig)'
continueOnError: true
condition: always()
| parameters:
buildConfig: ''
archType: ''
osGroup: ''
osSubgroup: ''
platform: ''
container: ''
timeoutInMinutes: ''
variables: {}
pool: ''
condition: true
runtimeVariant: ''
isOfficialBuild: false
crossBuild: false
crossrootfsDir: ''
dependsOn: []
monoCrossAOTTargetOS: []
dependOnEvaluatePaths: false
pgoType: ''
### Product build
jobs:
- template: xplat-pipeline-job.yml
parameters:
buildConfig: ${{ parameters.buildConfig }}
archType: ${{ parameters.archType }}
osGroup: ${{ parameters.osGroup }}
osSubgroup: ${{ parameters.osSubgroup }}
helixType: 'build/product/'
enableMicrobuild: true
pool: ${{ parameters.pool }}
runtimeVariant: ${{ parameters.runtimeVariant }}
crossBuild: ${{ parameters.crossBuild }}
monoCrossAOTTargetOS: ${{ parameters.monoCrossAOTTargetOS }}
crossrootfsDir: ${{ parameters.crossroofsDir }}
condition: ${{ parameters.condition }}
dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }}
# Compute job name from template parameters
name: ${{ format('mono_{0}_product_build_{1}{2}_{3}_{4}', parameters.runtimeVariant, parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}
displayName: ${{ format('Mono {0} Product Build {1}{2} {3} {4}', parameters.runtimeVariant, parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}
# Run all steps in the container.
# Note that the containers are defined in platform-matrix.yml
container: ${{ parameters.container }}
dependsOn: ${{ parameters.dependsOn }}
timeoutInMinutes: ${{ parameters.timeoutInMinutes }}
gatherAssetManifests: true
variables:
- name: osGroup
value: ${{ parameters.osGroup }}
- name: osSubgroup
value: ${{ parameters.osSubgroup }}
- name: officialBuildIdArg
value: ''
- name: osOverride
value: ''
- name: aotCrossParameter
value: ''
- name: llvmParameter
value: ''
- name: msCorDbi
value: '+mono.mscordbi'
- name: darwinFrameworks
value: ''
- ${{ if eq(parameters.isOfficialBuild, true) }}:
- name: officialBuildIdArg
value: '/p:officialBuildId=$(Build.BuildNumber)'
- ${{ if and(eq(parameters.osSubgroup, '_musl'), eq(parameters.osGroup, 'Linux')) }}:
# Set output RID manually: musl isn't properly detected. Make sure to also convert linux to
# lowercase for RID format. (Detection normally converts, but we're preventing it.)
- name: OutputRidArg
value: /p:OutputRid=linux-musl-${{ parameters.archType }}
- name: _PortableBuild
value: true
- ${{ if eq(parameters.osGroup, 'tvOS') }}:
- name: osOverride
value: -os tvOS
- name: darwinFrameworks
value: /p:BuildDarwinFrameworks=true
- ${{ if eq(parameters.osGroup, 'tvOSSimulator') }}:
- name: osOverride
value: -os tvOSSimulator
- name: darwinFrameworks
value: /p:BuildDarwinFrameworks=true
- ${{ if eq(parameters.osGroup, 'iOS') }}:
- name: osOverride
value: -os iOS
- name: darwinFrameworks
value: /p:BuildDarwinFrameworks=true
- ${{ if eq(parameters.osGroup, 'iOSSimulator') }}:
- name: osOverride
value: -os iOSSimulator
- name: darwinFrameworks
value: /p:BuildDarwinFrameworks=true
- ${{ if eq(parameters.osGroup, 'Android') }}:
- name: osOverride
value: -os Android
- ${{ if eq(parameters.osGroup, 'Browser') }}:
- name: archType
value: wasm
- name: osOverride
value: '-os Browser'
- ${{ if and(eq(parameters.osGroup, 'Linux'), not(eq(parameters.archType, 'x64'))) }}:
name: llvmCxxAbi
value: /p:MonoLLVMUseCxx11Abi=true
- ${{ if eq(parameters.runtimeVariant, 'llvmjit') }}:
- name: llvmParameter
value: /p:MonoEnableLLVM=true /p:MonoBundleLLVMOptimizer=false $(llvmCxxAbi)
- ${{ if eq(parameters.runtimeVariant, 'llvmaot') }}:
- name: llvmParameter
value: /p:MonoEnableLLVM=true /p:MonoBundleLLVMOptimizer=true $(llvmCxxAbi)
- ${{ if gt(length(parameters.monoCrossAOTTargetOS),0) }}:
- name: aotCrossParameter
value: /p:MonoCrossAOTTargetOS=${{join('+',parameters.monoCrossAOTTargetOS)}} /p:SkipMonoCrossJitConfigure=true /p:BuildMonoAOTCrossCompilerOnly=true
- ${{ parameters.variables }}
steps:
# Install native dependencies
# Linux builds use docker images with dependencies preinstalled,
# and FreeBSD builds use a build agent with dependencies
# preinstalled, so we only need this step for OSX and Windows.
- ${{ if in(parameters.osGroup, 'OSX', 'iOS', 'tvOS') }}:
- script: $(Build.SourcesDirectory)/eng/install-native-dependencies.sh $(osGroup) ${{ parameters.archType }} azDO
displayName: Install native dependencies
- ${{ each monoCrossAOTTargetOS in parameters.monoCrossAOTTargetOS }}:
- task: DownloadPipelineArtifact@2
displayName: Download ${{monoCrossAOTTargetOS}} AOT offset files
inputs:
artifact: Mono_Offsets_${{monoCrossAOTTargetOS}}
path: '$(Build.SourcesDirectory)/artifacts/obj/mono/offsetfiles'
- ${{ if in(parameters.osGroup, 'OSX', 'iOS', 'tvOS') }}:
- script: |
du -sh $(Build.SourcesDirectory)/*
df -h
displayName: Disk Usage before Build
# Build
- ${{ if ne(parameters.osGroup, 'windows') }}:
- script: ./build$(scriptExt) -subset mono$(msCorDbi)+clr.hosts -c $(buildConfig) -arch $(archType) $(osOverride) -ci $(officialBuildIdArg) $(aotCrossParameter) $(llvmParameter) $(darwinFrameworks)
displayName: Build product
- ${{ if eq(parameters.osGroup, 'windows') }}:
- script: build$(scriptExt) -subset mono$(msCorDbi)+clr.hosts -c $(buildConfig) -arch $(archType) $(osOverride) -ci $(officialBuildIdArg) $(aotCrossParameter) $(llvmParameter)
displayName: Build product
- ${{ if in(parameters.osGroup, 'OSX', 'iOS', 'tvOS') }}:
- script: |
du -sh $(Build.SourcesDirectory)/*
df -h
displayName: Disk Usage after Build
# Publish product output directory for consumption by tests.
- template: /eng/pipelines/common/upload-artifact-step.yml
parameters:
rootFolder: $(buildProductRootFolderPath)
includeRootFolder: false
archiveType: $(archiveType)
tarCompression: $(tarCompression)
archiveExtension: $(archiveExtension)
artifactName: $(buildProductArtifactName)
displayName: 'product build'
# Build packages
- ${{ if ne(parameters.osGroup, 'windows') }}:
- script: ./build$(scriptExt) -subset mono$(msCorDbi)+clr.hosts -c $(buildConfig) -arch $(archType) $(osOverride) -ci $(officialBuildIdArg) $(aotCrossParameter) $(llvmParameter) -pack $(OutputRidArg)
displayName: Build nupkg
- ${{ if eq(parameters.osGroup, 'windows') }}:
- script: build$(scriptExt) -subset mono$(msCorDbi)+clr.hosts -c $(buildConfig) -arch $(archType) $(osOverride) -ci $(officialBuildIdArg) $(aotCrossParameter) $(llvmParameter) -pack $(OutputRidArg)
displayName: Build nupkg
# Publish official build
- ${{ if eq(parameters.publishToBlobFeed, 'true') }}:
- ${{ if ne(parameters.osGroup, 'windows') }}:
- script: $(Build.SourcesDirectory)/eng/common/build.sh --ci --restore --publish --configuration $(_BuildConfig) /p:DotNetPublishUsingPipelines=true /p:DotNetPublishToBlobFeed=true /p:DotNetPublishBlobFeedUrl=$(dotnetfeedUrl) /p:DotNetPublishBlobFeedKey=$(dotnetfeedPAT) /p:Configuration=$(_BuildConfig) /p:TargetArchitecture=$(archType) /p:TargetOS=$(osGroup) /p:OSIdentifier=$(osGroup)$(osSubgroup) /bl:"$(Build.SourcesDirectory)/artifacts/log/publish-pkgs.binlog" --projects $(Build.SourcesDirectory)/eng/empty.csproj
displayName: Publish packages to blob feed
env:
# TODO: remove NUGET_PACKAGES once https://github.com/dotnet/arcade/issues/1578 is fixed
NUGET_PACKAGES: $(Build.SourcesDirectory)/.packages
${{ if eq(parameters.osGroup, 'FreeBSD') }}:
# Arcade uses this SDK instead of trying to restore one.
DotNetCoreSdkDir: /usr/local/dotnet
- ${{ if eq(parameters.osGroup, 'windows') }}:
# TODO: pass publish feed url and access token in from the internal pipeline
- powershell: eng\common\build.ps1 -ci -restore -publish -configuration $(_BuildConfig) /p:DotNetPublishUsingPipelines=true /p:DotNetPublishToBlobFeed=true /p:DotNetPublishBlobFeedUrl=$(dotnetfeedUrl) /p:DotNetPublishBlobFeedKey=$(dotnetfeedPAT) /p:Configuration=$(_BuildConfig) /p:TargetArchitecture=$(archType) /p:TargetOS=$(osGroup) /p:OSIdentifier=$(osGroup)$(osSubgroup) /bl:"$(Build.SourcesDirectory)\artifacts\log\publish-pkgs.binlog" -projects $(Build.SourcesDirectory)\eng\empty.csproj
displayName: Publish packages to blob feed
env:
# TODO: remove NUGET_PACKAGES once https://github.com/dotnet/arcade/issues/1578 is fixed
NUGET_PACKAGES: $(Build.SourcesDirectory)\.packages
# Publish Logs
- task: PublishPipelineArtifact@1
displayName: Publish Logs
inputs:
targetPath: $(Build.SourcesDirectory)/artifacts/log
artifactName: 'BuildLogs_Mono_${{ parameters.runtimeVariant }}_$(osGroup)$(osSubgroup)_$(archType)_$(buildConfig)'
continueOnError: true
condition: always()
| 1 |
|
dotnet/runtime | 65,901 | Remove usages of native bootstrapping | hoyosjs | "2022-02-25T17:42:53Z" | "2022-02-25T22:06:34Z" | 2ce0af0b8404cf051783516cff4b07abccd5de00 | 8727ac772e1d8031691ee52e2d66e2520f78d01a | Remove usages of native bootstrapping. | ./eng/pipelines/mono/templates/generate-offsets.yml | parameters:
buildConfig: 'Debug'
osGroup: ''
osSubGroup: ''
platform: ''
container: ''
timeoutInMinutes: ''
variables: {}
pool: ''
condition: true
isOfficialBuild: false
### Product build
jobs:
- template: xplat-pipeline-job.yml
parameters:
buildConfig: ${{ parameters.buildConfig }}
osGroup: ${{ parameters.osGroup }}
osSubGroup: ${{ parameters.osSubGroup }}
helixType: 'build/product/'
enableMicrobuild: true
pool: ${{ parameters.pool }}
condition: ${{ parameters.condition }}
dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }}
# Compute job name from template parameters
name: ${{ format('mono_{0}{1}_offsets', parameters.osGroup, parameters.osSubGroup) }}
displayName: ${{ format('Mono {0}{1} AOT offsets', parameters.osGroup, parameters.osSubGroup) }}
# Run all steps in the container.
# Note that the containers are defined in platform-matrix.yml
container: ${{ parameters.container }}
timeoutInMinutes: ${{ parameters.timeoutInMinutes }}
gatherAssetManifests: true
variables:
- name: osGroup
value: ${{ parameters.osGroup }}
- name: osSubGroup
value: ${{ parameters.osSubGroup }}
- name: officialBuildIdArg
value: ''
- ${{ if eq(parameters.isOfficialBuild, true) }}:
- name: officialBuildIdArg
value: '/p:officialBuildId=$(Build.BuildNumber)'
- name: osOverride
value: -os Linux
- name: archType
value: x64
- ${{ parameters.variables }}
steps:
# Install native dependencies
# Linux builds use docker images with dependencies preinstalled,
# and FreeBSD builds use a build agent with dependencies
# preinstalled, so we only need this step for OSX and Windows.
- ${{ if in(parameters.osGroup, 'OSX', 'iOS', 'tvOS') }}:
- script: $(Build.SourcesDirectory)/eng/install-native-dependencies.sh $(osGroup) ${{ parameters.archType }} azDO
displayName: Install native dependencies
- ${{ if eq(parameters.osGroup, 'windows') }}:
# Necessary to install python
- script: $(Build.SourcesDirectory)\eng\common\init-tools-native.cmd -InstallDirectory $(Build.SourcesDirectory)\native-tools -Force
displayName: Install native dependencies
# Build
- ${{ if ne(parameters.osGroup, 'windows') }}:
- script: ./build$(scriptExt) -subset mono.aotcross -c $(buildConfig) -arch $(archType) $(osOverride) -ci $(officialBuildIdArg) /p:MonoGenerateOffsetsOSGroups=$(osGroup)
displayName: Generate AOT offsets
- ${{ if eq(parameters.osGroup, 'windows') }}:
- script: build$(scriptExt) -subset mono.aotcross -c $(buildConfig) -arch $(archType) $(osOverride) -ci $(officialBuildIdArg) /p:MonoGenerateOffsetsOSGroups=$(osGroup)
displayName: Generate AOT offsets
# Upload offset files
- task: CopyFiles@2
displayName: Collect offset files
inputs:
sourceFolder: '$(Build.SourcesDirectory)/artifacts/obj/mono/'
contents: '**/offsets-*.h'
targetFolder: '$(Build.SourcesDirectory)/artifacts/obj/mono/offsetfiles/'
- task: PublishPipelineArtifact@1
displayName: Upload offset files
inputs:
targetPath: '$(Build.SourcesDirectory)/artifacts/obj/mono/offsetfiles'
artifactName: 'Mono_Offsets_$(osGroup)$(osSubGroup)'
# Publish Logs
- task: PublishPipelineArtifact@1
displayName: Publish Logs
inputs:
targetPath: $(Build.SourcesDirectory)/artifacts/log
artifactName: 'BuildLogs_Mono_Offsets_$(osGroup)$(osSubGroup)'
continueOnError: true
condition: always()
| parameters:
buildConfig: 'Debug'
osGroup: ''
osSubGroup: ''
platform: ''
container: ''
timeoutInMinutes: ''
variables: {}
pool: ''
condition: true
isOfficialBuild: false
### Product build
jobs:
- template: xplat-pipeline-job.yml
parameters:
buildConfig: ${{ parameters.buildConfig }}
osGroup: ${{ parameters.osGroup }}
osSubGroup: ${{ parameters.osSubGroup }}
helixType: 'build/product/'
enableMicrobuild: true
pool: ${{ parameters.pool }}
condition: ${{ parameters.condition }}
dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }}
# Compute job name from template parameters
name: ${{ format('mono_{0}{1}_offsets', parameters.osGroup, parameters.osSubGroup) }}
displayName: ${{ format('Mono {0}{1} AOT offsets', parameters.osGroup, parameters.osSubGroup) }}
# Run all steps in the container.
# Note that the containers are defined in platform-matrix.yml
container: ${{ parameters.container }}
timeoutInMinutes: ${{ parameters.timeoutInMinutes }}
gatherAssetManifests: true
variables:
- name: osGroup
value: ${{ parameters.osGroup }}
- name: osSubGroup
value: ${{ parameters.osSubGroup }}
- name: officialBuildIdArg
value: ''
- ${{ if eq(parameters.isOfficialBuild, true) }}:
- name: officialBuildIdArg
value: '/p:officialBuildId=$(Build.BuildNumber)'
- name: osOverride
value: -os Linux
- name: archType
value: x64
- ${{ parameters.variables }}
steps:
# Install native dependencies
# Linux builds use docker images with dependencies preinstalled,
# and FreeBSD builds use a build agent with dependencies
# preinstalled, so we only need this step for OSX and Windows.
- ${{ if in(parameters.osGroup, 'OSX', 'iOS', 'tvOS') }}:
- script: $(Build.SourcesDirectory)/eng/install-native-dependencies.sh $(osGroup) ${{ parameters.archType }} azDO
displayName: Install native dependencies
# Build
- ${{ if ne(parameters.osGroup, 'windows') }}:
- script: ./build$(scriptExt) -subset mono.aotcross -c $(buildConfig) -arch $(archType) $(osOverride) -ci $(officialBuildIdArg) /p:MonoGenerateOffsetsOSGroups=$(osGroup)
displayName: Generate AOT offsets
- ${{ if eq(parameters.osGroup, 'windows') }}:
- script: build$(scriptExt) -subset mono.aotcross -c $(buildConfig) -arch $(archType) $(osOverride) -ci $(officialBuildIdArg) /p:MonoGenerateOffsetsOSGroups=$(osGroup)
displayName: Generate AOT offsets
# Upload offset files
- task: CopyFiles@2
displayName: Collect offset files
inputs:
sourceFolder: '$(Build.SourcesDirectory)/artifacts/obj/mono/'
contents: '**/offsets-*.h'
targetFolder: '$(Build.SourcesDirectory)/artifacts/obj/mono/offsetfiles/'
- task: PublishPipelineArtifact@1
displayName: Upload offset files
inputs:
targetPath: '$(Build.SourcesDirectory)/artifacts/obj/mono/offsetfiles'
artifactName: 'Mono_Offsets_$(osGroup)$(osSubGroup)'
# Publish Logs
- task: PublishPipelineArtifact@1
displayName: Publish Logs
inputs:
targetPath: $(Build.SourcesDirectory)/artifacts/log
artifactName: 'BuildLogs_Mono_Offsets_$(osGroup)$(osSubGroup)'
continueOnError: true
condition: always()
| 1 |
|
dotnet/runtime | 65,901 | Remove usages of native bootstrapping | hoyosjs | "2022-02-25T17:42:53Z" | "2022-02-25T22:06:34Z" | 2ce0af0b8404cf051783516cff4b07abccd5de00 | 8727ac772e1d8031691ee52e2d66e2520f78d01a | Remove usages of native bootstrapping. | ./global.json | {
"sdk": {
"version": "6.0.100",
"allowPrerelease": true,
"rollForward": "major"
},
"tools": {
"dotnet": "6.0.100"
},
"native-tools": {
"cmake": "3.16.4",
"python3": "3.7.1"
},
"msbuild-sdks": {
"Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.22122.3",
"Microsoft.DotNet.Helix.Sdk": "7.0.0-beta.22122.3",
"Microsoft.DotNet.SharedFramework.Sdk": "7.0.0-beta.22122.3",
"Microsoft.Build.NoTargets": "3.3.0",
"Microsoft.Build.Traversal": "3.1.3",
"Microsoft.NET.Sdk.IL": "7.0.0-preview.3.22120.1"
}
}
| {
"sdk": {
"version": "6.0.100",
"allowPrerelease": true,
"rollForward": "major"
},
"tools": {
"dotnet": "6.0.100"
},
"msbuild-sdks": {
"Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.22122.3",
"Microsoft.DotNet.Helix.Sdk": "7.0.0-beta.22122.3",
"Microsoft.DotNet.SharedFramework.Sdk": "7.0.0-beta.22122.3",
"Microsoft.Build.NoTargets": "3.3.0",
"Microsoft.Build.Traversal": "3.1.3",
"Microsoft.NET.Sdk.IL": "7.0.0-preview.3.22120.1"
}
}
| 1 |
|
dotnet/runtime | 65,901 | Remove usages of native bootstrapping | hoyosjs | "2022-02-25T17:42:53Z" | "2022-02-25T22:06:34Z" | 2ce0af0b8404cf051783516cff4b07abccd5de00 | 8727ac772e1d8031691ee52e2d66e2520f78d01a | Remove usages of native bootstrapping. | ./src/mono/mono.proj | <Project Sdk="Microsoft.Build.Traversal" DefaultTargets="Build">
<!--
Build properties:
- MonoForceInterpreter - enable the interpreter
- MonoEnableLLVM - enable LLVM
- MonoLLVMDir - [optional] the directory where LLVM is located
- MonoAOTEnableLLVM - enable LLVM for an AOT-only Mono
- MonoAOTLLVMDir - [optional] the directory where LLVM is located, for an AOT-only Mono
- MonoVerboseBuild - enable verbose build
- MonoThreadSuspend - coop,hybrid,preemptive - default thread suspend mode
-->
<PropertyGroup>
<MonoCrossDir Condition="'$(MonoCrossDir)' == '' and '$(ROOTFS_DIR)' != ''">$(ROOTFS_DIR)</MonoCrossDir>
<MonoForceInterpreter Condition="'$(MonoForceInterpreter)' == ''">false</MonoForceInterpreter>
<ScriptExt Condition="'$(HostOS)' == 'windows'">.cmd</ScriptExt>
<ScriptExt Condition="'$(HostOS)' != 'windows'">.sh</ScriptExt>
<EscapedQuoteW Condition="'$(HostOS)' == 'windows'">\"</EscapedQuoteW>
<PythonCmd Condition="'$(HostOS)' != 'windows'">python3</PythonCmd>
<PythonCmd Condition="'$(HostOS)' == 'windows'">python</PythonCmd>
<CoreClrLibName>coreclr</CoreClrLibName>
<CoreClrFileName>$(LibPrefix)$(CoreClrLibName)$(LibSuffix)</CoreClrFileName>
<MonoLibName>monosgen-2.0</MonoLibName>
<MonoSharedLibName Condition="'$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true' or '$(TargetsMacCatalyst)' == 'true' or '$(TargetsAndroid)' == 'true' or '$(TargetsBrowser)' == 'true'">$(MonoLibName)</MonoSharedLibName>
<MonoSharedLibName Condition="'$(MonoSharedLibName)' == ''">$(CoreClrLibName)</MonoSharedLibName>
<MonoSharedLibFileName>$(LibPrefix)$(MonoSharedLibName)$(LibSuffix)</MonoSharedLibFileName>
<MonoStaticLibFileName>$(LibPrefix)$(MonoLibName)$(StaticLibSuffix)</MonoStaticLibFileName>
<MonoFileName Condition="'$(TargetsBrowser)' == 'true'">$(MonoStaticLibFileName)</MonoFileName>
<MonoFileName Condition="'$(MonoFileName)' == ''">$(MonoSharedLibFileName)</MonoFileName>
<MonoAotCrossFileName>mono-aot-cross$(ExeSuffix)</MonoAotCrossFileName>
<MonoAotCrossPdbFileName>mono-aot-cross.pdb</MonoAotCrossPdbFileName>
<CoreClrTestConfig Condition="'$(CoreClrTestConfig)' == ''">$(Configuration)</CoreClrTestConfig>
<LibrariesTestConfig Condition="'$(LibrariesTestConfig)' == ''">$(Configuration)</LibrariesTestConfig>
<CoreClrTestCoreRoot>$([MSBuild]::NormalizeDirectory('$(ArtifactsDir)', 'tests', 'coreclr', '$(TargetOS).$(Platform).$(CoreClrTestConfig)', 'Tests', 'Core_Root'))</CoreClrTestCoreRoot>
<LibrariesTesthostRoot>$([MSBuild]::NormalizeDirectory('$(ArtifactsDir)', 'bin', 'testhost', '$(NetCoreAppCurrent)-$(TargetOS)-$(LibrariesTestConfig)-$(Platform)'))</LibrariesTesthostRoot>
<LibrariesTesthostRuntimeDir>$([MSBuild]::NormalizeDirectory('$(LibrariesTesthostRoot)', 'shared', 'Microsoft.NETCore.App', '$(ProductVersion)'))</LibrariesTesthostRuntimeDir>
<BuildMonoAOTCrossCompiler Condition="'$(TargetsiOS)' == 'true'">true</BuildMonoAOTCrossCompiler>
<BuildMonoAOTCrossCompiler Condition="'$(TargetstvOS)' == 'true'">true</BuildMonoAOTCrossCompiler>
<BuildMonoAOTCrossCompiler Condition="'$(TargetsMacCatalyst)' == 'true'">true</BuildMonoAOTCrossCompiler>
<BuildMonoAOTCrossCompiler Condition="'$(TargetsBrowser)' == 'true'">true</BuildMonoAOTCrossCompiler>
<BuildMonoAOTCrossCompiler Condition="'$(TargetsAndroid)' == 'true'">true</BuildMonoAOTCrossCompiler>
<MonoObjCrossDir>$([MSBuild]::NormalizeDirectory('$(MonoObjDir)', 'cross'))</MonoObjCrossDir>
<CrossConfigH Condition="'$(BuildMonoAOTCrossCompiler)' == 'true'">$([MSBuild]::NormalizePath('$(MonoObjCrossDir)', 'config.h'))</CrossConfigH>
<MonoBundleLLVMOptimizer Condition="'$(MonoEnableLLVM)' == 'true'">true</MonoBundleLLVMOptimizer>
<MonoAOTBundleLLVMOptimizer Condition="'$(MonoAOTEnableLLVM)' == 'true' and '$(TargetsBrowser)' != 'true'">true</MonoAOTBundleLLVMOptimizer>
<MonoCCompiler>$(Compiler)</MonoCCompiler>
<MonoCCompiler Condition="'$(MonoCCompiler)' == ''">clang</MonoCCompiler>
<_CompilerTargetArch Condition="'$(RealTargetArchitecture)' == ''">$(Platform)</_CompilerTargetArch>
<_CompilerTargetArch Condition="'$(RealTargetArchitecture)' != ''">$(RealTargetArchitecture)</_CompilerTargetArch>
<RepositoryEngineeringCommonDir>$([MSBuild]::NormalizeDirectory('$(RepositoryEngineeringDir)', 'common'))</RepositoryEngineeringCommonDir>
<CrossToolchainFile>$([MSBuild]::NormalizePath('$(RepositoryEngineeringCommonDir)', 'cross', 'toolchain.cmake'))</CrossToolchainFile>
</PropertyGroup>
<!-- default thread suspend for specific platforms -->
<PropertyGroup>
<MonoThreadSuspend Condition="'$(TargetswatchOS)' == 'true' and '$(MonoThreadSuspend)' == ''">coop</MonoThreadSuspend>
<!-- wasm isn't really preemptive, but we don't want safepoints -->
<MonoThreadSuspend Condition="'$(TargetsBrowser)' == 'true' and '$(MonoThreadSuspend)' == ''">preemptive</MonoThreadSuspend>
<!-- all other platforms -->
<MonoThreadSuspend Condition="'$(MonoThreadSuspend)' == ''">hybrid</MonoThreadSuspend>
</PropertyGroup>
<!-- How to build runtime components? Static or dynamic. -->
<PropertyGroup>
<MonoComponentsStatic Condition="'$(TargetsBrowser)' == 'true' and '$(MonoComponentsStatic)' == ''">true</MonoComponentsStatic>
<MonoComponentsStatic Condition="'$(TargetsiOS)' == 'true' and '$(TargetsiOSSimulator)' != 'true' and '$(MonoComponentsStatic)' == ''">true</MonoComponentsStatic>
<MonoComponentsStatic Condition="'$(TargetstvOS)' == 'true' and '$(TargetstvOSSimulator)' != 'true' and '$(MonoComponentsStatic)' == ''">true</MonoComponentsStatic>
<MonoComponentsStatic Condition="'$(TargetsiOS)' == 'true' and '$(TargetsiOSSimulator)' == 'true' and '$(MonoComponentsStatic)' == ''">false</MonoComponentsStatic>
<MonoComponentsStatic Condition="'$(TargetstvOS)' == 'true' and '$(TargetstvOSSimulator)' == 'true' and '$(MonoComponentsStatic)' == ''">false</MonoComponentsStatic>
<MonoComponentsStatic Condition="'$(TargetsAndroid)' == 'true' and '$(MonoComponentsStatic)' == ''">false</MonoComponentsStatic>
<!-- by default, do dynamic components -->
<!-- TODO: Change to dynamic as default once package/deploy is fixed for all targets -->
<MonoComponentsStatic Condition="'$(MonoComponentsStatic)' == ''">true</MonoComponentsStatic>
</PropertyGroup>
<ItemGroup Condition="'$(TargetsBrowser)' == 'true' or '$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true' or '$(TargetsMacCatalyst)' == 'true'">
<PackageReference Include="Microsoft.NETCore.Runtime.ICU.Transport" PrivateAssets="all" Version="$(MicrosoftNETCoreRuntimeICUTransportVersion)" GeneratePathProperty="true" />
</ItemGroup>
<!-- CI specific build options -->
<ItemGroup Condition="'$(ContinuousIntegrationBuild)' == 'true' and ('$(TargetsOSX)' == 'true' or '$(TargetsMacCatalyst)' == 'true' or '$(TargetsBrowser)' == 'true' or '$(Targetsillumos)' == 'true')">
<_MonoCMakeArgs Include="-DENABLE_WERROR=1"/>
</ItemGroup>
<!-- Sanity checks -->
<Target Name="CheckEnv">
<Error Condition="'$(TargetstvOSSimulator)' != 'true' and '$(TargetstvOS)' == 'true' and '$(Platform)' != 'arm64'" Text="Error: Invalid platform for $(TargetOS): $(Platform)." />
<Error Condition="'$(TargetstvOSSimulator)' == 'true' and '$(TargetstvOS)' == 'true' and '$(Platform)' != 'x64' and '$(Platform)' != 'arm64'" Text="Error: Invalid platform for $(TargetOS): $(Platform)." />
<Error Condition="'$(TargetsiOSSimulator)' != 'true' and '$(TargetsiOS)' == 'true' and '$(Platform)' != 'arm64' and '$(Platform)' != 'arm'" Text="Error: Invalid platform for $(TargetOS): $(Platform)." />
<Error Condition="'$(TargetsiOSSimulator)' == 'true' and '$(TargetsiOS)' == 'true' and '$(Platform)' != 'x64' and '$(Platform)' != 'x86' and '$(Platform)' != 'arm64'" Text="Error: Invalid platform for $(TargetOS): $(Platform)." />
<Error Condition="('$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true') and !$([MSBuild]::IsOSPlatform('OSX'))" Text="Error: $(TargetOS) can only be built on macOS." />
<Error Condition="'$(TargetsAndroid)' == 'true' and '$(Platform)' != 'x64' and '$(Platform)' != 'x86' and '$(Platform)' != 'arm64' and '$(Platform)' != 'arm'" Text="Error: Invalid platform for $(TargetOS): $(Platform)." />
<Error Condition="'$(TargetsBrowser)' == 'true' and '$(EMSDK_PATH)' == '' and '$(SkipMonoCrossJitConfigure)' != 'true'" Text="The EMSDK_PATH environment variable should be set pointing to the emscripten SDK root dir."/>
<Error Condition="'$(TargetsAndroid)' == 'true' and '$(ANDROID_NDK_ROOT)' == '' and '$(SkipMonoCrossJitConfigure)' != 'true'" Text="Error: You need to set the ANDROID_NDK_ROOT environment variable pointing to the Android NDK root." />
<Error Condition="'$(HostOS)' == 'windows' and ('$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true')" Text="Error: Mono runtime for $(TargetOS) can't be built on Windows." />
<!-- check if Ninja is available and default to it on Unix platforms -->
<Exec Condition="'$(HostOS)' != 'windows' and '$(Ninja)' == ''" Command="which ninja" IgnoreExitCode="true" IgnoreStandardErrorWarningFormat="true" StandardOutputImportance="Low" >
<Output TaskParameter="ExitCode" PropertyName="_MonoFindNinjaExitCode"/>
</Exec>
<PropertyGroup>
<_MonoUseNinja Condition="'$(Ninja)' == 'true' or '$(_MonoFindNinjaExitCode)' == '0' or ('$(HostOS)' == 'windows' and '$(Ninja)' == '')">true</_MonoUseNinja>
</PropertyGroup>
<Exec Condition="'$(TargetArchitecture)' == 'wasm' and '$(HostOS)' == 'windows'" Command="call "$(RepositoryEngineeringDir)native\init-vs-env.cmd" && cmake --version" IgnoreExitCode="true" IgnoreStandardErrorWarningFormat="true" StandardOutputImportance="Low" >
<Output TaskParameter="ExitCode" PropertyName="_MonoFindCmakeExitCode"/>
</Exec>
<Error Condition="'$(TargetArchitecture)' == 'wasm' and '$(HostOS)' == 'windows' and '$(_MonoFindCmakeExitCode)' != '0' and '$(BuildMonoAOTCrossCompilerOnly)' != 'true'" Text="cmake tool is required to build wasm on windows" />
<Exec Condition="'$(TargetArchitecture)' == 'wasm' and '$(HostOS)' == 'windows'" Command="call "$(RepositoryEngineeringDir)native\init-vs-env.cmd" && ninja --version" IgnoreExitCode="true" IgnoreStandardErrorWarningFormat="true" StandardOutputImportance="Low" >
<Output TaskParameter="ExitCode" PropertyName="_MonoFindNinjaExitCode"/>
</Exec>
<Error Condition="'$(TargetArchitecture)' == 'wasm' and '$(HostOS)' == 'windows' and '$(_MonoFindNinjaExitCode)' != '0' and '$(BuildMonoAOTCrossCompilerOnly)' != 'true'" Text="ninja tool is required to build wasm on windows" />
</Target>
<Target Name="GetXcodeDir" Condition="$([MSBuild]::IsOSPlatform('OSX')) and '$(XcodeDir)' == ''">
<Exec Command="xcode-select -p" IgnoreExitCode="true" IgnoreStandardErrorWarningFormat="true" StandardOutputImportance="Low" ConsoleToMsBuild="true">
<Output TaskParameter="ExitCode" PropertyName="_MonoGetXcodeExitCode"/>
<Output TaskParameter="ConsoleOutput" PropertyName="_MonoGetXcodeConsoleOutput"/>
</Exec>
<PropertyGroup>
<XcodeDir Condition="'$(_MonoGetXcodeExitCode)' == '0'">$(_MonoGetXcodeConsoleOutput)</XcodeDir>
<XcodeDir Condition="'$(XcodeDir)' == ''">/Applications/Xcode.app/Contents/Developer</XcodeDir>
</PropertyGroup>
</Target>
<!-- Sets up emscripten if you don't have the EMSDK_PATH env variable set -->
<Target Name="ProvisionEmscripten"
Condition="'$(ShouldProvisionEmscripten)' == 'true' and '$(SkipMonoCrossJitConfigure)' != 'true'">
<ReadLinesFromFile File="$(MSBuildThisFileDirectory)\wasm\emscripten-version.txt">
<Output TaskParameter="Lines" ItemName="_VersionLines" />
</ReadLinesFromFile>
<PropertyGroup>
<EmsdkExt Condition="'$(HostOS)' != 'windows'">.sh</EmsdkExt>
<EmsdkExt Condition="'$(HostOS)' == 'windows'">.ps1</EmsdkExt>
<EMSDK_PATH>$(ProvisionEmscriptenDir)</EMSDK_PATH>
<WasmLocalPath>$([MSBuild]::NormalizeDirectory('$(MSBuildThisFileDirectory)', 'wasm'))</WasmLocalPath>
<EmsdkLocalPath>emsdk</EmsdkLocalPath>
<EmscriptenVersion>%(_VersionLines.Identity)</EmscriptenVersion>
<InstallCmd>./emsdk$(EmsdkExt) install $(EmscriptenVersion)</InstallCmd>
<ActivateCmd>./emsdk$(EmsdkExt) activate $(EmscriptenVersion)</ActivateCmd>
<InstallCmd Condition="'$(HostOS)' == 'windows'">powershell -NonInteractive -command "& $(InstallCmd); Exit $LastExitCode "</InstallCmd>
<ActivateCmd Condition="'$(HostOS)' == 'windows'">powershell -NonInteractive -command "& $(ActivateCmd); Exit $LastExitCode "</ActivateCmd>
</PropertyGroup>
<RemoveDir Directories="$(EMSDK_PATH)" />
<Exec Command="git clone https://github.com/emscripten-core/emsdk.git emsdk"
WorkingDirectory="$(WasmLocalPath)"
IgnoreStandardErrorWarningFormat="true" />
<Exec Command="git checkout $(EmscriptenVersion) && $(InstallCmd) && $(ActivateCmd)"
WorkingDirectory="$(EMSDK_PATH)"
IgnoreStandardErrorWarningFormat="true" />
</Target>
<!-- Copy Mono runtime bits to $(Destination) -->
<Target Name="CopyMonoRuntimeFilesFromArtifactsToDestination">
<ItemGroup>
<_MonoRuntimeArtifacts Include="$(RuntimeBinDir)\*.*" />
</ItemGroup>
<Error Condition="'$(Destination)' == ''" Text="Destination should not be empty" />
<Error Condition="@(_MonoRuntimeArtifacts->Count()) < 2" Text="Mono artifacts were not found at $(RuntimeBinDir)" />
<Message Text="Copying Mono Runtime artifacts from '$(RuntimeBinDir)' to '$(Destination)'.'" Importance="High" />
<Copy SourceFiles="@(_MonoRuntimeArtifacts)"
DestinationFolder="$(Destination)"
OverwriteReadOnlyFiles="true"
SkipUnchangedFiles="true" />
</Target>
<!-- Copy Mono runtime bits to the coreclr's Core_Root in order to run runtime tests -->
<Target Name="PatchCoreClrCoreRoot">
<MSBuild Projects="$(MSBuildProjectFullPath)"
Properties="Destination=$(CoreClrTestCoreRoot)"
Targets="CopyMonoRuntimeFilesFromArtifactsToDestination" />
</Target>
<!-- Copy Coreclr runtime bits back to Core_Root -->
<Target Name="RestoreCoreClrCoreRoot">
<Copy SourceFiles="$(CoreCLRArtifactsPath)\System.Private.CoreLib.dll"
DestinationFiles="$(CoreClrTestCoreRoot)\System.Private.CoreLib.dll" />
<Copy SourceFiles="$(CoreCLRArtifactsPath)\$(CoreClrFileName)"
DestinationFiles="$(CoreClrTestCoreRoot)\$(CoreClrFileName)" />
</Target>
<!-- Run CoreCLR runtime test using testhost -->
<Target Name="RunCoreClrTest" DependsOnTargets="PatchCoreClrCoreRoot">
<Error Condition="$(CoreClrTest) == ''" Text="'CoreClrTest' is not set. E.g. set it to `$(ArtifactsDir)tests/coreclr/$(TargetOS).$(Platform).$(CoreClrTestConfig)/JIT/opt/InstructionCombining/DivToMul/DivToMul$(ScriptExt)` in order to run DivToMul test." />
<Exec Command="$(CoreClrTest) -coreroot="$(CoreClrTestCoreRoot)""/>
</Target>
<!-- Run coreclr tests using runtest.py -->
<Target Name="RunCoreClrTests" DependsOnTargets="PatchCoreClrCoreRoot">
<Exec Condition="'$(HostOS)' == 'windows'" Command="$(MonoProjectRoot)..\tests\run.cmd $(CoreClrTestConfig)" ContinueOnError="ErrorAndContinue" />
<Exec Condition="'$(HostOS)' != 'windows'" Command="$(MonoProjectRoot)../tests/run.sh $(CoreClrTestConfig)" ContinueOnError="ErrorAndContinue" />
</Target>
<!-- Mono runtime build -->
<Target Name="BuildMonoRuntime">
<ItemGroup>
<_MonoCMakeArgs Condition="'$(_MonoUseNinja)' == 'true'" Include="-G Ninja"/>
<_MonoCMakeArgs Include="-DCMAKE_INSTALL_PREFIX="$(MonoObjDir)out""/>
<_MonoCMakeArgs Include="-DCMAKE_INSTALL_LIBDIR=lib"/>
<_MonoCMakeArgs Include="-DCMAKE_BUILD_TYPE=$(Configuration)"/>
<_MonoCMakeArgs Condition="'$(CMakeArgs)' != ''" Include="$(CMakeArgs)"/>
<_MonoCMakeArgs Condition="'$(MonoEnableLLVM)' == 'true'" Include="-DLLVM_PREFIX=$(MonoLLVMDir.TrimEnd('\/'))" />
<_MonoCMakeArgs Condition="'$(BuildDarwinFrameworks)' == 'true'" Include="-DBUILD_DARWIN_FRAMEWORKS=1" />
<_MonoCMakeArgs Include="-DGC_SUSPEND=$(MonoThreadSuspend)" />
<_MonoCMakeArgs Include="-DMONO_LIB_NAME=$(MonoLibName)" />
<_MonoCMakeArgs Include="-DMONO_SHARED_LIB_NAME=$(MonoSharedLibName)" />
</ItemGroup>
<!-- We build LLVM bits for x64 Linux without C++11 ABI (CentOS 7 has libstdc++ < 5.1) -->
<ItemGroup Condition="'$(TargetsLinux)' == 'true' and '$(MonoEnableLLVM)' == 'true' and '$(MonoLLVMUseCxx11Abi)' != 'true'">
<_MonoCXXFLAGS Include="-D_GLIBCXX_USE_CXX11_ABI=0" />
</ItemGroup>
<ItemGroup Condition="'$(TargetsLinux)' == 'true' and '$(MonoAOTEnableLLVM)' == 'true' and '$(MonoAOTLLVMUseCxx11Abi)' != 'true'">
<_MonoAOTCXXFLAGS Include="-D_GLIBCXX_USE_CXX11_ABI=0" />
</ItemGroup>
<!-- We build LLVM bits for ARM64 Linux with C++11 ABI (Ubuntu 16.04 has libstdc++ > 5.1)-->
<ItemGroup Condition="'$(TargetsLinux)' == 'true' and '$(MonoEnableLLVM)' == 'true' and '$(MonoLLVMUseCxx11Abi)' == 'true'">
<_MonoCXXFLAGS Include="-D_GLIBCXX_USE_CXX11_ABI=1" />
</ItemGroup>
<ItemGroup Condition="'$(TargetsLinux)' == 'true' and '$(MonoAOTEnableLLVM)' == 'true' and '$(MonoAOTLLVMUseCxx11Abi)' == 'true'">
<_MonoAOTCXXFLAGS Include="-D_GLIBCXX_USE_CXX11_ABI=1" />
</ItemGroup>
<!-- ARM Linux cross build options on CI -->
<ItemGroup Condition="'$(TargetsAndroid)' != 'true' and '$(MonoCrossDir)' != '' and ('$(TargetArchitecture)' == 'arm' or '$(TargetArchitecture)' == 'armv6' or '$(TargetArchitecture)' == 'arm64')">
<_MonoCMakeArgs Include="-DCMAKE_TOOLCHAIN_FILE=$(CrossToolchainFile)" />
<_MonoCMakeArgs Condition="'$(TargetOS)' == 'Linux' and ('$(TargetArchitecture)' == 'arm' or '$(TargetArchitecture)' == 'armv6')" Include="-DMONO_ARM_FPU=vfp-hard" />
<_MonoBuildEnv Condition="'$(Platform)' == 'arm64'" Include="TARGET_BUILD_ARCH=arm64" />
<_MonoBuildEnv Condition="'$(Platform)' == 'arm'" Include="TARGET_BUILD_ARCH=arm" />
<_MonoBuildEnv Condition="'$(Platform)' == 'armv6'" Include="TARGET_BUILD_ARCH=armv6" />
<_MonoBuildEnv Condition="'$(Platform)' == 'arm64'" Include="PKG_CONFIG_PATH=$(MonoCrossDir)/usr/lib/aarch64-linux-gnu/pkgconfig" />
<_MonoBuildEnv Condition="'$(Platform)' == 'arm'" Include="PKG_CONFIG_PATH=$(MonoCrossDir)/usr/lib/arm-linux-gnueabihf/pkgconfig" />
<_MonoBuildEnv Condition="'$(Platform)' == 'armv6'" Include="PKG_CONFIG_PATH=$(MonoCrossDir)/usr/lib/arm-linux-gnueabihf/pkgconfig" />
<_MonoCFLAGS Condition="'$(TargetArchitecture)' == 'armv6'" Include="-march=armv6zk" />
<_MonoCFLAGS Condition="'$(TargetArchitecture)' == 'armv6'" Include="-mcpu=arm1176jzf-s" />
<_MonoCFLAGS Condition="'$(TargetArchitecture)' == 'armv6'" Include="-mfpu=vfp" />
<_MonoCFLAGS Condition="'$(TargetArchitecture)' == 'armv6'" Include="-mfloat-abi=hard" />
<_MonoCXXFLAGS Condition="'$(TargetArchitecture)' == 'armv6'" Include="-march=armv6zk" />
<_MonoCXXFLAGS Condition="'$(TargetArchitecture)' == 'armv6'" Include="-mcpu=arm1176jzf-s" />
<_MonoCXXFLAGS Condition="'$(TargetArchitecture)' == 'armv6'" Include="-mfpu=vfp" />
<_MonoCXXFLAGS Condition="'$(TargetArchitecture)' == 'armv6'" Include="-mfloat-abi=hard" />
</ItemGroup>
<!-- x64 illumos cross build options -->
<ItemGroup Condition="'$(Targetsillumos)' == 'true' and '$(MonoCrossDir)' != ''">
<_MonoCMakeArgs Include="-DCMAKE_TOOLCHAIN_FILE=$(CrossToolchainFile)" />
<_MonoBuildEnv Include="TARGET_BUILD_ARCH=x64" />
<_MonoBuildEnv Include="PKG_CONFIG_PATH=$(MonoCrossDir)/lib/pkgconfig" />
</ItemGroup>
<!-- s390x Linux cross build options -->
<ItemGroup Condition="'$(MonoCrossDir)' != '' and '$(TargetArchitecture)' == 's390x'">
<_MonoCMakeArgs Include="-DCMAKE_TOOLCHAIN_FILE=$(CrossToolchainFile)" />
<_MonoBuildEnv Include="TARGET_BUILD_ARCH=s390x" />
<_MonoBuildEnv Include="PKG_CONFIG_PATH=$(MonoCrossDir)/usr/lib/s390x-linux-gnu/pkgconfig" />
</ItemGroup>
<!-- x64 FreeBSD cross build options -->
<ItemGroup Condition="'$(TargetsFreeBSD)' == 'true' and '$(MonoCrossDir)' != ''">
<_MonoCMakeArgs Include="-DCMAKE_TOOLCHAIN_FILE=$(CrossToolchainFile)" />
<_MonoBuildEnv Include="TARGET_BUILD_ARCH=x64" />
</ItemGroup>
<!-- Windows specific options -->
<ItemGroup Condition="'$(TargetsWindows)' == 'true'">
<_MonoCPPFLAGS Include="-DWIN32" />
<_MonoCPPFLAGS Include="-DWIN32_LEAN_AND_MEAN" />
<!--<_MonoCPPFLAGS Include="-D_WINDOWS" />--> <!-- set in monow.vcxproj, not sure we really need it -->
<_MonoCPPFLAGS Condition="'$(Platform)' == 'x64' or '$(Platform)' == 'arm64'" Include="-DWIN64" />
<_MonoCPPFLAGS Condition="'$(Configuration)' == 'Release'" Include="-DNDEBUG" />
<_MonoCPPFLAGS Condition="'$(Configuration)' == 'Debug'" Include="-D_DEBUG" />
<!-- <_MonoCPPFLAGS Include="-D__default_codegen__" /> --> <!-- doesn't seem to be used -->
<_MonoCPPFLAGS Include="-D_CRT_SECURE_NO_WARNINGS" />
<_MonoCPPFLAGS Include="-D_CRT_NONSTDC_NO_DEPRECATE" />
<!--<_MonoCPPFLAGS Include="-DGC_NOT_DLL" />--> <!-- only used for Boehm -->
<_MonoCPPFLAGS Include="-DWIN32_THREADS" />
<_MonoCPPFLAGS Include="-DWINVER=0x0601" />
<_MonoCPPFLAGS Include="-D_WIN32_WINNT=0x0601" />
<_MonoCPPFLAGS Include="-D_WIN32_IE=0x0501" />
<_MonoCPPFLAGS Include="-D_UNICODE" />
<_MonoCPPFLAGS Include="-DUNICODE" />
<_MonoCPPFLAGS Include="-DFD_SETSIZE=1024" />
<_MonoCPPFLAGS Include="-DNVALGRIND" />
<!-- Select generator platform for VS generator -->
<_MonoCMakeArgs Condition="'$(_MonoUseNinja)' != 'true' and '$(Platform)' == 'x64'" Include="-A x64" />
<_MonoCMakeArgs Condition="'$(_MonoUseNinja)' != 'true' and '$(Platform)' == 'x86'" Include="-A Win32" />
<_MonoCMakeArgs Condition="'$(_MonoUseNinja)' != 'true' and '$(Platform)' == 'arm'" Include="-A ARM" />
<_MonoCMakeArgs Condition="'$(_MonoUseNinja)' != 'true' and '$(Platform)' == 'arm64'" Include="-A ARM64" />
</ItemGroup>
<!-- OSX specific options -->
<ItemGroup Condition="'$(TargetsOSX)' == 'true'">
<_MonoCMakeArgs Include="-DCMAKE_OSX_DEPLOYMENT_TARGET=$(macOSVersionMin)" />
<_MonoCMakeArgs Include="-DENABLE_ICALL_EXPORT=1"/>
<_MonoCFLAGS Condition="'$(TargetArchitecture)' == 'arm64'" Include="-arch arm64" />
<_MonoCXXFLAGS Condition="'$(TargetArchitecture)' == 'arm64'" Include="-arch arm64" />
<!-- Force running as arm64 even when invoked from an x86 msbuild process -->
<_MonoBuildEnv Condition="'$(BuildArchitecture)' == 'arm64'" Include="arch -arch arm64" />
</ItemGroup>
<!-- Mac Catalyst specific options -->
<ItemGroup Condition="'$(TargetsMacCatalyst)' == 'true'">
<_MonoCMakeArgs Include="-DCMAKE_SYSTEM_VARIANT=MacCatalyst" />
<!-- https://gitlab.kitware.com/cmake/cmake/-/issues/20132 -->
<_MonoCPPFLAGS Include="-Wno-overriding-t-option" />
<_MonoCFlags Condition="'$(TargetArchitecture)' == 'arm64'" Include="-target arm64-apple-ios14.2-macabi" />
<_MonoCFlags Condition="'$(TargetArchitecture)' == 'x64'" Include="-target x86_64-apple-ios13.5-macabi" />
<_MonoCFLAGS Condition="'$(TargetArchitecture)' == 'arm64'" Include="-arch arm64" />
<_MonoCXXFlags Condition="'$(TargetArchitecture)' == 'arm64'" Include="-target arm64-apple-ios14.2-macabi" />
<_MonoCXXFlags Condition="'$(TargetArchitecture)' == 'x64'" Include="-target x86_64-apple-ios13.5-macabi" />
<_MonoCXXFLAGS Condition="'$(TargetArchitecture)' == 'arm64'" Include="-arch arm64" />
<!-- Force running as arm64 even when invoked from an x86 msbuild process -->
<_MonoBuildEnv Condition="'$(BuildArchitecture)' == 'arm64'" Include="arch -arch arm64" />
</ItemGroup>
<!-- WASM specific options -->
<PropertyGroup Condition="'$(TargetsBrowser)' == 'true'">
<_MonoMinimal Condition="'$(Configuration)' == 'Release'">,debugger_agent,log_dest</_MonoMinimal>
<_MonoMinimal Condition="'$(Configuration)' == 'Release' and '$(MonoEnableAssertMessages)' != 'true'">$(_MonoMinimal),assert_messages</_MonoMinimal>
</PropertyGroup>
<ItemGroup Condition="'$(TargetsBrowser)' == 'true'">
<_MonoCMakeArgs Include="-DENABLE_MINIMAL=jit,sgen_major_marksweep_conc,sgen_split_nursery,sgen_gc_bridge,sgen_toggleref,sgen_debug_helpers,sgen_binary_protocol,logging,shared_perfcounters,interpreter,threads,qcalls$(_MonoMinimal)"/>
<_MonoCMakeArgs Include="-DENABLE_INTERP_LIB=1"/>
<_MonoCMakeArgs Include="-DDISABLE_ICALL_TABLES=1"/>
<_MonoCMakeArgs Include="-DENABLE_ICALL_EXPORT=1"/>
<_MonoCMakeArgs Include="-DENABLE_LAZY_GC_THREAD_CREATION=1"/>
<_MonoCMakeArgs Include="-DENABLE_LLVM_RUNTIME=1"/>
<_MonoCFLAGS Include="-fexceptions"/>
<_MonoCXXFLAGS Include="-fexceptions"/>
<_MonoCFLAGS Include="$(EscapedQuoteW)-I$([MSBuild]::NormalizePath('$(PkgMicrosoft_NETCore_Runtime_ICU_Transport)', 'runtimes', 'browser-wasm', 'native', 'include'))$(EscapedQuoteW)"/>
</ItemGroup>
<!-- iOS/tvOS specific options -->
<PropertyGroup Condition="'$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true'">
<_MonoCCOption>CC="$(XcodeDir)/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"</_MonoCCOption>
<_MonoCXXOption>CXX="$(XcodeDir)/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++"</_MonoCXXOption>
<_MonoRunInitCompiler>false</_MonoRunInitCompiler>
<_MonoCMakeSysroot Condition="'$(TargetsiOS)' == 'true' and '$(TargetsiOSSimulator)' != 'true'">$(XcodeDir)/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS$(iOSVersion).sdk</_MonoCMakeSysroot>
<_MonoCMakeSysroot Condition="'$(TargetsiOS)' == 'true' and '$(TargetsiOSSimulator)' == 'true'">$(XcodeDir)/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator$(iOSVersion).sdk</_MonoCMakeSysroot>
<_MonoCMakeSysroot Condition="'$(TargetstvOS)' == 'true' and '$(TargetstvOSSimulator)' != 'true'">$(XcodeDir)/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS$(tvOSVersion).sdk</_MonoCMakeSysroot>
<_MonoCMakeSysroot Condition="'$(TargetstvOS)' == 'true' and '$(TargetstvOSSimulator)' == 'true'">$(XcodeDir)/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator$(tvOSVersion).sdk</_MonoCMakeSysroot>
<_MonoCMakeSystemName Condition="'$(TargetsiOS)' == 'true'">iOS</_MonoCMakeSystemName>
<_MonoCMakeSystemName Condition="'$(TargetstvOS)' == 'true'">tvOS</_MonoCMakeSystemName>
<_MonoCMakeVersionMin Condition="'$(TargetsiOS)' == 'true'">$(iOSVersionMin)</_MonoCMakeVersionMin>
<_MonoCMakeVersionMin Condition="'$(TargetstvOS)' == 'true'">$(tvOSVersionMin)</_MonoCMakeVersionMin>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true' or '$(TargetsMacCatalyst)' == 'true'">
<_IcuLibdir>$(PkgMicrosoft_NETCore_Runtime_ICU_Transport)/runtimes/$(TargetOS)-$(TargetArchitecture)/native/lib</_IcuLibdir>
</PropertyGroup>
<ItemGroup Condition="('$(TargetsOSX)' == 'true' or '$(TargetsMacCatalyst)' == 'true') and '$(Platform)' == 'arm64'">
<_MonoCMakeArgs Include="-DCMAKE_OSX_ARCHITECTURES=arm64"/>
</ItemGroup>
<ItemGroup Condition="'$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true'">
<_MonoCMakeArgs Include="-DCMAKE_SYSTEM_NAME=$(_MonoCMakeSystemName)"/>
<_MonoCMakeArgs Include="-DCMAKE_OSX_DEPLOYMENT_TARGET=$(_MonoCMakeVersionMin)" />
<_MonoCMakeArgs Include="-DCMAKE_OSX_SYSROOT='$(_MonoCMakeSysroot)'" />
<_MonoCMakeArgs Condition="'$(Platform)' == 'x64'" Include="-DCMAKE_OSX_ARCHITECTURES=x86_64"/>
<_MonoCMakeArgs Condition="'$(Platform)' == 'x86'" Include="-DCMAKE_OSX_ARCHITECTURES=i386"/>
<_MonoCMakeArgs Condition="'$(Platform)' == 'arm64'" Include="-DCMAKE_OSX_ARCHITECTURES=arm64"/>
<_MonoCMakeArgs Condition="'$(Platform)' == 'arm'" Include=""-DCMAKE_OSX_ARCHITECTURES=armv7%3Barmv7s""/>
<_MonoCFLAGS Include="-Wl,-application_extension" />
<_MonoCXXFLAGS Include="-Wl,-application_extension" />
</ItemGroup>
<ItemGroup Condition="'$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true' or '$(TargetsMacCatalyst)' == 'true'">
<_MonoCMakeArgs Include="-DICU_LIBDIR=$(_IcuLibdir)"/>
<_MonoCMakeArgs Include="-DENABLE_ICALL_EXPORT=1"/>
<_MonoCFLAGS Include="-I$(PkgMicrosoft_NETCore_Runtime_ICU_Transport)/runtimes/$(TargetOS)-$(TargetArchitecture)/native/include" />
</ItemGroup>
<!-- iOS/tvOS simulator specific options -->
<ItemGroup Condition="('$(TargetsiOS)' == 'true' and '$(TargetsiOSSimulator)' == 'true') or ('$(TargetstvOS)' == 'true' and '$(TargetstvOSSimulator)' == 'true')">
<_MonoCMakeArgs Include="-DENABLE_MINIMAL=shared_perfcounters"/>
</ItemGroup>
<!-- iOS/tvOS device specific options -->
<ItemGroup Condition="('$(TargetsiOS)' == 'true' and '$(TargetsiOSSimulator)' != 'true') or ('$(TargetstvOS)' == 'true' and '$(TargetstvOSSimulator)' != 'true')">
<_MonoCMakeArgs Include="-DENABLE_MINIMAL=jit,logging,shared_perfcounters" />
<_MonoCMakeArgs Include="-DENABLE_VISIBILITY_HIDDEN=1"/>
<_MonoCMakeArgs Include="-DENABLE_LAZY_GC_THREAD_CREATION=1"/>
<_MonoCMakeArgs Include="-DENABLE_SIGALTSTACK=0"/>
<_MonoCMakeArgs Include="-DENABLE_ICALL_EXPORT=1"/>
<_MonoCFLAGS Include="-Werror=partial-availability" />
<_MonoCFLAGS Condition="'$(TargetstvOS)' == 'true'" Include="-fno-gnu-inline-asm" />
<_MonoCFLAGS Include="-fexceptions" />
<_MonoCPPFLAGS Include="-DSMALL_CONFIG" />
<_MonoCPPFLAGS Include="-D_XOPEN_SOURCE" />
<_MonoCPPFLAGS Include="-DHAVE_LARGE_FILE_SUPPORT=1" />
<_MonoCXXFLAGS Include="-Werror=partial-availability" />
<_MonoCXXFLAGS Condition="'$(TargetstvOS)' == 'true'" Include="-fno-gnu-inline-asm" />
<_MonoCXXFLAGS Include="-fexceptions" />
</ItemGroup>
<!-- Android specific options -->
<PropertyGroup Condition="'$(TargetsAndroid)' == 'true'">
<_MonoRunInitCompiler>false</_MonoRunInitCompiler>
</PropertyGroup>
<ItemGroup Condition="'$(TargetsAndroid)' == 'true'">
<_MonoCMakeArgs Include="-DCMAKE_TOOLCHAIN_FILE=$(ANDROID_NDK_ROOT)/build/cmake/android.toolchain.cmake"/>
<_MonoCMakeArgs Include="-DANDROID_NDK=$(ANDROID_NDK_ROOT)"/>
<_MonoCMakeArgs Include="-DANDROID_STL=none"/>
<_MonoCMakeArgs Include="-DANDROID_CPP_FEATURES="no-rtti no-exceptions""/>
<_MonoCMakeArgs Include="-DANDROID_NATIVE_API_LEVEL=$(AndroidApiVersion)"/>
<_MonoCMakeArgs Include="-DANDROID_PLATFORM=android-$(AndroidApiVersion)"/>
<_MonoCMakeArgs Condition="'$(Platform)' == 'arm64'" Include="-DANDROID_ABI=arm64-v8a" />
<_MonoCMakeArgs Condition="'$(Platform)' == 'arm'" Include="-DANDROID_ABI=armeabi-v7a" />
<_MonoCMakeArgs Condition="'$(Platform)' == 'x86'" Include="-DANDROID_ABI=x86" />
<_MonoCMakeArgs Condition="'$(Platform)' == 'x64'" Include="-DANDROID_ABI=x86_64" />
<_MonoCMakeArgs Include="-DENABLE_MINIMAL=ssa,logging" />
<_MonoCMakeArgs Include="-DENABLE_SIGALTSTACK=1"/>
<_MonoCFLAGS Condition="'$(Platform)' == 'arm'" Include="-march=armv7-a" />
<_MonoCFLAGS Condition="'$(Platform)' == 'arm'" Include="-mtune=cortex-a8" />
<_MonoCFLAGS Condition="'$(Platform)' == 'arm'" Include="-mfpu=vfp" />
<_MonoCFLAGS Condition="'$(Platform)' == 'arm'" Include="-mfloat-abi=softfp" />
<_MonoCFLAGS Condition="'$(Platform)' == 'arm64' or '$(Platform)' == 'arm'" Include="-fpic" />
<_MonoCFLAGS Include="-fstack-protector" />
<_MonoCFLAGS Condition="'$(Platform)' == 'arm64'" Include="-DANDROID64" />
<_MonoCFLAGS Condition="'$(Platform)' == 'arm64' or '$(Platform)' == 'x64'" Include="-DL_cuserid=9" />
<_MonoCFLAGS Condition="'$(Platform)' == 'arm64' or '$(Platform)' == 'arm'" Include="-D__POSIX_VISIBLE=201002" />
<_MonoCFLAGS Condition="'$(Platform)' == 'arm64' or '$(Platform)' == 'arm'" Include="-DSK_RELEASE" />
<_MonoCFLAGS Condition="'$(Platform)' == 'arm64' or '$(Platform)' == 'arm'" Include="-DNDEBUG" />
<_MonoCFLAGS Condition="'$(Platform)' == 'arm64' or '$(Platform)' == 'arm'" Include="-UDEBUG" />
<_MonoCXXFLAGS Condition="'$(Platform)' == 'arm'" Include="-march=armv7-a" />
<_MonoCXXFLAGS Condition="'$(Platform)' == 'arm'" Include="-mtune=cortex-a8" />
<_MonoCXXFLAGS Condition="'$(Platform)' == 'arm'" Include="-mfpu=vfp" />
<_MonoCXXFLAGS Condition="'$(Platform)' == 'arm'" Include="-mfloat-abi=softfp" />
<_MonoCXXFLAGS Condition="'$(Platform)' == 'arm64' or '$(Platform)' == 'arm'" Include="-fpic" />
<_MonoCXXFLAGS Include="-fstack-protector" />
<_MonoCXXFLAGS Condition="'$(Platform)' == 'arm64'" Include="-DANDROID64" />
<_MonoCXXFLAGS Condition="'$(Platform)' == 'arm64' or '$(Platform)' == 'x64'" Include="-DL_cuserid=9" />
<_MonoCXXFLAGS Condition="'$(Platform)' == 'arm64' or '$(Platform)' == 'arm'" Include="-D__POSIX_VISIBLE=201002" />
<_MonoCXXFLAGS Condition="'$(Platform)' == 'arm64' or '$(Platform)' == 'arm'" Include="-DSK_RELEASE" />
<_MonoCXXFLAGS Condition="'$(Platform)' == 'arm64' or '$(Platform)' == 'arm'" Include="-DNDEBUG" />
<_MonoCXXFLAGS Condition="'$(Platform)' == 'arm64' or '$(Platform)' == 'arm'" Include="-UDEBUG" />
</ItemGroup>
<!-- Linux options -->
<ItemGroup Condition="'$(TargetsLinux)' == true">
<_MonoCFLAGS Include="-Wl,--build-id=sha1" />
<_MonoCXXFLAGS Include="-Wl,--build-id=sha1" />
</ItemGroup>
<ItemGroup Condition="'$(RealTargetOS)' == 'Linux'">
<_MonoAOTCFLAGS Include="-Wl,--build-id=sha1" />
<_MonoAOTCXXFLAGS Include="-Wl,--build-id=sha1" />
</ItemGroup>
<!-- Devloop features -->
<ItemGroup Condition="'$(MonoMsCorDbi)' == 'true'">
<_MonoCMakeArgs Include="-DENABLE_MSCORDBI=1" />
</ItemGroup>
<ItemGroup Condition="'$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true'">
<_MonoCMakeArgs Include="-DFEATURE_PERFTRACING_PAL_TCP=1"/>
<_MonoCMakeArgs Include="-DFEATURE_PERFTRACING_DISABLE_DEFAULT_LISTEN_PORT=1"/>
<_MonoCMakeArgs Include="-DDISABLE_LINK_STATIC_COMPONENTS=1" Condition="!('$(TargetsiOSSimulator)' == 'true' or '$(TargetstvOSSimulator)' == 'true')"/>
</ItemGroup>
<ItemGroup Condition="'$(TargetsAndroid)' == 'true'">
<_MonoCMakeArgs Include="-DFEATURE_PERFTRACING_PAL_TCP=1"/>
<_MonoCMakeArgs Include="-DFEATURE_PERFTRACING_DISABLE_DEFAULT_LISTEN_PORT=1"/>
</ItemGroup>
<!-- Components -->
<ItemGroup Condition="'$(MonoComponentsStatic)' == 'true'">
<_MonoCMakeArgs Include="-DSTATIC_COMPONENTS=1" />
</ItemGroup>
<ItemGroup>
<_MonoCMakeArgs Include="-DMONO_COMPONENTS_RID=$(TargetOS)-$(TargetArchitecture)" />
</ItemGroup>
<PropertyGroup>
<_MonoCFLAGSOption>-DCMAKE_C_FLAGS="@(_MonoCPPFLAGS, ' ') @(_MonoCFLAGS, ' ')"</_MonoCFLAGSOption>
<_MonoCXXFLAGSOption>-DCMAKE_CXX_FLAGS="@(_MonoCPPFLAGS, ' ') @(_MonoCXXFLAGS, ' ')"</_MonoCXXFLAGSOption>
</PropertyGroup>
<ItemGroup>
<_MonoCMakeArgs Include="$(_MonoCFLAGSOption)"/>
<_MonoCMakeArgs Include="$(_MonoCXXFLAGSOption)"/>
</ItemGroup>
<PropertyGroup>
<EMSDK_PATH>$([MSBuild]::EnsureTrailingSlash('$(EMSDK_PATH)'))</EMSDK_PATH>
<_MonoCMakeConfigureCommand>cmake @(_MonoCMakeArgs, ' ') $(MonoCMakeExtraArgs) "$(MonoProjectRoot.TrimEnd('\/'))"</_MonoCMakeConfigureCommand>
<_MonoCMakeConfigureCommand Condition="'$(TargetsBrowser)' != 'true' and '$(_MonoRunInitCompiler)' != 'false' and '$(HostOS)' != 'windows'">bash -c 'source $(RepositoryEngineeringCommonDir)native/init-compiler.sh "$(RepositoryEngineeringCommonDir)native" "$(_CompilerTargetArch)" "$(MonoCCompiler)" && @(_MonoBuildEnv, ' ') $(_MonoCMakeConfigureCommand)'</_MonoCMakeConfigureCommand>
<_MonoCMakeConfigureCommand Condition="'$(TargetsBrowser)' != 'true' and '$(_MonoRunInitCompiler)' != 'false' and '$(HostOS)' == 'windows'">call "$(RepositoryEngineeringDir)native\init-vs-env.cmd" $(_CompilerTargetArch) && cd /D "$(MonoObjDir)" && @(_MonoBuildEnv, ' ') $(_MonoCMakeConfigureCommand)</_MonoCMakeConfigureCommand>
<_MonoCMakeConfigureCommand Condition="'$(TargetsBrowser)' != 'true' and '$(_MonoRunInitCompiler)' == 'false'">$(_MonoCCOption) $(_MonoCXXOption) @(_MonoBuildEnv, ' ') $(_MonoCMakeConfigureCommand)</_MonoCMakeConfigureCommand>
<_MonoCMakeConfigureCommand Condition="'$(TargetsBrowser)' == 'true' and '$(HostOS)' != 'windows'">bash -c 'source $(EMSDK_PATH)/emsdk_env.sh 2>&1 && emcmake $(_MonoCMakeConfigureCommand)'</_MonoCMakeConfigureCommand>
<_MonoCMakeConfigureCommand Condition="'$(TargetsBrowser)' == 'true' and '$(HostOS)' == 'windows'">call "$(RepositoryEngineeringDir)native\init-vs-env.cmd" && call "$([MSBuild]::NormalizePath('$(EMSDK_PATH)', 'emsdk_env.bat'))" && emcmake $(_MonoCMakeConfigureCommand)</_MonoCMakeConfigureCommand>
<_MonoCMakeBuildCommand>cmake --build . --target install --config $(Configuration)</_MonoCMakeBuildCommand>
<_MonoCMakeBuildCommand Condition="'$(MonoVerboseBuild)' == 'true'">$(_MonoCMakeBuildCommand) --verbose</_MonoCMakeBuildCommand>
<_MonoCMakeBuildCommand Condition="'$(_MonoUseNinja)' != 'true'">$(_MonoCMakeBuildCommand) --parallel $([System.Environment]::ProcessorCount)</_MonoCMakeBuildCommand>
<_MonoCMakeBuildCommand Condition="'$(TargetsBrowser)' != 'true' and '$(HostOS)' != 'windows'">@(_MonoBuildEnv, ' ') $(_MonoCMakeBuildCommand)</_MonoCMakeBuildCommand>
<_MonoCMakeBuildCommand Condition="'$(TargetsBrowser)' != 'true' and '$(HostOS)' == 'windows'">call "$(RepositoryEngineeringDir)native\init-vs-env.cmd" $(_CompilerTargetArch) && cd /D "$(MonoObjDir)" && @(_MonoBuildEnv, ' ') $(_MonoCMakeBuildCommand)</_MonoCMakeBuildCommand>
</PropertyGroup>
<MakeDir Directories="$(MonoObjDir)" />
<!-- configure -->
<PropertyGroup>
<_MonoCMakeCmdLineUpToDate Condition="Exists('$(MonoObjDir)cmake_cmd_line.txt') and '$([System.IO.File]::ReadAllText($(MonoObjDir)cmake_cmd_line.txt).Trim())' == '$(_MonoCMakeConfigureCommand.Trim())'">true</_MonoCMakeCmdLineUpToDate>
<_MonoSkipCMakeConfigure>false</_MonoSkipCMakeConfigure>
<_MonoSkipCMakeConfigure Condition="'$(SkipMonoCrossJitConfigure)' == 'true' or '$(_MonoCMakeCmdLineUpToDate)' == 'true'">true</_MonoSkipCMakeConfigure>
</PropertyGroup>
<Message Condition="'$(_MonoSkipCMakeConfigure)' == 'true'" Text="The CMake command line is the same as the last run. Skipping running CMake configure." Importance="High"/>
<Message Condition="'$(_MonoSkipCMakeConfigure)' != 'true'" Text="Running '$(_MonoCMakeConfigureCommand)' in '$(MonoObjDir)'" Importance="High"/>
<Exec Condition="'$(_MonoSkipCMakeConfigure)' != 'true'" Command="$(_MonoCMakeConfigureCommand)" IgnoreStandardErrorWarningFormat="true" WorkingDirectory="$(MonoObjDir)"/>
<WriteLinesToFile
Condition="'$(_MonoSkipCMakeConfigure)' != 'true'"
File="$(MonoObjDir)cmake_cmd_line.txt"
Lines="$(_MonoCMakeConfigureCommand)"
Overwrite="true" />
<!-- build -->
<Message Condition="'$(BuildMonoAOTCrossCompilerOnly)' != 'true'" Text="Running '$(_MonoCMakeBuildCommand)' in '$(MonoObjDir)'" Importance="High"/>
<Exec Condition="'$(BuildMonoAOTCrossCompilerOnly)' != 'true'" Command="$(_MonoCMakeBuildCommand)" IgnoreStandardErrorWarningFormat="true" WorkingDirectory="$(MonoObjDir)"/>
<!-- strip -->
<PropertyGroup>
<MonoToolchainPrebuiltOS Condition="$([MSBuild]::IsOSPlatform('Linux'))">linux-x86_64</MonoToolchainPrebuiltOS>
<MonoToolchainPrebuiltOS Condition="$([MSBuild]::IsOSPlatform('OSX'))">darwin-x86_64</MonoToolchainPrebuiltOS>
<MonoToolchainPrebuiltOS Condition="'$(HostOS)' == 'windows'">windows-x86_64</MonoToolchainPrebuiltOS>
<_MonoRuntimeFilePath>$(MonoObjDir)out\lib\$(MonoFileName)</_MonoRuntimeFilePath>
<_LinuxAbi Condition="'$(TargetsAndroid)' != 'true'">gnu</_LinuxAbi>
<_LinuxAbi Condition="'$(TargetsAndroid)' == 'true'">android</_LinuxAbi>
<_LinuxFloatAbi Condition="'$(TargetsAndroid)' != 'true'">hf</_LinuxFloatAbi>
<_Objcopy>objcopy</_Objcopy>
<_Objcopy Condition="'$(Platform)' == 'arm'">arm-linux-$(_LinuxAbi)eabi$(_LinuxFloatAbi)-$(_Objcopy)</_Objcopy>
<_Objcopy Condition="'$(Platform)' == 'armv6'">arm-linux-$(_LinuxAbi)eabi$(_LinuxFloatAbi)-$(_Objcopy)</_Objcopy>
<_Objcopy Condition="'$(Platform)' == 'arm64'">aarch64-linux-$(_LinuxAbi)-$(_Objcopy)</_Objcopy>
<_Objcopy Condition="'$(Platform)' == 's390x'">s390x-linux-$(_LinuxAbi)-$(_Objcopy)</_Objcopy>
<_Objcopy Condition="'$(Platform)' == 'x64'">x86_64-linux-$(_LinuxAbi)-$(_Objcopy)</_Objcopy>
<_Objcopy Condition="'$(Platform)' == 'x86'">i686-linux-$(_LinuxAbi)-$(_Objcopy)</_Objcopy>
<_Objcopy Condition="'$(TargetsAndroid)' == 'true'">$(ANDROID_NDK_ROOT)/toolchains/llvm/prebuilt/$(MonoToolchainPrebuiltOS)/bin/llvm-objcopy</_Objcopy>
</PropertyGroup>
<!-- test viability of objcopy command -->
<Exec Condition="'$(BuildMonoAOTCrossCompilerOnly)' != 'true' and ('$(TargetsLinux)' == 'true' or '$(TargetsAndroid)' == 'true')" Command="$(_Objcopy) -V" IgnoreStandardErrorWarningFormat="true" ContinueOnError="WarnAndContinue" IgnoreExitCode="true" EchoOff="true" ConsoleToMsBuild="true">
<Output TaskParameter="ExitCode" PropertyName="_ObjcopyFound"/>
</Exec>
<PropertyGroup>
<!-- if all else fails in finding a valid objcopy, fall back to no-prefix from $PATH (used for x64 on CentOS) -->
<_Objcopy Condition="'$(_ObjcopyFound)' != '0'">objcopy</_Objcopy>
</PropertyGroup>
<ItemGroup>
<FilesToStrip Include="$(_MonoRuntimeFilePath)" />
<FilesToStrip Include="$([System.IO.Directory]::GetParent($(_MonoRuntimeFilePath)))\libmono-component-*$(LibSuffix)" />
<FilesToStrip Include="$([System.IO.Directory]::GetParent($(_MonoRuntimeFilePath)))\Mono*framework\**\Mono*" Exclude="$([System.IO.Directory]::GetParent($(_MonoRuntimeFilePath)))\Mono*framework\**\*.dwarf" />
</ItemGroup>
<Message Condition="'$(BuildMonoAOTCrossCompilerOnly)' != 'true' and ($([MSBuild]::IsOSPlatform('OSX')) or $([MSBuild]::IsOSPlatform('Linux')))" Text="Stripping debug symbols from %(FilesToStrip.Identity)" Importance="High"/>
<Exec Condition="!$([System.String]::Copy(%(FilesToStrip.Identity)).EndsWith('.a')) and '$(BuildMonoAOTCrossCompilerOnly)' != 'true' and ('$(TargetsOSX)' == 'true' or '$(TargetsMacCatalyst)' == 'true' or '$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true')" Command="dsymutil --flat --minimize %(FilesToStrip.Identity)" IgnoreStandardErrorWarningFormat="true" WorkingDirectory="$(MonoObjDir)"/>
<Exec Condition="!$([System.String]::Copy(%(FilesToStrip.Identity)).EndsWith('.a')) and '$(BuildMonoAOTCrossCompilerOnly)' != 'true' and ('$(TargetsOSX)' == 'true' or '$(TargetsMacCatalyst)' == 'true' or '$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true') and '$(Configuration)' == 'Release'" Command="strip -no_code_signature_warning -S %(FilesToStrip.Identity)" IgnoreStandardErrorWarningFormat="true" WorkingDirectory="$(MonoObjDir)"/>
<Exec Condition="!$([System.String]::Copy(%(FilesToStrip.Identity)).EndsWith('.a')) and '$(BuildMonoAOTCrossCompilerOnly)' != 'true' and ('$(TargetsLinux)' == 'true' or '$(TargetsAndroid)' == 'true')" Command="$(_Objcopy) --only-keep-debug %(FilesToStrip.Identity) %(FilesToStrip.Identity).dbg" IgnoreStandardErrorWarningFormat="true" WorkingDirectory="$(MonoObjDir)"/>
<Exec Condition="!$([System.String]::Copy(%(FilesToStrip.Identity)).EndsWith('.a')) and '$(BuildMonoAOTCrossCompilerOnly)' != 'true' and ('$(TargetsLinux)' == 'true' or '$(TargetsAndroid)' == 'true')" Command="$(_Objcopy) --strip-unneeded %(FilesToStrip.Identity)" IgnoreStandardErrorWarningFormat="true" WorkingDirectory="$(MonoObjDir)"/>
<Exec Condition="!$([System.String]::Copy(%(FilesToStrip.Identity)).EndsWith('.a')) and '$(BuildMonoAOTCrossCompilerOnly)' != 'true' and ('$(TargetsLinux)' == 'true' or '$(TargetsAndroid)' == 'true')" Command="$(_Objcopy) --add-gnu-debuglink=%(FilesToStrip.Identity).dbg %(FilesToStrip.Identity)" IgnoreStandardErrorWarningFormat="true" WorkingDirectory="$(MonoObjDir)"/>
</Target>
<!-- Build AOT cross compiler (if available) -->
<Target Name="BuildMonoCross" Condition="'$(BuildMonoAOTCrossCompiler)' == 'true'" DependsOnTargets="BuildMonoRuntime">
<!-- iOS/tvOS specific options -->
<PropertyGroup Condition="'$(TargetstvOS)' == 'true' or '$(TargetsiOS)' == 'true'">
<!-- FIXME: Disable for simulator -->
<MonoUseCrossTool>true</MonoUseCrossTool>
<MonoAotCMakeSysroot Condition="'$(TargetsiOS)' == 'true' and '$(TargetsiOSSimulator)' != 'true'">$(XcodeDir)/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS$(iOSVersion).sdk</MonoAotCMakeSysroot>
<MonoAotCMakeSysroot Condition="'$(TargetsiOS)' == 'true' and '$(TargetsiOSSimulator)' == 'true'">$(XcodeDir)/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator$(iOSVersion).sdk</MonoAotCMakeSysroot>
<MonoAotCMakeSysroot Condition="'$(TargetstvOS)' == 'true' and '$(TargetstvOSSimulator)' != 'true'">$(XcodeDir)/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS$(tvOSVersion).sdk</MonoAotCMakeSysroot>
<MonoAotCMakeSysroot Condition="'$(TargetstvOS)' == 'true' and '$(TargetstvOSSimulator)' == 'true'">$(XcodeDir)/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator$(tvOSVersion).sdk</MonoAotCMakeSysroot>
<MonoAotOffsetsFile>$(MonoObjCrossDir)offsets-$(Platform)-darwin.h</MonoAotOffsetsFile>
<MonoAotAbi Condition="'$(Platform)' == 'arm64'">aarch64-apple-darwin10</MonoAotAbi>
<MonoAotAbi Condition="'$(Platform)' == 'arm'">arm-apple-darwin10</MonoAotAbi>
<MonoAotAbi Condition="'$(Platform)' == 'x86'">i386-apple-darwin10</MonoAotAbi>
<MonoAotAbi Condition="'$(Platform)' == 'x64'">x86_64-apple-darwin10</MonoAotAbi>
</PropertyGroup>
<!-- Catalyst specific options -->
<PropertyGroup Condition="'$(TargetsMacCatalyst)' == 'true'">
<MonoUseCrossTool>true</MonoUseCrossTool>
<MonoAotCMakeSysroot Condition="'$(TargetsMacCatalyst)' == 'true'">$(XcodeDir)/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk</MonoAotCMakeSysroot>
<MonoAotOffsetsFile>$(MonoObjCrossDir)offsets-$(Platform)-darwin.h</MonoAotOffsetsFile>
<MonoAotAbi Condition="'$(Platform)' == 'arm64'">aarch64-apple-maccatalyst</MonoAotAbi>
<MonoAotAbi Condition="'$(Platform)' == 'x64'">x86_64-apple-maccatalyst</MonoAotAbi>
</PropertyGroup>
<!-- Linux specific options -->
<ItemGroup Condition="'$(RealTargetOS)' == 'Linux' or $([MSBuild]::IsOSPlatform('Linux'))">
<_LibClang Include="$(ANDROID_NDK_ROOT)/toolchains/llvm/prebuilt/$(MonoToolchainPrebuiltOS)/lib64/libclang.so.*"/>
</ItemGroup>
<PropertyGroup Condition="'$(TargetsLinux)' == 'true' and '$(Platform)' == 'arm64'">
<MonoUseCrossTool>true</MonoUseCrossTool>
<MonoAotAbi>aarch64-linux-gnu</MonoAotAbi>
<MonoAotOffsetsFile>$(MonoObjCrossDir)offsets-aarch-linux-gnu.h</MonoAotOffsetsFile>
<MonoAotOffsetsPrefix>$(MonoCrossDir)/usr/lib/gcc/aarch64-linux-gnu/5</MonoAotOffsetsPrefix>
</PropertyGroup>
<!-- macOS host specific options -->
<ItemGroup Condition="'$(RealTargetOS)' == 'OSX' or $([MSBuild]::IsOSPlatform('OSX'))">
<MonoAOTCMakeArgs Include="-DCMAKE_OSX_DEPLOYMENT_TARGET=$(macOSVersionMin)" />
</ItemGroup>
<!-- WASM specific options -->
<PropertyGroup Condition="'$(TargetsBrowser)' == 'true'">
<MonoUseCrossTool>true</MonoUseCrossTool>
<MonoAotAbi>wasm32-unknown-none</MonoAotAbi>
<MonoAotOffsetsFile>$(MonoObjCrossDir)offsets-wasm32-unknown-none.h</MonoAotOffsetsFile>
<MonoLibClang Condition="$([MSBuild]::IsOSPlatform('OSX'))">$(EMSDK_PATH)/upstream/lib/libclang.dylib</MonoLibClang>
<MonoLibClang Condition="$([MSBuild]::IsOSPlatform('Linux'))">$(EMSDK_PATH)/upstream/lib/libclang.so</MonoLibClang>
<MonoLibClang Condition="$([MSBuild]::IsOSPlatform('Windows'))">$([MSBuild]::NormalizePath('$(EMSDK_PATH)', 'upstream', 'bin', 'libclang.dll'))</MonoLibClang>
<PythonCmd Condition="'$(HostOS)' == 'windows'">setlocal EnableDelayedExpansion && call "$([MSBuild]::NormalizePath('$(EMSDK_PATH)', 'emsdk_env.bat'))" && !EMSDK_PYTHON!</PythonCmd>
<_ForceRelease Condition="$([MSBuild]::IsOSPlatform('Windows')) and '$(TargetArchitecture)' == 'wasm' and '$(Configuration)' == 'Debug'">true</_ForceRelease>
</PropertyGroup>
<!-- Windows specific options -->
<ItemGroup Condition="'$(RealTargetOS)' == 'Windows' or $([MSBuild]::IsOSPlatform('Windows'))">
<_MonoAOTCPPFLAGS Include="-DHOST_WIN32" />
<_MonoAOTCPPFLAGS Include="-D__WIN32__" />
<_MonoAOTCPPFLAGS Include="-DWIN32" />
<_MonoAOTCPPFLAGS Include="-DWIN32_LEAN_AND_MEAN" />
<!--<_MonoAOTCPPFLAGS Include="-D_WINDOWS" />--> <!-- set in monow.vcxproj, not sure we really need it -->
<_MonoAOTCPPFLAGS Condition="'$(Platform)' == 'x64' or '$(Platform)' == 'arm64'" Include="-DWIN64" />
<_MonoAOTCPPFLAGS Condition="'$(Configuration)' == 'Release' or '$(_ForceRelease)' == 'true'" Include="-DNDEBUG" />
<_MonoAOTCPPFLAGS Condition="'$(Configuration)' == 'Debug' and '$(_ForceRelease)' != 'true'" Include="-D_DEBUG" />
<!-- <_MonoAOTCPPFLAGS Include="-D__default_codegen__" /> --> <!-- doesn't seem to be used -->
<_MonoAOTCPPFLAGS Include="-D_CRT_SECURE_NO_WARNINGS" />
<_MonoAOTCPPFLAGS Include="-D_CRT_NONSTDC_NO_DEPRECATE" />
<!--<_MonoAOTCPPFLAGS Include="-DGC_NOT_DLL" />--> <!-- only used for Boehm -->
<_MonoAOTCPPFLAGS Include="-DWIN32_THREADS" />
<_MonoAOTCPPFLAGS Include="-DWINVER=0x0601" />
<_MonoAOTCPPFLAGS Include="-D_WIN32_WINNT=0x0601" />
<_MonoAOTCPPFLAGS Include="-D_WIN32_IE=0x0501" />
<_MonoAOTCPPFLAGS Include="-D_UNICODE" />
<_MonoAOTCPPFLAGS Include="-DUNICODE" />
<_MonoAOTCPPFLAGS Include="-DFD_SETSIZE=1024" />
<_MonoAOTCPPFLAGS Include="-DNVALGRIND" />
<MonoAOTCMakeArgs Include="-DDISABLE_INTERPRETER=1" />
<!-- Select generator platform for VS generator -->
<MonoAOTCMakeArgs Condition="'$(_MonoUseNinja)' != 'true' and '$(Platform)' == 'x64'" Include="-A x64" />
<MonoAOTCMakeArgs Condition="'$(_MonoUseNinja)' != 'true' and '$(Platform)' == 'x86'" Include="-A Win32" />
<MonoAOTCMakeArgs Condition="'$(_MonoUseNinja)' != 'true' and '$(Platform)' == 'arm'" Include="-A ARM" />
<MonoAOTCMakeArgs Condition="'$(_MonoUseNinja)' != 'true' and '$(Platform)' == 'arm64'" Include="-A ARM64" />
</ItemGroup>
<!-- Android specific options -->
<PropertyGroup Condition="'$(TargetsAndroid)' == 'true'">
<MonoToolchainPrebuiltOS Condition="$([MSBuild]::IsOSPlatform('Linux'))">linux-x86_64</MonoToolchainPrebuiltOS>
<MonoToolchainPrebuiltOS Condition="$([MSBuild]::IsOSPlatform('OSX'))">darwin-x86_64</MonoToolchainPrebuiltOS>
<MonoToolchainPrebuiltOS Condition="'$(HostOS)' == 'windows'">windows-x86_64</MonoToolchainPrebuiltOS>
<MonoUseCrossTool>true</MonoUseCrossTool>
<MonoAotCMakeSysroot Condition="Exists('$(ANDROID_NDK_ROOT)/sysroot')">$(ANDROID_NDK_ROOT)/sysroot</MonoAotCMakeSysroot>
<MonoAotCMakeSysroot Condition="'$(MonoAotCMakeSysroot)' == '' And Exists('$(ANDROID_NDK_ROOT)/toolchains/llvm/prebuilt/$(MonoToolchainPrebuiltOS)/sysroot')">$(ANDROID_NDK_ROOT)/toolchains/llvm/prebuilt/$(MonoToolchainPrebuiltOS)/sysroot</MonoAotCMakeSysroot>
<MonoAotAbi Condition="'$(Platform)' == 'arm64'">aarch64-v8a-linux-android</MonoAotAbi>
<MonoAotAbi Condition="'$(Platform)' == 'arm'">armv7-none-linux-androideabi</MonoAotAbi>
<MonoAotAbi Condition="'$(Platform)' == 'x86'">i686-none-linux-android</MonoAotAbi>
<MonoAotAbi Condition="'$(Platform)' == 'x64'">x86_64-none-linux-android</MonoAotAbi>
<MonoAotOffsetsFile>$(MonoObjDir)cross/offsets-$(Platform)-android.h</MonoAotOffsetsFile>
</PropertyGroup>
<PropertyGroup>
<MonoLibClang Condition="$([MSBuild]::IsOSPlatform('OSX')) and '$(MonoLibClang)' == ''">$(XcodeDir)/Toolchains/XcodeDefault.xctoolchain/usr/lib/libclang.dylib</MonoLibClang>
<MonoLibClang Condition="$([MSBuild]::IsOSPlatform('Linux')) and '$(MonoLibClang)' == ''">@(_LibClang)</MonoLibClang>
<MonoLibClang Condition="'$(HostOS)' == 'windows' and '$(MonoLibClang)' == ''">c:/dev/LLVM/bin/libclang.dll</MonoLibClang>
<MonoAotCMakeSysroot Condition="'$(MonoAotCMakeSysroot)' == ''">$(MonoCrossDir)</MonoAotCMakeSysroot>
</PropertyGroup>
<ItemGroup Condition="'$(MonoUseCrossTool)' == 'true'">
<MonoAotCrossOffsetsToolParams Include="--abi=$(MonoAotAbi)" />
<MonoAotCrossOffsetsToolParams Include="--netcore" />
<MonoAotCrossOffsetsToolParams Include="--targetdir="$(MonoObjDir.TrimEnd('\/'))"" />
<MonoAotCrossOffsetsToolParams Include="--monodir="$(MonoProjectRoot.TrimEnd('\/'))"" />
<MonoAotCrossOffsetsToolParams Include="--nativedir="$(SharedNativeRoot.TrimEnd('\/'))"" />
<MonoAotCrossOffsetsToolParams Include="--outfile="$(MonoAotOffsetsFile)"" />
<MonoAotCrossOffsetsToolParams Include="--libclang="$(MonoLibClang)"" />
<MonoAotCrossOffsetsToolParams Condition="'$(MonoAotOffsetsPrefix)' != ''" Include="--prefix="$(MonoAotOffsetsPrefix)"" />
<MonoAotCrossOffsetsToolParams Condition="'$(MonoAotCMakeSysroot)' != ''" Include="--sysroot="$(MonoAotCMakeSysroot)"" />
<MonoAotCrossOffsetsToolParams Condition="'$(TargetsBrowser)' == 'true'" Include="--emscripten-sdk="$([MSBuild]::NormalizePath('$(EMSDK_PATH)', 'upstream', 'emscripten'))"" />
</ItemGroup>
<PropertyGroup>
<_MonoAOTCFLAGSOption>-DCMAKE_C_FLAGS="@(_MonoAOTCPPFLAGS, ' ') @(_MonoAOTCFLAGS, ' ')"</_MonoAOTCFLAGSOption>
<_MonoAOTCXXFLAGSOption>-DCMAKE_CXX_FLAGS="@(_MonoAOTCPPFLAGS, ' ') @(_MonoAOTCXXFLAGS, ' ')"</_MonoAOTCXXFLAGSOption>
</PropertyGroup>
<ItemGroup>
<MonoAOTCMakeArgs Include="-DAOT_TARGET_TRIPLE=$(MonoAotAbi)"/>
<MonoAOTCMakeArgs Condition="'$(_MonoUseNinja)' == 'true'" Include="-G Ninja"/>
<MonoAOTCMakeArgs Include="-DCMAKE_INSTALL_PREFIX=$([MSBuild]::NormalizePath('$(MonoObjCrossDir)', 'out'))"/>
<MonoAOTCMakeArgs Condition="'$(_ForceRelease)' != 'true'" Include="-DCMAKE_BUILD_TYPE=$(Configuration)"/>
<MonoAOTCMakeArgs Condition="'$(_ForceRelease)' == 'true'" Include="-DCMAKE_BUILD_TYPE=Release"/>
<!-- FIXME: Disable more -->
<MonoAOTCMakeArgs Include="-DENABLE_MINIMAL=" />
<MonoAOTCMakeArgs Include="-DENABLE_ICALL_SYMBOL_MAP=1" />
<MonoAOTCMakeArgs Include="-DDISABLE_SHARED_LIBS=1" />
<MonoAOTCMakeArgs Include="-DDISABLE_LIBS=1" />
<MonoAOTCMakeArgs Include="-DDISABLE_COMPONENTS=1" />
<MonoAOTCMakeArgs Condition="'$(MonoAotOffsetsFile)' != ''" Include="-DAOT_OFFSETS_FILE="$(MonoAotOffsetsFile)"" />
<MonoAOTCMakeArgs Condition="'$(MonoAOTEnableLLVM)' == 'true'" Include="-DLLVM_PREFIX=$(MonoAOTLLVMDir.TrimEnd('\/'))" />
<MonoAOTCMakeArgs Include="$(_MonoAOTCFLAGSOption)" />
<MonoAOTCMakeArgs Include="$(_MonoAOTCXXFLAGSOption)" />
<!-- thread suspend -->
<MonoAOTCMakeArgs Include="-DGC_SUSPEND=$(MonoThreadSuspend)" />
<!-- rename exe -->
<MonoAOTCMakeArgs Include="-DMONO_CROSS_COMPILE_EXECUTABLE_NAME=1" />
</ItemGroup>
<PropertyGroup>
<_MonoAotCrossOffsetsCommand Condition="'$(MonoUseCrossTool)' == 'true'">$(PythonCmd) $(MonoProjectRoot)mono/tools/offsets-tool/offsets-tool.py @(MonoAotCrossOffsetsToolParams, ' ')</_MonoAotCrossOffsetsCommand>
<_MonoAotCMakeConfigureCommand>cmake @(MonoAOTCMakeArgs, ' ') $(MonoProjectRoot)</_MonoAotCMakeConfigureCommand>
<_MonoAotCMakeConfigureCommand Condition="'$(HostOS)' == 'windows'">call "$(RepositoryEngineeringDir)native\init-vs-env.cmd" $(_CompilerTargetArch) && cd /D "$(MonoObjCrossDir)" && @(_MonoBuildEnv, ' ') $(_MonoAotCMakeConfigureCommand)</_MonoAotCMakeConfigureCommand>
<_MonoAotCMakeBuildCommand>cmake --build . --target install --config $(Configuration)</_MonoAotCMakeBuildCommand>
<_MonoAotCMakeBuildCommand Condition="'$(MonoVerboseBuild)' == 'true'">$(_MonoAotCMakeBuildCommand) --verbose</_MonoAotCMakeBuildCommand>
<_MonoAotCMakeBuildCommand Condition="'$(_MonoUseNinja)' != 'true'">$(_MonoAotCMakeBuildCommand) --parallel $([System.Environment]::ProcessorCount)</_MonoAotCMakeBuildCommand>
<_MonoAotCMakeBuildCommand Condition="'$(HostOS)' == 'windows'">call "$(RepositoryEngineeringDir)native\init-vs-env.cmd" $(_CompilerTargetArch) && cd /D "$(MonoObjCrossDir)" && @(_MonoBuildEnv, ' ') $(_MonoAotCMakeBuildCommand)</_MonoAotCMakeBuildCommand>
<_MonoAotPrebuiltOffsetsFile>$(ArtifactsObjDir)\mono\offsetfiles\$(PlatformConfigPathPart)\cross\$([System.IO.Path]::GetFileName('$(MonoAotOffsetsFile)'))</_MonoAotPrebuiltOffsetsFile>
</PropertyGroup>
<MakeDir Directories="$(MonoObjCrossDir)" />
<!-- offsets tool -->
<Message Condition="Exists('$(_MonoAotPrebuiltOffsetsFile)')" Text="Out-of-tree offset file found, moving into place" Importance="High" />
<Copy Condition="Exists('$(_MonoAotPrebuiltOffsetsFile)')" SourceFiles="$(_MonoAotPrebuiltOffsetsFile)" DestinationFolder="$([System.IO.Path]::GetDirectoryName('$(MonoAotOffsetsFile)'))" />
<Message Condition="'$(MonoUseCrossTool)' == 'true' and !Exists('$(MonoAotOffsetsFile)')" Text="Running '$(_MonoAotCrossOffsetsCommand)'" Importance="High" />
<Exec Condition="'$(MonoUseCrossTool)' == 'true' and !Exists('$(MonoAotOffsetsFile)')" Command="$(_MonoAotCrossOffsetsCommand)" IgnoreStandardErrorWarningFormat="true" />
<!-- configure -->
<PropertyGroup>
<_MonoAotCMakeCmdLineUpToDate Condition="Exists('$(MonoObjCrossDir)cmake_cmd_line.txt') and '$([System.IO.File]::ReadAllText($(MonoObjCrossDir)cmake_cmd_line.txt).Trim())' == '$(_MonoAotCMakeConfigureCommand.Trim())'">true</_MonoAotCMakeCmdLineUpToDate>
<_MonoSkipAotCMakeConfigure>false</_MonoSkipAotCMakeConfigure>
<_MonoSkipAotCMakeConfigure Condition="'$(MonoGenerateOffsetsOSGroups)' != '' or '$(_MonoAotCMakeCmdLineUpToDate)' == 'true'">true</_MonoSkipAotCMakeConfigure>
</PropertyGroup>
<Message Condition="'$(_MonoSkipAotCMakeConfigure)' == 'true'" Text="The AOT Cross CMake command line is the same as the last run. Skipping running CMake configure." Importance="High"/>
<Message Condition="'$(_MonoSkipAotCMakeConfigure)' != 'true'" Text="Running '$(_MonoAotCMakeConfigureCommand)' in '$(MonoObjCrossDir)'" Importance="High"/>
<Exec Condition="'$(_MonoSkipAotCMakeConfigure)' != 'true'" Command="$(_MonoAotCMakeConfigureCommand)" IgnoreStandardErrorWarningFormat="true" WorkingDirectory="$(MonoObjCrossDir)"/>
<WriteLinesToFile
Condition="'$(_MonoSkipAotCMakeConfigure)' != 'true'"
File="$(MonoObjCrossDir)cmake_cmd_line.txt"
Lines="$(_MonoAotCMakeConfigureCommand)"
Overwrite="true" />
<!-- build -->
<Message Text="Running '$(_MonoAotCMakeBuildCommand)' in '$(MonoObjCrossDir)'" Importance="High" />
<Exec Condition="'$(MonoGenerateOffsetsOSGroups)' == ''" Command="$(_MonoAotCMakeBuildCommand)" IgnoreStandardErrorWarningFormat="true" WorkingDirectory="$(MonoObjCrossDir)"/>
</Target>
<PropertyGroup>
<!-- Hardcode version paths in a global location. Condition on running OS to generate the right files for the Mono WASM cross tools. -->
<NativeVersionFile Condition="'$(HostOS)' == 'windows'">$(ArtifactsObjDir)_version.h</NativeVersionFile>
<NativeVersionFile Condition="'$(HostOS)' != 'windows'">$(ArtifactsObjDir)_version.c</NativeVersionFile>
<AssemblyName>.NET Runtime</AssemblyName>
</PropertyGroup>
<Import Project="$(RepositoryEngineeringDir)versioning.targets" />
<!-- The standard set of targets that need to run before the BuildMono target runs -->
<PropertyGroup>
<MonoDependsOnTargets>CheckEnv;GetXcodeDir;GenerateRuntimeVersionFile;BuildMonoRuntime;BuildMonoCross</MonoDependsOnTargets>
<MonoDependsOnTargets Condition="'$(TargetsBrowser)' == 'true'">GenerateRuntimeVersionFile;ProvisionEmscripten;$(MonoDependsOnTargets)</MonoDependsOnTargets>
</PropertyGroup>
<!-- General targets -->
<Target Name="BuildMono" AfterTargets="Build" DependsOnTargets="$(MonoDependsOnTargets)">
<PropertyGroup Condition="'$(BuildMonoAOTCrossCompilerOnly)' != 'true'">
<_MonoRuntimeFilePath Condition="'$(TargetsWindows)' == 'true'">$(MonoObjDir)out\bin\$(MonoFileName)</_MonoRuntimeFilePath>
<_MonoRuntimeFilePath Condition="'$(_MonoRuntimeFilePath)' == ''">$(MonoObjDir)out\lib\$(MonoFileName)</_MonoRuntimeFilePath>
<_MonoRuntimeStaticFilePath Condition="'$(TargetsMacCatalyst)' == 'true' or '$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true' or '$(TargetsAndroid)' == 'true'">$(MonoObjDir)out\lib\$(MonoStaticLibFileName)</_MonoRuntimeStaticFilePath>
<_MonoIncludeInterpStaticFiles Condition="'$(TargetsBrowser)' == 'true'">true</_MonoIncludeInterpStaticFiles>
<_MonoIncludeIcuFiles Condition="'$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true' or '$(TargetsMacCatalyst)' == 'true'">true</_MonoIncludeIcuFiles>
</PropertyGroup>
<PropertyGroup Condition="'$(BuildMonoAOTCrossCompiler)' == 'true'">
<_MonoAotCrossFilePath>$(MonoObjCrossDir)out\bin\$(MonoAotCrossFileName)</_MonoAotCrossFilePath>
<_MonoAotCrossPdbFilePath>$(MonoObjCrossDir)out\bin\$(MonoAotCrossPdbFileName)</_MonoAotCrossPdbFilePath>
</PropertyGroup>
<!-- Copy Mono runtime files to artifacts directory -->
<ItemGroup>
<_MonoRuntimeComponentsStaticFilePath Include="$([System.IO.Directory]::GetParent($(_MonoRuntimeFilePath)))\libmono-component-*$(StaticLibSuffix)" Condition="Exists($(_MonoRuntimeFilePath))" />
<_MonoRuntimeComponentsSharedFilePath Include="$([System.IO.Directory]::GetParent($(_MonoRuntimeFilePath)))\libmono-component-*$(LibSuffix)" Condition="Exists($(_MonoRuntimeFilePath))" />
<_MonoRuntimeComponentsSharedFilePath Include="$([System.IO.Directory]::GetParent($(_MonoRuntimeFilePath)))\libmono-component-*$(LibSuffix).dwarf" Condition="Exists('$(_MonoRuntimeFilePath).dwarf')" />
<_MonoRuntimeComponentsSharedFilePath Include="$([System.IO.Directory]::GetParent($(_MonoRuntimeFilePath)))\libmono-component-*$(LibSuffix).dbg" Condition="Exists('$(_MonoRuntimeFilePath).dbg')" />
<_MonoRuntimeArtifacts Include="$(_MonoRuntimeFilePath)" Condition="Exists($(_MonoRuntimeFilePath))">
<Destination>$(RuntimeBinDir)$(MonoFileName)</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Include="$(_MonoRuntimeFilePath).dbg" Condition="Exists('$(_MonoRuntimeFilePath).dbg')">
<Destination>$(RuntimeBinDir)$(MonoFileName).dbg</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Include="$(_MonoRuntimeFilePath).dwarf" Condition="Exists('$(_MonoRuntimeFilePath).dwarf')">
<Destination>$(RuntimeBinDir)$(MonoFileName).dwarf</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Include="$(_MonoRuntimeStaticFilePath)" Condition="Exists($(_MonoRuntimeStaticFilePath)) and '$(_MonoRuntimeStaticFilePath)' != '$(_MonoRuntimeFilePath)'">
<Destination>$(RuntimeBinDir)$(MonoStaticLibFileName)</Destination>
</_MonoRuntimeArtifacts>
<!-- copy the mono runtime component shared or static libraries -->
<_MonoRuntimeArtifacts Include="@(_MonoRuntimeComponentsStaticFilePath)">
<Destination>$(RuntimeBinDir)%(_MonoRuntimeComponentsStaticFilePath.Filename)%(_MonoRuntimeComponentsStaticFilePath.Extension)</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Include="@(_MonoRuntimeComponentsSharedFilePath)">
<Destination>$(RuntimeBinDir)%(_MonoRuntimeComponentsSharedFilePath.Filename)%(_MonoRuntimeComponentsSharedFilePath.Extension)</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Include="$(_MonoAotCrossFilePath)">
<Destination>$(RuntimeBinDir)cross\$(PackageRID)\$(MonoAotCrossFileName)</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Include="$(_MonoAotCrossPdbFilePath)" Condition="Exists('$(_MonoAotCrossPdbFilePath)')">
<Destination>$(RuntimeBinDir)cross\$(PackageRID)\$(MonoAotCrossPdbFileName)</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="'$(MonoBundleLLVMOptimizer)' == 'true'" Include="$(MonoLLVMDir)\bin\llc$(ExeSuffix)">
<Destination>$(RuntimeBinDir)\llc$(ExeSuffix)</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="'$(MonoBundleLLVMOptimizer)' == 'true'" Include="$(MonoLLVMDir)\bin\opt$(ExeSuffix)">
<Destination>$(RuntimeBinDir)\opt$(ExeSuffix)</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="'$(MonoAOTBundleLLVMOptimizer)' == 'true'" Include="$(MonoAOTLLVMDir)\bin\llc$(ExeSuffix)">
<Destination>$(RuntimeBinDir)cross\$(PackageRID)\llc$(ExeSuffix)</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="'$(MonoAOTBundleLLVMOptimizer)' == 'true'" Include="$(MonoAOTLLVMDir)\bin\opt$(ExeSuffix)">
<Destination>$(RuntimeBinDir)cross\$(PackageRID)\opt$(ExeSuffix)</Destination>
</_MonoRuntimeArtifacts>
<_MonoIncludeArtifacts Include="$(MonoObjDir)out\include\**" />
<_MonoRuntimeArtifacts Condition="'$(MonoComponentsStatic)' != 'true' and Exists('$(MonoObjDir)out\lib\Mono.release.framework')" Include="@(_MonoRuntimeComponentsSharedFilePath)">
<Destination>$(RuntimeBinDir)\Mono.release.framework\%(_MonoRuntimeComponentsSharedFilePath.Filename)%(_MonoRuntimeComponentsSharedFilePath.Extension)</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="Exists('$(MonoObjDir)out\lib\Mono.release.framework') and !Exists('$(MonoObjDir)out\lib\Mono.release.framework\Versions')" Include="$(MonoObjDir)out\lib\Mono.release.framework\Mono.release">
<Destination>$(RuntimeBinDir)\Mono.release.framework\Mono</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="Exists('$(MonoObjDir)out\lib\Mono.release.framework') and Exists('$(MonoObjDir)out\lib\Mono.release.framework\Versions')" Include="$(MonoObjDir)out\lib\Mono.release.framework\Versions\Current\Mono.release">
<Destination>$(RuntimeBinDir)\Mono.release.framework\Mono</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="Exists('$(MonoObjDir)out\lib\Mono.release.framework')" Include="$(MonoObjDir)out\lib\Mono.release.framework\Mono.release.dwarf">
<Destination>$(RuntimeBinDir)\Mono.release.framework\Mono.dwarf</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="'$(MonoComponentsStatic)' != 'true' and Exists('$(MonoObjDir)out\lib\Mono.debug.framework')" Include="@(_MonoRuntimeComponentsSharedFilePath)">
<Destination>$(RuntimeBinDir)\Mono.debug.framework\%(_MonoRuntimeComponentsSharedFilePath.Filename)%(_MonoRuntimeComponentsSharedFilePath.Extension)</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="Exists('$(MonoObjDir)out\lib\Mono.debug.framework') and !Exists('$(MonoObjDir)out\lib\Mono.debug.framework\Versions')" Include="$(MonoObjDir)out\lib\Mono.debug.framework\Mono.debug">
<Destination>$(RuntimeBinDir)\Mono.debug.framework\Mono</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="Exists('$(MonoObjDir)out\lib\Mono.debug.framework') and Exists('$(MonoObjDir)out\lib\Mono.debug.framework\Versions')" Include="$(MonoObjDir)out\lib\Mono.debug.framework\Versions\Current\Mono.debug">
<Destination>$(RuntimeBinDir)\Mono.debug.framework\Mono</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="Exists('$(MonoObjDir)out\lib\Mono.debug.framework')" Include="$(MonoObjDir)out\lib\Mono.debug.framework\Mono.debug.dwarf">
<Destination>$(RuntimeBinDir)\Mono.debug.framework\Mono.dwarf</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="Exists('$(MonoObjDir)out\lib\Mono.release.framework') and !Exists('$(MonoObjDir)out\lib\Mono.release.framework\Versions')" Include="$(MonoObjDir)out\lib\Mono.release.framework\Info.plist">
<Destination>$(RuntimeBinDir)\Mono.release.framework\Info.plist</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="Exists('$(MonoObjDir)out\lib\Mono.release.framework') and Exists('$(MonoObjDir)out\lib\Mono.release.framework\Versions')" Include="$(MonoObjDir)out\lib\Mono.release.framework\Versions\Current\Resources\Info.plist">
<Destination>$(RuntimeBinDir)\Mono.release.framework\Info.plist</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="Exists('$(MonoObjDir)out\lib\Mono.debug.framework') and !Exists('$(MonoObjDir)out\lib\Mono.debug.framework\Versions')" Include="$(MonoObjDir)out\lib\Mono.debug.framework\Info.plist">
<Destination>$(RuntimeBinDir)\Mono.debug.framework\Info.plist</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="Exists('$(MonoObjDir)out\lib\Mono.debug.framework') and Exists('$(MonoObjDir)out\lib\Mono.debug.framework\Versions')" Include="$(MonoObjDir)out\lib\Mono.debug.framework\Versions\Current\Resources\Info.plist">
<Destination>$(RuntimeBinDir)\Mono.debug.framework\Info.plist</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeBuildArtifacts Include="$(MonoObjDir)\build\**" />
<_MonoRuntimeArtifacts Condition="'$(_MonoIncludeInterpStaticFiles)' == 'true'" Include="$(MonoObjDir)out\lib\libmono-ee-interp.a">
<Destination>$(RuntimeBinDir)libmono-ee-interp.a</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="'$(_MonoIncludeInterpStaticFiles)' == 'true'" Include="$(MonoObjDir)out\lib\libmono-icall-table.a">
<Destination>$(RuntimeBinDir)libmono-icall-table.a</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="'$(_MonoIncludeInterpStaticFiles)' == 'true'" Include="$(MonoObjDir)out\lib\libmono-ilgen.a">
<Destination>$(RuntimeBinDir)libmono-ilgen.a</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="'$(TargetsBrowser)' == 'true' and '$(BuildMonoAOTCrossCompilerOnly)' != 'true'" Include="$(MonoObjDir)out\lib\libmono-profiler-aot.a">
<Destination>$(RuntimeBinDir)libmono-profiler-aot.a</Destination>
</_MonoRuntimeArtifacts>
<_MonoICorDebugArtifacts Condition="'$(MonoMsCorDbi)' == 'true'" Include="$(MonoObjDir)out\lib\$(LibPrefix)dbgshim$(LibSuffix)">
<Destination>$(RuntimeBinDir)$(LibPrefix)dbgshim$(LibSuffix)</Destination>
</_MonoICorDebugArtifacts>
<_MonoICorDebugArtifacts Condition="'$(MonoMsCorDbi)' == 'true'" Include="$(MonoObjDir)out\lib\$(LibPrefix)mscordbi$(LibSuffix)">
<Destination>$(RuntimeBinDir)$(LibPrefix)mscordbi$(LibSuffix)</Destination>
</_MonoICorDebugArtifacts>
<_IcuArtifacts Condition="'$(_MonoIncludeIcuFiles)' == 'true'"
Include="$(_IcuLibdir)\libicuuc.a;
$(_IcuLibdir)\libicui18n.a;
$(_IcuLibdir)\libicudata.a;
$(_IcuLibdir)\*.dat" />
</ItemGroup>
<Copy Condition="'$(_MonoIncludeIcuFiles)' == 'true'"
SourceFiles="@(_IcuArtifacts)"
DestinationFolder="$(RuntimeBinDir)"
SkipUnchangedFiles="true" />
<Copy SourceFiles="@(_MonoRuntimeArtifacts)"
DestinationFiles="%(_MonoRuntimeArtifacts.Destination)"
Condition="'$(MonoGenerateOffsetsOSGroups)' == ''"
SkipUnchangedFiles="true" />
<Copy SourceFiles="@(_MonoICorDebugArtifacts)"
DestinationFiles="%(_MonoICorDebugArtifacts.Destination)"
SkipUnchangedFiles="true"
Condition="Exists(@(_MonoICorDebugArtifacts))" />
<Copy SourceFiles="@(_MonoIncludeArtifacts)"
DestinationFiles="@(_MonoIncludeArtifacts->'$(RuntimeBinDir)include\%(RecursiveDir)%(Filename)%(Extension)')"
SkipUnchangedFiles="true"
Condition="'$(MonoGenerateOffsetsOSGroups)' == '' and ('$(TargetsMacCatalyst)' == 'true' or '$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true' or '$(TargetsAndroid)' == 'true' or '$(TargetsBrowser)' == 'true')"/>
<Copy SourceFiles="@(_MonoRuntimeBuildArtifacts)"
DestinationFiles="@(_MonoRuntimeBuildArtifacts->'$(RuntimeBinDir)build\%(RecursiveDir)%(Filename)%(Extension)')"
SkipUnchangedFiles="true"
Condition="'$(BuildMonoAOTCrossCompilerOnly)' != 'true'" />
<Exec Condition="'$(BuildMonoAOTCrossCompilerOnly)' != 'true' and '$(MonoGenerateOffsetsOSGroups)' == '' and ('$(TargetsOSX)' == 'true' or '$(TargetsMacCatalyst)' == 'true' or '$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true')" Command="install_name_tool -id @rpath/$(MonoFileName) $(RuntimeBinDir)$(MonoFileName)" />
</Target>
<Target Name="CleanMono">
<RemoveDir Directories="$(MonoObjDir)" />
</Target>
</Project>
| <Project Sdk="Microsoft.Build.Traversal" DefaultTargets="Build">
<!--
Build properties:
- MonoForceInterpreter - enable the interpreter
- MonoEnableLLVM - enable LLVM
- MonoLLVMDir - [optional] the directory where LLVM is located
- MonoAOTEnableLLVM - enable LLVM for an AOT-only Mono
- MonoAOTLLVMDir - [optional] the directory where LLVM is located, for an AOT-only Mono
- MonoVerboseBuild - enable verbose build
- MonoThreadSuspend - coop,hybrid,preemptive - default thread suspend mode
-->
<PropertyGroup>
<MonoCrossDir Condition="'$(MonoCrossDir)' == '' and '$(ROOTFS_DIR)' != ''">$(ROOTFS_DIR)</MonoCrossDir>
<MonoForceInterpreter Condition="'$(MonoForceInterpreter)' == ''">false</MonoForceInterpreter>
<ScriptExt Condition="'$(HostOS)' == 'windows'">.cmd</ScriptExt>
<ScriptExt Condition="'$(HostOS)' != 'windows'">.sh</ScriptExt>
<EscapedQuoteW Condition="'$(HostOS)' == 'windows'">\"</EscapedQuoteW>
<PythonCmd Condition="'$(HostOS)' != 'windows'">python3</PythonCmd>
<PythonCmd Condition="'$(HostOS)' == 'windows'">python</PythonCmd>
<CoreClrLibName>coreclr</CoreClrLibName>
<CoreClrFileName>$(LibPrefix)$(CoreClrLibName)$(LibSuffix)</CoreClrFileName>
<MonoLibName>monosgen-2.0</MonoLibName>
<MonoSharedLibName Condition="'$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true' or '$(TargetsMacCatalyst)' == 'true' or '$(TargetsAndroid)' == 'true' or '$(TargetsBrowser)' == 'true'">$(MonoLibName)</MonoSharedLibName>
<MonoSharedLibName Condition="'$(MonoSharedLibName)' == ''">$(CoreClrLibName)</MonoSharedLibName>
<MonoSharedLibFileName>$(LibPrefix)$(MonoSharedLibName)$(LibSuffix)</MonoSharedLibFileName>
<MonoStaticLibFileName>$(LibPrefix)$(MonoLibName)$(StaticLibSuffix)</MonoStaticLibFileName>
<MonoFileName Condition="'$(TargetsBrowser)' == 'true'">$(MonoStaticLibFileName)</MonoFileName>
<MonoFileName Condition="'$(MonoFileName)' == ''">$(MonoSharedLibFileName)</MonoFileName>
<MonoAotCrossFileName>mono-aot-cross$(ExeSuffix)</MonoAotCrossFileName>
<MonoAotCrossPdbFileName>mono-aot-cross.pdb</MonoAotCrossPdbFileName>
<CoreClrTestConfig Condition="'$(CoreClrTestConfig)' == ''">$(Configuration)</CoreClrTestConfig>
<LibrariesTestConfig Condition="'$(LibrariesTestConfig)' == ''">$(Configuration)</LibrariesTestConfig>
<CoreClrTestCoreRoot>$([MSBuild]::NormalizeDirectory('$(ArtifactsDir)', 'tests', 'coreclr', '$(TargetOS).$(Platform).$(CoreClrTestConfig)', 'Tests', 'Core_Root'))</CoreClrTestCoreRoot>
<LibrariesTesthostRoot>$([MSBuild]::NormalizeDirectory('$(ArtifactsDir)', 'bin', 'testhost', '$(NetCoreAppCurrent)-$(TargetOS)-$(LibrariesTestConfig)-$(Platform)'))</LibrariesTesthostRoot>
<LibrariesTesthostRuntimeDir>$([MSBuild]::NormalizeDirectory('$(LibrariesTesthostRoot)', 'shared', 'Microsoft.NETCore.App', '$(ProductVersion)'))</LibrariesTesthostRuntimeDir>
<BuildMonoAOTCrossCompiler Condition="'$(TargetsiOS)' == 'true'">true</BuildMonoAOTCrossCompiler>
<BuildMonoAOTCrossCompiler Condition="'$(TargetstvOS)' == 'true'">true</BuildMonoAOTCrossCompiler>
<BuildMonoAOTCrossCompiler Condition="'$(TargetsMacCatalyst)' == 'true'">true</BuildMonoAOTCrossCompiler>
<BuildMonoAOTCrossCompiler Condition="'$(TargetsBrowser)' == 'true'">true</BuildMonoAOTCrossCompiler>
<BuildMonoAOTCrossCompiler Condition="'$(TargetsAndroid)' == 'true'">true</BuildMonoAOTCrossCompiler>
<MonoObjCrossDir>$([MSBuild]::NormalizeDirectory('$(MonoObjDir)', 'cross'))</MonoObjCrossDir>
<CrossConfigH Condition="'$(BuildMonoAOTCrossCompiler)' == 'true'">$([MSBuild]::NormalizePath('$(MonoObjCrossDir)', 'config.h'))</CrossConfigH>
<MonoBundleLLVMOptimizer Condition="'$(MonoEnableLLVM)' == 'true'">true</MonoBundleLLVMOptimizer>
<MonoAOTBundleLLVMOptimizer Condition="'$(MonoAOTEnableLLVM)' == 'true' and '$(TargetsBrowser)' != 'true'">true</MonoAOTBundleLLVMOptimizer>
<MonoCCompiler>$(Compiler)</MonoCCompiler>
<MonoCCompiler Condition="'$(MonoCCompiler)' == ''">clang</MonoCCompiler>
<_CompilerTargetArch Condition="'$(RealTargetArchitecture)' == ''">$(Platform)</_CompilerTargetArch>
<_CompilerTargetArch Condition="'$(RealTargetArchitecture)' != ''">$(RealTargetArchitecture)</_CompilerTargetArch>
<RepositoryEngineeringCommonDir>$([MSBuild]::NormalizeDirectory('$(RepositoryEngineeringDir)', 'common'))</RepositoryEngineeringCommonDir>
<CrossToolchainFile>$([MSBuild]::NormalizePath('$(RepositoryEngineeringCommonDir)', 'cross', 'toolchain.cmake'))</CrossToolchainFile>
</PropertyGroup>
<!-- default thread suspend for specific platforms -->
<PropertyGroup>
<MonoThreadSuspend Condition="'$(TargetswatchOS)' == 'true' and '$(MonoThreadSuspend)' == ''">coop</MonoThreadSuspend>
<!-- wasm isn't really preemptive, but we don't want safepoints -->
<MonoThreadSuspend Condition="'$(TargetsBrowser)' == 'true' and '$(MonoThreadSuspend)' == ''">preemptive</MonoThreadSuspend>
<!-- all other platforms -->
<MonoThreadSuspend Condition="'$(MonoThreadSuspend)' == ''">hybrid</MonoThreadSuspend>
</PropertyGroup>
<!-- How to build runtime components? Static or dynamic. -->
<PropertyGroup>
<MonoComponentsStatic Condition="'$(TargetsBrowser)' == 'true' and '$(MonoComponentsStatic)' == ''">true</MonoComponentsStatic>
<MonoComponentsStatic Condition="'$(TargetsiOS)' == 'true' and '$(TargetsiOSSimulator)' != 'true' and '$(MonoComponentsStatic)' == ''">true</MonoComponentsStatic>
<MonoComponentsStatic Condition="'$(TargetstvOS)' == 'true' and '$(TargetstvOSSimulator)' != 'true' and '$(MonoComponentsStatic)' == ''">true</MonoComponentsStatic>
<MonoComponentsStatic Condition="'$(TargetsiOS)' == 'true' and '$(TargetsiOSSimulator)' == 'true' and '$(MonoComponentsStatic)' == ''">false</MonoComponentsStatic>
<MonoComponentsStatic Condition="'$(TargetstvOS)' == 'true' and '$(TargetstvOSSimulator)' == 'true' and '$(MonoComponentsStatic)' == ''">false</MonoComponentsStatic>
<MonoComponentsStatic Condition="'$(TargetsAndroid)' == 'true' and '$(MonoComponentsStatic)' == ''">false</MonoComponentsStatic>
<!-- by default, do dynamic components -->
<!-- TODO: Change to dynamic as default once package/deploy is fixed for all targets -->
<MonoComponentsStatic Condition="'$(MonoComponentsStatic)' == ''">true</MonoComponentsStatic>
</PropertyGroup>
<ItemGroup Condition="'$(TargetsBrowser)' == 'true' or '$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true' or '$(TargetsMacCatalyst)' == 'true'">
<PackageReference Include="Microsoft.NETCore.Runtime.ICU.Transport" PrivateAssets="all" Version="$(MicrosoftNETCoreRuntimeICUTransportVersion)" GeneratePathProperty="true" />
</ItemGroup>
<!-- CI specific build options -->
<ItemGroup Condition="'$(ContinuousIntegrationBuild)' == 'true' and ('$(TargetsOSX)' == 'true' or '$(TargetsMacCatalyst)' == 'true' or '$(TargetsBrowser)' == 'true' or '$(Targetsillumos)' == 'true')">
<_MonoCMakeArgs Include="-DENABLE_WERROR=1"/>
</ItemGroup>
<!-- Sanity checks -->
<Target Name="CheckEnv">
<Error Condition="'$(TargetstvOSSimulator)' != 'true' and '$(TargetstvOS)' == 'true' and '$(Platform)' != 'arm64'" Text="Error: Invalid platform for $(TargetOS): $(Platform)." />
<Error Condition="'$(TargetstvOSSimulator)' == 'true' and '$(TargetstvOS)' == 'true' and '$(Platform)' != 'x64' and '$(Platform)' != 'arm64'" Text="Error: Invalid platform for $(TargetOS): $(Platform)." />
<Error Condition="'$(TargetsiOSSimulator)' != 'true' and '$(TargetsiOS)' == 'true' and '$(Platform)' != 'arm64' and '$(Platform)' != 'arm'" Text="Error: Invalid platform for $(TargetOS): $(Platform)." />
<Error Condition="'$(TargetsiOSSimulator)' == 'true' and '$(TargetsiOS)' == 'true' and '$(Platform)' != 'x64' and '$(Platform)' != 'x86' and '$(Platform)' != 'arm64'" Text="Error: Invalid platform for $(TargetOS): $(Platform)." />
<Error Condition="('$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true') and !$([MSBuild]::IsOSPlatform('OSX'))" Text="Error: $(TargetOS) can only be built on macOS." />
<Error Condition="'$(TargetsAndroid)' == 'true' and '$(Platform)' != 'x64' and '$(Platform)' != 'x86' and '$(Platform)' != 'arm64' and '$(Platform)' != 'arm'" Text="Error: Invalid platform for $(TargetOS): $(Platform)." />
<Error Condition="'$(TargetsBrowser)' == 'true' and '$(EMSDK_PATH)' == '' and '$(SkipMonoCrossJitConfigure)' != 'true'" Text="The EMSDK_PATH environment variable should be set pointing to the emscripten SDK root dir."/>
<Error Condition="'$(TargetsAndroid)' == 'true' and '$(ANDROID_NDK_ROOT)' == '' and '$(SkipMonoCrossJitConfigure)' != 'true'" Text="Error: You need to set the ANDROID_NDK_ROOT environment variable pointing to the Android NDK root." />
<Error Condition="'$(HostOS)' == 'windows' and ('$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true')" Text="Error: Mono runtime for $(TargetOS) can't be built on Windows." />
<!-- check if Ninja is available and default to it on Unix platforms -->
<Exec Condition="'$(HostOS)' != 'windows' and '$(Ninja)' == ''" Command="which ninja" IgnoreExitCode="true" IgnoreStandardErrorWarningFormat="true" StandardOutputImportance="Low" >
<Output TaskParameter="ExitCode" PropertyName="_MonoFindNinjaExitCode"/>
</Exec>
<PropertyGroup>
<_MonoUseNinja Condition="'$(Ninja)' == 'true' or '$(_MonoFindNinjaExitCode)' == '0' or ('$(HostOS)' == 'windows' and '$(Ninja)' == '')">true</_MonoUseNinja>
</PropertyGroup>
<Exec Condition="'$(TargetArchitecture)' == 'wasm' and '$(HostOS)' == 'windows'" Command="call "$(RepositoryEngineeringDir)native\init-vs-env.cmd" && cmake --version" IgnoreExitCode="true" IgnoreStandardErrorWarningFormat="true" StandardOutputImportance="Low" >
<Output TaskParameter="ExitCode" PropertyName="_MonoFindCmakeExitCode"/>
</Exec>
<Error Condition="'$(TargetArchitecture)' == 'wasm' and '$(HostOS)' == 'windows' and '$(_MonoFindCmakeExitCode)' != '0' and '$(BuildMonoAOTCrossCompilerOnly)' != 'true'" Text="cmake tool is required to build wasm on windows" />
<Exec Condition="'$(TargetArchitecture)' == 'wasm' and '$(HostOS)' == 'windows'" Command="call "$(RepositoryEngineeringDir)native\init-vs-env.cmd" && ninja --version" IgnoreExitCode="true" IgnoreStandardErrorWarningFormat="true" StandardOutputImportance="Low" >
<Output TaskParameter="ExitCode" PropertyName="_MonoFindNinjaExitCode"/>
</Exec>
<Error Condition="'$(TargetArchitecture)' == 'wasm' and '$(HostOS)' == 'windows' and '$(_MonoFindNinjaExitCode)' != '0' and '$(BuildMonoAOTCrossCompilerOnly)' != 'true'" Text="ninja tool is required to build wasm on windows" />
</Target>
<Target Name="GetXcodeDir" Condition="$([MSBuild]::IsOSPlatform('OSX')) and '$(XcodeDir)' == ''">
<Exec Command="xcode-select -p" IgnoreExitCode="true" IgnoreStandardErrorWarningFormat="true" StandardOutputImportance="Low" ConsoleToMsBuild="true">
<Output TaskParameter="ExitCode" PropertyName="_MonoGetXcodeExitCode"/>
<Output TaskParameter="ConsoleOutput" PropertyName="_MonoGetXcodeConsoleOutput"/>
</Exec>
<PropertyGroup>
<XcodeDir Condition="'$(_MonoGetXcodeExitCode)' == '0'">$(_MonoGetXcodeConsoleOutput)</XcodeDir>
<XcodeDir Condition="'$(XcodeDir)' == ''">/Applications/Xcode.app/Contents/Developer</XcodeDir>
</PropertyGroup>
</Target>
<!-- Sets up emscripten if you don't have the EMSDK_PATH env variable set -->
<Target Name="ProvisionEmscripten"
Condition="'$(ShouldProvisionEmscripten)' == 'true' and '$(SkipMonoCrossJitConfigure)' != 'true'">
<ReadLinesFromFile File="$(MSBuildThisFileDirectory)\wasm\emscripten-version.txt">
<Output TaskParameter="Lines" ItemName="_VersionLines" />
</ReadLinesFromFile>
<PropertyGroup>
<EmsdkExt Condition="'$(HostOS)' != 'windows'">.sh</EmsdkExt>
<EmsdkExt Condition="'$(HostOS)' == 'windows'">.ps1</EmsdkExt>
<EMSDK_PATH>$(ProvisionEmscriptenDir)</EMSDK_PATH>
<WasmLocalPath>$([MSBuild]::NormalizeDirectory('$(MSBuildThisFileDirectory)', 'wasm'))</WasmLocalPath>
<EmsdkLocalPath>emsdk</EmsdkLocalPath>
<EmscriptenVersion>%(_VersionLines.Identity)</EmscriptenVersion>
<InstallCmd>./emsdk$(EmsdkExt) install $(EmscriptenVersion)</InstallCmd>
<ActivateCmd>./emsdk$(EmsdkExt) activate $(EmscriptenVersion)</ActivateCmd>
<InstallCmd Condition="'$(HostOS)' == 'windows'">powershell -NonInteractive -command "& $(InstallCmd); Exit $LastExitCode "</InstallCmd>
<ActivateCmd Condition="'$(HostOS)' == 'windows'">powershell -NonInteractive -command "& $(ActivateCmd); Exit $LastExitCode "</ActivateCmd>
</PropertyGroup>
<RemoveDir Directories="$(EMSDK_PATH)" />
<Exec Command="git clone https://github.com/emscripten-core/emsdk.git emsdk"
WorkingDirectory="$(WasmLocalPath)"
IgnoreStandardErrorWarningFormat="true" />
<Exec Command="git checkout $(EmscriptenVersion) && $(InstallCmd) && $(ActivateCmd)"
WorkingDirectory="$(EMSDK_PATH)"
IgnoreStandardErrorWarningFormat="true" />
</Target>
<!-- Copy Mono runtime bits to $(Destination) -->
<Target Name="CopyMonoRuntimeFilesFromArtifactsToDestination">
<ItemGroup>
<_MonoRuntimeArtifacts Include="$(RuntimeBinDir)\*.*" />
</ItemGroup>
<Error Condition="'$(Destination)' == ''" Text="Destination should not be empty" />
<Error Condition="@(_MonoRuntimeArtifacts->Count()) < 2" Text="Mono artifacts were not found at $(RuntimeBinDir)" />
<Message Text="Copying Mono Runtime artifacts from '$(RuntimeBinDir)' to '$(Destination)'.'" Importance="High" />
<Copy SourceFiles="@(_MonoRuntimeArtifacts)"
DestinationFolder="$(Destination)"
OverwriteReadOnlyFiles="true"
SkipUnchangedFiles="true" />
</Target>
<!-- Copy Mono runtime bits to the coreclr's Core_Root in order to run runtime tests -->
<Target Name="PatchCoreClrCoreRoot">
<MSBuild Projects="$(MSBuildProjectFullPath)"
Properties="Destination=$(CoreClrTestCoreRoot)"
Targets="CopyMonoRuntimeFilesFromArtifactsToDestination" />
</Target>
<!-- Copy Coreclr runtime bits back to Core_Root -->
<Target Name="RestoreCoreClrCoreRoot">
<Copy SourceFiles="$(CoreCLRArtifactsPath)\System.Private.CoreLib.dll"
DestinationFiles="$(CoreClrTestCoreRoot)\System.Private.CoreLib.dll" />
<Copy SourceFiles="$(CoreCLRArtifactsPath)\$(CoreClrFileName)"
DestinationFiles="$(CoreClrTestCoreRoot)\$(CoreClrFileName)" />
</Target>
<!-- Run CoreCLR runtime test using testhost -->
<Target Name="RunCoreClrTest" DependsOnTargets="PatchCoreClrCoreRoot">
<Error Condition="$(CoreClrTest) == ''" Text="'CoreClrTest' is not set. E.g. set it to `$(ArtifactsDir)tests/coreclr/$(TargetOS).$(Platform).$(CoreClrTestConfig)/JIT/opt/InstructionCombining/DivToMul/DivToMul$(ScriptExt)` in order to run DivToMul test." />
<Exec Command="$(CoreClrTest) -coreroot="$(CoreClrTestCoreRoot)""/>
</Target>
<!-- Run coreclr tests using runtest.py -->
<Target Name="RunCoreClrTests" DependsOnTargets="PatchCoreClrCoreRoot">
<Exec Condition="'$(HostOS)' == 'windows'" Command="$(MonoProjectRoot)..\tests\run.cmd $(CoreClrTestConfig)" ContinueOnError="ErrorAndContinue" />
<Exec Condition="'$(HostOS)' != 'windows'" Command="$(MonoProjectRoot)../tests/run.sh $(CoreClrTestConfig)" ContinueOnError="ErrorAndContinue" />
</Target>
<!-- Mono runtime build -->
<Target Name="BuildMonoRuntime">
<ItemGroup>
<_MonoCMakeArgs Condition="'$(_MonoUseNinja)' == 'true'" Include="-G Ninja"/>
<_MonoCMakeArgs Include="-DCMAKE_INSTALL_PREFIX="$(MonoObjDir)out""/>
<_MonoCMakeArgs Include="-DCMAKE_INSTALL_LIBDIR=lib"/>
<_MonoCMakeArgs Include="-DCMAKE_BUILD_TYPE=$(Configuration)"/>
<_MonoCMakeArgs Condition="'$(CMakeArgs)' != ''" Include="$(CMakeArgs)"/>
<_MonoCMakeArgs Condition="'$(MonoEnableLLVM)' == 'true'" Include="-DLLVM_PREFIX=$(MonoLLVMDir.TrimEnd('\/'))" />
<_MonoCMakeArgs Condition="'$(BuildDarwinFrameworks)' == 'true'" Include="-DBUILD_DARWIN_FRAMEWORKS=1" />
<_MonoCMakeArgs Include="-DGC_SUSPEND=$(MonoThreadSuspend)" />
<_MonoCMakeArgs Include="-DMONO_LIB_NAME=$(MonoLibName)" />
<_MonoCMakeArgs Include="-DMONO_SHARED_LIB_NAME=$(MonoSharedLibName)" />
</ItemGroup>
<!-- We build LLVM bits for x64 Linux without C++11 ABI (CentOS 7 has libstdc++ < 5.1) -->
<ItemGroup Condition="'$(TargetsLinux)' == 'true' and '$(MonoEnableLLVM)' == 'true' and '$(MonoLLVMUseCxx11Abi)' != 'true'">
<_MonoCXXFLAGS Include="-D_GLIBCXX_USE_CXX11_ABI=0" />
</ItemGroup>
<ItemGroup Condition="'$(TargetsLinux)' == 'true' and '$(MonoAOTEnableLLVM)' == 'true' and '$(MonoAOTLLVMUseCxx11Abi)' != 'true'">
<_MonoAOTCXXFLAGS Include="-D_GLIBCXX_USE_CXX11_ABI=0" />
</ItemGroup>
<!-- We build LLVM bits for ARM64 Linux with C++11 ABI (Ubuntu 16.04 has libstdc++ > 5.1)-->
<ItemGroup Condition="'$(TargetsLinux)' == 'true' and '$(MonoEnableLLVM)' == 'true' and '$(MonoLLVMUseCxx11Abi)' == 'true'">
<_MonoCXXFLAGS Include="-D_GLIBCXX_USE_CXX11_ABI=1" />
</ItemGroup>
<ItemGroup Condition="'$(TargetsLinux)' == 'true' and '$(MonoAOTEnableLLVM)' == 'true' and '$(MonoAOTLLVMUseCxx11Abi)' == 'true'">
<_MonoAOTCXXFLAGS Include="-D_GLIBCXX_USE_CXX11_ABI=1" />
</ItemGroup>
<!-- ARM Linux cross build options on CI -->
<ItemGroup Condition="'$(TargetsAndroid)' != 'true' and '$(MonoCrossDir)' != '' and ('$(TargetArchitecture)' == 'arm' or '$(TargetArchitecture)' == 'armv6' or '$(TargetArchitecture)' == 'arm64')">
<_MonoCMakeArgs Include="-DCMAKE_TOOLCHAIN_FILE=$(CrossToolchainFile)" />
<_MonoCMakeArgs Condition="'$(TargetOS)' == 'Linux' and ('$(TargetArchitecture)' == 'arm' or '$(TargetArchitecture)' == 'armv6')" Include="-DMONO_ARM_FPU=vfp-hard" />
<_MonoBuildEnv Condition="'$(Platform)' == 'arm64'" Include="TARGET_BUILD_ARCH=arm64" />
<_MonoBuildEnv Condition="'$(Platform)' == 'arm'" Include="TARGET_BUILD_ARCH=arm" />
<_MonoBuildEnv Condition="'$(Platform)' == 'armv6'" Include="TARGET_BUILD_ARCH=armv6" />
<_MonoBuildEnv Condition="'$(Platform)' == 'arm64'" Include="PKG_CONFIG_PATH=$(MonoCrossDir)/usr/lib/aarch64-linux-gnu/pkgconfig" />
<_MonoBuildEnv Condition="'$(Platform)' == 'arm'" Include="PKG_CONFIG_PATH=$(MonoCrossDir)/usr/lib/arm-linux-gnueabihf/pkgconfig" />
<_MonoBuildEnv Condition="'$(Platform)' == 'armv6'" Include="PKG_CONFIG_PATH=$(MonoCrossDir)/usr/lib/arm-linux-gnueabihf/pkgconfig" />
<_MonoCFLAGS Condition="'$(TargetArchitecture)' == 'armv6'" Include="-march=armv6zk" />
<_MonoCFLAGS Condition="'$(TargetArchitecture)' == 'armv6'" Include="-mcpu=arm1176jzf-s" />
<_MonoCFLAGS Condition="'$(TargetArchitecture)' == 'armv6'" Include="-mfpu=vfp" />
<_MonoCFLAGS Condition="'$(TargetArchitecture)' == 'armv6'" Include="-mfloat-abi=hard" />
<_MonoCXXFLAGS Condition="'$(TargetArchitecture)' == 'armv6'" Include="-march=armv6zk" />
<_MonoCXXFLAGS Condition="'$(TargetArchitecture)' == 'armv6'" Include="-mcpu=arm1176jzf-s" />
<_MonoCXXFLAGS Condition="'$(TargetArchitecture)' == 'armv6'" Include="-mfpu=vfp" />
<_MonoCXXFLAGS Condition="'$(TargetArchitecture)' == 'armv6'" Include="-mfloat-abi=hard" />
</ItemGroup>
<!-- x64 illumos cross build options -->
<ItemGroup Condition="'$(Targetsillumos)' == 'true' and '$(MonoCrossDir)' != ''">
<_MonoCMakeArgs Include="-DCMAKE_TOOLCHAIN_FILE=$(CrossToolchainFile)" />
<_MonoBuildEnv Include="TARGET_BUILD_ARCH=x64" />
<_MonoBuildEnv Include="PKG_CONFIG_PATH=$(MonoCrossDir)/lib/pkgconfig" />
</ItemGroup>
<!-- s390x Linux cross build options -->
<ItemGroup Condition="'$(MonoCrossDir)' != '' and '$(TargetArchitecture)' == 's390x'">
<_MonoCMakeArgs Include="-DCMAKE_TOOLCHAIN_FILE=$(CrossToolchainFile)" />
<_MonoBuildEnv Include="TARGET_BUILD_ARCH=s390x" />
<_MonoBuildEnv Include="PKG_CONFIG_PATH=$(MonoCrossDir)/usr/lib/s390x-linux-gnu/pkgconfig" />
</ItemGroup>
<!-- x64 FreeBSD cross build options -->
<ItemGroup Condition="'$(TargetsFreeBSD)' == 'true' and '$(MonoCrossDir)' != ''">
<_MonoCMakeArgs Include="-DCMAKE_TOOLCHAIN_FILE=$(CrossToolchainFile)" />
<_MonoBuildEnv Include="TARGET_BUILD_ARCH=x64" />
</ItemGroup>
<!-- Windows specific options -->
<ItemGroup Condition="'$(TargetsWindows)' == 'true'">
<_MonoCPPFLAGS Include="-DWIN32" />
<_MonoCPPFLAGS Include="-DWIN32_LEAN_AND_MEAN" />
<!--<_MonoCPPFLAGS Include="-D_WINDOWS" />--> <!-- set in monow.vcxproj, not sure we really need it -->
<_MonoCPPFLAGS Condition="'$(Platform)' == 'x64' or '$(Platform)' == 'arm64'" Include="-DWIN64" />
<_MonoCPPFLAGS Condition="'$(Configuration)' == 'Release'" Include="-DNDEBUG" />
<_MonoCPPFLAGS Condition="'$(Configuration)' == 'Debug'" Include="-D_DEBUG" />
<!-- <_MonoCPPFLAGS Include="-D__default_codegen__" /> --> <!-- doesn't seem to be used -->
<_MonoCPPFLAGS Include="-D_CRT_SECURE_NO_WARNINGS" />
<_MonoCPPFLAGS Include="-D_CRT_NONSTDC_NO_DEPRECATE" />
<!--<_MonoCPPFLAGS Include="-DGC_NOT_DLL" />--> <!-- only used for Boehm -->
<_MonoCPPFLAGS Include="-DWIN32_THREADS" />
<_MonoCPPFLAGS Include="-DWINVER=0x0601" />
<_MonoCPPFLAGS Include="-D_WIN32_WINNT=0x0601" />
<_MonoCPPFLAGS Include="-D_WIN32_IE=0x0501" />
<_MonoCPPFLAGS Include="-D_UNICODE" />
<_MonoCPPFLAGS Include="-DUNICODE" />
<_MonoCPPFLAGS Include="-DFD_SETSIZE=1024" />
<_MonoCPPFLAGS Include="-DNVALGRIND" />
<!-- Select generator platform for VS generator -->
<_MonoCMakeArgs Condition="'$(_MonoUseNinja)' != 'true' and '$(Platform)' == 'x64'" Include="-A x64" />
<_MonoCMakeArgs Condition="'$(_MonoUseNinja)' != 'true' and '$(Platform)' == 'x86'" Include="-A Win32" />
<_MonoCMakeArgs Condition="'$(_MonoUseNinja)' != 'true' and '$(Platform)' == 'arm'" Include="-A ARM" />
<_MonoCMakeArgs Condition="'$(_MonoUseNinja)' != 'true' and '$(Platform)' == 'arm64'" Include="-A ARM64" />
</ItemGroup>
<!-- OSX specific options -->
<ItemGroup Condition="'$(TargetsOSX)' == 'true'">
<_MonoCMakeArgs Include="-DCMAKE_OSX_DEPLOYMENT_TARGET=$(macOSVersionMin)" />
<_MonoCMakeArgs Include="-DENABLE_ICALL_EXPORT=1"/>
<_MonoCFLAGS Condition="'$(TargetArchitecture)' == 'arm64'" Include="-arch arm64" />
<_MonoCXXFLAGS Condition="'$(TargetArchitecture)' == 'arm64'" Include="-arch arm64" />
<!-- Force running as arm64 even when invoked from an x86 msbuild process -->
<_MonoBuildEnv Condition="'$(BuildArchitecture)' == 'arm64'" Include="arch -arch arm64" />
</ItemGroup>
<!-- Mac Catalyst specific options -->
<ItemGroup Condition="'$(TargetsMacCatalyst)' == 'true'">
<_MonoCMakeArgs Include="-DCMAKE_SYSTEM_VARIANT=MacCatalyst" />
<!-- https://gitlab.kitware.com/cmake/cmake/-/issues/20132 -->
<_MonoCPPFLAGS Include="-Wno-overriding-t-option" />
<_MonoCFlags Condition="'$(TargetArchitecture)' == 'arm64'" Include="-target arm64-apple-ios14.2-macabi" />
<_MonoCFlags Condition="'$(TargetArchitecture)' == 'x64'" Include="-target x86_64-apple-ios13.5-macabi" />
<_MonoCFLAGS Condition="'$(TargetArchitecture)' == 'arm64'" Include="-arch arm64" />
<_MonoCXXFlags Condition="'$(TargetArchitecture)' == 'arm64'" Include="-target arm64-apple-ios14.2-macabi" />
<_MonoCXXFlags Condition="'$(TargetArchitecture)' == 'x64'" Include="-target x86_64-apple-ios13.5-macabi" />
<_MonoCXXFLAGS Condition="'$(TargetArchitecture)' == 'arm64'" Include="-arch arm64" />
<!-- Force running as arm64 even when invoked from an x86 msbuild process -->
<_MonoBuildEnv Condition="'$(BuildArchitecture)' == 'arm64'" Include="arch -arch arm64" />
</ItemGroup>
<!-- WASM specific options -->
<PropertyGroup Condition="'$(TargetsBrowser)' == 'true'">
<_MonoMinimal Condition="'$(Configuration)' == 'Release'">,debugger_agent,log_dest</_MonoMinimal>
<_MonoMinimal Condition="'$(Configuration)' == 'Release' and '$(MonoEnableAssertMessages)' != 'true'">$(_MonoMinimal),assert_messages</_MonoMinimal>
</PropertyGroup>
<ItemGroup Condition="'$(TargetsBrowser)' == 'true'">
<_MonoCMakeArgs Include="-DENABLE_MINIMAL=jit,sgen_major_marksweep_conc,sgen_split_nursery,sgen_gc_bridge,sgen_toggleref,sgen_debug_helpers,sgen_binary_protocol,logging,shared_perfcounters,interpreter,threads,qcalls$(_MonoMinimal)"/>
<_MonoCMakeArgs Include="-DENABLE_INTERP_LIB=1"/>
<_MonoCMakeArgs Include="-DDISABLE_ICALL_TABLES=1"/>
<_MonoCMakeArgs Include="-DENABLE_ICALL_EXPORT=1"/>
<_MonoCMakeArgs Include="-DENABLE_LAZY_GC_THREAD_CREATION=1"/>
<_MonoCMakeArgs Include="-DENABLE_LLVM_RUNTIME=1"/>
<_MonoCFLAGS Include="-fexceptions"/>
<_MonoCXXFLAGS Include="-fexceptions"/>
<_MonoCFLAGS Include="$(EscapedQuoteW)-I$([MSBuild]::NormalizePath('$(PkgMicrosoft_NETCore_Runtime_ICU_Transport)', 'runtimes', 'browser-wasm', 'native', 'include'))$(EscapedQuoteW)"/>
</ItemGroup>
<!-- iOS/tvOS specific options -->
<PropertyGroup Condition="'$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true'">
<_MonoCCOption>CC="$(XcodeDir)/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"</_MonoCCOption>
<_MonoCXXOption>CXX="$(XcodeDir)/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++"</_MonoCXXOption>
<_MonoRunInitCompiler>false</_MonoRunInitCompiler>
<_MonoCMakeSysroot Condition="'$(TargetsiOS)' == 'true' and '$(TargetsiOSSimulator)' != 'true'">$(XcodeDir)/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS$(iOSVersion).sdk</_MonoCMakeSysroot>
<_MonoCMakeSysroot Condition="'$(TargetsiOS)' == 'true' and '$(TargetsiOSSimulator)' == 'true'">$(XcodeDir)/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator$(iOSVersion).sdk</_MonoCMakeSysroot>
<_MonoCMakeSysroot Condition="'$(TargetstvOS)' == 'true' and '$(TargetstvOSSimulator)' != 'true'">$(XcodeDir)/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS$(tvOSVersion).sdk</_MonoCMakeSysroot>
<_MonoCMakeSysroot Condition="'$(TargetstvOS)' == 'true' and '$(TargetstvOSSimulator)' == 'true'">$(XcodeDir)/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator$(tvOSVersion).sdk</_MonoCMakeSysroot>
<_MonoCMakeSystemName Condition="'$(TargetsiOS)' == 'true'">iOS</_MonoCMakeSystemName>
<_MonoCMakeSystemName Condition="'$(TargetstvOS)' == 'true'">tvOS</_MonoCMakeSystemName>
<_MonoCMakeVersionMin Condition="'$(TargetsiOS)' == 'true'">$(iOSVersionMin)</_MonoCMakeVersionMin>
<_MonoCMakeVersionMin Condition="'$(TargetstvOS)' == 'true'">$(tvOSVersionMin)</_MonoCMakeVersionMin>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true' or '$(TargetsMacCatalyst)' == 'true'">
<_IcuLibdir>$(PkgMicrosoft_NETCore_Runtime_ICU_Transport)/runtimes/$(TargetOS)-$(TargetArchitecture)/native/lib</_IcuLibdir>
</PropertyGroup>
<ItemGroup Condition="('$(TargetsOSX)' == 'true' or '$(TargetsMacCatalyst)' == 'true') and '$(Platform)' == 'arm64'">
<_MonoCMakeArgs Include="-DCMAKE_OSX_ARCHITECTURES=arm64"/>
</ItemGroup>
<ItemGroup Condition="'$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true'">
<_MonoCMakeArgs Include="-DCMAKE_SYSTEM_NAME=$(_MonoCMakeSystemName)"/>
<_MonoCMakeArgs Include="-DCMAKE_OSX_DEPLOYMENT_TARGET=$(_MonoCMakeVersionMin)" />
<_MonoCMakeArgs Include="-DCMAKE_OSX_SYSROOT='$(_MonoCMakeSysroot)'" />
<_MonoCMakeArgs Condition="'$(Platform)' == 'x64'" Include="-DCMAKE_OSX_ARCHITECTURES=x86_64"/>
<_MonoCMakeArgs Condition="'$(Platform)' == 'x86'" Include="-DCMAKE_OSX_ARCHITECTURES=i386"/>
<_MonoCMakeArgs Condition="'$(Platform)' == 'arm64'" Include="-DCMAKE_OSX_ARCHITECTURES=arm64"/>
<_MonoCMakeArgs Condition="'$(Platform)' == 'arm'" Include=""-DCMAKE_OSX_ARCHITECTURES=armv7%3Barmv7s""/>
<_MonoCFLAGS Include="-Wl,-application_extension" />
<_MonoCXXFLAGS Include="-Wl,-application_extension" />
</ItemGroup>
<ItemGroup Condition="'$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true' or '$(TargetsMacCatalyst)' == 'true'">
<_MonoCMakeArgs Include="-DICU_LIBDIR=$(_IcuLibdir)"/>
<_MonoCMakeArgs Include="-DENABLE_ICALL_EXPORT=1"/>
<_MonoCFLAGS Include="-I$(PkgMicrosoft_NETCore_Runtime_ICU_Transport)/runtimes/$(TargetOS)-$(TargetArchitecture)/native/include" />
</ItemGroup>
<!-- iOS/tvOS simulator specific options -->
<ItemGroup Condition="('$(TargetsiOS)' == 'true' and '$(TargetsiOSSimulator)' == 'true') or ('$(TargetstvOS)' == 'true' and '$(TargetstvOSSimulator)' == 'true')">
<_MonoCMakeArgs Include="-DENABLE_MINIMAL=shared_perfcounters"/>
</ItemGroup>
<!-- iOS/tvOS device specific options -->
<ItemGroup Condition="('$(TargetsiOS)' == 'true' and '$(TargetsiOSSimulator)' != 'true') or ('$(TargetstvOS)' == 'true' and '$(TargetstvOSSimulator)' != 'true')">
<_MonoCMakeArgs Include="-DENABLE_MINIMAL=jit,logging,shared_perfcounters" />
<_MonoCMakeArgs Include="-DENABLE_VISIBILITY_HIDDEN=1"/>
<_MonoCMakeArgs Include="-DENABLE_LAZY_GC_THREAD_CREATION=1"/>
<_MonoCMakeArgs Include="-DENABLE_SIGALTSTACK=0"/>
<_MonoCMakeArgs Include="-DENABLE_ICALL_EXPORT=1"/>
<_MonoCFLAGS Include="-Werror=partial-availability" />
<_MonoCFLAGS Condition="'$(TargetstvOS)' == 'true'" Include="-fno-gnu-inline-asm" />
<_MonoCFLAGS Include="-fexceptions" />
<_MonoCPPFLAGS Include="-DSMALL_CONFIG" />
<_MonoCPPFLAGS Include="-D_XOPEN_SOURCE" />
<_MonoCPPFLAGS Include="-DHAVE_LARGE_FILE_SUPPORT=1" />
<_MonoCXXFLAGS Include="-Werror=partial-availability" />
<_MonoCXXFLAGS Condition="'$(TargetstvOS)' == 'true'" Include="-fno-gnu-inline-asm" />
<_MonoCXXFLAGS Include="-fexceptions" />
</ItemGroup>
<!-- Android specific options -->
<PropertyGroup Condition="'$(TargetsAndroid)' == 'true'">
<_MonoRunInitCompiler>false</_MonoRunInitCompiler>
</PropertyGroup>
<ItemGroup Condition="'$(TargetsAndroid)' == 'true'">
<_MonoCMakeArgs Include="-DCMAKE_TOOLCHAIN_FILE=$(ANDROID_NDK_ROOT)/build/cmake/android.toolchain.cmake"/>
<_MonoCMakeArgs Include="-DANDROID_NDK=$(ANDROID_NDK_ROOT)"/>
<_MonoCMakeArgs Include="-DANDROID_STL=none"/>
<_MonoCMakeArgs Include="-DANDROID_CPP_FEATURES="no-rtti no-exceptions""/>
<_MonoCMakeArgs Include="-DANDROID_NATIVE_API_LEVEL=$(AndroidApiVersion)"/>
<_MonoCMakeArgs Include="-DANDROID_PLATFORM=android-$(AndroidApiVersion)"/>
<_MonoCMakeArgs Condition="'$(Platform)' == 'arm64'" Include="-DANDROID_ABI=arm64-v8a" />
<_MonoCMakeArgs Condition="'$(Platform)' == 'arm'" Include="-DANDROID_ABI=armeabi-v7a" />
<_MonoCMakeArgs Condition="'$(Platform)' == 'x86'" Include="-DANDROID_ABI=x86" />
<_MonoCMakeArgs Condition="'$(Platform)' == 'x64'" Include="-DANDROID_ABI=x86_64" />
<_MonoCMakeArgs Include="-DENABLE_MINIMAL=ssa,logging" />
<_MonoCMakeArgs Include="-DENABLE_SIGALTSTACK=1"/>
<_MonoCFLAGS Condition="'$(Platform)' == 'arm'" Include="-march=armv7-a" />
<_MonoCFLAGS Condition="'$(Platform)' == 'arm'" Include="-mtune=cortex-a8" />
<_MonoCFLAGS Condition="'$(Platform)' == 'arm'" Include="-mfpu=vfp" />
<_MonoCFLAGS Condition="'$(Platform)' == 'arm'" Include="-mfloat-abi=softfp" />
<_MonoCFLAGS Condition="'$(Platform)' == 'arm64' or '$(Platform)' == 'arm'" Include="-fpic" />
<_MonoCFLAGS Include="-fstack-protector" />
<_MonoCFLAGS Condition="'$(Platform)' == 'arm64'" Include="-DANDROID64" />
<_MonoCFLAGS Condition="'$(Platform)' == 'arm64' or '$(Platform)' == 'x64'" Include="-DL_cuserid=9" />
<_MonoCFLAGS Condition="'$(Platform)' == 'arm64' or '$(Platform)' == 'arm'" Include="-D__POSIX_VISIBLE=201002" />
<_MonoCFLAGS Condition="'$(Platform)' == 'arm64' or '$(Platform)' == 'arm'" Include="-DSK_RELEASE" />
<_MonoCFLAGS Condition="'$(Platform)' == 'arm64' or '$(Platform)' == 'arm'" Include="-DNDEBUG" />
<_MonoCFLAGS Condition="'$(Platform)' == 'arm64' or '$(Platform)' == 'arm'" Include="-UDEBUG" />
<_MonoCXXFLAGS Condition="'$(Platform)' == 'arm'" Include="-march=armv7-a" />
<_MonoCXXFLAGS Condition="'$(Platform)' == 'arm'" Include="-mtune=cortex-a8" />
<_MonoCXXFLAGS Condition="'$(Platform)' == 'arm'" Include="-mfpu=vfp" />
<_MonoCXXFLAGS Condition="'$(Platform)' == 'arm'" Include="-mfloat-abi=softfp" />
<_MonoCXXFLAGS Condition="'$(Platform)' == 'arm64' or '$(Platform)' == 'arm'" Include="-fpic" />
<_MonoCXXFLAGS Include="-fstack-protector" />
<_MonoCXXFLAGS Condition="'$(Platform)' == 'arm64'" Include="-DANDROID64" />
<_MonoCXXFLAGS Condition="'$(Platform)' == 'arm64' or '$(Platform)' == 'x64'" Include="-DL_cuserid=9" />
<_MonoCXXFLAGS Condition="'$(Platform)' == 'arm64' or '$(Platform)' == 'arm'" Include="-D__POSIX_VISIBLE=201002" />
<_MonoCXXFLAGS Condition="'$(Platform)' == 'arm64' or '$(Platform)' == 'arm'" Include="-DSK_RELEASE" />
<_MonoCXXFLAGS Condition="'$(Platform)' == 'arm64' or '$(Platform)' == 'arm'" Include="-DNDEBUG" />
<_MonoCXXFLAGS Condition="'$(Platform)' == 'arm64' or '$(Platform)' == 'arm'" Include="-UDEBUG" />
</ItemGroup>
<!-- Linux options -->
<ItemGroup Condition="'$(TargetsLinux)' == true">
<_MonoCFLAGS Include="-Wl,--build-id=sha1" />
<_MonoCXXFLAGS Include="-Wl,--build-id=sha1" />
</ItemGroup>
<ItemGroup Condition="'$(RealTargetOS)' == 'Linux'">
<_MonoAOTCFLAGS Include="-Wl,--build-id=sha1" />
<_MonoAOTCXXFLAGS Include="-Wl,--build-id=sha1" />
</ItemGroup>
<!-- Devloop features -->
<ItemGroup Condition="'$(MonoMsCorDbi)' == 'true'">
<_MonoCMakeArgs Include="-DENABLE_MSCORDBI=1" />
</ItemGroup>
<ItemGroup Condition="'$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true'">
<_MonoCMakeArgs Include="-DFEATURE_PERFTRACING_PAL_TCP=1"/>
<_MonoCMakeArgs Include="-DFEATURE_PERFTRACING_DISABLE_DEFAULT_LISTEN_PORT=1"/>
<_MonoCMakeArgs Include="-DDISABLE_LINK_STATIC_COMPONENTS=1" Condition="!('$(TargetsiOSSimulator)' == 'true' or '$(TargetstvOSSimulator)' == 'true')"/>
</ItemGroup>
<ItemGroup Condition="'$(TargetsAndroid)' == 'true'">
<_MonoCMakeArgs Include="-DFEATURE_PERFTRACING_PAL_TCP=1"/>
<_MonoCMakeArgs Include="-DFEATURE_PERFTRACING_DISABLE_DEFAULT_LISTEN_PORT=1"/>
</ItemGroup>
<!-- Components -->
<ItemGroup Condition="'$(MonoComponentsStatic)' == 'true'">
<_MonoCMakeArgs Include="-DSTATIC_COMPONENTS=1" />
</ItemGroup>
<ItemGroup>
<_MonoCMakeArgs Include="-DMONO_COMPONENTS_RID=$(TargetOS)-$(TargetArchitecture)" />
</ItemGroup>
<PropertyGroup>
<_MonoCFLAGSOption>-DCMAKE_C_FLAGS="@(_MonoCPPFLAGS, ' ') @(_MonoCFLAGS, ' ')"</_MonoCFLAGSOption>
<_MonoCXXFLAGSOption>-DCMAKE_CXX_FLAGS="@(_MonoCPPFLAGS, ' ') @(_MonoCXXFLAGS, ' ')"</_MonoCXXFLAGSOption>
</PropertyGroup>
<ItemGroup>
<_MonoCMakeArgs Include="$(_MonoCFLAGSOption)"/>
<_MonoCMakeArgs Include="$(_MonoCXXFLAGSOption)"/>
</ItemGroup>
<PropertyGroup>
<EMSDK_PATH>$([MSBuild]::EnsureTrailingSlash('$(EMSDK_PATH)'))</EMSDK_PATH>
<_MonoCMakeConfigureCommand>cmake @(_MonoCMakeArgs, ' ') $(MonoCMakeExtraArgs) "$(MonoProjectRoot.TrimEnd('\/'))"</_MonoCMakeConfigureCommand>
<_MonoCMakeConfigureCommand Condition="'$(TargetsBrowser)' != 'true' and '$(_MonoRunInitCompiler)' != 'false' and '$(HostOS)' != 'windows'">bash -c 'source $(RepositoryEngineeringCommonDir)native/init-compiler.sh "$(RepositoryEngineeringCommonDir)native" "$(_CompilerTargetArch)" "$(MonoCCompiler)" && @(_MonoBuildEnv, ' ') $(_MonoCMakeConfigureCommand)'</_MonoCMakeConfigureCommand>
<_MonoCMakeConfigureCommand Condition="'$(TargetsBrowser)' != 'true' and '$(_MonoRunInitCompiler)' != 'false' and '$(HostOS)' == 'windows'">call "$(RepositoryEngineeringDir)native\init-vs-env.cmd" $(_CompilerTargetArch) && cd /D "$(MonoObjDir)" && @(_MonoBuildEnv, ' ') $(_MonoCMakeConfigureCommand)</_MonoCMakeConfigureCommand>
<_MonoCMakeConfigureCommand Condition="'$(TargetsBrowser)' != 'true' and '$(_MonoRunInitCompiler)' == 'false'">$(_MonoCCOption) $(_MonoCXXOption) @(_MonoBuildEnv, ' ') $(_MonoCMakeConfigureCommand)</_MonoCMakeConfigureCommand>
<_MonoCMakeConfigureCommand Condition="'$(TargetsBrowser)' == 'true' and '$(HostOS)' != 'windows'">bash -c 'source $(EMSDK_PATH)/emsdk_env.sh 2>&1 && emcmake $(_MonoCMakeConfigureCommand)'</_MonoCMakeConfigureCommand>
<_MonoCMakeConfigureCommand Condition="'$(TargetsBrowser)' == 'true' and '$(HostOS)' == 'windows'">call "$(RepositoryEngineeringDir)native\init-vs-env.cmd" && call "$([MSBuild]::NormalizePath('$(EMSDK_PATH)', 'emsdk_env.bat'))" && emcmake $(_MonoCMakeConfigureCommand)</_MonoCMakeConfigureCommand>
<_MonoCMakeBuildCommand>cmake --build . --target install --config $(Configuration)</_MonoCMakeBuildCommand>
<_MonoCMakeBuildCommand Condition="'$(MonoVerboseBuild)' == 'true'">$(_MonoCMakeBuildCommand) --verbose</_MonoCMakeBuildCommand>
<_MonoCMakeBuildCommand Condition="'$(_MonoUseNinja)' != 'true'">$(_MonoCMakeBuildCommand) --parallel $([System.Environment]::ProcessorCount)</_MonoCMakeBuildCommand>
<_MonoCMakeBuildCommand Condition="'$(TargetsBrowser)' != 'true' and '$(HostOS)' != 'windows'">@(_MonoBuildEnv, ' ') $(_MonoCMakeBuildCommand)</_MonoCMakeBuildCommand>
<_MonoCMakeBuildCommand Condition="'$(TargetsBrowser)' != 'true' and '$(HostOS)' == 'windows'">call "$(RepositoryEngineeringDir)native\init-vs-env.cmd" $(_CompilerTargetArch) && cd /D "$(MonoObjDir)" && @(_MonoBuildEnv, ' ') $(_MonoCMakeBuildCommand)</_MonoCMakeBuildCommand>
<_MonoCMakeBuildCommand Condition="'$(TargetsBrowser)' == 'true' and '$(HostOS)' == 'windows'">call "$(RepositoryEngineeringDir)native\init-vs-env.cmd" && $(_MonoCMakeBuildCommand)</_MonoCMakeBuildCommand>
</PropertyGroup>
<MakeDir Directories="$(MonoObjDir)" />
<!-- configure -->
<PropertyGroup>
<_MonoCMakeCmdLineUpToDate Condition="Exists('$(MonoObjDir)cmake_cmd_line.txt') and '$([System.IO.File]::ReadAllText($(MonoObjDir)cmake_cmd_line.txt).Trim())' == '$(_MonoCMakeConfigureCommand.Trim())'">true</_MonoCMakeCmdLineUpToDate>
<_MonoSkipCMakeConfigure>false</_MonoSkipCMakeConfigure>
<_MonoSkipCMakeConfigure Condition="'$(SkipMonoCrossJitConfigure)' == 'true' or '$(_MonoCMakeCmdLineUpToDate)' == 'true'">true</_MonoSkipCMakeConfigure>
</PropertyGroup>
<Message Condition="'$(_MonoSkipCMakeConfigure)' == 'true'" Text="The CMake command line is the same as the last run. Skipping running CMake configure." Importance="High"/>
<Message Condition="'$(_MonoSkipCMakeConfigure)' != 'true'" Text="Running '$(_MonoCMakeConfigureCommand)' in '$(MonoObjDir)'" Importance="High"/>
<Exec Condition="'$(_MonoSkipCMakeConfigure)' != 'true'" Command="$(_MonoCMakeConfigureCommand)" IgnoreStandardErrorWarningFormat="true" WorkingDirectory="$(MonoObjDir)"/>
<WriteLinesToFile
Condition="'$(_MonoSkipCMakeConfigure)' != 'true'"
File="$(MonoObjDir)cmake_cmd_line.txt"
Lines="$(_MonoCMakeConfigureCommand)"
Overwrite="true" />
<!-- build -->
<Message Condition="'$(BuildMonoAOTCrossCompilerOnly)' != 'true'" Text="Running '$(_MonoCMakeBuildCommand)' in '$(MonoObjDir)'" Importance="High"/>
<Exec Condition="'$(BuildMonoAOTCrossCompilerOnly)' != 'true'" Command="$(_MonoCMakeBuildCommand)" IgnoreStandardErrorWarningFormat="true" WorkingDirectory="$(MonoObjDir)"/>
<!-- strip -->
<PropertyGroup>
<MonoToolchainPrebuiltOS Condition="$([MSBuild]::IsOSPlatform('Linux'))">linux-x86_64</MonoToolchainPrebuiltOS>
<MonoToolchainPrebuiltOS Condition="$([MSBuild]::IsOSPlatform('OSX'))">darwin-x86_64</MonoToolchainPrebuiltOS>
<MonoToolchainPrebuiltOS Condition="'$(HostOS)' == 'windows'">windows-x86_64</MonoToolchainPrebuiltOS>
<_MonoRuntimeFilePath>$(MonoObjDir)out\lib\$(MonoFileName)</_MonoRuntimeFilePath>
<_LinuxAbi Condition="'$(TargetsAndroid)' != 'true'">gnu</_LinuxAbi>
<_LinuxAbi Condition="'$(TargetsAndroid)' == 'true'">android</_LinuxAbi>
<_LinuxFloatAbi Condition="'$(TargetsAndroid)' != 'true'">hf</_LinuxFloatAbi>
<_Objcopy>objcopy</_Objcopy>
<_Objcopy Condition="'$(Platform)' == 'arm'">arm-linux-$(_LinuxAbi)eabi$(_LinuxFloatAbi)-$(_Objcopy)</_Objcopy>
<_Objcopy Condition="'$(Platform)' == 'armv6'">arm-linux-$(_LinuxAbi)eabi$(_LinuxFloatAbi)-$(_Objcopy)</_Objcopy>
<_Objcopy Condition="'$(Platform)' == 'arm64'">aarch64-linux-$(_LinuxAbi)-$(_Objcopy)</_Objcopy>
<_Objcopy Condition="'$(Platform)' == 's390x'">s390x-linux-$(_LinuxAbi)-$(_Objcopy)</_Objcopy>
<_Objcopy Condition="'$(Platform)' == 'x64'">x86_64-linux-$(_LinuxAbi)-$(_Objcopy)</_Objcopy>
<_Objcopy Condition="'$(Platform)' == 'x86'">i686-linux-$(_LinuxAbi)-$(_Objcopy)</_Objcopy>
<_Objcopy Condition="'$(TargetsAndroid)' == 'true'">$(ANDROID_NDK_ROOT)/toolchains/llvm/prebuilt/$(MonoToolchainPrebuiltOS)/bin/llvm-objcopy</_Objcopy>
</PropertyGroup>
<!-- test viability of objcopy command -->
<Exec Condition="'$(BuildMonoAOTCrossCompilerOnly)' != 'true' and ('$(TargetsLinux)' == 'true' or '$(TargetsAndroid)' == 'true')" Command="$(_Objcopy) -V" IgnoreStandardErrorWarningFormat="true" ContinueOnError="WarnAndContinue" IgnoreExitCode="true" EchoOff="true" ConsoleToMsBuild="true">
<Output TaskParameter="ExitCode" PropertyName="_ObjcopyFound"/>
</Exec>
<PropertyGroup>
<!-- if all else fails in finding a valid objcopy, fall back to no-prefix from $PATH (used for x64 on CentOS) -->
<_Objcopy Condition="'$(_ObjcopyFound)' != '0'">objcopy</_Objcopy>
</PropertyGroup>
<ItemGroup>
<FilesToStrip Include="$(_MonoRuntimeFilePath)" />
<FilesToStrip Include="$([System.IO.Directory]::GetParent($(_MonoRuntimeFilePath)))\libmono-component-*$(LibSuffix)" />
<FilesToStrip Include="$([System.IO.Directory]::GetParent($(_MonoRuntimeFilePath)))\Mono*framework\**\Mono*" Exclude="$([System.IO.Directory]::GetParent($(_MonoRuntimeFilePath)))\Mono*framework\**\*.dwarf" />
</ItemGroup>
<Message Condition="'$(BuildMonoAOTCrossCompilerOnly)' != 'true' and ($([MSBuild]::IsOSPlatform('OSX')) or $([MSBuild]::IsOSPlatform('Linux')))" Text="Stripping debug symbols from %(FilesToStrip.Identity)" Importance="High"/>
<Exec Condition="!$([System.String]::Copy(%(FilesToStrip.Identity)).EndsWith('.a')) and '$(BuildMonoAOTCrossCompilerOnly)' != 'true' and ('$(TargetsOSX)' == 'true' or '$(TargetsMacCatalyst)' == 'true' or '$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true')" Command="dsymutil --flat --minimize %(FilesToStrip.Identity)" IgnoreStandardErrorWarningFormat="true" WorkingDirectory="$(MonoObjDir)"/>
<Exec Condition="!$([System.String]::Copy(%(FilesToStrip.Identity)).EndsWith('.a')) and '$(BuildMonoAOTCrossCompilerOnly)' != 'true' and ('$(TargetsOSX)' == 'true' or '$(TargetsMacCatalyst)' == 'true' or '$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true') and '$(Configuration)' == 'Release'" Command="strip -no_code_signature_warning -S %(FilesToStrip.Identity)" IgnoreStandardErrorWarningFormat="true" WorkingDirectory="$(MonoObjDir)"/>
<Exec Condition="!$([System.String]::Copy(%(FilesToStrip.Identity)).EndsWith('.a')) and '$(BuildMonoAOTCrossCompilerOnly)' != 'true' and ('$(TargetsLinux)' == 'true' or '$(TargetsAndroid)' == 'true')" Command="$(_Objcopy) --only-keep-debug %(FilesToStrip.Identity) %(FilesToStrip.Identity).dbg" IgnoreStandardErrorWarningFormat="true" WorkingDirectory="$(MonoObjDir)"/>
<Exec Condition="!$([System.String]::Copy(%(FilesToStrip.Identity)).EndsWith('.a')) and '$(BuildMonoAOTCrossCompilerOnly)' != 'true' and ('$(TargetsLinux)' == 'true' or '$(TargetsAndroid)' == 'true')" Command="$(_Objcopy) --strip-unneeded %(FilesToStrip.Identity)" IgnoreStandardErrorWarningFormat="true" WorkingDirectory="$(MonoObjDir)"/>
<Exec Condition="!$([System.String]::Copy(%(FilesToStrip.Identity)).EndsWith('.a')) and '$(BuildMonoAOTCrossCompilerOnly)' != 'true' and ('$(TargetsLinux)' == 'true' or '$(TargetsAndroid)' == 'true')" Command="$(_Objcopy) --add-gnu-debuglink=%(FilesToStrip.Identity).dbg %(FilesToStrip.Identity)" IgnoreStandardErrorWarningFormat="true" WorkingDirectory="$(MonoObjDir)"/>
</Target>
<!-- Build AOT cross compiler (if available) -->
<Target Name="BuildMonoCross" Condition="'$(BuildMonoAOTCrossCompiler)' == 'true'" DependsOnTargets="BuildMonoRuntime">
<!-- iOS/tvOS specific options -->
<PropertyGroup Condition="'$(TargetstvOS)' == 'true' or '$(TargetsiOS)' == 'true'">
<!-- FIXME: Disable for simulator -->
<MonoUseCrossTool>true</MonoUseCrossTool>
<MonoAotCMakeSysroot Condition="'$(TargetsiOS)' == 'true' and '$(TargetsiOSSimulator)' != 'true'">$(XcodeDir)/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS$(iOSVersion).sdk</MonoAotCMakeSysroot>
<MonoAotCMakeSysroot Condition="'$(TargetsiOS)' == 'true' and '$(TargetsiOSSimulator)' == 'true'">$(XcodeDir)/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator$(iOSVersion).sdk</MonoAotCMakeSysroot>
<MonoAotCMakeSysroot Condition="'$(TargetstvOS)' == 'true' and '$(TargetstvOSSimulator)' != 'true'">$(XcodeDir)/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS$(tvOSVersion).sdk</MonoAotCMakeSysroot>
<MonoAotCMakeSysroot Condition="'$(TargetstvOS)' == 'true' and '$(TargetstvOSSimulator)' == 'true'">$(XcodeDir)/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator$(tvOSVersion).sdk</MonoAotCMakeSysroot>
<MonoAotOffsetsFile>$(MonoObjCrossDir)offsets-$(Platform)-darwin.h</MonoAotOffsetsFile>
<MonoAotAbi Condition="'$(Platform)' == 'arm64'">aarch64-apple-darwin10</MonoAotAbi>
<MonoAotAbi Condition="'$(Platform)' == 'arm'">arm-apple-darwin10</MonoAotAbi>
<MonoAotAbi Condition="'$(Platform)' == 'x86'">i386-apple-darwin10</MonoAotAbi>
<MonoAotAbi Condition="'$(Platform)' == 'x64'">x86_64-apple-darwin10</MonoAotAbi>
</PropertyGroup>
<!-- Catalyst specific options -->
<PropertyGroup Condition="'$(TargetsMacCatalyst)' == 'true'">
<MonoUseCrossTool>true</MonoUseCrossTool>
<MonoAotCMakeSysroot Condition="'$(TargetsMacCatalyst)' == 'true'">$(XcodeDir)/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk</MonoAotCMakeSysroot>
<MonoAotOffsetsFile>$(MonoObjCrossDir)offsets-$(Platform)-darwin.h</MonoAotOffsetsFile>
<MonoAotAbi Condition="'$(Platform)' == 'arm64'">aarch64-apple-maccatalyst</MonoAotAbi>
<MonoAotAbi Condition="'$(Platform)' == 'x64'">x86_64-apple-maccatalyst</MonoAotAbi>
</PropertyGroup>
<!-- Linux specific options -->
<ItemGroup Condition="'$(RealTargetOS)' == 'Linux' or $([MSBuild]::IsOSPlatform('Linux'))">
<_LibClang Include="$(ANDROID_NDK_ROOT)/toolchains/llvm/prebuilt/$(MonoToolchainPrebuiltOS)/lib64/libclang.so.*"/>
</ItemGroup>
<PropertyGroup Condition="'$(TargetsLinux)' == 'true' and '$(Platform)' == 'arm64'">
<MonoUseCrossTool>true</MonoUseCrossTool>
<MonoAotAbi>aarch64-linux-gnu</MonoAotAbi>
<MonoAotOffsetsFile>$(MonoObjCrossDir)offsets-aarch-linux-gnu.h</MonoAotOffsetsFile>
<MonoAotOffsetsPrefix>$(MonoCrossDir)/usr/lib/gcc/aarch64-linux-gnu/5</MonoAotOffsetsPrefix>
</PropertyGroup>
<!-- macOS host specific options -->
<ItemGroup Condition="'$(RealTargetOS)' == 'OSX' or $([MSBuild]::IsOSPlatform('OSX'))">
<MonoAOTCMakeArgs Include="-DCMAKE_OSX_DEPLOYMENT_TARGET=$(macOSVersionMin)" />
</ItemGroup>
<!-- WASM specific options -->
<PropertyGroup Condition="'$(TargetsBrowser)' == 'true'">
<MonoUseCrossTool>true</MonoUseCrossTool>
<MonoAotAbi>wasm32-unknown-none</MonoAotAbi>
<MonoAotOffsetsFile>$(MonoObjCrossDir)offsets-wasm32-unknown-none.h</MonoAotOffsetsFile>
<MonoLibClang Condition="$([MSBuild]::IsOSPlatform('OSX'))">$(EMSDK_PATH)/upstream/lib/libclang.dylib</MonoLibClang>
<MonoLibClang Condition="$([MSBuild]::IsOSPlatform('Linux'))">$(EMSDK_PATH)/upstream/lib/libclang.so</MonoLibClang>
<MonoLibClang Condition="$([MSBuild]::IsOSPlatform('Windows'))">$([MSBuild]::NormalizePath('$(EMSDK_PATH)', 'upstream', 'bin', 'libclang.dll'))</MonoLibClang>
<PythonCmd Condition="'$(HostOS)' == 'windows'">setlocal EnableDelayedExpansion && call "$([MSBuild]::NormalizePath('$(EMSDK_PATH)', 'emsdk_env.bat'))" && !EMSDK_PYTHON!</PythonCmd>
<_ForceRelease Condition="$([MSBuild]::IsOSPlatform('Windows')) and '$(TargetArchitecture)' == 'wasm' and '$(Configuration)' == 'Debug'">true</_ForceRelease>
</PropertyGroup>
<!-- Windows specific options -->
<ItemGroup Condition="'$(RealTargetOS)' == 'Windows' or $([MSBuild]::IsOSPlatform('Windows'))">
<_MonoAOTCPPFLAGS Include="-DHOST_WIN32" />
<_MonoAOTCPPFLAGS Include="-D__WIN32__" />
<_MonoAOTCPPFLAGS Include="-DWIN32" />
<_MonoAOTCPPFLAGS Include="-DWIN32_LEAN_AND_MEAN" />
<!--<_MonoAOTCPPFLAGS Include="-D_WINDOWS" />--> <!-- set in monow.vcxproj, not sure we really need it -->
<_MonoAOTCPPFLAGS Condition="'$(Platform)' == 'x64' or '$(Platform)' == 'arm64'" Include="-DWIN64" />
<_MonoAOTCPPFLAGS Condition="'$(Configuration)' == 'Release' or '$(_ForceRelease)' == 'true'" Include="-DNDEBUG" />
<_MonoAOTCPPFLAGS Condition="'$(Configuration)' == 'Debug' and '$(_ForceRelease)' != 'true'" Include="-D_DEBUG" />
<!-- <_MonoAOTCPPFLAGS Include="-D__default_codegen__" /> --> <!-- doesn't seem to be used -->
<_MonoAOTCPPFLAGS Include="-D_CRT_SECURE_NO_WARNINGS" />
<_MonoAOTCPPFLAGS Include="-D_CRT_NONSTDC_NO_DEPRECATE" />
<!--<_MonoAOTCPPFLAGS Include="-DGC_NOT_DLL" />--> <!-- only used for Boehm -->
<_MonoAOTCPPFLAGS Include="-DWIN32_THREADS" />
<_MonoAOTCPPFLAGS Include="-DWINVER=0x0601" />
<_MonoAOTCPPFLAGS Include="-D_WIN32_WINNT=0x0601" />
<_MonoAOTCPPFLAGS Include="-D_WIN32_IE=0x0501" />
<_MonoAOTCPPFLAGS Include="-D_UNICODE" />
<_MonoAOTCPPFLAGS Include="-DUNICODE" />
<_MonoAOTCPPFLAGS Include="-DFD_SETSIZE=1024" />
<_MonoAOTCPPFLAGS Include="-DNVALGRIND" />
<MonoAOTCMakeArgs Include="-DDISABLE_INTERPRETER=1" />
<!-- Select generator platform for VS generator -->
<MonoAOTCMakeArgs Condition="'$(_MonoUseNinja)' != 'true' and '$(Platform)' == 'x64'" Include="-A x64" />
<MonoAOTCMakeArgs Condition="'$(_MonoUseNinja)' != 'true' and '$(Platform)' == 'x86'" Include="-A Win32" />
<MonoAOTCMakeArgs Condition="'$(_MonoUseNinja)' != 'true' and '$(Platform)' == 'arm'" Include="-A ARM" />
<MonoAOTCMakeArgs Condition="'$(_MonoUseNinja)' != 'true' and '$(Platform)' == 'arm64'" Include="-A ARM64" />
</ItemGroup>
<!-- Android specific options -->
<PropertyGroup Condition="'$(TargetsAndroid)' == 'true'">
<MonoToolchainPrebuiltOS Condition="$([MSBuild]::IsOSPlatform('Linux'))">linux-x86_64</MonoToolchainPrebuiltOS>
<MonoToolchainPrebuiltOS Condition="$([MSBuild]::IsOSPlatform('OSX'))">darwin-x86_64</MonoToolchainPrebuiltOS>
<MonoToolchainPrebuiltOS Condition="'$(HostOS)' == 'windows'">windows-x86_64</MonoToolchainPrebuiltOS>
<MonoUseCrossTool>true</MonoUseCrossTool>
<MonoAotCMakeSysroot Condition="Exists('$(ANDROID_NDK_ROOT)/sysroot')">$(ANDROID_NDK_ROOT)/sysroot</MonoAotCMakeSysroot>
<MonoAotCMakeSysroot Condition="'$(MonoAotCMakeSysroot)' == '' And Exists('$(ANDROID_NDK_ROOT)/toolchains/llvm/prebuilt/$(MonoToolchainPrebuiltOS)/sysroot')">$(ANDROID_NDK_ROOT)/toolchains/llvm/prebuilt/$(MonoToolchainPrebuiltOS)/sysroot</MonoAotCMakeSysroot>
<MonoAotAbi Condition="'$(Platform)' == 'arm64'">aarch64-v8a-linux-android</MonoAotAbi>
<MonoAotAbi Condition="'$(Platform)' == 'arm'">armv7-none-linux-androideabi</MonoAotAbi>
<MonoAotAbi Condition="'$(Platform)' == 'x86'">i686-none-linux-android</MonoAotAbi>
<MonoAotAbi Condition="'$(Platform)' == 'x64'">x86_64-none-linux-android</MonoAotAbi>
<MonoAotOffsetsFile>$(MonoObjDir)cross/offsets-$(Platform)-android.h</MonoAotOffsetsFile>
</PropertyGroup>
<PropertyGroup>
<MonoLibClang Condition="$([MSBuild]::IsOSPlatform('OSX')) and '$(MonoLibClang)' == ''">$(XcodeDir)/Toolchains/XcodeDefault.xctoolchain/usr/lib/libclang.dylib</MonoLibClang>
<MonoLibClang Condition="$([MSBuild]::IsOSPlatform('Linux')) and '$(MonoLibClang)' == ''">@(_LibClang)</MonoLibClang>
<MonoLibClang Condition="'$(HostOS)' == 'windows' and '$(MonoLibClang)' == ''">c:/dev/LLVM/bin/libclang.dll</MonoLibClang>
<MonoAotCMakeSysroot Condition="'$(MonoAotCMakeSysroot)' == ''">$(MonoCrossDir)</MonoAotCMakeSysroot>
</PropertyGroup>
<ItemGroup Condition="'$(MonoUseCrossTool)' == 'true'">
<MonoAotCrossOffsetsToolParams Include="--abi=$(MonoAotAbi)" />
<MonoAotCrossOffsetsToolParams Include="--netcore" />
<MonoAotCrossOffsetsToolParams Include="--targetdir="$(MonoObjDir.TrimEnd('\/'))"" />
<MonoAotCrossOffsetsToolParams Include="--monodir="$(MonoProjectRoot.TrimEnd('\/'))"" />
<MonoAotCrossOffsetsToolParams Include="--nativedir="$(SharedNativeRoot.TrimEnd('\/'))"" />
<MonoAotCrossOffsetsToolParams Include="--outfile="$(MonoAotOffsetsFile)"" />
<MonoAotCrossOffsetsToolParams Include="--libclang="$(MonoLibClang)"" />
<MonoAotCrossOffsetsToolParams Condition="'$(MonoAotOffsetsPrefix)' != ''" Include="--prefix="$(MonoAotOffsetsPrefix)"" />
<MonoAotCrossOffsetsToolParams Condition="'$(MonoAotCMakeSysroot)' != ''" Include="--sysroot="$(MonoAotCMakeSysroot)"" />
<MonoAotCrossOffsetsToolParams Condition="'$(TargetsBrowser)' == 'true'" Include="--emscripten-sdk="$([MSBuild]::NormalizePath('$(EMSDK_PATH)', 'upstream', 'emscripten'))"" />
</ItemGroup>
<PropertyGroup>
<_MonoAOTCFLAGSOption>-DCMAKE_C_FLAGS="@(_MonoAOTCPPFLAGS, ' ') @(_MonoAOTCFLAGS, ' ')"</_MonoAOTCFLAGSOption>
<_MonoAOTCXXFLAGSOption>-DCMAKE_CXX_FLAGS="@(_MonoAOTCPPFLAGS, ' ') @(_MonoAOTCXXFLAGS, ' ')"</_MonoAOTCXXFLAGSOption>
</PropertyGroup>
<ItemGroup>
<MonoAOTCMakeArgs Include="-DAOT_TARGET_TRIPLE=$(MonoAotAbi)"/>
<MonoAOTCMakeArgs Condition="'$(_MonoUseNinja)' == 'true'" Include="-G Ninja"/>
<MonoAOTCMakeArgs Include="-DCMAKE_INSTALL_PREFIX=$([MSBuild]::NormalizePath('$(MonoObjCrossDir)', 'out'))"/>
<MonoAOTCMakeArgs Condition="'$(_ForceRelease)' != 'true'" Include="-DCMAKE_BUILD_TYPE=$(Configuration)"/>
<MonoAOTCMakeArgs Condition="'$(_ForceRelease)' == 'true'" Include="-DCMAKE_BUILD_TYPE=Release"/>
<!-- FIXME: Disable more -->
<MonoAOTCMakeArgs Include="-DENABLE_MINIMAL=" />
<MonoAOTCMakeArgs Include="-DENABLE_ICALL_SYMBOL_MAP=1" />
<MonoAOTCMakeArgs Include="-DDISABLE_SHARED_LIBS=1" />
<MonoAOTCMakeArgs Include="-DDISABLE_LIBS=1" />
<MonoAOTCMakeArgs Include="-DDISABLE_COMPONENTS=1" />
<MonoAOTCMakeArgs Condition="'$(MonoAotOffsetsFile)' != ''" Include="-DAOT_OFFSETS_FILE="$(MonoAotOffsetsFile)"" />
<MonoAOTCMakeArgs Condition="'$(MonoAOTEnableLLVM)' == 'true'" Include="-DLLVM_PREFIX=$(MonoAOTLLVMDir.TrimEnd('\/'))" />
<MonoAOTCMakeArgs Include="$(_MonoAOTCFLAGSOption)" />
<MonoAOTCMakeArgs Include="$(_MonoAOTCXXFLAGSOption)" />
<!-- thread suspend -->
<MonoAOTCMakeArgs Include="-DGC_SUSPEND=$(MonoThreadSuspend)" />
<!-- rename exe -->
<MonoAOTCMakeArgs Include="-DMONO_CROSS_COMPILE_EXECUTABLE_NAME=1" />
</ItemGroup>
<PropertyGroup>
<_MonoAotCrossOffsetsCommand Condition="'$(MonoUseCrossTool)' == 'true'">$(PythonCmd) $(MonoProjectRoot)mono/tools/offsets-tool/offsets-tool.py @(MonoAotCrossOffsetsToolParams, ' ')</_MonoAotCrossOffsetsCommand>
<_MonoAotCMakeConfigureCommand>cmake @(MonoAOTCMakeArgs, ' ') $(MonoProjectRoot)</_MonoAotCMakeConfigureCommand>
<_MonoAotCMakeConfigureCommand Condition="'$(HostOS)' == 'windows'">call "$(RepositoryEngineeringDir)native\init-vs-env.cmd" $(_CompilerTargetArch) && cd /D "$(MonoObjCrossDir)" && @(_MonoBuildEnv, ' ') $(_MonoAotCMakeConfigureCommand)</_MonoAotCMakeConfigureCommand>
<_MonoAotCMakeBuildCommand>cmake --build . --target install --config $(Configuration)</_MonoAotCMakeBuildCommand>
<_MonoAotCMakeBuildCommand Condition="'$(MonoVerboseBuild)' == 'true'">$(_MonoAotCMakeBuildCommand) --verbose</_MonoAotCMakeBuildCommand>
<_MonoAotCMakeBuildCommand Condition="'$(_MonoUseNinja)' != 'true'">$(_MonoAotCMakeBuildCommand) --parallel $([System.Environment]::ProcessorCount)</_MonoAotCMakeBuildCommand>
<_MonoAotCMakeBuildCommand Condition="'$(HostOS)' == 'windows'">call "$(RepositoryEngineeringDir)native\init-vs-env.cmd" $(_CompilerTargetArch) && cd /D "$(MonoObjCrossDir)" && @(_MonoBuildEnv, ' ') $(_MonoAotCMakeBuildCommand)</_MonoAotCMakeBuildCommand>
<_MonoAotPrebuiltOffsetsFile>$(ArtifactsObjDir)\mono\offsetfiles\$(PlatformConfigPathPart)\cross\$([System.IO.Path]::GetFileName('$(MonoAotOffsetsFile)'))</_MonoAotPrebuiltOffsetsFile>
</PropertyGroup>
<MakeDir Directories="$(MonoObjCrossDir)" />
<!-- offsets tool -->
<Message Condition="Exists('$(_MonoAotPrebuiltOffsetsFile)')" Text="Out-of-tree offset file found, moving into place" Importance="High" />
<Copy Condition="Exists('$(_MonoAotPrebuiltOffsetsFile)')" SourceFiles="$(_MonoAotPrebuiltOffsetsFile)" DestinationFolder="$([System.IO.Path]::GetDirectoryName('$(MonoAotOffsetsFile)'))" />
<Message Condition="'$(MonoUseCrossTool)' == 'true' and !Exists('$(MonoAotOffsetsFile)')" Text="Running '$(_MonoAotCrossOffsetsCommand)'" Importance="High" />
<Exec Condition="'$(MonoUseCrossTool)' == 'true' and !Exists('$(MonoAotOffsetsFile)')" Command="$(_MonoAotCrossOffsetsCommand)" IgnoreStandardErrorWarningFormat="true" />
<!-- configure -->
<PropertyGroup>
<_MonoAotCMakeCmdLineUpToDate Condition="Exists('$(MonoObjCrossDir)cmake_cmd_line.txt') and '$([System.IO.File]::ReadAllText($(MonoObjCrossDir)cmake_cmd_line.txt).Trim())' == '$(_MonoAotCMakeConfigureCommand.Trim())'">true</_MonoAotCMakeCmdLineUpToDate>
<_MonoSkipAotCMakeConfigure>false</_MonoSkipAotCMakeConfigure>
<_MonoSkipAotCMakeConfigure Condition="'$(MonoGenerateOffsetsOSGroups)' != '' or '$(_MonoAotCMakeCmdLineUpToDate)' == 'true'">true</_MonoSkipAotCMakeConfigure>
</PropertyGroup>
<Message Condition="'$(_MonoSkipAotCMakeConfigure)' == 'true'" Text="The AOT Cross CMake command line is the same as the last run. Skipping running CMake configure." Importance="High"/>
<Message Condition="'$(_MonoSkipAotCMakeConfigure)' != 'true'" Text="Running '$(_MonoAotCMakeConfigureCommand)' in '$(MonoObjCrossDir)'" Importance="High"/>
<Exec Condition="'$(_MonoSkipAotCMakeConfigure)' != 'true'" Command="$(_MonoAotCMakeConfigureCommand)" IgnoreStandardErrorWarningFormat="true" WorkingDirectory="$(MonoObjCrossDir)"/>
<WriteLinesToFile
Condition="'$(_MonoSkipAotCMakeConfigure)' != 'true'"
File="$(MonoObjCrossDir)cmake_cmd_line.txt"
Lines="$(_MonoAotCMakeConfigureCommand)"
Overwrite="true" />
<!-- build -->
<Message Text="Running '$(_MonoAotCMakeBuildCommand)' in '$(MonoObjCrossDir)'" Importance="High" />
<Exec Condition="'$(MonoGenerateOffsetsOSGroups)' == ''" Command="$(_MonoAotCMakeBuildCommand)" IgnoreStandardErrorWarningFormat="true" WorkingDirectory="$(MonoObjCrossDir)"/>
</Target>
<PropertyGroup>
<!-- Hardcode version paths in a global location. Condition on running OS to generate the right files for the Mono WASM cross tools. -->
<NativeVersionFile Condition="'$(HostOS)' == 'windows'">$(ArtifactsObjDir)_version.h</NativeVersionFile>
<NativeVersionFile Condition="'$(HostOS)' != 'windows'">$(ArtifactsObjDir)_version.c</NativeVersionFile>
<AssemblyName>.NET Runtime</AssemblyName>
</PropertyGroup>
<Import Project="$(RepositoryEngineeringDir)versioning.targets" />
<!-- The standard set of targets that need to run before the BuildMono target runs -->
<PropertyGroup>
<MonoDependsOnTargets>CheckEnv;GetXcodeDir;GenerateRuntimeVersionFile;BuildMonoRuntime;BuildMonoCross</MonoDependsOnTargets>
<MonoDependsOnTargets Condition="'$(TargetsBrowser)' == 'true'">GenerateRuntimeVersionFile;ProvisionEmscripten;$(MonoDependsOnTargets)</MonoDependsOnTargets>
</PropertyGroup>
<!-- General targets -->
<Target Name="BuildMono" AfterTargets="Build" DependsOnTargets="$(MonoDependsOnTargets)">
<PropertyGroup Condition="'$(BuildMonoAOTCrossCompilerOnly)' != 'true'">
<_MonoRuntimeFilePath Condition="'$(TargetsWindows)' == 'true'">$(MonoObjDir)out\bin\$(MonoFileName)</_MonoRuntimeFilePath>
<_MonoRuntimeFilePath Condition="'$(_MonoRuntimeFilePath)' == ''">$(MonoObjDir)out\lib\$(MonoFileName)</_MonoRuntimeFilePath>
<_MonoRuntimeStaticFilePath Condition="'$(TargetsMacCatalyst)' == 'true' or '$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true' or '$(TargetsAndroid)' == 'true'">$(MonoObjDir)out\lib\$(MonoStaticLibFileName)</_MonoRuntimeStaticFilePath>
<_MonoIncludeInterpStaticFiles Condition="'$(TargetsBrowser)' == 'true'">true</_MonoIncludeInterpStaticFiles>
<_MonoIncludeIcuFiles Condition="'$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true' or '$(TargetsMacCatalyst)' == 'true'">true</_MonoIncludeIcuFiles>
</PropertyGroup>
<PropertyGroup Condition="'$(BuildMonoAOTCrossCompiler)' == 'true'">
<_MonoAotCrossFilePath>$(MonoObjCrossDir)out\bin\$(MonoAotCrossFileName)</_MonoAotCrossFilePath>
<_MonoAotCrossPdbFilePath>$(MonoObjCrossDir)out\bin\$(MonoAotCrossPdbFileName)</_MonoAotCrossPdbFilePath>
</PropertyGroup>
<!-- Copy Mono runtime files to artifacts directory -->
<ItemGroup>
<_MonoRuntimeComponentsStaticFilePath Include="$([System.IO.Directory]::GetParent($(_MonoRuntimeFilePath)))\libmono-component-*$(StaticLibSuffix)" Condition="Exists($(_MonoRuntimeFilePath))" />
<_MonoRuntimeComponentsSharedFilePath Include="$([System.IO.Directory]::GetParent($(_MonoRuntimeFilePath)))\libmono-component-*$(LibSuffix)" Condition="Exists($(_MonoRuntimeFilePath))" />
<_MonoRuntimeComponentsSharedFilePath Include="$([System.IO.Directory]::GetParent($(_MonoRuntimeFilePath)))\libmono-component-*$(LibSuffix).dwarf" Condition="Exists('$(_MonoRuntimeFilePath).dwarf')" />
<_MonoRuntimeComponentsSharedFilePath Include="$([System.IO.Directory]::GetParent($(_MonoRuntimeFilePath)))\libmono-component-*$(LibSuffix).dbg" Condition="Exists('$(_MonoRuntimeFilePath).dbg')" />
<_MonoRuntimeArtifacts Include="$(_MonoRuntimeFilePath)" Condition="Exists($(_MonoRuntimeFilePath))">
<Destination>$(RuntimeBinDir)$(MonoFileName)</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Include="$(_MonoRuntimeFilePath).dbg" Condition="Exists('$(_MonoRuntimeFilePath).dbg')">
<Destination>$(RuntimeBinDir)$(MonoFileName).dbg</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Include="$(_MonoRuntimeFilePath).dwarf" Condition="Exists('$(_MonoRuntimeFilePath).dwarf')">
<Destination>$(RuntimeBinDir)$(MonoFileName).dwarf</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Include="$(_MonoRuntimeStaticFilePath)" Condition="Exists($(_MonoRuntimeStaticFilePath)) and '$(_MonoRuntimeStaticFilePath)' != '$(_MonoRuntimeFilePath)'">
<Destination>$(RuntimeBinDir)$(MonoStaticLibFileName)</Destination>
</_MonoRuntimeArtifacts>
<!-- copy the mono runtime component shared or static libraries -->
<_MonoRuntimeArtifacts Include="@(_MonoRuntimeComponentsStaticFilePath)">
<Destination>$(RuntimeBinDir)%(_MonoRuntimeComponentsStaticFilePath.Filename)%(_MonoRuntimeComponentsStaticFilePath.Extension)</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Include="@(_MonoRuntimeComponentsSharedFilePath)">
<Destination>$(RuntimeBinDir)%(_MonoRuntimeComponentsSharedFilePath.Filename)%(_MonoRuntimeComponentsSharedFilePath.Extension)</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Include="$(_MonoAotCrossFilePath)">
<Destination>$(RuntimeBinDir)cross\$(PackageRID)\$(MonoAotCrossFileName)</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Include="$(_MonoAotCrossPdbFilePath)" Condition="Exists('$(_MonoAotCrossPdbFilePath)')">
<Destination>$(RuntimeBinDir)cross\$(PackageRID)\$(MonoAotCrossPdbFileName)</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="'$(MonoBundleLLVMOptimizer)' == 'true'" Include="$(MonoLLVMDir)\bin\llc$(ExeSuffix)">
<Destination>$(RuntimeBinDir)\llc$(ExeSuffix)</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="'$(MonoBundleLLVMOptimizer)' == 'true'" Include="$(MonoLLVMDir)\bin\opt$(ExeSuffix)">
<Destination>$(RuntimeBinDir)\opt$(ExeSuffix)</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="'$(MonoAOTBundleLLVMOptimizer)' == 'true'" Include="$(MonoAOTLLVMDir)\bin\llc$(ExeSuffix)">
<Destination>$(RuntimeBinDir)cross\$(PackageRID)\llc$(ExeSuffix)</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="'$(MonoAOTBundleLLVMOptimizer)' == 'true'" Include="$(MonoAOTLLVMDir)\bin\opt$(ExeSuffix)">
<Destination>$(RuntimeBinDir)cross\$(PackageRID)\opt$(ExeSuffix)</Destination>
</_MonoRuntimeArtifacts>
<_MonoIncludeArtifacts Include="$(MonoObjDir)out\include\**" />
<_MonoRuntimeArtifacts Condition="'$(MonoComponentsStatic)' != 'true' and Exists('$(MonoObjDir)out\lib\Mono.release.framework')" Include="@(_MonoRuntimeComponentsSharedFilePath)">
<Destination>$(RuntimeBinDir)\Mono.release.framework\%(_MonoRuntimeComponentsSharedFilePath.Filename)%(_MonoRuntimeComponentsSharedFilePath.Extension)</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="Exists('$(MonoObjDir)out\lib\Mono.release.framework') and !Exists('$(MonoObjDir)out\lib\Mono.release.framework\Versions')" Include="$(MonoObjDir)out\lib\Mono.release.framework\Mono.release">
<Destination>$(RuntimeBinDir)\Mono.release.framework\Mono</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="Exists('$(MonoObjDir)out\lib\Mono.release.framework') and Exists('$(MonoObjDir)out\lib\Mono.release.framework\Versions')" Include="$(MonoObjDir)out\lib\Mono.release.framework\Versions\Current\Mono.release">
<Destination>$(RuntimeBinDir)\Mono.release.framework\Mono</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="Exists('$(MonoObjDir)out\lib\Mono.release.framework')" Include="$(MonoObjDir)out\lib\Mono.release.framework\Mono.release.dwarf">
<Destination>$(RuntimeBinDir)\Mono.release.framework\Mono.dwarf</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="'$(MonoComponentsStatic)' != 'true' and Exists('$(MonoObjDir)out\lib\Mono.debug.framework')" Include="@(_MonoRuntimeComponentsSharedFilePath)">
<Destination>$(RuntimeBinDir)\Mono.debug.framework\%(_MonoRuntimeComponentsSharedFilePath.Filename)%(_MonoRuntimeComponentsSharedFilePath.Extension)</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="Exists('$(MonoObjDir)out\lib\Mono.debug.framework') and !Exists('$(MonoObjDir)out\lib\Mono.debug.framework\Versions')" Include="$(MonoObjDir)out\lib\Mono.debug.framework\Mono.debug">
<Destination>$(RuntimeBinDir)\Mono.debug.framework\Mono</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="Exists('$(MonoObjDir)out\lib\Mono.debug.framework') and Exists('$(MonoObjDir)out\lib\Mono.debug.framework\Versions')" Include="$(MonoObjDir)out\lib\Mono.debug.framework\Versions\Current\Mono.debug">
<Destination>$(RuntimeBinDir)\Mono.debug.framework\Mono</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="Exists('$(MonoObjDir)out\lib\Mono.debug.framework')" Include="$(MonoObjDir)out\lib\Mono.debug.framework\Mono.debug.dwarf">
<Destination>$(RuntimeBinDir)\Mono.debug.framework\Mono.dwarf</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="Exists('$(MonoObjDir)out\lib\Mono.release.framework') and !Exists('$(MonoObjDir)out\lib\Mono.release.framework\Versions')" Include="$(MonoObjDir)out\lib\Mono.release.framework\Info.plist">
<Destination>$(RuntimeBinDir)\Mono.release.framework\Info.plist</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="Exists('$(MonoObjDir)out\lib\Mono.release.framework') and Exists('$(MonoObjDir)out\lib\Mono.release.framework\Versions')" Include="$(MonoObjDir)out\lib\Mono.release.framework\Versions\Current\Resources\Info.plist">
<Destination>$(RuntimeBinDir)\Mono.release.framework\Info.plist</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="Exists('$(MonoObjDir)out\lib\Mono.debug.framework') and !Exists('$(MonoObjDir)out\lib\Mono.debug.framework\Versions')" Include="$(MonoObjDir)out\lib\Mono.debug.framework\Info.plist">
<Destination>$(RuntimeBinDir)\Mono.debug.framework\Info.plist</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="Exists('$(MonoObjDir)out\lib\Mono.debug.framework') and Exists('$(MonoObjDir)out\lib\Mono.debug.framework\Versions')" Include="$(MonoObjDir)out\lib\Mono.debug.framework\Versions\Current\Resources\Info.plist">
<Destination>$(RuntimeBinDir)\Mono.debug.framework\Info.plist</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeBuildArtifacts Include="$(MonoObjDir)\build\**" />
<_MonoRuntimeArtifacts Condition="'$(_MonoIncludeInterpStaticFiles)' == 'true'" Include="$(MonoObjDir)out\lib\libmono-ee-interp.a">
<Destination>$(RuntimeBinDir)libmono-ee-interp.a</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="'$(_MonoIncludeInterpStaticFiles)' == 'true'" Include="$(MonoObjDir)out\lib\libmono-icall-table.a">
<Destination>$(RuntimeBinDir)libmono-icall-table.a</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="'$(_MonoIncludeInterpStaticFiles)' == 'true'" Include="$(MonoObjDir)out\lib\libmono-ilgen.a">
<Destination>$(RuntimeBinDir)libmono-ilgen.a</Destination>
</_MonoRuntimeArtifacts>
<_MonoRuntimeArtifacts Condition="'$(TargetsBrowser)' == 'true' and '$(BuildMonoAOTCrossCompilerOnly)' != 'true'" Include="$(MonoObjDir)out\lib\libmono-profiler-aot.a">
<Destination>$(RuntimeBinDir)libmono-profiler-aot.a</Destination>
</_MonoRuntimeArtifacts>
<_MonoICorDebugArtifacts Condition="'$(MonoMsCorDbi)' == 'true'" Include="$(MonoObjDir)out\lib\$(LibPrefix)dbgshim$(LibSuffix)">
<Destination>$(RuntimeBinDir)$(LibPrefix)dbgshim$(LibSuffix)</Destination>
</_MonoICorDebugArtifacts>
<_MonoICorDebugArtifacts Condition="'$(MonoMsCorDbi)' == 'true'" Include="$(MonoObjDir)out\lib\$(LibPrefix)mscordbi$(LibSuffix)">
<Destination>$(RuntimeBinDir)$(LibPrefix)mscordbi$(LibSuffix)</Destination>
</_MonoICorDebugArtifacts>
<_IcuArtifacts Condition="'$(_MonoIncludeIcuFiles)' == 'true'"
Include="$(_IcuLibdir)\libicuuc.a;
$(_IcuLibdir)\libicui18n.a;
$(_IcuLibdir)\libicudata.a;
$(_IcuLibdir)\*.dat" />
</ItemGroup>
<Copy Condition="'$(_MonoIncludeIcuFiles)' == 'true'"
SourceFiles="@(_IcuArtifacts)"
DestinationFolder="$(RuntimeBinDir)"
SkipUnchangedFiles="true" />
<Copy SourceFiles="@(_MonoRuntimeArtifacts)"
DestinationFiles="%(_MonoRuntimeArtifacts.Destination)"
Condition="'$(MonoGenerateOffsetsOSGroups)' == ''"
SkipUnchangedFiles="true" />
<Copy SourceFiles="@(_MonoICorDebugArtifacts)"
DestinationFiles="%(_MonoICorDebugArtifacts.Destination)"
SkipUnchangedFiles="true"
Condition="Exists(@(_MonoICorDebugArtifacts))" />
<Copy SourceFiles="@(_MonoIncludeArtifacts)"
DestinationFiles="@(_MonoIncludeArtifacts->'$(RuntimeBinDir)include\%(RecursiveDir)%(Filename)%(Extension)')"
SkipUnchangedFiles="true"
Condition="'$(MonoGenerateOffsetsOSGroups)' == '' and ('$(TargetsMacCatalyst)' == 'true' or '$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true' or '$(TargetsAndroid)' == 'true' or '$(TargetsBrowser)' == 'true')"/>
<Copy SourceFiles="@(_MonoRuntimeBuildArtifacts)"
DestinationFiles="@(_MonoRuntimeBuildArtifacts->'$(RuntimeBinDir)build\%(RecursiveDir)%(Filename)%(Extension)')"
SkipUnchangedFiles="true"
Condition="'$(BuildMonoAOTCrossCompilerOnly)' != 'true'" />
<Exec Condition="'$(BuildMonoAOTCrossCompilerOnly)' != 'true' and '$(MonoGenerateOffsetsOSGroups)' == '' and ('$(TargetsOSX)' == 'true' or '$(TargetsMacCatalyst)' == 'true' or '$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true')" Command="install_name_tool -id @rpath/$(MonoFileName) $(RuntimeBinDir)$(MonoFileName)" />
</Target>
<Target Name="CleanMono">
<RemoveDir Directories="$(MonoObjDir)" />
</Target>
</Project>
| 1 |
|
dotnet/runtime | 65,901 | Remove usages of native bootstrapping | hoyosjs | "2022-02-25T17:42:53Z" | "2022-02-25T22:06:34Z" | 2ce0af0b8404cf051783516cff4b07abccd5de00 | 8727ac772e1d8031691ee52e2d66e2520f78d01a | Remove usages of native bootstrapping. | ./eng/testing/performance/blazor_perf.proj | <Project Sdk="Microsoft.DotNet.Helix.Sdk" DefaultTargets="Test">
<PropertyGroup Condition="'$(AGENT_OS)' != 'Windows_NT'">
<Python>python3</Python>
<HelixPreCommands>$(HelixPreCommands);chmod +x $HELIX_WORKITEM_PAYLOAD/SOD/SizeOnDisk</HelixPreCommands>
</PropertyGroup>
<ItemGroup>
<HelixCorrelationPayload Include="$(CorrelationPayloadDirectory)">
<PayloadDirectory>%(Identity)</PayloadDirectory>
</HelixCorrelationPayload>
</ItemGroup>
<PropertyGroup Condition="'$(AGENT_OS)' == 'Windows_NT'">
<ScenarioDirectory>%HELIX_CORRELATION_PAYLOAD%\performance\src\scenarios\</ScenarioDirectory>
<BlazorMinDirectory>$(ScenarioDirectory)blazorminapp\</BlazorMinDirectory>
<BlazorDirectory>$(ScenarioDirectory)blazor\</BlazorDirectory>
<BlazorPizzaDirectory>$(ScenarioDirectory)blazorpizza\</BlazorPizzaDirectory>
<BlazorMinAOTDirectory>$(ScenarioDirectory)blazorminappaot\</BlazorMinAOTDirectory>
<BlazorAOTDirectory>$(ScenarioDirectory)blazoraot\</BlazorAOTDirectory>
<BlazorPizzaAOTDirectory>$(ScenarioDirectory)blazorpizzaaot\</BlazorPizzaAOTDirectory>
<PerflabTargetFrameworks>%PERFLAB_TARGET_FRAMEWORKS%</PerflabTargetFrameworks>
<PizzaAppPubLocation>pub\wwwroot</PizzaAppPubLocation>
<WASMRuntimeConfigPath>%HELIX_CORRELATION_PAYLOAD%\dotnet-wasm\artifacts\bin\mono\Browser.wasm.Release\build\RuntimeComponentManifest.json</WASMRuntimeConfigPath>
</PropertyGroup>
<PropertyGroup Condition="'$(AGENT_OS)' != 'Windows_NT'">
<ScenarioDirectory>$HELIX_CORRELATION_PAYLOAD/performance/src/scenarios/</ScenarioDirectory>
<BlazorMinDirectory>$(ScenarioDirectory)blazorminapp/</BlazorMinDirectory>
<BlazorDirectory>$(ScenarioDirectory)blazor/</BlazorDirectory>
<BlazorPizzaDirectory>$(ScenarioDirectory)blazorpizza/</BlazorPizzaDirectory>
<BlazorMinAOTDirectory>$(ScenarioDirectory)blazorminappaot/</BlazorMinAOTDirectory>
<BlazorAOTDirectory>$(ScenarioDirectory)blazoraot/</BlazorAOTDirectory>
<BlazorPizzaAOTDirectory>$(ScenarioDirectory)blazorpizzaaot/</BlazorPizzaAOTDirectory>
<PizzaAppPubLocation>pub/wwwroot</PizzaAppPubLocation>
<PerflabTargetFrameworks>$PERFLAB_TARGET_FRAMEWORKS</PerflabTargetFrameworks>
<WASMRuntimeConfigPath>$HELIX_CORRELATION_PAYLOAD/dotnet-wasm/artifacts/bin/mono/Browser.wasm.Release/build/RuntimeComponentManifest.json</WASMRuntimeConfigPath>
</PropertyGroup>
<ItemGroup>
<HelixWorkItem Include="SOD - Minimum Blazor Template - Publish">
<PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory>
<!-- Specifying both linker dump msbuild properties in case linker version is not updated -->
<PreCommands>cd $(BlazorMinDirectory);$(Python) pre.py publish --msbuild "/p:_TrimmerDumpDependencies=true;;/p:_MonoRuntimeComponentManifestJsonFilePath=$(WASMRuntimeConfigPath)" --msbuild-static AdditionalMonoLinkerOptions="%24(AdditionalMonoLinkerOptions) --dump-dependencies"</PreCommands>
<Command>$(Python) test.py sod --scenario-name "%(Identity)"</Command>
</HelixWorkItem>
<HelixWorkItem Include="SOD - Minimum Blazor Template - Publish - AOT">
<PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory>
<!-- Specifying both linker dump msbuild properties in case linker version is not updated -->
<PreCommands>cd $(BlazorMinAOTDirectory);$(Python) pre.py publish --msbuild "/p:_TrimmerDumpDependencies=true;;/p:_MonoRuntimeComponentManifestJsonFilePath=$(WASMRuntimeConfigPath)" --msbuild-static AdditionalMonoLinkerOptions="%24(AdditionalMonoLinkerOptions) --dump-dependencies"</PreCommands>
<Command>$(Python) test.py sod --scenario-name "%(Identity)"</Command>
</HelixWorkItem>
<HelixWorkItem Include="SOD - New Blazor Template - Publish">
<PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory>
<PreCommands>cd $(BlazorDirectory);$(Python) pre.py publish --msbuild %27/p:_TrimmerDumpDependencies=true%27 --msbuild-static AdditionalMonoLinkerOptions=%27"%24(AdditionalMonoLinkerOptions) --dump-dependencies"%27 --binlog %27./traces/blazor_publish.binlog%27</PreCommands>
<Command>$(Python) test.py sod --scenario-name "%(Identity)"</Command>
<PostCommands>$(Python) post.py</PostCommands>
</HelixWorkItem>
<HelixWorkItem Include="SOD - New Blazor Template - Publish - AOT">
<PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory>
<PreCommands>cd $(BlazorAOTDirectory);$(Python) pre.py publish --msbuild "/p:_TrimmerDumpDependencies=true;;/p:_MonoRuntimeComponentManifestJsonFilePath=$(WASMRuntimeConfigPath)" --msbuild-static AdditionalMonoLinkerOptions=%27"%24(AdditionalMonoLinkerOptions) --dump-dependencies"%27 --binlog %27./traces/blazor_publish.binlog%27</PreCommands>
<Command>$(Python) test.py sod --scenario-name "%(Identity)"</Command>
<PostCommands>$(Python) post.py</PostCommands>
</HelixWorkItem>
<HelixWorkItem Include="SOD - Pizza App - Publish">
<PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory>
<!-- Specifying both linker dump msbuild properties in case linker version is not updated -->
<PreCommands>cd $(BlazorPizzaDirectory);$(Python) pre.py publish -f $(PerflabTargetFrameworks) --msbuild "/p:_TrimmerDumpDependencies=true" --msbuild-static AdditionalMonoLinkerOptions=%27"%24(AdditionalMonoLinkerOptions) --dump-dependencies"%27 --binlog %27./traces/blazor_publish.binlog%27</PreCommands>
<Command>$(Python) test.py sod --scenario-name "%(Identity)" --dirs $(PizzaAppPubLocation)</Command>
<PostCommands>$(Python) post.py</PostCommands>
</HelixWorkItem>
<HelixWorkItem Include="SOD - Pizza App - Publish - AOT">
<PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory>
<!-- Specifying both linker dump msbuild properties in case linker version is not updated -->
<PreCommands>cd $(BlazorPizzaAOTDirectory);$(Python) pre.py publish -f $(PerflabTargetFrameworks) --msbuild "/p:_TrimmerDumpDependencies=true%3B/p:_MonoRuntimeComponentManifestJsonFilePath=$(WASMRuntimeConfigPath)" --msbuild-static AdditionalMonoLinkerOptions=%27"%24(AdditionalMonoLinkerOptions) --dump-dependencies"%27 --binlog %27./traces/blazor_publish.binlog%27</PreCommands>
<Command>$(Python) test.py sod --scenario-name "%(Identity)" --dirs $(PizzaAppPubLocation)</Command>
<PostCommands>$(Python) post.py</PostCommands>
<Timeout>1:00</Timeout>
</HelixWorkItem>
</ItemGroup>
</Project>
| <Project Sdk="Microsoft.DotNet.Helix.Sdk" DefaultTargets="Test">
<PropertyGroup Condition="'$(AGENT_OS)' != 'Windows_NT'">
<Python>python3</Python>
<HelixPreCommands>$(HelixPreCommands);chmod +x $HELIX_WORKITEM_PAYLOAD/SOD/SizeOnDisk</HelixPreCommands>
</PropertyGroup>
<ItemGroup>
<HelixCorrelationPayload Include="$(CorrelationPayloadDirectory)">
<PayloadDirectory>%(Identity)</PayloadDirectory>
</HelixCorrelationPayload>
</ItemGroup>
<PropertyGroup Condition="'$(AGENT_OS)' == 'Windows_NT'">
<ScenarioDirectory>%HELIX_CORRELATION_PAYLOAD%\performance\src\scenarios\</ScenarioDirectory>
<BlazorMinDirectory>$(ScenarioDirectory)blazorminapp\</BlazorMinDirectory>
<BlazorDirectory>$(ScenarioDirectory)blazor\</BlazorDirectory>
<BlazorPizzaDirectory>$(ScenarioDirectory)blazorpizza\</BlazorPizzaDirectory>
<BlazorMinAOTDirectory>$(ScenarioDirectory)blazorminappaot\</BlazorMinAOTDirectory>
<BlazorAOTDirectory>$(ScenarioDirectory)blazoraot\</BlazorAOTDirectory>
<BlazorPizzaAOTDirectory>$(ScenarioDirectory)blazorpizzaaot\</BlazorPizzaAOTDirectory>
<PerflabTargetFrameworks>%PERFLAB_TARGET_FRAMEWORKS%</PerflabTargetFrameworks>
<PizzaAppPubLocation>pub\wwwroot</PizzaAppPubLocation>
<WASMRuntimeConfigPath>%HELIX_CORRELATION_PAYLOAD%\dotnet-wasm\artifacts\bin\mono\Browser.wasm.Release\build\RuntimeComponentManifest.json</WASMRuntimeConfigPath>
</PropertyGroup>
<PropertyGroup Condition="'$(AGENT_OS)' != 'Windows_NT'">
<ScenarioDirectory>$HELIX_CORRELATION_PAYLOAD/performance/src/scenarios/</ScenarioDirectory>
<BlazorMinDirectory>$(ScenarioDirectory)blazorminapp/</BlazorMinDirectory>
<BlazorDirectory>$(ScenarioDirectory)blazor/</BlazorDirectory>
<BlazorPizzaDirectory>$(ScenarioDirectory)blazorpizza/</BlazorPizzaDirectory>
<BlazorMinAOTDirectory>$(ScenarioDirectory)blazorminappaot/</BlazorMinAOTDirectory>
<BlazorAOTDirectory>$(ScenarioDirectory)blazoraot/</BlazorAOTDirectory>
<BlazorPizzaAOTDirectory>$(ScenarioDirectory)blazorpizzaaot/</BlazorPizzaAOTDirectory>
<PizzaAppPubLocation>pub/wwwroot</PizzaAppPubLocation>
<PerflabTargetFrameworks>$PERFLAB_TARGET_FRAMEWORKS</PerflabTargetFrameworks>
<WASMRuntimeConfigPath>$HELIX_CORRELATION_PAYLOAD/dotnet-wasm/artifacts/bin/mono/Browser.wasm.Release/build/RuntimeComponentManifest.json</WASMRuntimeConfigPath>
</PropertyGroup>
<ItemGroup>
<HelixWorkItem Include="SOD - Minimum Blazor Template - Publish">
<PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory>
<!-- Specifying both linker dump msbuild properties in case linker version is not updated -->
<PreCommands>cd $(BlazorMinDirectory);$(Python) pre.py publish --msbuild "/p:_TrimmerDumpDependencies=true;;/p:_MonoRuntimeComponentManifestJsonFilePath=$(WASMRuntimeConfigPath)" --msbuild-static AdditionalMonoLinkerOptions="%24(AdditionalMonoLinkerOptions) --dump-dependencies"</PreCommands>
<Command>$(Python) test.py sod --scenario-name "%(Identity)"</Command>
</HelixWorkItem>
<HelixWorkItem Include="SOD - Minimum Blazor Template - Publish - AOT">
<PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory>
<!-- Specifying both linker dump msbuild properties in case linker version is not updated -->
<PreCommands>cd $(BlazorMinAOTDirectory);$(Python) pre.py publish --msbuild "/p:_TrimmerDumpDependencies=true;;/p:_MonoRuntimeComponentManifestJsonFilePath=$(WASMRuntimeConfigPath)" --msbuild-static AdditionalMonoLinkerOptions="%24(AdditionalMonoLinkerOptions) --dump-dependencies"</PreCommands>
<Command>$(Python) test.py sod --scenario-name "%(Identity)"</Command>
</HelixWorkItem>
<HelixWorkItem Include="SOD - New Blazor Template - Publish">
<PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory>
<PreCommands>cd $(BlazorDirectory);$(Python) pre.py publish --msbuild %27/p:_TrimmerDumpDependencies=true%27 --msbuild-static AdditionalMonoLinkerOptions=%27"%24(AdditionalMonoLinkerOptions) --dump-dependencies"%27 --binlog %27./traces/blazor_publish.binlog%27</PreCommands>
<Command>$(Python) test.py sod --scenario-name "%(Identity)"</Command>
<PostCommands>$(Python) post.py</PostCommands>
</HelixWorkItem>
<HelixWorkItem Include="SOD - New Blazor Template - Publish - AOT">
<PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory>
<PreCommands>cd $(BlazorAOTDirectory);$(Python) pre.py publish --msbuild "/p:_TrimmerDumpDependencies=true;;/p:_MonoRuntimeComponentManifestJsonFilePath=$(WASMRuntimeConfigPath)" --msbuild-static AdditionalMonoLinkerOptions=%27"%24(AdditionalMonoLinkerOptions) --dump-dependencies"%27 --binlog %27./traces/blazor_publish.binlog%27</PreCommands>
<Command>$(Python) test.py sod --scenario-name "%(Identity)"</Command>
<PostCommands>$(Python) post.py</PostCommands>
</HelixWorkItem>
<HelixWorkItem Include="SOD - Pizza App - Publish">
<PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory>
<!-- Specifying both linker dump msbuild properties in case linker version is not updated -->
<PreCommands>cd $(BlazorPizzaDirectory);$(Python) pre.py publish -f $(PerflabTargetFrameworks) --msbuild "/p:_TrimmerDumpDependencies=true" --msbuild-static AdditionalMonoLinkerOptions=%27"%24(AdditionalMonoLinkerOptions) --dump-dependencies"%27 --binlog %27./traces/blazor_publish.binlog%27</PreCommands>
<Command>$(Python) test.py sod --scenario-name "%(Identity)" --dirs $(PizzaAppPubLocation)</Command>
<PostCommands>$(Python) post.py</PostCommands>
</HelixWorkItem>
<HelixWorkItem Include="SOD - Pizza App - Publish - AOT">
<PayloadDirectory>$(WorkItemDirectory)</PayloadDirectory>
<!-- Specifying both linker dump msbuild properties in case linker version is not updated -->
<PreCommands>cd $(BlazorPizzaAOTDirectory);$(Python) pre.py publish -f $(PerflabTargetFrameworks) --msbuild "/p:_TrimmerDumpDependencies=true%3B/p:_MonoRuntimeComponentManifestJsonFilePath=$(WASMRuntimeConfigPath)" --msbuild-static AdditionalMonoLinkerOptions=%27"%24(AdditionalMonoLinkerOptions) --dump-dependencies"%27 --binlog %27./traces/blazor_publish.binlog%27</PreCommands>
<Command>$(Python) test.py sod --scenario-name "%(Identity)" --dirs $(PizzaAppPubLocation)</Command>
<PostCommands>$(Python) post.py</PostCommands>
<Timeout>1:00</Timeout>
</HelixWorkItem>
</ItemGroup>
</Project>
| -1 |
|
dotnet/runtime | 65,901 | Remove usages of native bootstrapping | hoyosjs | "2022-02-25T17:42:53Z" | "2022-02-25T22:06:34Z" | 2ce0af0b8404cf051783516cff4b07abccd5de00 | 8727ac772e1d8031691ee52e2d66e2520f78d01a | Remove usages of native bootstrapping. | ./src/mono/nuget/Microsoft.NET.Workload.Mono.Toolchain.Manifest/localize/WorkloadManifest.es.json | {
"workloads/wasm-tools/description": "Herramientas de compilación de WebAssembly de .NET"
} | {
"workloads/wasm-tools/description": "Herramientas de compilación de WebAssembly de .NET"
} | -1 |
|
dotnet/runtime | 65,901 | Remove usages of native bootstrapping | hoyosjs | "2022-02-25T17:42:53Z" | "2022-02-25T22:06:34Z" | 2ce0af0b8404cf051783516cff4b07abccd5de00 | 8727ac772e1d8031691ee52e2d66e2520f78d01a | Remove usages of native bootstrapping. | ./src/libraries/System.Runtime.Loader/tests/ApplyUpdate/System.Reflection.Metadata.ApplyUpdate.Test.CustomAttributeDelete/deltascript.json | {
"changes": [
{"document": "CustomAttributeDelete.cs", "update": "CustomAttributeDelete_v1.cs"},
]
}
| {
"changes": [
{"document": "CustomAttributeDelete.cs", "update": "CustomAttributeDelete_v1.cs"},
]
}
| -1 |
|
dotnet/runtime | 65,901 | Remove usages of native bootstrapping | hoyosjs | "2022-02-25T17:42:53Z" | "2022-02-25T22:06:34Z" | 2ce0af0b8404cf051783516cff4b07abccd5de00 | 8727ac772e1d8031691ee52e2d66e2520f78d01a | Remove usages of native bootstrapping. | ./src/libraries/System.Runtime.Loader/tests/ApplyUpdate/System.Reflection.Metadata.ApplyUpdate.Test.AddLambdaCapturingThis/deltascript.json | {
"changes": [
{"document": "AddLambdaCapturingThis.cs", "update": "AddLambdaCapturingThis_v1.cs"},
]
}
| {
"changes": [
{"document": "AddLambdaCapturingThis.cs", "update": "AddLambdaCapturingThis_v1.cs"},
]
}
| -1 |
|
dotnet/runtime | 65,901 | Remove usages of native bootstrapping | hoyosjs | "2022-02-25T17:42:53Z" | "2022-02-25T22:06:34Z" | 2ce0af0b8404cf051783516cff4b07abccd5de00 | 8727ac772e1d8031691ee52e2d66e2520f78d01a | Remove usages of native bootstrapping. | ./src/libraries/System.Private.Xml.Linq/tests/TrimmingTests/System.Xml.Linq.TrimmingTests.proj | <Project DefaultTargets="Build">
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props))" />
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.targets))" />
</Project>
| <Project DefaultTargets="Build">
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props))" />
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.targets))" />
</Project>
| -1 |
|
dotnet/runtime | 65,901 | Remove usages of native bootstrapping | hoyosjs | "2022-02-25T17:42:53Z" | "2022-02-25T22:06:34Z" | 2ce0af0b8404cf051783516cff4b07abccd5de00 | 8727ac772e1d8031691ee52e2d66e2520f78d01a | Remove usages of native bootstrapping. | ./src/mono/nuget/Microsoft.NET.Workload.Mono.Toolchain.Manifest/localize/WorkloadManifest.ko.json | {
"workloads/wasm-tools/description": ".NET WebAssembly 빌드 도구"
} | {
"workloads/wasm-tools/description": ".NET WebAssembly 빌드 도구"
} | -1 |
|
dotnet/runtime | 65,901 | Remove usages of native bootstrapping | hoyosjs | "2022-02-25T17:42:53Z" | "2022-02-25T22:06:34Z" | 2ce0af0b8404cf051783516cff4b07abccd5de00 | 8727ac772e1d8031691ee52e2d66e2520f78d01a | Remove usages of native bootstrapping. | ./eng/pipelines/common/templates/runtimes/android-runtime-and-send-to-helix.yml | parameters:
buildConfig: ''
archType: ''
osGroup: ''
osSubgroup: ''
container: ''
testGroup: ''
crossrootfsDir: ''
liveLibrariesBuildConfig: ''
helixQueues: ''
stagedBuild: false
displayNameArgs: ''
runtimeVariant: ''
variables: {}
pool: ''
runtimeFlavorDisplayName: 'Mono'
dependsOn: []
#arcade-specific parameters
condition: always()
continueOnError: false
displayName: ''
timeoutInMinutes: ''
enableMicrobuild: ''
gatherAssetManifests: false
shouldContinueOnError: false
steps:
- script: $(Build.SourcesDirectory)/src/tests/build$(scriptExt) /p:LibrariesConfiguration=${{ parameters.buildConfig }} -ci -mono os ${{ parameters.osGroup }} ${{ parameters.archType }} /p:RuntimeVariant=${{ parameters.runtimeVariant }} $(buildConfigUpper)
displayName: Build Tests
# Send tests to Helix
- template: /eng/pipelines/common/templates/runtimes/send-to-helix-step.yml
parameters:
displayName: Send tests to Helix
buildConfig: $(buildConfigUpper)
archType: ${{ parameters.archType }}
osGroup: ${{ parameters.osGroup }}
osSubgroup: ${{ parameters.osSubgroup}}
coreClrRepoRoot: $(Build.SourcesDirectory)/src/coreclr
runtimeFlavorDisplayName: ${{ parameters.runtimeFlavorDisplayName }}
shouldContinueOnError: ${{ parameters.shouldContinueOnError }}
runtimeVariant: ${{ parameters.runtimeVariant }}
${{ if eq(variables['System.TeamProject'], 'public') }}:
creator: $(Build.DefinitionName)
helixBuild: $(Build.BuildNumber)
helixSource: $(_HelixSource)
helixType: 'test/functional/cli/'
helixQueues: ${{ parameters.helixQueues }}
# This tests whether an array is empty
${{ if eq(join('', parameters.helixQueues), '') }}:
condition: false
publishTestResults: true
timeoutPerTestInMinutes: $(timeoutPerTestInMinutes)
timeoutPerTestCollectionInMinutes: $(timeoutPerTestCollectionInMinutes)
${{ if eq(variables['System.TeamProject'], 'internal') }}:
# Access token variable for internal project from the
# DotNet-HelixApi-Access variable group
helixAccessToken: $(HelixApiAccessToken)
helixProjectArguments: '$(Build.SourcesDirectory)/src/tests/Common/helixpublishwitharcade.proj'
scenarios: normal | parameters:
buildConfig: ''
archType: ''
osGroup: ''
osSubgroup: ''
container: ''
testGroup: ''
crossrootfsDir: ''
liveLibrariesBuildConfig: ''
helixQueues: ''
stagedBuild: false
displayNameArgs: ''
runtimeVariant: ''
variables: {}
pool: ''
runtimeFlavorDisplayName: 'Mono'
dependsOn: []
#arcade-specific parameters
condition: always()
continueOnError: false
displayName: ''
timeoutInMinutes: ''
enableMicrobuild: ''
gatherAssetManifests: false
shouldContinueOnError: false
steps:
- script: $(Build.SourcesDirectory)/src/tests/build$(scriptExt) /p:LibrariesConfiguration=${{ parameters.buildConfig }} -ci -mono os ${{ parameters.osGroup }} ${{ parameters.archType }} /p:RuntimeVariant=${{ parameters.runtimeVariant }} $(buildConfigUpper)
displayName: Build Tests
# Send tests to Helix
- template: /eng/pipelines/common/templates/runtimes/send-to-helix-step.yml
parameters:
displayName: Send tests to Helix
buildConfig: $(buildConfigUpper)
archType: ${{ parameters.archType }}
osGroup: ${{ parameters.osGroup }}
osSubgroup: ${{ parameters.osSubgroup}}
coreClrRepoRoot: $(Build.SourcesDirectory)/src/coreclr
runtimeFlavorDisplayName: ${{ parameters.runtimeFlavorDisplayName }}
shouldContinueOnError: ${{ parameters.shouldContinueOnError }}
runtimeVariant: ${{ parameters.runtimeVariant }}
${{ if eq(variables['System.TeamProject'], 'public') }}:
creator: $(Build.DefinitionName)
helixBuild: $(Build.BuildNumber)
helixSource: $(_HelixSource)
helixType: 'test/functional/cli/'
helixQueues: ${{ parameters.helixQueues }}
# This tests whether an array is empty
${{ if eq(join('', parameters.helixQueues), '') }}:
condition: false
publishTestResults: true
timeoutPerTestInMinutes: $(timeoutPerTestInMinutes)
timeoutPerTestCollectionInMinutes: $(timeoutPerTestCollectionInMinutes)
${{ if eq(variables['System.TeamProject'], 'internal') }}:
# Access token variable for internal project from the
# DotNet-HelixApi-Access variable group
helixAccessToken: $(HelixApiAccessToken)
helixProjectArguments: '$(Build.SourcesDirectory)/src/tests/Common/helixpublishwitharcade.proj'
scenarios: normal | -1 |
|
dotnet/runtime | 65,901 | Remove usages of native bootstrapping | hoyosjs | "2022-02-25T17:42:53Z" | "2022-02-25T22:06:34Z" | 2ce0af0b8404cf051783516cff4b07abccd5de00 | 8727ac772e1d8031691ee52e2d66e2520f78d01a | Remove usages of native bootstrapping. | ./eng/pipelines/coreclr/templates/superpmi-replay-job.yml | parameters:
buildConfig: '' # required -- build configuration
archType: '' # required -- targeting CPU architecture
osGroup: '' # required -- operating system for the job
osSubgroup: '' # optional -- operating system subgroup
pool: ''
timeoutInMinutes: 320 # build timeout
variables: {}
helixQueues: ''
dependOnEvaluatePaths: false
runJobTemplate: '/eng/pipelines/coreclr/templates/run-superpmi-replay-job.yml'
jobs:
- template: ${{ parameters.runJobTemplate }}
parameters:
jobName: ${{ format('superpmi_replay_{0}{1}_{2}_{3}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}
displayName: ${{ format('SuperPMI replay {0}{1} {2} {3}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}
pool: ${{ parameters.pool }}
buildConfig: ${{ parameters.buildConfig }}
archType: ${{ parameters.archType }}
osGroup: ${{ parameters.osGroup }}
osSubgroup: ${{ parameters.osSubgroup }}
dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }}
timeoutInMinutes: ${{ parameters.timeoutInMinutes }}
helixQueues: ${{ parameters.helixQueues }}
dependsOn:
- ${{ format('coreclr_jit_build_{0}{1}_{2}_{3}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}
variables: ${{ parameters.variables }}
steps:
# Download jit builds
- template: /eng/pipelines/common/download-artifact-step.yml
parameters:
unpackFolder: $(buildProductRootFolderPath)
artifactFileName: '$(buildProductArtifactName)$(archiveExtension)'
artifactName: '$(buildProductArtifactName)'
displayName: 'JIT product build' | parameters:
buildConfig: '' # required -- build configuration
archType: '' # required -- targeting CPU architecture
osGroup: '' # required -- operating system for the job
osSubgroup: '' # optional -- operating system subgroup
pool: ''
timeoutInMinutes: 320 # build timeout
variables: {}
helixQueues: ''
dependOnEvaluatePaths: false
runJobTemplate: '/eng/pipelines/coreclr/templates/run-superpmi-replay-job.yml'
jobs:
- template: ${{ parameters.runJobTemplate }}
parameters:
jobName: ${{ format('superpmi_replay_{0}{1}_{2}_{3}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}
displayName: ${{ format('SuperPMI replay {0}{1} {2} {3}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}
pool: ${{ parameters.pool }}
buildConfig: ${{ parameters.buildConfig }}
archType: ${{ parameters.archType }}
osGroup: ${{ parameters.osGroup }}
osSubgroup: ${{ parameters.osSubgroup }}
dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }}
timeoutInMinutes: ${{ parameters.timeoutInMinutes }}
helixQueues: ${{ parameters.helixQueues }}
dependsOn:
- ${{ format('coreclr_jit_build_{0}{1}_{2}_{3}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}
variables: ${{ parameters.variables }}
steps:
# Download jit builds
- template: /eng/pipelines/common/download-artifact-step.yml
parameters:
unpackFolder: $(buildProductRootFolderPath)
artifactFileName: '$(buildProductArtifactName)$(archiveExtension)'
artifactName: '$(buildProductArtifactName)'
displayName: 'JIT product build' | -1 |
|
dotnet/runtime | 65,901 | Remove usages of native bootstrapping | hoyosjs | "2022-02-25T17:42:53Z" | "2022-02-25T22:06:34Z" | 2ce0af0b8404cf051783516cff4b07abccd5de00 | 8727ac772e1d8031691ee52e2d66e2520f78d01a | Remove usages of native bootstrapping. | ./src/libraries/System.Data.Common/tests/TrimmingTests/System.Data.Common.TrimmingTests.proj | <Project DefaultTargets="Build">
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props))" />
<ItemGroup>
<TestConsoleAppSourceFiles Include="CreateSqlXmlReader.cs" />
<TestConsoleAppSourceFiles Include="DbConnectionStringBuilder.cs" />
</ItemGroup>
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.targets))" />
</Project>
| <Project DefaultTargets="Build">
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props))" />
<ItemGroup>
<TestConsoleAppSourceFiles Include="CreateSqlXmlReader.cs" />
<TestConsoleAppSourceFiles Include="DbConnectionStringBuilder.cs" />
</ItemGroup>
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.targets))" />
</Project>
| -1 |
|
dotnet/runtime | 65,901 | Remove usages of native bootstrapping | hoyosjs | "2022-02-25T17:42:53Z" | "2022-02-25T22:06:34Z" | 2ce0af0b8404cf051783516cff4b07abccd5de00 | 8727ac772e1d8031691ee52e2d66e2520f78d01a | Remove usages of native bootstrapping. | ./src/coreclr/.nuget/Microsoft.CrossOsDiag.Private.CoreCLR/Microsoft.CrossOsDiag.Private.CoreCLR.proj | <Project Sdk="Microsoft.Build.Traversal">
<PropertyGroup>
<BuildIdentityPackage>false</BuildIdentityPackage>
<SupportedRids>linux-x64;linux-musl-x64;linux-arm64;linux-musl-arm64;linux-arm;linux-musl-arm</SupportedRids>
</PropertyGroup>
<Target Name="VerifyCrossDacProperties" BeforeTargets="Build;Pack">
<Error Condition="'$(CrossDacArtifactsDir)' == '' or !Exists('$(CrossDacArtifactsDir)')"
Text="Packaging the Cross OS DAC requires property CrossDacArtifactsDir to to a path containing all cross OS DAC assets needed." />
</Target>
<Target Name="FilterSupportedCrossOsDacPackages" BeforeTargets="Build;Pack">
<ItemGroup>
<_projectsToBuild Include="@(Project)" Condition="$(SupportedRids.Contains('%(Project.PackageTargetRuntime)'))">
<AdditionalProperties Condition="'%(Project.PackageTargetRuntime)' == 'linux-x64'">%(AdditionalProperties);CrossDacBinRoot=$(CrossDacArtifactsDir)/Linux.x64.$(Configuration)/x64</AdditionalProperties>
<AdditionalProperties Condition="'%(Project.PackageTargetRuntime)' == 'linux-musl-x64'">%(AdditionalProperties);CrossDacBinRoot=$(CrossDacArtifactsDir)/Linux_musl.x64.$(Configuration)/x64</AdditionalProperties>
<AdditionalProperties Condition="'%(Project.PackageTargetRuntime)' == 'linux-arm64'">%(AdditionalProperties);CrossDacBinRoot=$(CrossDacArtifactsDir)/Linux.arm64.$(Configuration)/x64</AdditionalProperties>
<AdditionalProperties Condition="'%(Project.PackageTargetRuntime)' == 'linux-musl-arm64'">%(AdditionalProperties);CrossDacBinRoot=$(CrossDacArtifactsDir)/Linux_musl.arm64.$(Configuration)/x64</AdditionalProperties>
<AdditionalProperties Condition="'%(Project.PackageTargetRuntime)' == 'linux-arm'">%(AdditionalProperties);CrossDacBinRoot=$(CrossDacArtifactsDir)/Linux.arm.$(Configuration)/x86</AdditionalProperties>
<AdditionalProperties Condition="'%(Project.PackageTargetRuntime)' == 'linux-musl-arm'">%(AdditionalProperties);CrossDacBinRoot=$(CrossDacArtifactsDir)/Linux_musl.arm.$(Configuration)/x86</AdditionalProperties>
</_projectsToBuild>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="@(_projectsToBuild)" />
</ItemGroup>
</Target>
<Import Project="$([MSBuild]::GetPathOfFileAbove(versioning.targets))" />
</Project>
| <Project Sdk="Microsoft.Build.Traversal">
<PropertyGroup>
<BuildIdentityPackage>false</BuildIdentityPackage>
<SupportedRids>linux-x64;linux-musl-x64;linux-arm64;linux-musl-arm64;linux-arm;linux-musl-arm</SupportedRids>
</PropertyGroup>
<Target Name="VerifyCrossDacProperties" BeforeTargets="Build;Pack">
<Error Condition="'$(CrossDacArtifactsDir)' == '' or !Exists('$(CrossDacArtifactsDir)')"
Text="Packaging the Cross OS DAC requires property CrossDacArtifactsDir to to a path containing all cross OS DAC assets needed." />
</Target>
<Target Name="FilterSupportedCrossOsDacPackages" BeforeTargets="Build;Pack">
<ItemGroup>
<_projectsToBuild Include="@(Project)" Condition="$(SupportedRids.Contains('%(Project.PackageTargetRuntime)'))">
<AdditionalProperties Condition="'%(Project.PackageTargetRuntime)' == 'linux-x64'">%(AdditionalProperties);CrossDacBinRoot=$(CrossDacArtifactsDir)/Linux.x64.$(Configuration)/x64</AdditionalProperties>
<AdditionalProperties Condition="'%(Project.PackageTargetRuntime)' == 'linux-musl-x64'">%(AdditionalProperties);CrossDacBinRoot=$(CrossDacArtifactsDir)/Linux_musl.x64.$(Configuration)/x64</AdditionalProperties>
<AdditionalProperties Condition="'%(Project.PackageTargetRuntime)' == 'linux-arm64'">%(AdditionalProperties);CrossDacBinRoot=$(CrossDacArtifactsDir)/Linux.arm64.$(Configuration)/x64</AdditionalProperties>
<AdditionalProperties Condition="'%(Project.PackageTargetRuntime)' == 'linux-musl-arm64'">%(AdditionalProperties);CrossDacBinRoot=$(CrossDacArtifactsDir)/Linux_musl.arm64.$(Configuration)/x64</AdditionalProperties>
<AdditionalProperties Condition="'%(Project.PackageTargetRuntime)' == 'linux-arm'">%(AdditionalProperties);CrossDacBinRoot=$(CrossDacArtifactsDir)/Linux.arm.$(Configuration)/x86</AdditionalProperties>
<AdditionalProperties Condition="'%(Project.PackageTargetRuntime)' == 'linux-musl-arm'">%(AdditionalProperties);CrossDacBinRoot=$(CrossDacArtifactsDir)/Linux_musl.arm.$(Configuration)/x86</AdditionalProperties>
</_projectsToBuild>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="@(_projectsToBuild)" />
</ItemGroup>
</Target>
<Import Project="$([MSBuild]::GetPathOfFileAbove(versioning.targets))" />
</Project>
| -1 |