repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
bring Mono Security to monotouch
[mcs.git]
/
tests
/
test-251.cs
blob
156de30c80ff81df53fb4e34abd1896a88cb2bbb
1
//
2
// Tests the valid value types for volatile fields.
3
//
4
5
using
System
;
6
7
interface
R
{
8
}
9
10
enum
XX
{
11
A
12
}
13
14
class
X
{
15
volatile byte
a
;
16
volatile sbyte
b
;
17
volatile short
c
;
18
volatile ushort
d
;
19
volatile int
e
;
20
volatile uint
f
;
21
volatile char
g
;
22
volatile float
h
;
23
volatile bool
i
;
24
volatile
X x
;
25
volatile
R r
;
26
volatile
XX dd
;
27
volatile
IntPtr ip
;
28
volatile
UIntPtr uip
;
29
30
static void
Main
() {}
31
}