repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[interp] Reduce computation under calc_section mutex
[mono-project.git]
/
mcs
/
tests
/
test-594.cs
blob
2d0ff9ef9c7696194d4b38375800512fd6235120
1
using
System
;
2
using
System
.
Reflection
;
3
4
[
assembly
:
AssemblyVersion
(
"2.3.*"
)]
5
6
public class
Test
7
{
8
public static int
Main
()
9
{
10
var
v
=
typeof
(
Test
).
Assembly
.
GetName
().
Version
;
11
if
(
v
.
Major
!=
2
)
12
return
1
;
13
14
if
(
v
.
Minor
!=
3
)
15
return
2
;
16
17
if
(
v
.
Build
<
1
)
18
return
3
;
19
20
if
(
v
.
Revision
<
1
)
21
return
4
;
22
23
return
0
;
24
}
25
}