Created
September 22, 2019 21:52
-
-
Save controlflow/7502b575f58389cc6f38e13d8d49f3dd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foreach (var sourceFile in transaction.GetProperties(typeof(SymbolCache)).OfType<Pair<IPsiSourceFile, bool>>()) | |
{ | |
SynchUpdateCacheForFile(sourceFile: sourceFile.First, isRollback: true, underTransaction: false, fireEvent: sourceFile.Second); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foreach (var property in transaction.GetProperties(typeof(SymbolCache))) | |
{ | |
if (property is Pair (var sourceFile, var fireEvent)) | |
SynchUpdateCacheForFile(sourceFile: sourceFile, isRollback: true, underTransaction: false, fireEvent); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment