blob: 480a62175d1be3349704012bba35159185596c74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// 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.CompilerServices
{
// Consider the following C++ method prototypes:
// 1) int foo(int ^arg);
// 2) int foo(int &arg);
//
// Both of these methods will have a .NET type signature that looks the
// same, but when importing a method from a metadata scope, the compiler
// needs to know what the calling syntax should be. This modopt and its
// partner "IsImplicitlyDereferenced" disambiguate reference versus
// pointer arguments.
//
// Indicates that the modified GC reference represents a pointer in a
// method signature.
public static class IsExplicitlyDereferenced
{
}
}
|