194 instantiations of Version
ComSvcConfig (3)
ComAdminWrapper.cs (3)
601static List<Version> CLRVersions = new List<Version>(2) { new Version("2.0"), new Version("4.0") }; 649version = new Version(versionString);
mscorlib (24)
microsoft\win32\win32native.cs (1)
1492private static readonly Version ThreadErrorModeMinOsVersion = new Version(6, 1, 7600);
system\AppContext\AppContextDefaultValues.cs (1)
137Version realVersion = new Version(value);
system\environment.cs (2)
1088return new Version(4,0,30319,42000); 1145Version v = new Version(osvi.MajorVersion, osvi.MinorVersion, osvi.BuildNumber, (osviEx.ServicePackMajor << 16) |osviEx.ServicePackMinor);
system\globalization\culturedata.cs (2)
645static readonly Version s_win7Version = new Version(6, 1); 654Environment.OSVersion.Version < new Version(6, 2); // Win7 is 6.1.Build.Revision so we have to check for anything less than 6.2
system\reflection\assembly.cs (1)
2560return new Version (majorVer, minorVer, build, revision);
system\resources\resourcemanager.cs (1)
898ver = new Version(v);
system\runtime\interopservices\typelibconverter.cs (1)
333asmVersion = new Version(major, minor, 0, 0);
system\runtime\versioning\binarycompatibility.cs (1)
423Version realVersion = new Version(value);
system\security\permissions\permissionattributes.cs (1)
834return new StrongNameIdentityPermission( blob, m_name, new Version( m_version ) );
system\security\permissions\strongnameidentitypermission.cs (5)
174m_strongNames[0] = new StrongName2(value, "", new Version()); 201m_strongNames[0] = new StrongName2(null, value, new Version()); 232return new Version(); 421(elVersion == null ? null : new Version(elVersion))); 437(elVersion == null ? null : new Version(elVersion)));
system\security\policy\applicationsecurityinfo.cs (1)
204new Version(manifest.Identity.GetAttribute("", "version")),
system\security\policy\assemblyevidencefactory.cs (1)
181new Version(majorVersion, minorVersion, build, revision),
system\security\policy\strongname.cs (1)
176m_version = new Version(version);
system\security\policy\strongnamemembershipcondition.cs (1)
308m_version = elVersion == null ? null : new Version( elVersion );
system\version.cs (4)
135Version v = new Version(); 412result.m_parsedVersion = new Version(major, minor, build, revision); 415result.m_parsedVersion = new Version(major, minor, build); 418result.m_parsedVersion = new Version(major, minor);
PresentationCore (5)
Core\CSharp\System\Windows\Media\Imaging\BitmapCodecInfo.cs (4)
188return new Version(version.ToString()); 190return new Version(); 240return new Version(specVersion.ToString()); 242return new Version();
Core\CSharp\System\Windows\Navigation\BaseUriHelper.cs (1)
242asmName.Version = new Version(assemblyVersion);
PresentationFramework (6)
parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
137Version realVersion = new Version(value);
src\Framework\System\Windows\Documents\Serialization\SerializerDescriptor.cs (2)
207sd._assemblyVersion = new Version(GetNonEmptyRegistryString(key, "assemblyVersion")); 208sd._winFXVersion = new Version(GetNonEmptyRegistryString(key, "winFXVersion"));
src\Framework\System\Windows\Standard\Utilities.cs (3)
96get { return _osVersion >= new Version(6, 0); } 102get { return _osVersion >= new Version(6, 1); } 114get { return _presentationFrameworkVersion < new Version(4, 0); }
System (15)
compmod\microsoft\win32\UnsafeNativeMethods.cs (1)
237Version windows8Version = new Version(6, 2, 0, 0);
net\System\Net\Cache\_Rfc2616CacheValidators.cs (2)
1707ctx.CacheHttpVersion = new Version(1,1); 1721ctx.CacheHttpVersion = new Version(1,1);
net\System\Net\Cache\HttpRequestCacheValidator.cs (2)
493CacheHttpVersion = new Version(1, 0); 628CacheHttpVersion = new Version(major, minor);
net\System\Net\HttpListenerRequest.cs (1)
278m_Version = new Version(memoryBlob.RequestBlob->Version.MajorVersion, memoryBlob.RequestBlob->Version.MinorVersion);
net\System\Net\HttpListenerResponse.cs (1)
322return new Version(m_NativeResponse.Version.MajorVersion, m_NativeResponse.Version.MinorVersion);
net\System\Net\HttpVersion.cs (2)
20public static readonly Version Version10 = new Version(1,0); 24public static readonly Version Version11 = new Version(1,1);
net\System\Net\Internal.cs (3)
712IsWin7orLater = (operatingSystem.Version >= new Version(6, 1)); 714IsWin7Sp1orLater = (operatingSystem.Version >= new Version(6, 1, 7601)); 716IsWin8orLater = (operatingSystem.Version >= new Version(6, 2));
parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
137Version realVersion = new Version(value);
sys\system\configuration\LocalFileSettingsProvider.cs (1)
258ver = new Version(name);
sys\system\runtime\versioning\FrameworkName.cs (1)
182m_version = new Version(value);
System.Activities.DurableInstancing (5)
System\Activities\DurableInstancing\SerializationUtilities.cs (2)
277version = new Version(id.Version.Major, id.Version.Minor, id.Version.Build); 281version = new Version(id.Version.Minor, id.Version.Minor);
System\Activities\DurableInstancing\StoreUtilities.cs (2)
17public static readonly Version Version40 = new Version(4, 0, 0, 0); 18public static readonly Version Version45 = new Version(4, 5, 0, 0);
System\Activities\DurableInstancing\TestVersionAndRunAsyncResult.cs (1)
145return new Version(major, minor, build, revision);
System.Activities.Presentation (2)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\FrameworkNameConstants.cs (2)
14public static readonly FrameworkName NetFramework40 = new FrameworkName(NetFramework, new Version(4, 0)); 15public static readonly FrameworkName NetFramework45 = new FrameworkName(NetFramework, new Version(4, 5));
System.AddIn (2)
System\Addin\MiniReflection\MetadataReader\PEFileReader.cs (1)
356Version V = new Version(Major, Minor, Build, Revision);
System\Addin\MiniReflection\MiniAssembly.cs (1)
286Version v = new Version(major, minor, build, revision);
System.ComponentModel.DataAnnotations (1)
parent\parent\parent\parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
137Version realVersion = new Version(value);
System.Configuration (1)
System\Configuration\ClientConfigPaths.cs (1)
444return new StrongName(sn.PublicKey, sn.Name, new Version(0,0,0,0));
System.Data (7)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\FrameworkNameConstants.cs (2)
14public static readonly FrameworkName NetFramework40 = new FrameworkName(NetFramework, new Version(4, 0)); 15public static readonly FrameworkName NetFramework45 = new FrameworkName(NetFramework, new Version(4, 5));
fx\src\data\System\Data\DataSet.cs (1)
271info.AddValue("DataSet.RemotingVersion", new Version(2, 0));
fx\src\data\System\Data\DataTable.cs (1)
235info.AddValue("DataTable.RemotingVersion", new Version(2, 0));
fx\src\data\System\Data\SqlClient\SqlConnectionString.cs (2)
237private static readonly Version constTypeSystemAsmVersion10 = new Version("10.0.0.0"); 238private static readonly Version constTypeSystemAsmVersion11 = new Version("11.0.0.0");
fx\src\data\System\Data\SQLTypes\UnsafeNativeMethods.cs (1)
121private static readonly Version ThreadErrorModeMinOsVersion = new Version(6, 1, 7600);
System.Data.Entity (2)
System\Data\Common\EntityUtil.cs (1)
2104Version fxv45 = new Version(4, 5);
System\Data\Objects\Internal\EntityProxyFactory.cs (1)
70assemblyName.Version = new Version(1, 0, 0, 0);
System.Data.Entity.Design (7)
System\Data\Entity\Design\AspNet\EntityModelBuildProvider.cs (3)
108Debug.Assert(targetFrameworkVersion >= new Version(3, 5), "This assembly doesn't exist pre-3.5."); 110if (targetFrameworkVersion < new Version(4, 0)) 114if (targetFrameworkVersion < new Version(4, 5))
System\Data\Entity\Design\EntityFrameworkVersionsUtil.cs (4)
13public static readonly Version Version1 = new Version(1, 0, 0, 0); 14public static readonly Version Version2 = new Version(2, 0, 0, 0); 15public static readonly Version Version3 = new Version(3, 0, 0, 0); 16internal static Version EdmVersion1_1 { get { return new Version(1, 1, 0, 0); } }
System.Data.Services (12)
System\Data\Services\DataService.cs (1)
790Debug.Assert(description.RequireMinimumVersion == new Version(1, 0), "description.RequireMinimumVersion == new Version(1, 0)");
System\Data\Services\DataServiceConfiguration.cs (1)
853new Version(this.DataServiceBehavior.MaxProtocolVersion == DataServiceProtocolVersion.V1 ? 1 : 2, 0);
System\Data\Services\HttpProcessUtility.cs (1)
396result = new KeyValuePair<Version, string>(new Version(versionText), libraryName);
System\Data\Services\RequestDescription.cs (8)
51internal static readonly Version DataServiceDefaultResponseVersion = new Version(1, 0); 58private static readonly Version[] KnownDataServiceVersions = new Version[] { new Version(1, 0), new Version(2, 0) }; 119this.requireMinimumVersion = new Version(1, 0); 121this.maxFeatureVersion = new Version(1, 0); 149this.requireMinimumVersion = new Version(1, 0); 151this.maxFeatureVersion = new Version(1, 0); 637versionToRaise = new Version(major, minor);
System\Data\Services\Serializers\JsonSerializer.cs (1)
33private static readonly Version JsonResponseVersion1 = new Version(1, 0, 0);
System.Data.Services.Client (5)
parent\Server\System\Data\Services\HttpProcessUtility.cs (1)
396result = new KeyValuePair<Version, string>(new Version(versionText), libraryName);
System\Data\Services\Client\ALinq\UriWriter.cs (1)
559this.uriVersion = new Version(major, minor);
System\Data\Services\Client\Util.cs (3)
38internal static readonly Version DataServiceVersionEmpty = new Version(0, 0); 43internal static readonly Version DataServiceVersion1 = new Version(1, 0); 48internal static readonly Version DataServiceVersion2 = new Version(2, 0);
System.Drawing (1)
parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
137Version realVersion = new Version(value);
System.IdentityModel (1)
parent\parent\parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
137Version realVersion = new Version(value);
System.IO.Compression.FileSystem (1)
parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
137Version realVersion = new Version(value);
System.Management (4)
Instrumentation\WMICapabilities.cs (2)
162if(os.Platform==PlatformID.Win32NT && os.Version >= new Version(5, 1)) 182if(os.Platform==PlatformID.Win32NT && os.Version >= new Version(5, 1))
InteropClasses\WMIInterop.cs (1)
2153if(os.Platform==PlatformID.Win32NT && os.Version >= new Version(5, 0))
WmiGenerator.cs (1)
4989assemblyName.Version = new Version(VSVERSION);
System.Messaging (1)
System\Messaging\MessageQueue.cs (1)
77internal static readonly Version WinXP = new Version(5, 1);
System.ServiceModel (6)
parent\parent\parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
137Version realVersion = new Version(value);
System\ServiceModel\Channels\Msmq.cs (1)
11static Version longhornVersion = new Version(4, 0);
System\ServiceModel\Channels\MsmqQueue.cs (1)
180version = new Version(
System\ServiceModel\Channels\SharedConnectionListener.cs (1)
40static readonly Version ProtocolVersion = new Version(3, 0, 0, 0);
System\ServiceModel\Channels\UnsafeNativeMethods.cs (1)
1164Version windows8Version = new Version(6, 2, 0, 0);
System\ServiceModel\Security\SecurityUtils.cs (1)
322Version windows7Version = new Version(6, 1, 0, 0);
System.Web (39)
Compilation\CompilationUtil.cs (1)
642return new Version(version.Substring(1));
Compilation\MultiTargetingUtil.cs (4)
28internal static Version Version40 = new Version(4, 0); 29internal static Version Version35 = new Version(3, 5); 230Version ver = new Version(targetVersion); 468Version ver = new Version(version);
Compilation\XsdBuildProvider.cs (1)
78aName.Version = new Version(3, 5, 0, 0);
Configuration\HttpCapabilitiesBase.cs (6)
413return new Version[1] { new Version() }; 419Version version = new Version(match.Groups["clrVersion"].Value); 610_ecmascriptversion = new Version(this["ecmascriptversion"]); 620_msdomversion = new Version(this["msdomversion"]); 630_w3cdomversion = new Version(this["w3cdomversion"]); 763_jscriptversion = new Version(this["jscriptversion"]);
Configuration\VersionConverter.cs (1)
16return new Version((string)value);
Handlers\AssemblyResourceLoader.cs (1)
552realName.Version = new Version(parts[1]);
Hosting\ApplicationManager.cs (2)
1348strongName = new StrongName(keyBlob, assemblyName, new Version(version)); 1369yield return new StrongName(publicKey, asmName, new Version(i, 0, 0, 0));
Hosting\IIS7WorkerRequest.cs (3)
38private static readonly Version IIS_VERSION_70 = new Version(7, 0); 39private static readonly Version IIS_VERSION_75 = new Version(7, 5); 40private static readonly Version IIS_VERSION_80 = new Version(8, 0);
HttpRuntime.cs (1)
1392_iisVersion = new Version((int)(dwVersion >> 16), (int)(dwVersion & 0xffff));
UI\Page.cs (4)
213private static readonly Version FocusMinimumEcmaVersion = new Version("1.4"); 214private static readonly Version FocusMinimumJScriptVersion = new Version("3.0"); 215private static readonly Version JavascriptMinimumVersion = new Version("1.0"); 216private static readonly Version MSDomScrollMinimumVersion = new Version("4.0");
UI\WebControls\BaseValidator.cs (1)
477&& page.Request.Browser.EcmaScriptVersion.CompareTo(new Version(1, 2)) >= 0);
UI\WebControls\ValidationSummary.cs (1)
331&& page.Request.Browser.EcmaScriptVersion.CompareTo(new Version(1, 2)) >= 0);
UI\WebParts\WebPartManager.cs (1)
1156if (browserCaps.Win32 && (browserCaps.MSDomVersion.CompareTo(new Version(5, 5)) >= 0)) {
Util\VersionUtil.cs (12)
18public static readonly Version Framework00 = new Version(0, 0); 19public static readonly Version Framework20 = new Version(2, 0); 20public static readonly Version Framework35 = new Version(3, 5); 21public static readonly Version Framework40 = new Version(4, 0); 22public static readonly Version Framework45 = new Version(4, 5); 23public static readonly Version Framework451 = new Version(4, 5, 1); 24public static readonly Version Framework452 = new Version(4, 5, 2); 25public static readonly Version Framework46 = new Version(4, 6); 26public static readonly Version Framework461 = new Version(4, 6, 1); 27public static readonly Version Framework463 = new Version(4, 6, 3); 28public static readonly Version Framework472 = new Version(4, 7, 2); 29public static readonly Version Framework48 = new Version(4, 8);
System.Web.ApplicationServices (1)
Hosting\CustomLoaderHelper.cs (1)
20private static readonly string _customLoaderTargetFrameworkName = new FrameworkName(".NETFramework", new Version(4, 5, 1)).ToString();
System.Web.Entity (1)
System\Data\WebControls\EntityDataSource.cs (1)
808return _targetFrameworkVersion == new Version(4, 0);
System.Web.Extensions (5)
Handlers\ScriptResourceHandler.cs (1)
138realName.Version = new Version(parts[1]);
UI\PageRequestManager.cs (4)
58private static readonly Version MinimumW3CDomVersion = new Version(1, 0); 59private static readonly Version MinimumEcmaScriptVersion = new Version(1, 0); 76private static readonly Version FocusMinimumEcmaVersion = new Version("1.4"); 77private static readonly Version FocusMinimumJScriptVersion = new Version("3.0");
System.Windows.Forms (11)
misc\DpiHelper.cs (1)
63private static readonly Version dpiChangedMessageHighDpiImprovementsMinimumFrameworkVersion = new Version(4, 8);
parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
137Version realVersion = new Version(value);
winforms\Managed\System\WinForms\FeatureSupport.cs (2)
31return IsPresent(featureClassName, featureConstName, new Version(0, 0, 0, 0)); 112return IsPresent(feature, new Version(0, 0, 0, 0));
winforms\Managed\System\WinForms\OSFeature.cs (5)
70&& Environment.OSVersion.Version.CompareTo(new Version(5, 0, 0, 0)) >= 0) { 72featureVersion = new Version(0, 0, 0, 0); 88featureVersion = new Version(0, 0, 0, 0); 98onXp = Environment.OSVersion.Version.CompareTo(new Version(5, 1, 0, 0)) >= 0; 108onWin2k = Environment.OSVersion.Version.CompareTo(new Version(5, 0, 0, 0)) >= 0;
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (1)
245private static readonly Version VistaOSVersion = new Version(6, 0);
winforms\Managed\System\WinForms\WebBrowser.cs (1)
654return new Version(fvi.FileMajorPart, fvi.FileMinorPart, fvi.FileBuildPart, fvi.FilePrivatePart);
System.Workflow.Activities (2)
Common\TypeSystemHelpers.cs (2)
30private static readonly Version emptyVersion = new Version(0, 0, 0, 0); 225thatVersion = new Version(partValue);
System.Workflow.ComponentModel (10)
AuthoringOM\Compiler\CompileXomlTask.cs (2)
491defaultFrameworkName = new FrameworkName(NetFrameworkIdentifier, new Version(3, 5)).ToString(); 519defaultFrameworkName = new FrameworkName(NetFrameworkIdentifier, new Version(2, 0)).ToString();
AuthoringOM\Compiler\XomlCompilerParameters.cs (5)
29internal static readonly Version DefaultTargetFramework = new Version("4.0"); 31static readonly Version TargetFramework30 = new Version("3.0"); 33static readonly Version TargetFramework35 = new Version("3.5"); 35static readonly Version TargetFramework40 = new Version("4.0"); 104versionKey = new Version(targetFrameworkVersion.Major, targetFrameworkVersion.Minor);
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (1)
2267Version targetVersion = new Version("4.0");
Shared\TypeSystemHelpers.cs (2)
29private static readonly Version emptyVersion = new Version(0, 0, 0, 0); 224thatVersion = new Version(partValue);
System.Workflow.Runtime (6)
Tracking.cs (4)
983profileVersionId = new Version(0, 0); 1043Version _profileVersionId = new Version(0, 0); 1396return TryGetFromCache(serviceType, workflowType, new Version(0, 0), out profile); // 0 is an internal signal to get the most current 1536internal Version VersionId = new Version(0, 0);
Tracking\SqlTrackingService.cs (1)
51private static Version UnknownProfileVersionId = new Version(0, 0);
Tracking\TrackingProfileSerializer.cs (1)
96profile.Version = new Version(version);
System.Xml (5)
parent\parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
137Version realVersion = new Version(value);
parent\parent\parent\parent\InternalApis\NDP_Common\inc\Win8Helpers.cs (1)
70if(os.Platform == PlatformID.Win32NT && os.Version >= new Version(6,2,0,0) && DoesWin32MethodExist(KERNEL32, "GetCurrentPackageId"))
System\Xml\Serialization\CodeGenerator.cs (1)
1734assemblyName.Version = new Version(1, 0, 0, 0);
System\Xml\Xslt\XslCompiledTransform.cs (2)
267if(new Version(Version).CompareTo(new Version(generatedCodeAttr.Version)) < 0) {
WindowsBase (3)
Base\MS\Internal\Utilities.cs (3)
22get { return _osVersion >= new Version(6, 0); } 27get { return _osVersion >= new Version(6, 1); } 32get { return _osVersion >= new Version(6, 2); }
501 references to Version
ComSvcConfig (8)
ComAdminWrapper.cs (8)
601static List<Version> CLRVersions = new List<Version>(2) { new Version("2.0"), new Version("4.0") }; 631bool TryGetVersionFromString(StringBuilder versionStr, out Version version) 665bool IsCLRVersionInstalled(Version clrVersion) 687Version installedClrVersion; 702bool ValidateCLRVersion(Version clrVersion) 704foreach (Version releasedCLRVersion in CLRVersions) 724Version appClrVersion = null;
mscorlib (76)
microsoft\win32\win32native.cs (1)
1492private static readonly Version ThreadErrorModeMinOsVersion = new Version(6, 1, 7600);
system\AppContext\AppContextDefaultValues.cs (1)
137Version realVersion = new Version(value);
system\applicationid.cs (3)
25private Version m_version; 36public ApplicationId (byte[] publicKeyToken, string name, Version version, string processorArchitecture, string culture) { 69public Version Version {
system\environment.cs (2)
1081public static Version Version { 1145Version v = new Version(osvi.MajorVersion, osvi.MinorVersion, osvi.BuildNumber, (osviEx.ServicePackMajor << 16) |osviEx.ServicePackMinor);
system\globalization\culturedata.cs (1)
645static readonly Version s_win7Version = new Version(6, 1);
system\operatingsystem.cs (7)
27private Version _version; 36public OperatingSystem(PlatformID platform, Version version) : this(platform, version, null) { 39internal OperatingSystem(PlatformID platform, Version version, string servicePack) { 55_version = (Version) version.Clone(); 64_version = (Version) info.GetValue("_version", typeof(Version)); 106public Version Version {
system\reflection\assembly.cs (5)
843public virtual Assembly GetSatelliteAssembly(CultureInfo culture, Version version) 2556internal Version GetVersion() 2870public override Assembly GetSatelliteAssembly(CultureInfo culture, Version version) 2879Version version, 2904Version version,
system\reflection\assemblyname.cs (6)
46private Version _Version; 77public Version Version 358_Version = (Version) m_siInfo.GetValue("_Version", typeof(Version)); 482Version version, 503_Version = (Version) version.Clone();
system\reflection\cominterfaces.cs (1)
229Assembly GetSatelliteAssembly(CultureInfo culture, Version version);
system\reflection\emit\assemblybuilder.cs (2)
278internal Version GetVersion() 1397public override Assembly GetSatelliteAssembly(CultureInfo culture, Version version)
system\resources\resourcemanager.cs (5)
222private Version _satelliteContractVersion; 868protected static Version GetSatelliteContractVersion(Assembly a) 896Version ver; 1659internal Version SatelliteContractVersion 1665internal Version ObtainSatelliteContractVersion(Assembly a)
system\runtime\interopservices\itypelibconverter.cs (1)
120Version asmVersion);
system\runtime\interopservices\typelibconverter.cs (2)
93Version asmVersion) 294internal static AssemblyName GetAssemblyNameFromTypelib(Object typeLib, String asmFileName, byte[] publicKey, StrongNameKeyPair keyPair, Version asmVersion, AssemblyNameFlags asmNameFlags)
system\runtime\versioning\binarycompatibility.cs (1)
423Version realVersion = new Version(value);
system\security\permissions\strongnameidentitypermission.cs (5)
21using Version = System.Version; 35public Version m_version; 37public StrongName2(StrongNamePublicKeyBlob publicKeyBlob, String name, Version version) 142public StrongNameIdentityPermission( StrongNamePublicKeyBlob blob, String name, Version version ) 215public Version Version
system\security\policy\strongname.cs (4)
29private Version m_version; 41public StrongName( StrongNamePublicKeyBlob blob, String name, Version version ) : this(blob, name, version, null) 45internal StrongName(StrongNamePublicKeyBlob blob, String name, Version version, Assembly assembly) 85public Version Version
system\security\policy\strongnamemembershipcondition.cs (3)
38private Version m_version; 53Version version ) 122public Version Version
system\version.cs (26)
32, IComparable<Version>, IEquatable<Version> 92Version v = Version.Parse(version); 135Version v = new Version(); 158Version v = version as Version; 200public int CompareTo(Version value) 234Version v = obj as Version; 248public bool Equals(Version obj) 354public static Version Parse(string input) { 368public static bool TryParse(string input, out Version result) { 438public static bool operator ==(Version v1, Version v2) { 446public static bool operator !=(Version v1, Version v2) { 450public static bool operator <(Version v1, Version v2) { 457public static bool operator <=(Version v1, Version v2) { 464public static bool operator >(Version v1, Version v2) { 468public static bool operator >=(Version v1, Version v2) { 480internal Version m_parsedVersion;
PresentationCore (4)
Core\CSharp\System\Windows\Media\Imaging\BitmapCodecInfo.cs (2)
152public virtual System.Version Version 204public virtual Version SpecificationVersion
Shared\MS\Internal\SafeSecurityHelper.cs (2)
186Version reqVersion = assemblyName.Version; 193Version curVersion = curAsmName.Version;
PresentationFramework (8)
parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
137Version realVersion = new Version(value);
src\Framework\System\Windows\Controls\WebBrowser.cs (1)
1068Version osver = Environment.OSVersion.Version;
src\Framework\System\Windows\Documents\Serialization\SerializerDescriptor.cs (4)
333public Version AssemblyVersion 344public Version WinFXVersion 403private Version _assemblyVersion; 404private Version _winFXVersion;
src\Framework\System\Windows\Standard\Utilities.cs (2)
29private static readonly Version _osVersion = Environment.OSVersion.Version; 30private static readonly Version _presentationFrameworkVersion = Assembly.GetAssembly(typeof(Window)).GetName().Version;
SMSvcHost (2)
System\ServiceModel\Activation\WorkerProcess.cs (2)
172ListenerExceptionStatus IConnectionRegister.Register(Version version, int processId, BaseUriWithWildcard path, int queueId, Guid token, string eventName) 225Version ourVersion = Assembly.GetExecutingAssembly().GetName().Version;
System (29)
compmod\microsoft\win32\UnsafeNativeMethods.cs (1)
237Version windows8Version = new Version(6, 2, 0, 0);
net\System\Net\Cache\HttpRequestCacheValidator.cs (2)
53private Version m_HttpVersion; 91internal Version CacheHttpVersion {get{return m_HttpVersion;} set{m_HttpVersion = value;}}
net\System\Net\HttpListenerRequest.cs (2)
225private Version m_Version; 701public Version ProtocolVersion {
net\System\Net\HttpListenerResponse.cs (1)
320public Version ProtocolVersion {
net\System\Net\HttpVersion.cs (2)
20public static readonly Version Version10 = new Version(1,0); 24public static readonly Version Version11 = new Version(1,1);
net\System\Net\HttpWebRequest.cs (4)
2740public Version ProtocolVersion { 5304ProtocolVersion = (Version)serializationInfo.GetValue("_Version", typeof(Version)); 5367serializationInfo.AddValue("_Version", ProtocolVersion, typeof(Version));
net\System\Net\HttpWebResponse.cs (5)
327public Version ProtocolVersion { 580Version version = (Version)serializationInfo.GetValue("m_Version", typeof(Version)); 621serializationInfo.AddValue("m_Version", ProtocolVersion, typeof(Version));
net\System\Net\ServicePoint.cs (1)
600public virtual Version ProtocolVersion {
parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
137Version realVersion = new Version(value);
sys\system\configuration\LocalFileSettingsProvider.cs (5)
254private Version CreateVersion(string name) { 255Version ver = null; 323Version curVer = CreateVersion(ConfigurationManagerInternalFactory.Instance.ExeProductVersion); 324Version prevVer = null; 336Version tempVer = CreateVersion(dir.Name);
sys\system\runtime\versioning\FrameworkName.cs (5)
16readonly Version m_version = null; 37public Version Version { 104public FrameworkName(String identifier, Version version) 107public FrameworkName(String identifier, Version version, String profile) { 120m_version = (Version)version.Clone();
System.Activities (26)
System\Activities\Activity.cs (1)
85protected virtual internal Version ImplementationVersion
System\Activities\ActivityBuilder.cs (2)
84public Version ImplementationVersion 349public Version ImplementationVersion
System\Activities\ActivityInstance.cs (1)
491public Version ImplementationVersion
System\Activities\AsyncCodeActivity.cs (2)
22protected internal sealed override Version ImplementationVersion 307protected internal sealed override Version ImplementationVersion
System\Activities\CodeActivity.cs (2)
20protected internal sealed override Version ImplementationVersion 118protected internal sealed override Version ImplementationVersion
System\Activities\DynamicActivity.cs (2)
78public new Version ImplementationVersion 266public new Version ImplementationVersion
System\Activities\Expressions\AssemblyReference.cs (2)
180Version curVersion = curAsmName.Version; 184Version reqVersion = assemblyName.Version;
System\Activities\NativeActivity.cs (2)
22protected internal sealed override Version ImplementationVersion 209protected internal sealed override Version ImplementationVersion
System\Activities\WorkflowIdentity.cs (7)
29Version version; 37public WorkflowIdentity(string name, Version version, string package) 56public Version Version 166this.version = Version.Parse(value); 288Version version; 362this.version = Version.Parse(versionString); 366return Version.TryParse(versionString, out this.version);
System\Activities\WorkflowInspectionServices.cs (1)
169public static Version GetImplementationVersion(Activity activity)
System\Activities\XamlIntegration\ImplementationVersionConverter.cs (4)
21Version deserializedVersion = null; 24if (stringValue != null && Version.TryParse(stringValue, out deserializedVersion)) 39Version implementationVersion = value as Version;
System.Activities.DurableInstancing (9)
System\Activities\DurableInstancing\SerializationUtilities.cs (1)
274Version version;
System\Activities\DurableInstancing\SqlWorkflowInstanceStore.cs (3)
46volatile Version databaseVersion; 232internal Version DatabaseVersion 391internal IAsyncResult BeginTryCommandInternalWithVersionCheck(InstancePersistenceContext context, InstancePersistenceCommand command, TimeSpan timeout, AsyncCallback callback, object state, Version targetVersion)
System\Activities\DurableInstancing\StoreUtilities.cs (2)
17public static readonly Version Version40 = new Version(4, 0, 0, 0); 18public static readonly Version Version45 = new Version(4, 5, 0, 0);
System\Activities\DurableInstancing\TestVersionAndRunAsyncResult.cs (3)
23Version targetVersion; 32Version targetVersion, 140static Version GetVersion(SqlDataReader reader)
System.Activities.Presentation (8)
System.Activities.Presentation\System\Activities\Presentation\DesignerMetadata.cs (1)
99builder.AddCustomAttributes(typeof(Version), new EditorAttribute(typeof(VersionPropertyValueEditor), typeof(PropertyValueEditor)));
System.Activities.Presentation\System\Activities\Presentation\View\VersionEditor.xaml.cs (4)
17private static DependencyProperty versionProperty = DependencyProperty.Register("Version", typeof(Version), typeof(VersionEditor), new PropertyMetadata(new PropertyChangedCallback(VersionEditor.OnVersionChanged))); 34public Version Version 36get { return (Version)GetValue(VersionProperty); } 63this.ViewModel.Version = (Version)e.NewValue;
System.Activities.Presentation\System\Activities\Presentation\View\VersionEditorViewModel.cs (3)
14private Version version; 48this.Version = Version.Parse(value); 78public Version Version
System.AddIn (5)
System\Addin\MiniReflection\MetadataReader\AssemblyInfo.cs (3)
7private Version m_Version; 45internal AssemblyInfo(Version V, UInt32 Flags, byte[] PublicKeyOrToken, 105public Version Version
System\Addin\MiniReflection\MetadataReader\PEFileReader.cs (1)
356Version V = new Version(Major, Minor, Build, Revision);
System\Addin\MiniReflection\MiniAssembly.cs (1)
286Version v = new Version(major, minor, build, revision);
System.ComponentModel.DataAnnotations (1)
parent\parent\parent\parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
137Version realVersion = new Version(value);
System.Data (17)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignerMetadata.cs (1)
99builder.AddCustomAttributes(typeof(Version), new EditorAttribute(typeof(VersionPropertyValueEditor), typeof(PropertyValueEditor)));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VersionEditor.xaml.cs (4)
17private static DependencyProperty versionProperty = DependencyProperty.Register("Version", typeof(Version), typeof(VersionEditor), new PropertyMetadata(new PropertyChangedCallback(VersionEditor.OnVersionChanged))); 34public Version Version 36get { return (Version)GetValue(VersionProperty); } 63this.ViewModel.Version = (Version)e.NewValue;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VersionEditorViewModel.cs (3)
14private Version version; 48this.Version = Version.Parse(value); 78public Version Version
fx\src\data\System\Data\Common\AdapterUtil.cs (2)
2528private static Version _systemDataVersion; 2529static internal Version GetAssemblyVersion() {
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
509internal Version TypeSystemAssemblyVersion {
fx\src\data\System\Data\SqlClient\SqlConnectionString.cs (4)
236private readonly Version _typeSystemAssemblyVersion; 237private static readonly Version constTypeSystemAsmVersion10 = new Version("10.0.0.0"); 238private static readonly Version constTypeSystemAsmVersion11 = new Version("11.0.0.0"); 585internal Version TypeSystemAssemblyVersion { get { return _typeSystemAssemblyVersion; } }
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
751Version systemDataVersion = ADP.GetAssemblyVersion();
fx\src\data\System\Data\SQLTypes\UnsafeNativeMethods.cs (1)
121private static readonly Version ThreadErrorModeMinOsVersion = new Version(6, 1, 7600);
System.Data.Entity (1)
System\Data\Common\EntityUtil.cs (1)
2104Version fxv45 = new Version(4, 5);
System.Data.Entity.Design (83)
System\Data\Entity\Design\AspNet\EntityModelBuildProvider.cs (3)
76var entityFrameworkVersion = GetEntityFrameworkVersion(BuildManager.TargetFramework.Version); 105private static Version GetEntityFrameworkVersion(Version targetFrameworkVersion)
System\Data\Entity\Design\Common\EDesignUtil.cs (1)
170internal static void CheckTargetEntityFrameworkVersionArgument(Version targetEntityFrameworkVersion, string parameterName)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (4)
34private Version _schemaVersion; 36private MetadataItemSerializer(XmlWriter writer, bool isModel, ErrorsLookup errorsLookup, Version schemaVersion) 48public static void WriteXml(XmlWriter writer, ItemCollection collection, string namespaceToWrite, Version schemaVersion, params KeyValuePair<string, string> [] xmlPrefixToNamespaces) 53internal static void WriteXml(XmlWriter writer, ItemCollection collection, string namespaceToWrite, ErrorsLookup errorsLookup, List<EdmType> commentedOutItems, string provider, string providerManifestToken, Version schemaVersion, params KeyValuePair<string, string>[] xmlPrefixToNamespaces)
System\Data\Entity\Design\Common\MetadataUtil.cs (1)
310internal static bool IsValidKeyType(Version entityFrameworkVersion, EdmType type)
System\Data\Entity\Design\Common\OneToOneMappingSerializer.cs (1)
253Version schemaVersion)
System\Data\Entity\Design\EntityCodeGenerator.cs (18)
70public IList<EdmSchemaError> GenerateCode(string sourceEdmSchemaFilePath, string targetPath, IEnumerable<string> additionalEdmSchemaFilePaths, Version targetEntityFrameworkVersion) 87Version targetFrameworkVersion; 111public IList<EdmSchemaError> GenerateCode(string sourceEdmSchemaFilePath, string targetPath, Version targetEntityFrameworkVersion) 125Version targetFrameworkVersion; 148public IList<EdmSchemaError> GenerateCode(XmlReader sourceEdmSchema, TextWriter target, Version targetEntityFrameworkVersion) 154Version schemaVersion; 173Version targetFrameworkVersion; 199public IList<EdmSchemaError> GenerateCode(XmlReader sourceEdmSchema, TextWriter target, IEnumerable<XmlReader> additionalEdmSchemas, Version targetEntityFrameworkVersion) 206Version schemaVersion; 234Version targetFrameworkVersion; 246private IList<EdmSchemaError> InternalGenerateCode(string sourceEdmSchemaFilePath, LazyTextWriterCreator textWriter, IEnumerable<string> additionalEdmSchemaFilePaths, Version targetFrameworkVersion) 257Version schemaVersion; 267private bool IsValidSchema(XmlReader reader, out Version entityFrameworkVersion) 285private IList<EdmSchemaError> GetMinimumTargetFrameworkVersion(string sourceEdmSchemaFilePath, out Version targetFrameworkVersion) 301private IList<EdmSchemaError> GetMinimumTargetFrameworkVersion(XmlReader sourceEdmSchemaXmlReader, out Version targetFrameworkVersion) 323private IList<EdmSchemaError> InternalGenerateCode(string sourceEdmSchemaFilePath, Version schemaVersion, LazyTextWriterCreator textWriter, IEnumerable<string> additionalEdmSchemaFilePaths, Version targetFrameworkVersion) 672internal static ReflectionAdapter Create(LanguageOption language, Version targetEntityFrameworkVersion)
System\Data\Entity\Design\EntityFrameworkVersions.cs (22)
26public static readonly Version Version1 = EntityFrameworkVersionsUtil.Version1; 27public static readonly Version Version2 = EntityFrameworkVersionsUtil.Version2; 28public static readonly Version Version3 = EntityFrameworkVersionsUtil.Version3; 30internal static Version EdmVersion1_1 { get { return EntityFrameworkVersionsUtil.EdmVersion1_1; } } 38public static Stream GetSchemaXsd(Version entityFrameworkVersion, DataSpace dataSpace) 64private static string GetStoreSchemaXsdResourceName(Version entityFrameworkVersion) 73private static string GetMappingSchemaXsdResourceName(Version entityFrameworkVersion) 81private static double GetEdmVersion(Version entityFrameworkVersion) 106private static string GetEdmSchemaXsdResourceName(Version entityFrameworkVersion) 114internal static string GetSchemaNamespace(Version entityFrameworkVersion, DataSpace dataSpace) 131private static string GetStoreSchemaNamespace(Version entityFrameworkVersion) 149private static string GetMappingSchemaNamespace(Version entityFrameworkVersion) 167private static string GetEdmSchemaNamespace(Version entityFrameworkVersion) 185internal static Version Default = Version2; 186internal static Version Latest = Version3; 187internal static Version[] ValidVersions = new Version[] { Version1, Version2, Version3 }; 188internal static bool IsValidVersion(Version entityFrameworkVersion) 194internal static bool TryGetEdmxVersion(XmlReader reader, out Version entityFrameworkVersion) 211entityFrameworkVersion = default(Version); 215internal static bool TryGetEdmxVersion(string xmlNamespaceName, out Version entityFrameworkVersion) 229entityFrameworkVersion = default(Version);
System\Data\Entity\Design\EntityFrameworkVersionsUtil.cs (5)
13public static readonly Version Version1 = new Version(1, 0, 0, 0); 14public static readonly Version Version2 = new Version(2, 0, 0, 0); 15public static readonly Version Version3 = new Version(3, 0, 0, 0); 16internal static Version EdmVersion1_1 { get { return new Version(1, 1, 0, 0); } } 18internal static Version ConvertToVersion(double runtimeVersion)
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (2)
141private Version _targetEntityFrameworkVersion; 210public IList<EdmSchemaError> GenerateMetadata(Version targetEntityFrameworkVersion)
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (5)
45private Version _targetEntityFrameworkVersion; 124public IList<EdmSchemaError> GenerateStoreMetadata(IEnumerable<EntityStoreSchemaFilterEntry> filters, Version targetEntityFrameworkVersion) 136private IList<EdmSchemaError> DoGenerateStoreMetadata(IEnumerable<EntityStoreSchemaFilterEntry> filters, Version targetEntityFrameworkVersion) 297public static EntityConnection CreateStoreSchemaConnection(string providerInvariantName, string connectionString, Version targetEntityFrameworkVersion) 328private static MetadataWorkspace GetProviderSchemaMetadataWorkspace(DbProviderServices providerServices, DbConnection providerConnection, Version targetEntityFrameworkVersion)
System\Data\Entity\Design\EntityStoreSchemaGenerator\EntityStoreSchemaGenerator.LoadMethodSessionState.cs (2)
43private readonly Version _targetEntityFrameworkVersion; 45public LoadMethodSessionState(Version targetEntityFrameworkVersion)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (8)
134Version targetEntityFrameworkVersion; 150public IList<EdmSchemaError> GenerateViews(StorageMappingItemCollection mappingCollection, TextWriter outputWriter, Version targetEntityFrameworkVersion) 162private static void CheckForCompatibleSchemaAndTarget(StorageMappingItemCollection mappingCollection, Version targetEntityFrameworkVersion) 164Version mappingVersion = EntityFrameworkVersionsUtil.ConvertToVersion(mappingCollection.MappingVersion); 170Version edmVersion = EntityFrameworkVersionsUtil.ConvertToVersion(mappingCollection.EdmItemCollection.EdmVersion); 208Version targetEntityFrameworkVersion; 220public static IList<EdmSchemaError> Validate(StorageMappingItemCollection mappingCollection, Version targetEntityFrameworkVersion) 309private static IList<EdmSchemaError> GetMinimumTargetFrameworkVersion(StorageMappingItemCollection mappingCollection, out Version targetFrameworkVersion)
System\Data\Entity\Design\MetadataExtensionMethods.cs (1)
26public static System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType> GetPrimitiveTypes(this EdmItemCollection itemCollection, Version edmVersion)
System\Data\Entity\Design\MetadataItemCollectionFactory.cs (5)
60Version targetEntityFrameworkVersion, 74internal static bool ValidateActualVersionAgainstTarget(Version maxExpectedVersion, Version actualVersion, IList<EdmSchemaError> errors) 111Version targetEntityFrameworkVersion, 152Version targetEntityFrameworkVersion,
System\Data\Entity\Design\SSDLGenerator\EntityStoreSchemaGeneratorDatabaseSchemaLoader.cs (4)
27private readonly Version _storeSchemaModelVersion; 38private static EntityConnection CreateStoreSchemaConnection(string providerInvariantName, string connectionString, out Version storeSchemaModelVersion) 43foreach (var version in EntityFrameworkVersions.ValidVersions.Where(v => v > EntityFrameworkVersions.Version2).OrderByDescending(v => v)) 78public Version StoreSchemaModelVersion
System\Data\Entity\Design\SSDLGenerator\FunctionDetailsReader.cs (1)
30public static FunctionDetailsReader Create(EntityConnection connection, IEnumerable<EntityStoreSchemaFilterEntry> filters, Version storeSchemaModelVersion)
System.Data.Services (19)
System\Data\Services\DataServiceConfiguration.cs (1)
852Version maxProtocolVersion =
System\Data\Services\HttpProcessUtility.cs (3)
352internal static bool TryReadVersion(string text, out KeyValuePair<Version, string> result) 370result = default(KeyValuePair<Version, string>); 396result = new KeyValuePair<Version, string>(new Version(versionText), libraryName);
System\Data\Services\RequestDescription.cs (12)
51internal static readonly Version DataServiceDefaultResponseVersion = new Version(1, 0); 58private static readonly Version[] KnownDataServiceVersions = new Version[] { new Version(1, 0), new Version(2, 0) }; 86private Version requireMinimumVersion; 89private Version responseVersion; 95private Version maxFeatureVersion; 321internal Version RequireMinimumVersion 327internal Version ResponseVersion 333internal Version MaxFeatureVersion 459internal static bool IsKnownRequestVersion(Version requestVersion) 632private static Version RaiseVersion(Version versionToRaise, int major, int minor)
System\Data\Services\Serializers\JsonSerializer.cs (1)
33private static readonly Version JsonResponseVersion1 = new Version(1, 0, 0);
System\Data\Services\WebUtil.cs (2)
1531KeyValuePair<Version, string> version; 1569KeyValuePair<Version, string> version;
System.Data.Services.Client (20)
parent\Server\System\Data\Services\HttpProcessUtility.cs (3)
352internal static bool TryReadVersion(string text, out KeyValuePair<Version, string> result) 370result = default(KeyValuePair<Version, string>); 396result = new KeyValuePair<Version, string>(new Version(versionText), libraryName);
System\Data\Services\Client\ALinq\DataServiceQueryProvider.cs (1)
142Version version;
System\Data\Services\Client\ALinq\QueryComponents.cs (3)
40private Version version; 52internal QueryComponents(Uri uri, Version version, Type lastSegmentType, LambdaExpression projection, Dictionary<Expression, Expression> normalizerRewrites) 100internal Version Version
System\Data\Services\Client\ALinq\UriWriter.cs (2)
38private Version uriVersion; 63internal static void Translate(DataServiceContext context, bool addTrailingParens, Expression e, out Uri uri, out Version version)
System\Data\Services\Client\DataServiceContext.cs (6)
1910internal HttpWebRequest CreateRequest(Uri requestUri, string method, bool allowAnyType, string contentType, Version requestVersion, bool sendChunked) 2267KeyValuePair<Version, string> version; 2585private static void WriteOperationRequestHeaders(StreamWriter writer, string methodName, string uri, Version requestVersion) 2827Version requestVersion = ClientType.Create(box.Entity.GetType()).EpmIsV1Compatible ? Util.DataServiceVersion1 : Util.DataServiceVersion2; 2854Version requestVersion = ClientType.Create(box.Entity.GetType()).EpmIsV1Compatible ? Util.DataServiceVersion1 : Util.DataServiceVersion2; 3260Version requestVersion;
System\Data\Services\Client\Util.cs (5)
38internal static readonly Version DataServiceVersionEmpty = new Version(0, 0); 43internal static readonly Version DataServiceVersion1 = new Version(1, 0); 48internal static readonly Version DataServiceVersion2 = new Version(2, 0); 53internal static readonly Version MaxResponseVersion = DataServiceVersion2; 58internal static readonly Version[] SupportedResponseVersions =
System.Drawing (1)
parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
137Version realVersion = new Version(value);
System.IdentityModel (1)
parent\parent\parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
137Version realVersion = new Version(value);
System.IO.Compression.FileSystem (1)
parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
137Version realVersion = new Version(value);
System.Messaging (2)
System\Messaging\MessageQueue.cs (2)
76internal static readonly Version OSVersion = Environment.OSVersion.Version; 77internal static readonly Version WinXP = new Version(5, 1);
System.ServiceModel (15)
parent\parent\parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
137Version realVersion = new Version(value);
System\ServiceModel\Activation\IConnectionRegister.cs (1)
16ListenerExceptionStatus Register(Version version, int pid, BaseUriWithWildcard path, int queueId, Guid token, string eventName);
System\ServiceModel\Channels\HttpRequestMessageExtensionMethods.cs (1)
96bufferedHttpRequestMessage.Version = (Version)(httpRequestMessage.Version != null ? httpRequestMessage.Version.Clone() : null);
System\ServiceModel\Channels\HttpResponseMessageExtensionMethods.cs (1)
63bufferedHttpResponseMessage.Version = (Version)(httpResponseMessage.Version != null ? httpResponseMessage.Version.Clone() : null);
System\ServiceModel\Channels\Msmq.cs (4)
11static Version longhornVersion = new Version(4, 0); 12static Version version; 25Version osVersion = System.Environment.OSVersion.Version; 35internal static Version Version
System\ServiceModel\Channels\MsmqDiagnostics.cs (1)
308public static void MsmqDetected(Version version)
System\ServiceModel\Channels\MsmqQueue.cs (1)
164public static void GetMsmqInformation(ref Version version, ref bool activeDirectoryEnabled)
System\ServiceModel\Channels\SharedConnectionListener.cs (2)
40static readonly Version ProtocolVersion = new Version(3, 0, 0, 0); 624Version version = ProtocolVersion;
System\ServiceModel\Channels\UnsafeNativeMethods.cs (1)
1164Version windows8Version = new Version(6, 2, 0, 0);
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (1)
386Version osVersion = Environment.OSVersion.Version;
System\ServiceModel\Security\SecurityUtils.cs (1)
322Version windows7Version = new Version(6, 1, 0, 0);
System.Web (105)
Abstractions\HttpBrowserCapabilitiesBase.cs (6)
143public virtual Version ClrVersion { 169public virtual Version EcmaScriptVersion { 254public virtual Version JScriptVersion { 310public virtual Version MSDomVersion { 712public virtual Version W3CDomVersion { 750public virtual Version[] GetClrVersions() {
Abstractions\HttpBrowserCapabilitiesWrapper.cs (6)
33public override Version EcmaScriptVersion { 39public override Version JScriptVersion { 51public override Version W3CDomVersion { 170public override Version ClrVersion { 317public override Version MSDomVersion { 725public override Version[] GetClrVersions() {
Compilation\AssemblyResolver.cs (9)
70private static readonly Lazy<ConcurrentDictionary<string, Version>> s_assemblyVersions = 71new Lazy<ConcurrentDictionary<string, Version>>( 72() => new ConcurrentDictionary<string, Version>(StringComparer.OrdinalIgnoreCase)); 124Version version = name.Version; 125Version targetVersion = targetName.Version; 207private static ConcurrentDictionary<string, Version> AssemblyVersions { 217private static Version GetAssemblyVersion(string path) { 218Version version = null; 297Version resolvedAssemblyVersion = GetAssemblyVersion(path);
Compilation\CompilationUtil.cs (2)
505Version v = GetVersionFromVString(version); 637internal static Version GetVersionFromVString(string version) {
Compilation\MultiTargetingUtil.cs (18)
28internal static Version Version40 = new Version(4, 0); 29internal static Version Version35 = new Version(3, 5); 91Version latestVersion = null; 96Version version = GetFrameworkNameVersion(frameworkName); 170Version v = GetVersion(targetFrameworkMoniker); 182Version ver = GetFrameworkNameVersion(s_targetFrameworkName); 190Version latestVersion = GetFrameworkNameVersion(LatestFrameworkName); 202Version installedTargetVersion = GetInstalledTargetVersion(majorVersion); 216private static Version GetInstalledTargetVersion(int majorVersion) { 230Version ver = new Version(targetVersion); 246var runtime = Environment.Version; 297Version vbVersion = CompilationUtil.GetVersionFromVString(vbCompilerVersion); 298Version csVersion = CompilationUtil.GetVersionFromVString(csharpCompilerVersion); 374Version version = CompilationUtil.GetVersionFromVString(compilerVersion); 420internal static Version TargetFrameworkVersion { 451private static Version GetFrameworkNameVersion(FrameworkName name) { 462private static Version GetVersion(string version) { 468Version ver = new Version(version);
Configuration\HttpCapabilitiesBase.cs (15)
391public Version ClrVersion { 393Version[] clrVersions = GetClrVersions(); 402public Version[] GetClrVersions() { 413return new Version[1] { new Version() }; 419Version version = new Version(match.Groups["clrVersion"].Value); 428return (Version[])versionList.ToArray(typeof(Version)); 607public Version EcmaScriptVersion { 617public Version MSDomVersion { 627public Version W3CDomVersion { 760public Version JScriptVersion { 1786volatile private Version _ecmascriptversion; 1787volatile private Version _jscriptversion; 1788volatile private Version _msdomversion; 1789volatile private Version _w3cdomversion;
Configuration\HttpRuntimeSection.cs (7)
45internal static readonly Version DefaultRequestValidationMode = VersionUtil.FrameworkDefault; 201typeof(Version), 266private Version _requestValidationMode; 564Version version; 565if (!Version.TryParse(targetFramework, out version)) { 671public Version RequestValidationMode { 674_requestValidationMode = (Version)base[_propRequestValidationMode];
Configuration\PagesSection.cs (6)
92private static readonly Version _controlRenderingDefaultVersion = VersionUtil.FrameworkDefault; 93private static readonly Version _controlRenderingMinimumVersion = VersionUtil.Framework35; 100typeof(Version), 167private Version _controlRenderingCompatibilityVersion; 666public Version ControlRenderingCompatibilityVersion { 669_controlRenderingCompatibilityVersion = (Version)base[_propControlRenderingCompatibilityVersion];
Configuration\VersionConverter.cs (2)
20var version = (Version)value;
Configuration\VersionValidator.cs (4)
12private readonly Version _minimumVersion; 14public VersionValidator(Version minimumVersion) { 19return typeof(Version).Equals(type); 26if (((Version)value) < _minimumVersion) {
Hosting\IIS7WorkerRequest.cs (3)
38private static readonly Version IIS_VERSION_70 = new Version(7, 0); 39private static readonly Version IIS_VERSION_75 = new Version(7, 5); 40private static readonly Version IIS_VERSION_80 = new Version(8, 0);
HttpRequest.cs (1)
2642Version requestValidationMode = runtimeSection.RequestValidationMode;
HttpRuntime.cs (3)
279private static Version _iisVersion; 1400public static Version IISVersion { 3085public static Version TargetFramework {
UI\Control.cs (2)
979public virtual Version RenderingCompatibility { 3610public Version RenderingCompatibility;
UI\ControlRenderingHelper.cs (1)
14internal static void WriteSkipLinkStart(HtmlTextWriter writer, Version renderingCompatibility, bool designMode, string skipLinkText, string spacerImageUrl, string clientID) {
UI\Page.cs (4)
213private static readonly Version FocusMinimumEcmaVersion = new Version("1.4"); 214private static readonly Version FocusMinimumJScriptVersion = new Version("3.0"); 215private static readonly Version JavascriptMinimumVersion = new Version("1.0"); 216private static readonly Version MSDomScrollMinimumVersion = new Version("4.0");
Util\BinaryCompatibility.cs (2)
30Version version = VersionUtil.FrameworkDefault; 55public Version TargetFramework { get; private set; }
Util\SmtpMail.cs (1)
295Version osVersion = Environment.OSVersion.Version;
Util\VersionUtil.cs (13)
18public static readonly Version Framework00 = new Version(0, 0); 19public static readonly Version Framework20 = new Version(2, 0); 20public static readonly Version Framework35 = new Version(3, 5); 21public static readonly Version Framework40 = new Version(4, 0); 22public static readonly Version Framework45 = new Version(4, 5); 23public static readonly Version Framework451 = new Version(4, 5, 1); 24public static readonly Version Framework452 = new Version(4, 5, 2); 25public static readonly Version Framework46 = new Version(4, 6); 26public static readonly Version Framework461 = new Version(4, 6, 1); 27public static readonly Version Framework463 = new Version(4, 6, 3); 28public static readonly Version Framework472 = new Version(4, 7, 2); 29public static readonly Version Framework48 = new Version(4, 8); 34public static readonly Version FrameworkDefault = Framework40;
System.Web.Entity (1)
System\Data\WebControls\EntityDataSource.cs (1)
101private readonly Version _targetFrameworkVersion;
System.Web.Extensions (7)
UI\AssemblyCache.cs (3)
45public static Version GetVersion(Assembly assembly) { 47Version version = (Version)_versionCache[assembly];
UI\PageRequestManager.cs (4)
58private static readonly Version MinimumW3CDomVersion = new Version(1, 0); 59private static readonly Version MinimumEcmaScriptVersion = new Version(1, 0); 76private static readonly Version FocusMinimumEcmaVersion = new Version("1.4"); 77private static readonly Version FocusMinimumJScriptVersion = new Version("3.0");
System.Windows.Forms (13)
misc\DpiHelper.cs (1)
63private static readonly Version dpiChangedMessageHighDpiImprovementsMinimumFrameworkVersion = new Version(4, 8);
parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
137Version realVersion = new Version(value);
winforms\Managed\System\WinForms\FeatureSupport.cs (5)
39public static bool IsPresent(string featureClassName, string featureConstName, Version minimumVersion) 75public static Version GetVersionPresent(string featureClassName, string featureConstName) { 120public virtual bool IsPresent(object feature, Version minimumVersion) { 121Version ver = GetVersionPresent(feature); 134public abstract Version GetVersionPresent(object feature);
winforms\Managed\System\WinForms\IFeatureSupport.cs (2)
42bool IsPresent(object feature, Version minimumVersion); 51Version GetVersionPresent(object feature);
winforms\Managed\System\WinForms\OSFeature.cs (2)
66public override Version GetVersionPresent(object feature) { 67Version featureVersion = null;
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (1)
245private static readonly Version VistaOSVersion = new Version(6, 0);
winforms\Managed\System\WinForms\WebBrowser.cs (1)
650public Version Version {
System.Workflow.Activities (3)
Common\TypeSystemHelpers.cs (3)
30private static readonly Version emptyVersion = new Version(0, 0, 0, 0); 148Version thatVersion = thatName.Version; 209Version thatVersion = null;
System.Workflow.ComponentModel (14)
AuthoringOM\Compiler\XomlCompiler.cs (2)
166internal Version TargetFrameworkVersion 217Version targetVersion = null;
AuthoringOM\Compiler\XomlCompilerParameters.cs (8)
29internal static readonly Version DefaultTargetFramework = new Version("4.0"); 31static readonly Version TargetFramework30 = new Version("3.0"); 33static readonly Version TargetFramework35 = new Version("3.5"); 35static readonly Version TargetFramework40 = new Version("4.0"); 41static IDictionary<Version, string> KnownSupportedTargetFrameworksAndRelatedCompilerVersions = 42new Dictionary<Version, string>() 94static string GetCompilerVersion(Version targetFrameworkVersion) 97Version versionKey;
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (1)
2267Version targetVersion = new Version("4.0");
Shared\TypeSystemHelpers.cs (3)
29private static readonly Version emptyVersion = new Version(0, 0, 0, 0); 147Version thatVersion = thatName.Version; 208Version thatVersion = null;
System.Workflow.Runtime (18)
RTTrackingProfile.cs (1)
208internal Version Version
Tracking.cs (11)
527Version versionId; 950internal void AddService(Type trackingServiceType, Version profileVersionId) 981internal bool TryGetProfileVersionId(Type trackingServiceType, out Version profileVersionId) 1043Version _profileVersionId = new Version(0, 0); 1049internal ServiceProfileContainer(Version profileVersionId) 1054internal Version ProfileVersionId 1265internal RTTrackingProfile GetProfile(TrackingService service, Activity workflow, Version versionId) 1401private bool TryGetFromCache(Type serviceType, Type workflowType, Version versionId, out RTTrackingProfile profile) 1536internal Version VersionId = new Version(0, 0); 1554internal CacheItem(Type workflowType, Version versionId) 1588private Version _profileVersionId;
Tracking\SqlTrackingService.cs (3)
51private static Version UnknownProfileVersionId = new Version(0, 0); 242protected internal override TrackingProfile GetProfile(Type workflowType, Version profileVersion) 624private TrackingProfile GetProfileByScheduleType(Type workflowType, Version profileVersionId, bool wantToCreateDefault)
Tracking\TrackingProfile.cs (2)
29private System.Version _version; 62public Version Version
Tracking\TrackingService.cs (1)
21protected internal abstract TrackingProfile GetProfile(Type workflowType, Version profileVersionId);
System.Xml (1)
parent\parent\parent\parent\InternalApis\Clr\inc\AppContextDefaultValues.cs (1)
137Version realVersion = new Version(value);
WindowsBase (3)
Base\MS\Internal\Utilities.cs (1)
18private static readonly Version _osVersion = Environment.OSVersion.Version;
Shared\MS\Internal\SafeSecurityHelper.cs (2)
186Version reqVersion = assemblyName.Version; 193Version curVersion = curAsmName.Version;