Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove old fwlink from Obsolete messages and make message improvements #56690

Merged
merged 11 commits into from
Aug 4, 2021
Prev Previous commit
Next Next commit
Cleanup
  • Loading branch information
jeffhandley committed Aug 1, 2021
commit ae2f09142cb6c3ec05007ad48777be40f79bcbc8
Original file line number Diff line number Diff line change
Expand Up @@ -2195,7 +2195,7 @@ public ResolveNameEventArgs(string? name) { }
}
public delegate void ResolveNameEventHandler(object? sender, System.ComponentModel.Design.Serialization.ResolveNameEventArgs e);
[System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Interface, AllowMultiple=true, Inherited=true)]
[System.ObsoleteAttribute("RootDesignerSerializerAttribute has been deprecated. Use DesignerSerializerAttribute. For example, to specify a root designer for CodeDom, use DesignerSerializerAttribute(...,typeof(TypeCodeDomSerializer)) instead.")]
[System.ObsoleteAttribute("RootDesignerSerializerAttribute has been deprecated. Use DesignerSerializerAttribute instead. For example, to specify a root designer for CodeDom, use DesignerSerializerAttribute(...,typeof(TypeCodeDomSerializer)) instead.")]
public sealed partial class RootDesignerSerializerAttribute : System.Attribute
{
public RootDesignerSerializerAttribute(string? serializerTypeName, string? baseSerializerTypeName, bool reloadable) { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public virtual Task FlushAsync(CancellationToken cancellationToken) =>
static state => ((Stream)state!).Flush(), this,
cancellationToken, TaskCreationOptions.DenyChildAttach, TaskScheduler.Default);

[Obsolete("CreateWaitHandle has been deprecated. Use new ManualResetEvent(false) instead.")]
[Obsolete("CreateWaitHandle has been deprecated. Use the ManualResetEvent(false) constructor instead.")]
protected virtual WaitHandle CreateWaitHandle() => new ManualResetEvent(false);

public virtual IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) =>
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/System.Runtime/ref/System.Runtime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10625,7 +10625,7 @@ public virtual void CopyTo(System.IO.Stream destination, int bufferSize) { }
public System.Threading.Tasks.Task CopyToAsync(System.IO.Stream destination, int bufferSize) { throw null; }
public virtual System.Threading.Tasks.Task CopyToAsync(System.IO.Stream destination, int bufferSize, System.Threading.CancellationToken cancellationToken) { throw null; }
public System.Threading.Tasks.Task CopyToAsync(System.IO.Stream destination, System.Threading.CancellationToken cancellationToken) { throw null; }
[System.ObsoleteAttribute("Stream.CreateWaitHandle has been deprecated. Use new ManualResetEvent(false) instead.")]
[System.ObsoleteAttribute("Stream.CreateWaitHandle has been deprecated. Use the ManualResetEvent(false) constructor instead.")]
protected virtual System.Threading.WaitHandle CreateWaitHandle() { throw null; }
public void Dispose() { }
protected virtual void Dispose(bool disposing) { }
Expand Down