示例#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);