예제 #1
0
 /// <summary cref="IMethodCollectionPredicate.Match(Method)"/>
 public bool Match(Method method) =>
 !method.HasTransformationFlags(MethodTransformationFlags.Dirty);
예제 #2
0
 /// <summary cref="IMethodCollectionPredicate.Match(Method)"/>
 public bool Match(Method method) => true;
예제 #3
0
 /// <summary>
 /// Formats an error message to include the current debug information.
 /// </summary>
 public string FormatErrorMessage(string message) =>
 Method.FormatErrorMessage(message);
예제 #4
0
 /// <summary>
 /// Resolve the source method to a remapped target method.
 /// </summary>
 /// <param name="source">The source method.</param>
 /// <returns>The resolved target method.</returns>
 public Method this[Method source]
 {
     [MethodImpl(MethodImplOptions.AggressiveInlining)]
     get => mapping != null && mapping.TryGetValue(source, out Method target)
예제 #5
0
 public void AssertNoControlFlowUpdate() =>
 Method.Assert(!updateControlFlow | acceptControlFlowUpdates);