101 references to Minor
ComSvcConfig (7)
ComAdminWrapper.cs (6)
691if (clrVersion.Major == installedClrVersion.Major && clrVersion.Minor == installedClrVersion.Minor) 706if (clrVersion.Major == releasedCLRVersion.Major && clrVersion.Minor == releasedCLRVersion.Minor) 769if (appClrVersion.Major == 4 && appClrVersion.Minor == 0) 773else if (appClrVersion.Major == 2 && appClrVersion.Minor == 0)
Tool.cs (1)
917if ((Environment.OSVersion.Version.Major == 5) && (Environment.OSVersion.Version.Minor == 1))
mscorlib (8)
system\AppContext\AppContextDefaultValues.cs (2)
140if (realVersion.Minor > 0) 141version += realVersion.Minor * 100;
system\diagnostics\eventing\eventsource.cs (1)
1520var osVer = Environment.OSVersion.Version.Major * 10 + Environment.OSVersion.Version.Minor;
system\environment.cs (1)
1180((OS.Version.Major == 6 && OS.Version.Minor >= 2) || (OS.Version.Major > 6)));
system\operatingsystem.cs (1)
133((_version.Major == 4) && (_version.Minor > 0)))
system\runtime\versioning\binarycompatibility.cs (2)
426if (realVersion.Minor > 0) 427version += realVersion.Minor * 100;
system\version.cs (1)
94_Minor = v.Minor;
PresentationCore (2)
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (1)
271osInfo.Version.Minor == 0);
Core\CSharp\System\Windows\Interop\OperatingSystemVersionCheck.cs (1)
54(((os.Version.Major == major) && (os.Version.Minor >= minor)) || (os.Version.Major > major));
PresentationFramework (4)
parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (2)
140if (realVersion.Minor > 0) 141version += realVersion.Minor * 100;
src\Framework\System\Windows\Controls\WebBrowser.cs (1)
1069if (osver.Major == 5 && osver.Minor == 2 && osver.MajorRevision == 0)
src\Framework\System\Windows\Interop\DocobjHost.cs (1)
434if (os.Version.Major == 5 && os.Version.Minor == 1)
System (15)
net\System\Net\Cache\_Rfc2616CacheValidators.cs (4)
135if (ctx.CacheHttpVersion.Major <= 1 && ctx.CacheHttpVersion.Minor < 1) { 261ctx.CacheHttpVersion.Minor < 1 && resp.ProtocolVersion.Minor <1 && 1668if (ctx.CacheHttpVersion.Major == 1 && ctx.CacheHttpVersion.Minor == 0)
net\System\Net\HttpListenerResponse.cs (6)
230if (value==EntitySendFormat.Chunked && HttpListenerRequest.ProtocolVersion.Minor==0) { 329if (value.Major!=1 || (value.Minor!=0 && value.Minor!=1)) { 333m_NativeResponse.Version.MinorVersion = (ushort)value.Minor; 650if (HttpListenerRequest.ProtocolVersion.Minor==0) { 689if (HttpListenerRequest.ProtocolVersion.Minor == 0)
parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (2)
140if (realVersion.Minor > 0) 141version += realVersion.Minor * 100;
services\monitoring\system\diagnosticts\ProcessManager.cs (1)
140(Environment.OSVersion.Version.Major == 5 && Environment.OSVersion.Version.Minor == 0);
services\monitoring\system\diagnosticts\SharedUtils.cs (1)
252string versionPrefix = "v" + Environment.Version.Major + "." + Environment.Version.Minor;
sys\System\EnvironmentHelpers.cs (1)
20} else if(Environment.OSVersion.Version.Major < 6 || (Environment.OSVersion.Version.Major == 6 && Environment.OSVersion.Version.Minor <= 1)) {
System.Activities.DurableInstancing (4)
System\Activities\DurableInstancing\SerializationUtilities.cs (4)
277version = new Version(id.Version.Major, id.Version.Minor, id.Version.Build); 281version = new Version(id.Version.Minor, id.Version.Minor); 410xmlWriter.WriteElementString("Minor", id.Version.Minor.ToString(CultureInfo.InvariantCulture));
System.Activities.Presentation (4)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\ExpressionSettingHelper.cs (1)
55return frameworkName.Version.Major > 4 || (frameworkName.Version.Major == 4 && frameworkName.Version.Minor >= 5);
Microsoft.Tools.Common\Microsoft\Activities\Presentation\FrameworkNameExtensions.cs (2)
13return frameworkName.Version.Major > 4 || (frameworkName.Version.Major == 4 && frameworkName.Version.Minor >= 5); 18return frameworkName.Version.Major < 4 || (frameworkName.Version.Major == 4 && frameworkName.Version.Minor < 5);
System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (1)
546sb.Append(name.Version.Minor);
System.AddIn (1)
System\Addin\MiniReflection\MetadataReader\AssemblyInfo.cs (1)
115Version.Minor + "." + Version.Build + "." + Version.Revision;
System.ComponentModel.DataAnnotations (2)
parent\parent\parent\parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (2)
140if (realVersion.Minor > 0) 141version += realVersion.Minor * 100;
System.Core (2)
System\Diagnostics\Eventing\EventProvider.cs (1)
35private static bool s_preWin7 = (Environment.OSVersion.Version.Major < 6 || (Environment.OSVersion.Version.Major == 6 && Environment.OSVersion.Version.Minor < 1));
System\Security\Cryptography\AesCryptoServiceProvider.cs (1)
43if (Environment.OSVersion.Version.Major == 5 && Environment.OSVersion.Version.Minor == 1) {
System.Data (5)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\ExpressionSettingHelper.cs (1)
55return frameworkName.Version.Major > 4 || (frameworkName.Version.Major == 4 && frameworkName.Version.Minor >= 5);
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\FrameworkNameExtensions.cs (2)
13return frameworkName.Version.Major > 4 || (frameworkName.Version.Major == 4 && frameworkName.Version.Minor >= 5); 18return frameworkName.Version.Major < 4 || (frameworkName.Version.Major == 4 && frameworkName.Version.Minor < 5);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (1)
546sb.Append(name.Version.Minor);
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
755payload[payloadLength++] = (byte)(systemDataVersion.Minor & 0xff);
System.Data.Entity (2)
System\Data\Common\EntityUtil.cs (2)
1924(targetAssemblyName.Version.Minor != assemblyName.Version.Minor))
System.Data.Entity.Design (1)
System\Data\Entity\Design\EntityFrameworkVersions.cs (1)
86if (entityFrameworkVersion.Minor == 1)
System.Data.Services (4)
System\Data\Services\RequestDescription.cs (1)
635(major == versionToRaise.Major && minor > versionToRaise.Minor))
System\Data\Services\WebUtil.cs (3)
1559requestDescription.RequireMinimumVersion.Minor); 1583requestDescription.ResponseVersion.Minor); 1595RequestDescription.DataServiceDefaultResponseVersion.Minor);
System.Data.Services.Client (1)
System\Data\Services\Client\ALinq\UriWriter.cs (1)
557(major == this.uriVersion.Major && minor > this.uriVersion.Minor))
System.Drawing (2)
parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (2)
140if (realVersion.Minor > 0) 141version += realVersion.Minor * 100;
System.IdentityModel (2)
parent\parent\parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (2)
140if (realVersion.Minor > 0) 141version += realVersion.Minor * 100;
System.IO.Compression.FileSystem (2)
parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (2)
140if (realVersion.Minor > 0) 141version += realVersion.Minor * 100;
System.Management (4)
Instrumentation\AssemblyNameUtility.cs (3)
31 return an.Name + "_SN_"+BinToString(an.GetPublicKeyToken()) + "_Version_"+an.Version.Major +"."+ an.Version.Minor; // +"."+ an.Version.Build+"."+an.Version.Revision; 37 return an.Name + "_SN_"+BinToString(an.GetPublicKeyToken()) + "_Version_"+an.Version.Major +"."+ an.Version.Minor+"."+ an.Version.Build+"."+an.Version.Revision; 44return an.Name + "_SN_"+BinToString(an.GetPublicKeyToken()) + "_Version_"+an.Version.Major +"."+ an.Version.Minor+"."+an.Version.Build +"."+ an.Version.Revision;
managementscope.cs (1)
1145if( ((Environment.OSVersion.Version.Major == 5) && (Environment.OSVersion.Version.Minor >= 1)) || (Environment.OSVersion.Version.Major >= 6) )
System.ServiceModel (13)
parent\parent\parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (2)
140if (realVersion.Minor > 0) 141version += realVersion.Minor * 100;
System\ServiceModel\Channels\Msmq.cs (1)
26if (osVersion.Major == 5 && osVersion.Minor == 1)
System\ServiceModel\ComIntegration\ComPlusInstanceProvider.cs (2)
166if (Environment.OSVersion.Version.Minor > 2) 168else if (Environment.OSVersion.Version.Minor == 2)
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (1)
388|| ((osVersion.Major == WindowsServerMajorNumber) && (osVersion.Minor < WindowsServerMinorNumber)))
System\ServiceModel\OSEnvironmentHelper.cs (1)
19int minor = Environment.OSVersion.Version.Minor;
System\ServiceModel\Security\SecurityUtils.cs (6)
316return ((Environment.OSVersion.Version.Major >= SecurityUtils.XPMajorNumber && Environment.OSVersion.Version.Minor > SecurityUtils.XPMinorNumber) || 323return (Environment.OSVersion.Version.Major >= windows7Version.Major && Environment.OSVersion.Version.Minor >= windows7Version.Minor); 2308|| (Environment.OSVersion.Version.Major == WindowsServerMajorNumber && Environment.OSVersion.Version.Minor > WindowsServerMinorNumber)) 2313if (Environment.OSVersion.Version.Major == XPMajorNumber && Environment.OSVersion.Version.Minor == XPMinorNumber) 2325else if (Environment.OSVersion.Version.Major == WindowsServerMajorNumber && Environment.OSVersion.Version.Minor == WindowsServerMinorNumber)
System.Web (3)
Compilation\MultiTargetingUtil.cs (2)
247var runtimeVersion = runtime.Major + "." + runtime.Minor + "." + runtime.Build; 434return IsTargetFramework40OrAbove && TargetFrameworkVersion.Minor >= 5;
Util\SmtpMail.cs (1)
296if ((osVersion.Major >= 7 || (osVersion.Major == 6 && osVersion.Minor >= 1))) {
System.Windows.Forms (3)
misc\GDI\WindowsFont.cs (1)
575if (Environment.OSVersion.Version.Major == 5 && Environment.OSVersion.Version.Minor >= 1)
parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (2)
140if (realVersion.Minor > 0) 141version += realVersion.Minor * 100;
System.Workflow.ComponentModel (3)
AuthoringOM\Compiler\XomlCompiler.cs (1)
228string normalizedVersionString = string.Format(CultureInfo.InvariantCulture, "v{0}.{1}", targetVersion.Major, targetVersion.Minor);
AuthoringOM\Compiler\XomlCompilerParameters.cs (1)
104versionKey = new Version(targetFrameworkVersion.Major, targetFrameworkVersion.Minor);
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (1)
2269string normalizedVersionString = string.Format(CultureInfo.InvariantCulture, "v{0}.{1}", targetVersion.Major, targetVersion.Minor);
System.Workflow.Runtime (4)
Tracking\TrackingProfileSerializer.cs (4)
895version = string.Format(NumberFormatInfo.InvariantInfo, "{0}.{1}.{2}.{3}", profile.Version.Major, profile.Version.Minor, profile.Version.Build, profile.Version.Revision); 897version = string.Format(NumberFormatInfo.InvariantInfo, "{0}.{1}.{2}", profile.Version.Major, profile.Version.Minor, profile.Version.Build); 898else if (profile.Version.Minor >= 0) 899version = string.Format(NumberFormatInfo.InvariantInfo, "{0}.{1}", profile.Version.Major, profile.Version.Minor);
System.Xml (2)
parent\parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (2)
140if (realVersion.Minor > 0) 141version += realVersion.Minor * 100;
UIAutomationClientsideProviders (1)
MS\Internal\AutomationProxies\CommonXSendMessage.cs (1)
1495if (Environment.OSVersion.Version.Major > 5 || (Environment.OSVersion.Version.Major == 5 && Environment.OSVersion.Version.Minor == 1))