[mcs] Replace NET_2_1 by MOBILE
authorLudovic Henry <ludovic@xamarin.com>
Wed, 17 Aug 2016 15:40:30 +0000 (17:40 +0200)
committerLudovic Henry <ludovic@xamarin.com>
Thu, 18 Aug 2016 14:34:36 +0000 (16:34 +0200)
commit249daf43de9c64fefe9f103fc15bb462665b0167
tree9c18ba262b604ee5b6d153444ffdee94eb4ec8c3
parent86e6221becd662c7e4f8f5e1284146c66da5c4a1
[mcs] Replace NET_2_1 by MOBILE

NET_2_1 is also defined whenever we define MOBILE, so they have the same effect. Silverlight was 2.1 but it's been dead for a while now, and we do not even support it.
228 files changed:
mcs/build/common/AssemblyRef.cs
mcs/build/common/Consts.cs.in
mcs/class/Mono.Security/Assembly/AssemblyInfo.cs
mcs/class/Mono.Security/Mono.Security.Protocol.Tls/DebugHelper.cs
mcs/class/Mono.Security/Mono.Security.X509/X509Store.cs
mcs/class/SMDiagnostics/Assembly/AssemblyInfo.cs
mcs/class/System.Core/Assembly/AssemblyInfo.cs
mcs/class/System.Core/System.Security.Cryptography/AesTransform.cs
mcs/class/System.Core/System.Security.Cryptography/MD5Cng.cs
mcs/class/System.Core/System.Security.Cryptography/SHA1Cng.cs
mcs/class/System.Core/System.Security.Cryptography/SHA256Cng.cs
mcs/class/System.Core/System.Security.Cryptography/SHA256CryptoServiceProvider.cs
mcs/class/System.Core/System.Security.Cryptography/SHA384Cng.cs
mcs/class/System.Core/System.Security.Cryptography/SHA384CryptoServiceProvider.cs
mcs/class/System.Core/System.Security.Cryptography/SHA512Cng.cs
mcs/class/System.Core/System.Security.Cryptography/SHA512CryptoServiceProvider.cs
mcs/class/System.Core/tools/hashwrap.cs
mcs/class/System.IdentityModel/Assembly/AssemblyInfo.cs
mcs/class/System.Net/Assembly/AssemblyInfo.cs
mcs/class/System.Net/System.Net.NetworkInformation/NetworkChange_2_1.cs
mcs/class/System.Net/System.Net.NetworkInformation/NetworkInterface_2_1.cs
mcs/class/System.Net/System.Net.Policy/BaseDomainPolicy.cs
mcs/class/System.Net/System.Net.Policy/ClientAccessPolicy.cs
mcs/class/System.Net/System.Net.Policy/ClientAccessPolicyParser.cs
mcs/class/System.Net/System.Net.Policy/CrossDomainPolicyManager.cs
mcs/class/System.Net/System.Net.Policy/FlashCrossDomainPolicy.cs
mcs/class/System.Net/System.Net.Policy/FlashCrossDomainPolicyParser.cs
mcs/class/System.Net/System.Net.Policy/ICrossDomainPolicy.cs
mcs/class/System.Net/System.Net.Policy/NoAccessPolicy.cs
mcs/class/System.Net/System.Net.Policy/PolicyDownloadPolicy.cs
mcs/class/System.Net/System.Net.Policy/SiteOfOriginPolicy.cs
mcs/class/System.Net/System.Net.Sockets/AddressFamily_2_1.cs
mcs/class/System.Net/System.Net.Sockets/ProtocolType_2_1.cs
mcs/class/System.Net/System.Net.Sockets/SocketAsyncOperation_2_1.cs
mcs/class/System.Net/System.Net.Sockets/SocketType_2_1.cs
mcs/class/System.Net/System.Net.Sockets/UdpAnySourceMulticastClient.cs
mcs/class/System.Net/System.Net.Sockets/UdpSingleSourceMulticastClient.cs
mcs/class/System.Net/System.Net/HttpWebRequest_2_1.cs
mcs/class/System.Net/System.Net/HttpWebResponse_2_1.cs
mcs/class/System.Net/System.Net/WebExceptionStatus_2_1.cs
mcs/class/System.Net/System.Net/WebHeaderCollection_2_1.cs
mcs/class/System.Net/System.Net/WebRequest_2_1.cs
mcs/class/System.Net/System.Net/WebResponse_2_1.cs
mcs/class/System.Net/System.Net/WriteStreamClosedEventArgs_2_1.cs
mcs/class/System.Net/System.Net/WriteStreamClosedEventHandler_2_1.cs
mcs/class/System.Runtime.DurableInstancing/Assembly/AssemblyInfo.cs
mcs/class/System.Runtime.Serialization/Assembly/AssemblyInfo.cs
mcs/class/System.ServiceModel.Discovery/Assembly/AssemblyInfo.cs
mcs/class/System.ServiceModel.Internals/Assembly/AssemblyInfo.cs
mcs/class/System.ServiceModel.Routing/Assembly/AssemblyInfo.cs
mcs/class/System.ServiceModel.Syndication/Assembly/AssemblyInfo.cs
mcs/class/System.ServiceModel.Web.Extensions/Assembly/AssemblyInfo.cs
mcs/class/System.ServiceModel.Web/Assembly/AssemblyInfo.cs
mcs/class/System.ServiceModel.Web/System.ServiceModel.Channels/WebMessageEncoder.cs
mcs/class/System.ServiceModel.Web/System.ServiceModel.Channels/WebMessageEncodingBindingElement.cs
mcs/class/System.ServiceModel.Web/System.ServiceModel.Description/WebHttpBehavior.cs
mcs/class/System.ServiceModel.Web/System.ServiceModel.Dispatcher/WebMessageFormatter.cs
mcs/class/System.ServiceModel.Web/System.ServiceModel.Web/WebChannelFactory.cs
mcs/class/System.ServiceModel.Web/System.ServiceModel.Web/WebOperationContext.cs
mcs/class/System.ServiceModel.Web/System.ServiceModel/WebHttpBinding.cs
mcs/class/System.ServiceModel.Web/System.ServiceModel/WebHttpSecurity.cs
mcs/class/System.ServiceModel/Assembly/AssemblyInfo.cs
mcs/class/System.ServiceModel/Mono.CodeGeneration/CodeModule.cs
mcs/class/System.ServiceModel/Mono.Security.Protocol.Tls/DebugHelper.cs
mcs/class/System.ServiceModel/System.ServiceModel.Channels/BinaryMessageEncodingBindingElement.cs
mcs/class/System.ServiceModel/System.ServiceModel.Channels/Binding.cs
mcs/class/System.ServiceModel/System.ServiceModel.Channels/BindingContext.cs
mcs/class/System.ServiceModel/System.ServiceModel.Channels/BindingElement.cs
mcs/class/System.ServiceModel/System.ServiceModel.Channels/ChannelManagerBase.cs
mcs/class/System.ServiceModel/System.ServiceModel.Channels/FaultConverter.cs
mcs/class/System.ServiceModel/System.ServiceModel.Channels/HttpRequestChannel.cs
mcs/class/System.ServiceModel/System.ServiceModel.Channels/HttpTransportBindingElement.cs
mcs/class/System.ServiceModel/System.ServiceModel.Channels/HttpsTransportBindingElement.cs
mcs/class/System.ServiceModel/System.ServiceModel.Channels/LocalClientSecuritySettings.cs
mcs/class/System.ServiceModel/System.ServiceModel.Channels/MessageBufferImpl.cs
mcs/class/System.ServiceModel/System.ServiceModel.Channels/MessageEncodingBindingElement.cs
mcs/class/System.ServiceModel/System.ServiceModel.Channels/MessageHeader.cs
mcs/class/System.ServiceModel/System.ServiceModel.Channels/MessageHeaders.cs
mcs/class/System.ServiceModel/System.ServiceModel.Channels/MessageProperties.cs
mcs/class/System.ServiceModel/System.ServiceModel.Channels/ReliableSessionBindingElement.cs
mcs/class/System.ServiceModel/System.ServiceModel.Channels/SecurityBindingElement.cs
mcs/class/System.ServiceModel/System.ServiceModel.Channels/TextMessageEncodingBindingElement.cs
mcs/class/System.ServiceModel/System.ServiceModel.Channels/TransportBindingElement.cs
mcs/class/System.ServiceModel/System.ServiceModel.Channels/TransportSecurityBindingElement.cs
mcs/class/System.ServiceModel/System.ServiceModel.Description/ClientCredentials.cs
mcs/class/System.ServiceModel/System.ServiceModel.Description/ContractDescriptionGenerator.cs
mcs/class/System.ServiceModel/System.ServiceModel.Description/DataContractSerializerOperationBehavior.cs
mcs/class/System.ServiceModel/System.ServiceModel.Description/MessagePartDescription.cs
mcs/class/System.ServiceModel/System.ServiceModel.Description/XmlSerializerOperationBehavior.cs
mcs/class/System.ServiceModel/System.ServiceModel.Diagnostics/MessageLoggingSettings.cs
mcs/class/System.ServiceModel/System.ServiceModel.Dispatcher/BaseMessagesFormatter.cs
mcs/class/System.ServiceModel/System.ServiceModel.Dispatcher/ClientOperation.cs
mcs/class/System.ServiceModel/System.ServiceModel.Dispatcher/ClientRuntime.cs
mcs/class/System.ServiceModel/System.ServiceModel.Dispatcher/DispatchOperation.cs
mcs/class/System.ServiceModel/System.ServiceModel.Dispatcher/DispatchRuntime.cs
mcs/class/System.ServiceModel/System.ServiceModel.Security/X509CertificateInitiatorClientCredential.cs
mcs/class/System.ServiceModel/System.ServiceModel.Security/X509CertificateRecipientClientCredential.cs
mcs/class/System.ServiceModel/System.ServiceModel/BasicHttpBinding_4_5.cs
mcs/class/System.ServiceModel/System.ServiceModel/BasicHttpsBinding.cs
mcs/class/System.ServiceModel/System.ServiceModel/ChannelFactory.cs
mcs/class/System.ServiceModel/System.ServiceModel/ClientProxyGenerator.cs
mcs/class/System.ServiceModel/System.ServiceModel/ClientRealProxy.cs
mcs/class/System.ServiceModel/System.ServiceModel/EndpointAddress.cs
mcs/class/System.ServiceModel/System.ServiceModel/EndpointAddress10.cs
mcs/class/System.ServiceModel/System.ServiceModel/EndpointAddressBuilder.cs
mcs/class/System.ServiceModel/System.ServiceModel/Logger.cs
mcs/class/System.ServiceModel/System.ServiceModel/OperationContext.cs
mcs/class/System.ServiceModel/System.ServiceModel/SilverlightClientConfigLoader.cs
mcs/class/System.ServiceModel/Test/System.ServiceModel.Channels/CommunicationObjectSyncTest.cs
mcs/class/System.XML/Assembly/AssemblyInfo.cs
mcs/class/System.XML/Makefile
mcs/class/System.XML/System.Xml.Serialization/XmlChoiceIdentifierAttribute.cs
mcs/class/System.XML/System.Xml.Serialization/XmlMemberMapping.cs
mcs/class/System.XML/System.Xml.Serialization/XmlReflectionImporter.cs
mcs/class/System.XML/System.Xml.Serialization/XmlSerializer.cs
mcs/class/System.Xaml/Assembly/AssemblyInfo.cs
mcs/class/System.Xaml/System.Xaml/TypeExtensionMethods.cs
mcs/class/System.Xml.Linq/Assembly/AssemblyInfo.cs
mcs/class/System/Assembly/AssemblyInfo.cs
mcs/class/System/System.Diagnostics/FileVersionInfo.cs
mcs/class/System/System.Diagnostics/ProcessModuleCollection.cs
mcs/class/System/System.Diagnostics/ProcessThreadCollection.cs
mcs/class/System/System.Net.Mail/MailMessage.cs
mcs/class/System/System.Net.Sockets/Socket.cs
mcs/class/System/System.Net.Sockets/SocketAsyncEventArgs.cs
mcs/class/System/System.Net/AuthenticationManager.cs
mcs/class/System/System.Net/FtpWebRequest.cs
mcs/class/System/System.Net/HttpWebRequest.cs
mcs/class/System/System.Net/ServicePointManager.cs
mcs/class/System/System/UriTypeConverter.cs
mcs/class/System/Test/System.ComponentModel/CategoryAttributeTests.cs
mcs/class/System/Test/System.Net/ServicePointManagerTest.cs
mcs/class/corlib/Assembly/AssemblyInfo.cs
mcs/class/corlib/Makefile
mcs/class/corlib/Microsoft.Win32/IRegistryApi.cs
mcs/class/corlib/Microsoft.Win32/RegistryKeyPermissionCheck.cs
mcs/class/corlib/Microsoft.Win32/UnixRegistryApi.cs
mcs/class/corlib/Microsoft.Win32/Win32RegistryApi.cs
mcs/class/corlib/Microsoft.Win32/Win32ResultCode.cs
mcs/class/corlib/System.Diagnostics/StackFrame.cs
mcs/class/corlib/System.Globalization/CultureInfo.cs
mcs/class/corlib/System.IO/Directory.cs
mcs/class/corlib/System.IO/File.cs
mcs/class/corlib/System.IO/FileStream.cs
mcs/class/corlib/System.IO/MonoIO.cs
mcs/class/corlib/System.IO/Path.cs
mcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.cs
mcs/class/corlib/System.Reflection.Emit/ConstructorBuilder.cs
mcs/class/corlib/System.Reflection.Emit/MethodBuilder.cs
mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
mcs/class/corlib/System.Reflection/Assembly.cs
mcs/class/corlib/System.Reflection/EventInfo.cs
mcs/class/corlib/System.Reflection/MonoMethod.cs
mcs/class/corlib/System.Reflection/MonoModule.cs
mcs/class/corlib/System.Reflection/MonoProperty.cs
mcs/class/corlib/System.Reflection/StrongNameKeyPair.cs
mcs/class/corlib/System.Reflection/TargetException.cs
mcs/class/corlib/System.Reflection/TargetInvocationException.cs
mcs/class/corlib/System.Reflection/TargetParameterCountException.cs
mcs/class/corlib/System.Runtime.InteropServices/_Assembly.cs
mcs/class/corlib/System.Runtime.Remoting.Activation/ActivationServices.cs
mcs/class/corlib/System.Runtime.Remoting/RemotingServices.cs
mcs/class/corlib/System.Security.Cryptography.X509Certificates/X509Certificate.cs
mcs/class/corlib/System.Security.Cryptography.X509Certificates/X509ContentType.cs
mcs/class/corlib/System.Security.Cryptography.X509Certificates/X509Helper.cs
mcs/class/corlib/System.Security.Cryptography.X509Certificates/X509KeyStorageFlags.cs
mcs/class/corlib/System.Security.Cryptography/RNGCryptoServiceProvider.cs
mcs/class/corlib/System.Security.Permissions/CodeAccessSecurityAttribute.cs
mcs/class/corlib/System.Security.Permissions/EnvironmentPermissionAttribute.cs
mcs/class/corlib/System.Security.Permissions/FileIOPermissionAttribute.cs
mcs/class/corlib/System.Security.Permissions/HostProtectionAttribute.cs
mcs/class/corlib/System.Security.Permissions/PermissionSetAttribute.cs
mcs/class/corlib/System.Security.Permissions/ReflectionPermissionAttribute.cs
mcs/class/corlib/System.Security.Permissions/SecurityAction.cs
mcs/class/corlib/System.Security.Permissions/SecurityAttribute.cs
mcs/class/corlib/System.Security.Permissions/SecurityPermissionAttribute.cs
mcs/class/corlib/System.Security.Permissions/SecurityPermissionFlag.cs
mcs/class/corlib/System.Security.Permissions/StrongNamePermissionAttribute.cs
mcs/class/corlib/System.Security.Policy/Evidence.cs
mcs/class/corlib/System.Security.Policy/Evidence_2_1.cs
mcs/class/corlib/System.Security/SecurityManager.cs
mcs/class/corlib/System.Threading/EventWaitHandle.cs
mcs/class/corlib/System.Threading/Mutex.cs
mcs/class/corlib/System/AppDomain.cs
mcs/class/corlib/System/AppDomainManager_2_1.cs
mcs/class/corlib/System/AppDomainSetup.cs
mcs/class/corlib/System/CStreamReader.cs
mcs/class/corlib/System/CStreamWriter.cs
mcs/class/corlib/System/Console.cs
mcs/class/corlib/System/ConsoleDriver.cs
mcs/class/corlib/System/Environment.cs
mcs/class/corlib/System/NullConsoleDriver.cs
mcs/class/corlib/System/Nullable.cs
mcs/class/corlib/System/TermInfoDriver.cs
mcs/class/corlib/System/TermInfoNumbers.cs
mcs/class/corlib/System/TermInfoReader.cs
mcs/class/corlib/System/TermInfoStrings.cs
mcs/class/corlib/System/TimeZoneInfo.cs
mcs/class/corlib/System/WeakReference.cs
mcs/class/corlib/System/WindowsConsoleDriver.cs
mcs/class/corlib/System/_AppDomain.cs
mcs/class/corlib/Test/System.IO.IsolatedStorage/IsolatedStorageFileTest.cs
mcs/class/corlib/Test/System.IO/FileStreamSafeHandleTest.cs
mcs/class/corlib/Test/System.Reflection.Emit/MethodBuilderTest.cs
mcs/class/corlib/Test/System.Reflection/MonoGenericClassTest.cs
mcs/class/corlib/Test/System.Reflection/ParameterInfoTest.cs
mcs/class/corlib/Test/System.Runtime.InteropServices/MarshalTest.cs
mcs/class/corlib/Test/System.Runtime.InteropServices/RuntimeEnvironmentTest.cs
mcs/class/corlib/Test/System.Security.Cryptography.X509Certificates/X509CapiTest.cs
mcs/class/corlib/Test/System.Security.Cryptography/CryptoConfigTest.cs
mcs/class/corlib/Test/System.Security.Cryptography/CryptoStreamTest.cs
mcs/class/corlib/Test/System.Security.Cryptography/DSACryptoServiceProviderTest.cs
mcs/class/corlib/Test/System.Security.Cryptography/HashAlgorithmTest.cs
mcs/class/corlib/Test/System.Security.Cryptography/PasswordDeriveBytesTest.cs
mcs/class/corlib/Test/System.Security.Cryptography/RNGCryptoServiceProviderTest.cs
mcs/class/corlib/Test/System.Security.Cryptography/RSACryptoServiceProviderTest.cs
mcs/class/corlib/Test/System.Security.Cryptography/RijndaelManagedTest.cs
mcs/class/corlib/Test/System.Security/HostSecurityManagerTest.cs
mcs/class/corlib/Test/System/EnvironmentTest.cs
mcs/mcs/class.cs
mcs/mcs/decl.cs
mcs/mcs/doc-bootstrap.cs
mcs/mcs/eval.cs
mcs/mcs/method.cs
mcs/mcs/property.cs
mcs/mcs/reflection.cs
mcs/tools/compiler-tester/compiler-tester.cs
mcs/tools/compiler-tester/xmldocdiff.cs