blob: 089873ac062cf6b2ee0614d71134daa0fc4b43db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license 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 "IsExplicitlyDereferenced" disambiguate reference versus
// pointer arguments.
//
// Indicates that the modified GC reference represents a reference in a
// method signature.
public static class IsImplicitlyDereferenced
{
}
}
|