22 references to VersionMajor
Microsoft.CodeAnalysis (2)
MetadataReference\AssemblyIdentity.DisplayName.cs (1)
631
parts |= (AssemblyIdentityParts)((int)AssemblyIdentityParts.
VersionMajor
<< partIndex);
MetadataReference\AssemblyIdentityParts.cs (1)
13
Version =
VersionMajor
| VersionMinor | VersionBuild | VersionRevision,
Microsoft.CodeAnalysis.Scripting (1)
src\Compilers\Shared\GlobalAssemblyCacheHelpers\FusionAssemblyIdentity.cs (1)
233
parts |= AssemblyIdentityParts.
VersionMajor
;
Microsoft.CodeAnalysis.UnitTests (19)
MetadataReferences\AssemblyIdentityDisplayNameTests.cs (18)
424
new AssemblyIdentity("goo", new Version(1, 0, 0, 0)), N | AssemblyIdentityParts.
VersionMajor
);
445
TestParseVersion("1", 1, 0, 0, 0, AssemblyIdentityParts.
VersionMajor
);
446
TestParseVersion("65535", 65535, 0, 0, 0, AssemblyIdentityParts.
VersionMajor
);
450
TestParseVersion("1.", 1, 0, 0, 0, AssemblyIdentityParts.
VersionMajor
);
451
TestParseVersion("0.1", 0, 1, 0, 0, AssemblyIdentityParts.
VersionMajor
| AssemblyIdentityParts.VersionMinor);
452
TestParseVersion("1.2", 1, 2, 0, 0, AssemblyIdentityParts.
VersionMajor
| AssemblyIdentityParts.VersionMinor);
456
TestParseVersion("1..", 1, 0, 0, 0, AssemblyIdentityParts.
VersionMajor
);
457
TestParseVersion("1.2.", 1, 2, 0, 0, AssemblyIdentityParts.
VersionMajor
| AssemblyIdentityParts.VersionMinor);
458
TestParseVersion("1.2.3", 1, 2, 3, 0, AssemblyIdentityParts.
VersionMajor
| AssemblyIdentityParts.VersionMinor | AssemblyIdentityParts.VersionBuild);
460
TestParseVersion("1..3", 1, 0, 3, 0, AssemblyIdentityParts.
VersionMajor
| AssemblyIdentityParts.VersionBuild);
462
TestParseVersion("1.2.3.", 1, 2, 3, 0, AssemblyIdentityParts.
VersionMajor
| AssemblyIdentityParts.VersionMinor | AssemblyIdentityParts.VersionBuild);
463
TestParseVersion("1.2..4", 1, 2, 0, 4, AssemblyIdentityParts.
VersionMajor
| AssemblyIdentityParts.VersionMinor | AssemblyIdentityParts.VersionRevision);
464
TestParseVersion("1.2..", 1, 2, 0, 0, AssemblyIdentityParts.
VersionMajor
| AssemblyIdentityParts.VersionMinor);
465
TestParseVersion("1.2.3.4", 1, 2, 3, 4, AssemblyIdentityParts.
VersionMajor
| AssemblyIdentityParts.VersionMinor | AssemblyIdentityParts.VersionBuild | AssemblyIdentityParts.VersionRevision);
469
AssemblyIdentityParts.
VersionMajor
| AssemblyIdentityParts.VersionMinor | AssemblyIdentityParts.VersionBuild | AssemblyIdentityParts.VersionRevision);
472
TestParseVersion("*", 0, 0, 0, 0, AssemblyIdentityParts.
VersionMajor
);
473
TestParseVersion("1.*", 1, 0, 0, 0, AssemblyIdentityParts.
VersionMajor
| AssemblyIdentityParts.VersionMinor);
474
TestParseVersion("1.2.*", 1, 2, 0, 0, AssemblyIdentityParts.
VersionMajor
| AssemblyIdentityParts.VersionMinor | AssemblyIdentityParts.VersionBuild);
src\Compilers\Shared\GlobalAssemblyCacheHelpers\FusionAssemblyIdentity.cs (1)
233
parts |= AssemblyIdentityParts.
VersionMajor
;