public SerializeCodeEmitter([NotNull] ParameterExpression argTagName, [NotNull] ParameterExpression argValue, [NotNull] NbtCompiler.CallResolver callResolver) { if (argTagName == null) throw new ArgumentNullException("argTagName"); if (argValue == null) throw new ArgumentNullException("argValue"); if (callResolver == null) throw new ArgumentNullException("callResolver"); varRootTag = Expression.Parameter(typeof(NbtCompound), "rootTag"); this.argTagName = argTagName; this.argValue = argValue; this.callResolver = callResolver; }
public SerializeCodeEmitter([NotNull] ParameterExpression argTagName, [NotNull] ParameterExpression argValue, [NotNull] NbtCompiler.CallResolver callResolver) { if (argTagName == null) { throw new ArgumentNullException("argTagName"); } if (argValue == null) { throw new ArgumentNullException("argValue"); } if (callResolver == null) { throw new ArgumentNullException("callResolver"); } varRootTag = Expression.Parameter(typeof(NbtCompound), "rootTag"); this.argTagName = argTagName; this.argValue = argValue; this.callResolver = callResolver; }