1. 07 11月, 2014 1 次提交
  2. 17 10月, 2014 1 次提交
  3. 06 10月, 2014 1 次提交
  4. 02 10月, 2014 2 次提交
    • 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
    • N
      Rename TypeKind.ArrayType to TypeKind.Array. Temporarily retain the old one [Obsolete]. · 615e229b
      nmgafter 提交于
      Similarly for DynamicType and PointerType. (changeset 1345275)
      615e229b
  5. 25 9月, 2014 1 次提交
  6. 15 8月, 2014 1 次提交
  7. 15 4月, 2014 1 次提交
  8. 02 4月, 2014 1 次提交
    • A
      VB: Span refinement for Overload Resolution errors: · cfc9cba3
      AlekseyTs 提交于
      - For Query Expressions, limit the span to operator(s) token(s).
      - For other expressions, exclude arguments from the span. If target is a qualified name, limit span to its right most part. (changeset 1220484)
      cfc9cba3
  9. 25 3月, 2014 1 次提交
  10. 23 3月, 2014 1 次提交
  11. 21 3月, 2014 1 次提交
  12. 19 3月, 2014 1 次提交