/// <summary> /// Checks whether <paramref name="localSig"/> contains a <see cref="GenericVar"/> or a /// <see cref="GenericMVar"/>. /// </summary> /// <param name="localSig">Local signature</param> /// <returns><c>true</c> if <paramref name="localSig"/> contains a <see cref="GenericVar"/> /// or a <see cref="GenericMVar"/>.</returns> public static bool ContainsGenericParameter(LocalSig localSig) { return(new TypeHelper().ContainsGenericParameterInternal(localSig)); }
/// <summary> /// Gets the locals /// </summary> /// <param name="sig">this</param> /// <returns>All locals</returns> public static IList <TypeSig> GetLocals(this LocalSig sig) { return(sig == null?ThreadSafeListCreator.Create <TypeSig>() : sig.Locals); }
/// <summary> /// Constructor /// </summary> /// <param name="localSig">A locals sig</param> public StandAloneSigUser(LocalSig localSig) { this.signature = localSig; }