You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code should not trigger CC0022 as all code paths lead to Dispose call:
publicvoidFoo(byte[]data){MemoryStreamstream=null;if(data==null)stream=new MemoryStream();elsestream=new MemoryStream(data);using(stream){// working with the stream here}}
The text was updated successfully, but these errors were encountered:
#Bug
This code should not trigger CC0022 as all code paths lead to Dispose call:
The text was updated successfully, but these errors were encountered: