1. 23 1月, 2020 1 次提交
  2. 17 1月, 2020 1 次提交
  3. 16 1月, 2020 1 次提交
  4. 05 11月, 2019 1 次提交
  5. 01 11月, 2019 1 次提交
  6. 17 9月, 2019 1 次提交
    • T
      Reuse previously resolved missing assembly metadata objects when identity doesn't match (#38550) · ec85a192
      Tomáš Matoušek 提交于
      * Misc cleanup
      
      * Reuse previously resolved missing assembly metadata objects when identity doesn't match
      
      Background
      When the compiler is resolving compilation references and encounters a reference whose assembly identity does not match any of the explicitly given references it falls back to a Reference Resolver. In regular compilation an error is reported since there is no Reference Resolver. Interactive compiler supplies a resolver that attempts to find the missing reference.
      
      Once the missing reference is found the compiler adds it to the list of implicitly resolved assemblies and if the same missing assembly identity is referenced later (by a subsequent submission) it reuses the assembly symbol from this list, so that we don't end up loading multiple instances of the same missing assembly. [1]
      
      The resolver may find an assembly that matches the name of the missing reference but doesn't match the version exactly. This is expected as a newer version of the assembly may be available than was referenced and the compiler correctly binds to the newer version.
      
      Issues
      The first submission added a reference to a netstandard20 library on .NET Core and the subsequent submission referenced a type from that library. The reference resolution in the compilation corresponding to the second submission ended up adding a new, distinct reference to the library, instead of reusing the one that was already resolved for the first submission compilation.
      
      This was caused by mismatch in versions of some of the facades transitively referenced by the library thru netstandard.dll reference and resolved thru the missing reference resolution mechanism. The facades ware referenced with different versions than the actual versions available in the set of references the Reference Resolver resolved missing references from. The compiler ended up using two distinct instances of the same facade assembly metadata. An assembly symbol is only reused if all its transitively referenced assemblies match. In this case the library assembly symbol wasn't reused because some of the facade assembly symbols did not match.
      
      The problem was that the mechanism [1] didn't reuse missing assembly metadata with a different version than what was requested. The fix is to check whether we have seen an assembly with the resolved identity in addition to the requested identity.
      
      Another issue found during testing is handing resolution failures. We did not remember that a resolution of a given assembly identity failed and attempted to resolve the assembly again in the next submission. This may lead to inconsistencies and the same "can't convert T to T" errors since first submission might have a missing assembly symbol and next might create a real assembly symbol for the same assembly identity. The fix is to capture both successful and failed resolution results.
      
      * Do not add resolved identity entry to implicit reference resolutions
      ec85a192
  7. 10 9月, 2019 1 次提交
  8. 31 8月, 2019 1 次提交
  9. 28 8月, 2019 1 次提交
    • M
      Remove System.Runtime.Loader hack · 3e9505e9
      Marius Ungureanu 提交于
      Microsoft.CodeAnalysis.Scripting now targets NS2.0, so the custom package is no longer needed.
      Should fix a composition error in VSMac, due to the fact that we don't ship the dll from this nuget
      3e9505e9
  10. 29 6月, 2019 1 次提交
  11. 24 6月, 2019 1 次提交
  12. 21 6月, 2019 1 次提交
  13. 24 5月, 2019 1 次提交
  14. 16 5月, 2019 2 次提交
  15. 10 5月, 2019 1 次提交
  16. 19 4月, 2019 2 次提交
  17. 18 4月, 2019 1 次提交
  18. 27 3月, 2019 1 次提交
    • F
      Track nullability in script code (#33096) · 7f809efa
      Filip W 提交于
      * Analyze nullability in script initializer
      
      * C# 8 for scripts for now
      
      * nullable context script test
      
      * extra null check
      
      * added possibility to set c# Language Version on ScriptOptions
      
      * adjust tests
      
      * added ScriptOptionsTests for C# lang version
      
      * adapted tests after rebase
      
      * code review changes
      
      * fixed test names & resx CDATA
      
      * changed the ScriptOptions.WithLanguageVersion error message text and moved it to ScriptingResources.resx
      
      * Update CSharpScriptingResources.Designer.cs
      7f809efa
  19. 25 3月, 2019 1 次提交
  20. 23 3月, 2019 2 次提交
    • S
      Revert "Interactive projects refactoring (#29069)" · e0a8124f
      Sam Harwell 提交于
      This reverts commit 41fb51d2.
      e0a8124f
    • T
      Interactive projects refactoring (#29069) · 41fb51d2
      Tomáš Matoušek 提交于
      Remove Repl projects
      
      Remove Microsoft.VisualStudio.InteractiveServices project
      
      Remove Microsoft.CodeAnalysis.InteractiveEditorFeatures
      
      Rename InteractiveEditorFeatures to EditorFeatures.Wpf
      
      Remove empty resource files
      
      Reduce InteractiveFeatures dependencies
      
      Merge InteractiveComponents content into Roslyn.VisualStudio.Setup VSIX
      
      Rename InteractiveFeatures to InteractiveHost
      
      Hook fatal error handlers
      
      Workaround warning CS1574
      
      Exclude CreateTemplateManifestsCacheFile
      
      Do not include satellite assemblies in DesktopHost directory
      
      Remove VB interactive menu item
      
      Delete VisualBasic.EditorFeatures.Wpf
      
      Delete more unused VB interactive code
      41fb51d2
  21. 28 2月, 2019 1 次提交
  22. 01 2月, 2019 1 次提交
  23. 19 1月, 2019 1 次提交
  24. 11 1月, 2019 1 次提交
  25. 09 1月, 2019 1 次提交
  26. 14 12月, 2018 2 次提交
  27. 10 12月, 2018 1 次提交
  28. 02 11月, 2018 3 次提交
  29. 01 11月, 2018 1 次提交
  30. 13 9月, 2018 1 次提交
    • A
      Add analyzer options threading (#27397) · 7bbb9139
      Andy Gocke 提交于
      This change introduces a new AnalyzerConfigOptionsProvider on AnalyzerOptions
      so that analyzer can get access to the non-diagnostic information
      provided in analyzer config files. The AnalyzerConfigOptionsProvider provides
      an AnalyzerConfigOptions type containing the non-diagnostic severity properties 
      of analyzer config files for a given SyntaxTree. Diagnostic severity continues to
      be provided on the syntax tree directly.
      7bbb9139
  31. 28 8月, 2018 1 次提交
    • T
      NuGet packaging (#29408) · 8a34dfb2
      Tomáš Matoušek 提交于
      * NuGet packaging
      
      * Add missing VS package references
      
      * Fix scripts
      
      * Add comment on Workspace.Desktop references with PrivateAssets
      
      * Fix Microsoft.NETCore.Compilers package
      
      * Fix up references
      
      * Build fixes
      
      * Correct OutputPath for package projects
      
      * Use NuGetRepack to force exact versions in per-build packages
      8a34dfb2
  32. 18 7月, 2018 1 次提交
  33. 17 7月, 2018 1 次提交
  34. 28 6月, 2018 1 次提交