Conversation
Contributes to dotnet#112344
| case TypeCode.Int32: variant = ComVariant.Create(value.ToInt32(ci)); break; | ||
| case TypeCode.UInt32: variant = ComVariant.Create(value.ToUInt32(ci)); break; | ||
| case TypeCode.Int64: variant = ComVariant.Create(value.ToInt64(ci)); break; | ||
| case TypeCode.UInt64: variant = ComVariant.Create(value.ToInt64(ci)); break; |
There was a problem hiding this comment.
This is a long-standing bug from at least .NET 6, likely .NET Framework (as it's in the DLR version this code was initially ported from as well):
I think we can fix this going forward, but as this does change the variant type I'd be concerned of breaking consumers if we were to backport this fix.
There was a problem hiding this comment.
Right, I do not think this is something that we want to backport.
|
|
||
| if (argType.IsArray != paramType.IsArray || | ||
| argType.IsByRef != paramType.IsByRef || | ||
| argType.IsPointer != argType.IsPointer) |
There was a problem hiding this comment.
This is a real corner case bug, but I do not think it is worth it to add a test case that hits it.
|
|
||
| public override bool Equals(object obj) | ||
| { | ||
| if (Object.ReferenceEquals(this, obj)) |
| case MemberAttributes.Override: | ||
| Output.Write("Overrides "); | ||
| break; | ||
| case MemberAttributes.Private: |
There was a problem hiding this comment.
Unreachable code. Legacy components - keeping the existing behavior.
|
|
||
| private void ImplReadElement() | ||
| { | ||
| if (3 != _docState || 9 != _docState) |
|
Tagging subscribers to this area: @dotnet/interop-contrib |
src/libraries/System.Reflection.Emit/src/System/Reflection/Emit/TypeBuilderImpl.cs
Outdated
Show resolved
Hide resolved
…t/TypeBuilderImpl.cs
|
/ba-g unrelated timeouts due to overloaded queues |
* main: [Android] Run CoreCLR functional tests on Android (dotnet#112283) [LoongArch64] Fix some assertion failures for Debug ILC building Debug NativeAOT testcases. (dotnet#112229) Fix suspicious code fragments (dotnet#112384) `__ComObject` doesn't support dynamic interface map (dotnet#112375) Native DLLs: only load imported DLLs from System32 (dotnet#112359) [main] Update dependencies from dotnet/roslyn (dotnet#112314) Update SVE instructions that writes to GC regs (dotnet#112389) Bring up android+coreclr windows build. (dotnet#112256) Never use heap for return buffers (dotnet#112060) Wait to complete the test before releasing the agile reference. (dotnet#112387) Prevent returning disposed HTTP/1.1 connections to the pool (dotnet#112383) Fingerprint dotnet.js if writing import map to html is enabled (dotnet#112407) Remove duplicate definition of CORECLR_HOSTING_API_LINKAGE (dotnet#112096) Update the exception message to reflect current behavior. (dotnet#112355) Use enum for frametype not v table (dotnet#112166) Enable AltJits build for LoongArch64 and RiscV64 (dotnet#110282) Guard members of MonoType union & fix related bugs (dotnet#111645) Add optional hooks for debugging OpenSSL memory allocations (dotnet#111539) JIT: Optimize struct parameter register accesses in the backend (dotnet#110819) NativeAOT: Cover more opcodes in type preinitializer (dotnet#112073)
Contributes to #112344