Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge master to master-vs-deps #4

Closed
wants to merge 55 commits into from

Commits on Jan 12, 2020

  1. Configuration menu
    Copy the full SHA
    cd8d2f9 View commit details
    Browse the repository at this point in the history
  2. Green: Naïve implementation

    Drawbacks:
    * Only covers cases where the invocation is nested within an executable statement
    * Performs abysmally due to creating a whole speculative semantic model for the vast majority of invocations, and additionally using GetOperation which is quite slow in general
    
    At some point amongst all the code that runs there is presumably a crucial function which has the rules for binding a name-type syntax into an invocation.
    Ideally we'd find a way to call just that function here on invocationExpression.Expression
    GrahamTheCoder committed Jan 12, 2020
    Configuration menu
    Copy the full SHA
    a37f248 View commit details
    Browse the repository at this point in the history
  3. Refactor: If we're sure it IsOrdinaryMethod VB will invoke it

    (even without an arg list)
    
    It's possible there are some other cases when VB will happily invoke something without an arg list, but since i can't find the relevant spec or code, I'm erring on the side of caution
    GrahamTheCoder committed Jan 12, 2020
    Configuration menu
    Copy the full SHA
    37a230c View commit details
    Browse the repository at this point in the history
  4. Update src/EditorFeatures/Test2/Simplification/ParenthesisSimplificat…

    …ionTests.vb
    
    Co-Authored-By: CyrusNajmabadi <cyrus.najmabadi@gmail.com>
    GrahamTheCoder and CyrusNajmabadi authored Jan 12, 2020
    Configuration menu
    Copy the full SHA
    034aecd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a1e1fcd View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2020

  1. Configuration menu
    Copy the full SHA
    fc98ab9 View commit details
    Browse the repository at this point in the history
  2. Recharacterize test: The symbol is unknown for the context

    Therefore we can't know it's safe to remove parentheses since it could be a delegate
    GrahamTheCoder committed Jan 13, 2020
    Configuration menu
    Copy the full SHA
    73167b9 View commit details
    Browse the repository at this point in the history
  3. Allow explicit Call statement to omit empty arg list in any case

    This is to allow "TestInsertCallIfNecessary3()" to continue to pass.
    Note that the test result isn't fully simplified since it says:
    Call (Sub() Exit Sub)
    instead of
    Call Sub() Exit Sub
    This is outside the scope of this PR
    GrahamTheCoder committed Jan 13, 2020
    Configuration menu
    Copy the full SHA
    c8372cd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7024ac4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    527cc93 View commit details
    Browse the repository at this point in the history
  6. Recharacterize: Broken code goes in, broken code comes out

    There is no parameterless Console.Write hence it doesn't resolve, and Program doesn't exist in the context at all
    Don't think it's worth considering CandidateSymbols since they won't always be correct
    
    Expanding and reducing stuff that doesn't compile sounds generally risky. In a future PR perhaps the expander shouldn't add the parentheses if it can't resolve the symbol.
    GrahamTheCoder committed Jan 13, 2020
    Configuration menu
    Copy the full SHA
    3787058 View commit details
    Browse the repository at this point in the history
  7. Split out method

    GrahamTheCoder committed Jan 13, 2020
    Configuration menu
    Copy the full SHA
    15c29d8 View commit details
    Browse the repository at this point in the history
  8. Allow ExpressionStatement case

    If it wasn't invokable it wouldn't be valid at this point
    GrahamTheCoder committed Jan 13, 2020
    Configuration menu
    Copy the full SHA
    2ce7ea8 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    da06d7e View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2020

  1. Configuration menu
    Copy the full SHA
    1bbbfc2 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2020

  1. Configuration menu
    Copy the full SHA
    f755c7a View commit details
    Browse the repository at this point in the history
  2. Alternative fix for icsharpcode/ILSpy#1908: "MetadataAsSource-transfo…

    …rmed" XML comments contain superfluous /// markers for every line-break in the original comment.
    siegfriedpammer committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    c18368d View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2020

  1. Name suggestions don't contain suggestions starting with a digit.

    Christopher Schütz committed Jan 26, 2020
    Configuration menu
    Copy the full SHA
    7e433f5 View commit details
    Browse the repository at this point in the history
  2. Update src/Features/CSharp/Portable/Completion/CompletionProviders/De…

    …clarationNameCompletionProvider.NameGenerator.cs
    
    Co-Authored-By: CyrusNajmabadi <cyrus.najmabadi@gmail.com>
    chris-dd and CyrusNajmabadi authored Jan 26, 2020
    Configuration menu
    Copy the full SHA
    0b37396 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2020

  1. Add comment for removal of names starting with digits.

    Christopher Schütz committed Jan 27, 2020
    Configuration menu
    Copy the full SHA
    d645604 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2020

  1. Fix bug + add tests

    allisonchou committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    bf2c1d9 View commit details
    Browse the repository at this point in the history
  2. Check if identifier suggestion is a valid identifier, instead of chec…

    …king if the first character is a digit.
    Christopher Schütz committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    da84d8b View commit details
    Browse the repository at this point in the history
  3. Update src/Features/CSharp/Portable/Completion/CompletionProviders/De…

    …clarationNameCompletionProvider.NameGenerator.cs
    
    Co-Authored-By: CyrusNajmabadi <cyrus.najmabadi@gmail.com>
    chris-schuetz and CyrusNajmabadi authored Jan 29, 2020
    Configuration menu
    Copy the full SHA
    a9439ce View commit details
    Browse the repository at this point in the history
  4. Using CSharpSyntaxFactsService.Instance instead of accessing it via D…

    …ocument.GetLanguageService<ISyntaxFactsService>().
    Christopher Schütz committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    186b940 View commit details
    Browse the repository at this point in the history
  5. Fixed unit test and added another test. Moved identifier check behind…

    … the identifier escaping for keywords.
    Christopher Schütz committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    416a1f2 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2020

  1. Use 3.1 SDK for build

    jaredpar committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    71f7b04 View commit details
    Browse the repository at this point in the history
  2. Move to target netcoreapp3.1

    Change Roslyn to target netcoreapp3.1 when building .NET Core assets.
    
    Previously the code targetted a mix of netcoreapp2.1 and netcoreapp3.0.
    The mix is due to default interfaces only being supported on
    netcoreapp3.0 and hence our testing needed to use that. Yet at the same
    time we were required to ship the compiler in SDKS that targetted
    netcoreapp2.1. Now we can universally target netcoreapp3.1.
    jaredpar committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    98da183 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cbc808b View commit details
    Browse the repository at this point in the history
  4. Test Work

    jaredpar committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    5ecae05 View commit details
    Browse the repository at this point in the history
  5. Remove RoslynNetCoreTargetFramework

    Decided to remove the property based approach to specifying a target
    framework to just specifying `netcoreapp3.1` directly. The reason for
    this is the following:
    
    The advantage of the property is it makes it "easy" to change to a new
    target framework in the future. That benefit is actually pretty minimal.
    A simple find and replace operation is **extremely** effective in our
    code base (it's less key strokes than this message). Hence the benefit
    is minimal.
    
    The downside of the property is that our code doesn't look like customer
    code. Or rather it diverges from the practices that we publish. In
    general I prefer to keep our code as standard as possible unless there
    is a good reason to deviate. There just doesn't seem to be one here.
    jaredpar committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    72b58c9 View commit details
    Browse the repository at this point in the history
  6. Fix MS.VB reference

    The TPA now considers the output directory as a trusted place for
    loading assemblies. To the point it will prefer certain DLLs in the
    output directory over equal ones that ship with the runtime.
    
    This broke a number of VB tests here because we unconditionally
    referenced the desktop version of Microsoft.VisualBasic. This got copied
    to the output directory, included in the TPA and hence loaded during
    test execution. This breaks tests because they require the .NET Core
    version of Microsoft.VisualBasic.
    
    Conditioned the reference to be desktop only so it's not present on our
    .NET Core builds
    jaredpar committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    a3add60 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    453cadb View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5b54fdc View commit details
    Browse the repository at this point in the history
  9. Restore TF order

    jaredpar committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    8452561 View commit details
    Browse the repository at this point in the history
  10. Responded to PR feedback

    jaredpar committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    7273097 View commit details
    Browse the repository at this point in the history
  11. PR feedback

    jaredpar committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    5b6d3ee View commit details
    Browse the repository at this point in the history
  12. Remove netcoreapp1.1 support

    jaredpar committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    181b379 View commit details
    Browse the repository at this point in the history
  13. More TF updates

    jaredpar committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    f13a5c6 View commit details
    Browse the repository at this point in the history
  14. Add back SDK install

    jaredpar committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    c6a8067 View commit details
    Browse the repository at this point in the history
  15. Fixed build correctness

    jaredpar committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    5184394 View commit details
    Browse the repository at this point in the history
  16. PR feedback

    jaredpar committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    e115509 View commit details
    Browse the repository at this point in the history
  17. Fixup nullable annotation

    Had to clean up a few nullable annotations now that we are compiling
    agaist `netcoreapp3.1` and hence get the full value of the framework
    annotations.
    
    This is also problematic though because there are now two places where
    the compiler can see nullable attributes that are directly used by the
    developer. For example `NotNullWhenAttribute`. This is both defined in
    our assemblies for non-netcoreapp target frameworks and provided by the
    SDK when targeting `netcoreapp3.1`.
    
    This causes a problem for assemblies which have the following
    characteristics:
    
    1. Target `netcoreapp3.1`
    1. Reference an assembly targeting `netstandard2.0` which uses our
    nullable attributes definition
    1. Has IVT into (2) above
    
    These properties essentially define all of our unit test assemblies. In
    that environment it's not possible to use nullable attributes in code
    because the compiler can't disambiguate which definition of
    `NotNullWhenAttribute` to use. This meant I had to temporarily remove a
    few attributes until we can complete dotnet#40766.
    jaredpar committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    5a0b78c View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2020

  1. Configuration menu
    Copy the full SHA
    10f524e View commit details
    Browse the repository at this point in the history
  2. [master] Update dependencies from dotnet/arcade (dotnet#41309)

    * Update dependencies from https://github.com/dotnet/arcade build 20200129.8
    
    - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20079.8
    
    * Update dependencies from https://github.com/dotnet/arcade build 20200130.4
    
    - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20080.4
    dotnet-maestro[bot] authored Jan 31, 2020
    Configuration menu
    Copy the full SHA
    910a8b0 View commit details
    Browse the repository at this point in the history
  3. Merge pull request dotnet#41224 from chris-schuetz/Issue39519

    Name suggestions don't contain suggestions starting with a digit.
    David Poeschl authored Jan 31, 2020
    Configuration menu
    Copy the full SHA
    766d69e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6f7673e View commit details
    Browse the repository at this point in the history
  5. Merge pull request dotnet#40861 from jaredpar/tf

    Target netcoreapp3.1
    jaredpar authored Jan 31, 2020
    Configuration menu
    Copy the full SHA
    0278df0 View commit details
    Browse the repository at this point in the history
  6. Merge pull request dotnet#41313 from sharwell/default-valuetext

    Make ValueText return empty instead of null
    sharwell authored Jan 31, 2020
    Configuration menu
    Copy the full SHA
    69d3fb7 View commit details
    Browse the repository at this point in the history
  7. revert

    allisonchou authored Jan 31, 2020
    Configuration menu
    Copy the full SHA
    112d24f View commit details
    Browse the repository at this point in the history
  8. Remove extra blank line

    allisonchou authored Jan 31, 2020
    Configuration menu
    Copy the full SHA
    4f4e75b View commit details
    Browse the repository at this point in the history
  9. Merge pull request dotnet#41119 from siegfriedpammer/mas-xmldoc-fixes

    Fix issues in MetadataAsSource XML documentation comment conversion
    sharwell authored Jan 31, 2020
    Configuration menu
    Copy the full SHA
    4981a98 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2020

  1. A couple of Pythia External Access fixes (dotnet#41276)

    * Fix Pythia pooled objects wrappers
    
    * Fix RPC
    tmat authored Feb 1, 2020
    Configuration menu
    Copy the full SHA
    e056778 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2020

  1. Merge pull request dotnet#41274 from allisonchou/AddParameterCrash

    Fix for Visual Studio crashes when adding a parameter to a function
    allisonchou authored Feb 3, 2020
    Configuration menu
    Copy the full SHA
    01b85bc View commit details
    Browse the repository at this point in the history
  2. Merge pull request dotnet#40922 from GrahamTheCoder/issue/40442/vb-si…

    …mplification-arglist
    
    Stop Simplifier.ReduceAsync removing empty arg lists from delegates
    mavasani authored Feb 3, 2020
    Configuration menu
    Copy the full SHA
    303d2ed View commit details
    Browse the repository at this point in the history
  3. Change in master

    genlu committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    7168f3f View commit details
    Browse the repository at this point in the history