mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-09 09:34:49 +09:00
Enable IDE0071 (Simplify interpolation) (#70918)
This commit is contained in:
parent
c230ba6b9b
commit
656f909fb0
5 changed files with 5 additions and 5 deletions
|
@ -1501,7 +1501,7 @@ dotnet_diagnostic.IDE0066.severity = suggestion
|
|||
dotnet_diagnostic.IDE0070.severity = suggestion
|
||||
|
||||
# IDE0071: Simplify interpolation
|
||||
dotnet_diagnostic.IDE0071.severity = suggestion
|
||||
dotnet_diagnostic.IDE0071.severity = warning
|
||||
|
||||
# IDE0072: Add missing cases
|
||||
dotnet_diagnostic.IDE0072.severity = silent
|
||||
|
|
|
@ -101,7 +101,7 @@ namespace Microsoft.CSharp.RuntimeBinder.ComInterop
|
|||
typeName = "IDispatch";
|
||||
}
|
||||
|
||||
return $"{RuntimeCallableWrapper.ToString()} ({typeName})";
|
||||
return $"{RuntimeCallableWrapper} ({typeName})";
|
||||
}
|
||||
|
||||
public ComTypeDesc ComTypeDesc
|
||||
|
|
|
@ -127,6 +127,6 @@ namespace System.Drawing.Printing
|
|||
/// <summary>
|
||||
/// Provides some interesting information about the PaperSize in String form.
|
||||
/// </summary>
|
||||
public override string ToString() => $"[PaperSize {PaperName} Kind={Kind.ToString()} Height={Height.ToString(CultureInfo.InvariantCulture)} Width={Width.ToString(CultureInfo.InvariantCulture)}]";
|
||||
public override string ToString() => $"[PaperSize {PaperName} Kind={Kind} Height={Height.ToString(CultureInfo.InvariantCulture)} Width={Width.ToString(CultureInfo.InvariantCulture)}]";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -437,6 +437,6 @@ namespace System.Drawing
|
|||
/// <summary>
|
||||
/// Converts this <see cref='StringFormat'/> to a human-readable string.
|
||||
/// </summary>
|
||||
public override string ToString() => $"[StringFormat, FormatFlags={FormatFlags.ToString()}]";
|
||||
public override string ToString() => $"[StringFormat, FormatFlags={FormatFlags}]";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1414,7 +1414,7 @@ namespace System.Net.Http
|
|||
{
|
||||
if (NetEventSource.Log.IsEnabled())
|
||||
{
|
||||
Trace($"Connected with custom SslStream: alpn='${sslStream.NegotiatedApplicationProtocol.ToString()}'");
|
||||
Trace($"Connected with custom SslStream: alpn='${sslStream.NegotiatedApplicationProtocol}'");
|
||||
}
|
||||
}
|
||||
transportContext = sslStream.TransportContext;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue