We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14df8d4 commit 18a6cf5Copy full SHA for 18a6cf5
1 file changed
src/Analysis/Ast/Impl/Modules/PythonModule.cs
@@ -235,7 +235,14 @@ protected virtual void Dispose(bool disposing) {
235
/// <summary>
236
/// Returns module content (code).
237
/// </summary>
238
- public string Content => _buffer.Text;
+ public string Content {
239
+ get {
240
+ lock (AnalysisLock) {
241
+ return _buffer.Text;
242
+ }
243
244
245
+
246
#endregion
247
248
#region Parsing
0 commit comments