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

◆ Version() [3/6]

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

Definition at line 91 of file Version.cs.

92 {
93 if (major < 0)
94 {
95 throw new ArgumentOutOfRangeException("major", SR.ArgumentOutOfRange_Version);
96 }
97 if (minor < 0)
98 {
99 throw new ArgumentOutOfRangeException("minor", SR.ArgumentOutOfRange_Version);
100 }
101 _Major = major;
102 _Minor = minor;
103 _Build = -1;
104 _Revision = -1;
105 }
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.