Remove more CAS (#9390)
authorDan Moseley <danmose@microsoft.com>
Tue, 7 Feb 2017 22:10:09 +0000 (14:10 -0800)
committerGitHub <noreply@github.com>
Tue, 7 Feb 2017 22:10:09 +0000 (14:10 -0800)
commitc35e8dbc37e5380f46553510d0368aad04a677d2
tree62e2316f5a30f3cddd507b562b2bf4dc73ac72ef
parent3c34cce7187e44c024331ad6267c6507034e48bd
Remove more CAS (#9390)

* Remove PermissionSet

* Remove HostProtectionAttribute

* Remove PermissionState

* Remove S.Security.Permissions

* Remove IPrincipal

* Fix native side

* Remove model.xml again
192 files changed:
src/mscorlib/Common/PinnableBufferCache.cs
src/mscorlib/src/CleanupToDoList.cs
src/mscorlib/src/Internal/Runtime/Augments/RuntimeThread.cs
src/mscorlib/src/Microsoft/Win32/RegistryKey.cs
src/mscorlib/src/Microsoft/Win32/SafeHandles/SafeFindHandle.cs
src/mscorlib/src/Microsoft/Win32/SafeHandles/SafeLibraryHandle.cs
src/mscorlib/src/Microsoft/Win32/SafeHandles/SafeRegistryHandle.cs
src/mscorlib/src/Microsoft/Win32/SafeHandles/SafeWaitHandle.cs
src/mscorlib/src/Microsoft/Win32/SafeHandles/Win32SafeHandles.cs
src/mscorlib/src/Microsoft/Win32/UnsafeNativeMethods.cs
src/mscorlib/src/System/Activator.cs
src/mscorlib/src/System/AppDomain.cs
src/mscorlib/src/System/ArgumentOutOfRangeException.cs
src/mscorlib/src/System/Array.cs
src/mscorlib/src/System/Attribute.cs
src/mscorlib/src/System/BCLDebug.cs
src/mscorlib/src/System/BadImageFormatException.cs
src/mscorlib/src/System/Collections/ArrayList.cs
src/mscorlib/src/System/Collections/Comparer.cs
src/mscorlib/src/System/Collections/Concurrent/ConcurrentDictionary.cs
src/mscorlib/src/System/Collections/Concurrent/ConcurrentStack.cs
src/mscorlib/src/System/Collections/Generic/DebugView.cs
src/mscorlib/src/System/Collections/Generic/Dictionary.cs
src/mscorlib/src/System/Collections/Generic/List.cs
src/mscorlib/src/System/Collections/Hashtable.cs
src/mscorlib/src/System/DBNull.cs
src/mscorlib/src/System/DateTime.cs
src/mscorlib/src/System/DateTimeOffset.cs
src/mscorlib/src/System/DelegateSerializationHolder.cs
src/mscorlib/src/System/Diagnostics/Assert.cs
src/mscorlib/src/System/Diagnostics/Contracts/Contracts.cs
src/mscorlib/src/System/Diagnostics/Contracts/ContractsBCL.cs
src/mscorlib/src/System/Diagnostics/Debugger.cs
src/mscorlib/src/System/Diagnostics/Eventing/EventDescriptor.cs
src/mscorlib/src/System/Diagnostics/Eventing/EventProvider.cs
src/mscorlib/src/System/Diagnostics/Eventing/EventSource.cs
src/mscorlib/src/System/Diagnostics/Eventing/StubEnvironment.cs
src/mscorlib/src/System/Diagnostics/Stackframe.cs
src/mscorlib/src/System/Diagnostics/Stacktrace.cs
src/mscorlib/src/System/Diagnostics/log.cs
src/mscorlib/src/System/Environment.cs
src/mscorlib/src/System/Exception.cs
src/mscorlib/src/System/GC.cs
src/mscorlib/src/System/Globalization/CompareInfo.cs
src/mscorlib/src/System/Globalization/CultureInfo.cs
src/mscorlib/src/System/Globalization/DateTimeFormatInfo.cs
src/mscorlib/src/System/Globalization/GlobalizationAssembly.cs
src/mscorlib/src/System/Globalization/JapaneseCalendar.cs
src/mscorlib/src/System/Globalization/NumberFormatInfo.cs
src/mscorlib/src/System/Globalization/StringInfo.cs
src/mscorlib/src/System/Globalization/TextInfo.cs
src/mscorlib/src/System/IO/Directory.cs
src/mscorlib/src/System/IO/File.cs
src/mscorlib/src/System/IO/FileLoadException.cs
src/mscorlib/src/System/IO/FileNotFoundException.cs
src/mscorlib/src/System/IO/MemoryStream.cs
src/mscorlib/src/System/IO/Stream.cs
src/mscorlib/src/System/IO/StreamReader.cs
src/mscorlib/src/System/IO/TextReader.cs
src/mscorlib/src/System/IO/UnmanagedMemoryAccessor.cs
src/mscorlib/src/System/IO/UnmanagedMemoryStream.cs
src/mscorlib/src/System/IO/UnmanagedMemoryStreamWrapper.cs
src/mscorlib/src/System/IO/__Error.cs
src/mscorlib/src/System/Lazy.cs
src/mscorlib/src/System/MissingMemberException.cs
src/mscorlib/src/System/OperatingSystem.cs
src/mscorlib/src/System/Reflection/Assembly.cs
src/mscorlib/src/System/Reflection/AssemblyName.cs
src/mscorlib/src/System/Reflection/ConstructorInfo.cs
src/mscorlib/src/System/Reflection/CustomAttribute.cs
src/mscorlib/src/System/Reflection/Emit/AssemblyBuilder.cs
src/mscorlib/src/System/Reflection/Emit/AssemblyBuilderData.cs
src/mscorlib/src/System/Reflection/Emit/ConstructorBuilder.cs
src/mscorlib/src/System/Reflection/Emit/CustomAttributeBuilder.cs
src/mscorlib/src/System/Reflection/Emit/DynamicILGenerator.cs
src/mscorlib/src/System/Reflection/Emit/DynamicMethod.cs
src/mscorlib/src/System/Reflection/Emit/EnumBuilder.cs
src/mscorlib/src/System/Reflection/Emit/EventBuilder.cs
src/mscorlib/src/System/Reflection/Emit/EventToken.cs
src/mscorlib/src/System/Reflection/Emit/FieldBuilder.cs
src/mscorlib/src/System/Reflection/Emit/FieldToken.cs
src/mscorlib/src/System/Reflection/Emit/ILGenerator.cs
src/mscorlib/src/System/Reflection/Emit/Label.cs
src/mscorlib/src/System/Reflection/Emit/LocalBuilder.cs
src/mscorlib/src/System/Reflection/Emit/MethodBuilder.cs
src/mscorlib/src/System/Reflection/Emit/MethodToken.cs
src/mscorlib/src/System/Reflection/Emit/ModuleBuilder.cs
src/mscorlib/src/System/Reflection/Emit/OpCodes.cs
src/mscorlib/src/System/Reflection/Emit/Opcode.cs
src/mscorlib/src/System/Reflection/Emit/ParameterBuilder.cs
src/mscorlib/src/System/Reflection/Emit/ParameterToken.cs
src/mscorlib/src/System/Reflection/Emit/PropertyBuilder.cs
src/mscorlib/src/System/Reflection/Emit/PropertyToken.cs
src/mscorlib/src/System/Reflection/Emit/SignatureHelper.cs
src/mscorlib/src/System/Reflection/Emit/SignatureToken.cs
src/mscorlib/src/System/Reflection/Emit/StringToken.cs
src/mscorlib/src/System/Reflection/Emit/TypeBuilder.cs
src/mscorlib/src/System/Reflection/Emit/TypeToken.cs
src/mscorlib/src/System/Reflection/EventInfo.cs
src/mscorlib/src/System/Reflection/FieldInfo.cs
src/mscorlib/src/System/Reflection/MdImport.cs
src/mscorlib/src/System/Reflection/MemberInfo.cs
src/mscorlib/src/System/Reflection/MethodBase.cs
src/mscorlib/src/System/Reflection/MethodInfo.cs
src/mscorlib/src/System/Reflection/Missing.cs
src/mscorlib/src/System/Reflection/Module.cs
src/mscorlib/src/System/Reflection/ParameterInfo.cs
src/mscorlib/src/System/Reflection/PropertyInfo.cs
src/mscorlib/src/System/Reflection/ReflectionTypeLoadException.cs
src/mscorlib/src/System/Reflection/StrongNameKeyPair.cs
src/mscorlib/src/System/Resources/ResourceManager.cs
src/mscorlib/src/System/Resources/ResourceReader.cs
src/mscorlib/src/System/Resources/ResourceSet.cs
src/mscorlib/src/System/RtType.cs
src/mscorlib/src/System/Runtime/CompilerServices/AsyncMethodBuilder.cs
src/mscorlib/src/System/Runtime/CompilerServices/RuntimeHelpers.cs
src/mscorlib/src/System/Runtime/CompilerServices/RuntimeWrappedException.cs
src/mscorlib/src/System/Runtime/CompilerServices/TaskAwaiter.cs
src/mscorlib/src/System/Runtime/CompilerServices/YieldAwaitable.cs
src/mscorlib/src/System/Runtime/GcSettings.cs
src/mscorlib/src/System/Runtime/InteropServices/BStrWrapper.cs
src/mscorlib/src/System/Runtime/InteropServices/CriticalHandle.cs
src/mscorlib/src/System/Runtime/InteropServices/DispatchWrapper.cs
src/mscorlib/src/System/Runtime/InteropServices/ErrorWrapper.cs
src/mscorlib/src/System/Runtime/InteropServices/GcHandle.cs
src/mscorlib/src/System/Runtime/InteropServices/IException.cs
src/mscorlib/src/System/Runtime/InteropServices/Marshal.cs
src/mscorlib/src/System/Runtime/InteropServices/RuntimeEnvironment.cs
src/mscorlib/src/System/Runtime/InteropServices/SafeBuffer.cs
src/mscorlib/src/System/Runtime/InteropServices/SafeHandle.cs
src/mscorlib/src/System/Runtime/MemoryFailPoint.cs
src/mscorlib/src/System/Runtime/Reliability/CriticalFinalizerObject.cs
src/mscorlib/src/System/Runtime/Serialization/FormatterServices.cs
src/mscorlib/src/System/Runtime/Serialization/IObjectReference.cs
src/mscorlib/src/System/Runtime/Serialization/ISerializable.cs
src/mscorlib/src/System/RuntimeHandles.cs
src/mscorlib/src/System/Security/SecurityException.cs
src/mscorlib/src/System/Security/SecurityState.cs
src/mscorlib/src/System/Text/ASCIIEncoding.cs
src/mscorlib/src/System/Text/DecoderNLS.cs
src/mscorlib/src/System/Text/EncoderNLS.cs
src/mscorlib/src/System/Text/Encoding.cs
src/mscorlib/src/System/Text/Latin1Encoding.cs
src/mscorlib/src/System/Text/UTF7Encoding.cs
src/mscorlib/src/System/Text/UTF8Encoding.cs
src/mscorlib/src/System/Text/UnicodeEncoding.cs
src/mscorlib/src/System/Threading/AutoResetEvent.cs
src/mscorlib/src/System/Threading/CancellationToken.cs
src/mscorlib/src/System/Threading/CancellationTokenRegistration.cs
src/mscorlib/src/System/Threading/CancellationTokenSource.cs
src/mscorlib/src/System/Threading/CountdownEvent.cs
src/mscorlib/src/System/Threading/EventWaitHandle.cs
src/mscorlib/src/System/Threading/ExecutionContext.cs
src/mscorlib/src/System/Threading/Interlocked.cs
src/mscorlib/src/System/Threading/LazyInitializer.cs
src/mscorlib/src/System/Threading/ManualResetEvent.cs
src/mscorlib/src/System/Threading/ManualResetEventSlim.cs
src/mscorlib/src/System/Threading/Monitor.cs
src/mscorlib/src/System/Threading/Mutex.cs
src/mscorlib/src/System/Threading/Overlapped.cs
src/mscorlib/src/System/Threading/ParameterizedThreadStart.cs
src/mscorlib/src/System/Threading/SemaphoreSlim.cs
src/mscorlib/src/System/Threading/SpinWait.cs
src/mscorlib/src/System/Threading/SynchronizationContext.cs
src/mscorlib/src/System/Threading/Tasks/ConcurrentExclusiveSchedulerPair.cs
src/mscorlib/src/System/Threading/Tasks/FutureFactory.cs
src/mscorlib/src/System/Threading/Tasks/TPLETWProvider.cs
src/mscorlib/src/System/Threading/Tasks/Task.cs
src/mscorlib/src/System/Threading/Tasks/TaskCompletionSource.cs
src/mscorlib/src/System/Threading/Tasks/TaskFactory.cs
src/mscorlib/src/System/Threading/Tasks/TaskScheduler.cs
src/mscorlib/src/System/Threading/Tasks/future.cs
src/mscorlib/src/System/Threading/Thread.cs
src/mscorlib/src/System/Threading/ThreadLocal.cs
src/mscorlib/src/System/Threading/ThreadPool.cs
src/mscorlib/src/System/Threading/ThreadStart.cs
src/mscorlib/src/System/Threading/Timer.cs
src/mscorlib/src/System/Threading/WaitHandle.cs
src/mscorlib/src/System/Type.cs
src/mscorlib/src/System/TypeLoadException.cs
src/mscorlib/src/System/TypedReference.cs
src/mscorlib/src/System/WeakReference.cs
src/mscorlib/src/System/__ComObject.cs
src/vm/appdomainnative.cpp
src/vm/appdomainnative.hpp
src/vm/assembly.cpp
src/vm/assembly.hpp
src/vm/comsynchronizable.cpp
src/vm/comsynchronizable.h
src/vm/security.h
src/vm/securitydescriptorassembly.cpp
src/vm/securitydescriptorassembly.h