mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-10 18:11:04 +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
|
dotnet_diagnostic.IDE0070.severity = suggestion
|
||||||
|
|
||||||
# IDE0071: Simplify interpolation
|
# IDE0071: Simplify interpolation
|
||||||
dotnet_diagnostic.IDE0071.severity = suggestion
|
dotnet_diagnostic.IDE0071.severity = warning
|
||||||
|
|
||||||
# IDE0072: Add missing cases
|
# IDE0072: Add missing cases
|
||||||
dotnet_diagnostic.IDE0072.severity = silent
|
dotnet_diagnostic.IDE0072.severity = silent
|
||||||
|
|
|
@ -101,7 +101,7 @@ namespace Microsoft.CSharp.RuntimeBinder.ComInterop
|
||||||
typeName = "IDispatch";
|
typeName = "IDispatch";
|
||||||
}
|
}
|
||||||
|
|
||||||
return $"{RuntimeCallableWrapper.ToString()} ({typeName})";
|
return $"{RuntimeCallableWrapper} ({typeName})";
|
||||||
}
|
}
|
||||||
|
|
||||||
public ComTypeDesc ComTypeDesc
|
public ComTypeDesc ComTypeDesc
|
||||||
|
|
|
@ -127,6 +127,6 @@ namespace System.Drawing.Printing
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Provides some interesting information about the PaperSize in String form.
|
/// Provides some interesting information about the PaperSize in String form.
|
||||||
/// </summary>
|
/// </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>
|
/// <summary>
|
||||||
/// Converts this <see cref='StringFormat'/> to a human-readable string.
|
/// Converts this <see cref='StringFormat'/> to a human-readable string.
|
||||||
/// </summary>
|
/// </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())
|
if (NetEventSource.Log.IsEnabled())
|
||||||
{
|
{
|
||||||
Trace($"Connected with custom SslStream: alpn='${sslStream.NegotiatedApplicationProtocol.ToString()}'");
|
Trace($"Connected with custom SslStream: alpn='${sslStream.NegotiatedApplicationProtocol}'");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
transportContext = sslStream.TransportContext;
|
transportContext = sslStream.TransportContext;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue