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
Copy file name to clipboardExpand all lines: src/SMAPI/Framework/ContentCoordinator.cs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -366,7 +366,7 @@ public T LoadManagedAsset<T>(string contentManagerId, IAssetName relativePath)
366
366
/// <param name="predicate">Matches the asset keys to invalidate.</param>
367
367
/// <param name="dispose">Whether to dispose invalidated assets. This should only be <c>true</c> when they're being invalidated as part of a dispose, to avoid crashing the game.</param>
368
368
/// <returns>Returns the invalidated asset keys.</returns>
@@ -381,7 +381,7 @@ public IEnumerable<IAssetName> InvalidateCache(Func<IAssetInfo, bool> predicate,
381
381
/// <param name="predicate">Matches the asset keys to invalidate.</param>
382
382
/// <param name="dispose">Whether to dispose invalidated assets. This should only be <c>true</c> when they're being invalidated as part of a dispose, to avoid crashing the game.</param>
383
383
/// <returns>Returns the invalidated asset names.</returns>
/// <param name="unlessStackIncludes">A list of stack trace substrings which should suppress deprecation warnings if they appear in the stack trace.</param>
this.Monitor.Log($"Requested cache invalidation for all assets of type {typeof(T)}. This is an expensive operation and should be avoided if possible.");
this.MarkFlag(InstructionHandleResult.NotCompatible,$"reference to {this.GetMemberDisplayName(methodDef)} (no such method returns {this.GetFriendlyTypeName(methodDef.ReturnType)})");
0 commit comments