mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-04 23:36:00 +02:00
Renamed System.Collections.Generic to System.Collections
This commit is contained in:
parent
4cb9791845
commit
dbd9b32e3f
281 changed files with 368 additions and 341 deletions
|
@ -2,7 +2,7 @@
|
|||
// of an open-sourcing initiative in 2014 of the C# core libraries.
|
||||
// The original source was submitted to https://github.com/Microsoft/referencesource
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Collections;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace System
|
||||
|
@ -22,7 +22,7 @@ namespace System
|
|||
[Inline]
|
||||
set
|
||||
{
|
||||
// We only allow reducing the length - consider using System.Collections.Generic.List<T> when dynamic sizing is required
|
||||
// We only allow reducing the length - consider using System.Collections.List<T> when dynamic sizing is required
|
||||
Runtime.Assert(value <= mLength);
|
||||
mLength = (.)value;
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace System.Collections
|
|||
}
|
||||
}
|
||||
|
||||
namespace System.Collections.Generic
|
||||
namespace System.Collections
|
||||
{
|
||||
interface IEnumerator<T>
|
||||
{
|
||||
|
|
|
@ -12,7 +12,7 @@ using System.Diagnostics.Contracts;
|
|||
using System.Threading;
|
||||
using System.Reflection;
|
||||
|
||||
namespace System.Collections.Generic
|
||||
namespace System.Collections
|
||||
{
|
||||
interface IList
|
||||
{
|
|
@ -2,7 +2,7 @@
|
|||
// of an open-sourcing initiative in 2014 of the C# core libraries.
|
||||
// The original source was submitted to https://github.com/Microsoft/referencesource
|
||||
|
||||
namespace System.Collections.Generic
|
||||
namespace System.Collections
|
||||
{
|
||||
struct Sorter<T, T2>
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Collections;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace System
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Collections;
|
||||
using System.Reflection;
|
||||
|
||||
namespace System
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
using System.Reflection;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace System
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using System;
|
||||
using System.Reflection;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace System
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Collections;
|
||||
|
||||
namespace System.Reflection
|
||||
{
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
using System.Diagnostics;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections;
|
||||
|
||||
namespace System
|
||||
{
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
using System.Diagnostics;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections;
|
||||
|
||||
namespace System
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using System;
|
||||
using System.Reflection;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace System
|
||||
|
|
|
@ -12,9 +12,9 @@
|
|||
//using IDE;
|
||||
using System;
|
||||
//using System.Threading;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections;
|
||||
using System.Diagnostics;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections;
|
||||
using System.Collections;
|
||||
using System.Threading;
|
||||
|
||||
|
@ -237,7 +237,8 @@ namespace Hey.Dude.Bro
|
|||
|
||||
public static int Main(String[] args)
|
||||
{
|
||||
Blurg.Hey();
|
||||
for (int i < 10)
|
||||
Blurg.Hey();
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,17 +1,42 @@
|
|||
// more text at the end of the first line. This is more text.
|
||||
using System;
|
||||
|
||||
using System;
|
||||
|
||||
class Pooble
|
||||
|
||||
|
||||
class Program
|
||||
{
|
||||
public void Test(int abcdefgh, int abcdefgh2, int abcdefgh3, int abcdefgh4, int abcdefgh5, int abcdefgh6, int abcdefgh7, int abcdefgh8)
|
||||
{
|
||||
}
|
||||
private function bool on_send_recv_delegate(uint8* data, ref int length);
|
||||
|
||||
public static float sVal = 9;
|
||||
struct plugin_header
|
||||
{
|
||||
public on_send_recv_delegate on_recv;
|
||||
public on_send_recv_delegate on_send;
|
||||
}
|
||||
|
||||
public static mixin Zorp(var z)
|
||||
{
|
||||
z * sVal
|
||||
}
|
||||
private static bool on_recv(uint8* data, ref int length)
|
||||
{
|
||||
//Console.WriteLine(scope String().AppendF("RECV\tID: {}", data[0]));
|
||||
return true;
|
||||
}
|
||||
|
||||
private static bool on_send(uint8* data, ref int length)
|
||||
{
|
||||
//Console.WriteLine(scope String().AppendF("SEND\tID: {}", data[0]));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
[CLink]
|
||||
[Export]
|
||||
public static void Install(void* ptr)
|
||||
{
|
||||
plugin_header* plugin = (plugin_header*) ptr;
|
||||
|
||||
plugin.on_recv = => on_recv;
|
||||
plugin.on_send = => on_send;
|
||||
|
||||
//Console.WriteLine("INSTALLED!!!");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -3,41 +3,29 @@
|
|||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Threading;
|
||||
using System.Collections.Generic;
|
||||
|
||||
struct Smibbs
|
||||
{
|
||||
public int16 mX = 11;
|
||||
public int16 mY = 22;
|
||||
public int16 mZ = 33;
|
||||
}
|
||||
|
||||
namespace PropertyStructCrash
|
||||
{
|
||||
struct B
|
||||
{
|
||||
public int c;
|
||||
}
|
||||
|
||||
struct A
|
||||
{
|
||||
public B Prop { get; set; }
|
||||
}
|
||||
|
||||
class Program
|
||||
{
|
||||
public static void Main()
|
||||
{
|
||||
var c = '¥';
|
||||
}
|
||||
}
|
||||
}
|
||||
using System.Collections;
|
||||
|
||||
struct Blurg
|
||||
{
|
||||
public static void Hey()
|
||||
{
|
||||
PropertyStructCrash.Program.Main();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
struct StructA
|
||||
{
|
||||
public int mA = 99;
|
||||
}
|
||||
|
||||
/*namespace System
|
||||
{
|
||||
extension String
|
||||
{
|
||||
public String SubText(String input, int position, int length)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}*/
|
Loading…
Add table
Add a link
Reference in a new issue