[fxcop] preview handler common (#6762)

* FxCop adjustments

* initing due to change for abstract
This commit is contained in:
Clint Rutkas
2020-09-23 10:22:17 -07:00
committed by GitHub
parent 75ace74d37
commit 0148669e98
22 changed files with 241 additions and 138 deletions

View File

@@ -48,7 +48,7 @@ namespace Microsoft.PowerToys.PreviewHandler.Svg
{
_infoBarAdded = false;
string svgData = null;
using (var stream = new StreamWrapper(dataSource as IStream))
using (var stream = new ReadonlyStream(dataSource as IStream))
{
using (var reader = new StreamReader(stream))
{