Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Perez Rodriguez <joperezr@microsoft.com>2016-11-21 23:56:07 +0300
committerGitHub <noreply@github.com>2016-11-21 23:56:07 +0300
commit277b781b6326e06716173132f68317ddc475f67d (patch)
treeec3fe9d355ec492699597338af7d5d8d9f9d77a4 /src/System.Runtime.Extensions/ref
parentfde03d52cfcfef69464923a68e28898bc977635a (diff)
Adding Obsolete Attributes to missing type/members (#13771)
Adding Obsolete Attributes to missing type/members
Diffstat (limited to 'src/System.Runtime.Extensions/ref')
-rw-r--r--src/System.Runtime.Extensions/ref/System.Runtime.Extensions.cs23
1 files changed, 12 insertions, 11 deletions
diff --git a/src/System.Runtime.Extensions/ref/System.Runtime.Extensions.cs b/src/System.Runtime.Extensions/ref/System.Runtime.Extensions.cs
index 79db0d1f0b..0982b8117e 100644
--- a/src/System.Runtime.Extensions/ref/System.Runtime.Extensions.cs
+++ b/src/System.Runtime.Extensions/ref/System.Runtime.Extensions.cs
@@ -54,24 +54,24 @@ namespace System
public System.Reflection.Assembly Load(string assemblyString) { throw null; }
public System.Reflection.Assembly[] ReflectionOnlyGetAssemblies() { throw null; }
public void SetData(string name, object data) { }
- [ObsoleteAttribute("AppDomain.SetDynamicBase has been deprecated.")]
+ [ObsoleteAttribute("AppDomain.SetDynamicBase has been deprecated. Please investigate the use of AppDomainSetup.DynamicBase instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public void SetDynamicBase(string path) { }
public void SetPrincipalPolicy(System.Security.Principal.PrincipalPolicy policy) { }
public void SetThreadPrincipal(System.Security.Principal.IPrincipal principal) { }
public override string ToString() { throw null; }
public static void Unload(System.AppDomain domain) { }
public bool ShadowCopyFiles { get { throw null; } }
- [Obsolete("AppDomain.AppendPrivatePath has been deprecated.")]
+ [Obsolete("AppDomain.AppendPrivatePath has been deprecated. Please investigate the use of AppDomainSetup.PrivateBinPath instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public void AppendPrivatePath(string path) { }
- [Obsolete("AppDomain.ClearPrivatePath has been deprecated.")]
+ [Obsolete("AppDomain.ClearPrivatePath has been deprecated. Please investigate the use of AppDomainSetup.PrivateBinPath instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public void ClearPrivatePath() { }
- [Obsolete("AppDomain.ClearShadowCopyPath has been deprecated.")]
+ [Obsolete("AppDomain.ClearShadowCopyPath has been deprecated. Please investigate the use of AppDomainSetup.ShadowCopyDirectories instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public void ClearShadowCopyPath() { }
- [Obsolete("AppDomain.SetCachePath has been deprecated.")]
+ [Obsolete("AppDomain.SetCachePath has been deprecated. Please investigate the use of AppDomainSetup.CachePath instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public void SetCachePath(string path) { }
- [Obsolete("AppDomain.SetShadowCopyFiles has been deprecated.")]
+ [Obsolete("AppDomain.SetShadowCopyFiles has been deprecated. Please investigate the use of AppDomainSetup.ShadowCopyFiles instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public void SetShadowCopyFiles() { }
- [Obsolete("AppDomain.SetShadowCopyPath has been deprecated.")]
+ [Obsolete("AppDomain.SetShadowCopyPath has been deprecated. Please investigate the use of AppDomainSetup.ShadowCopyDirectories instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public void SetShadowCopyPath(string path) { }
}
@@ -1147,6 +1147,7 @@ namespace System.IO
{
public static readonly char AltDirectorySeparatorChar;
public static readonly char DirectorySeparatorChar;
+ [ObsoleteAttribute("Please use GetInvalidPathChars or GetInvalidFileNameChars instead.")]
public static readonly char[] InvalidPathChars;
public static readonly char PathSeparator;
public static readonly char VolumeSeparatorChar;
@@ -1572,16 +1573,16 @@ namespace System.Security.Permissions
{
Assert = 3,
Demand = 2,
- [System.ObsoleteAttribute]
+ [System.ObsoleteAttribute("Deny is obsolete and will be removed in a future release of the .NET Framework. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.")]
Deny = 4,
InheritanceDemand = 7,
LinkDemand = 6,
PermitOnly = 5,
- [System.ObsoleteAttribute]
+ [System.ObsoleteAttribute("Assembly level declarative security is obsolete and is no longer enforced by the CLR by default. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.")]
RequestMinimum = 8,
- [System.ObsoleteAttribute]
+ [System.ObsoleteAttribute("Assembly level declarative security is obsolete and is no longer enforced by the CLR by default. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.")]
RequestOptional = 9,
- [System.ObsoleteAttribute]
+ [System.ObsoleteAttribute("Assembly level declarative security is obsolete and is no longer enforced by the CLR by default. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.")]
RequestRefuse = 10,
}
[System.AttributeUsageAttribute((System.AttributeTargets)109, AllowMultiple = true, Inherited = false)]