mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +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
|
@ -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