Esempio n. 1
0
 /// <summary cref="IMethodCollectionPredicate.Match(Method)"/>
 public bool Match(Method method) =>
 !method.HasTransformationFlags(MethodTransformationFlags.Dirty);
Esempio n. 2
0
 /// <summary cref="IMethodCollectionPredicate.Match(Method)"/>
 public bool Match(Method method) => true;
Esempio n. 3
0
 /// <summary>
 /// Formats an error message to include the current debug information.
 /// </summary>
 public string FormatErrorMessage(string message) =>
 Method.FormatErrorMessage(message);
Esempio n. 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)
Esempio n. 5
0
 public void AssertNoControlFlowUpdate() =>
 Method.Assert(!updateControlFlow | acceptControlFlowUpdates);