1. 28 1月, 2017 1 次提交
  2. 27 1月, 2017 1 次提交
  3. 26 1月, 2017 1 次提交
  4. 21 1月, 2017 1 次提交
  5. 24 9月, 2016 1 次提交
  6. 30 7月, 2016 1 次提交
  7. 17 3月, 2016 1 次提交
  8. 26 1月, 2016 1 次提交
  9. 16 10月, 2015 1 次提交
  10. 14 10月, 2015 1 次提交
  11. 11 10月, 2015 1 次提交
  12. 09 10月, 2015 1 次提交
  13. 09 9月, 2015 1 次提交
  14. 01 9月, 2015 1 次提交
  15. 07 7月, 2015 1 次提交
  16. 01 7月, 2015 1 次提交
  17. 10 6月, 2015 1 次提交
  18. 03 5月, 2015 1 次提交
  19. 02 5月, 2015 1 次提交
  20. 07 4月, 2015 1 次提交
  21. 21 3月, 2015 1 次提交
    • B
      Format remainder of VB code base · 15dcad3d
      beep boop 提交于
      Now that the comment formatting issue is fixed in the Formatter type, we can run the formatter on the remainder of the VB code base.
      
      closes #1424
      15dcad3d
  22. 07 3月, 2015 1 次提交
    • V
      Restored requirement for struct constructors to always have formal parameters · 1a6b2f0d
      VSadov 提交于
      Fixes #1029
      
      While overall parameterless constructors in structs are valid from IL perspective, without a convenient way to declare them they were virtually nonexistent. As we performed more and more testing, we kept discovering cases where parameterless struct constructors caused inconsistent behavior in libraries or even in some versions of CLR.
      
      After reconsidering the potential issues arising from breaking long standing assumptions, we decided it was best for our users to restore the requirement on struct constructors to always have formal parameters.
      1a6b2f0d
  23. 31 1月, 2015 1 次提交
  24. 15 1月, 2015 1 次提交
  25. 14 1月, 2015 1 次提交
  26. 07 1月, 2015 1 次提交
    • A
      Diagnostic Titles for C# compiler warnings, plus some Descriptions · 806b177f
      AlexTurnMSFT 提交于
      This adds a per-rule Title for all C# and VB compiler warnings that have message strings.  These Titles will show up in the ruleset editor.
      
      This also includes Descriptions that show up upon expansion for a set of high-hit C# warnings.  I added Descriptions for high-hit warnings per MSDN.  The work is still pending to add the equivalent VB warning Descriptions.
      
      The principle was to basically restate the base Message string without its fill-ins as the Title, swapping in general words such as "method" and "type".  Often, just removing the fill-ins and quotes was enough, as the surrounding context already said what the code element was.  Sometimes the message needed to be reworded a bit.  I also left out any further clauses (such as "Consider ..."), except for shortened versions necessary to disambiguate similar warnings.  For now, I'm leaving such clauses in the messages themselves, using Description for longer-form explanations - we can see if we get feedback there.
      
      This should be the content work needed to ship the ruleset editor without blank titles.  There was one key bug remaining (now filed) where rules kept around solely to make previous /nowarns and #pragmas happy still show up in the ruleset editor.
      
      Remaining work:
      * Descriptions for VB compiler warnings
      * Titles/Descriptions for C#/VB compiler errors
      * Categories for VB/C# compiler warnings/errors (changeset 1387213)
      806b177f
  27. 11 11月, 2014 1 次提交
  28. 29 10月, 2014 2 次提交
  29. 17 10月, 2014 1 次提交
  30. 16 10月, 2014 1 次提交
  31. 06 10月, 2014 1 次提交
  32. 02 10月, 2014 1 次提交
    • T
      This shelveset implements following changes to metadata reference compiler API... · 4fc808ea
      TomasMatousek 提交于
      This shelveset implements following changes to metadata reference compiler API in order to remove duplication in the public surface and prevent users from unexpected metadata lifetime issues:
      
           1) MetadataImageReference and MetadataFileReference overlap
           Currently MetadataImageReference can be constructed from a Stream. MetadataImageReference supports metadata prefetch (reading the blob into memory and close the underlying stream) as well deferred reading (no content is read until the reference is consumed during compilation). MetadataFileReference only supports deferred reading.
      
           Lifetime of MetadataFileReference is non-deterministic, the underlying file is locked until no references exist and we GC the metadata.  On the other hand, it is possible to construct MetadataImageReference in such a way that allows controlling the underlying resources deterministically.
      
           Remove MetadataFileReference, use MetadataImageReference instead.
      
           2) Lifetime management
           AssemblyMetadata and ModuleMetadata objects hold on resources and implement IDisposable. When using MetadataFileReference constructors and some MetadataImageReference constructors to create references the underlying metadata objects are created implicitly and the user doesn’t have a way to explicitly dispose them.
      
           Make MetadataImageReference constructors internal and instead add factory method GetReference on AssemblyMetadata/ModuleMetadata. The usage pattern is:
      
           using (var metadata = AssemblyMetadata.CreateFromXxx(…))
           {
               var compilation = CSharpCompilation.Create(syntaxTrees, new[] { metadata.GetReference() });
               …
           }
      
           In addition the shelveset makes MetadataImageReference internal and adds the following convenience APIs, that are not the most efficient but are very convenient, easy to discover and safe to use for customers that don’t wanna explicitly manage the lifetime of metadata objects. (changeset 1345987)
      4fc808ea
  33. 25 9月, 2014 5 次提交
  34. 15 8月, 2014 1 次提交
  35. 20 6月, 2014 1 次提交