diff options
Diffstat (limited to 'src/ILCompiler.Compiler/src/IL/Stubs/PInvokeILProvider.cs')
-rw-r--r-- | src/ILCompiler.Compiler/src/IL/Stubs/PInvokeILProvider.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ILCompiler.Compiler/src/IL/Stubs/PInvokeILProvider.cs b/src/ILCompiler.Compiler/src/IL/Stubs/PInvokeILProvider.cs index 4aec04036..7ae483dbc 100644 --- a/src/ILCompiler.Compiler/src/IL/Stubs/PInvokeILProvider.cs +++ b/src/ILCompiler.Compiler/src/IL/Stubs/PInvokeILProvider.cs @@ -29,5 +29,10 @@ namespace Internal.IL { return PInvokeILEmitter.EmitIL(method, _pInvokeILEmitterConfiguration, _interopStateManager); } + + public MethodDesc GetCalliStub(MethodSignature signature) + { + return _interopStateManager.GetPInvokeCalliStub(signature); + } } } |