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 main to features/required-members #58493

Merged

Commits on Dec 17, 2021

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

Commits on Dec 18, 2021

  1. Fix leak in _hostAnalyzerStateMap

    Fixes [AB#1449967](https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1449967)
    
    #57648 fixed a race condition in computing the host analyzer references, but introduced a leak in _hostAnalyzerStateMap, wherein each new solution opened ends up creating a new entry in this map, even though the underlying set of host analyzer references doesn't change. This is due to the fact that each new SolutionState instance creates a new instance of HostDiagnosticAnalyzers, whose constructor creates a new map from analyzer references ID to the analyzer reference. This map is used as part of the key for _hostAnalyzerStateMap, leading to the leak.
    
    This change fixes the leak by using the underlying list of host analyzer references as part of the key for _hostAnalyzerStateMap, which is reference equals across all solution instances opened in the VS session. Verified manually that after this fix, repeatedly opening and closing a solution in VS no longer leads to unbounded growth of _hostAnalyzerStateMap.
    mavasani committed Dec 18, 2021
    Configuration menu
    Copy the full SHA
    8df82f3 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2021

  1. Merge pull request #58398 from akhera99/bugs/inline_diagnostics_multi…

    …_line_error
    
    Inline Diagnostics Multi-Line Error Bug
    akhera99 authored Dec 20, 2021
    Configuration menu
    Copy the full SHA
    1c3ac57 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    55c4ba9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    36beb71 View commit details
    Browse the repository at this point in the history
  4. Remove unnecessary assertion that CancellationSeries is disposed

    This type functions correctly whether or not it is explicitly disposed.
    sharwell committed Dec 20, 2021
    Configuration menu
    Copy the full SHA
    f62f574 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    999ff1e View commit details
    Browse the repository at this point in the history
  6. Add contract

    CyrusNajmabadi committed Dec 20, 2021
    Configuration menu
    Copy the full SHA
    24bd3eb View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8316b81 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d19870c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e3fd8e2 View commit details
    Browse the repository at this point in the history
  10. Merge pull request #58426 from sharwell/unnecessary-assertion

    Remove unnecessary assertion that CancellationSeries is disposed
    sharwell authored Dec 20, 2021
    Configuration menu
    Copy the full SHA
    421642e View commit details
    Browse the repository at this point in the history
  11. Merge pull request #58427 from sharwell/inline-diags-test

    Add initial test for inline diagnostics tagger
    sharwell authored Dec 20, 2021
    Configuration menu
    Copy the full SHA
    9a00071 View commit details
    Browse the repository at this point in the history
  12. Allow null args

    CyrusNajmabadi committed Dec 20, 2021
    Configuration menu
    Copy the full SHA
    dd7d3de View commit details
    Browse the repository at this point in the history
  13. NRT

    CyrusNajmabadi committed Dec 20, 2021
    Configuration menu
    Copy the full SHA
    49fe335 View commit details
    Browse the repository at this point in the history
  14. Initial trial

    CyrusNajmabadi committed Dec 20, 2021
    Configuration menu
    Copy the full SHA
    288782a View commit details
    Browse the repository at this point in the history
  15. Further work

    CyrusNajmabadi committed Dec 20, 2021
    Configuration menu
    Copy the full SHA
    0ec375f View commit details
    Browse the repository at this point in the history
  16. Merge pull request #58428 from CyrusNajmabadi/underlineSuppression

    Update underline-reassigned-variable to understand suppressed variables as well
    CyrusNajmabadi authored Dec 20, 2021
    Configuration menu
    Copy the full SHA
    1f3bc64 View commit details
    Browse the repository at this point in the history
  17. Before trivia moving

    CyrusNajmabadi committed Dec 20, 2021
    Configuration menu
    Copy the full SHA
    a8553a0 View commit details
    Browse the repository at this point in the history
  18. Update formatting

    CyrusNajmabadi committed Dec 20, 2021
    Configuration menu
    Copy the full SHA
    7fe6edd View commit details
    Browse the repository at this point in the history
  19. Update tests

    CyrusNajmabadi committed Dec 20, 2021
    Configuration menu
    Copy the full SHA
    9897eb2 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2021

  1. Add tests

    CyrusNajmabadi committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    0cc31fa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6b8bf3b View commit details
    Browse the repository at this point in the history
  3. Remove unused message argument (#58432)

    While adjusting this code in the required-members branch I noticed the parameter is unused by the error message, so I did a small refactoring in main to clean that up.
    333fred authored Dec 21, 2021
    Configuration menu
    Copy the full SHA
    e01c235 View commit details
    Browse the repository at this point in the history
  4. Fix

    CyrusNajmabadi committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    6d4210e View commit details
    Browse the repository at this point in the history
  5. Simplify further

    CyrusNajmabadi committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    6d52178 View commit details
    Browse the repository at this point in the history
  6. ove files

    CyrusNajmabadi committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    f4d2678 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d795813 View commit details
    Browse the repository at this point in the history
  8. Move file

    CyrusNajmabadi committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    f6d8885 View commit details
    Browse the repository at this point in the history
  9. Fix tests

    CyrusNajmabadi committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    c064f9e View commit details
    Browse the repository at this point in the history
  10. lint

    CyrusNajmabadi committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    63d6adb View commit details
    Browse the repository at this point in the history
  11. Merge pull request #58425 from CyrusNajmabadi/compilationTrackerWR

    Remove weak-refs to the compilation (without generated docs) in the compilation tracker.
    CyrusNajmabadi authored Dec 21, 2021
    Configuration menu
    Copy the full SHA
    9c96271 View commit details
    Browse the repository at this point in the history
  12. Merge pull request #58434 from CyrusNajmabadi/convertNSWork

    Update 'convert namespace' to only 'dedent' file contents, not format them.
    CyrusNajmabadi authored Dec 21, 2021
    Configuration menu
    Copy the full SHA
    559ca97 View commit details
    Browse the repository at this point in the history
  13. Merge pull request #58406 from mavasani/FixLeak

    Fix leak in _hostAnalyzerStateMap
    mavasani authored Dec 21, 2021
    Configuration menu
    Copy the full SHA
    8ef33d0 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    2dab552 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    e9d15a7 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    79c8b92 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2021

  1. Merge pull request #58454 from jmarolf/infrastructure/set-compilers-s…

    …olution-as-default-for-vscode
    jmarolf authored Dec 22, 2021
    Configuration menu
    Copy the full SHA
    5c75cfe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7812951 View commit details
    Browse the repository at this point in the history
  3. Clear prior build errors for additional and analyzer config docs at s…

    …tart of build
    
    Fixes [AB#1424584](https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1424584)
    
    The primary issue is that the lingering compiler warning CS0169 from prior solution snapshot is reported in `Index.razor`, which is an Additional document, not a regular source document. Existing code in clearing build diagnostics at start of a build was only clearing diagnostics with location in source documents. Doing the same for additional documents fixes this issue.
    mavasani committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    be874ec View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e343cb0 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #58459 from mavasani/IDE0044_FP

    Fix MakeFieldReadonly false positive for ref assignments
    mavasani authored Dec 22, 2021
    Configuration menu
    Copy the full SHA
    bf84ccf View commit details
    Browse the repository at this point in the history
  6. [main] Update dependencies from dotnet/arcade (#58408)

    [main] Update dependencies from dotnet/arcade
    dotnet-maestro[bot] authored Dec 22, 2021
    Configuration menu
    Copy the full SHA
    5a6a566 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #58457 from mavasani/RazorBug

    Clear prior build errors for additional and analyzer config docs at s…
    mavasani authored Dec 22, 2021
    Configuration menu
    Copy the full SHA
    6ea8af0 View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2021

  1. Merge pull request #58455 from sharwell/sg-testing

    Improve support for TestWorkspace with source generated files
    sharwell authored Dec 23, 2021
    Configuration menu
    Copy the full SHA
    01cbd62 View commit details
    Browse the repository at this point in the history
  2. Update dependencies from https://github.com/dotnet/arcade build 20211…

    …223.1 (#58471)
    
    [main] Update dependencies from dotnet/arcade
    dotnet-maestro[bot] authored Dec 23, 2021
    Configuration menu
    Copy the full SHA
    d589d90 View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2021

  1. Configuration menu
    Copy the full SHA
    678b269 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8fb8592 View commit details
    Browse the repository at this point in the history
  3. Enqueue additional and analyzer config documents in WorkCoordinator

    Fixes #53192
    Currently, work coordinator only enqueues source document IDs for project analysis work items. This means we don't analyze the additional documents, which can now report standalone diagnostics through RegisterAdditionalFileAction. This PR fixes this by enqueuing project's additional document IDs and analyzer config document IDs.
    mavasani committed Dec 24, 2021
    Configuration menu
    Copy the full SHA
    6e9947a View commit details
    Browse the repository at this point in the history
  4. Fix unused param (IDE0060) false positive

    Fixes #56317
    #42408 handled bailing out reporting unused params for methods that only have a throw operation in its body. It missed a case where the throw might be wrapped within a conversion wrapped within a return operation, which happens when the method returns a non-void type.
    mavasani committed Dec 24, 2021
    Configuration menu
    Copy the full SHA
    ce24c90 View commit details
    Browse the repository at this point in the history
  5. Address feedback

    mavasani committed Dec 24, 2021
    Configuration menu
    Copy the full SHA
    bbb2c26 View commit details
    Browse the repository at this point in the history
  6. Fix build

    mavasani committed Dec 24, 2021
    Configuration menu
    Copy the full SHA
    e7b9d14 View commit details
    Browse the repository at this point in the history
  7. draft (#58481)

    Youssef1313 authored Dec 24, 2021
    Configuration menu
    Copy the full SHA
    9f3de42 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #58479 from mavasani/WorkcoordinatorFix

    Enqueue additional and analyzer config documents in WorkCoordinator
    mavasani authored Dec 24, 2021
    Configuration menu
    Copy the full SHA
    957f8b3 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #58480 from mavasani/IDE0060_FP

    Fix unused param (IDE0060) false positive
    mavasani authored Dec 24, 2021
    Configuration menu
    Copy the full SHA
    05b2c02 View commit details
    Browse the repository at this point in the history