-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMethodTransformationMetadata.cs
More file actions
26 lines (21 loc) · 989 Bytes
/
MethodTransformationMetadata.cs
File metadata and controls
26 lines (21 loc) · 989 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//-----------------------------------------------------------------------
// <copyright file="MethodTransformationMetadata.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace PInvokeCompiler
{
using Microsoft.Cci;
internal sealed class MethodTransformationMetadata : IMethodTransformationMetadata
{
public MethodTransformationMetadata(IMethodDefinition initMethodDefinition, IFieldDefinition functionPointerDefinition, IMethodDefinition nativeMethodDefinition)
{
this.InitializeMethod = initMethodDefinition;
this.FunctionPointer = functionPointerDefinition;
this.NativeMethod = nativeMethodDefinition;
}
public IMethodDefinition NativeMethod { get; }
public IMethodDefinition InitializeMethod { get; }
public IFieldDefinition FunctionPointer { get; }
}
}