From 1818042690eba8cd5978f4728b60f0b522649fb4 Mon Sep 17 00:00:00 2001 From: Luke Latham Date: Mon, 16 Nov 2020 16:06:12 -0600 Subject: [PATCH] Fix Blazor Uploads code sample (#20616) --- .../file-uploads/samples/5.x/Components/FileUpload.razor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aspnetcore/blazor/file-uploads/samples/5.x/Components/FileUpload.razor b/aspnetcore/blazor/file-uploads/samples/5.x/Components/FileUpload.razor index b1e5c9d154..4857a3afae 100644 --- a/aspnetcore/blazor/file-uploads/samples/5.x/Components/FileUpload.razor +++ b/aspnetcore/blazor/file-uploads/samples/5.x/Components/FileUpload.razor @@ -59,8 +59,8 @@ using var stream = person.Picture.OpenReadStream(); var buffer = new byte[4 * 1096]; - private int bytesRead; - private double totalRead = 0; + int bytesRead; + double totalRead = 0; displayProgress = true;