Age | Commit message (Collapse) | Author |
|
|
|
This project file will generate a System.Private.Interop.dll for mono with MiniWinRT enable
[tfs-changeset: 1678779]
|
|
Merge master to nmirror
|
|
|
|
Merge nmirror to master
|
|
serialization with type forwarding (#4763)
|
|
* WIP: Implemented class and method access verification.
* Changed access verifications to appropriately cast to EcmaType/Method.
* Added test cases for type / method access verifications.
* Implemented method signature access verification.
* Added test cases for method signature access verification.
* Implemented field access verification.
* Added tests for field access verification.
* Added special test case for accessing family field of superclass of containing class. Refactored some AccessTest names.
* Added additional instance parameter to field/method access checks, to check family access.
* Implemented access verification for friend assemblies.
* Added relevant PEVerify code part for security critical code.
* Added try-catch to public key comparison.
|
|
|
|
Per API review, they should match the corresponding overloads' existing parameter names.
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
|
|
|
|
with unix envirtonments. (#4760)
|
|
Merge changes from TFS
|
|
Generic method on lazy generic type should also have a lazy generic dictionary otherwise generic lookups over the containing type's arguments may get expanded unlimitedly
[tfs-changeset: 1678427]
|
|
|
|
|
|
|
|
Picks up:
* dotnet/coreclr#14520
* dotnet/coreclr#14401
|
|
* Implemented verification of delegate creation.
* Added test cases for delegate creation pattern.
* Implemented delegate compatibility check.
* Added tests for delegate compatibility checks.
* Added checks for call to non-final virtual methods.
* Fixed using call on sealed type methods reporting this mismatch.
* Added tests for this mismatch verification.
* Added additional tests for modifying this pointer after base call.
|
|
|
|
|
|
Merge nmirror to master
|
|
Merge changes from TFS
|
|
From interop point, Delegate isn't ComClass.
In WinRT, we treat delegate as interface instead of Class.
[tfs-changeset: 1678339]
|
|
ENABLE_MIN_WINRT is defined when it runs on ProjectN or mcg on minwinrt mode.
[tfs-changeset: 1678338]
|
|
|
|
Merge changes from TFS
|
|
the reason to change Clone signature from "out IntPtr" to "IntPtr" is that "our IntPtr" needs marshal support and "Intptr" doesn't need marshal support. For NativeCallable method, it shouldn't need marshal support.
[tfs-changeset: 1678334]
|
|
Merge changes from TFS
|
|
ProjectNDependencyBehavior.EnableFullAnalysis is enabled
- Fix InstantiatedMethod.GetCanonMethodTarget to handle all possible cases of universal generic promotion instead of ones that only involve non-universal canonical generics
- Enable consistent results from HasReflectionInvokeStubForInvokableMethod when full analysis is enabled
- Enable CodeBasedDependencyAlgorithm to create reflection target method bodies
- Add asserts to NonExternMethodNode to ensure that we don't attempt to compile partially canonicalized methods
[tfs-changeset: 1678328]
|
|
Merge changes from TFS
|
|
the reason for replacing StdCall<T> with StdCall__int is that
1. CoreCLR doesn't support generic Calli, see voidSigPointer::ConvertToInternalExactlyOne(Module* pSigModule, SigTypeContext *pTypeContext, SigBuilder * pSigBuilder, BOOL bSkipCustomModifier) for more info
2. StdCall<T> doesn't buy us much, since we always use StdCall<int>
[tfs-changeset: 1678326]
|
|
* Fix instance method parameter management and a couple of codegen issues that showed up when more methods started compiling. Includes implementing ldfld for instance fields (progress toward #4530) and the leave opcode. This is enough to make the String.Length getter work.
|
|
The object array thunk can't be generated for delegates with signatures that have byref-like types in them.
|
|
|
|
ViktorHofer/SerializationExceptions (#4743)
Make coreclr exceptions serializable and add typeforwards
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
|
|
|
|
Merge changes from TFS
|
|
Yi/Alan/Tyler found out this bug and the root cause--- IsComObject(Type t) only check whether t is subclass of __ComObject or not --- IsSubclassOf fails if type is exactly __ComObject: https://msdn.microsoft.com/en-us/library/system.type.issubclassof%28v=vs.110%29.aspx
the fix is to add a check to see whether type itself is __ComObject or not.
Changes:
1. Unify IsCOMObject and IsComObject into IsComObject. don't confuse ourselves
2. Move McgComHelpers.IsComObject into McgMarshal.IsComObject
TODO:
1. Consider to split McgMarshal.cs into McgMarshal.Pinvoke.cs/McgMarshal.Com.cs/McgMarshal.WinRT.cs/McgMarshal.Common.cs
[tfs-changeset: 1678276]
|
|
* Implement neg (float/integer) and not IL instructions. Fixes #4524 and #4525
* Neg and not basic tests added to HelloWasm.
Name parameter updated in LLVM build methods to reflect the operation being built.
Use PushExpression method instead of direct push to stack.
* Implement throw opcode. Fix for #4528
* Unreachable removed and trap call refactored in throw import method.
|
|
|
|
Merge changes from TFS
|
|
A tiny improvement to the working set of the type loader. I noticed this accidentally a couple days ago when looking at a type loader failure in CoreRT.
[tfs-changeset: 1678191]
|
|
|
|
* Implement shift opcodes
* Fix HelloWasm test.
* FIx HelloWasm test program.
|
|
(#4725)
* Implement neg (float/integer) and not IL instructions. Fixes #4524 and #4525
* Neg and not basic tests added to HelloWasm.
Name parameter updated in LLVM build methods to reflect the operation being built.
Use PushExpression method instead of direct push to stack.
|
|
Merge nmirror to master
|
|
Merge changes from TFS
|
|
CoreFX has been using EnumerateEnvironmentVariables for a while now.
|
|
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
|
|
|