mirror of
https://github.com/twiglet/cs2j.git
synced 2025-01-18 13:15:17 +01:00
26 lines
306 B
C#
26 lines
306 B
C#
using System;
|
|
|
|
// Test translation for lock statements
|
|
|
|
namespace Tester.Hash
|
|
{
|
|
|
|
public class A {
|
|
|
|
public override int GetHashCode(){
|
|
return 5;
|
|
}
|
|
|
|
}
|
|
|
|
public class B {
|
|
|
|
public void fred(){
|
|
A tmp = new A();
|
|
int x = tmp.GetHashCode();
|
|
}
|
|
|
|
}
|
|
|
|
}
|