A new permission that represents the union of the current permission and the specified permission.
Type Reason ArgumentException other is not null and is not of type System.Security.Permissions.FileIOPermission .
The result of a call to FileIOPermission.Union(System.Security.IPermission) is a permission that represents all the operations represented by both the current permission and the specified permission. Any demand that passes either permission passes their union.