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

◆ Version() [1/6]

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

Definition at line 47 of file Version.cs.

48 {
49 if (major < 0)
50 {
51 throw new ArgumentOutOfRangeException("major", SR.ArgumentOutOfRange_Version);
52 }
53 if (minor < 0)
54 {
55 throw new ArgumentOutOfRangeException("minor", SR.ArgumentOutOfRange_Version);
56 }
57 if (build < 0)
58 {
59 throw new ArgumentOutOfRangeException("build", SR.ArgumentOutOfRange_Version);
60 }
61 if (revision < 0)
62 {
63 throw new ArgumentOutOfRangeException("revision", SR.ArgumentOutOfRange_Version);
64 }
65 _Major = major;
66 _Minor = minor;
67 _Build = build;
68 _Revision = revision;
69 }
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.

Referenced by System.Net.SecurityPackageInfoClass.SecurityPackageInfoClass(), System.Runtime.Versioning.FrameworkName.Equals(), and System.ApplicationId.Equals().