mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-07 00:32:29 +00:00
This commit is contained in:
parent
82a22d212d
commit
f86b002fd4
2 changed files with 2 additions and 4 deletions
|
|
@ -13,7 +13,7 @@ namespace Cosmos.Sys.Plugs
|
||||||
public static class FileInfoImpl
|
public static class FileInfoImpl
|
||||||
{
|
{
|
||||||
//[PlugMethod(Signature = "System_Void__System_IO_FileInfo__ctor_System_String_")]
|
//[PlugMethod(Signature = "System_Void__System_IO_FileInfo__ctor_System_String_")]
|
||||||
public static void Cbtor(
|
public static void Ctor(
|
||||||
FileInfo aThis,
|
FileInfo aThis,
|
||||||
[FieldAccess(Name = "$$Storage$$")] ref FilesystemEntry aStorage,
|
[FieldAccess(Name = "$$Storage$$")] ref FilesystemEntry aStorage,
|
||||||
String aFile
|
String aFile
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,6 @@ namespace Cosmos.IL2CPU {
|
||||||
// how it compares objects.
|
// how it compares objects.
|
||||||
public class HashcodeComparer<T>: IEqualityComparer<T> {
|
public class HashcodeComparer<T>: IEqualityComparer<T> {
|
||||||
|
|
||||||
#region IEqualityComparer<T> Members
|
|
||||||
|
|
||||||
public bool Equals(T x, T y) {
|
public bool Equals(T x, T y) {
|
||||||
return x.GetHashCode() == y.GetHashCode();
|
return x.GetHashCode() == y.GetHashCode();
|
||||||
}
|
}
|
||||||
|
|
@ -25,8 +23,8 @@ namespace Cosmos.IL2CPU {
|
||||||
return obj.GetHashCode();
|
return obj.GetHashCode();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class ILScanner : IDisposable {
|
public class ILScanner : IDisposable {
|
||||||
protected ILReader mReader;
|
protected ILReader mReader;
|
||||||
protected Assembler mAsmblr;
|
protected Assembler mAsmblr;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue