1. 18 4月, 2014 9 次提交
  2. 17 4月, 2014 3 次提交
    • V
      Emit with metadataOnly should not emit anonymous types · 041726bc
      VSadov 提交于
      Compared to other synthetic types, anonymous types are special - they are visible through semantical models and therefore they are indirectly owned by the Compilation (not by the ModuleBuilder).
      Since anonymous types are an artifact of method body binding, normally metadataOnly emit does not need to deal with anonymous types. However, if the same compilation is used for a complete (not metadata only) emit, the anonymous types materialize and become visible to the metadata-only emit too.
      That is particularly inconvenient when different kinds of emit happen concurrently and metadata emit may try emitting incomplete set of anonymous types and cause strange crashes.
      
      A simple solution to all these issues is to make metadata-only emit to pretend that anonymous types do not exist even if present in the compilation. (changeset 1233610)
      041726bc
    • B
      Bug Fix for Devdiv:817145. · 961d01e6
      BalajiKris 提交于
      Fixing bugs in type inferrer which were inadvertently introduced in Changeset 822325. The CS had changed the return type of a method from some T to IEnumerable<T> and some of the call sites weren't updated accordingly. These callers were using 'var' for type inference, so the build didn't break but the semantics had silently been changed.
      
      Enabled an existing unit test for verifying that completion list builder and added an unit test for the typeinferrer. (changeset 1232655)
      961d01e6
    • Y
      (C#) Reporting errors when importing types with RequiredAttributeAttribute... · 610f03cf
      YingP99 提交于
      (C#) Reporting errors when importing types with RequiredAttributeAttribute (Tomas's fix with update per Aleksey's suggestion) (changeset 1232629)
      610f03cf
  3. 16 4月, 2014 14 次提交
  4. 15 4月, 2014 14 次提交