Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Version() [2/6]

System.Version.Version ( int major,
int minor,
int build )
inline

Definition at line 71 of file Version.cs.

72 {
73 if (major < 0)
74 {
75 throw new ArgumentOutOfRangeException("major", SR.ArgumentOutOfRange_Version);
76 }
77 if (minor < 0)
78 {
79 throw new ArgumentOutOfRangeException("minor", SR.ArgumentOutOfRange_Version);
80 }
81 if (build < 0)
82 {
83 throw new ArgumentOutOfRangeException("build", SR.ArgumentOutOfRange_Version);
84 }
85 _Major = major;
86 _Minor = minor;
87 _Build = build;
88 _Revision = -1;
89 }
readonly int _Minor
Definition Version.cs:13
readonly int _Major
Definition Version.cs:11
readonly int _Build
Definition Version.cs:15
readonly int _Revision
Definition Version.cs:17

References System.Version._Build, System.Version._Major, System.Version._Minor, System.Version._Revision, and System.SR.ArgumentOutOfRange_Version.