projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #5675 from mono/glib-debug-symbols
[mono.git]
/
mcs
/
tests
/
test-120.cs
diff --git
a/mcs/tests/test-120.cs
b/mcs/tests/test-120.cs
index b076ef39f1b5fce716eb47570737d6c757da166f..52322d37a55ae76f32ef29f7a49b340f3074c4df 100644
(file)
--- a/
mcs/tests/test-120.cs
+++ b/
mcs/tests/test-120.cs
@@
-29,25
+29,25
@@
struct MyAuto
class test
{
class test
{
- static int Main ()
+
public
static int Main ()
{
int errors = 0;
Type t = typeof (MyUnicode);
{
int errors = 0;
Type t = typeof (MyUnicode);
- if ((t.Attributes & TypeAttributes.
UnicodeClass
) != TypeAttributes.UnicodeClass){
+ if ((t.Attributes & TypeAttributes.
StringFormatMask
) != TypeAttributes.UnicodeClass){
Console.WriteLine ("Class MyUnicode does not have Unicode bit set");
errors += 1;
}
t = typeof (MyAuto);
Console.WriteLine ("Class MyUnicode does not have Unicode bit set");
errors += 1;
}
t = typeof (MyAuto);
- if ((t.Attributes & TypeAttributes.
AutoClass
) != TypeAttributes.AutoClass){
+ if ((t.Attributes & TypeAttributes.
StringFormatMask
) != TypeAttributes.AutoClass){
Console.WriteLine ("Class MyAuto does not have Auto bit set");
errors += 2;
}
t = typeof (MyAnsi);
Console.WriteLine ("Class MyAuto does not have Auto bit set");
errors += 2;
}
t = typeof (MyAnsi);
- if ((t.Attributes & TypeAttributes.
AnsiClass
) != TypeAttributes.AnsiClass){
+ if ((t.Attributes & TypeAttributes.
StringFormatMask
) != TypeAttributes.AnsiClass){
Console.WriteLine ("Class MyUnicode does not have Ansi bit set");
errors += 4;
}
Console.WriteLine ("Class MyUnicode does not have Ansi bit set");
errors += 4;
}