Skip to content

Commit

Permalink
Update mscorlib declaration
Browse files Browse the repository at this point in the history
- Remove Console class.
- Update declarations.
  • Loading branch information
josesimoes committed Mar 19, 2021
1 parent 2b78ffa commit 01f50dc
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 38 deletions.
1 change: 0 additions & 1 deletion CMake/Modules/FindNF_CoreCLR.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ set(NF_CoreCLR_SRCS
corlib_native_System_Attribute.cpp
corlib_native_System_BitConverter.cpp
corlib_native_System_Collections_ArrayList.cpp
corlib_native_System_Console.cpp
corlib_native_System_Convert.cpp
corlib_native_System_DateTime.cpp
corlib_native_System_Delegate.cpp
Expand Down
8 changes: 3 additions & 5 deletions src/CLR/CorLib/corlib_native.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,6 @@ static const CLR_RT_MethodHandler method_lookup[] =
Library_corlib_native_System_Collections_ArrayList::SetCapacity___VOID__I4,
NULL,
NULL,
Library_corlib_native_System_Console::OutNative___STATIC__VOID__STRING__BOOLEAN,
NULL,
NULL,
NULL,
Expand Down Expand Up @@ -1047,7 +1046,6 @@ static const CLR_RT_MethodHandler method_lookup[] =
Library_corlib_native_System_Collections_ArrayList::SetCapacity___VOID__I4,
NULL,
NULL,
Library_corlib_native_System_Console::OutNative___STATIC__VOID__STRING__BOOLEAN,
NULL,
NULL,
NULL,
Expand Down Expand Up @@ -1469,18 +1467,18 @@ const CLR_RT_NativeAssemblyData g_CLR_AssemblyNative_mscorlib =

#if (NANOCLR_REFLECTION == TRUE)

0x859E7E8A,
0x7B586F51,

#elif (NANOCLR_REFLECTION == FALSE)

0xD4D76535,
0x670A0475,

#else
#error "NANOCLR_REFLECTION has to be define either TRUE or FALSE. Check the build options."
#endif

method_lookup,
{ 100, 5, 0, 5 }
{ 100, 5, 0, 6 }
};

// clang-format on
8 changes: 0 additions & 8 deletions src/CLR/CorLib/corlib_native.h
Original file line number Diff line number Diff line change
Expand Up @@ -463,14 +463,6 @@ struct Library_corlib_native_System_ComponentModel_EditorBrowsableState
//--//
};

struct Library_corlib_native_System_Console
{

NANOCLR_NATIVE_DECLARE(OutNative___STATIC__VOID__STRING__BOOLEAN);

//--//
};

struct Library_corlib_native_System_Int64
{

Expand Down
24 changes: 0 additions & 24 deletions src/CLR/CorLib/corlib_native_System_Console.cpp

This file was deleted.

0 comments on commit 01f50dc

Please sign in to comment.