Skip to content

Commit 45f5de0

Browse files
committed
Use parameter instead of property in EncodedFile ctor
1 parent ae71267 commit 45f5de0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotnet/src/webdriver/EncodedFile.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public abstract class EncodedFile
4242
protected EncodedFile(string base64EncodedFile)
4343
{
4444
this.AsBase64EncodedString = base64EncodedFile ?? throw new ArgumentNullException(nameof(base64EncodedFile));
45-
this.AsByteArray = Convert.FromBase64String(this.AsBase64EncodedString);
45+
this.AsByteArray = Convert.FromBase64String(base64EncodedFile);
4646
}
4747

4848
/// <summary>

0 commit comments

Comments
 (0)