summaryrefslogtreecommitdiff
path: root/src/vm/runtimehandles.cpp
AgeCommit message (Collapse)AuthorFilesLines
2019-01-04Avoid passing stack crawl mark unnecessarily deep in the call stack. (#21783)Filip Navara1-1/+2
* Avoid passing stack crawl mark unnecessarily deep in the call stack. * Move stack crawl from TypeName::GetTypeManaged to RuntimeTypeHandle::GetTypeByName.
2018-12-31Improve MdUtf8String (#21720)Ben Adams1-19/+0
* Move MdUtf8String::EqualsCaseSensitive to managed code * Move MdUtf8String.ToString to safe code * Use Encoding.UTF8.GetString
2018-11-28Add IsCollectible property to Memberinfo and MethodInfo (#21155)John Salem1-0/+15
2018-11-28Delete code related to LoaderOptimization and SharedDomain (#21031)Jan Kotas1-12/+1
2018-11-15Allow supressing exceptions in diamond inheritance cases (#20458)Michal Strehovský1-1/+1
2018-08-11Make RuntimeType sealed and deleted support for introspection only loads ↵Jan Kotas1-2/+2
(#19427) - Sealed Runtime makes `is RuntimeType` and similar checks faster. These checks are fairly common in reflection. - Delete support for introspection only loads from the runtime. We do not plan to use in .NET Core. The support for introspection loads inherited from RuntimeType and thus it is incompatible with sealed RuntimeType.
2018-08-08Move methodbody and exceptionHandlingClause to shared (#19364)Anirudh Agnihotry1-26/+26
* Changing names and making runtime files * Movel methodbody and exceptionHandlingClause to shared * Fixing build error
2018-08-03Moved LocalVariableInfo to shared (#19184)Anirudh Agnihotry1-8/+8
* File Modified * Moved to shared * Introducing RuntimeLocalVariableInfo * Build Corefx change * sealed added
2018-05-01Rename internal Utf8String to MdUtf8String (#17856)Atsushi Kanamori1-3/+3
We want to start prototyping Utf8String in CoreFxLab and for that, we'll need a bare-bones System.Utf8String class exposed from System.Private.CoreLib. Unfortunately, CoreLib already has an internal struct named System.Utf8String. Since it's only an internal type, we'll exercise eminent domain on its name now and get these noise changes out of the way.
2018-04-18Delete RuntimeMethodHandle.GetSecurityFlag (#17643)Jan Kotas1-6/+0
CAS leftover
2018-03-27Enable reflection load ComImport assembly and Type.IsComObjectType (#16943)Luqun Lou1-12/+0
* Enable reflection load ComImport assembly and Type.IsComObjectType * Update Enable reflection load ComImport assembly
2018-01-29Fix reflection to work with default interface methods (#16034)Michal Strehovský1-4/+4
Fixes #15645. Fixes #15644.
2017-09-01Update Type.GetMethods() to be generics friendly (#13745)Atsushi Kanamori1-0/+8
Update Type.GetMethods() to be generics friendly
2017-08-07Cleanup code access security from the unmanaged runtime (#13241)Jan Kotas1-35/+1
2017-07-31Implement Type.IsByRefLike for CoreCLR (#13123)Atsushi Kanamori1-0/+19
Since this already exists in CoreRT and the virtual method will get propagated to CoreCLR, we might as well make it work here before an IsByRefLike check finds its way into shared code and starts throwing NotSupportedExceptions on CoreCLR.
2017-06-23[Local GC] Remove a number of inclusions of handle table private headers ↵Sean Gillespie1-1/+0
from the VM (#12389) * Remove inclusions of private handle table headers from the VM * Add TraceRefCountedHandles to the GC handle table interface * Fix the Unix build * Move ValidatePinnedObject to marshalnative.h
2017-06-15[Local GC] Fix a number of handle table interface violations (#12277)Sean Gillespie1-1/+2
* Fix a smattering of GC handle table interface violations Stub out a few other handle violations * [Local GC] Add SetExtraInfoForHandle onto GC handle manager interface * [Local GC] Changes uses of HndGetHandleADIndex to GetHandleContext * Add HandleGetType to GC handle table interface 1) Change IGCHandleManager methods that take "int" to represent the type of a handle to HandleType, and fix callers to cast to HandleType 2) Add HandleFetchType to IGCHandleManager, returning a HandleType 3) Fix uses of handtablepriv's HandleFetchType and remove the GC directory from the include path * 9 -> HNDTYPE_WEAK_WINRT, 0 -> HNDTYPE_WEAK_SHORT in assert
2017-05-17Finish deleting dead CAS code from CoreLib (#11436)Jan Kotas1-356/+0
Fixes #9321 and deletes CleanupToDoList.cs Delete unmanaged security implementation
2017-05-08Add an event pipe that pipes to the profiler apisMukul Sabharwal1-0/+4
2017-02-14Remove never defined FEATURE_REMOTINGdanmosemsft1-26/+0
2017-02-10Remove always defined FEATURE_CORECLRdanmosemsft1-44/+0
2017-02-10Remove always undefined FEATURE_APTCAdanmosemsft1-30/+0
2016-08-17Due to comdat folding some fcalls are pointing to same code. This fix ↵Rahul Kumar1-0/+6
ensures that these fcall has a unique code address. (#6776)
2016-08-08Disable few more transparency checks for .net coreRahul Kumar1-0/+6
2016-05-07Remove FEATURE_HOSTED_BINDER definition (#4838)Jan Vorlicek1-7/+2
The FEATURE_HOSTED_BINDER is always on so remove it from all the sources.
2016-05-06Fix Windows x86 exception handling issue (#4830)Jan Vorlicek1-23/+11
This change fixes an exception handling issue that happens on x86 on Windows when exception is raised in System.RuntimeType.MakeGenericType. The problem was caused by GCPROTECT_HOLDER macro in RuntimeTypeHandle::GetTypeByName that causes popping of GCFrame (and zeroing its m_next field) that's in the middle of the thread's frames list during the stack unwinding. That breaks the list and when UnwindFrames happen later and tries to walk the stack, the StackFrameIterator::NextRaw asserts when checking the validity of the list. The fix is to move the keepAlive to the managed caller of the RuntimeTypeHandle::GetTypeByName QCall, which removes the need for the GCPROTECT_HOLDER. Since it was the only usage of that holder and of the underlying FrameWithCookieHolder class, I've removed those. In addition to that, I've modified COMModule::GetType and AssemblyNative::GetType to use the same pattern, since they could also suffer from the problem the GCPROTECT_HOLDER was attempting to fix.
2016-03-24Delete legacy netcf compat support (final part)Jan Kotas1-43/+0
2016-01-27Update license headersdotnet-bot1-4/+3
2015-02-03Remove non ASCII characters from source filesMatt Ellis1-3/+3
Our native files were more or less encoded in Windows-1252, which causes problems when we try to compile them on machines where the current codepage can't represent everything that Windows-1252 can. With this conversion I just moved characters to their ASCII counterparts (e.g. no smart quotes, the section marker glyph is now "Section"). There were two places where I couldn't do the straight forward thing, in object.h we wanted to insert the Per Mille symbol in a comment so instead I just spelled out the Unicode codepoint. In morph.cpp, there was a comment pointing to a paper by Torbjörn Granlund (note the diaeresis above the second o). In this case, unfortuntely I had to just drop the diaeresis. However, searching for "Torbjorn Granlund" will lead you to the right person. Fixes #49
2015-01-30Initial commit to populate CoreCLR repo dotnet-bot1-0/+3618
[tfs-changeset: 1407945]