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
fix: Throw correct exception if opening read-only file for writing (#1135)
fix: Throw exception if opening readonly file for writing
Mock classes did not match .Net's behavior of throwing
UnauthorizedAccessExceptions when opening readonly files with
FileAccess.Write, making it impossible to test those scenarios.
This commit fixes the mock classes so that the exception will
be thrown correctly.
0 commit comments