Silverlight использует IsolatedStorageFileStream для открытия файлов.
IsolatedStorageFileStreamunder NET.4 заявляет о поддержке метода блокировки (Унаследовано от FileStream)
следующий код
IsolatedStorageFile isf;
IsolatedStorageFileStream lockStream = new IsolatedStorageFileStream( "my.lck", FileMode.OpenOrCreate, isf );
lockStream.Lock( 0, 0 );
генерирует следующую ошибку, упакованную для удобства чтения, в VS2010 и Silverlight 4
'System.IO.IsolatedStorage.IsolatedStorageFileStream' does not contain a definition for 'Lock'
and no extension method 'Lock' accepting a first argument of type 'System.IO.IsolatedStorage.IsolatedStorageFileStream' could be found
(are you missing a using directive or an assembly reference?)