From f1ff37efdb2c08cc779b5465c7046453f6b8a17c Mon Sep 17 00:00:00 2001 From: Kevin Pilch <kevinpi@microsoft.com> Date: Tue, 28 May 2019 17:24:11 -0700 Subject: [PATCH] Clean up some stale comments (#10561) Addresses AzDO Bug #890301 (https://dev.azure.com/devdiv/DevDiv/_workitems/edit/890301/) --- .../Blazor/Server/src/MonoDebugProxy/ws-proxy/MonoProxy.cs | 1 - .../Blazor/Server/src/MonoDebugProxy/ws-proxy/WsProxy.cs | 4 ++-- .../AspNetCoreModule-Setup/IIS-Setup/iisca/lib/msiutil.cpp | 4 ++-- src/MusicStore/samples/MusicStore/Models/Order.cs | 3 +-- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/Components/Blazor/Server/src/MonoDebugProxy/ws-proxy/MonoProxy.cs b/src/Components/Blazor/Server/src/MonoDebugProxy/ws-proxy/MonoProxy.cs index 6ff776bffe0..d72c540f119 100644 --- a/src/Components/Blazor/Server/src/MonoDebugProxy/ws-proxy/MonoProxy.cs +++ b/src/Components/Blazor/Server/src/MonoDebugProxy/ws-proxy/MonoProxy.cs @@ -247,7 +247,6 @@ namespace WsProxy { } //step one, figure out where did we hit - //lol no, fuck it, let's use fake data var res_value = res.Value? ["result"]? ["value"]; if (res_value == null || res_value is JValue) { //Give up and send the original call stack diff --git a/src/Components/Blazor/Server/src/MonoDebugProxy/ws-proxy/WsProxy.cs b/src/Components/Blazor/Server/src/MonoDebugProxy/ws-proxy/WsProxy.cs index e575e0a244b..17c72e9ce78 100644 --- a/src/Components/Blazor/Server/src/MonoDebugProxy/ws-proxy/WsProxy.cs +++ b/src/Components/Blazor/Server/src/MonoDebugProxy/ws-proxy/WsProxy.cs @@ -71,7 +71,7 @@ namespace WsProxy { pending.Add (bytes); if (pending.Count == 1) { if (current_send != null) - throw new Exception ("WTF, current_send MUST BE NULL IF THERE'S no pending send"); + throw new Exception ("UNEXPECTED, current_send MUST BE NULL IF THERE'S no pending send"); //Console.WriteLine ("sending {0} bytes", bytes.Length); current_send = Ws.SendAsync (new ArraySegment<byte> (bytes), WebSocketMessageType.Text, true, token); return current_send; @@ -86,7 +86,7 @@ namespace WsProxy { if (pending.Count > 0) { if (current_send != null) - throw new Exception ("WTF, current_send MUST BE NULL IF THERE'S no pending send"); + throw new Exception ("UNEXPECTED, current_send MUST BE NULL IF THERE'S no pending send"); //Console.WriteLine ("sending more {0} bytes", pending[0].Length); current_send = Ws.SendAsync (new ArraySegment<byte> (pending [0]), WebSocketMessageType.Text, true, token); return current_send; diff --git a/src/Installers/Windows/AspNetCoreModule-Setup/IIS-Setup/iisca/lib/msiutil.cpp b/src/Installers/Windows/AspNetCoreModule-Setup/IIS-Setup/iisca/lib/msiutil.cpp index 2a9b65ab372..a25dd4425b1 100644 --- a/src/Installers/Windows/AspNetCoreModule-Setup/IIS-Setup/iisca/lib/msiutil.cpp +++ b/src/Installers/Windows/AspNetCoreModule-Setup/IIS-Setup/iisca/lib/msiutil.cpp @@ -326,7 +326,7 @@ exit: WCHAR CA_DATA_DELIM[] = { '^', 0 }; // -// BUGBUG - Prefix will barf on this +// BUGBUG - Prefix will not handle this // Can I really trust this data hasn't been tampered with? // WCHAR * @@ -578,4 +578,4 @@ exit: IISLogWrite(SETUP_LOG_SEVERITY_INFORMATION, L"Error in function %s, hr=0x%x", UNITEXT(__FUNCTION__), hr); } return hr; -} \ No newline at end of file +} diff --git a/src/MusicStore/samples/MusicStore/Models/Order.cs b/src/MusicStore/samples/MusicStore/Models/Order.cs index 3406b963a8c..f1886ff0aef 100644 --- a/src/MusicStore/samples/MusicStore/Models/Order.cs +++ b/src/MusicStore/samples/MusicStore/Models/Order.cs @@ -5,7 +5,6 @@ using Microsoft.AspNetCore.Mvc.ModelBinding; namespace MusicStore.Models { - //[Bind(Include = "FirstName,LastName,Address,City,State,PostalCode,Country,Phone,Email")] public class Order { [BindNever] @@ -71,4 +70,4 @@ namespace MusicStore.Models [BindNever] public List<OrderDetail> OrderDetails { get; set; } } -} \ No newline at end of file +} -- GitLab