Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

Merge master to nmirror #5466

Closed
wants to merge 86 commits into from
Closed

Merge master to nmirror #5466

wants to merge 86 commits into from

Commits on Feb 17, 2018

  1. ILCompiler.sln update done by VS

    jkotas authored and MichalStrehovsky committed Feb 17, 2018
    Configuration menu
    Copy the full SHA
    a2c3a6a View commit details
    Browse the repository at this point in the history
  2. Add missing Marshal.ThrowExceptionForHR for CoreRT

    CoreRT is using System.Runtime.Extensions.dll compiled for CoreCLR, not CoreRT. System.Runtime.Extensions depends on Marshal.ThrowExceptionForHR in CoreLib.
    
    Also made Marshal.ThrowExceptionForHR to throw COMException instead PlatformNotSupportedException for CoreRT without COM interop support. It should eventually probably map the HResult to exception even without the COM support once the interop is factored better.
    
    Fixes #5373
    jkotas authored and MichalStrehovsky committed Feb 17, 2018
    Configuration menu
    Copy the full SHA
    b392501 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2018

  1. Merge pull request #5401 from dotnet/nmirror

    Merge nmirror to master
    jkotas authored Feb 18, 2018
    Configuration menu
    Copy the full SHA
    0f49d90 View commit details
    Browse the repository at this point in the history
  2. Inlinable MulticastDelegate == (#5399)

    Port dotnet/coreclr#16431 to CoreRT
    jkotas authored Feb 18, 2018
    Configuration menu
    Copy the full SHA
    5ee4026 View commit details
    Browse the repository at this point in the history
  3. Delete workaround for #16197 (dotnet/coreclr#16433)

    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    jkotas committed Feb 18, 2018
    Configuration menu
    Copy the full SHA
    c9aea0c View commit details
    Browse the repository at this point in the history
  4. Typos (#5403)

    * accommondate -> accommodate
    
    * aligment -> alignment
    
    * apppropriate -> appropriate
    
    * artifically -> artificially
    
    * artifical -> artificial
    
    * gaurantee -> guarantee
    
    * Asssembly -> Assembly
    
    * asychnronously -> asynchronously
    github-john-doe authored and jkotas committed Feb 18, 2018
    Configuration menu
    Copy the full SHA
    93e77d9 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2018

  1. Add openSUSE instructions (#5407)

    Seems like this got unblocked and I was able to get a clean build and test run with this.
    
    Fixes #2856.
    MichalStrehovsky authored Feb 19, 2018
    Configuration menu
    Copy the full SHA
    99cf34f View commit details
    Browse the repository at this point in the history
  2. Fix build-and-run-test.cmd for VS 2017 (#5411)

    We stopped supporting VS 2015 a while ago, but running CoreCLR tests didn't actually work without it because we forgot to update a place.
    MichalStrehovsky authored Feb 19, 2018
    Configuration menu
    Copy the full SHA
    104cae1 View commit details
    Browse the repository at this point in the history
  3. Typos (#5414)

    * begining -> beginning
    
    * boundry -> boundary
    
    * cachced -> cached
    
    * calback -> callback
    
    * callled -> called
    
    * chosing -> choosing
    
    * clearded -> cleared
    
    * commiting -> committing
    
    * Compactiony -> Compaction
    
    * contruct -> construct
    
    * cooresponding -> corresponding
    
    * coresponding -> corresponding
    
    * cuase -> cause
    github-john-doe authored and jkotas committed Feb 19, 2018
    Configuration menu
    Copy the full SHA
    b47895e View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2018

  1. Update CoreCLR tests (#5412)

    Picks up the latest version of Pri0 tests (as of yesterday).
    
    There was a massive cleanup of Pri0 tests on the CoreCLR side so we now run only about 2000 tests. Hopefully, they're more representative now. Most of what we picked as "Top200" was no longer part of the Pri0 suite, so I made a new one.
    
    We might want to consider switching to Pri1 for the rolling builds.
    MichalStrehovsky authored Feb 20, 2018
    Configuration menu
    Copy the full SHA
    1c7f560 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2018

  1. Replace ValueStringBuilder.set_Length with indexer (dotnet/corefx#27274)

    Indexer that let's you see and edit the content of the pending string is more efficient and flexible.
    
    Fixes #26643
    
    Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    jkotas committed Feb 21, 2018
    Configuration menu
    Copy the full SHA
    ca0fefa View commit details
    Browse the repository at this point in the history
  2. Add TryGetOwnedMemory (dotnet/coreclr#16455)

    * Add TryGetOwnedMemory
    
    * Feedback
    
    * spelling
    
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    benaadams authored and jkotas committed Feb 21, 2018
    Configuration menu
    Copy the full SHA
    94b4f26 View commit details
    Browse the repository at this point in the history
  3. Moved extensions.cs to shared folder in coreclr (dotnet/coreclr#16459)

    * Moved extensions.cs to shared folder
    
    * added to shared to projItems
    
    * Added new constructor
    
    * Parameter Named Changed
    
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    Anipik authored and jkotas committed Feb 21, 2018
    Configuration menu
    Copy the full SHA
    bb39587 View commit details
    Browse the repository at this point in the history
  4. Dial back aggressive checks in Path (dotnet/coreclr#16447)

    * Dial back aggressive checks in Path
    
    Aggressive checks are preventing crossplat and extended Windows solutions. This change:
    
    - Doesn't throw on empty paths fro GetDirectoryName, GetPathRoot
    - Doesn't consider colon when looking at path segments on Windows
    - Moves non-shared code out of PathInternal
    - Fix span GetDirectoryName to handle multiple separators
    
    * Comment updates
    
    * Check for valid drive letter with PathRoot
    Remove other usages of PathSkip (related to #16311)
    
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    JeremyKuhne committed Feb 21, 2018
    Configuration menu
    Copy the full SHA
    169add3 View commit details
    Browse the repository at this point in the history
  5. Fix Marshal.GetDelegateForFunctionPointer to throw exception when it …

    …cannot create the stub (#5406)
    
    - Remove WINRT ifdef from GetDelegateForFunctionPointer to consistently throw MissingInteropDataException instead of returning null. Fixes #5162.
    - Move McgPInvokeData set of structure to System.Private.Interop since it is MCG specific
    - Rename a few things for consistency (e.g. PInvokeMarshal.GetPInvokeDelegateForStub did not make sense since it operates on user supplied function pointers, not stubs)
    jkotas authored Feb 21, 2018
    Configuration menu
    Copy the full SHA
    f5e1531 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2018

  1. Delete unnecessary MarshalImpl abstraction (#5404)

    MarshalImpl is an extra layer without clear purpose. Also made MarshalAdapter to be included in CoreCLR/Mono builds only.
    jkotas authored Feb 22, 2018
    Configuration menu
    Copy the full SHA
    9f7f0f7 View commit details
    Browse the repository at this point in the history
  2. Fix TryGetOwnedMemory xml docs

    Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    benaadams authored and jkotas committed Feb 22, 2018
    Configuration menu
    Copy the full SHA
    8511874 View commit details
    Browse the repository at this point in the history
  3. Fix F5 debugging of ILCompiler project (#5422)

    Trying to debug ILCompiler in Visual Studio was failing with missing assemblies. The problem was caused by recently added libLLVMdep.depproj reference that made NuGet delete certain files from the output tools directory. The fix is to move the .depproj reference to a different part of the build next to other similar .depproj reference where it won't be confusing NuGet.
    jkotas authored and MichalStrehovsky committed Feb 22, 2018
    Configuration menu
    Copy the full SHA
    5ec6a6b View commit details
    Browse the repository at this point in the history
  4. Fix Span Debugger Display String to correctly show the string content…

    …s (#27338)
    
    Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    ahsonkhan committed Feb 22, 2018
    Configuration menu
    Copy the full SHA
    a6f4f0c View commit details
    Browse the repository at this point in the history
  5. Remove OwnedFlagBit from TryGetOwnedMemory index

    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    benaadams authored and ahsonkhan committed Feb 22, 2018
    Configuration menu
    Copy the full SHA
    3bd976e View commit details
    Browse the repository at this point in the history
  6. Fix impl of ReadOnlySpan ToLower/ToUpper for Unix. (dotnet/coreclr#16496

    )
    
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    ahsonkhan authored and jkotas committed Feb 22, 2018
    Configuration menu
    Copy the full SHA
    836dc8b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    fbc2369 View commit details
    Browse the repository at this point in the history
  8. Fix typo

    luqunl authored and luqunl committed Feb 22, 2018
    Configuration menu
    Copy the full SHA
    14766e5 View commit details
    Browse the repository at this point in the history
  9. Merge branch 'master' of https://github.com/dotnet/corert into CA2111

    luqunl authored and luqunl committed Feb 22, 2018
    Configuration menu
    Copy the full SHA
    38969a9 View commit details
    Browse the repository at this point in the history
  10. Add CoreLib helpers for MemoryExtensions.AsSpan/AsMemory(T[], int) (#…

    …16505)
    
    * Add CoreLib helpers for MemoryExtensions.AsSpan/AsMemory(T[], int)
    
    (Part of https://github.com/dotnet/corefx/issues/26894)
    
    We intentionally don't have (T[], int] constructor overloads
    for Span and Memory. So as not to incur unnecessary argument checks,
    we implement this directly in CoreLib and will invoke it from
    CoreFx for the fast-Span version.
    
    * Expose an internal array-int constructor instead.
    
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    atsushikan authored and jkotas committed Feb 22, 2018
    Configuration menu
    Copy the full SHA
    c41effa View commit details
    Browse the repository at this point in the history
  11. Remove most preemptive checks from GetFullPath (dotnet/coreclr#16478)

    * Removing the colon block that tosses out paths that are not device path.
    
    Fixes: #26359
    
    * Striping 2nd and 3rd args of PathHelper.Normalize
    
    * Build on Maryam's changes
    
    - Remove all path validity checks outside of
        - Null
        - Embedded null
        - Empty or all spaces (effectively empty)
    - Remove PathStartSkip helper
    - Use span overloads for StringBuffer usage
    - Clean up some comments
    
    * Address feedback
    
    * Tweak to match other AsSpan methods
    
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    JeremyKuhne committed Feb 22, 2018
    Configuration menu
    Copy the full SHA
    0150a35 View commit details
    Browse the repository at this point in the history
  12. Add ReadOnlySpan string-like Equals/CompareTo/IndexOf/Contains API wi…

    …th globalization support (#16467)
    
    * Add ReadOnlySpan string-like Equals/CompareTo/IndexOf/Contains API with globalization support
    
    * Address PR feedback.
    
    * Fix unix implementation
    
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    ahsonkhan committed Feb 22, 2018
    Configuration menu
    Copy the full SHA
    cdd30fe View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    7f4c85e View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    113e123 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2018

  1. Update buildtools (#5426)

    jkotas authored Feb 23, 2018
    Configuration menu
    Copy the full SHA
    7d27b46 View commit details
    Browse the repository at this point in the history
  2. Typos (#5433)

    * decommand -> demand
    
    * definfed -> defined
    
    * dependen -> dependent
    
    * dequed -> deque
    
    * derefencing -> dereferencing
    
    * detemine -> determine
    
    * deterine -> determine
    
    * differenct -> different
    github-john-doe authored and jkotas committed Feb 23, 2018
    Configuration menu
    Copy the full SHA
    3f2a82a View commit details
    Browse the repository at this point in the history
  3. Rename string-slicing extension methods (dotnet/corefx#27328)

    * Rename string-slicing extension methods
    
    As part of
    
    https://github.com/dotnet/corefx/issues/26894
    
    the api folks have approved renaming AsROSpan and AsROMemory
    on string instances to AsSpan and AsMemory (as the "readonly"
    is obvious given the read-only nature of the input.)
    
    This puts the renaming in effect. Basically a big search-replace
    commit.
    
    * Fix OpenSSL build break
    
    * I see this is going to be a treadmill
    
    Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    atsushikan authored and jkotas committed Feb 23, 2018
    Configuration menu
    Copy the full SHA
    3e18a9c View commit details
    Browse the repository at this point in the history
  4. AsReadOnlySpan -> AsSpan rename to fix build breaks

    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    jkotas committed Feb 23, 2018
    Configuration menu
    Copy the full SHA
    662ed2f View commit details
    Browse the repository at this point in the history
  5. Remove StringBuffer and use ValueStringBuilder (dotnet/coreclr#16512)

    * Remove StringBuffer and use ValueStringBuilder
    
    * Address initial feedback
    
    * Address further feedback
    
    * Address some more feedback
    
    * Put back the temporary builder for output.
    
    * Make the temp var ref
    
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    JeremyKuhne committed Feb 23, 2018
    Configuration menu
    Copy the full SHA
    722dcf7 View commit details
    Browse the repository at this point in the history
  6. Generate a constructed EEType for constrained tokens (#5437)

    `CorInfoTokenKind.CORINFO_TOKENKIND_Constrained` means RyuJIT is asking for a type handle with the purpose of boxing it.
    
    This fixes:
    
    ```csharp
    struct Foo { }
    void Main() { Foo f = default; f.GetHashCode() }
    ```
    
    We were trying to execute bogus memory because unconstructed types don't have vtables.
    MichalStrehovsky authored and jkotas committed Feb 23, 2018
    Configuration menu
    Copy the full SHA
    883475b View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2018

  1. Convert ILVerify, ILVerification and ILVerification.Tests to old build (

    #5351)
    
    * Convert ILVerify, ILVerification and ILVerification.Tests to old build
    system
    
    * Respond to PR Feedback
    
    * Change target frameworks add runtime config
    
    * Change accessor and debugging files
    
    * Mirror ILCompiler debugging in ILVerify
    
    * Case change
    
    * Add runtime options property to ILVerify runtime json
    A-And authored Feb 24, 2018
    Configuration menu
    Copy the full SHA
    7a19daf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0ea2734 View commit details
    Browse the repository at this point in the history
  3. Typos (#5441)

    * crtitical -> critical
    
    * elligible -> eligible
    
    * emory -> memory
    
    * enquing -> enqueuing
    
    * enumarate -> enumerate
    
    * eqivalent -> equivalent
    
    * execeptions -> exceptions
    
    * exectuing -> executing
    
    * forceably -> forcibly
    
    * fragmentatioin -> fragmentation
    
    * fragramented -> fragmented
    
    * geneated -> generated
    
    * generaion -> generation
    
    * handes -> handles
    
    * higest -> highest
    github-john-doe authored and jkotas committed Feb 24, 2018
    Configuration menu
    Copy the full SHA
    b65389a View commit details
    Browse the repository at this point in the history
  4. Address more stacktrace print issues (dotnet/coreclr#16525)

    * Fix newline issue/duplicate message on Contract failures
    
    * make it work on Unix as well
    
    * cleanup
    
    * Add a newline between error/user messages and stacktrace
    
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    sywhang authored and jkotas committed Feb 24, 2018
    Configuration menu
    Copy the full SHA
    0969a05 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2018

  1. Return empty array if length is zero (dotnet/coreclr#16529)

    * Return empty array if length is zero
    
    * Return true
    
    * Add support for portable system
    
    * Use portable span helper instead of Array.Empty
    
    * Move to end
    
    * Remove else
    
    * Return empty array if length is 0 in MemoryMarshal
    
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    kasper3 authored and jkotas committed Feb 25, 2018
    Configuration menu
    Copy the full SHA
    b6862cc View commit details
    Browse the repository at this point in the history
  2. Fix path issues (dotnet/coreclr#16554)

    Path tests weren't running so a few issues sneaked in.
    
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    JeremyKuhne authored and jkotas committed Feb 25, 2018
    Configuration menu
    Copy the full SHA
    eba3660 View commit details
    Browse the repository at this point in the history
  3. Fixed NaN's GetHashCode and Equals invariant issue. (dotnet/coreclr#1…

    …6551)
    
    Fix #6237
    
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    jkotas committed Feb 25, 2018
    Configuration menu
    Copy the full SHA
    d1d8438 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2018

  1. Typos (#5447)

    * interruptbile -> interruptible
    
    * legnth -> length
    
    * neccessary -> necessary
    
    * neeed -> need
    
    * occurance -> occurrence
    
    * occuring -> occurring
    
    * otheriwse -> otherwise
    
    * Ouput -> Output
    
    * Ouput -> Output
    
    * peformed -> performed
    github-john-doe authored and jkotas committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    c8ccd5b View commit details
    Browse the repository at this point in the history
  2. Move check for IsByRefLike to MakeArrayType (#5439)

    Having a call to `IsByRefLike` in the type unifier meant that an app that uses a simple `typeof()` would require the full reflection stack to be present in the image (all of the custom attribute resolution, method resolution, etc.).
    
    This is a step towards having a more pay for play framework (a hello world EXE really should not have the full reflection stack compiled in it).
    MichalStrehovsky authored and jkotas committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    10dfb18 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2018

  1. Fix ascii range check (dotnet/coreclr#16535)

    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    benaadams authored and jkotas committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    35d4e5f View commit details
    Browse the repository at this point in the history
  2. Avoid async method caching of a 0 decimal task

    Port CoreCLR #16588. This is under #if 0 in CoreRT right now, but it does not hurt to keep it in sync.
    jkotas committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    6c00058 View commit details
    Browse the repository at this point in the history
  3. Remove reflection in ValueType.Equals/GetHashCode (#5436)

    The implementation relies on a new virtual method on `System.ValueType` that provides information about fields on a type. An override of this method is injected by the compiler when needed.
    
    This implementation is different from what Project N does (where we inject actual overrides of both methods). The CoreRT implementation is a bit more space-saving because there is only one method that does fewer things.
    
    This ends up being a 0.9% regression in size of a hello world app, but we do get some correctness with it and a potential to get the reflection stack completely out of the base hello world image (that one will be a huge win). We can get some of the regression back by:
    
    * Getting RyuJIT to generate more efficient code for the offset calculation (dotnet/coreclr#16527)
    * Making fewer things reflectable. We're currently generating the data for e.g. OSVERSIONINFO because it's used as a parameter in a method that is reflectable, and therefore the parameter gets boxed, and therefore it needs this data. It also drags in a fixed buffer internal type because it's a valuetype field on OSVERSIONINFO. This alone costs us 100+ bytes.
    MichalStrehovsky authored Feb 27, 2018
    Configuration menu
    Copy the full SHA
    32758a8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b2b821b View commit details
    Browse the repository at this point in the history
  5. Merge pull request #5453 from dotnet/nmirror

    Merge nmirror to master
    MichalStrehovsky authored Feb 27, 2018
    Configuration menu
    Copy the full SHA
    d52d8d6 View commit details
    Browse the repository at this point in the history
  6. Add MemoryExtensions to CoreLib along with necessary SpanHelpers (#16…

    …521)
    
    * Add MemoryExtensions to CoreLib along with necessary SpanHelpers
    
    * Make the newly added AsSpan/AsMemory into array extension methods.
    
    * Remove StringSpanHelpers.Trim
    
    * Leftover AsReadOnlySpan -> AsSpan for *Unix.cs files
    
    * Address PR feedback.
    
    * Remove duplicate methods in the Span class.
    
    * Temporarily disable AsBytes SpanBench test.
    
    * Add back AsBytes
    
    * Re-enable AsBytes SpanBench test
    
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    ahsonkhan committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    52f2faa View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5743efa View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    df9b390 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3b4db04 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2018

  1. Configuration menu
    Copy the full SHA
    42cf2d2 View commit details
    Browse the repository at this point in the history
  2. Event pipe guid in metadata (#16316), fixes #16105

    * some refactor to remove dumplicated code in tests and make them fit 1 screen
    
    * write the failing test for no activity id
    
    * use 17, the "free slot" of TypeCode enum to represent Guid in event pipe metadata
    
    * remove the test which would not pass until new trace event is released and Event Pipe enabled for Windows
    
    * added comment to TypeCode about using the value 17
    
    * post code review fixes (thanks @justinvp)
    
    * post code review fixes (thanks @brianrob)
    
    * refactor the rest of event pipe tests to use NetPerfFile helper
    
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    adamsitnik authored and jkotas committed Feb 28, 2018
    Configuration menu
    Copy the full SHA
    03379df View commit details
    Browse the repository at this point in the history
  3. Bug in GetFullPath(basePath, Path) (dotnet/coreclr#16598)

    * GetFullPath and GetRootLength Corrected
    
    * Removed getpathroot
    
    * using span
    
    * "\\" changed to @"\"
    
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    Anipik authored and jkotas committed Feb 28, 2018
    Configuration menu
    Copy the full SHA
    76899b2 View commit details
    Browse the repository at this point in the history
  4. Implement intrinsic call to RuntimeHelpers.InitializeArray for WASM (#…

    …5377)
    
    * Implement intrinsic call to InitializeArray.
    
    RuntimeHelpers.InitializeArray is implemented as a call to LLVM
    intrinsic llvm.memcpy.p0i8.p0i8.i32, which copies from generated global
    constant to provided target array.
    
    Currently the base size of the array object is hardcoded to 8, since no
    EEType is provided in the intrinsic call.
    
    Fix #5345.
    
    Add testing code for InitializeArray in HelloWasm.
    
    Roslyn generates RuntimeHelpers.InitializeArray for arrays of integral
    types with initializer of length greater or equal than 3. Here we use
    this feature to generate a call to RuntimeHelpers.InitializeArray for
    test.
    
    Catagorize array argument types in InitializeArray
    
    Differently handle vectors, multidimensional arrays and object typed
    arrays in InitializeArray intrinsic.
    Blealtan authored and morganbr committed Feb 28, 2018
    Configuration menu
    Copy the full SHA
    beff0a4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    dec8722 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    026c934 View commit details
    Browse the repository at this point in the history
  7. Cache the results of CanCompareValueTypeBits (#5468)

    This is a recursive algorithm and there's a pathological test in the CoreCLR test assets that has been timing out ever since the code was introduced.
    
    Made the cache a bit more general purpose, since I'm expecting this to be reused for more things later.
    MichalStrehovsky authored Feb 28, 2018
    Configuration menu
    Copy the full SHA
    ba5f5c6 View commit details
    Browse the repository at this point in the history
  8. Tests For GetPathRoot and Enabling NormalizeDirectorySeparatorTests (…

    …#27494)
    
    Corrects its Implementation too
    
    Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    Anipik committed Feb 28, 2018
    Configuration menu
    Copy the full SHA
    1039ab1 View commit details
    Browse the repository at this point in the history
  9. Add Path.Join() methods. (dotnet/coreclr#16561)

    * Add Path.Join() methods.
    
    See #25536.
    
    * Address feedback and fix a couple issues now that I've got tests running correctly.
    
    * Update per final API approval
    
    * Fix Unix, remove redundant helper.
    
    * Merge and tweak join methods in GetFullPath(string, string)
    
    * Tweak again
    
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    JeremyKuhne authored and Anipik committed Feb 28, 2018
    Configuration menu
    Copy the full SHA
    117da3f View commit details
    Browse the repository at this point in the history
  10. Merge pull request #4970 from luqunl/CA2111

    Add CA2111 SuppressMessage for these MSDN documented public Pointers
    luqunl authored Feb 28, 2018
    Configuration menu
    Copy the full SHA
    2a84384 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2018

  1. Configuration menu
    Copy the full SHA
    552e76b View commit details
    Browse the repository at this point in the history
  2. Fix ILVerification.Tests project (#5471)

    * Use correct name to fetch embedded resource
    
    * Fix the test project
    
    * Use GetTypeInfo().Assembly
    jcouv authored and jkotas committed Mar 1, 2018
    Configuration menu
    Copy the full SHA
    3a7b082 View commit details
    Browse the repository at this point in the history
  3. Edits to fix conflicts in generated Vector.cs file (dotnet/coreclr#16666

    )
    
    Fixed minor space changes and one syntax error that causes conflict between checked in Vector.cs file and the freshly auto-generated Vector.cs file.
    
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    WinCPP authored and stephentoub committed Mar 1, 2018
    Configuration menu
    Copy the full SHA
    d8f83eb View commit details
    Browse the repository at this point in the history
  4. Fix GetPathRoot issues (dotnet/corefx#27572)

    Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    JeremyKuhne authored and stephentoub committed Mar 1, 2018
    Configuration menu
    Copy the full SHA
    3ce16d3 View commit details
    Browse the repository at this point in the history
  5. Add back argument check for TypeForwardedFromAttribute (#16680)

    Fixes dotnet/corefx#27554
    
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    jkotas committed Mar 1, 2018
    Configuration menu
    Copy the full SHA
    8b3392c View commit details
    Browse the repository at this point in the history
  6. Remove span helpers, use mirrored PathInternal helper (#27585)

    * Remove span helpers, use mirrored PathInternal helper
    
    Remove other unnecessary helpers (notably with Path.Join available)
    
    * Fix Unix
    
    Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    JeremyKuhne authored and stephentoub committed Mar 1, 2018
    Configuration menu
    Copy the full SHA
    56566b7 View commit details
    Browse the repository at this point in the history
  7. Merge pull request dotnet/coreclr#16618 from stephentoub/valuetaskext…

    …ensibility
    
    Implement ValueTask extensibility
    
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    stephentoub committed Mar 1, 2018
    Configuration menu
    Copy the full SHA
    d270a3d View commit details
    Browse the repository at this point in the history
  8. Improve MemoryMarshal.Cast (dotnet/coreclr#16659)

    Avoid unnecessary checked and signed arithmetic. Handle special cases such as cast between same size types and from byte sized types, the JIT is unable to optimize these cases currently.
    
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    mikedn authored and stephentoub committed Mar 1, 2018
    Configuration menu
    Copy the full SHA
    b5fd1da View commit details
    Browse the repository at this point in the history
  9. Adjust System.Threading.Tasks.Extensions for IValueTaskSource

    Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    stephentoub committed Mar 1, 2018
    Configuration menu
    Copy the full SHA
    d6fb9d4 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    1c2ba39 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2018

  1. Remove Span.NonGenerics and update leftover AsRoS -> AsSpan changes (…

    …#16689)
    
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    ahsonkhan committed Mar 2, 2018
    Configuration menu
    Copy the full SHA
    2cadd05 View commit details
    Browse the repository at this point in the history
  2. Move MemoryExtensions.TryGetString to MemoryMarshal and remove TryGet…

    …Array (#16692)
    
    * Remove Span.NonGenerics and update leftover AsRoS -> AsSpan changes
    
    * Move MemoryExtensions.TryGetString to MemoryMarshal and remove TryGetArray
    
    * Move TryGetString to common MemoryMarshal.cs
    
    * Remove the `this` keyword, not an extension method
    
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    ahsonkhan committed Mar 2, 2018
    Configuration menu
    Copy the full SHA
    979dbf5 View commit details
    Browse the repository at this point in the history
  3. Change several ValueTask properties to methods (dotnet/coreclr#16691)

    These do unsafe casts on an object, and we don't want a debugger's automatic evaluation accidentally invoking them.  That means either making them methods or adding [DebuggerBrowsable(DebuggerBrowsableState.Never)], and the former seems cleaner.
    
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    stephentoub authored and ahsonkhan committed Mar 2, 2018
    Configuration menu
    Copy the full SHA
    190c122 View commit details
    Browse the repository at this point in the history
  4. Improve Dictionary FindEntry CQ

    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    benaadams authored and ahsonkhan committed Mar 2, 2018
    Configuration menu
    Copy the full SHA
    8c6b8b6 View commit details
    Browse the repository at this point in the history
  5. Improve Dictionary TryInsert CQ

    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    benaadams authored and ahsonkhan committed Mar 2, 2018
    Configuration menu
    Copy the full SHA
    c743aa7 View commit details
    Browse the repository at this point in the history
  6. Use EqualityComparer<TKey>.Default Intrinsic

    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    benaadams authored and ahsonkhan committed Mar 2, 2018
    Configuration menu
    Copy the full SHA
    5fd81e2 View commit details
    Browse the repository at this point in the history
  7. 1-base Dictionary buckets to reduce initalization

    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    benaadams authored and ahsonkhan committed Mar 2, 2018
    Configuration menu
    Copy the full SHA
    e0c6a33 View commit details
    Browse the repository at this point in the history
  8. Fix build break

    jkotas authored and ahsonkhan committed Mar 2, 2018
    Configuration menu
    Copy the full SHA
    ed0b32e View commit details
    Browse the repository at this point in the history
  9. Work around MCG bug around ref char marshalling (#5481)

    The change in the P/invoke signature that came from CoreCLR triggers a bug in MCG on the TFS side.
    MichalStrehovsky authored and jkotas committed Mar 2, 2018
    Configuration menu
    Copy the full SHA
    0df42ba View commit details
    Browse the repository at this point in the history
  10. Fix Adar month name in Hebrew calendar (dotnet/coreclr#16697)

    The returned data from ICU has 6th month name as 'Adar I' and 7th month name as 'Adar'
    We need to adjust that in the list used with non-leap year to have 6th month as 'Adar' and 7th month as 'Adar II'
    note that when formatting non-leap year dates, 7th month shouldn't get used at all.
    
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    tarekgh authored and jkotas committed Mar 2, 2018
    Configuration menu
    Copy the full SHA
    e896db3 View commit details
    Browse the repository at this point in the history
  11. Vectorize String.IndexOf(char) and String.LastIndexOf(char) (#16392)

    * Vectorize String.IndexOf(char) using the same algorithm as SpanHelpers
    IndexOf(byte).
    
    * Respond to feedback.
    
    * Vectorize String.LastIndexOf
    
    Clean up IndexOf vectorization.
    
    Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
    eerhardt authored and jkotas committed Mar 2, 2018
    Configuration menu
    Copy the full SHA
    abb0ce0 View commit details
    Browse the repository at this point in the history
  12. CppCodeGen workaround

    jkotas committed Mar 2, 2018
    Configuration menu
    Copy the full SHA
    fb52cf9 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    5ae871c View commit details
    Browse the repository at this point in the history