<Compile Include="System\Runtime\CompilerServices\Attributes.cs" />
<Compile Include="System\Runtime\InteropServices\Attributes.cs" />
<Compile Include="System\Runtime\InteropServices\ComAwareEventInfo.cs" />
- <Compile Include="System\Runtime\InteropServices\DefaultParameterValueAttribute.cs" Condition="'$(TargetsAOT)' != 'true'" />
<Compile Include="System\Runtime\InteropServices\HandleCollector.cs" Condition="'$(TargetsAOT)' != 'true'" />
<Compile Include="System\Runtime\InteropServices\IMarshal.cs" />
<Compile Include="System\Runtime\InteropServices\RuntimeEnvironment.cs" />
+++ /dev/null
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-namespace System.Runtime.InteropServices
-{
- //
- // The DefaultParameterValueAttribute is used in C# to set
- // the default value for parameters when calling methods
- // from other languages. This is particularly useful for
- // methods defined in COM interop interfaces.
- //
- [AttributeUsage(AttributeTargets.Parameter)]
- public sealed class DefaultParameterValueAttribute : Attribute
- {
- public DefaultParameterValueAttribute(object value) => Value = value;
-
- public object Value { get; }
- }
-}