private Signature([NotNull] TypeRefBase returnType, [NotNull] string name, [NotNull] IReadOnlyList <TypeRefBase> genericArguments, [NotNull] IReadOnlyList <TypeRefBase> arguments)
 {
     _returnType       = returnType ?? throw new ArgumentNullException(nameof(returnType));
     _genericArguments = genericArguments ?? throw new ArgumentNullException(nameof(genericArguments));
     _arguments        = arguments ?? throw new ArgumentNullException(nameof(arguments));
     _name             = name ?? throw new ArgumentNullException(nameof(name));
 }
示例#2
0
 protected bool Equals([NotNull] TypeRefBase other)
 {
     return(_genericArguments.SequenceEqual(other._genericArguments));
 }