From 2ba231cd0c9b8f2f60c2ad4bb95416520cb0e012 Mon Sep 17 00:00:00 2001 From: "Xamarin Public Jenkins (auto-signing)" Date: Wed, 29 May 2019 08:54:19 +0000 Subject: [PATCH] Imported Upstream version 6.0.0.271 Former-commit-id: 2fde65daab17ed3bb08a7be86fb05423d63b0290 --- Makefile.in | 1 + acceptance-tests/Makefile.in.REMOVED.git-id | 2 +- configure.REMOVED.git-id | 2 +- configure.ac.REMOVED.git-id | 2 +- data/Makefile.in | 1 + data/net_2_0/Browsers/Makefile.in | 1 + data/net_2_0/Makefile.in | 1 + data/net_4_0/Browsers/Makefile.in | 1 + data/net_4_0/Makefile.in | 1 + data/net_4_5/Browsers/Makefile.in | 1 + data/net_4_5/Makefile.in | 1 + docs/Makefile.in | 1 + .../monotouch/mscorlib.cs.REMOVED.git-id | 2 +- ikvm-native/Makefile.in | 1 + llvm/Makefile.in | 5 +- llvm/build.mk | 3 +- m4/Makefile.in | 1 + man/Makefile.in | 1 + mcs/build/common/Consts.cs | 2 +- mcs/build/platforms/macos.make | 2 +- mcs/build/platforms/win32.make | 2 +- mcs/build/rules.make | 1 + mcs/build/tests.make | 36 +- mcs/class/System.Core/Makefile | 4 +- mcs/class/System.Windows.Forms/Makefile | 3 +- mcs/class/corlib/Makefile | 2 +- .../AssemblyBuilder.pns.cs | 141 +++++++ .../ConstructorBuilder.pns.cs | 46 ++- .../DynamicMethod.notsupported.cs | 12 +- .../System.Reflection.Emit/EnumBuilder.pns.cs | 140 +++---- .../EventBuilder.pns.cs | 4 + .../FieldBuilder.pns.cs | 71 ++-- .../GenericTypeParameterBuilder.pns.cs | 150 ++++---- .../System.Reflection.Emit/ILGenerator.pns.cs | 11 +- .../MethodBuilder.pns.cs | 126 +++---- .../MethodRental.pns.cs | 25 ++ .../ModuleBuilder.pns.cs | 249 ++++++++---- .../ParameterBuilder.pns.cs | 11 +- .../PropertyBuilder.pns.cs | 99 ++--- .../SignatureHelper.pns.cs | 22 +- .../System.Reflection.Emit/TypeBuilder.pns.cs | 356 ++++++------------ .../UnmanagedMarshal.pns.cs | 26 ++ .../ITypeLibConverter.cs | 2 +- .../ITypeLibExporterNameProvider.cs | 2 +- .../ITypeLibExporterNotifySink.cs | 2 +- .../ITypeLibImporterNotifySink.cs | 2 +- .../System.Runtime.InteropServices/Marshal.cs | 14 +- .../TypeLibConverter.cs | 2 +- .../TypeLibExporterFlags.cs | 2 +- .../TypeLibImporterFlags.cs | 2 +- .../UCOMITypeComp.cs | 2 +- .../UCOMITypeLib.cs | 2 +- .../_AssemblyBuilder.cs | 2 +- .../_ConstructorBuilder.cs | 2 +- .../_CustomAttributeBuilder.cs | 2 +- .../_EnumBuilder.cs | 2 +- .../_EventBuilder.cs | 2 +- .../_FieldBuilder.cs | 2 +- .../_ILGenerator.cs | 2 +- .../_LocalBuilder.cs | 2 +- .../_MethodBuilder.cs | 2 +- .../_ModuleBuilder.cs | 2 +- .../_ParameterBuilder.cs | 2 +- .../_PropertyBuilder.cs | 2 +- .../_TypeBuilder.cs | 2 +- mcs/class/corlib/System/AppDomain.pns.cs | 90 +++++ .../corlib/corlib.dll.sources.REMOVED.git-id | 2 +- .../Mono.Security.dll.REMOVED.git-id | 2 +- .../System.Configuration.dll.REMOVED.git-id | 2 +- .../System.Core.dll.REMOVED.git-id | 2 +- .../System.IO.Compression.dll | Bin 99328 -> 99328 bytes .../System.Numerics.dll.REMOVED.git-id | 2 +- .../System.Xml.dll.REMOVED.git-id | 2 +- .../mcs.exe.REMOVED.git-id | 2 +- .../mscorlib.dll.REMOVED.git-id | 2 +- .../Mono.Security.dll.REMOVED.git-id | 2 +- .../System.Configuration.dll.REMOVED.git-id | 2 +- .../System.Core.dll.REMOVED.git-id | 2 +- .../System.IO.Compression.dll | Bin 99328 -> 99328 bytes .../System.Numerics.dll.REMOVED.git-id | 2 +- .../System.Xml.dll.REMOVED.git-id | 2 +- .../mcs.exe.REMOVED.git-id | 2 +- .../mscorlib.dll.REMOVED.git-id | 2 +- .../Mono.Security.dll.REMOVED.git-id | 2 +- .../System.Configuration.dll.REMOVED.git-id | 2 +- .../System.Core.dll.REMOVED.git-id | 2 +- .../System.IO.Compression.dll | Bin 99328 -> 99328 bytes .../System.Numerics.dll.REMOVED.git-id | 2 +- .../System.Xml.dll.REMOVED.git-id | 2 +- .../mcs.exe.REMOVED.git-id | 2 +- .../mscorlib.dll.REMOVED.git-id | 2 +- .../Mono.Security.dll.REMOVED.git-id | 2 +- .../System.Configuration.dll.REMOVED.git-id | 2 +- .../System.Core.dll.REMOVED.git-id | 2 +- .../System.IO.Compression.dll | Bin 99328 -> 99328 bytes .../System.Numerics.dll.REMOVED.git-id | 2 +- .../System.Xml.dll.REMOVED.git-id | 2 +- .../mcs.exe.REMOVED.git-id | 2 +- .../mscorlib.dll.REMOVED.git-id | 2 +- .../mscorlib/system/iappdomain.cs | 6 +- .../interopservices/dispatchwrapper.cs | 2 +- .../runtime/interopservices/ucomitypeinfo.cs | 2 +- mk/Makefile.in | 1 + mono/Makefile.in | 1 + mono/arch/Makefile.in | 1 + mono/arch/amd64/Makefile.in | 1 + mono/arch/arm/Makefile.in | 1 + mono/arch/arm64/Makefile.in | 1 + mono/arch/mips/Makefile.in | 1 + mono/arch/ppc/Makefile.in | 1 + mono/arch/riscv/Makefile.in | 1 + mono/arch/s390x/Makefile.in | 1 + mono/arch/sparc/Makefile.in | 1 + mono/arch/x86/Makefile.in | 1 + mono/benchmark/Makefile.in | 1 + mono/btls/Makefile.in | 1 + mono/cil/Makefile.in | 1 + mono/dis/Makefile.in | 1 + mono/eglib/Makefile.in | 1 + mono/eglib/test/Makefile.in | 1 + mono/metadata/Makefile.in.REMOVED.git-id | 2 +- mono/mini/Makefile.am | 6 +- mono/mini/Makefile.am.in | 6 +- mono/mini/Makefile.in.REMOVED.git-id | 2 +- mono/mini/version.h | 2 +- mono/native/Makefile.in.REMOVED.git-id | 2 +- mono/profiler/Makefile.in | 1 + mono/sgen/Makefile.in | 1 + mono/tests/Makefile.in.REMOVED.git-id | 2 +- .../tests/assembly-load-reference/Makefile.in | 1 + mono/tests/gc-descriptors/Makefile.in | 1 + mono/tests/llvmonly-mixed/Makefile.in | 1 + mono/tests/testing_gac/Makefile.in | 1 + mono/unit-tests/Makefile.in | 5 +- mono/utils/Makefile.in.REMOVED.git-id | 2 +- mono/utils/jemalloc/Makefile.in | 1 + msvc/Makefile.in | 1 + po/Makefile.in | 1 + po/mcs/de.gmo | Bin 5406 -> 5406 bytes po/mcs/de.po.REMOVED.git-id | 2 +- po/mcs/es.gmo | Bin 16329 -> 16329 bytes po/mcs/es.po.REMOVED.git-id | 2 +- po/mcs/ja.gmo | Bin 20863 -> 20863 bytes po/mcs/ja.po.REMOVED.git-id | 2 +- po/mcs/mcs.pot | 4 +- po/mcs/pt_BR.gmo | Bin 72806 -> 72806 bytes po/mcs/pt_BR.po.REMOVED.git-id | 2 +- runtime/Makefile.in | 1 + samples/Makefile.in | 1 + scripts/Makefile.in | 1 + support/Makefile.in | 1 + tools/Makefile.in | 1 + tools/locale-builder/Makefile.in | 1 + tools/pedump/Makefile.in | 1 + tools/sgen/Makefile.in | 1 + 155 files changed, 1067 insertions(+), 794 deletions(-) create mode 100644 mcs/class/corlib/System.Reflection.Emit/MethodRental.pns.cs create mode 100644 mcs/class/corlib/System.Reflection.Emit/UnmanagedMarshal.pns.cs create mode 100644 mcs/class/corlib/System/AppDomain.pns.cs diff --git a/Makefile.in b/Makefile.in index 1e239e5237..a54d9fc4fd 100644 --- a/Makefile.in +++ b/Makefile.in @@ -382,6 +382,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/acceptance-tests/Makefile.in.REMOVED.git-id b/acceptance-tests/Makefile.in.REMOVED.git-id index 6c0e239c2d..c6f09d063e 100644 --- a/acceptance-tests/Makefile.in.REMOVED.git-id +++ b/acceptance-tests/Makefile.in.REMOVED.git-id @@ -1 +1 @@ -83c0c15449e686f77a3888c04ba3b7942733bb25 \ No newline at end of file +82211f291c887f62ce30cc2305884e307855ecd8 \ No newline at end of file diff --git a/configure.REMOVED.git-id b/configure.REMOVED.git-id index d7086b461a..5d67d672e0 100644 --- a/configure.REMOVED.git-id +++ b/configure.REMOVED.git-id @@ -1 +1 @@ -e51c0e1f864d708f76cd1c664b2e141b1248df61 \ No newline at end of file +b4f0760a37d6ddf719a54078d952ec1b1e471435 \ No newline at end of file diff --git a/configure.ac.REMOVED.git-id b/configure.ac.REMOVED.git-id index fba96b298b..e29889a8ae 100644 --- a/configure.ac.REMOVED.git-id +++ b/configure.ac.REMOVED.git-id @@ -1 +1 @@ -f4d1ed8dc18898ec8c74a2831a50329d54f05d95 \ No newline at end of file +e11bcccdba2e961d4e81ff05c08677f97826ade0 \ No newline at end of file diff --git a/data/Makefile.in b/data/Makefile.in index 983e9da127..974bbc8d69 100644 --- a/data/Makefile.in +++ b/data/Makefile.in @@ -406,6 +406,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/data/net_2_0/Browsers/Makefile.in b/data/net_2_0/Browsers/Makefile.in index 5192c480a9..86eff4efc8 100644 --- a/data/net_2_0/Browsers/Makefile.in +++ b/data/net_2_0/Browsers/Makefile.in @@ -327,6 +327,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/data/net_2_0/Makefile.in b/data/net_2_0/Makefile.in index 3fbd327027..a55ee9fdd0 100644 --- a/data/net_2_0/Makefile.in +++ b/data/net_2_0/Makefile.in @@ -387,6 +387,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/data/net_4_0/Browsers/Makefile.in b/data/net_4_0/Browsers/Makefile.in index 2538e98b49..39e058cc51 100644 --- a/data/net_4_0/Browsers/Makefile.in +++ b/data/net_4_0/Browsers/Makefile.in @@ -327,6 +327,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/data/net_4_0/Makefile.in b/data/net_4_0/Makefile.in index c2359aa624..b1295834ce 100644 --- a/data/net_4_0/Makefile.in +++ b/data/net_4_0/Makefile.in @@ -387,6 +387,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/data/net_4_5/Browsers/Makefile.in b/data/net_4_5/Browsers/Makefile.in index e86b0ace3b..c9df52b599 100644 --- a/data/net_4_5/Browsers/Makefile.in +++ b/data/net_4_5/Browsers/Makefile.in @@ -327,6 +327,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/data/net_4_5/Makefile.in b/data/net_4_5/Makefile.in index b79a1f0adf..f672865bd0 100644 --- a/data/net_4_5/Makefile.in +++ b/data/net_4_5/Makefile.in @@ -387,6 +387,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/docs/Makefile.in b/docs/Makefile.in index 5a9cdfc470..02b2ac2417 100644 --- a/docs/Makefile.in +++ b/docs/Makefile.in @@ -328,6 +328,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/external/api-snapshot/profiles/monotouch/mscorlib.cs.REMOVED.git-id b/external/api-snapshot/profiles/monotouch/mscorlib.cs.REMOVED.git-id index c47acddde5..b4ca708442 100644 --- a/external/api-snapshot/profiles/monotouch/mscorlib.cs.REMOVED.git-id +++ b/external/api-snapshot/profiles/monotouch/mscorlib.cs.REMOVED.git-id @@ -1 +1 @@ -f37b7c2d4c39f0e7037808844a6da37a890cc5d5 \ No newline at end of file +4d40b57c3c756e46690a132fe42760103ba01619 \ No newline at end of file diff --git a/ikvm-native/Makefile.in b/ikvm-native/Makefile.in index 28b1d78e5f..1586cab59b 100644 --- a/ikvm-native/Makefile.in +++ b/ikvm-native/Makefile.in @@ -375,6 +375,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/llvm/Makefile.in b/llvm/Makefile.in index 99b7ff2376..6d7afd7641 100644 --- a/llvm/Makefile.in +++ b/llvm/Makefile.in @@ -298,6 +298,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ @@ -408,7 +409,9 @@ LLVM_VERSION := $(shell git -C "$(abs_top_srcdir)/external/llvm" rev-parse HEAD) # FIXME: URL should be http://xamjenkinsartifact.blob.core.windows.net/build-package-osx-llvm-$(LLVM_BRANCH)/llvm-osx64-$(LLVM_VERSION).tar.gz LLVM_DOWNLOAD_LOCATION = "http://xamjenkinsartifact.blob.core.windows.net/build-package-osx-llvm-release60/llvm-osx64-$(LLVM_VERSION).tar.gz" NINJA := $(shell which ninja) -EXTRA_LLVM_ARGS = $(if $(filter $(LLVM_TARGET),wasm32), -DLLVM_BUILD_32_BITS=On -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="WebAssembly",) +EXTRA_LLVM_ARGS = $(if $(filter $(LLVM_TARGET),wasm32), -DLLVM_BUILD_32_BITS=On -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="WebAssembly",) \ + $(if $(STATIC_GCC_LIBS),-DCMAKE_EXE_LINKER_FLAGS="-static") + all: all-am .SUFFIXES: diff --git a/llvm/build.mk b/llvm/build.mk index 903f7af618..0a0b59fddc 100644 --- a/llvm/build.mk +++ b/llvm/build.mk @@ -15,7 +15,8 @@ NINJA := $(shell which ninja) $(LLVM_BUILD) $(LLVM_PREFIX): mkdir -p $@ -EXTRA_LLVM_ARGS = $(if $(filter $(LLVM_TARGET),wasm32), -DLLVM_BUILD_32_BITS=On -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="WebAssembly",) +EXTRA_LLVM_ARGS = $(if $(filter $(LLVM_TARGET),wasm32), -DLLVM_BUILD_32_BITS=On -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="WebAssembly",) \ + $(if $(STATIC_GCC_LIBS),-DCMAKE_EXE_LINKER_FLAGS="-static") # -DLLVM_ENABLE_LIBXML2=Off is needed because xml2 is not used and it breaks 32-bit builds on 64-bit Linux hosts $(LLVM_BUILD)/$(if $(NINJA),build.ninja,Makefile): $(abs_top_srcdir)/external/llvm/CMakeLists.txt | $(LLVM_BUILD) $(LLVM_PREFIX) diff --git a/m4/Makefile.in b/m4/Makefile.in index 44d96d3276..92ded6896c 100644 --- a/m4/Makefile.in +++ b/m4/Makefile.in @@ -297,6 +297,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/man/Makefile.in b/man/Makefile.in index 0e0c0cedf2..6d1f2f8900 100644 --- a/man/Makefile.in +++ b/man/Makefile.in @@ -329,6 +329,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/mcs/build/common/Consts.cs b/mcs/build/common/Consts.cs index 9ab4cd2c8f..a78861b2c9 100644 --- a/mcs/build/common/Consts.cs +++ b/mcs/build/common/Consts.cs @@ -41,7 +41,7 @@ static partial class Consts // Use these assembly version constants to make code more maintainable. // - public const string MonoVersion = "6.0.0.265"; + public const string MonoVersion = "6.0.0.271"; public const string MonoCompany = "Mono development team"; public const string MonoProduct = "Mono Common Language Infrastructure"; public const string MonoCopyright = "(c) Various Mono authors"; diff --git a/mcs/build/platforms/macos.make b/mcs/build/platforms/macos.make index a8fe926dd9..419f49d014 100644 --- a/mcs/build/platforms/macos.make +++ b/mcs/build/platforms/macos.make @@ -6,7 +6,7 @@ PLATFORM_MCS_FLAGS = PLATFORM_RUNTIME = $(RUNTIME) PLATFORM_CORLIB = mscorlib.dll -PLATFORM_TEST_HARNESS_EXCLUDES = NotOnMac,MacNotWorking, +PLATFORM_TEST_HARNESS_EXCLUDES = NotOnMac MacNotWorking EXTERNAL_MCS = mcs EXTERNAL_MBAS = mbas diff --git a/mcs/build/platforms/win32.make b/mcs/build/platforms/win32.make index 6b612ef09b..9d920a3bf9 100644 --- a/mcs/build/platforms/win32.make +++ b/mcs/build/platforms/win32.make @@ -6,7 +6,7 @@ PLATFORM_MCS_FLAGS = PLATFORM_RUNTIME = PLATFORM_CORLIB = mscorlib.dll -PLATFORM_TEST_HARNESS_EXCLUDES = NotOnWindows, +PLATFORM_TEST_HARNESS_EXCLUDES = NotOnWindows EXTERNAL_MCS = mcs EXTERNAL_MBAS = vbc.exe diff --git a/mcs/build/rules.make b/mcs/build/rules.make index c15530f48f..b4c9df7157 100644 --- a/mcs/build/rules.make +++ b/mcs/build/rules.make @@ -9,6 +9,7 @@ empty := space := $(empty) $(empty) +comma := , _FILTER_OUT = $(foreach x,$(2),$(if $(findstring $(1),$(x)),,$(x))) # given $(thisdir), we compute the path to the top directory diff --git a/mcs/build/tests.make b/mcs/build/tests.make index eb1de1c0e8..015b36e658 100644 --- a/mcs/build/tests.make +++ b/mcs/build/tests.make @@ -138,13 +138,11 @@ test-local: $(test_assemblies) $(test_lib_dir)/nunit-excludes.txt run-test-local: run-test-lib run-test-ondotnet-local: run-test-ondotnet-lib -ifdef TEST_WITH_INTERPRETER -TEST_HARNESS_EXCLUDES = -exclude=$(PLATFORM_TEST_HARNESS_EXCLUDES)$(PROFILE_TEST_HARNESS_EXCLUDES)NotWorking,NotWorkingRuntimeInterpreter,CAS -else -TEST_HARNESS_EXCLUDES = -exclude=$(PLATFORM_TEST_HARNESS_EXCLUDES)$(PROFILE_TEST_HARNESS_EXCLUDES)NotWorking,CAS -endif +TEST_HARNESS_EXCLUDES = $(PLATFORM_TEST_HARNESS_EXCLUDES) $(PROFILE_TEST_HARNESS_EXCLUDES) NotWorking CAS -TEST_HARNESS_EXCLUDES_ONDOTNET = /exclude:$(PLATFORM_TEST_HARNESS_EXCLUDES)$(PROFILE_TEST_HARNESS_EXCLUDES)NotDotNet,CAS +ifdef TEST_WITH_INTERPRETER +TEST_HARNESS_EXCLUDES += NotWorkingRuntimeInterpreter +endif NOSHADOW_FLAG = @@ -228,18 +226,19 @@ endif # PLATFORM_AOT_SUFFIX ifneq ($(wildcard $(MKBUNDLE_TEST_BIN)),) TEST_HARNESS_EXEC=$(MKBUNDLE_TEST_BIN) -TEST_HARNESS_EXCLUDES:=$(TEST_HARNESS_EXCLUDES),StaticLinkedAotNotWorking +TEST_HARNESS_EXCLUDES:=$(TEST_HARNESS_EXCLUDES) StaticLinkedAotNotWorking else TEST_HARNESS_EXEC=$(TEST_RUNTIME) $(TEST_RUNTIME_FLAGS) $(TEST_COVERAGE_FLAGS) $(AOT_RUN_FLAGS) $(TEST_HARNESS) endif $(test_lib_dir)/nunit-excludes.txt: $(topdir)/build/tests.make | $(test_lib_dir) - @echo "$(TEST_HARNESS_EXCLUDES)" > $@ + @rm -f $@ + @$(foreach entry,$(TEST_HARNESS_EXCLUDES),echo "$(entry)" >> $@;) ## FIXME: i18n problem in the 'sed' command below run-test-lib: test-local test-local-aot-compile copy-nunitlite-appconfig ok=:; \ - PATH="$(TEST_RUNTIME_WRAPPERS_PATH):$(PATH)" MONO_REGISTRY_PATH="$(HOME)/.mono/registry" MONO_TESTS_IN_PROGRESS="yes" DBG_RUNTIME_ARGS="$(TEST_RUNTIME_FLAGS)" $(TEST_HARNESS_EXEC) $(test_assemblies) $(NOSHADOW_FLAG) $(TEST_HARNESS_FLAGS) $(LOCAL_TEST_HARNESS_FLAGS) $(TEST_HARNESS_EXCLUDES) $(LABELS_ARG) -format:nunit2 -result:TestResult-$(PROFILE).xml $(FIXTURE_ARG) $(TESTNAME_ARG)|| ok=false; \ + PATH="$(TEST_RUNTIME_WRAPPERS_PATH):$(PATH)" MONO_REGISTRY_PATH="$(HOME)/.mono/registry" MONO_TESTS_IN_PROGRESS="yes" DBG_RUNTIME_ARGS="$(TEST_RUNTIME_FLAGS)" $(TEST_HARNESS_EXEC) $(test_assemblies) $(NOSHADOW_FLAG) $(TEST_HARNESS_FLAGS) $(LOCAL_TEST_HARNESS_FLAGS) -exclude=$(subst $(space),$(comma),$(TEST_HARNESS_EXCLUDES)) $(LABELS_ARG) -format:nunit2 -result:TestResult-$(PROFILE).xml $(FIXTURE_ARG) $(TESTNAME_ARG)|| ok=false; \ if [ ! -f "TestResult-$(PROFILE).xml" ]; then echo "The test runner didn't produce a test result XML, probably due to a crash of the runtime. Check the log for more details." > TestResult-$(PROFILE).xml; fi; \ $$ok @@ -247,7 +246,7 @@ run-test-lib: test-local test-local-aot-compile copy-nunitlite-appconfig run-test-ondotnet-lib: LOCAL_TEST_COMPILER_ONDOTNET_FLAGS:=-d:RUN_ONDOTNET run-test-ondotnet-lib: test-local ok=:; \ - $(TEST_HARNESS) $(test_assemblies) $(NOSHADOW_FLAG) $(TEST_HARNESS_FLAGS) $(LOCAL_TEST_HARNESS_ONDOTNET_FLAGS) $(TEST_HARNESS_EXCLUDES_ONDOTNET) $(LABELS_ARG) -format:nunit2 -result:TestResult-ondotnet-$(PROFILE).xml $(FIXTURE_ARG) $(TESTNAME_ARG) || ok=false; \ + $(TEST_HARNESS) $(test_assemblies) $(NOSHADOW_FLAG) $(TEST_HARNESS_FLAGS) $(LOCAL_TEST_HARNESS_ONDOTNET_FLAGS) /exclude:$(subst $(space),$(comma),$(TEST_HARNESS_EXCLUDES) NotDotNet) $(LABELS_ARG) -format:nunit2 -result:TestResult-ondotnet-$(PROFILE).xml $(FIXTURE_ARG) $(TESTNAME_ARG) || ok=false; \ $$ok @@ -304,15 +303,17 @@ XTEST_HARNESS_PATH := $(topdir)/../external/xunit-binaries XTEST_HARNESS = $(XTEST_HARNESS_PATH)/xunit.console.exe XTEST_RESULT_FILE := TestResult-$(PROFILE)-xunit.xml XTEST_HARNESS_FLAGS := -noappdomain -noshadow -parallel none -nunit $(XTEST_RESULT_FILE) -ifdef OUTER_LOOP -XTEST_TRAIT := -notrait category=failing -notrait category=nonmonotests -notrait Benchmark=true -else -XTEST_TRAIT := -notrait category=failing -notrait category=nonmonotests -notrait Benchmark=true -notrait category=outerloop + +XTEST_NOTRAITS := category=failing category=nonmonotests Benchmark=true + +ifndef OUTER_LOOP +XTEST_NOTRAITS += category=outerloop endif + # The logic is double inverted so this actually excludes tests not intented for current platform # best to search for `property name="category"` in the xml output to see what's going on # https://github.com/dotnet/buildtools/blob/master/src/xunit.netcore.extensions/Discoverers/PlatformSpecificDiscoverer.cs -XTEST_TRAIT_PLATFORM := -notrait category=non$(XTEST_PLATFORM)tests +XTEST_NOTRAITS += category=non$(XTEST_PLATFORM)tests TEST_MONO_PATH := $(TEST_MONO_PATH)$(PLATFORM_PATH_SEPARATOR)$(XTEST_HARNESS_PATH) @@ -333,7 +334,8 @@ xunit-test-local: $(xtest_lib_output) $(test_lib_dir)/xunit-excludes.txt $(test_ run-xunit-test-local: run-xunit-test-lib $(test_lib_dir)/xunit-excludes.txt: $(topdir)/build/tests.make | $(test_lib_dir) - @echo "$(XTEST_TRAIT) $(XTEST_TRAIT_PLATFORM)" > $@ + @rm -f $@ + $(foreach entry,$(XTEST_NOTRAITS),echo "$(entry)" >> $@;) $(test_lib_dir)/Xunit.NetCore.Extensions.dll: $(topdir)/build/tests.make $(topdir)/../external/xunit-binaries/Xunit.NetCore.Extensions.dll | $(test_lib_dir) @cp -f $(topdir)/../external/xunit-binaries/Xunit.NetCore.Extensions.dll $@ @@ -344,7 +346,7 @@ $(test_lib_dir)/xunit.execution.dotnet.dll: $(topdir)/build/tests.make $(topdir) # cp -rf is a HACK for xunit runner to require xunit.execution.dOTNET.dll file in local folder on .net only run-xunit-test-lib: xunit-test-local ok=:; \ - PATH="$(TEST_RUNTIME_WRAPPERS_PATH):$(PATH)" REMOTE_EXECUTOR="$(XTEST_REMOTE_EXECUTOR_ABSPATH)" $(TEST_RUNTIME) $(TEST_RUNTIME_FLAGS) $(XTEST_COVERAGE_FLAGS) $(AOT_RUN_FLAGS) $(XTEST_HARNESS) $(xtest_lib_output) $(XTEST_HARNESS_FLAGS) $(XTEST_TRAIT) $(XTEST_TRAIT_PLATFORM) || ok=false; \ + PATH="$(TEST_RUNTIME_WRAPPERS_PATH):$(PATH)" REMOTE_EXECUTOR="$(XTEST_REMOTE_EXECUTOR_ABSPATH)" $(TEST_RUNTIME) $(TEST_RUNTIME_FLAGS) $(XTEST_COVERAGE_FLAGS) $(AOT_RUN_FLAGS) $(XTEST_HARNESS) $(xtest_lib_output) $(XTEST_HARNESS_FLAGS) -notrait $(subst $(space), -notrait ,$(XTEST_NOTRAITS)) || ok=false; \ if [ -n "$$MONO_BABYSITTER_NUNIT_XML_LIST_FILE" ]; then echo "$(abspath $(XTEST_RESULT_FILE))" >> "$$MONO_BABYSITTER_NUNIT_XML_LIST_FILE"; fi; \ $$ok diff --git a/mcs/class/System.Core/Makefile b/mcs/class/System.Core/Makefile index 2fa569c986..34df5398be 100644 --- a/mcs/class/System.Core/Makefile +++ b/mcs/class/System.Core/Makefile @@ -37,10 +37,10 @@ else MANAGED_INTERP := $(filter orbis winaot monotouch monotouch_tv monotouch_watch, $(PROFILE)) ifdef MANAGED_INTERP LIB_MCS_FLAGS += -d:NO_FEATURE_STATIC_DELEGATE,FEATURE_MAKE_RUN_METHODS - PROFILE_TEST_HARNESS_EXCLUDES := $(PROFILE_TEST_HARNESS_EXCLUDES)NotWorkingLinqInterpreter, + PROFILE_TEST_HARNESS_EXCLUDES := $(PROFILE_TEST_HARNESS_EXCLUDES) NotWorkingLinqInterpreter else LIB_MCS_FLAGS += -d:FEATURE_COMPILE,FEATURE_COMPILE_TO_METHODBUILDER - PROFILE_TEST_HARNESS_EXCLUDES := $(PROFILE_TEST_HARNESS_EXCLUDES)SRE, + PROFILE_TEST_HARNESS_EXCLUDES := $(PROFILE_TEST_HARNESS_EXCLUDES) SRE endif endif diff --git a/mcs/class/System.Windows.Forms/Makefile b/mcs/class/System.Windows.Forms/Makefile index 3ccbd8caae..8877bcc19d 100644 --- a/mcs/class/System.Windows.Forms/Makefile +++ b/mcs/class/System.Windows.Forms/Makefile @@ -116,8 +116,7 @@ test-local: $(topdir)/class/lib/$(PROFILE)/tests/DummyAssembly.dll include ../../build/library.make -TEST_HARNESS_EXCLUDES = -exclude=Interactive,NotWorking,CAS -TEST_HARNESS_EXCLUDES_ONDOTNET = -exclude=Interactive,NotDotNet,CAS +TEST_HARNESS_EXCLUDES += Interactive $(the_lib): $(RESOURCES) diff --git a/mcs/class/corlib/Makefile b/mcs/class/corlib/Makefile index 1707e82528..f6f085c465 100644 --- a/mcs/class/corlib/Makefile +++ b/mcs/class/corlib/Makefile @@ -85,7 +85,7 @@ RESOURCE_FILES = \ REFERENCE_SOURCES_FLAGS = -d:FEATURE_PAL,GENERICS_WORK,FEATURE_LIST_PREDICATES,FEATURE_SERIALIZATION,FEATURE_ENCODINGNLS,FEATURE_ASCII,FEATURE_LATIN1,FEATURE_UTF7,FEATURE_UTF32,MONO_HYBRID_ENCODING_SUPPORT,FEATURE_ASYNC_IO,NEW_EXPERIMENTAL_ASYNC_IO,FEATURE_UTF32,FEATURE_EXCEPTIONDISPATCHINFO,FEATURE_CORRUPTING_EXCEPTIONS,FEATURE_EXCEPTION_NOTIFICATIONS,FEATURE_STRONGNAME_MIGRATION,FEATURE_USE_LCID,FEATURE_FUSION,FEATURE_CRYPTO,FEATURE_X509_SECURESTRINGS,FEATURE_SYNCHRONIZATIONCONTEXT,FEATURE_SYNCHRONIZATIONCONTEXT_WAIT,HAS_CORLIB_CONTRACTS ifdef NO_SRE -PROFILE_TEST_HARNESS_EXCLUDES := $(PROFILE_TEST_HARNESS_EXCLUDES)SRE, +PROFILE_TEST_HARNESS_EXCLUDES := $(PROFILE_TEST_HARNESS_EXCLUDES) SRE else LIB_MCS_FLAGS += -d:MONO_FEATURE_SRE endif diff --git a/mcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.pns.cs b/mcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.pns.cs index 71278041b5..bebcb24f75 100644 --- a/mcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.pns.cs +++ b/mcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.pns.cs @@ -27,11 +27,103 @@ // #if !MONO_FEATURE_SRE +using System.Globalization; +using System.IO; namespace System.Reflection.Emit { public class AssemblyBuilder : Assembly { + private AssemblyBuilder () {} + + public override string CodeBase { + get { + throw new PlatformNotSupportedException (); + } + } + + public override MethodInfo EntryPoint { + get { + throw new PlatformNotSupportedException (); + } + } + + public override string EscapedCodeBase { + get { + throw new PlatformNotSupportedException (); + } + } + + public override System.Security.Policy.Evidence Evidence { + get { + throw new PlatformNotSupportedException (); + } + } + + public override string FullName { + get { + throw new PlatformNotSupportedException (); + } + } + + public override bool GlobalAssemblyCache { + get { + throw new PlatformNotSupportedException (); + } + } + + public override string ImageRuntimeVersion { + get { + throw new PlatformNotSupportedException (); + } + } + + public override bool IsDynamic { + get { + throw new PlatformNotSupportedException (); + } + } + + public override string Location { + get { + throw new PlatformNotSupportedException (); + } + } + + public override Module ManifestModule { + get { + throw new PlatformNotSupportedException (); + } + } + + public override bool ReflectionOnly { + get { + throw new PlatformNotSupportedException (); + } + } + + public void AddResourceFile (string name, string fileName) => throw new PlatformNotSupportedException (); + + public void AddResourceFile (string name, string fileName, ResourceAttributes attribute) => throw new PlatformNotSupportedException (); + + public ModuleBuilder DefineDynamicModule (string name, bool emitSymbolInfo) => throw new PlatformNotSupportedException (); + + public ModuleBuilder DefineDynamicModule (string name, string fileName) => throw new PlatformNotSupportedException (); + + public ModuleBuilder DefineDynamicModule (string name, string fileName, bool emitSymbolInfo) => throw new PlatformNotSupportedException (); + + public System.Resources.IResourceWriter DefineResource (string name, string description, string fileName) => throw new PlatformNotSupportedException (); + + public System.Resources.IResourceWriter DefineResource (string name, string description, string fileName, ResourceAttributes attribute) => throw new PlatformNotSupportedException (); + + public void DefineUnmanagedResource (byte[] resource) => throw new PlatformNotSupportedException (); + + public void DefineUnmanagedResource (string resourceFileName) => throw new PlatformNotSupportedException (); + + public void DefineVersionInfoResource () => throw new PlatformNotSupportedException (); + + public void DefineVersionInfoResource (string product, string productVersion, string company, string copyright, string trademark) => throw new PlatformNotSupportedException (); + public static AssemblyBuilder DefineDynamicAssembly (AssemblyName name, AssemblyBuilderAccess access) { throw new PlatformNotSupportedException (); @@ -47,11 +139,55 @@ namespace System.Reflection.Emit throw new PlatformNotSupportedException (); } + public override bool Equals (object obj) => throw new PlatformNotSupportedException (); + + public override object[] GetCustomAttributes (bool inherit) => throw new PlatformNotSupportedException (); + + public override object[] GetCustomAttributes (System.Type attributeType, bool inherit) => throw new PlatformNotSupportedException (); + public ModuleBuilder GetDynamicModule (string name) { throw new PlatformNotSupportedException (); } + public override Type[] GetExportedTypes () => throw new PlatformNotSupportedException (); + + public override FileStream GetFile (string name) => throw new PlatformNotSupportedException (); + + public override FileStream[] GetFiles (bool getResourceModules) => throw new PlatformNotSupportedException (); + + public override int GetHashCode () => throw new PlatformNotSupportedException (); + + public override Module[] GetLoadedModules (bool getResourceModules) => throw new PlatformNotSupportedException (); + + public override ManifestResourceInfo GetManifestResourceInfo (string resourceName) => throw new PlatformNotSupportedException (); + + public override string[] GetManifestResourceNames () => throw new PlatformNotSupportedException (); + + public override Stream GetManifestResourceStream (string name) => throw new PlatformNotSupportedException (); + + public override Stream GetManifestResourceStream (Type type, string name) => throw new PlatformNotSupportedException (); + + public override Module GetModule (string name) => throw new PlatformNotSupportedException (); + + public override Module[] GetModules (bool getResourceModules) => throw new PlatformNotSupportedException (); + + public override AssemblyName GetName (bool copiedName) => throw new PlatformNotSupportedException (); + + public override AssemblyName[] GetReferencedAssemblies () => throw new PlatformNotSupportedException (); + + public override Assembly GetSatelliteAssembly (CultureInfo culture) => throw new PlatformNotSupportedException (); + + public override Assembly GetSatelliteAssembly (CultureInfo culture, Version version) => throw new PlatformNotSupportedException (); + + public override Type GetType (string name, bool throwOnError, bool ignoreCase) => throw new PlatformNotSupportedException (); + + public override bool IsDefined (Type attributeType, bool inherit) => throw new PlatformNotSupportedException (); + + public void Save (string assemblyFileName) => throw new PlatformNotSupportedException (); + + public void Save (string assemblyFileName, PortableExecutableKinds portableExecutableKind, ImageFileMachine imageFileMachine) => throw new PlatformNotSupportedException (); + public void SetCustomAttribute (CustomAttributeBuilder customBuilder) { throw new PlatformNotSupportedException (); @@ -63,6 +199,11 @@ namespace System.Reflection.Emit throw new PlatformNotSupportedException (); } + public void SetEntryPoint (MethodInfo entryMethod) => throw new PlatformNotSupportedException (); + + public void SetEntryPoint (MethodInfo entryMethod, PEFileKinds fileKind) => throw new PlatformNotSupportedException (); + + public override string ToString () => throw new PlatformNotSupportedException (); } } diff --git a/mcs/class/corlib/System.Reflection.Emit/ConstructorBuilder.pns.cs b/mcs/class/corlib/System.Reflection.Emit/ConstructorBuilder.pns.cs index 03aa9233f1..4ec2ec7f22 100644 --- a/mcs/class/corlib/System.Reflection.Emit/ConstructorBuilder.pns.cs +++ b/mcs/class/corlib/System.Reflection.Emit/ConstructorBuilder.pns.cs @@ -26,12 +26,18 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // +using System; +using System.Collections; +using System.Collections.Generic; + #if !MONO_FEATURE_SRE namespace System.Reflection.Emit { - public abstract class ConstructorBuilder : ConstructorInfo + public class ConstructorBuilder : ConstructorInfo { + internal ConstructorBuilder () {} + public bool InitLocals { get; set; } public override MethodAttributes Attributes { @@ -40,18 +46,37 @@ namespace System.Reflection.Emit } } + public override CallingConventions CallingConvention { + get { + throw new PlatformNotSupportedException (); + } + } + public override Type DeclaringType { get { throw new PlatformNotSupportedException (); } } + public override Module Module { + get { + throw new PlatformNotSupportedException (); + } + } + public override string Name { get { throw new PlatformNotSupportedException (); } } + [Obsolete] + public Type ReturnType { + get { + throw new PlatformNotSupportedException (); + } + } + public ParameterBuilder DefineParameter (int iSequence, ParameterAttributes attributes, string strParamName) { throw new PlatformNotSupportedException (); @@ -86,6 +111,25 @@ namespace System.Reflection.Emit { throw new PlatformNotSupportedException (); } + + public string Signature => throw new PlatformNotSupportedException (); + public Module GetModule () => throw new PlatformNotSupportedException (); + public MethodToken GetToken () => throw new PlatformNotSupportedException (); + public void SetMethodBody (byte[] il, int maxStack, byte[] localSignature, + IEnumerable exceptionHandlers, IEnumerable tokenFixups) => + throw new PlatformNotSupportedException (); + + public void AddDeclarativeSecurity (System.Security.Permissions.SecurityAction action, System.Security.PermissionSet pset) { throw new PlatformNotSupportedException (); } + public override System.Reflection.MethodImplAttributes GetMethodImplementationFlags() { throw new PlatformNotSupportedException (); } + public override System.RuntimeMethodHandle MethodHandle { get { throw new PlatformNotSupportedException (); } } + public override object Invoke(System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object[] parameters, System.Globalization.CultureInfo culture) { throw new PlatformNotSupportedException (); } + public override bool IsDefined(System.Type attributeType, bool inherit) { throw new PlatformNotSupportedException (); } + public override object[] GetCustomAttributes(bool inherit) { throw new PlatformNotSupportedException (); } + public override object[] GetCustomAttributes(System.Type attributeType, bool inherit) { throw new PlatformNotSupportedException (); } + public override System.Type ReflectedType { get { throw new PlatformNotSupportedException (); } } + public override object Invoke(object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object[] parameters, System.Globalization.CultureInfo culture) { throw new PlatformNotSupportedException (); } + public void SetSymCustomAttribute (string name, byte[] data) { throw new PlatformNotSupportedException (); } + public override string ToString () { throw new PlatformNotSupportedException (); } } } diff --git a/mcs/class/corlib/System.Reflection.Emit/DynamicMethod.notsupported.cs b/mcs/class/corlib/System.Reflection.Emit/DynamicMethod.notsupported.cs index 00d53fe7f6..c0144605c5 100644 --- a/mcs/class/corlib/System.Reflection.Emit/DynamicMethod.notsupported.cs +++ b/mcs/class/corlib/System.Reflection.Emit/DynamicMethod.notsupported.cs @@ -94,10 +94,10 @@ namespace System.Reflection.Emit public bool InitLocals { get; set; } - public override MethodImplAttributes MethodImplementationFlags { + public override Module Module { get { throw new PlatformNotSupportedException (); - } + } } public override string Name { @@ -137,6 +137,9 @@ namespace System.Reflection.Emit public override Type ReflectedType { get { throw new PlatformNotSupportedException (); } } public override ICustomAttributeProvider ReturnTypeCustomAttributes { get { throw new PlatformNotSupportedException (); } } + public override sealed Delegate CreateDelegate (Type delegateType) { throw new PlatformNotSupportedException (); } + public override sealed Delegate CreateDelegate (Type delegateType, object target) { throw new PlatformNotSupportedException (); } + public override object[] GetCustomAttributes (bool inherit) { throw new PlatformNotSupportedException (); } public override object[] GetCustomAttributes (Type attributeType, bool inherit) { throw new PlatformNotSupportedException (); } public override MethodImplAttributes GetMethodImplementationFlags () { throw new PlatformNotSupportedException (); } @@ -145,6 +148,11 @@ namespace System.Reflection.Emit public override object Invoke (object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture) { throw new PlatformNotSupportedException (); } public override bool IsDefined (Type attributeType, bool inherit) { throw new PlatformNotSupportedException (); } + + public ParameterBuilder DefineParameter (int position, ParameterAttributes attributes, string parameterName) => throw new PlatformNotSupportedException (); + public DynamicILInfo GetDynamicILInfo () => throw new PlatformNotSupportedException (); + + public override string ToString () => throw new PlatformNotSupportedException (); } } diff --git a/mcs/class/corlib/System.Reflection.Emit/EnumBuilder.pns.cs b/mcs/class/corlib/System.Reflection.Emit/EnumBuilder.pns.cs index a7533ffbc1..6f0dbdd47e 100644 --- a/mcs/class/corlib/System.Reflection.Emit/EnumBuilder.pns.cs +++ b/mcs/class/corlib/System.Reflection.Emit/EnumBuilder.pns.cs @@ -30,87 +30,67 @@ namespace System.Reflection.Emit { - public abstract class EnumBuilder : TypeInfo + public sealed partial class EnumBuilder : System.Reflection.TypeInfo { - public FieldBuilder UnderlyingField { - get { - throw new PlatformNotSupportedException (); - } - } - - public override Assembly Assembly { - get { - throw new PlatformNotSupportedException (); - } - } - - public override string AssemblyQualifiedName { - get { - throw new PlatformNotSupportedException (); - } - } - - public override Type BaseType { - get { - throw new PlatformNotSupportedException (); - } - } - - public override string FullName { - get { - throw new PlatformNotSupportedException (); - } - } - - public override Guid GUID { - get { - throw new PlatformNotSupportedException (); - } - } - - public override Module Module { - get { - throw new PlatformNotSupportedException (); - } - } - - public override string Name { - get { - throw new PlatformNotSupportedException (); - } - } - - public override string Namespace { - get { - throw new PlatformNotSupportedException (); - } - } - - public TypeInfo CreateTypeInfo () - { - throw new PlatformNotSupportedException (); - } - - public FieldBuilder DefineLiteral (string literalName, object literalValue) - { - throw new PlatformNotSupportedException (); - } - - public override System.Type GetElementType () - { - throw new PlatformNotSupportedException (); - } - - public void SetCustomAttribute (CustomAttributeBuilder customBuilder) - { - throw new PlatformNotSupportedException (); - } - - public void SetCustomAttribute (ConstructorInfo con, byte[] binaryAttribute) - { - throw new PlatformNotSupportedException (); - } - + internal EnumBuilder() { throw new PlatformNotSupportedException (); } + public override System.Reflection.Assembly Assembly { get { throw new PlatformNotSupportedException (); } } + public override string AssemblyQualifiedName { get { throw new PlatformNotSupportedException (); } } + public override System.Type BaseType { get { throw new PlatformNotSupportedException (); } } + public override System.Type DeclaringType { get { throw new PlatformNotSupportedException (); } } + public override string FullName { get { throw new PlatformNotSupportedException (); } } + public override System.Guid GUID { get { throw new PlatformNotSupportedException (); } } + public override bool IsConstructedGenericType { get { throw new PlatformNotSupportedException (); } } + public override bool IsTypeDefinition { get { throw new PlatformNotSupportedException (); } } + public override System.Reflection.Module Module { get { throw new PlatformNotSupportedException (); } } + public override string Name { get { throw new PlatformNotSupportedException (); } } + public override string Namespace { get { throw new PlatformNotSupportedException (); } } + public override System.Type ReflectedType { get { throw new PlatformNotSupportedException (); } } + public override System.RuntimeTypeHandle TypeHandle { get { throw new PlatformNotSupportedException (); } } + public System.Reflection.Emit.TypeToken TypeToken { get { throw new PlatformNotSupportedException (); } } + public System.Reflection.Emit.FieldBuilder UnderlyingField { get { throw new PlatformNotSupportedException (); } } + public override System.Type UnderlyingSystemType { get { throw new PlatformNotSupportedException (); } } + public System.Type CreateType() { throw new PlatformNotSupportedException (); } + public System.Reflection.TypeInfo CreateTypeInfo() { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.FieldBuilder DefineLiteral(string literalName, object literalValue) { throw new PlatformNotSupportedException (); } + protected override System.Reflection.TypeAttributes GetAttributeFlagsImpl() { throw new PlatformNotSupportedException (); } + protected override System.Reflection.ConstructorInfo GetConstructorImpl(System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) { throw new PlatformNotSupportedException (); } + public override System.Reflection.ConstructorInfo[] GetConstructors(System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + public override object[] GetCustomAttributes(bool inherit) { throw new PlatformNotSupportedException (); } + public override object[] GetCustomAttributes(System.Type attributeType, bool inherit) { throw new PlatformNotSupportedException (); } + public override System.Type GetElementType() { throw new PlatformNotSupportedException (); } + public override System.Type GetEnumUnderlyingType() { throw new PlatformNotSupportedException (); } + public override System.Reflection.EventInfo GetEvent(string name, System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + public override System.Reflection.EventInfo[] GetEvents() { throw new PlatformNotSupportedException (); } + public override System.Reflection.EventInfo[] GetEvents(System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + public override System.Reflection.FieldInfo GetField(string name, System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + public override System.Reflection.FieldInfo[] GetFields(System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + public override System.Type GetInterface(string name, bool ignoreCase) { throw new PlatformNotSupportedException (); } + public override System.Reflection.InterfaceMapping GetInterfaceMap(System.Type interfaceType) { throw new PlatformNotSupportedException (); } + public override System.Type[] GetInterfaces() { throw new PlatformNotSupportedException (); } + public override System.Reflection.MemberInfo[] GetMember(string name, System.Reflection.MemberTypes type, System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + public override System.Reflection.MemberInfo[] GetMembers(System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + protected override System.Reflection.MethodInfo GetMethodImpl(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) { throw new PlatformNotSupportedException (); } + public override System.Reflection.MethodInfo[] GetMethods(System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + public override System.Type GetNestedType(string name, System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + public override System.Type[] GetNestedTypes(System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + public override System.Reflection.PropertyInfo[] GetProperties(System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + protected override System.Reflection.PropertyInfo GetPropertyImpl(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Type returnType, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) { throw new PlatformNotSupportedException (); } + protected override bool HasElementTypeImpl() { throw new PlatformNotSupportedException (); } + public override object InvokeMember(string name, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object target, object[] args, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, string[] namedParameters) { throw new PlatformNotSupportedException (); } + protected override bool IsArrayImpl() { throw new PlatformNotSupportedException (); } + public override bool IsAssignableFrom (System.Reflection.TypeInfo typeInfo) { throw new PlatformNotSupportedException (); } + protected override bool IsByRefImpl() { throw new PlatformNotSupportedException (); } + protected override bool IsCOMObjectImpl() { throw new PlatformNotSupportedException (); } + public override bool IsDefined(System.Type attributeType, bool inherit) { throw new PlatformNotSupportedException (); } + protected override bool IsPointerImpl() { throw new PlatformNotSupportedException (); } + protected override bool IsPrimitiveImpl() { throw new PlatformNotSupportedException (); } + protected override bool IsValueTypeImpl() { throw new PlatformNotSupportedException (); } + public override System.Type MakeArrayType() { throw new PlatformNotSupportedException (); } + public override System.Type MakeArrayType(int rank) { throw new PlatformNotSupportedException (); } + public override System.Type MakeByRefType() { throw new PlatformNotSupportedException (); } + public override System.Type MakePointerType() { throw new PlatformNotSupportedException (); } + public void SetCustomAttribute(System.Reflection.ConstructorInfo con, byte[] binaryAttribute) { throw new PlatformNotSupportedException (); } + public void SetCustomAttribute(System.Reflection.Emit.CustomAttributeBuilder customBuilder) { throw new PlatformNotSupportedException (); } } } diff --git a/mcs/class/corlib/System.Reflection.Emit/EventBuilder.pns.cs b/mcs/class/corlib/System.Reflection.Emit/EventBuilder.pns.cs index ede9a33d31..aa60b534ee 100644 --- a/mcs/class/corlib/System.Reflection.Emit/EventBuilder.pns.cs +++ b/mcs/class/corlib/System.Reflection.Emit/EventBuilder.pns.cs @@ -32,6 +32,8 @@ namespace System.Reflection.Emit { public class EventBuilder { + private EventBuilder () {} + public void AddOtherMethod (MethodBuilder mdBuilder) { throw new PlatformNotSupportedException (); @@ -61,6 +63,8 @@ namespace System.Reflection.Emit { throw new PlatformNotSupportedException (); } + + public EventToken GetEventToken () => throw new PlatformNotSupportedException (); } } diff --git a/mcs/class/corlib/System.Reflection.Emit/FieldBuilder.pns.cs b/mcs/class/corlib/System.Reflection.Emit/FieldBuilder.pns.cs index 2edcdc0321..5b8af01505 100644 --- a/mcs/class/corlib/System.Reflection.Emit/FieldBuilder.pns.cs +++ b/mcs/class/corlib/System.Reflection.Emit/FieldBuilder.pns.cs @@ -30,56 +30,29 @@ namespace System.Reflection.Emit { - public abstract class FieldBuilder : FieldInfo + public sealed partial class FieldBuilder : System.Reflection.FieldInfo { - public override FieldAttributes Attributes { - get { - throw new PlatformNotSupportedException (); - } - } - - public override Type DeclaringType { - get { - throw new PlatformNotSupportedException (); - } - } - - public override Type FieldType { - get { - throw new PlatformNotSupportedException (); - } - } - - public override string Name { - get { - throw new PlatformNotSupportedException (); - } - } - - public override object GetValue (object obj) - { - throw new PlatformNotSupportedException (); - } - - public void SetConstant (object defaultValue) - { - throw new PlatformNotSupportedException (); - } - - public void SetCustomAttribute (CustomAttributeBuilder customBuilder) - { - throw new PlatformNotSupportedException (); - } - - public void SetCustomAttribute (ConstructorInfo con, byte[] binaryAttribute) - { - throw new PlatformNotSupportedException (); - } - - public void SetOffset (int iOffset) - { - throw new PlatformNotSupportedException (); - } + internal FieldBuilder() { throw new PlatformNotSupportedException (); } + public override System.Reflection.FieldAttributes Attributes { get { throw null; } } + public override System.Type DeclaringType { get { throw null; } } + public override System.RuntimeFieldHandle FieldHandle { get { throw null; } } + public override System.Type FieldType { get { throw null; } } + public override string Name { get { throw null; } } + public override System.Type ReflectedType { get { throw null; } } + public override object[] GetCustomAttributes(bool inherit) { throw null; } + public override object[] GetCustomAttributes(System.Type attributeType, bool inherit) { throw null; } + public System.Reflection.Emit.FieldToken GetToken() { throw null; } + public override object GetValue(object obj) { throw null; } + public override bool IsDefined(System.Type attributeType, bool inherit) { throw null; } + public override int MetadataToken { get { throw new PlatformNotSupportedException (); } } + public override Module Module { get { throw new PlatformNotSupportedException (); } } + public void SetConstant(object defaultValue) { throw new PlatformNotSupportedException (); } + public void SetCustomAttribute(System.Reflection.ConstructorInfo con, byte[] binaryAttribute) { throw new PlatformNotSupportedException (); } + public void SetCustomAttribute(System.Reflection.Emit.CustomAttributeBuilder customBuilder) { throw new PlatformNotSupportedException (); } + [Obsolete ("An alternate API is available: Emit the MarshalAs custom attribute instead.")] + public void SetMarshal (UnmanagedMarshal unmanagedMarshal) { throw new PlatformNotSupportedException (); } + public void SetOffset(int iOffset) { throw new PlatformNotSupportedException (); } + public override void SetValue(object obj, object val, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Globalization.CultureInfo culture) { throw new PlatformNotSupportedException (); } } } diff --git a/mcs/class/corlib/System.Reflection.Emit/GenericTypeParameterBuilder.pns.cs b/mcs/class/corlib/System.Reflection.Emit/GenericTypeParameterBuilder.pns.cs index 7ef29e3118..50f117508a 100644 --- a/mcs/class/corlib/System.Reflection.Emit/GenericTypeParameterBuilder.pns.cs +++ b/mcs/class/corlib/System.Reflection.Emit/GenericTypeParameterBuilder.pns.cs @@ -30,85 +30,79 @@ namespace System.Reflection.Emit { - public abstract class GenericTypeParameterBuilder : TypeInfo + public sealed partial class GenericTypeParameterBuilder : System.Reflection.TypeInfo { - public override Assembly Assembly { - get { - throw new PlatformNotSupportedException (); - } - } - - public override string AssemblyQualifiedName { - get { - throw new PlatformNotSupportedException (); - } - } - - public override Type BaseType { - get { - throw new PlatformNotSupportedException (); - } - } - - public override string FullName { - get { - throw new PlatformNotSupportedException (); - } - } - - public override Guid GUID { - get { - throw new PlatformNotSupportedException (); - } - } - - public override Module Module { - get { - throw new PlatformNotSupportedException (); - } - } - - public override string Name { - get { - throw new PlatformNotSupportedException (); - } - } - - public override string Namespace { - get { - throw new PlatformNotSupportedException (); - } - } - - public override Type GetElementType () - { - throw new PlatformNotSupportedException (); - } - - public void SetBaseTypeConstraint (Type baseTypeConstraint) - { - throw new PlatformNotSupportedException (); - } - - public void SetCustomAttribute (CustomAttributeBuilder customBuilder) - { - throw new PlatformNotSupportedException (); - } - - public void SetCustomAttribute (ConstructorInfo con, byte[] binaryAttribute) - { - throw new PlatformNotSupportedException (); - } - - public void SetGenericParameterAttributes (GenericParameterAttributes genericParameterAttributes) - { - throw new PlatformNotSupportedException (); - } - - public void SetInterfaceConstraints (Type[] interfaceConstraints) - { - throw new PlatformNotSupportedException (); - } + internal GenericTypeParameterBuilder() { throw new PlatformNotSupportedException (); } + public override System.Reflection.Assembly Assembly { get { throw new PlatformNotSupportedException (); } } + public override string AssemblyQualifiedName { get { throw new PlatformNotSupportedException (); } } + public override System.Type BaseType { get { throw new PlatformNotSupportedException (); } } + public override bool ContainsGenericParameters { get { throw new PlatformNotSupportedException (); } } + public override System.Reflection.MethodBase DeclaringMethod { get { throw new PlatformNotSupportedException (); } } + public override System.Type DeclaringType { get { throw new PlatformNotSupportedException (); } } + public override string FullName { get { throw new PlatformNotSupportedException (); } } + public override System.Reflection.GenericParameterAttributes GenericParameterAttributes { get { throw new PlatformNotSupportedException (); } } + public override int GenericParameterPosition { get { throw new PlatformNotSupportedException (); } } + public override System.Guid GUID { get { throw new PlatformNotSupportedException (); } } + public override bool IsGenericParameter { get { throw new PlatformNotSupportedException (); } } + public override bool IsGenericType { get { throw new PlatformNotSupportedException (); } } + public override bool IsGenericTypeDefinition { get { throw new PlatformNotSupportedException (); } } + public override System.Reflection.Module Module { get { throw new PlatformNotSupportedException (); } } + public override string Name { get { throw new PlatformNotSupportedException (); } } + public override string Namespace { get { throw new PlatformNotSupportedException (); } } + public override System.Type ReflectedType { get { throw new PlatformNotSupportedException (); } } + public override System.RuntimeTypeHandle TypeHandle { get { throw new PlatformNotSupportedException (); } } + public override System.Type UnderlyingSystemType { get { throw new PlatformNotSupportedException (); } } + public override bool Equals(object o) { throw new PlatformNotSupportedException (); } + protected override System.Reflection.TypeAttributes GetAttributeFlagsImpl() { throw new PlatformNotSupportedException (); } + protected override System.Reflection.ConstructorInfo GetConstructorImpl(System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) { throw new PlatformNotSupportedException (); } + public override System.Reflection.ConstructorInfo[] GetConstructors(System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + public override object[] GetCustomAttributes(bool inherit) { throw new PlatformNotSupportedException (); } + public override object[] GetCustomAttributes(System.Type attributeType, bool inherit) { throw new PlatformNotSupportedException (); } + public override System.Type GetElementType() { throw new PlatformNotSupportedException (); } + public override System.Reflection.EventInfo GetEvent(string name, System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + public override System.Reflection.EventInfo[] GetEvents() { throw new PlatformNotSupportedException (); } + public override System.Reflection.EventInfo[] GetEvents(System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + public override System.Reflection.FieldInfo GetField(string name, System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + public override System.Reflection.FieldInfo[] GetFields(System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + public override System.Type[] GetGenericArguments() { throw new PlatformNotSupportedException (); } + public override System.Type[] GetGenericParameterConstraints () { throw new PlatformNotSupportedException (); } + public override System.Type GetGenericTypeDefinition() { throw new PlatformNotSupportedException (); } + public override int GetHashCode() { throw new PlatformNotSupportedException (); } + public override System.Type GetInterface(string name, bool ignoreCase) { throw new PlatformNotSupportedException (); } + public override System.Reflection.InterfaceMapping GetInterfaceMap(System.Type interfaceType) { throw new PlatformNotSupportedException (); } + public override System.Type[] GetInterfaces() { throw new PlatformNotSupportedException (); } + public override System.Reflection.MemberInfo[] GetMember(string name, System.Reflection.MemberTypes type, System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + public override System.Reflection.MemberInfo[] GetMembers(System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + protected override System.Reflection.MethodInfo GetMethodImpl(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) { throw new PlatformNotSupportedException (); } + public override System.Reflection.MethodInfo[] GetMethods(System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + public override System.Type GetNestedType(string name, System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + public override System.Type[] GetNestedTypes(System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + public override System.Reflection.PropertyInfo[] GetProperties(System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + protected override System.Reflection.PropertyInfo GetPropertyImpl(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Type returnType, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) { throw new PlatformNotSupportedException (); } + protected override bool HasElementTypeImpl() { throw new PlatformNotSupportedException (); } + public override object InvokeMember(string name, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object target, object[] args, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, string[] namedParameters) { throw new PlatformNotSupportedException (); } + protected override bool IsArrayImpl() { throw new PlatformNotSupportedException (); } + public override bool IsAssignableFrom(System.Type c) { throw new PlatformNotSupportedException (); } + public override bool IsAssignableFrom (TypeInfo typeInfo) { throw new PlatformNotSupportedException (); } + protected override bool IsByRefImpl() { throw new PlatformNotSupportedException (); } + protected override bool IsCOMObjectImpl() { throw new PlatformNotSupportedException (); } + public override bool IsDefined(System.Type attributeType, bool inherit) { throw new PlatformNotSupportedException (); } + public override bool IsInstanceOfType (object o) { throw new PlatformNotSupportedException (); } + protected override bool IsPointerImpl() { throw new PlatformNotSupportedException (); } + protected override bool IsPrimitiveImpl() { throw new PlatformNotSupportedException (); } + public override bool IsSubclassOf(System.Type c) { throw new PlatformNotSupportedException (); } + protected override bool IsValueTypeImpl() { throw new PlatformNotSupportedException (); } + public override System.Type MakeArrayType() { throw new PlatformNotSupportedException (); } + public override System.Type MakeArrayType(int rank) { throw new PlatformNotSupportedException (); } + public override System.Type MakeByRefType() { throw new PlatformNotSupportedException (); } + public override System.Type MakeGenericType(params System.Type[] typeArguments) { throw new PlatformNotSupportedException (); } + public override System.Type MakePointerType() { throw new PlatformNotSupportedException (); } + public void SetBaseTypeConstraint(System.Type baseTypeConstraint) { throw new PlatformNotSupportedException (); } + public void SetCustomAttribute(System.Reflection.ConstructorInfo con, byte[] binaryAttribute) { throw new PlatformNotSupportedException (); } + public void SetCustomAttribute(System.Reflection.Emit.CustomAttributeBuilder customBuilder) { throw new PlatformNotSupportedException (); } + public void SetGenericParameterAttributes(System.Reflection.GenericParameterAttributes genericParameterAttributes) { throw new PlatformNotSupportedException (); } + public void SetInterfaceConstraints(params System.Type[] interfaceConstraints) { throw new PlatformNotSupportedException (); } + public override string ToString() { throw new PlatformNotSupportedException (); } } } diff --git a/mcs/class/corlib/System.Reflection.Emit/ILGenerator.pns.cs b/mcs/class/corlib/System.Reflection.Emit/ILGenerator.pns.cs index 27b93b47a2..cb63822d5d 100644 --- a/mcs/class/corlib/System.Reflection.Emit/ILGenerator.pns.cs +++ b/mcs/class/corlib/System.Reflection.Emit/ILGenerator.pns.cs @@ -28,6 +28,8 @@ #if !MONO_FEATURE_SRE +using System.Runtime.InteropServices; + namespace System.Reflection.Emit { public class ILGenerator @@ -36,7 +38,7 @@ namespace System.Reflection.Emit { } - public int ILOffset { + public virtual int ILOffset { get { throw new PlatformNotSupportedException (); } @@ -183,6 +185,8 @@ namespace System.Reflection.Emit throw new PlatformNotSupportedException (); } + public virtual void EmitCalli (OpCode opcode, CallingConvention unmanagedCallConv, Type returnType, Type[] parameterTypes) => throw new PlatformNotSupportedException (); + public virtual void EmitWriteLine (LocalBuilder localBuilder) { throw new PlatformNotSupportedException (); @@ -213,6 +217,11 @@ namespace System.Reflection.Emit throw new PlatformNotSupportedException (); } + public virtual void MarkSequencePoint (System.Diagnostics.SymbolStore.ISymbolDocumentWriter document, int startLine, int startColumn, int endLine, int endColumn) + { + throw new PlatformNotSupportedException (); + } + public virtual void ThrowException (Type excType) { throw new PlatformNotSupportedException (); diff --git a/mcs/class/corlib/System.Reflection.Emit/MethodBuilder.pns.cs b/mcs/class/corlib/System.Reflection.Emit/MethodBuilder.pns.cs index 9aada030a4..cbae5560f8 100644 --- a/mcs/class/corlib/System.Reflection.Emit/MethodBuilder.pns.cs +++ b/mcs/class/corlib/System.Reflection.Emit/MethodBuilder.pns.cs @@ -28,84 +28,62 @@ #if !MONO_FEATURE_SRE + +using System; +using System.Collections.Generic; + namespace System.Reflection.Emit { - public abstract class MethodBuilder : MethodInfo + public sealed partial class MethodBuilder : System.Reflection.MethodInfo { - public bool InitLocals { get; set; } + internal MethodBuilder() { throw new PlatformNotSupportedException (); } + public override System.Reflection.MethodAttributes Attributes { get { throw new PlatformNotSupportedException (); } } + public override System.Reflection.CallingConventions CallingConvention { get { throw new PlatformNotSupportedException (); } } + public override bool ContainsGenericParameters { get { throw new PlatformNotSupportedException (); } } + public override System.Type DeclaringType { get { throw new PlatformNotSupportedException (); } } + public bool InitLocals { get { throw new PlatformNotSupportedException (); } set { throw new PlatformNotSupportedException (); } } + public override bool IsGenericMethod { get { throw new PlatformNotSupportedException (); } } + public override bool IsGenericMethodDefinition { get { throw new PlatformNotSupportedException (); } } + public override System.RuntimeMethodHandle MethodHandle { get { throw new PlatformNotSupportedException (); } } + public override System.Reflection.Module Module { get { throw new PlatformNotSupportedException (); } } + public override string Name { get { throw new PlatformNotSupportedException (); } } + public override System.Type ReflectedType { get { throw new PlatformNotSupportedException (); } } + public override System.Reflection.ParameterInfo ReturnParameter { get { throw new PlatformNotSupportedException (); } } + public override System.Type ReturnType { get { throw new PlatformNotSupportedException (); } } + public override System.Reflection.ICustomAttributeProvider ReturnTypeCustomAttributes { get { throw new PlatformNotSupportedException (); } } + public string Signature { get { throw new PlatformNotSupportedException (); } } - public override MethodAttributes Attributes { - get { - throw new PlatformNotSupportedException (); - } - } - - public override Type DeclaringType { - get { - throw new PlatformNotSupportedException (); - } - } - - public override string Name { - get { - throw new PlatformNotSupportedException (); - } - } - - public GenericTypeParameterBuilder[] DefineGenericParameters (string[] names) - { - throw new PlatformNotSupportedException (); - } - - public ParameterBuilder DefineParameter (int position, ParameterAttributes attributes, string strParamName) - { - throw new PlatformNotSupportedException (); - } - - public ILGenerator GetILGenerator () - { - throw new PlatformNotSupportedException (); - } - - public ILGenerator GetILGenerator (int size) - { - throw new PlatformNotSupportedException (); - } - - public override System.Reflection.ParameterInfo[] GetParameters () - { - throw new PlatformNotSupportedException (); - } - - public void SetCustomAttribute (CustomAttributeBuilder customBuilder) - { - throw new PlatformNotSupportedException (); - } - - public void SetCustomAttribute (ConstructorInfo con, byte[] binaryAttribute) - { - throw new PlatformNotSupportedException (); - } - - public void SetImplementationFlags (MethodImplAttributes attributes) - { - throw new PlatformNotSupportedException (); - } - - public void SetParameters (Type[] parameterTypes) - { - throw new PlatformNotSupportedException (); - } - - public void SetReturnType (Type returnType) - { - throw new PlatformNotSupportedException (); - } - - public void SetSignature (Type returnType, Type[] returnTypeRequiredCustomModifiers, Type[] returnTypeOptionalCustomModifiers, Type[] parameterTypes, Type[][] parameterTypeRequiredCustomModifiers, Type[][] parameterTypeOptionalCustomModifiers) - { - throw new PlatformNotSupportedException (); - } + public void AddDeclarativeSecurity (System.Security.Permissions.SecurityAction action, System.Security.PermissionSet pset) { throw new PlatformNotSupportedException (); } + public void CreateMethodBody(byte[] il, int count) { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.GenericTypeParameterBuilder[] DefineGenericParameters(params string[] names) { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.ParameterBuilder DefineParameter(int position, System.Reflection.ParameterAttributes attributes, string strParamName) { throw new PlatformNotSupportedException (); } + public override bool Equals(object obj) { throw new PlatformNotSupportedException (); } + public override System.Reflection.MethodInfo GetBaseDefinition() { throw new PlatformNotSupportedException (); } + public override object[] GetCustomAttributes(bool inherit) { throw new PlatformNotSupportedException (); } + public override object[] GetCustomAttributes(System.Type attributeType, bool inherit) { throw new PlatformNotSupportedException (); } + public override System.Type[] GetGenericArguments() { throw new PlatformNotSupportedException (); } + public override System.Reflection.MethodInfo GetGenericMethodDefinition() { throw new PlatformNotSupportedException (); } + public override int GetHashCode() { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.ILGenerator GetILGenerator() { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.ILGenerator GetILGenerator(int size) { throw new PlatformNotSupportedException (); } + public override System.Reflection.MethodImplAttributes GetMethodImplementationFlags() { throw new PlatformNotSupportedException (); } + public System.Reflection.Module GetModule() { throw new PlatformNotSupportedException (); } + public override System.Reflection.ParameterInfo[] GetParameters() { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.MethodToken GetToken() { throw new PlatformNotSupportedException (); } + public override object Invoke(object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object[] parameters, System.Globalization.CultureInfo culture) { throw new PlatformNotSupportedException (); } + public override bool IsDefined(System.Type attributeType, bool inherit) { throw new PlatformNotSupportedException (); } + public override System.Reflection.MethodInfo MakeGenericMethod(params System.Type[] typeArguments) { throw new PlatformNotSupportedException (); } + public void SetCustomAttribute(System.Reflection.ConstructorInfo con, byte[] binaryAttribute) { throw new PlatformNotSupportedException (); } + public void SetCustomAttribute(System.Reflection.Emit.CustomAttributeBuilder customBuilder) { throw new PlatformNotSupportedException (); } + public void SetImplementationFlags(System.Reflection.MethodImplAttributes attributes) { throw new PlatformNotSupportedException (); } + [Obsolete ("An alternate API is available: Emit the MarshalAs custom attribute instead.")] + public void SetMarshal (UnmanagedMarshal unmanagedMarshal) { throw new PlatformNotSupportedException (); } + public void SetMethodBody(byte[] il, int maxStack, byte[] localSignature, System.Collections.Generic.IEnumerable exceptionHandlers, System.Collections.Generic.IEnumerable tokenFixups) { throw new PlatformNotSupportedException (); } + public void SetParameters(params System.Type[] parameterTypes) { throw new PlatformNotSupportedException (); } + public void SetReturnType(System.Type returnType) { throw new PlatformNotSupportedException (); } + public void SetSignature(System.Type returnType, System.Type[] returnTypeRequiredCustomModifiers, System.Type[] returnTypeOptionalCustomModifiers, System.Type[] parameterTypes, System.Type[][] parameterTypeRequiredCustomModifiers, System.Type[][] parameterTypeOptionalCustomModifiers) { throw new PlatformNotSupportedException (); } + public void SetSymCustomAttribute (string name, byte[] data) { throw new PlatformNotSupportedException (); } + public override string ToString() { throw new PlatformNotSupportedException (); } } } diff --git a/mcs/class/corlib/System.Reflection.Emit/MethodRental.pns.cs b/mcs/class/corlib/System.Reflection.Emit/MethodRental.pns.cs new file mode 100644 index 0000000000..adc8838997 --- /dev/null +++ b/mcs/class/corlib/System.Reflection.Emit/MethodRental.pns.cs @@ -0,0 +1,25 @@ +#if !MONO_FEATURE_SRE +using System.Runtime.InteropServices; + +namespace System.Reflection.Emit { + + public partial class MethodRental : _MethodRental { + + private MethodRental () {} + + public const int JitImmediate = 1; + public const int JitOnDemand = 0; + + public static void SwapMethodBody (Type cls, int methodtoken, IntPtr rgIL, int methodSize, int flags) => throw new PlatformNotSupportedException (); + + void _MethodRental.GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId) => throw new PlatformNotSupportedException (); + + void _MethodRental.GetTypeInfo (uint iTInfo, uint lcid, IntPtr ppTInfo) => throw new PlatformNotSupportedException (); + + void _MethodRental.GetTypeInfoCount (out uint pcTInfo) => throw new PlatformNotSupportedException (); + + void _MethodRental.Invoke (uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr) => throw new PlatformNotSupportedException (); + } +} + +#endif \ No newline at end of file diff --git a/mcs/class/corlib/System.Reflection.Emit/ModuleBuilder.pns.cs b/mcs/class/corlib/System.Reflection.Emit/ModuleBuilder.pns.cs index 6c787249c3..b576e95201 100644 --- a/mcs/class/corlib/System.Reflection.Emit/ModuleBuilder.pns.cs +++ b/mcs/class/corlib/System.Reflection.Emit/ModuleBuilder.pns.cs @@ -30,93 +30,186 @@ namespace System.Reflection.Emit { - public abstract class ModuleBuilder : Module - { - public void CreateGlobalFunctions () - { - throw new PlatformNotSupportedException (); - } + public partial class ModuleBuilder : System.Reflection.Module + { + internal ModuleBuilder() => throw new PlatformNotSupportedException(); + public override System.Reflection.Assembly Assembly { get { throw new PlatformNotSupportedException(); } } + public override string FullyQualifiedName { get { throw new PlatformNotSupportedException(); } } + public override int MetadataToken { get { throw new PlatformNotSupportedException(); } } + public override System.Guid ModuleVersionId { get { throw new PlatformNotSupportedException(); } } + public override string Name { get { throw new PlatformNotSupportedException(); } } + public override string ScopeName { get { throw new PlatformNotSupportedException(); } } + public void CreateGlobalFunctions() => throw new PlatformNotSupportedException(); + public System.Diagnostics.SymbolStore.ISymbolDocumentWriter DefineDocument (string url, System.Guid language, System.Guid languageVendor, System.Guid documentType) => throw new PlatformNotSupportedException (); + public System.Reflection.Emit.EnumBuilder DefineEnum(string name, System.Reflection.TypeAttributes visibility, System.Type underlyingType) { throw new PlatformNotSupportedException(); } + public System.Reflection.Emit.MethodBuilder DefineGlobalMethod(string name, System.Reflection.MethodAttributes attributes, System.Reflection.CallingConventions callingConvention, System.Type returnType, System.Type[] parameterTypes) { throw new PlatformNotSupportedException(); } + public System.Reflection.Emit.MethodBuilder DefineGlobalMethod(string name, System.Reflection.MethodAttributes attributes, System.Reflection.CallingConventions callingConvention, System.Type returnType, System.Type[] requiredReturnTypeCustomModifiers, System.Type[] optionalReturnTypeCustomModifiers, System.Type[] parameterTypes, System.Type[][] requiredParameterTypeCustomModifiers, System.Type[][] optionalParameterTypeCustomModifiers) { throw new PlatformNotSupportedException(); } + public System.Reflection.Emit.MethodBuilder DefineGlobalMethod(string name, System.Reflection.MethodAttributes attributes, System.Type returnType, System.Type[] parameterTypes) { throw new PlatformNotSupportedException(); } + public System.Reflection.Emit.FieldBuilder DefineInitializedData(string name, byte[] data, System.Reflection.FieldAttributes attributes) { throw new PlatformNotSupportedException(); } + public void DefineManifestResource (string name, System.IO.Stream stream, System.Reflection.ResourceAttributes attribute) => throw new PlatformNotSupportedException (); + public System.Reflection.Emit.MethodBuilder DefinePInvokeMethod(string name, string dllName, System.Reflection.MethodAttributes attributes, System.Reflection.CallingConventions callingConvention, System.Type returnType, System.Type[] parameterTypes, System.Runtime.InteropServices.CallingConvention nativeCallConv, System.Runtime.InteropServices.CharSet nativeCharSet) { throw new PlatformNotSupportedException(); } + public System.Reflection.Emit.MethodBuilder DefinePInvokeMethod(string name, string dllName, string entryName, System.Reflection.MethodAttributes attributes, System.Reflection.CallingConventions callingConvention, System.Type returnType, System.Type[] parameterTypes, System.Runtime.InteropServices.CallingConvention nativeCallConv, System.Runtime.InteropServices.CharSet nativeCharSet) { throw new PlatformNotSupportedException(); } + public System.Resources.IResourceWriter DefineResource (string name, string description) => throw new PlatformNotSupportedException (); + public System.Resources.IResourceWriter DefineResource (string name, string description, System.Reflection.ResourceAttributes attribute) => throw new PlatformNotSupportedException (); + public void DefineUnmanagedResource (byte[] resource) => throw new PlatformNotSupportedException (); + public void DefineUnmanagedResource (string resourceFileName) => throw new PlatformNotSupportedException (); + public System.Reflection.Emit.TypeBuilder DefineType(string name) { throw new PlatformNotSupportedException(); } + public System.Reflection.Emit.TypeBuilder DefineType(string name, System.Reflection.TypeAttributes attr) { throw new PlatformNotSupportedException(); } + public System.Reflection.Emit.TypeBuilder DefineType(string name, System.Reflection.TypeAttributes attr, System.Type parent) { throw new PlatformNotSupportedException(); } + public System.Reflection.Emit.TypeBuilder DefineType(string name, System.Reflection.TypeAttributes attr, System.Type parent, int typesize) { throw new PlatformNotSupportedException(); } + public System.Reflection.Emit.TypeBuilder DefineType(string name, System.Reflection.TypeAttributes attr, System.Type parent, System.Reflection.Emit.PackingSize packsize) { throw new PlatformNotSupportedException(); } + public System.Reflection.Emit.TypeBuilder DefineType(string name, System.Reflection.TypeAttributes attr, System.Type parent, System.Reflection.Emit.PackingSize packingSize, int typesize) { throw new PlatformNotSupportedException(); } + public System.Reflection.Emit.TypeBuilder DefineType(string name, System.Reflection.TypeAttributes attr, System.Type parent, System.Type[] interfaces) { throw new PlatformNotSupportedException(); } + public System.Reflection.Emit.FieldBuilder DefineUninitializedData(string name, int size, System.Reflection.FieldAttributes attributes) { throw new PlatformNotSupportedException(); } + public override bool Equals(object obj) { throw new PlatformNotSupportedException(); } + public System.Reflection.MethodInfo GetArrayMethod(System.Type arrayClass, string methodName, System.Reflection.CallingConventions callingConvention, System.Type returnType, System.Type[] parameterTypes) { throw new PlatformNotSupportedException(); } + public System.Reflection.Emit.MethodToken GetArrayMethodToken(System.Type arrayClass, string methodName, System.Reflection.CallingConventions callingConvention, System.Type returnType, System.Type[] parameterTypes) { throw new PlatformNotSupportedException(); } + public System.Reflection.Emit.MethodToken GetConstructorToken(System.Reflection.ConstructorInfo con) { throw new PlatformNotSupportedException(); } + public System.Reflection.Emit.MethodToken GetConstructorToken(System.Reflection.ConstructorInfo constructor, System.Collections.Generic.IEnumerable optionalParameterTypes) { throw new PlatformNotSupportedException(); } + public override object[] GetCustomAttributes (bool inherit) { throw new PlatformNotSupportedException(); } + public override object[] GetCustomAttributes (System.Type attributeType, bool inherit) { throw new PlatformNotSupportedException(); } + public override System.Reflection.FieldInfo GetField (string name, System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException(); } + public override System.Reflection.FieldInfo[] GetFields (System.Reflection.BindingFlags bindingFlags) { throw new PlatformNotSupportedException(); } + public System.Reflection.Emit.FieldToken GetFieldToken(System.Reflection.FieldInfo field) { throw new PlatformNotSupportedException(); } + public override int GetHashCode() { throw new PlatformNotSupportedException(); } + protected override System.Reflection.MethodInfo GetMethodImpl (string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) { throw new PlatformNotSupportedException(); } + public override System.Reflection.MethodInfo[] GetMethods (System.Reflection.BindingFlags bindingFlags) { throw new PlatformNotSupportedException(); } + public System.Reflection.Emit.MethodToken GetMethodToken(System.Reflection.MethodInfo method) { throw new PlatformNotSupportedException(); } + public System.Reflection.Emit.MethodToken GetMethodToken(System.Reflection.MethodInfo method, System.Collections.Generic.IEnumerable optionalParameterTypes) { throw new PlatformNotSupportedException(); } + public System.Reflection.Emit.SignatureToken GetSignatureToken(byte[] sigBytes, int sigLength) { throw new PlatformNotSupportedException(); } + public System.Reflection.Emit.SignatureToken GetSignatureToken(System.Reflection.Emit.SignatureHelper sigHelper) { throw new PlatformNotSupportedException(); } + public System.Reflection.Emit.StringToken GetStringConstant(string str) { throw new PlatformNotSupportedException(); } + public System.Diagnostics.SymbolStore.ISymbolWriter GetSymWriter () => throw new PlatformNotSupportedException (); + public override System.Type GetType (string className) { throw new PlatformNotSupportedException(); } + public override System.Type GetType (string className, bool ignoreCase) { throw new PlatformNotSupportedException(); } + public override System.Type GetType (string className, bool throwOnError, bool ignoreCase) { throw new PlatformNotSupportedException(); } + public override System.Type[] GetTypes () { throw new PlatformNotSupportedException(); } + public System.Reflection.Emit.TypeToken GetTypeToken(string name) { throw new PlatformNotSupportedException(); } + public System.Reflection.Emit.TypeToken GetTypeToken(System.Type type) { throw new PlatformNotSupportedException(); } + public override bool IsDefined (System.Type attributeType, bool inherit) { throw new PlatformNotSupportedException(); } + public override bool IsResource () { throw new PlatformNotSupportedException(); } + public bool IsTransient() { throw new PlatformNotSupportedException(); } + public override System.Reflection.FieldInfo ResolveField (int metadataToken, System.Type[] genericTypeArguments, System.Type[] genericMethodArguments) { throw new PlatformNotSupportedException(); } + public override System.Reflection.MemberInfo ResolveMember (int metadataToken, System.Type[] genericTypeArguments, System.Type[] genericMethodArguments) { throw new PlatformNotSupportedException(); } + public override System.Reflection.MethodBase ResolveMethod (int metadataToken, System.Type[] genericTypeArguments, System.Type[] genericMethodArguments) { throw new PlatformNotSupportedException(); } + public override byte[] ResolveSignature (int metadataToken) { throw new PlatformNotSupportedException(); } + public override string ResolveString (int metadataToken) { throw new PlatformNotSupportedException(); } + public override System.Type ResolveType (int metadataToken, System.Type[] genericTypeArguments, System.Type[] genericMethodArguments) { throw new PlatformNotSupportedException(); } + public void SetCustomAttribute(System.Reflection.ConstructorInfo con, byte[] binaryAttribute) => throw new PlatformNotSupportedException(); + public void SetCustomAttribute(System.Reflection.Emit.CustomAttributeBuilder customBuilder) => throw new PlatformNotSupportedException(); + public void SetSymCustomAttribute (string name, byte[] data) => throw new PlatformNotSupportedException (); + public void SetUserEntryPoint(System.Reflection.MethodInfo entryPoint) => throw new PlatformNotSupportedException(); + } - public EnumBuilder DefineEnum (string name, TypeAttributes visibility, Type underlyingType) - { - throw new PlatformNotSupportedException (); - } + public readonly partial struct MethodToken : System.IEquatable + { + public static readonly System.Reflection.Emit.MethodToken Empty; + public int Token { get { throw new PlatformNotSupportedException(); } } + public override bool Equals(object obj) { throw new PlatformNotSupportedException(); } + public bool Equals(System.Reflection.Emit.MethodToken obj) { throw new PlatformNotSupportedException(); } + public override int GetHashCode() { throw new PlatformNotSupportedException(); } + public static bool operator ==(System.Reflection.Emit.MethodToken a, System.Reflection.Emit.MethodToken b) { throw new PlatformNotSupportedException(); } + public static bool operator !=(System.Reflection.Emit.MethodToken a, System.Reflection.Emit.MethodToken b) { throw new PlatformNotSupportedException(); } + } - public MethodBuilder DefineGlobalMethod (string name, MethodAttributes attributes, Type returnType, Type[] parameterTypes) - { - throw new PlatformNotSupportedException (); - } + public readonly partial struct SignatureToken : System.IEquatable + { + public static readonly System.Reflection.Emit.SignatureToken Empty; + public int Token { get { throw new PlatformNotSupportedException(); } } + public override bool Equals(object obj) { throw new PlatformNotSupportedException(); } + public bool Equals(System.Reflection.Emit.SignatureToken obj) { throw new PlatformNotSupportedException(); } + public override int GetHashCode() { throw new PlatformNotSupportedException(); } + public static bool operator ==(System.Reflection.Emit.SignatureToken a, System.Reflection.Emit.SignatureToken b) { throw new PlatformNotSupportedException(); } + public static bool operator !=(System.Reflection.Emit.SignatureToken a, System.Reflection.Emit.SignatureToken b) { throw new PlatformNotSupportedException(); } + } - public MethodBuilder DefineGlobalMethod (string name, MethodAttributes attributes, CallingConventions callingConvention, Type returnType, Type[] parameterTypes) - { - throw new PlatformNotSupportedException (); - } + public readonly partial struct FieldToken : System.IEquatable + { + public static readonly System.Reflection.Emit.FieldToken Empty; + public int Token { get { throw new PlatformNotSupportedException(); } } + public override bool Equals(object obj) { throw new PlatformNotSupportedException(); } + public bool Equals(System.Reflection.Emit.FieldToken obj) { throw new PlatformNotSupportedException(); } + public override int GetHashCode() { throw new PlatformNotSupportedException(); } + public static bool operator ==(System.Reflection.Emit.FieldToken a, System.Reflection.Emit.FieldToken b) { throw new PlatformNotSupportedException(); } + public static bool operator !=(System.Reflection.Emit.FieldToken a, System.Reflection.Emit.FieldToken b) { throw new PlatformNotSupportedException(); } + } - public MethodBuilder DefineGlobalMethod (string name, MethodAttributes attributes, CallingConventions callingConvention, Type returnType, Type[] requiredReturnTypeCustomModifiers, Type[] optionalReturnTypeCustomModifiers, Type[] parameterTypes, Type[][] requiredParameterTypeCustomModifiers, Type[][] optionalParameterTypeCustomModifiers) - { - throw new PlatformNotSupportedException (); - } + public readonly partial struct StringToken : System.IEquatable + { + public int Token { get { throw new PlatformNotSupportedException(); } } + public override bool Equals(object obj) { throw new PlatformNotSupportedException(); } + public bool Equals(System.Reflection.Emit.StringToken obj) { throw new PlatformNotSupportedException(); } + public override int GetHashCode() { throw new PlatformNotSupportedException(); } + public static bool operator ==(System.Reflection.Emit.StringToken a, System.Reflection.Emit.StringToken b) { throw new PlatformNotSupportedException(); } + public static bool operator !=(System.Reflection.Emit.StringToken a, System.Reflection.Emit.StringToken b) { throw new PlatformNotSupportedException(); } + } - public FieldBuilder DefineInitializedData (string name, byte[] data, FieldAttributes attributes) - { - throw new PlatformNotSupportedException (); - } + public readonly partial struct TypeToken : System.IEquatable + { + public static readonly System.Reflection.Emit.TypeToken Empty; + public int Token { get { throw new PlatformNotSupportedException(); } } + public override bool Equals(object obj) { throw new PlatformNotSupportedException(); } + public bool Equals(System.Reflection.Emit.TypeToken obj) { throw new PlatformNotSupportedException(); } + public override int GetHashCode() { throw new PlatformNotSupportedException(); } + public static bool operator ==(System.Reflection.Emit.TypeToken a, System.Reflection.Emit.TypeToken b) { throw new PlatformNotSupportedException(); } + public static bool operator !=(System.Reflection.Emit.TypeToken a, System.Reflection.Emit.TypeToken b) { throw new PlatformNotSupportedException(); } + } - public TypeBuilder DefineType (string name) - { - throw new PlatformNotSupportedException (); - } + public partial class DynamicILInfo + { + internal DynamicILInfo() => throw new PlatformNotSupportedException(); + public System.Reflection.Emit.DynamicMethod DynamicMethod { get { throw new PlatformNotSupportedException(); } } + public int GetTokenFor(byte[] signature) { throw new PlatformNotSupportedException(); } + public int GetTokenFor(System.Reflection.Emit.DynamicMethod method) { throw new PlatformNotSupportedException(); } + public int GetTokenFor(System.RuntimeFieldHandle field) { throw new PlatformNotSupportedException(); } + public int GetTokenFor(System.RuntimeFieldHandle field, System.RuntimeTypeHandle contextType) { throw new PlatformNotSupportedException(); } + public int GetTokenFor(System.RuntimeMethodHandle method) { throw new PlatformNotSupportedException(); } + public int GetTokenFor(System.RuntimeMethodHandle method, System.RuntimeTypeHandle contextType) { throw new PlatformNotSupportedException(); } + public int GetTokenFor(System.RuntimeTypeHandle type) { throw new PlatformNotSupportedException(); } + public int GetTokenFor(string literal) { throw new PlatformNotSupportedException(); } + [System.CLSCompliantAttribute(false)] + public unsafe void SetCode(byte* code, int codeSize, int maxStackSize) => throw new PlatformNotSupportedException(); + public void SetCode(byte[] code, int maxStackSize) => throw new PlatformNotSupportedException(); + [System.CLSCompliantAttribute(false)] + public unsafe void SetExceptions(byte* exceptions, int exceptionsSize) => throw new PlatformNotSupportedException(); + public void SetExceptions(byte[] exceptions) => throw new PlatformNotSupportedException(); + [System.CLSCompliantAttribute(false)] + public unsafe void SetLocalSignature(byte* localSignature, int signatureSize) => throw new PlatformNotSupportedException(); + public void SetLocalSignature(byte[] localSignature) => throw new PlatformNotSupportedException(); + } - public TypeBuilder DefineType (string name, TypeAttributes attr) - { - throw new PlatformNotSupportedException (); - } + public readonly partial struct EventToken : System.IEquatable + { + public static readonly System.Reflection.Emit.EventToken Empty; + public int Token { get { throw new PlatformNotSupportedException(); } } + public override bool Equals(object obj) { throw new PlatformNotSupportedException(); } + public bool Equals(System.Reflection.Emit.EventToken obj) { throw new PlatformNotSupportedException(); } + public override int GetHashCode() { throw new PlatformNotSupportedException(); } + public static bool operator ==(System.Reflection.Emit.EventToken a, System.Reflection.Emit.EventToken b) { throw new PlatformNotSupportedException(); } + public static bool operator !=(System.Reflection.Emit.EventToken a, System.Reflection.Emit.EventToken b) { throw new PlatformNotSupportedException(); } + } - public TypeBuilder DefineType (string name, TypeAttributes attr, Type parent) - { - throw new PlatformNotSupportedException (); - } + public readonly partial struct ParameterToken : System.IEquatable + { + public static readonly System.Reflection.Emit.ParameterToken Empty; + public int Token { get { throw new PlatformNotSupportedException(); } } + public override bool Equals(object obj) { throw new PlatformNotSupportedException(); } + public bool Equals(System.Reflection.Emit.ParameterToken obj) { throw new PlatformNotSupportedException(); } + public override int GetHashCode() { throw new PlatformNotSupportedException(); } + public static bool operator ==(System.Reflection.Emit.ParameterToken a, System.Reflection.Emit.ParameterToken b) { throw new PlatformNotSupportedException(); } + public static bool operator !=(System.Reflection.Emit.ParameterToken a, System.Reflection.Emit.ParameterToken b) { throw new PlatformNotSupportedException(); } + } - public TypeBuilder DefineType (string name, TypeAttributes attr, Type parent, int typesize) - { - throw new PlatformNotSupportedException (); - } - - public TypeBuilder DefineType (string name, TypeAttributes attr, Type parent, PackingSize packsize) - { - throw new PlatformNotSupportedException (); - } - - public TypeBuilder DefineType (string name, TypeAttributes attr, Type parent, Type[] interfaces) - { - throw new PlatformNotSupportedException (); - } - - public TypeBuilder DefineType (string name, TypeAttributes attr, Type parent, PackingSize packingSize, int typesize) - { - throw new PlatformNotSupportedException (); - } - - public FieldBuilder DefineUninitializedData (string name, int size, FieldAttributes attributes) - { - throw new PlatformNotSupportedException (); - } - - public MethodInfo GetArrayMethod (Type arrayClass, string methodName, CallingConventions callingConvention, Type returnType, Type[] parameterTypes) - { - throw new PlatformNotSupportedException (); - } - - public void SetCustomAttribute (CustomAttributeBuilder customBuilder) - { - throw new PlatformNotSupportedException (); - } - - public void SetCustomAttribute (ConstructorInfo con, byte[] binaryAttribute) - { - throw new PlatformNotSupportedException (); - } - } + public readonly partial struct PropertyToken : System.IEquatable + { + public static readonly System.Reflection.Emit.PropertyToken Empty; + public int Token { get { throw new PlatformNotSupportedException(); } } + public override bool Equals(object obj) { throw new PlatformNotSupportedException(); } + public bool Equals(System.Reflection.Emit.PropertyToken obj) { throw new PlatformNotSupportedException(); } + public override int GetHashCode() { throw new PlatformNotSupportedException(); } + public static bool operator ==(System.Reflection.Emit.PropertyToken a, System.Reflection.Emit.PropertyToken b) { throw new PlatformNotSupportedException(); } + public static bool operator !=(System.Reflection.Emit.PropertyToken a, System.Reflection.Emit.PropertyToken b) { throw new PlatformNotSupportedException(); } + } } #endif diff --git a/mcs/class/corlib/System.Reflection.Emit/ParameterBuilder.pns.cs b/mcs/class/corlib/System.Reflection.Emit/ParameterBuilder.pns.cs index e7198a8ea7..f5d08d30d4 100644 --- a/mcs/class/corlib/System.Reflection.Emit/ParameterBuilder.pns.cs +++ b/mcs/class/corlib/System.Reflection.Emit/ParameterBuilder.pns.cs @@ -36,7 +36,7 @@ namespace System.Reflection.Emit { } - public int Attributes { + public virtual int Attributes { get { throw new PlatformNotSupportedException (); } @@ -60,13 +60,13 @@ namespace System.Reflection.Emit } } - public string Name { + public virtual string Name { get { throw new PlatformNotSupportedException (); } } - public int Position { + public virtual int Position { get { throw new PlatformNotSupportedException (); } @@ -86,6 +86,11 @@ namespace System.Reflection.Emit { throw new PlatformNotSupportedException (); } + + [Obsolete ("An alternate API is available: Emit the MarshalAs custom attribute instead.")] + public virtual void SetMarshal (UnmanagedMarshal unmanagedMarshal) => throw new PlatformNotSupportedException (); + + public virtual ParameterToken GetToken() => throw new PlatformNotSupportedException (); } } diff --git a/mcs/class/corlib/System.Reflection.Emit/PropertyBuilder.pns.cs b/mcs/class/corlib/System.Reflection.Emit/PropertyBuilder.pns.cs index 0c1d9ba474..d366340583 100644 --- a/mcs/class/corlib/System.Reflection.Emit/PropertyBuilder.pns.cs +++ b/mcs/class/corlib/System.Reflection.Emit/PropertyBuilder.pns.cs @@ -30,78 +30,35 @@ namespace System.Reflection.Emit { - public abstract class PropertyBuilder : PropertyInfo + public sealed partial class PropertyBuilder : System.Reflection.PropertyInfo { - public override PropertyAttributes Attributes { - get { - throw new PlatformNotSupportedException (); - } - } - - public override bool CanRead { - get { - throw new PlatformNotSupportedException (); - } - } - - public override bool CanWrite { - get { - throw new PlatformNotSupportedException (); - } - } - - public override Type DeclaringType { - get { - throw new PlatformNotSupportedException (); - } - } - - public override string Name { - get { - throw new PlatformNotSupportedException (); - } - } - - public override Type PropertyType { - get { - throw new PlatformNotSupportedException (); - } - } - - public void AddOtherMethod (MethodBuilder mdBuilder) - { - throw new PlatformNotSupportedException (); - } - - public void SetConstant (object defaultValue) - { - throw new PlatformNotSupportedException (); - } - - public void SetCustomAttribute (CustomAttributeBuilder customBuilder) - { - throw new PlatformNotSupportedException (); - } - - public void SetCustomAttribute (ConstructorInfo con, byte[] binaryAttribute) - { - throw new PlatformNotSupportedException (); - } - - public void SetGetMethod (MethodBuilder mdBuilder) - { - throw new PlatformNotSupportedException (); - } - - public void SetSetMethod (MethodBuilder mdBuilder) - { - throw new PlatformNotSupportedException (); - } - - public override ParameterInfo[] GetIndexParameters () - { - throw new PlatformNotSupportedException (); - } + internal PropertyBuilder() { throw new PlatformNotSupportedException (); } + public override System.Reflection.PropertyAttributes Attributes { get { throw new PlatformNotSupportedException (); } } + public override bool CanRead { get { throw new PlatformNotSupportedException (); } } + public override bool CanWrite { get { throw new PlatformNotSupportedException (); } } + public override System.Type DeclaringType { get { throw new PlatformNotSupportedException (); } } + public override System.Reflection.Module Module { get { throw new PlatformNotSupportedException (); } } + public override string Name { get { throw new PlatformNotSupportedException (); } } + public System.Reflection.Emit.PropertyToken PropertyToken { get { throw new PlatformNotSupportedException (); } } + public override System.Type PropertyType { get { throw new PlatformNotSupportedException (); } } + public override System.Type ReflectedType { get { throw new PlatformNotSupportedException (); } } + public void AddOtherMethod(System.Reflection.Emit.MethodBuilder mdBuilder) { throw new PlatformNotSupportedException (); } + public override System.Reflection.MethodInfo[] GetAccessors(bool nonPublic) { throw new PlatformNotSupportedException (); } + public override object[] GetCustomAttributes(bool inherit) { throw new PlatformNotSupportedException (); } + public override object[] GetCustomAttributes(System.Type attributeType, bool inherit) { throw new PlatformNotSupportedException (); } + public override System.Reflection.MethodInfo GetGetMethod(bool nonPublic) { throw new PlatformNotSupportedException (); } + public override System.Reflection.ParameterInfo[] GetIndexParameters() { throw new PlatformNotSupportedException (); } + public override System.Reflection.MethodInfo GetSetMethod(bool nonPublic) { throw new PlatformNotSupportedException (); } + public override object GetValue(object obj, object[] index) { throw new PlatformNotSupportedException (); } + public override object GetValue(object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object[] index, System.Globalization.CultureInfo culture) { throw new PlatformNotSupportedException (); } + public override bool IsDefined(System.Type attributeType, bool inherit) { throw new PlatformNotSupportedException (); } + public void SetConstant(object defaultValue) { throw new PlatformNotSupportedException (); } + public void SetCustomAttribute(System.Reflection.ConstructorInfo con, byte[] binaryAttribute) { throw new PlatformNotSupportedException (); } + public void SetCustomAttribute(System.Reflection.Emit.CustomAttributeBuilder customBuilder) { throw new PlatformNotSupportedException (); } + public void SetGetMethod(System.Reflection.Emit.MethodBuilder mdBuilder) { throw new PlatformNotSupportedException (); } + public void SetSetMethod(System.Reflection.Emit.MethodBuilder mdBuilder) { throw new PlatformNotSupportedException (); } + public override void SetValue(object obj, object value, object[] index) { throw new PlatformNotSupportedException (); } + public override void SetValue(object obj, object value, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object[] index, System.Globalization.CultureInfo culture) { throw new PlatformNotSupportedException (); } } } diff --git a/mcs/class/corlib/System.Reflection.Emit/SignatureHelper.pns.cs b/mcs/class/corlib/System.Reflection.Emit/SignatureHelper.pns.cs index 537d3423e9..6d13b3a321 100644 --- a/mcs/class/corlib/System.Reflection.Emit/SignatureHelper.pns.cs +++ b/mcs/class/corlib/System.Reflection.Emit/SignatureHelper.pns.cs @@ -28,9 +28,11 @@ #if !MONO_FEATURE_SRE +using System.Runtime.InteropServices; + namespace System.Reflection.Emit { - public class SignatureHelper + public class SignatureHelper : _SignatureHelper { SignatureHelper () { @@ -110,6 +112,24 @@ namespace System.Reflection.Emit { throw new PlatformNotSupportedException (); } + + public static SignatureHelper GetMethodSigHelper (Module mod, CallingConvention unmanagedCallConv, Type returnType) => + throw new PlatformNotSupportedException (); + + public static SignatureHelper GetMethodSigHelper (CallingConvention unmanagedCallingConvention, Type returnType) => + throw new PlatformNotSupportedException (); + + public override bool Equals (object obj) => throw new PlatformNotSupportedException (); + public override int GetHashCode () => throw new PlatformNotSupportedException (); + public override string ToString () => throw new PlatformNotSupportedException (); + + void _SignatureHelper.GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId) => throw new PlatformNotSupportedException (); + + void _SignatureHelper.GetTypeInfo (uint iTInfo, uint lcid, IntPtr ppTInfo) => throw new PlatformNotSupportedException (); + + void _SignatureHelper.GetTypeInfoCount (out uint pcTInfo) => throw new PlatformNotSupportedException (); + + void _SignatureHelper.Invoke (uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr) => throw new PlatformNotSupportedException (); } } diff --git a/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.pns.cs b/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.pns.cs index a0a9ba68a8..3b12b11d56 100644 --- a/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.pns.cs +++ b/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.pns.cs @@ -28,256 +28,122 @@ #if !MONO_FEATURE_SRE +using System.Runtime.InteropServices; + namespace System.Reflection.Emit { - public abstract class TypeBuilder : TypeInfo + public sealed partial class TypeBuilder : System.Reflection.TypeInfo { + internal TypeBuilder() { throw new PlatformNotSupportedException (); } public const int UnspecifiedTypeSize = 0; + public override System.Reflection.Assembly Assembly { get { throw new PlatformNotSupportedException (); } } + public override string AssemblyQualifiedName { get { throw new PlatformNotSupportedException (); } } + public override System.Type BaseType { get { throw new PlatformNotSupportedException (); } } + public override bool ContainsGenericParameters { get { throw new PlatformNotSupportedException (); } } + public override System.Reflection.MethodBase DeclaringMethod { get { throw new PlatformNotSupportedException (); } } + public override System.Type DeclaringType { get { throw new PlatformNotSupportedException (); } } + public override string FullName { get { throw new PlatformNotSupportedException (); } } + public override System.Reflection.GenericParameterAttributes GenericParameterAttributes { get { throw new PlatformNotSupportedException (); } } + public override int GenericParameterPosition { get { throw new PlatformNotSupportedException (); } } + public override System.Guid GUID { get { throw new PlatformNotSupportedException (); } } + public override bool IsConstructedGenericType { get { throw new PlatformNotSupportedException (); } } + public override bool IsGenericParameter { get { throw new PlatformNotSupportedException (); } } + public override bool IsGenericType { get { throw new PlatformNotSupportedException (); } } + public override bool IsGenericTypeDefinition { get { throw new PlatformNotSupportedException (); } } + public override bool IsTypeDefinition { get { throw new PlatformNotSupportedException (); } } + public override System.Reflection.Module Module { get { throw new PlatformNotSupportedException (); } } + public override string Name { get { throw new PlatformNotSupportedException (); } } + public override string Namespace { get { throw new PlatformNotSupportedException (); } } + public System.Reflection.Emit.PackingSize PackingSize { get { throw new PlatformNotSupportedException (); } } + public override System.Type ReflectedType { get { throw new PlatformNotSupportedException (); } } + public int Size { get { throw new PlatformNotSupportedException (); } } + public override System.RuntimeTypeHandle TypeHandle { get { throw new PlatformNotSupportedException (); } } + public System.Reflection.Emit.TypeToken TypeToken { get { throw new PlatformNotSupportedException (); } } + public override System.Type UnderlyingSystemType { get { throw new PlatformNotSupportedException (); } } - public PackingSize PackingSize { - get { - throw new PlatformNotSupportedException (); - } - } - - public int Size { - get { - throw new PlatformNotSupportedException (); - } - } - - public override Assembly Assembly { - get { - throw new PlatformNotSupportedException (); - } - } - - public override string AssemblyQualifiedName { - get { - throw new PlatformNotSupportedException (); - } - } - - public override Type BaseType { - get { - throw new PlatformNotSupportedException (); - } - } - - public override string FullName { - get { - throw new PlatformNotSupportedException (); - } - } - - public override Guid GUID { - get { - throw new PlatformNotSupportedException (); - } - } - - public override Module Module { - get { - throw new PlatformNotSupportedException (); - } - } - - public override string Name { - get { - throw new PlatformNotSupportedException (); - } - } - - public override string Namespace { - get { - throw new PlatformNotSupportedException (); - } - } - - public void AddInterfaceImplementation (Type interfaceType) - { - throw new PlatformNotSupportedException (); - } - - public TypeInfo CreateTypeInfo () - { - throw new PlatformNotSupportedException (); - } - - public ConstructorBuilder DefineConstructor (MethodAttributes attributes, CallingConventions callingConvention, Type[] parameterTypes) - { - throw new PlatformNotSupportedException (); - } - - public ConstructorBuilder DefineConstructor (MethodAttributes attributes, CallingConventions callingConvention, Type[] parameterTypes, Type[][] requiredCustomModifiers, Type[][] optionalCustomModifiers) - { - throw new PlatformNotSupportedException (); - } - - public ConstructorBuilder DefineDefaultConstructor (MethodAttributes attributes) - { - throw new PlatformNotSupportedException (); - } - - public EventBuilder DefineEvent (string name, EventAttributes attributes, Type eventtype) - { - throw new PlatformNotSupportedException (); - } - - public FieldBuilder DefineField (string fieldName, Type type, FieldAttributes attributes) - { - throw new PlatformNotSupportedException (); - } - - public FieldBuilder DefineField (string fieldName, Type type, Type[] requiredCustomModifiers, Type[] optionalCustomModifiers, FieldAttributes attributes) - { - throw new PlatformNotSupportedException (); - } - - public GenericTypeParameterBuilder[] DefineGenericParameters (string[] names) - { - throw new PlatformNotSupportedException (); - } - - public FieldBuilder DefineInitializedData (string name, byte[] data, FieldAttributes attributes) - { - throw new PlatformNotSupportedException (); - } - - public MethodBuilder DefineMethod (string name, MethodAttributes attributes) - { - throw new PlatformNotSupportedException (); - } - - public MethodBuilder DefineMethod (string name, MethodAttributes attributes, CallingConventions callingConvention) - { - throw new PlatformNotSupportedException (); - } - - public MethodBuilder DefineMethod (string name, MethodAttributes attributes, Type returnType, Type[] parameterTypes) - { - throw new PlatformNotSupportedException (); - } - - public MethodBuilder DefineMethod (string name, MethodAttributes attributes, CallingConventions callingConvention, Type returnType, Type[] parameterTypes) - { - throw new PlatformNotSupportedException (); - } - - public MethodBuilder DefineMethod (string name, MethodAttributes attributes, CallingConventions callingConvention, Type returnType, Type[] returnTypeRequiredCustomModifiers, Type[] returnTypeOptionalCustomModifiers, Type[] parameterTypes, Type[][] parameterTypeRequiredCustomModifiers, Type[][] parameterTypeOptionalCustomModifiers) - { - throw new PlatformNotSupportedException (); - } - - public void DefineMethodOverride (MethodInfo methodInfoBody, MethodInfo methodInfoDeclaration) - { - throw new PlatformNotSupportedException (); - } - - public TypeBuilder DefineNestedType (string name) - { - throw new PlatformNotSupportedException (); - } - - public TypeBuilder DefineNestedType (string name, TypeAttributes attr) - { - throw new PlatformNotSupportedException (); - } - - public TypeBuilder DefineNestedType (string name, TypeAttributes attr, Type parent) - { - throw new PlatformNotSupportedException (); - } - - public TypeBuilder DefineNestedType (string name, TypeAttributes attr, Type parent, int typeSize) - { - throw new PlatformNotSupportedException (); - } - - public TypeBuilder DefineNestedType (string name, TypeAttributes attr, Type parent, PackingSize packSize) - { - throw new PlatformNotSupportedException (); - } - - public TypeBuilder DefineNestedType (string name, TypeAttributes attr, Type parent, Type[] interfaces) - { - throw new PlatformNotSupportedException (); - } - - public TypeBuilder DefineNestedType (string name, TypeAttributes attr, Type parent, PackingSize packSize, int typeSize) - { - throw new PlatformNotSupportedException (); - } - - public PropertyBuilder DefineProperty (string name, PropertyAttributes attributes, Type returnType, Type[] parameterTypes) - { - throw new PlatformNotSupportedException (); - } - - public PropertyBuilder DefineProperty (string name, PropertyAttributes attributes, CallingConventions callingConvention, Type returnType, Type[] parameterTypes) - { - throw new PlatformNotSupportedException (); - } - - public PropertyBuilder DefineProperty (string name, PropertyAttributes attributes, Type returnType, Type[] returnTypeRequiredCustomModifiers, Type[] returnTypeOptionalCustomModifiers, Type[] parameterTypes, Type[][] parameterTypeRequiredCustomModifiers, Type[][] parameterTypeOptionalCustomModifiers) - { - throw new PlatformNotSupportedException (); - } - - public PropertyBuilder DefineProperty (string name, PropertyAttributes attributes, CallingConventions callingConvention, Type returnType, Type[] returnTypeRequiredCustomModifiers, Type[] returnTypeOptionalCustomModifiers, Type[] parameterTypes, Type[][] parameterTypeRequiredCustomModifiers, Type[][] parameterTypeOptionalCustomModifiers) - { - throw new PlatformNotSupportedException (); - } - - public ConstructorBuilder DefineTypeInitializer () - { - throw new PlatformNotSupportedException (); - } - - public FieldBuilder DefineUninitializedData (string name, int size, FieldAttributes attributes) - { - throw new PlatformNotSupportedException (); - } - - public static ConstructorInfo GetConstructor (Type type, ConstructorInfo constructor) - { - throw new PlatformNotSupportedException (); - } - - public static FieldInfo GetField (Type type, FieldInfo field) - { - throw new PlatformNotSupportedException (); - } - - public static MethodInfo GetMethod (Type type, MethodInfo method) - { - throw new PlatformNotSupportedException (); - } - - public bool IsCreated () - { - throw new PlatformNotSupportedException (); - } - - public void SetCustomAttribute (CustomAttributeBuilder customBuilder) - { - throw new PlatformNotSupportedException (); - } - - public void SetCustomAttribute (ConstructorInfo con, byte[] binaryAttribute) - { - throw new PlatformNotSupportedException (); - } - - public void SetParent (Type parent) - { - throw new PlatformNotSupportedException (); - } - - public override Type GetElementType () - { - throw new PlatformNotSupportedException (); - } + public void AddDeclarativeSecurity (System.Security.Permissions.SecurityAction action, System.Security.PermissionSet pset) { throw new PlatformNotSupportedException (); } + public void AddInterfaceImplementation(System.Type interfaceType) { throw new PlatformNotSupportedException (); } + public System.Type CreateType() { throw new PlatformNotSupportedException (); } + public System.Reflection.TypeInfo CreateTypeInfo() { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.ConstructorBuilder DefineConstructor(System.Reflection.MethodAttributes attributes, System.Reflection.CallingConventions callingConvention, System.Type[] parameterTypes) { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.ConstructorBuilder DefineConstructor(System.Reflection.MethodAttributes attributes, System.Reflection.CallingConventions callingConvention, System.Type[] parameterTypes, System.Type[][] requiredCustomModifiers, System.Type[][] optionalCustomModifiers) { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.ConstructorBuilder DefineDefaultConstructor(System.Reflection.MethodAttributes attributes) { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.EventBuilder DefineEvent(string name, System.Reflection.EventAttributes attributes, System.Type eventtype) { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.FieldBuilder DefineField(string fieldName, System.Type type, System.Reflection.FieldAttributes attributes) { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.FieldBuilder DefineField(string fieldName, System.Type type, System.Type[] requiredCustomModifiers, System.Type[] optionalCustomModifiers, System.Reflection.FieldAttributes attributes) { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.GenericTypeParameterBuilder[] DefineGenericParameters(params string[] names) { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.FieldBuilder DefineInitializedData(string name, byte[] data, System.Reflection.FieldAttributes attributes) { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.MethodBuilder DefineMethod(string name, System.Reflection.MethodAttributes attributes) { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.MethodBuilder DefineMethod(string name, System.Reflection.MethodAttributes attributes, System.Reflection.CallingConventions callingConvention) { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.MethodBuilder DefineMethod(string name, System.Reflection.MethodAttributes attributes, System.Reflection.CallingConventions callingConvention, System.Type returnType, System.Type[] parameterTypes) { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.MethodBuilder DefineMethod(string name, System.Reflection.MethodAttributes attributes, System.Reflection.CallingConventions callingConvention, System.Type returnType, System.Type[] returnTypeRequiredCustomModifiers, System.Type[] returnTypeOptionalCustomModifiers, System.Type[] parameterTypes, System.Type[][] parameterTypeRequiredCustomModifiers, System.Type[][] parameterTypeOptionalCustomModifiers) { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.MethodBuilder DefineMethod(string name, System.Reflection.MethodAttributes attributes, System.Type returnType, System.Type[] parameterTypes) { throw new PlatformNotSupportedException (); } + public void DefineMethodOverride(System.Reflection.MethodInfo methodInfoBody, System.Reflection.MethodInfo methodInfoDeclaration) { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.TypeBuilder DefineNestedType(string name) { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.TypeBuilder DefineNestedType(string name, System.Reflection.TypeAttributes attr) { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.TypeBuilder DefineNestedType(string name, System.Reflection.TypeAttributes attr, System.Type parent) { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.TypeBuilder DefineNestedType(string name, System.Reflection.TypeAttributes attr, System.Type parent, int typeSize) { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.TypeBuilder DefineNestedType(string name, System.Reflection.TypeAttributes attr, System.Type parent, System.Reflection.Emit.PackingSize packSize) { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.TypeBuilder DefineNestedType(string name, System.Reflection.TypeAttributes attr, System.Type parent, System.Reflection.Emit.PackingSize packSize, int typeSize) { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.TypeBuilder DefineNestedType(string name, System.Reflection.TypeAttributes attr, System.Type parent, System.Type[] interfaces) { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.MethodBuilder DefinePInvokeMethod(string name, string dllName, System.Reflection.MethodAttributes attributes, System.Reflection.CallingConventions callingConvention, System.Type returnType, System.Type[] parameterTypes, System.Runtime.InteropServices.CallingConvention nativeCallConv, System.Runtime.InteropServices.CharSet nativeCharSet) { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.MethodBuilder DefinePInvokeMethod(string name, string dllName, string entryName, System.Reflection.MethodAttributes attributes, System.Reflection.CallingConventions callingConvention, System.Type returnType, System.Type[] parameterTypes, System.Runtime.InteropServices.CallingConvention nativeCallConv, System.Runtime.InteropServices.CharSet nativeCharSet) { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.MethodBuilder DefinePInvokeMethod(string name, string dllName, string entryName, System.Reflection.MethodAttributes attributes, System.Reflection.CallingConventions callingConvention, System.Type returnType, System.Type[] returnTypeRequiredCustomModifiers, System.Type[] returnTypeOptionalCustomModifiers, System.Type[] parameterTypes, System.Type[][] parameterTypeRequiredCustomModifiers, System.Type[][] parameterTypeOptionalCustomModifiers, System.Runtime.InteropServices.CallingConvention nativeCallConv, System.Runtime.InteropServices.CharSet nativeCharSet) { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.PropertyBuilder DefineProperty(string name, System.Reflection.PropertyAttributes attributes, System.Reflection.CallingConventions callingConvention, System.Type returnType, System.Type[] parameterTypes) { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.PropertyBuilder DefineProperty(string name, System.Reflection.PropertyAttributes attributes, System.Reflection.CallingConventions callingConvention, System.Type returnType, System.Type[] returnTypeRequiredCustomModifiers, System.Type[] returnTypeOptionalCustomModifiers, System.Type[] parameterTypes, System.Type[][] parameterTypeRequiredCustomModifiers, System.Type[][] parameterTypeOptionalCustomModifiers) { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.PropertyBuilder DefineProperty(string name, System.Reflection.PropertyAttributes attributes, System.Type returnType, System.Type[] parameterTypes) { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.PropertyBuilder DefineProperty(string name, System.Reflection.PropertyAttributes attributes, System.Type returnType, System.Type[] returnTypeRequiredCustomModifiers, System.Type[] returnTypeOptionalCustomModifiers, System.Type[] parameterTypes, System.Type[][] parameterTypeRequiredCustomModifiers, System.Type[][] parameterTypeOptionalCustomModifiers) { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.ConstructorBuilder DefineTypeInitializer() { throw new PlatformNotSupportedException (); } + public System.Reflection.Emit.FieldBuilder DefineUninitializedData(string name, int size, System.Reflection.FieldAttributes attributes) { throw new PlatformNotSupportedException (); } + protected override System.Reflection.TypeAttributes GetAttributeFlagsImpl() { throw new PlatformNotSupportedException (); } + public static System.Reflection.ConstructorInfo GetConstructor(System.Type type, System.Reflection.ConstructorInfo constructor) { throw new PlatformNotSupportedException (); } + protected override System.Reflection.ConstructorInfo GetConstructorImpl(System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) { throw new PlatformNotSupportedException (); } + public override System.Reflection.ConstructorInfo[] GetConstructors(System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + public override object[] GetCustomAttributes(bool inherit) { throw new PlatformNotSupportedException (); } + public override object[] GetCustomAttributes(System.Type attributeType, bool inherit) { throw new PlatformNotSupportedException (); } + public override System.Type GetElementType() { throw new PlatformNotSupportedException (); } + public override System.Reflection.EventInfo GetEvent(string name, System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + public override System.Reflection.EventInfo[] GetEvents() { throw new PlatformNotSupportedException (); } + public override System.Reflection.EventInfo[] GetEvents(System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + public override System.Reflection.FieldInfo GetField(string name, System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + public static System.Reflection.FieldInfo GetField(System.Type type, System.Reflection.FieldInfo field) { throw new PlatformNotSupportedException (); } + public override System.Reflection.FieldInfo[] GetFields(System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + public override System.Type[] GetGenericArguments() { throw new PlatformNotSupportedException (); } + public override System.Type GetGenericTypeDefinition() { throw new PlatformNotSupportedException (); } + public override System.Type GetInterface(string name, bool ignoreCase) { throw new PlatformNotSupportedException (); } + public override System.Reflection.InterfaceMapping GetInterfaceMap(System.Type interfaceType) { throw new PlatformNotSupportedException (); } + public override System.Type[] GetInterfaces() { throw new PlatformNotSupportedException (); } + public override System.Reflection.MemberInfo[] GetMember(string name, System.Reflection.MemberTypes type, System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + public override System.Reflection.MemberInfo[] GetMembers(System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + public static System.Reflection.MethodInfo GetMethod(System.Type type, System.Reflection.MethodInfo method) { throw new PlatformNotSupportedException (); } + protected override System.Reflection.MethodInfo GetMethodImpl(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) { throw new PlatformNotSupportedException (); } + public override System.Reflection.MethodInfo[] GetMethods(System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + public override System.Type GetNestedType(string name, System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + public override System.Type[] GetNestedTypes(System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + public override System.Reflection.PropertyInfo[] GetProperties(System.Reflection.BindingFlags bindingAttr) { throw new PlatformNotSupportedException (); } + protected override System.Reflection.PropertyInfo GetPropertyImpl(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Type returnType, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) { throw new PlatformNotSupportedException (); } + protected override bool HasElementTypeImpl() { throw new PlatformNotSupportedException (); } + public override object InvokeMember(string name, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object target, object[] args, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, string[] namedParameters) { throw new PlatformNotSupportedException (); } + protected override bool IsArrayImpl() { throw new PlatformNotSupportedException (); } + public override bool IsAssignableFrom (System.Type c) { throw new PlatformNotSupportedException (); } + public override bool IsAssignableFrom (TypeInfo typeInfo) { throw new PlatformNotSupportedException (); } + protected override bool IsByRefImpl() { throw new PlatformNotSupportedException (); } + protected override bool IsCOMObjectImpl() { throw new PlatformNotSupportedException (); } + public bool IsCreated() { throw new PlatformNotSupportedException (); } + public override bool IsDefined(System.Type attributeType, bool inherit) { throw new PlatformNotSupportedException (); } + protected override bool IsPointerImpl() { throw new PlatformNotSupportedException (); } + protected override bool IsPrimitiveImpl() { throw new PlatformNotSupportedException (); } + public override bool IsSubclassOf(System.Type c) { throw new PlatformNotSupportedException (); } + protected override bool IsValueTypeImpl () { throw new PlatformNotSupportedException (); } + public override System.Type MakeArrayType() { throw new PlatformNotSupportedException (); } + public override System.Type MakeArrayType(int rank) { throw new PlatformNotSupportedException (); } + public override System.Type MakeByRefType() { throw new PlatformNotSupportedException (); } + public override System.Type MakeGenericType(params System.Type[] typeArguments) { throw new PlatformNotSupportedException (); } + public override System.Type MakePointerType() { throw new PlatformNotSupportedException (); } + public void SetCustomAttribute(System.Reflection.ConstructorInfo con, byte[] binaryAttribute) { throw new PlatformNotSupportedException (); } + public void SetCustomAttribute(System.Reflection.Emit.CustomAttributeBuilder customBuilder) { throw new PlatformNotSupportedException (); } + public void SetParent(System.Type parent) { throw new PlatformNotSupportedException (); } + public override string ToString() { throw new PlatformNotSupportedException (); } } } diff --git a/mcs/class/corlib/System.Reflection.Emit/UnmanagedMarshal.pns.cs b/mcs/class/corlib/System.Reflection.Emit/UnmanagedMarshal.pns.cs new file mode 100644 index 0000000000..02aa5e40a8 --- /dev/null +++ b/mcs/class/corlib/System.Reflection.Emit/UnmanagedMarshal.pns.cs @@ -0,0 +1,26 @@ +#if !MONO_FEATURE_SRE +using System.Runtime.InteropServices; + +namespace System.Reflection.Emit { + + [Obsolete ("An alternate API is available: Emit the MarshalAs custom attribute instead.")] + [ComVisible (true)] + [Serializable] + [StructLayout (LayoutKind.Sequential)] + public sealed class UnmanagedMarshal { + + private UnmanagedMarshal () {} + + public UnmanagedType BaseType { get { throw new PlatformNotSupportedException (); } } + public int ElementCount { get { throw new PlatformNotSupportedException (); } } + public UnmanagedType GetUnmanagedType { get { throw new PlatformNotSupportedException (); } } + public System.Guid IIDGuid { get { throw new PlatformNotSupportedException (); } } + + public static UnmanagedMarshal DefineByValArray (int elemCount) => throw new PlatformNotSupportedException (); + public static UnmanagedMarshal DefineByValTStr (int elemCount) => throw new PlatformNotSupportedException (); + public static UnmanagedMarshal DefineLPArray (UnmanagedType elemType) => throw new PlatformNotSupportedException (); + public static UnmanagedMarshal DefineUnmanagedMarshal (UnmanagedType unmanagedType) => throw new PlatformNotSupportedException (); + } +} + +#endif \ No newline at end of file diff --git a/mcs/class/corlib/System.Runtime.InteropServices/ITypeLibConverter.cs b/mcs/class/corlib/System.Runtime.InteropServices/ITypeLibConverter.cs index 1e335ba7c1..332d850ff7 100644 --- a/mcs/class/corlib/System.Runtime.InteropServices/ITypeLibConverter.cs +++ b/mcs/class/corlib/System.Runtime.InteropServices/ITypeLibConverter.cs @@ -30,7 +30,7 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if !FULL_AOT_RUNTIME +#if !FULL_AOT_RUNTIME && !MONOTOUCH using System.Reflection; using System.Reflection.Emit; diff --git a/mcs/class/corlib/System.Runtime.InteropServices/ITypeLibExporterNameProvider.cs b/mcs/class/corlib/System.Runtime.InteropServices/ITypeLibExporterNameProvider.cs index 8dc67cd262..00f1edf37e 100644 --- a/mcs/class/corlib/System.Runtime.InteropServices/ITypeLibExporterNameProvider.cs +++ b/mcs/class/corlib/System.Runtime.InteropServices/ITypeLibExporterNameProvider.cs @@ -30,7 +30,7 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if !FULL_AOT_RUNTIME +#if !FULL_AOT_RUNTIME && !MONOTOUCH namespace System.Runtime.InteropServices { [ComVisible (true)] diff --git a/mcs/class/corlib/System.Runtime.InteropServices/ITypeLibExporterNotifySink.cs b/mcs/class/corlib/System.Runtime.InteropServices/ITypeLibExporterNotifySink.cs index b8ee0fedf1..cef56dc0d4 100644 --- a/mcs/class/corlib/System.Runtime.InteropServices/ITypeLibExporterNotifySink.cs +++ b/mcs/class/corlib/System.Runtime.InteropServices/ITypeLibExporterNotifySink.cs @@ -30,7 +30,7 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if !FULL_AOT_RUNTIME +#if !FULL_AOT_RUNTIME && !MONOTOUCH using System.Reflection; namespace System.Runtime.InteropServices { diff --git a/mcs/class/corlib/System.Runtime.InteropServices/ITypeLibImporterNotifySink.cs b/mcs/class/corlib/System.Runtime.InteropServices/ITypeLibImporterNotifySink.cs index a51817b732..1057d3b8a4 100644 --- a/mcs/class/corlib/System.Runtime.InteropServices/ITypeLibImporterNotifySink.cs +++ b/mcs/class/corlib/System.Runtime.InteropServices/ITypeLibImporterNotifySink.cs @@ -30,7 +30,7 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if !FULL_AOT_RUNTIME +#if !FULL_AOT_RUNTIME && !MONOTOUCH using System.Reflection; namespace System.Runtime.InteropServices { diff --git a/mcs/class/corlib/System.Runtime.InteropServices/Marshal.cs b/mcs/class/corlib/System.Runtime.InteropServices/Marshal.cs index a97ac59b84..294a879b76 100644 --- a/mcs/class/corlib/System.Runtime.InteropServices/Marshal.cs +++ b/mcs/class/corlib/System.Runtime.InteropServices/Marshal.cs @@ -391,7 +391,7 @@ namespace System.Runtime.InteropServices FreeHGlobal (s); } -#if !FULL_AOT_RUNTIME +#if !FULL_AOT_RUNTIME && !MONOTOUCH public static Guid GenerateGuidForType (Type type) { return type.GUID; @@ -438,7 +438,7 @@ namespace System.Runtime.InteropServices return GetCCW (o, T); } #endif -#endif // !FULL_AOT_RUNTIME +#endif // !FULL_AOT_RUNTIME && !MONOTOUCH public static IntPtr GetComInterfaceForObject (object o, Type T) { @@ -463,7 +463,7 @@ namespace System.Runtime.InteropServices return GetComInterfaceForObject ((object)o, typeof (T)); } -#if !FULL_AOT_RUNTIME && !NETCORE +#if !FULL_AOT_RUNTIME && !NETCORE && !MONOTOUCH public static IntPtr GetComInterfaceForObjectInContext (object o, Type t) { @@ -545,7 +545,7 @@ namespace System.Runtime.InteropServices #endif } -#if !FULL_AOT_RUNTIME +#if !FULL_AOT_RUNTIME && !MONOTOUCH [MethodImplAttribute (MethodImplOptions.InternalCall)] private extern static IntPtr GetIDispatchForObjectInternal (object o); @@ -595,7 +595,7 @@ namespace System.Runtime.InteropServices public static IntPtr GetIUnknownForObject (object o) { -#if FULL_AOT_RUNTIME +#if FULL_AOT_RUNTIME || MONOTOUCH throw new PlatformNotSupportedException (); #else IntPtr pUnk = GetIUnknownForObjectInternal (o); @@ -700,7 +700,7 @@ namespace System.Runtime.InteropServices #endif } -#if !FULL_AOT_RUNTIME +#if !FULL_AOT_RUNTIME && !MONOTOUCH #if !NETCORE @@ -1123,7 +1123,7 @@ namespace System.Runtime.InteropServices #endif } -#if !FULL_AOT_RUNTIME +#if !FULL_AOT_RUNTIME && !MONOTOUCH [Obsolete] public static void ReleaseThreadCache() diff --git a/mcs/class/corlib/System.Runtime.InteropServices/TypeLibConverter.cs b/mcs/class/corlib/System.Runtime.InteropServices/TypeLibConverter.cs index 9cd6736cf8..49f51ab554 100644 --- a/mcs/class/corlib/System.Runtime.InteropServices/TypeLibConverter.cs +++ b/mcs/class/corlib/System.Runtime.InteropServices/TypeLibConverter.cs @@ -28,7 +28,7 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if !FULL_AOT_RUNTIME +#if !FULL_AOT_RUNTIME && !MONOTOUCH using System; using System.Reflection; using System.Reflection.Emit; diff --git a/mcs/class/corlib/System.Runtime.InteropServices/TypeLibExporterFlags.cs b/mcs/class/corlib/System.Runtime.InteropServices/TypeLibExporterFlags.cs index 957e6892f2..916c702c41 100644 --- a/mcs/class/corlib/System.Runtime.InteropServices/TypeLibExporterFlags.cs +++ b/mcs/class/corlib/System.Runtime.InteropServices/TypeLibExporterFlags.cs @@ -30,7 +30,7 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if !FULL_AOT_RUNTIME +#if !FULL_AOT_RUNTIME && !MONOTOUCH namespace System.Runtime.InteropServices { [ComVisible(true)] diff --git a/mcs/class/corlib/System.Runtime.InteropServices/TypeLibImporterFlags.cs b/mcs/class/corlib/System.Runtime.InteropServices/TypeLibImporterFlags.cs index 7c5d62aae8..1f72d74f0b 100644 --- a/mcs/class/corlib/System.Runtime.InteropServices/TypeLibImporterFlags.cs +++ b/mcs/class/corlib/System.Runtime.InteropServices/TypeLibImporterFlags.cs @@ -28,7 +28,7 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if !FULL_AOT_RUNTIME +#if !FULL_AOT_RUNTIME && !MONOTOUCH using System; namespace System.Runtime.InteropServices diff --git a/mcs/class/corlib/System.Runtime.InteropServices/UCOMITypeComp.cs b/mcs/class/corlib/System.Runtime.InteropServices/UCOMITypeComp.cs index 12af145c4c..d93128d152 100644 --- a/mcs/class/corlib/System.Runtime.InteropServices/UCOMITypeComp.cs +++ b/mcs/class/corlib/System.Runtime.InteropServices/UCOMITypeComp.cs @@ -28,7 +28,7 @@ // // (C) 2002 Ximian, Inc. -#if !FULL_AOT_RUNTIME +#if !FULL_AOT_RUNTIME && !MONOTOUCH namespace System.Runtime.InteropServices { [Obsolete] diff --git a/mcs/class/corlib/System.Runtime.InteropServices/UCOMITypeLib.cs b/mcs/class/corlib/System.Runtime.InteropServices/UCOMITypeLib.cs index 2b9c1ccdc0..a3243c316e 100644 --- a/mcs/class/corlib/System.Runtime.InteropServices/UCOMITypeLib.cs +++ b/mcs/class/corlib/System.Runtime.InteropServices/UCOMITypeLib.cs @@ -28,7 +28,7 @@ // // (C) 2002 Ximian, Inc. -#if !FULL_AOT_RUNTIME +#if !FULL_AOT_RUNTIME && !MONOTOUCH namespace System.Runtime.InteropServices { [Obsolete] diff --git a/mcs/class/corlib/System.Runtime.InteropServices/_AssemblyBuilder.cs b/mcs/class/corlib/System.Runtime.InteropServices/_AssemblyBuilder.cs index b86aae8483..4861f12235 100644 --- a/mcs/class/corlib/System.Runtime.InteropServices/_AssemblyBuilder.cs +++ b/mcs/class/corlib/System.Runtime.InteropServices/_AssemblyBuilder.cs @@ -27,7 +27,7 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if !FULL_AOT_RUNTIME +#if !FULL_AOT_RUNTIME && !MONOTOUCH using System.Reflection.Emit; namespace System.Runtime.InteropServices { diff --git a/mcs/class/corlib/System.Runtime.InteropServices/_ConstructorBuilder.cs b/mcs/class/corlib/System.Runtime.InteropServices/_ConstructorBuilder.cs index 9693bfb764..ddb67b7649 100644 --- a/mcs/class/corlib/System.Runtime.InteropServices/_ConstructorBuilder.cs +++ b/mcs/class/corlib/System.Runtime.InteropServices/_ConstructorBuilder.cs @@ -27,7 +27,7 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if !FULL_AOT_RUNTIME +#if !FULL_AOT_RUNTIME && !MONOTOUCH using System.Reflection.Emit; namespace System.Runtime.InteropServices { diff --git a/mcs/class/corlib/System.Runtime.InteropServices/_CustomAttributeBuilder.cs b/mcs/class/corlib/System.Runtime.InteropServices/_CustomAttributeBuilder.cs index 412d7bb5b1..b515784600 100644 --- a/mcs/class/corlib/System.Runtime.InteropServices/_CustomAttributeBuilder.cs +++ b/mcs/class/corlib/System.Runtime.InteropServices/_CustomAttributeBuilder.cs @@ -27,7 +27,7 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if !FULL_AOT_RUNTIME +#if !FULL_AOT_RUNTIME && !MONOTOUCH using System.Reflection.Emit; namespace System.Runtime.InteropServices { diff --git a/mcs/class/corlib/System.Runtime.InteropServices/_EnumBuilder.cs b/mcs/class/corlib/System.Runtime.InteropServices/_EnumBuilder.cs index 139ede6c6c..7029bd74b5 100644 --- a/mcs/class/corlib/System.Runtime.InteropServices/_EnumBuilder.cs +++ b/mcs/class/corlib/System.Runtime.InteropServices/_EnumBuilder.cs @@ -27,7 +27,7 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if !FULL_AOT_RUNTIME +#if !FULL_AOT_RUNTIME && !MONOTOUCH using System.Reflection.Emit; namespace System.Runtime.InteropServices { diff --git a/mcs/class/corlib/System.Runtime.InteropServices/_EventBuilder.cs b/mcs/class/corlib/System.Runtime.InteropServices/_EventBuilder.cs index f3450bff76..5cc8fe2fba 100644 --- a/mcs/class/corlib/System.Runtime.InteropServices/_EventBuilder.cs +++ b/mcs/class/corlib/System.Runtime.InteropServices/_EventBuilder.cs @@ -27,7 +27,7 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if !FULL_AOT_RUNTIME +#if !FULL_AOT_RUNTIME && !MONOTOUCH using System.Reflection.Emit; namespace System.Runtime.InteropServices { diff --git a/mcs/class/corlib/System.Runtime.InteropServices/_FieldBuilder.cs b/mcs/class/corlib/System.Runtime.InteropServices/_FieldBuilder.cs index c29f412456..a5959e8d2b 100644 --- a/mcs/class/corlib/System.Runtime.InteropServices/_FieldBuilder.cs +++ b/mcs/class/corlib/System.Runtime.InteropServices/_FieldBuilder.cs @@ -27,7 +27,7 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if !FULL_AOT_RUNTIME +#if !FULL_AOT_RUNTIME && !MONOTOUCH using System.Reflection.Emit; namespace System.Runtime.InteropServices { diff --git a/mcs/class/corlib/System.Runtime.InteropServices/_ILGenerator.cs b/mcs/class/corlib/System.Runtime.InteropServices/_ILGenerator.cs index 66ae8ce32f..74aab984b1 100644 --- a/mcs/class/corlib/System.Runtime.InteropServices/_ILGenerator.cs +++ b/mcs/class/corlib/System.Runtime.InteropServices/_ILGenerator.cs @@ -27,7 +27,7 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if !FULL_AOT_RUNTIME +#if !FULL_AOT_RUNTIME && !MONOTOUCH using System.Reflection.Emit; namespace System.Runtime.InteropServices { diff --git a/mcs/class/corlib/System.Runtime.InteropServices/_LocalBuilder.cs b/mcs/class/corlib/System.Runtime.InteropServices/_LocalBuilder.cs index 7d6683b498..6840f5314c 100644 --- a/mcs/class/corlib/System.Runtime.InteropServices/_LocalBuilder.cs +++ b/mcs/class/corlib/System.Runtime.InteropServices/_LocalBuilder.cs @@ -27,7 +27,7 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if !FULL_AOT_RUNTIME +#if !FULL_AOT_RUNTIME && !MONOTOUCH using System.Reflection.Emit; namespace System.Runtime.InteropServices { diff --git a/mcs/class/corlib/System.Runtime.InteropServices/_MethodBuilder.cs b/mcs/class/corlib/System.Runtime.InteropServices/_MethodBuilder.cs index 62abe9048b..0ad62a929e 100644 --- a/mcs/class/corlib/System.Runtime.InteropServices/_MethodBuilder.cs +++ b/mcs/class/corlib/System.Runtime.InteropServices/_MethodBuilder.cs @@ -27,7 +27,7 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if !FULL_AOT_RUNTIME +#if !FULL_AOT_RUNTIME && !MONOTOUCH using System.Reflection.Emit; namespace System.Runtime.InteropServices { diff --git a/mcs/class/corlib/System.Runtime.InteropServices/_ModuleBuilder.cs b/mcs/class/corlib/System.Runtime.InteropServices/_ModuleBuilder.cs index 9e6fbe973f..f2da709ca9 100644 --- a/mcs/class/corlib/System.Runtime.InteropServices/_ModuleBuilder.cs +++ b/mcs/class/corlib/System.Runtime.InteropServices/_ModuleBuilder.cs @@ -27,7 +27,7 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if !FULL_AOT_RUNTIME +#if !FULL_AOT_RUNTIME && !MONOTOUCH using System.Reflection.Emit; namespace System.Runtime.InteropServices { diff --git a/mcs/class/corlib/System.Runtime.InteropServices/_ParameterBuilder.cs b/mcs/class/corlib/System.Runtime.InteropServices/_ParameterBuilder.cs index c574f3b0f6..c4c33649e1 100644 --- a/mcs/class/corlib/System.Runtime.InteropServices/_ParameterBuilder.cs +++ b/mcs/class/corlib/System.Runtime.InteropServices/_ParameterBuilder.cs @@ -27,7 +27,7 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if !FULL_AOT_RUNTIME +#if !FULL_AOT_RUNTIME && !MONOTOUCH using System.Reflection.Emit; namespace System.Runtime.InteropServices { diff --git a/mcs/class/corlib/System.Runtime.InteropServices/_PropertyBuilder.cs b/mcs/class/corlib/System.Runtime.InteropServices/_PropertyBuilder.cs index 0d45f6e330..15491430be 100644 --- a/mcs/class/corlib/System.Runtime.InteropServices/_PropertyBuilder.cs +++ b/mcs/class/corlib/System.Runtime.InteropServices/_PropertyBuilder.cs @@ -27,7 +27,7 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if !FULL_AOT_RUNTIME +#if !FULL_AOT_RUNTIME && !MONOTOUCH using System.Reflection.Emit; namespace System.Runtime.InteropServices { diff --git a/mcs/class/corlib/System.Runtime.InteropServices/_TypeBuilder.cs b/mcs/class/corlib/System.Runtime.InteropServices/_TypeBuilder.cs index b92f0b40ba..edea8f0ff8 100644 --- a/mcs/class/corlib/System.Runtime.InteropServices/_TypeBuilder.cs +++ b/mcs/class/corlib/System.Runtime.InteropServices/_TypeBuilder.cs @@ -27,7 +27,7 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -#if !FULL_AOT_RUNTIME +#if !FULL_AOT_RUNTIME && !MONOTOUCH using System.Reflection.Emit; namespace System.Runtime.InteropServices { diff --git a/mcs/class/corlib/System/AppDomain.pns.cs b/mcs/class/corlib/System/AppDomain.pns.cs new file mode 100644 index 0000000000..13fbacb1af --- /dev/null +++ b/mcs/class/corlib/System/AppDomain.pns.cs @@ -0,0 +1,90 @@ +using System; +using System.Collections.Generic; +using System.Reflection; +using System.Reflection.Emit; +using System.Security; +using System.Security.Policy; + +#if !MONO_FEATURE_SRE + +namespace System { + + public partial class AppDomain { + + public AssemblyBuilder DefineDynamicAssembly (AssemblyName name, AssemblyBuilderAccess access) + { + throw new PlatformNotSupportedException (); + } + + public AssemblyBuilder DefineDynamicAssembly (AssemblyName name, AssemblyBuilderAccess access, IEnumerable assemblyAttributes) + { + throw new PlatformNotSupportedException (); + } + + + [Obsolete ("Declarative security for assembly level is no longer enforced")] + public AssemblyBuilder DefineDynamicAssembly (AssemblyName name, AssemblyBuilderAccess access, Evidence evidence) + { + throw new PlatformNotSupportedException (); + } + + public AssemblyBuilder DefineDynamicAssembly (AssemblyName name, AssemblyBuilderAccess access, string dir) + { + throw new PlatformNotSupportedException (); + } + + public AssemblyBuilder DefineDynamicAssembly (AssemblyName name, AssemblyBuilderAccess access, IEnumerable assemblyAttributes, SecurityContextSource securityContextSource) + { + throw new PlatformNotSupportedException (); + } + + [Obsolete ("Declarative security for assembly level is no longer enforced")] + public AssemblyBuilder DefineDynamicAssembly (AssemblyName name, AssemblyBuilderAccess access, string dir, Evidence evidence) + { + throw new PlatformNotSupportedException (); + } + + [Obsolete ("Declarative security for assembly level is no longer enforced")] + public AssemblyBuilder DefineDynamicAssembly (AssemblyName name, AssemblyBuilderAccess access, PermissionSet requiredPermissions, PermissionSet optionalPermissions, PermissionSet refusedPermissions) + { + throw new PlatformNotSupportedException (); + } + + public AssemblyBuilder DefineDynamicAssembly (AssemblyName name, AssemblyBuilderAccess access, string dir, bool isSynchronized, IEnumerable assemblyAttributes) + { + throw new PlatformNotSupportedException (); + } + + [Obsolete ("Declarative security for assembly level is no longer enforced")] + public AssemblyBuilder DefineDynamicAssembly (AssemblyName name, AssemblyBuilderAccess access, Evidence evidence, PermissionSet requiredPermissions, PermissionSet optionalPermissions, PermissionSet refusedPermissions) + { + throw new PlatformNotSupportedException (); + } + + [Obsolete ("Declarative security for assembly level is no longer enforced")] + public AssemblyBuilder DefineDynamicAssembly (AssemblyName name, AssemblyBuilderAccess access, string dir, PermissionSet requiredPermissions, PermissionSet optionalPermissions, PermissionSet refusedPermissions) + { + throw new PlatformNotSupportedException (); + } + + [Obsolete ("Declarative security for assembly level is no longer enforced")] + public AssemblyBuilder DefineDynamicAssembly (AssemblyName name, AssemblyBuilderAccess access, string dir, Evidence evidence, PermissionSet requiredPermissions, PermissionSet optionalPermissions, PermissionSet refusedPermissions) + { + throw new PlatformNotSupportedException (); + } + + [Obsolete ("Declarative security for assembly level is no longer enforced")] + public AssemblyBuilder DefineDynamicAssembly (AssemblyName name, AssemblyBuilderAccess access, string dir, Evidence evidence, PermissionSet requiredPermissions, PermissionSet optionalPermissions, PermissionSet refusedPermissions, bool isSynchronized) + { + throw new PlatformNotSupportedException (); + } + + [Obsolete ("Declarative security for assembly level is no longer enforced")] + public AssemblyBuilder DefineDynamicAssembly (AssemblyName name, AssemblyBuilderAccess access, string dir, Evidence evidence, PermissionSet requiredPermissions, PermissionSet optionalPermissions, PermissionSet refusedPermissions, bool isSynchronized, IEnumerable assemblyAttributes) + { + throw new PlatformNotSupportedException (); + } + } +} + +#endif diff --git a/mcs/class/corlib/corlib.dll.sources.REMOVED.git-id b/mcs/class/corlib/corlib.dll.sources.REMOVED.git-id index 1a43b6eabd..abe32b1a0e 100644 --- a/mcs/class/corlib/corlib.dll.sources.REMOVED.git-id +++ b/mcs/class/corlib/corlib.dll.sources.REMOVED.git-id @@ -1 +1 @@ -4c2bff7c361892a4ef17dcf64ef443ffad6b1459 \ No newline at end of file +a609aea256112efd132cab75e3a40b560c42a264 \ No newline at end of file diff --git a/mcs/class/lib/monolite-linux/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/Mono.Security.dll.REMOVED.git-id b/mcs/class/lib/monolite-linux/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/Mono.Security.dll.REMOVED.git-id index 7eb1a2cf97..78d029cea2 100644 --- a/mcs/class/lib/monolite-linux/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/Mono.Security.dll.REMOVED.git-id +++ b/mcs/class/lib/monolite-linux/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/Mono.Security.dll.REMOVED.git-id @@ -1 +1 @@ -203435678f5d99962a59b166c6f8477089409e69 \ No newline at end of file +908a4eff75b7a87d11f4d068d4da135abec8ff24 \ No newline at end of file diff --git a/mcs/class/lib/monolite-linux/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Configuration.dll.REMOVED.git-id b/mcs/class/lib/monolite-linux/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Configuration.dll.REMOVED.git-id index 22a8ee951e..9fc531da16 100644 --- a/mcs/class/lib/monolite-linux/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Configuration.dll.REMOVED.git-id +++ b/mcs/class/lib/monolite-linux/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Configuration.dll.REMOVED.git-id @@ -1 +1 @@ -75c33dc1e1f39d6be5d4248fd53e053850bf623c \ No newline at end of file +9adc22ff8d833e9611de166b80f5d6f9f63a1b92 \ No newline at end of file diff --git a/mcs/class/lib/monolite-linux/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Core.dll.REMOVED.git-id b/mcs/class/lib/monolite-linux/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Core.dll.REMOVED.git-id index 965a61071e..e768a1f588 100644 --- a/mcs/class/lib/monolite-linux/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Core.dll.REMOVED.git-id +++ b/mcs/class/lib/monolite-linux/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Core.dll.REMOVED.git-id @@ -1 +1 @@ -6fd5e0f9295d73cc23d2ea00c89d6afe63e90249 \ No newline at end of file +265020b8b883f608623d08eb26f1933212c2001c \ No newline at end of file diff --git a/mcs/class/lib/monolite-linux/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.IO.Compression.dll b/mcs/class/lib/monolite-linux/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.IO.Compression.dll index d4ef13817eb5f5bb2d16349567072410c96a2e88..d17a046297259775067fea0652aba3a78948d8f3 100644 GIT binary patch delta 60 zcmV-C0K@-)hz5X&29SsZbiC~AfsD0`0W=H{-cmr5gQ6`>mrEt7BEY$~x6lj$uLcD- S05Je6m!N$CDz~l^0a9=TQ5Ssx delta 60 zcmV-C0K@-)hz5X&29SsZTr^#rfsD0`0W=H{&A}&$QB>YSmh1u+50}Dwx6lj$uLcD+ S05t$Am!N$CDz~l^0a9?g$`#%K diff --git a/mcs/class/lib/monolite-linux/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Numerics.dll.REMOVED.git-id b/mcs/class/lib/monolite-linux/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Numerics.dll.REMOVED.git-id index 952065ad26..091c21aa20 100644 --- a/mcs/class/lib/monolite-linux/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Numerics.dll.REMOVED.git-id +++ b/mcs/class/lib/monolite-linux/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Numerics.dll.REMOVED.git-id @@ -1 +1 @@ -4d8afb8824c1057b2cf667f4ca4a0c15b195c478 \ No newline at end of file +1e5bb463cd1e4a5121ca98da10116c1079f75d92 \ No newline at end of file diff --git a/mcs/class/lib/monolite-linux/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Xml.dll.REMOVED.git-id b/mcs/class/lib/monolite-linux/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Xml.dll.REMOVED.git-id index 78ea22d4ff..1f24601d1f 100644 --- a/mcs/class/lib/monolite-linux/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Xml.dll.REMOVED.git-id +++ b/mcs/class/lib/monolite-linux/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Xml.dll.REMOVED.git-id @@ -1 +1 @@ -b76682372cbd0666707115605695df85d1184dcc \ No newline at end of file +b02f7d4eba14d2521b57858f0cb62fe118d6951d \ No newline at end of file diff --git a/mcs/class/lib/monolite-linux/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/mcs.exe.REMOVED.git-id b/mcs/class/lib/monolite-linux/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/mcs.exe.REMOVED.git-id index 680f366f59..857a3a0763 100644 --- a/mcs/class/lib/monolite-linux/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/mcs.exe.REMOVED.git-id +++ b/mcs/class/lib/monolite-linux/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/mcs.exe.REMOVED.git-id @@ -1 +1 @@ -08876e557061e83f44045fddb04a71731a88682e \ No newline at end of file +aae338822855eaa679855c58498fda7bdf629c77 \ No newline at end of file diff --git a/mcs/class/lib/monolite-linux/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/mscorlib.dll.REMOVED.git-id b/mcs/class/lib/monolite-linux/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/mscorlib.dll.REMOVED.git-id index c8711a9bc8..63ecd2251d 100644 --- a/mcs/class/lib/monolite-linux/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/mscorlib.dll.REMOVED.git-id +++ b/mcs/class/lib/monolite-linux/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/mscorlib.dll.REMOVED.git-id @@ -1 +1 @@ -87311132b75300d9386c73dfd439125bff2d7e00 \ No newline at end of file +bb5d82a0dd64283b2979d6916a9d48ec92a8ea41 \ No newline at end of file diff --git a/mcs/class/lib/monolite-macos/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/Mono.Security.dll.REMOVED.git-id b/mcs/class/lib/monolite-macos/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/Mono.Security.dll.REMOVED.git-id index 7eb1a2cf97..78d029cea2 100644 --- a/mcs/class/lib/monolite-macos/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/Mono.Security.dll.REMOVED.git-id +++ b/mcs/class/lib/monolite-macos/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/Mono.Security.dll.REMOVED.git-id @@ -1 +1 @@ -203435678f5d99962a59b166c6f8477089409e69 \ No newline at end of file +908a4eff75b7a87d11f4d068d4da135abec8ff24 \ No newline at end of file diff --git a/mcs/class/lib/monolite-macos/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Configuration.dll.REMOVED.git-id b/mcs/class/lib/monolite-macos/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Configuration.dll.REMOVED.git-id index 22a8ee951e..9fc531da16 100644 --- a/mcs/class/lib/monolite-macos/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Configuration.dll.REMOVED.git-id +++ b/mcs/class/lib/monolite-macos/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Configuration.dll.REMOVED.git-id @@ -1 +1 @@ -75c33dc1e1f39d6be5d4248fd53e053850bf623c \ No newline at end of file +9adc22ff8d833e9611de166b80f5d6f9f63a1b92 \ No newline at end of file diff --git a/mcs/class/lib/monolite-macos/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Core.dll.REMOVED.git-id b/mcs/class/lib/monolite-macos/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Core.dll.REMOVED.git-id index 965a61071e..e768a1f588 100644 --- a/mcs/class/lib/monolite-macos/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Core.dll.REMOVED.git-id +++ b/mcs/class/lib/monolite-macos/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Core.dll.REMOVED.git-id @@ -1 +1 @@ -6fd5e0f9295d73cc23d2ea00c89d6afe63e90249 \ No newline at end of file +265020b8b883f608623d08eb26f1933212c2001c \ No newline at end of file diff --git a/mcs/class/lib/monolite-macos/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.IO.Compression.dll b/mcs/class/lib/monolite-macos/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.IO.Compression.dll index d4ef13817eb5f5bb2d16349567072410c96a2e88..d17a046297259775067fea0652aba3a78948d8f3 100644 GIT binary patch delta 60 zcmV-C0K@-)hz5X&29SsZbiC~AfsD0`0W=H{-cmr5gQ6`>mrEt7BEY$~x6lj$uLcD- S05Je6m!N$CDz~l^0a9=TQ5Ssx delta 60 zcmV-C0K@-)hz5X&29SsZTr^#rfsD0`0W=H{&A}&$QB>YSmh1u+50}Dwx6lj$uLcD+ S05t$Am!N$CDz~l^0a9?g$`#%K diff --git a/mcs/class/lib/monolite-macos/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Numerics.dll.REMOVED.git-id b/mcs/class/lib/monolite-macos/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Numerics.dll.REMOVED.git-id index 952065ad26..091c21aa20 100644 --- a/mcs/class/lib/monolite-macos/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Numerics.dll.REMOVED.git-id +++ b/mcs/class/lib/monolite-macos/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Numerics.dll.REMOVED.git-id @@ -1 +1 @@ -4d8afb8824c1057b2cf667f4ca4a0c15b195c478 \ No newline at end of file +1e5bb463cd1e4a5121ca98da10116c1079f75d92 \ No newline at end of file diff --git a/mcs/class/lib/monolite-macos/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Xml.dll.REMOVED.git-id b/mcs/class/lib/monolite-macos/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Xml.dll.REMOVED.git-id index 78ea22d4ff..1f24601d1f 100644 --- a/mcs/class/lib/monolite-macos/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Xml.dll.REMOVED.git-id +++ b/mcs/class/lib/monolite-macos/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Xml.dll.REMOVED.git-id @@ -1 +1 @@ -b76682372cbd0666707115605695df85d1184dcc \ No newline at end of file +b02f7d4eba14d2521b57858f0cb62fe118d6951d \ No newline at end of file diff --git a/mcs/class/lib/monolite-macos/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/mcs.exe.REMOVED.git-id b/mcs/class/lib/monolite-macos/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/mcs.exe.REMOVED.git-id index 680f366f59..857a3a0763 100644 --- a/mcs/class/lib/monolite-macos/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/mcs.exe.REMOVED.git-id +++ b/mcs/class/lib/monolite-macos/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/mcs.exe.REMOVED.git-id @@ -1 +1 @@ -08876e557061e83f44045fddb04a71731a88682e \ No newline at end of file +aae338822855eaa679855c58498fda7bdf629c77 \ No newline at end of file diff --git a/mcs/class/lib/monolite-macos/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/mscorlib.dll.REMOVED.git-id b/mcs/class/lib/monolite-macos/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/mscorlib.dll.REMOVED.git-id index c8711a9bc8..63ecd2251d 100644 --- a/mcs/class/lib/monolite-macos/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/mscorlib.dll.REMOVED.git-id +++ b/mcs/class/lib/monolite-macos/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/mscorlib.dll.REMOVED.git-id @@ -1 +1 @@ -87311132b75300d9386c73dfd439125bff2d7e00 \ No newline at end of file +bb5d82a0dd64283b2979d6916a9d48ec92a8ea41 \ No newline at end of file diff --git a/mcs/class/lib/monolite-unix/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/Mono.Security.dll.REMOVED.git-id b/mcs/class/lib/monolite-unix/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/Mono.Security.dll.REMOVED.git-id index 7eb1a2cf97..78d029cea2 100644 --- a/mcs/class/lib/monolite-unix/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/Mono.Security.dll.REMOVED.git-id +++ b/mcs/class/lib/monolite-unix/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/Mono.Security.dll.REMOVED.git-id @@ -1 +1 @@ -203435678f5d99962a59b166c6f8477089409e69 \ No newline at end of file +908a4eff75b7a87d11f4d068d4da135abec8ff24 \ No newline at end of file diff --git a/mcs/class/lib/monolite-unix/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Configuration.dll.REMOVED.git-id b/mcs/class/lib/monolite-unix/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Configuration.dll.REMOVED.git-id index 22a8ee951e..9fc531da16 100644 --- a/mcs/class/lib/monolite-unix/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Configuration.dll.REMOVED.git-id +++ b/mcs/class/lib/monolite-unix/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Configuration.dll.REMOVED.git-id @@ -1 +1 @@ -75c33dc1e1f39d6be5d4248fd53e053850bf623c \ No newline at end of file +9adc22ff8d833e9611de166b80f5d6f9f63a1b92 \ No newline at end of file diff --git a/mcs/class/lib/monolite-unix/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Core.dll.REMOVED.git-id b/mcs/class/lib/monolite-unix/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Core.dll.REMOVED.git-id index 965a61071e..e768a1f588 100644 --- a/mcs/class/lib/monolite-unix/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Core.dll.REMOVED.git-id +++ b/mcs/class/lib/monolite-unix/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Core.dll.REMOVED.git-id @@ -1 +1 @@ -6fd5e0f9295d73cc23d2ea00c89d6afe63e90249 \ No newline at end of file +265020b8b883f608623d08eb26f1933212c2001c \ No newline at end of file diff --git a/mcs/class/lib/monolite-unix/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.IO.Compression.dll b/mcs/class/lib/monolite-unix/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.IO.Compression.dll index d4ef13817eb5f5bb2d16349567072410c96a2e88..d17a046297259775067fea0652aba3a78948d8f3 100644 GIT binary patch delta 60 zcmV-C0K@-)hz5X&29SsZbiC~AfsD0`0W=H{-cmr5gQ6`>mrEt7BEY$~x6lj$uLcD- S05Je6m!N$CDz~l^0a9=TQ5Ssx delta 60 zcmV-C0K@-)hz5X&29SsZTr^#rfsD0`0W=H{&A}&$QB>YSmh1u+50}Dwx6lj$uLcD+ S05t$Am!N$CDz~l^0a9?g$`#%K diff --git a/mcs/class/lib/monolite-unix/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Numerics.dll.REMOVED.git-id b/mcs/class/lib/monolite-unix/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Numerics.dll.REMOVED.git-id index 952065ad26..091c21aa20 100644 --- a/mcs/class/lib/monolite-unix/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Numerics.dll.REMOVED.git-id +++ b/mcs/class/lib/monolite-unix/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Numerics.dll.REMOVED.git-id @@ -1 +1 @@ -4d8afb8824c1057b2cf667f4ca4a0c15b195c478 \ No newline at end of file +1e5bb463cd1e4a5121ca98da10116c1079f75d92 \ No newline at end of file diff --git a/mcs/class/lib/monolite-unix/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Xml.dll.REMOVED.git-id b/mcs/class/lib/monolite-unix/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Xml.dll.REMOVED.git-id index 78ea22d4ff..1f24601d1f 100644 --- a/mcs/class/lib/monolite-unix/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Xml.dll.REMOVED.git-id +++ b/mcs/class/lib/monolite-unix/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Xml.dll.REMOVED.git-id @@ -1 +1 @@ -b76682372cbd0666707115605695df85d1184dcc \ No newline at end of file +b02f7d4eba14d2521b57858f0cb62fe118d6951d \ No newline at end of file diff --git a/mcs/class/lib/monolite-unix/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/mcs.exe.REMOVED.git-id b/mcs/class/lib/monolite-unix/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/mcs.exe.REMOVED.git-id index 680f366f59..857a3a0763 100644 --- a/mcs/class/lib/monolite-unix/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/mcs.exe.REMOVED.git-id +++ b/mcs/class/lib/monolite-unix/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/mcs.exe.REMOVED.git-id @@ -1 +1 @@ -08876e557061e83f44045fddb04a71731a88682e \ No newline at end of file +aae338822855eaa679855c58498fda7bdf629c77 \ No newline at end of file diff --git a/mcs/class/lib/monolite-unix/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/mscorlib.dll.REMOVED.git-id b/mcs/class/lib/monolite-unix/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/mscorlib.dll.REMOVED.git-id index c8711a9bc8..63ecd2251d 100644 --- a/mcs/class/lib/monolite-unix/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/mscorlib.dll.REMOVED.git-id +++ b/mcs/class/lib/monolite-unix/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/mscorlib.dll.REMOVED.git-id @@ -1 +1 @@ -87311132b75300d9386c73dfd439125bff2d7e00 \ No newline at end of file +bb5d82a0dd64283b2979d6916a9d48ec92a8ea41 \ No newline at end of file diff --git a/mcs/class/lib/monolite-win32/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/Mono.Security.dll.REMOVED.git-id b/mcs/class/lib/monolite-win32/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/Mono.Security.dll.REMOVED.git-id index 7eb1a2cf97..78d029cea2 100644 --- a/mcs/class/lib/monolite-win32/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/Mono.Security.dll.REMOVED.git-id +++ b/mcs/class/lib/monolite-win32/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/Mono.Security.dll.REMOVED.git-id @@ -1 +1 @@ -203435678f5d99962a59b166c6f8477089409e69 \ No newline at end of file +908a4eff75b7a87d11f4d068d4da135abec8ff24 \ No newline at end of file diff --git a/mcs/class/lib/monolite-win32/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Configuration.dll.REMOVED.git-id b/mcs/class/lib/monolite-win32/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Configuration.dll.REMOVED.git-id index 22a8ee951e..9fc531da16 100644 --- a/mcs/class/lib/monolite-win32/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Configuration.dll.REMOVED.git-id +++ b/mcs/class/lib/monolite-win32/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Configuration.dll.REMOVED.git-id @@ -1 +1 @@ -75c33dc1e1f39d6be5d4248fd53e053850bf623c \ No newline at end of file +9adc22ff8d833e9611de166b80f5d6f9f63a1b92 \ No newline at end of file diff --git a/mcs/class/lib/monolite-win32/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Core.dll.REMOVED.git-id b/mcs/class/lib/monolite-win32/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Core.dll.REMOVED.git-id index e4a03ef9a4..10f05b6400 100644 --- a/mcs/class/lib/monolite-win32/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Core.dll.REMOVED.git-id +++ b/mcs/class/lib/monolite-win32/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Core.dll.REMOVED.git-id @@ -1 +1 @@ -41b40e229958fb221257259d5603548f2de30e2d \ No newline at end of file +a59319c3235eea533b79a8b2c4f6b2db63798c33 \ No newline at end of file diff --git a/mcs/class/lib/monolite-win32/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.IO.Compression.dll b/mcs/class/lib/monolite-win32/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.IO.Compression.dll index d4ef13817eb5f5bb2d16349567072410c96a2e88..d17a046297259775067fea0652aba3a78948d8f3 100644 GIT binary patch delta 60 zcmV-C0K@-)hz5X&29SsZbiC~AfsD0`0W=H{-cmr5gQ6`>mrEt7BEY$~x6lj$uLcD- S05Je6m!N$CDz~l^0a9=TQ5Ssx delta 60 zcmV-C0K@-)hz5X&29SsZTr^#rfsD0`0W=H{&A}&$QB>YSmh1u+50}Dwx6lj$uLcD+ S05t$Am!N$CDz~l^0a9?g$`#%K diff --git a/mcs/class/lib/monolite-win32/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Numerics.dll.REMOVED.git-id b/mcs/class/lib/monolite-win32/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Numerics.dll.REMOVED.git-id index 952065ad26..091c21aa20 100644 --- a/mcs/class/lib/monolite-win32/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Numerics.dll.REMOVED.git-id +++ b/mcs/class/lib/monolite-win32/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Numerics.dll.REMOVED.git-id @@ -1 +1 @@ -4d8afb8824c1057b2cf667f4ca4a0c15b195c478 \ No newline at end of file +1e5bb463cd1e4a5121ca98da10116c1079f75d92 \ No newline at end of file diff --git a/mcs/class/lib/monolite-win32/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Xml.dll.REMOVED.git-id b/mcs/class/lib/monolite-win32/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Xml.dll.REMOVED.git-id index 78ea22d4ff..1f24601d1f 100644 --- a/mcs/class/lib/monolite-win32/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Xml.dll.REMOVED.git-id +++ b/mcs/class/lib/monolite-win32/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/System.Xml.dll.REMOVED.git-id @@ -1 +1 @@ -b76682372cbd0666707115605695df85d1184dcc \ No newline at end of file +b02f7d4eba14d2521b57858f0cb62fe118d6951d \ No newline at end of file diff --git a/mcs/class/lib/monolite-win32/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/mcs.exe.REMOVED.git-id b/mcs/class/lib/monolite-win32/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/mcs.exe.REMOVED.git-id index 680f366f59..857a3a0763 100644 --- a/mcs/class/lib/monolite-win32/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/mcs.exe.REMOVED.git-id +++ b/mcs/class/lib/monolite-win32/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/mcs.exe.REMOVED.git-id @@ -1 +1 @@ -08876e557061e83f44045fddb04a71731a88682e \ No newline at end of file +aae338822855eaa679855c58498fda7bdf629c77 \ No newline at end of file diff --git a/mcs/class/lib/monolite-win32/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/mscorlib.dll.REMOVED.git-id b/mcs/class/lib/monolite-win32/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/mscorlib.dll.REMOVED.git-id index d865f4555b..3b4bba3392 100644 --- a/mcs/class/lib/monolite-win32/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/mscorlib.dll.REMOVED.git-id +++ b/mcs/class/lib/monolite-win32/9032116E-BB4E-4ED5-9C71-9E5E0B0230CA/mscorlib.dll.REMOVED.git-id @@ -1 +1 @@ -5b243fb63e09df568d8dfee692ee260f67e5435b \ No newline at end of file +d606345696f5178e19fcc7923f6bd6c098eeede3 \ No newline at end of file diff --git a/mcs/class/referencesource/mscorlib/system/iappdomain.cs b/mcs/class/referencesource/mscorlib/system/iappdomain.cs index 2e1ff7143e..c7f7081914 100644 --- a/mcs/class/referencesource/mscorlib/system/iappdomain.cs +++ b/mcs/class/referencesource/mscorlib/system/iappdomain.cs @@ -29,9 +29,7 @@ namespace System { using System.Threading; using System.Runtime.InteropServices; using System.Runtime.Remoting; -#if !FULL_AOT_RUNTIME using System.Reflection.Emit; -#endif using CultureInfo = System.Globalization.CultureInfo; using System.IO; using System.Runtime.Versioning; @@ -88,7 +86,7 @@ namespace System { [method:System.Security.SecurityCritical] event UnhandledExceptionEventHandler UnhandledException; -#if !FULL_AOT_RUNTIME + AssemblyBuilder DefineDynamicAssembly(AssemblyName name, AssemblyBuilderAccess access); @@ -141,7 +139,7 @@ namespace System { PermissionSet optionalPermissions, PermissionSet refusedPermissions, bool isSynchronized); -#endif + ObjectHandle CreateInstance(String assemblyName, String typeName); diff --git a/mcs/class/referencesource/mscorlib/system/runtime/interopservices/dispatchwrapper.cs b/mcs/class/referencesource/mscorlib/system/runtime/interopservices/dispatchwrapper.cs index 9d0439d95c..23f76190af 100644 --- a/mcs/class/referencesource/mscorlib/system/runtime/interopservices/dispatchwrapper.cs +++ b/mcs/class/referencesource/mscorlib/system/runtime/interopservices/dispatchwrapper.cs @@ -31,7 +31,7 @@ namespace System.Runtime.InteropServices { { if (obj != null) { -#if FULL_AOT_RUNTIME +#if FULL_AOT_RUNTIME || MONOTOUCH throw new PlatformNotSupportedException (); #else // Make sure this guy has an IDispatch diff --git a/mcs/class/referencesource/mscorlib/system/runtime/interopservices/ucomitypeinfo.cs b/mcs/class/referencesource/mscorlib/system/runtime/interopservices/ucomitypeinfo.cs index 0966834a2b..31defa0c60 100644 --- a/mcs/class/referencesource/mscorlib/system/runtime/interopservices/ucomitypeinfo.cs +++ b/mcs/class/referencesource/mscorlib/system/runtime/interopservices/ucomitypeinfo.cs @@ -304,7 +304,7 @@ namespace System.Runtime.InteropServices VARFLAG_FIMMEDIATEBIND =0x1000 } -#if !FULL_AOT_RUNTIME +#if !FULL_AOT_RUNTIME && !MONOTOUCH [Obsolete("Use System.Runtime.InteropServices.ComTypes.ITypeInfo instead. http://go.microsoft.com/fwlink/?linkid=14202", false)] [Guid("00020401-0000-0000-C000-000000000046")] [InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)] diff --git a/mk/Makefile.in b/mk/Makefile.in index 0d900fe60f..27868fcbe5 100644 --- a/mk/Makefile.in +++ b/mk/Makefile.in @@ -297,6 +297,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/mono/Makefile.in b/mono/Makefile.in index 3d7a88683d..9337fc43c8 100644 --- a/mono/Makefile.in +++ b/mono/Makefile.in @@ -357,6 +357,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/mono/arch/Makefile.in b/mono/arch/Makefile.in index d1d6e6a570..399859d1bf 100644 --- a/mono/arch/Makefile.in +++ b/mono/arch/Makefile.in @@ -357,6 +357,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/mono/arch/amd64/Makefile.in b/mono/arch/amd64/Makefile.in index c8af42642c..9b6a79ee81 100644 --- a/mono/arch/amd64/Makefile.in +++ b/mono/arch/amd64/Makefile.in @@ -298,6 +298,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/mono/arch/arm/Makefile.in b/mono/arch/arm/Makefile.in index 6fd39f1fbb..27373cd696 100644 --- a/mono/arch/arm/Makefile.in +++ b/mono/arch/arm/Makefile.in @@ -298,6 +298,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/mono/arch/arm64/Makefile.in b/mono/arch/arm64/Makefile.in index 6fb6e7e913..3a3e621440 100644 --- a/mono/arch/arm64/Makefile.in +++ b/mono/arch/arm64/Makefile.in @@ -298,6 +298,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/mono/arch/mips/Makefile.in b/mono/arch/mips/Makefile.in index 220fdf0ed7..c964a3137c 100644 --- a/mono/arch/mips/Makefile.in +++ b/mono/arch/mips/Makefile.in @@ -349,6 +349,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/mono/arch/ppc/Makefile.in b/mono/arch/ppc/Makefile.in index 94d52d6042..69075779bc 100644 --- a/mono/arch/ppc/Makefile.in +++ b/mono/arch/ppc/Makefile.in @@ -298,6 +298,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/mono/arch/riscv/Makefile.in b/mono/arch/riscv/Makefile.in index 652577f49d..b9ce23d877 100644 --- a/mono/arch/riscv/Makefile.in +++ b/mono/arch/riscv/Makefile.in @@ -345,6 +345,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/mono/arch/s390x/Makefile.in b/mono/arch/s390x/Makefile.in index 9936538148..5a44195813 100644 --- a/mono/arch/s390x/Makefile.in +++ b/mono/arch/s390x/Makefile.in @@ -343,6 +343,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/mono/arch/sparc/Makefile.in b/mono/arch/sparc/Makefile.in index 51b3c1d990..4c9425fda6 100644 --- a/mono/arch/sparc/Makefile.in +++ b/mono/arch/sparc/Makefile.in @@ -298,6 +298,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/mono/arch/x86/Makefile.in b/mono/arch/x86/Makefile.in index 042478ca11..693d096d56 100644 --- a/mono/arch/x86/Makefile.in +++ b/mono/arch/x86/Makefile.in @@ -298,6 +298,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/mono/benchmark/Makefile.in b/mono/benchmark/Makefile.in index 567bb7ae4a..2d0af674c0 100644 --- a/mono/benchmark/Makefile.in +++ b/mono/benchmark/Makefile.in @@ -298,6 +298,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/mono/btls/Makefile.in b/mono/btls/Makefile.in index cd711a9890..b4ed5271bc 100644 --- a/mono/btls/Makefile.in +++ b/mono/btls/Makefile.in @@ -297,6 +297,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/mono/cil/Makefile.in b/mono/cil/Makefile.in index ab695761b3..00fdb5d120 100644 --- a/mono/cil/Makefile.in +++ b/mono/cil/Makefile.in @@ -328,6 +328,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/mono/dis/Makefile.in b/mono/dis/Makefile.in index c1e82dc0ad..19969c7555 100644 --- a/mono/dis/Makefile.in +++ b/mono/dis/Makefile.in @@ -408,6 +408,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/mono/eglib/Makefile.in b/mono/eglib/Makefile.in index 9f59eb2a47..20892e84f3 100644 --- a/mono/eglib/Makefile.in +++ b/mono/eglib/Makefile.in @@ -449,6 +449,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/mono/eglib/test/Makefile.in b/mono/eglib/test/Makefile.in index 82ac8ca85d..cc1233c718 100644 --- a/mono/eglib/test/Makefile.in +++ b/mono/eglib/test/Makefile.in @@ -368,6 +368,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/mono/metadata/Makefile.in.REMOVED.git-id b/mono/metadata/Makefile.in.REMOVED.git-id index 634df282c9..938b6294c1 100644 --- a/mono/metadata/Makefile.in.REMOVED.git-id +++ b/mono/metadata/Makefile.in.REMOVED.git-id @@ -1 +1 @@ -95f9a5392dfc835473b231e21f4a0a4608f12eaf \ No newline at end of file +27d4f2974394eb3066b91a1228e299995578d9f7 \ No newline at end of file diff --git a/mono/mini/Makefile.am b/mono/mini/Makefile.am index b7129276c7..b4e9699ff8 100644 --- a/mono/mini/Makefile.am +++ b/mono/mini/Makefile.am @@ -262,8 +262,12 @@ mono_sgen_LDADD = \ -lm \ $(MONO_DTRACE_OBJECT) -mono_sgen_LDFLAGS = $(static_flags) $(monobinldflags) $(monobin_platform_ldflags) +mono_sgen_LDFLAGS = $(static_flags) $(monobinldflags) $(monobin_platform_ldflags) + +if ENABLE_STATIC_GCC_LIBS +mono_sgen_LDFLAGS += -all-static +endif if BITCODE libmonoldflags += -no-undefined diff --git a/mono/mini/Makefile.am.in b/mono/mini/Makefile.am.in index b7129276c7..b4e9699ff8 100755 --- a/mono/mini/Makefile.am.in +++ b/mono/mini/Makefile.am.in @@ -262,8 +262,12 @@ mono_sgen_LDADD = \ -lm \ $(MONO_DTRACE_OBJECT) -mono_sgen_LDFLAGS = $(static_flags) $(monobinldflags) $(monobin_platform_ldflags) +mono_sgen_LDFLAGS = $(static_flags) $(monobinldflags) $(monobin_platform_ldflags) + +if ENABLE_STATIC_GCC_LIBS +mono_sgen_LDFLAGS += -all-static +endif if BITCODE libmonoldflags += -no-undefined diff --git a/mono/mini/Makefile.in.REMOVED.git-id b/mono/mini/Makefile.in.REMOVED.git-id index edc92dd941..d21d0e4a9b 100644 --- a/mono/mini/Makefile.in.REMOVED.git-id +++ b/mono/mini/Makefile.in.REMOVED.git-id @@ -1 +1 @@ -4fc8cc8897430168653bf4ba32242902f1f63dd2 \ No newline at end of file +63556083a1b8a080549112a538b47cd163962e76 \ No newline at end of file diff --git a/mono/mini/version.h b/mono/mini/version.h index 64ae1f8df9..d2f134fff2 100644 --- a/mono/mini/version.h +++ b/mono/mini/version.h @@ -1 +1 @@ -#define FULL_VERSION "explicit/6d50c16" +#define FULL_VERSION "explicit/a2088cb" diff --git a/mono/native/Makefile.in.REMOVED.git-id b/mono/native/Makefile.in.REMOVED.git-id index 359d029020..89223806da 100644 --- a/mono/native/Makefile.in.REMOVED.git-id +++ b/mono/native/Makefile.in.REMOVED.git-id @@ -1 +1 @@ -58699b000fa0f8716477a2faa2eb72175fc4f8ed \ No newline at end of file +b978f311d185469091c959d3d8cad6dd237ede00 \ No newline at end of file diff --git a/mono/profiler/Makefile.in b/mono/profiler/Makefile.in index 6c5a01a53b..e6e7a04cb6 100644 --- a/mono/profiler/Makefile.in +++ b/mono/profiler/Makefile.in @@ -493,6 +493,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/mono/sgen/Makefile.in b/mono/sgen/Makefile.in index a08fe1ed8b..3b7a68370c 100644 --- a/mono/sgen/Makefile.in +++ b/mono/sgen/Makefile.in @@ -368,6 +368,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/mono/tests/Makefile.in.REMOVED.git-id b/mono/tests/Makefile.in.REMOVED.git-id index 55a751451e..878ad31548 100644 --- a/mono/tests/Makefile.in.REMOVED.git-id +++ b/mono/tests/Makefile.in.REMOVED.git-id @@ -1 +1 @@ -ed7877614d66e22a37b27570cf75a548433b2d86 \ No newline at end of file +648a0cb62b5aca0ac3ef25c70d99cc6361d042e6 \ No newline at end of file diff --git a/mono/tests/assembly-load-reference/Makefile.in b/mono/tests/assembly-load-reference/Makefile.in index 53917270c4..b4aa018da1 100644 --- a/mono/tests/assembly-load-reference/Makefile.in +++ b/mono/tests/assembly-load-reference/Makefile.in @@ -309,6 +309,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/mono/tests/gc-descriptors/Makefile.in b/mono/tests/gc-descriptors/Makefile.in index b2def5f40f..adbbfb30aa 100644 --- a/mono/tests/gc-descriptors/Makefile.in +++ b/mono/tests/gc-descriptors/Makefile.in @@ -298,6 +298,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/mono/tests/llvmonly-mixed/Makefile.in b/mono/tests/llvmonly-mixed/Makefile.in index 08cbcc96da..b8017bb447 100644 --- a/mono/tests/llvmonly-mixed/Makefile.in +++ b/mono/tests/llvmonly-mixed/Makefile.in @@ -314,6 +314,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/mono/tests/testing_gac/Makefile.in b/mono/tests/testing_gac/Makefile.in index 0519644ab5..ff70907776 100644 --- a/mono/tests/testing_gac/Makefile.in +++ b/mono/tests/testing_gac/Makefile.in @@ -300,6 +300,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/mono/unit-tests/Makefile.in b/mono/unit-tests/Makefile.in index fa36c48fae..47ebd13f51 100644 --- a/mono/unit-tests/Makefile.in +++ b/mono/unit-tests/Makefile.in @@ -662,6 +662,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ @@ -1442,10 +1443,10 @@ distclean-generic: maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -@CROSS_COMPILE_TRUE@clean-local: -@HOST_WIN32_TRUE@clean-local: @CROSS_COMPILE_TRUE@test-local: @HOST_WIN32_TRUE@test-local: +@CROSS_COMPILE_TRUE@clean-local: +@HOST_WIN32_TRUE@clean-local: clean: clean-am clean-am: clean-checkPROGRAMS clean-generic clean-libtool clean-local \ diff --git a/mono/utils/Makefile.in.REMOVED.git-id b/mono/utils/Makefile.in.REMOVED.git-id index 8030bc8a0a..0462223945 100644 --- a/mono/utils/Makefile.in.REMOVED.git-id +++ b/mono/utils/Makefile.in.REMOVED.git-id @@ -1 +1 @@ -cd3791a82b7eec7b4c5b83bbc894ff3489bf5901 \ No newline at end of file +2a29180fb4cce814ba561150914c7bfea124ad8e \ No newline at end of file diff --git a/mono/utils/jemalloc/Makefile.in b/mono/utils/jemalloc/Makefile.in index c3e38daed1..c3f8b797cc 100644 --- a/mono/utils/jemalloc/Makefile.in +++ b/mono/utils/jemalloc/Makefile.in @@ -304,6 +304,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/msvc/Makefile.in b/msvc/Makefile.in index fdc1930e45..d089466949 100644 --- a/msvc/Makefile.in +++ b/msvc/Makefile.in @@ -298,6 +298,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/po/Makefile.in b/po/Makefile.in index 2dd998a36c..3cc71309fd 100644 --- a/po/Makefile.in +++ b/po/Makefile.in @@ -357,6 +357,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/po/mcs/de.gmo b/po/mcs/de.gmo index 8697f32eb8bbab7fea4c524ca85873986f4aa490..f9153be741d9fb59e2520460ba6ae87212bfb40c 100644 GIT binary patch delta 20 bcmbQIHBW29Q!aK(1p^B!LyOICxQw^}O4tT~ delta 20 bcmbQIHBW29Q!aK31p^B!Lxat4xQw^}N}L9F diff --git a/po/mcs/de.po.REMOVED.git-id b/po/mcs/de.po.REMOVED.git-id index 803d424700..c3a3f7c1c8 100644 --- a/po/mcs/de.po.REMOVED.git-id +++ b/po/mcs/de.po.REMOVED.git-id @@ -1 +1 @@ -748226ad2dd28e10586eba9ed5b2b88e67929e2b \ No newline at end of file +e313ddedc99bacd6c713d5bb5e608b79fac64564 \ No newline at end of file diff --git a/po/mcs/es.gmo b/po/mcs/es.gmo index b639bfefb78d057514c277d92fb9a1a1f7838230..a0344f63579fd5dec7b0ae7adf25cb8c2a360092 100644 GIT binary patch delta 20 bcmX?Ef3kjqo+7)Yf`NsVp~YrX#VK+CQTPV7 delta 20 bcmX?Ef3kjqo+7)2f`NsVp}}TT#VK+CQM?AN diff --git a/po/mcs/es.po.REMOVED.git-id b/po/mcs/es.po.REMOVED.git-id index 6091f1aa78..e49667db62 100644 --- a/po/mcs/es.po.REMOVED.git-id +++ b/po/mcs/es.po.REMOVED.git-id @@ -1 +1 @@ -1e6e5daabeb3287ed4817f29d4b19868dc101b76 \ No newline at end of file +838e4fa7d129dc52e9cf81a6d88ab08ab428c8db \ No newline at end of file diff --git a/po/mcs/ja.gmo b/po/mcs/ja.gmo index 4cfe6aa07f85e8875c1666ea0839e1945ac3d3a0..718568302f585e3a747aa03adddf4c13ff56642a 100644 GIT binary patch delta 22 dcmeyri1Gg-#tj_m?3M}!7FLE9oB7oXv;bjB2ND1P delta 22 dcmeyri1Gg-#tj_m>=p_J7FLD^oB7oXv;bia2MGWG diff --git a/po/mcs/ja.po.REMOVED.git-id b/po/mcs/ja.po.REMOVED.git-id index 82cb49ea71..9cbf1d8de6 100644 --- a/po/mcs/ja.po.REMOVED.git-id +++ b/po/mcs/ja.po.REMOVED.git-id @@ -1 +1 @@ -2cb750b9a0330f71d3ed3597800515b5cd12b582 \ No newline at end of file +baa09c6cabfb32463c3d2df7c5214f8aabedef87 \ No newline at end of file diff --git a/po/mcs/mcs.pot b/po/mcs/mcs.pot index c3844451e1..2c14d89127 100644 --- a/po/mcs/mcs.pot +++ b/po/mcs/mcs.pot @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: mono 6.0.0.265\n" +"Project-Id-Version: mono 6.0.0.271\n" "Report-Msgid-Bugs-To: http://www.mono-project.com/Bugs\n" -"POT-Creation-Date: 2019-05-28 08:10+0000\n" +"POT-Creation-Date: 2019-05-29 08:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/po/mcs/pt_BR.gmo b/po/mcs/pt_BR.gmo index b94bf47b8229b111abdd762cd2c696574536d73b..a89888bd1ae88608bc024f3e29b6083213500ae2 100644 GIT binary patch delta 22 ecmaF1gXP%{mJM-J*)0_eEUXMIHm6QyYzF{tK?sNd delta 22 ecmaF1gXP%{mJM-J*)0?dEUXL-Hm6QyYzF{t1qgot diff --git a/po/mcs/pt_BR.po.REMOVED.git-id b/po/mcs/pt_BR.po.REMOVED.git-id index 30a162af36..8d3d04e7a0 100644 --- a/po/mcs/pt_BR.po.REMOVED.git-id +++ b/po/mcs/pt_BR.po.REMOVED.git-id @@ -1 +1 @@ -050d090f0f29c06c1319918675218ba0654d7d30 \ No newline at end of file +8535795650961299ffe66f3f0ea2f63652d84986 \ No newline at end of file diff --git a/runtime/Makefile.in b/runtime/Makefile.in index 362d388d89..872c466078 100644 --- a/runtime/Makefile.in +++ b/runtime/Makefile.in @@ -323,6 +323,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/samples/Makefile.in b/samples/Makefile.in index 2f1fbc46fb..d1fcf58f91 100644 --- a/samples/Makefile.in +++ b/samples/Makefile.in @@ -297,6 +297,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/scripts/Makefile.in b/scripts/Makefile.in index 9c7efed697..d369f3ae51 100644 --- a/scripts/Makefile.in +++ b/scripts/Makefile.in @@ -330,6 +330,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/support/Makefile.in b/support/Makefile.in index 751279d6f2..ac410f9a86 100644 --- a/support/Makefile.in +++ b/support/Makefile.in @@ -421,6 +421,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/tools/Makefile.in b/tools/Makefile.in index 14bc72a240..41394efdcd 100644 --- a/tools/Makefile.in +++ b/tools/Makefile.in @@ -357,6 +357,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/tools/locale-builder/Makefile.in b/tools/locale-builder/Makefile.in index d0218a7444..ff9f355fdd 100644 --- a/tools/locale-builder/Makefile.in +++ b/tools/locale-builder/Makefile.in @@ -298,6 +298,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/tools/pedump/Makefile.in b/tools/pedump/Makefile.in index 1259c19f22..3806035475 100644 --- a/tools/pedump/Makefile.in +++ b/tools/pedump/Makefile.in @@ -362,6 +362,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@ diff --git a/tools/sgen/Makefile.in b/tools/sgen/Makefile.in index 7239661a0a..f1a75f39da 100644 --- a/tools/sgen/Makefile.in +++ b/tools/sgen/Makefile.in @@ -387,6 +387,7 @@ SHELL = @SHELL@ SIZEOF_VOID_P = @SIZEOF_VOID_P@ SQLITE = @SQLITE@ SQLITE3 = @SQLITE3@ +STATIC_GCC_LIBS = @STATIC_GCC_LIBS@ STATIC_ZLIB_PATH = @STATIC_ZLIB_PATH@ STRIP = @STRIP@ TEST_PROFILE = @TEST_PROFILE@