// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #if !SILVERLIGHT #if !CLR2 using System.Linq.Expressions; #else using Microsoft.Scripting.Ast; #endif namespace System.Management.Automation.ComInterop { /// /// ArgBuilder which always produces null. /// internal sealed class NullArgBuilder : ArgBuilder { internal NullArgBuilder() { } internal override Expression Marshal(Expression parameter) { return Expression.Constant(null); } } } #endif