Пример #1
0
		void Hash(MethodSig sig) {
			if (sig == null)
				return;

			hasher.Hash((byte)sig.GetCallingConvention());
			Hash(sig.GetRetType());
			foreach (var p in sig.GetParams())
				Hash(p);
			hasher.Hash(sig.GetParamCount());
			if (sig.GetParamsAfterSentinel() != null) {
				foreach (var p in sig.GetParamsAfterSentinel())
					Hash(p);
			}
		}