Пример #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);