diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2016-09-23 18:01:44 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2016-09-23 18:50:06 +0300 |
commit | 112631f5c6926eb00544cd39f6be7a98983503b8 (patch) | |
tree | db9dc651ba8c19b71c6f6abc890639eaf4848ed8 /mcs/class/dlr | |
parent | fa986f1e3669884968c258733d8a4da2a7895897 (diff) |
[bcl] Add missing APIs for netstandard parity and expose a few APIs on mobile
This ensures we're compliant with the upcoming netstandard2.0 API surface area.
Diffstat (limited to 'mcs/class/dlr')
-rw-r--r-- | mcs/class/dlr/Runtime/Microsoft.Scripting.Core/Compiler/DebugInfoGenerator.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mcs/class/dlr/Runtime/Microsoft.Scripting.Core/Compiler/DebugInfoGenerator.cs b/mcs/class/dlr/Runtime/Microsoft.Scripting.Core/Compiler/DebugInfoGenerator.cs index 329928fd80c..b87eecde4e0 100644 --- a/mcs/class/dlr/Runtime/Microsoft.Scripting.Core/Compiler/DebugInfoGenerator.cs +++ b/mcs/class/dlr/Runtime/Microsoft.Scripting.Core/Compiler/DebugInfoGenerator.cs @@ -48,6 +48,10 @@ namespace System.Runtime.CompilerServices { public static DebugInfoGenerator CreatePdbGenerator() { return new SymbolDocumentGenerator(); } +#else + public static DebugInfoGenerator CreatePdbGenerator() { + throw new PlatformNotSupportedException(); + } #endif /// <summary> /// Marks a sequence point. |