1. 04 1月, 2017 1 次提交
    • A
      Improve diagnostics experience for public signing. · a646d13b
      AlekseyTs 提交于
      - VB: Report a warning about AssemblyKeyFile and AssemblyKeyName attributes being ignored by public signing.
      - Disallow public signing for Net modules. The fact that the signing is public is not preserved in a module. The fact of signing is preserved by emitting attributes that are going to be ignored anyway if public signing is used.
      
      Closes #11427.
      a646d13b
  2. 28 12月, 2016 1 次提交
    • J
      Re-arranging portable TestUtilities part 2 · 1ce0fd18
      Jared Parsons 提交于
      The Compilers.sln solution is compiling again and tests which don't
      require AppDomain support are running again.  There is a bit of work
      that is needed for AppDomains that I want to separate out.  In
      particular the separation to portable means we have to redo some of the
      serialization code.
      1ce0fd18
  3. 17 11月, 2016 1 次提交
    • A
      Place TupleElementNamesAttribute on proper handles (#15060) · 0d42ec30
      Andy Gocke 提交于
      The previous code mistakenly put the TupleElementNamesAttribute on the
      type ref for interface implementations and type parameter generic
      constraints. This change moves the attribute to the actual interface
      implementation and constraint handles, where it belongs.
      
      Fixes #14844
      0d42ec30
  4. 07 11月, 2016 1 次提交
  5. 03 11月, 2016 1 次提交
  6. 19 10月, 2016 1 次提交
  7. 12 10月, 2016 1 次提交
  8. 29 9月, 2016 1 次提交
  9. 22 9月, 2016 2 次提交
  10. 06 8月, 2016 1 次提交
  11. 04 8月, 2016 1 次提交
  12. 22 7月, 2016 1 次提交
  13. 21 7月, 2016 1 次提交
    • A
      Support tuples in interface implementations (#12611) · d6025731
      Andy Gocke 提交于
      Currently, if you implement an interface with a tuple type as a
      substituted type argument that will be accurately represented in source,
      but the names will be lost when emitted to metadata.
      
      This PR implements roundtripping for tuples as generic type arguments to
      interface implementations in metadata. This is done by adding support
      for emitting attributes on interface implementations to Emit. We now
      emit the same attribute on interface implementations that we would
      on other areas where types may contain nested tuples. Completes the
      interface implementation work referenced in #12347.
      d6025731
  14. 15 7月, 2016 2 次提交
  15. 13 7月, 2016 1 次提交
    • A
      Implements simple cases of tuple name roundtripping (#12344) · 7bd28046
      Andy Gocke 提交于
      For the most part, this change implements the same encoding
      for tuples that we use for dynamic. This means that interface
      implementations and generic constraints are not covered, but
      base types and type parameters are.
      
      This change also doesn't have full tests for "long" tuples (nested tuple
      transformations) or tuple types that can only be constructed in
      metadata.
      7bd28046
  16. 27 5月, 2016 2 次提交
    • J
      Bug 217740: don't crash when emitting or loading a DateTimeConstant(-1) attribute (#11536) · dd21101d
      Julien 提交于
      * Bug 217740: Repro and test harness for C#
      
      * Testing and fixing loading scenario in C# and VB
      
      * Verifying VB case using attribute on field
      
      * Adding more tests
      
      * Adding VB tests
      
      * Adding tests
      
      * More tests on fields with double-attributes
      
      * New test constraint
      
      * Fixing VB side to new test constraints
      
      * Fixing C# side to new test constraints
      
      * Fixing remaining tests
      
      * Adding comments
      
      * Fixing VB field scenario too
      dd21101d
    • V
      Make compiler familiar with TH2 format of DeprecatedAttribute. · 2cd4ceba
      VSadov 提交于
      So far compiler knows about the following signatures of DeprecatedAttribute constructor.
         DeprecatedAttribute(String, DeprecationType, UInt32)
         DeprecatedAttribute(String, DeprecationType, UInt32, Platform)
         DeprecatedAttribute(String, DeprecationType, UInt32, Type)
      
      As of TH2 and onwards  Windows SDK  uses the following signature for the DeprecatedAttribute:
      
           DeprecatedAttribute(String, DeprecationType, UInt32, String)
      
      Notice the "String" at the end of the signature.
      This change adds the TH2 attribute signature to the known set.
      
      Fixes: #10630
      2cd4ceba
  17. 25 5月, 2016 1 次提交
  18. 17 5月, 2016 2 次提交
  19. 28 4月, 2016 1 次提交
  20. 22 4月, 2016 1 次提交
  21. 15 4月, 2016 1 次提交
  22. 07 4月, 2016 1 次提交
  23. 02 4月, 2016 1 次提交
  24. 22 3月, 2016 1 次提交
  25. 19 3月, 2016 1 次提交
  26. 08 3月, 2016 1 次提交
  27. 05 3月, 2016 1 次提交
  28. 01 3月, 2016 1 次提交
  29. 27 2月, 2016 1 次提交
    • A
      Always use an absolute path for keyfile with public sign · 67a9fd89
      Andy Gocke 提交于
      Right now there are two code paths for signing using a keyfile:
      
      1) Full & delay signing implemented using a strong-name provider, which
         calls into the CLR when necessary to do signing.
      2) Public signing, which extracts the key directly from the file and
         embeds it manually into the assembly using only portable code.
      
      The tricky part is that (1) also implements a bunch of legacy semantics
      on how to resolve the key file from various search paths, since the key
      file can also be specified via an attribute.
      
      This behavior is already deprecated, so rather than implement the
      complicated file resolution for public sign as well, this PR changes the
      command line compilers to always produce an absolute path for the key
      file before passing it to CompilationOptions. CreateCompilation now also
      has a check to enforce that CryptoKeyFile is an absolute path when
      PublicSign is set.
      
      Fixes #8360.
      67a9fd89
  30. 25 2月, 2016 1 次提交
  31. 10 2月, 2016 1 次提交
  32. 26 1月, 2016 1 次提交
  33. 13 1月, 2016 1 次提交
  34. 11 1月, 2016 2 次提交
  35. 05 1月, 2016 1 次提交