- 16 8月, 2022 27 次提交
-
-
由 Tom Deseyn 提交于
Co-authored-by: NJeremy Barton <jbarton@microsoft.com>
-
由 dotnet-maestro[bot] 提交于
* Update dependencies from https://github.com/dotnet/linker build 20220812.4 Microsoft.NET.ILLink.Tasks From Version 7.0.100-1.22412.3 -> To Version 7.0.100-1.22412.4 * `System.Runtime.Serialization.Json.ReflectionOnly.Tests` - fix linker .. errors. ``` [22:32:27] fail: [FAIL] DataContractJsonSerializerTests.DCJS_VerifyDateTimeForFormatStringDCJsonSerSettings [22:32:27] info: System.InvalidOperationException : No set method for property 'UtcDateTime' in type 'System.Runtime.Serialization.DateTimeOffsetAdapter'. [22:32:27] info: at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver) [22:32:27] info: at DataContractJsonSerializerTests.SerializeAndDeserialize[DateTimeOffset](DateTimeOffset value, String baseline, DataContractJsonSerializerSettings settings, Func`1 serializerFactory, Boolean skipStringCompare) [22:32:27] info: at System.Reflection.MethodInvoker.InterpretedInvoke(Object , Span`1 , BindingFlags ) [22:32:27] fail: [FAIL] DataContractJsonSerializerTests.DCJS_ClassWithDatetimeOffsetTypeProperty [22:32:27] info: System.InvalidOperationException : No set method for property 'UtcDateTime' in type 'System.Runtime.Serialization.DateTimeOffsetAdapter'. [22:32:27] info: at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver) [22:32:27] info: at DataContractJsonSerializerTests.SerializeAndDeserialize[TypeWithDateTimeOffsetTypeProperty](TypeWithDateTimeOffsetTypeProperty value, String baseline, DataContractJsonSerializerSettings settings, Func`1 serializerFactory, Boolean skipStringCompare) [22:32:27] info: at System.Reflection.MethodInvoker.InterpretedInvoke(Object , Span`1 , BindingFlags ) ``` * [wasm] System.Runtime.Serialization.Schema.Tests - fix linker errors ``` fail: [FAIL] System.Runtime.Serialization.Schema.Tests.ImporterTests.Import(import: Action`1 { Method = Void <Import_MemberData>b__7(System.Runtime.S erialization.XsdDataContractImporter), Target = <>c__DisplayClass7_1 { schemaSet = XmlSchemaSet { ... }, typeName = http://schemas.datacontract.org/200 4/07/System.Runtime.Serialization.Schema.Tests:ImporterTests.SerializableFormatClass } }, codeLength: -1) info: System.MissingMethodException : No parameterless constructor defined for type 'Microsoft.CSharp.CSharpCodeProvider'. info: at System.RuntimeType.CreateInstanceMono(Boolean , Boolean ) info: at System.RuntimeType.CreateInstanceDefaultCtor(Boolean , Boolean ) info: at System.Activator.CreateInstance(Type type, Boolean nonPublic, Boolean wrapExceptions) info: at System.Activator.CreateInstance(Type type, Boolean nonPublic) info: at System.Activator.CreateInstance(Type type) info: at System.CodeDom.Compiler.CompilerInfo.CreateProvider() info: at System.CodeDom.Compiler.CodeDomProvider.CreateProvider(String ) info: at System.Runtime.Serialization.Schema.Tests.SchemaUtils.DumpCode(CodeCompileUnit ccu, CodeDomProvider provider) info: at System.Runtime.Serialization.Schema.Tests.ImporterTests.Import(Action`1 import, Int32 codeLength) info: at System.Reflection.MethodInvoker.InterpretedInvoke(Object , Span`1 , BindingFlags ) ``` * [wasm] System.Runtime.Serialization.Xml.ReflectionOnly.Tests - fix .. linker errors. ``` [02:47:16] fail: [FAIL] DataContractSerializerTests.DCS_MemoryStream_Serialize_UsesBuiltInAdapter [02:47:16] info: System.Runtime.Serialization.InvalidDataContractException : No get method for property 'Capacity' in type 'System.Runtime.Serialization.MemoryStreamAdapter'. [02:47:16] info: at System.Runtime.Serialization.DataContracts.DataContract.DataContractCriticalHelper.ThrowInvalidDataContractException(String , Type ) [02:47:16] info: at System.Runtime.Serialization.DataContracts.DataContract.DataContractCriticalHelper.ThrowInvalidDataContractException(String ) [02:47:16] info: at System.Runtime.Serialization.DataContracts.ClassDataContract.ClassDataContractCriticalHelper.ImportDataMembers() [02:47:16] info: at System.Runtime.Serialization.DataContracts.ClassDataContract.ClassDataContractCriticalHelper..ctor(Type ) [02:47:16] info: at System.Runtime.Serialization.DataContracts.ClassDataContract..ctor(Type ) [02:47:16] info: at System.Runtime.Serialization.DataContracts.DataContract.DataContractCriticalHelper.CreateDataContract(Type ) [02:47:16] info: at System.Runtime.Serialization.DataContracts.DataContract.DataContractCriticalHelper.CreateDataContract(Int32 , RuntimeTypeHandle , Type ) [02:47:16] info: at System.Runtime.Serialization.DataContracts.DataContract.DataContractCriticalHelper.GetDataContractSkipValidation(Int32 , RuntimeTypeHandle , Type ) [02:47:16] info: at System.Runtime.Serialization.DataContracts.DataContract.GetDataContractSkipValidation(Int32 id, RuntimeTypeHandle typeHandle, Type type) [02:47:16] info: at System.Runtime.Serialization.DataContracts.DataContract.GetDataContract(RuntimeTypeHandle typeHandle, Type type) [02:47:16] info: at System.Runtime.Serialization.DataContracts.DataContract.GetDataContract(Type type) [02:47:16] info: at System.Runtime.Serialization.DataContractSerializer.get_RootContract() [02:47:16] info: at System.Runtime.Serialization.DataContractSerializer.InternalWriteStartObject(XmlWriterDelegator writer, Object graph) [02:47:16] info: at System.Runtime.Serialization.DataContractSerializer.InternalWriteObject(XmlWriterDelegator writer, Object graph, DataContractResolver dataContractResolver) [02:47:16] info: at System.Runtime.Serialization.XmlObjectSerializer.WriteObjectHandleExceptions(XmlWriterDelegator writer, Object graph, DataContractResolver dataContractResolver) [02:47:16] info: at System.Runtime.Serialization.XmlObjectSerializer.WriteObjectHandleExceptions(XmlWriterDelegator writer, Object graph) [02:47:16] info: at System.Runtime.Serialization.XmlObjectSerializer.WriteObject(XmlDictionaryWriter , Object ) [02:47:16] info: at System.Runtime.Serialization.XmlObjectSerializer.WriteObject(Stream , Object ) [02:47:16] info: at System.Runtime.Serialization.Tests.DataContractSerializerHelper.SerializeAndDeserialize[MemoryStream](MemoryStream value, String baseline, DataContractSerializerSettings settings, Func`1 serializerFactory, Boolean skipStringCompare) [02:47:16] info: at DataContractSerializerTests.<DCS_MemoryStream_Serialize_UsesBuiltInAdapter>g__ValidateObject|240_0(MemoryStream original, String expectedXml, Byte[] expectedData, Int32 expectedPosition, Boolean expectedExposable) [02:47:16] info: at DataContractSerializerTests.DCS_MemoryStream_Serialize_UsesBuiltInAdapter() [02:47:16] info: at System.Reflection.MethodInvoker.InterpretedInvoke(Object , Span`1 , BindingFlags ) ``` * Fix linker errors - System.Xml.XmlSerializer.ReflectionOnly.Tests ``` [02:47:21] fail: [FAIL] XmlSerializerTests.Xml_ImmutableCollections(type: typeof(System.Collections.Immutable.ImmutableArray<int>), collection: [42], createException: null, addException: typeof(System.InvalidOperationException), expectedXml: "<?xml version=\"1.0\" encoding=\"utf-8\"?><ArrayOf"..., exMsg: "Specified method is not supported.") [02:47:21] info: System.InvalidOperationException : There was an error generating the XML document. [02:47:21] info: ---- System.InvalidOperationException : To be XML serializable, types which inherit from ICollection must have an implementation of Add(System.Int32) at all levels of their inheritance hierarchy. System.Collections.Immutable.ImmutableArray`1[[System.Int32, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]] does not implement Add(System.Int32). [02:47:21] info: at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id) [02:47:21] info: at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle) [02:47:21] info: at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces) [02:47:21] info: at System.Xml.Serialization.XmlSerializer.Serialize(Stream stream, Object o, XmlSerializerNamespaces namespaces) [02:47:21] info: at System.Xml.Serialization.XmlSerializer.Serialize(Stream stream, Object o) [02:47:21] info: at XmlSerializerTests.Serialize[Object](Object value, String baseline, Func`1 serializerFactory, Boolean skipStringCompare, XmlSerializerNamespaces xns) [02:47:21] info: at XmlSerializerTests.Xml_ImmutableCollections(Type type, Object collection, Type createException, Type addException, String expectedXml, String exMsg) [02:47:21] info: at System.Reflection.MethodInvoker.InterpretedInvoke(Object , Span`1 , BindingFlags ) [02:47:21] info: ----- Inner Stack Trace ----- [02:47:21] info: at System.Xml.Serialization.TypeScope.GetDefaultIndexer(Type , String ) [02:47:21] info: at System.Xml.Serialization.TypeScope.GetCollectionElementType(Type , String ) [02:47:21] info: at System.Xml.Serialization.TypeScope.ImportTypeDesc(Type , MemberInfo , Boolean ) [02:47:21] info: at System.Xml.Serialization.TypeScope.GetTypeDesc(Type , MemberInfo , Boolean , Boolean ) [02:47:21] info: at System.Xml.Serialization.TypeScope.GetTypeDesc(Type , MemberInfo , Boolean ) [02:47:21] info: at System.Xml.Serialization.ModelScope.GetTypeModel(Type , Boolean ) [02:47:21] info: at System.Xml.Serialization.ModelScope.GetTypeModel(Type ) [02:47:21] info: at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(Type , XmlRootAttribute , String ) [02:47:21] info: at System.Xml.Serialization.XmlSerializer.GenerateXmlTypeMapping(Type type, XmlAttributeOverrides overrides, Type[] extraTypes, XmlRootAttribute root, String defaultNamespace) [02:47:21] info: at System.Xml.Serialization.XmlSerializer.GetMapping() [02:47:21] info: at System.Xml.Serialization.XmlSerializer.SerializeUsingReflection(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id) [02:47:21] info: at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id) ``` * [wasm] Fix trimming errors in event-pipe sample `IL2121` was disabled for samples, but the project discard the value of `$(NoWarn)`, thus missing the warning code. ``` ILLink : Trim analysis error IL2121: System.Diagnostics.Tracing.EventSource: Unused 'UnconditionalSuppressMessageAttribute' for warning 'IL2113'. Consi der removing the unused warning suppression. [/workspaces/runtime/src/mono/sample/wasm/browser-eventpipe/Wasm.Browser.EventPipe.Sample.csproj] ILLink : Trim analysis error IL2121: System.Diagnostics.Tracing.EventSource: Unused 'UnconditionalSuppressMessageAttribute' for warning 'IL2115'. Consi der removing the unused warning suppression. [/workspaces/runtime/src/mono/sample/wasm/browser-eventpipe/Wasm.Browser.EventPipe.Sample.csproj] /workspaces/runtime/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventSource.cs(885,9): Trim analysis error IL2121: System.Diagn ostics.Tracing.EventSource.WriteEvent(Int32, Int64, Int64, Int64): Unused 'UnconditionalSuppressMessageAttribute' for warning 'IL2026'. Consider removi ng the unused warning suppression. [/workspaces/runtime/src/mono/sample/wasm/browser-eventpipe/Wasm.Browser.EventPipe.Sample.csproj] /workspaces/runtime/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventSource.cs(1067,9): Trim analysis error IL2121: System.Diag nostics.Tracing.EventSource.WriteEvent(Int32, Int32, String): Unused 'UnconditionalSuppressMessageAttribute' for warning 'IL2026'. Consider removing th e unused warning suppression. [/workspaces/runtime/src/mono/sample/wasm/browser-eventpipe/Wasm.Browser.EventPipe.Sample.csproj] /workspaces/runtime/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventSource.cs(955,9): Trim analysis error IL2121: System.Diagn ostics.Tracing.EventSource.WriteEvent(Int32, String, String, String): Unused 'UnconditionalSuppressMessageAttribute' for warning 'IL2026'. Consider rem oving the unused warning suppression. [/workspaces/runtime/src/mono/sample/wasm/browser-eventpipe/Wasm.Browser.EventPipe.Sample.csproj] /workspaces/runtime/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventSource.cs(927,9): Trim analysis error IL2121: System.Diagnostics.Tracing.EventSource.WriteEvent(Int32, String, String): Unused 'UnconditionalSuppressMessageAttribute' for warning 'IL2026'. Consider removing the unused warning suppression. [/workspaces/runtime/src/mono/sample/wasm/browser-eventpipe/Wasm.Browser.EventPipe.Sample.csproj] /workspaces/runtime/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventSource.cs(796,9): Trim analysis error IL2121: System.Diagnostics.Tracing.EventSource.WriteEvent(Int32, Int32): Unused 'UnconditionalSuppressMessageAttribute' for warning 'IL2026'. Consider removing the unused warning suppression. [/workspaces/runtime/src/mono/sample/wasm/browser-eventpipe/Wasm.Browser.EventPipe.Sample.csproj] /workspaces/runtime/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventSource.cs(1366,13): Trim analysis error IL2121: System.Diagnostics.Tracing.EventSource.WriteEvent(Int32, Object[]): Unused 'UnconditionalSuppressMessageAttribute' for warning 'IL2112'. Consider removing the unused warning suppression. [/workspaces/runtime/src/mono/sample/wasm/browser-eventpipe/Wasm.Browser.EventPipe.Sample.csproj] /workspaces/runtime/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventSource.cs(904,9): Trim analysis error IL2121: System.Diagnostics.Tracing.EventSource.WriteEvent(Int32, String): Unused 'UnconditionalSuppressMessageAttribute' for warning 'IL2026'. Consider removing the unused warning suppression. [/workspaces/runtime/src/mono/sample/wasm/browser-eventpipe/Wasm.Browser.EventPipe.Sample.csproj] /workspaces/runtime/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventSource.cs(1236,13): Trim analysis error IL2121: System.Diagnostics.Tracing.EventSource.WriteEventCore(Int32, Int32, EventData*): Unused 'UnconditionalSuppressMessageAttribute' for warning 'IL2112'. Consider removing the unused warning suppression. [/workspaces/runtime/src/mono/sample/wasm/browser-eventpipe/Wasm.Browser.EventPipe.Sample.csproj] /workspaces/runtime/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventSource.cs(1959,9): Trim analysis error IL2121: System.Diagnostics.Tracing.EventSource.WriteEventVarargs(Int32, Guid*, Object[]): Unused 'UnconditionalSuppressMessageAttribute' for warning 'IL2112'. Consider removing the unused warning suppression. [/workspaces/runtime/src/mono/sample/wasm/browser-eventpipe/Wasm.Browser.EventPipe.Sample.csproj] /workspaces/runtime/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventSource.cs(1350,9): Trim analysis error IL2121: System.Diagnostics.Tracing.EventSource.WriteEventWithRelatedActivityIdCore(Int32, Guid*, Int32, EventData*): Unused 'UnconditionalSuppressMessageAttribute' for warning 'IL2112'. Consider removing the unused warning suppression. [/workspaces/runtime/src/mono/sample/wasm/browser-eventpipe/Wasm.Browser.EventPipe.Sa mple.csproj] ILLink : Trim analysis error IL2121: System.Resources.ResourceReader.DeserializeObject(Int32): Unused 'UnconditionalSuppressMessageAttribute' for warni ng 'IL2026'. Consider removing the unused warning suppression. [/workspaces/runtime/src/mono/sample/wasm/browser-eventpipe/Wasm.Browser.EventPipe.Sampl e.csproj] ``` Fixes https://github.com/dotnet/runtime/issues/73933 . * [wasm] Disable tests failing with trimming Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: NAnkit Jain <radical@gmail.com>
-
由 David 提交于
Fix #73750
-
由 Tomas Weinfurt 提交于
* avoid allocation of SafeFreeSslCredentials and SafeDeleteSslContext on Linux * fix quic * fix http * update quic * feedback from review * feedback from review * add IsInvalid * remove obsolete assert * fix failing tests * add IsInvalid overload * use DangerousRelease instead of Dispose * resolve * resolve merge * resolve merge * feedback from review * Apply suggestions from code review Co-authored-by: NStephen Toub <stoub@microsoft.com> Co-authored-by: Nroot <root@linuxclient.linux.contoso.com> Co-authored-by: NStephen Toub <stoub@microsoft.com>
-
由 Miha Zupan 提交于
* Avoid unused NetEventSource code * Move shared WriteEvent helper * Avoid using a hardcoded EventId in test * NextAvailableEventId * Remove redundant EventSource inheritance
-
由 Morgan Creekmore 提交于
-
由 Daniel Svensson 提交于
* Read primitive types more efficient * Allow stream to read more than minimum number of required bytes * Remove pinning and pointer code from array reads * Remove bounds checks from remaing array reads * remove extra unchecked * cleanup code * Start adding tests * Add tests for binary XmlDictionaryReader * cleanup * revert back to old byte read * add test for arrays using "ref" enumeration * add guid test * Try to read while arrays from stream before processing * Write guid arrays as memory on LittleEndian platforms * Update tests to be independent of byte order * FIx bugs introduced in #71752 * Add missing Advance to prevent corruption of reader * Correctly read decimal values
-
由 Michal Strehovský 提交于
The compiler can currently emit an XML file with everything that was emitted into the output object file. This works and it's easily human readable. But the captured information is not very structured and cannot be used to generate aggregate information like 'this assembly contributed X bytes". This adds another dumper format similar to what we do for MIBC and others: it's ECMA-335 based and uses ldtoken/ldstr/ldc to encode the data. This can be used to build better tools. There's currently none but ILDASM, but it would be good to have it for 7.0. Good hackathon project.
-
由 Lakshan Fernando 提交于
* Clean up AOT publish process * Update src/coreclr/nativeaot/BuildIntegration/Microsoft.DotNet.ILCompiler.targets Co-authored-by: NSven Boemer <sbomer@gmail.com> * Update src/coreclr/nativeaot/BuildIntegration/Microsoft.DotNet.ILCompiler.targets Co-authored-by: NSven Boemer <sbomer@gmail.com> * FB and working around running native aot tests * update crossgen2 reference * moving package version change out of a target as per FB * Fix nativeaot test take 2 * disabling a failing test * Clean up AOT publish process * Update src/coreclr/nativeaot/BuildIntegration/Microsoft.DotNet.ILCompiler.targets Co-authored-by: NSven Boemer <sbomer@gmail.com> * Update src/coreclr/nativeaot/BuildIntegration/Microsoft.DotNet.ILCompiler.targets Co-authored-by: NSven Boemer <sbomer@gmail.com> * FB and working around running native aot tests * update crossgen2 reference * moving package version change out of a target as per FB * Fix nativeaot test take 2 * disabling a failing test * Remove TrimMode workaround * work around a test issue * Update src/coreclr/nativeaot/BuildIntegration/Microsoft.DotNet.ILCompiler.SingleEntry.targets Co-authored-by: NSven Boemer <sbomer@gmail.com> * Update src/coreclr/nativeaot/BuildIntegration/Microsoft.DotNet.ILCompiler.SingleEntry.targets Co-authored-by: NSven Boemer <sbomer@gmail.com> * update the version check for package * Cross target support, requires changes from SDK * Change ResolvedTargetILCompilerPack to match SDK changes * FB * Trigger Build to fix interop break Co-authored-by: NSven Boemer <sbomer@gmail.com>
-
由 Andy Gocke 提交于
Co-authored-by: NJeremy Koritzinsky <jekoritz@microsoft.com> Co-authored-by: NJuan Hoyos <juan.hoyos@microsoft.com> Co-authored-by: NAaron Robinson <arobins@microsoft.com> Co-authored-by: NMichal Strehovský <MichalStrehovsky@users.noreply.github.com> Co-authored-by: NJakob Botsch Nielsen <jakob.botsch.nielsen@gmail.com>
-
由 Aaron Robinson 提交于
-
由 Adam Sitnik 提交于
-
https://github.com/dotnet/runtime/issues/57506由 Larry Ewing 提交于
* Remove active issues for https://github.com/dotnet/runtime/issues/57506 * Remove AssemblyInfo.cs references
-
由 Hong Li 提交于
* Fix issue#37970 * update after CR feedback * add unit test and add escapt to default * fix PR per code review feedback * nit fixing * remove extra file
-
由 hoangh 提交于
* Make public EventBookmark's constructor and BookmarkText property * Add XML documentation for System.Diagnostic.Eventing.Reader.EventBookmark * Add NETCoreApp condition for EventBookmark public properties and unit tests * Change property name EventBookmark.BookmarkText to EventBookmark.BookmarkXml
-
由 Miha Zupan 提交于
-
由 Jo Shields 提交于
-
由 Stephen Toub 提交于
In almost every place we use {Last}IndexOf{Any} for a given character or set of characters, we can use {Last}IndexOfAnyExcept for the negated counterpart. This leads to cleaner generated code, and for longer searches, benefits from vectorization. This includes: - In set loops of a small number of negated chars, finding the end of the loop with IndexOfAnyExcept. - In loops followed by a set of a small number of negated chars, using LastIndexOfAnyExcept to find the next location to which to backtrack. - In Singleline .*? lazy loops followed by a set of a small number of negated chars, using IndexOfAnyExcept to find the next location to backtrack to. - In unbounded atomic one and set loops, using IndexOfAnyExcept to find the end of the loop The two places we don't currently use IndexOf* but don't use the *Except variants are: - As part of TryFindNextPossibleStartingPosition. There appear to be relatively few patterns in the wild this would benefit, and we'd need custom logic for finding the set of negated starting characters. - As part of backtracking in a non-Singleline lazy loop. It needs to search for the target plus a \n, which works well when the target is a non-negated char (as it just adds the char to the set of things to search for) but doesn't when working with a negated char (as then different elements of the search have different polarities).
-
由 Egor Bogatov 提交于
Co-authored-by: NMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
-
由 Kunal Pathak 提交于
* Show address offsets in hex * fix the rebase errors * Add support for arm
-
https://github.com/dotnet/runtime由 dotnet-maestro[bot] 提交于
Microsoft.NET.Sdk.IL , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.DotNetHost , Microsoft.NETCore.DotNetHostPolicy , Microsoft.NETCore.ILAsm , runtime.native.System.IO.Ports , System.Text.Json From Version 7.0.0-rc.1.22407.4 -> To Version 7.0.0-rc.1.22414.6 Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
-
由 Robert Henry 提交于
-
由 Tom Deseyn 提交于
* Unix: Move 'FileNotFound to DirectoryNotFound' handling to GetExceptionForIoErrno. On Windows, APIs throw DirectoryNotFoundException instead of FileNotFoundException when the base components of a path don't exist. SafeFileHandle, and FileSystemInfo have some specific code to detect that case and to the same on Unix. This change moves that mapping to Interop.IOErrors so it applies to all users of GetExceptionForIoErrno. * Fix OSX test failure. * Fix wasm build. * Review usage of CheckIo/GetExceptionForIoErrno. * Call Directory.Exists instead of using Stat.
-
由 Jeremy Barton 提交于
Utilize the new CertificateChainPolicy option to avoid the second chain build, and remove the need for an AIA fetch of the intermediate. Also changes Assert.Contains with a predicate to build an array, so it pretty-prints better.
-
由 Thays Grazia 提交于
* Implement support to dotnet.setDebuggerProperty from dap and give the Wasm programmer a better debugging experience. * Fix tests.
-
由 Ivan Diaz Sanchez 提交于
* Added a check to allow DLL's with bad debug directory sizes to be used by Crossgen2. Instead of failing unnecessarily, it now emits a warning. * Implemented the suggested PEReader extension method, instead of dealing with exceptions and regional issues. * Removed unnecessary 'using' statement. * Fixed the remaining 'unsafe' Debug Directory reading points within this codebase. * Added a missing 'const' modifier for a constant value. Co-authored-by: NSeeker186 <101211595+Seeker186@users.noreply.github.com>
-
由 dependabot[bot] 提交于
Bump Newtonsoft.Json from 12.0.3 to 13.0.1 in /src/libraries/Common/tests/System/Net/Prerequisites/NetCoreServer (#71180) * Bump Newtonsoft.Json Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 12.0.3 to 13.0.1. - [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases) - [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/12.0.3...13.0.1) --- updated-dependencies: - dependency-name: Newtonsoft.Json dependency-type: direct:production ... Signed-off-by: Ndependabot[bot] <support@github.com> * Update src/libraries/Common/tests/System/Net/Prerequisites/NetCoreServer/NetCoreServer.csproj Co-authored-by: NAdeel Mujahid <3840695+am11@users.noreply.github.com> Signed-off-by: Ndependabot[bot] <support@github.com> Co-authored-by: Ndependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: NMiha Zupan <mihazupan.zupan1@gmail.com> Co-authored-by: NAdeel Mujahid <3840695+am11@users.noreply.github.com>
-
- 15 8月, 2022 13 次提交
-
-
由 Michal Strehovský 提交于
Adds support for command line (--descriptor)/property (TrimmmerRootDescriptor) flag with a descriptor.xml file on it. Adds a new node to represent a non-embedded descriptor node Changes program targets to support new functionality Adds tests
-
由 Miha Zupan 提交于
-
由 Marek Fišera 提交于
[wasm] Unmanaged structs are considered blittable if module has `DisableRuntimeMarshallingAttribute` (#73310) * [wasm] Unmanaged structs are considered blittable if module has DisableRuntimeMarshallingAttribute. * Look for the DisableRuntimeMarshallingAttribute on the assembly where pinvoke method is declared. - Cache DisableRuntimeMarshallingAttribute on assembly. - Test without DisableRuntimeMarshallingAttribute. * WasmBuildNative only without AOT. * Unit test with struct in different assembly. * Update, and add some additional tests * [wasm] PInvokeTableGenerator: Avoid crash when processing unmanaged callbacks with function pointers. Co-authored-by: NAnkit Jain <radical@gmail.com>
-
由 Michal Strehovský 提交于
-
由 Michal Strehovský 提交于
-
由 Pavel Savara 提交于
* wip * wip * wip * Single instance in create method. * withMainAssembly * withAsyncFlushOnExit * Fix exporting INTERNAL api. Move all legacy API object creation to dotnet.es6.post.js where module export is created. * fix release build * Move virtualWorkingDirectory initialization to the create method, so it is used in both scenarios (run & create). * Fix applicationArguments in templates. * Update WBT. * Fix ENVIRONMENT_IS_*. * Move pthreadPoolSize to MonoConfig (from internal). Fix merge error. * Fix ConsolePublishAndRun. * Update readme.md in templates. * Update WasmAppHost to always pass application arguments as query string. Add API for parsing applications arguments passed by the WasmAppHost. Co-authored-by: NMarek Fišera <mara@neptuo.com>
-
由 Miha Zupan 提交于
* Unify MaxResponseHeadersLength calculations * Fix ClientSettingsReceived_Success HTTP3 test * Add regression test * Add MaxResponseHeadersLength tests for H2 and H3 * Try to handle WinHttpHandler NetFX tests * Skip H2 tests on WinHttpHandler without ALPN * Try a different condition
-
由 Thays Grazia 提交于
* Session id can be different if there is a redirect, but the message id is sequential. * Also we need another test because Debugger.enable can return an error.
-
由 N0D4N 提交于
-
https://github.com/dotnet/llvm-project由 dotnet-maestro[bot] 提交于
[main] Update dependencies from dotnet/llvm-project
-
由 Vladimir Sadov 提交于
* Fix a stress crash in thread detach at process shutdown. * release alloc context
-
由 Shay Rojansky 提交于
Make sure we don't accidentally set our state to initialized when an exception occurs. Related to #73874.
-
由 Eric Erhardt 提交于
-