-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
39 changed files
with
1,773 additions
and
1,921 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#ifndef System_AppDomain_H__ | ||
#define System_AppDomain_H__ | ||
|
||
#pragma once | ||
|
||
#include <il2c.h> | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
///////////////////////////////////////////////////////////// | ||
// System.AppDomain | ||
|
||
typedef struct System_AppDomain System_AppDomain; | ||
|
||
typedef System_Object_VTABLE_DECL__ System_AppDomain_VTABLE_DECL__; | ||
|
||
struct System_AppDomain | ||
{ | ||
System_AppDomain_VTABLE_DECL__* vptr0__; | ||
System_UnhandledExceptionEventHandler* unhandledExceptionEventHandler__; | ||
}; | ||
|
||
#define System_AppDomain_VTABLE__ System_Object_VTABLE__ | ||
|
||
IL2C_DECLARE_RUNTIME_TYPE(System_AppDomain); | ||
|
||
extern void System_AppDomain_add_UnhandledException(System_AppDomain* this__, System_UnhandledExceptionEventHandler* value); | ||
extern void System_AppDomain_remove_UnhandledException(System_AppDomain* this__, System_UnhandledExceptionEventHandler* value); | ||
extern /* static */ System_AppDomain* System_AppDomain_get_CurrentDomain(void); | ||
|
||
extern void il2c_invoke_unhandled_exception_on_the_current_domain__(System_Object* exception); | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#ifndef System_EventArgs_H__ | ||
#define System_EventArgs_H__ | ||
|
||
#pragma once | ||
|
||
#include <il2c.h> | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
///////////////////////////////////////////////////////////// | ||
// System.EventArgs | ||
|
||
typedef struct System_EventArgs System_EventArgs; | ||
typedef struct System_Object_VTABLE_DECL__ System_EventArgs_VTABLE_DECL__; | ||
|
||
struct System_EventArgs | ||
{ | ||
System_EventArgs_VTABLE_DECL__* vptr0__; | ||
}; | ||
|
||
#define System_EventArgs_VTABLE__ System_Object_VTABLE__ | ||
|
||
IL2C_DECLARE_RUNTIME_TYPE(System_EventArgs); | ||
|
||
static inline void System_EventArgs__ctor(System_EventArgs* this__) | ||
{ | ||
} | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#ifndef System_UnhandledExceptionEventArgs_H__ | ||
#define System_UnhandledExceptionEventArgs_H__ | ||
|
||
#pragma once | ||
|
||
#include <il2c.h> | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
///////////////////////////////////////////////////////////// | ||
// System.UnhandledExceptionEventArgs | ||
|
||
typedef struct System_UnhandledExceptionEventArgs System_UnhandledExceptionEventArgs; | ||
typedef struct System_EventArgs_VTABLE_DECL__ System_UnhandledExceptionEventArgs_VTABLE_DECL__; | ||
|
||
struct System_UnhandledExceptionEventArgs | ||
{ | ||
System_UnhandledExceptionEventArgs_VTABLE_DECL__* vptr0__; | ||
System_Object* exception__; | ||
bool isTerminating__; | ||
}; | ||
|
||
#define System_UnhandledExceptionEventArgs_VTABLE__ System_EventArgs_VTABLE__ | ||
|
||
IL2C_DECLARE_RUNTIME_TYPE(System_UnhandledExceptionEventArgs); | ||
|
||
extern void System_UnhandledExceptionEventArgs__ctor( | ||
System_UnhandledExceptionEventArgs* this__, System_Object* exception, bool isTerminating); | ||
|
||
extern System_Object* System_UnhandledExceptionEventArgs_get_ExceptionObject(System_UnhandledExceptionEventArgs* this__); | ||
extern bool System_UnhandledExceptionEventArgs_get_IsTerminating(System_UnhandledExceptionEventArgs* this__); | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif |
30 changes: 30 additions & 0 deletions
30
IL2C.Runtime/include/System/UnhandledExceptionEventHandler.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#ifndef System_UnhandledExceptionEventHandler_H__ | ||
#define System_UnhandledExceptionEventHandler_H__ | ||
|
||
#pragma once | ||
|
||
#include <il2c.h> | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
///////////////////////////////////////////////////////////// | ||
// System.UnhandledExceptionEventHandler | ||
|
||
typedef System_MulticastDelegate System_UnhandledExceptionEventHandler; | ||
|
||
typedef System_MulticastDelegate_VTABLE_DECL__ System_UnhandledExceptionEventHandler_VTABLE_DECL__; | ||
|
||
#define System_UnhandledExceptionEventHandler_VTABLE__ System_MulticastDelegate_VTABLE__ | ||
|
||
IL2C_DECLARE_RUNTIME_TYPE(System_UnhandledExceptionEventHandler); | ||
|
||
extern void System_UnhandledExceptionEventHandler_Invoke( | ||
System_UnhandledExceptionEventHandler* this__, System_Object* sender, System_UnhandledExceptionEventArgs* e); | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.