1. 27 2月, 2016 3 次提交
    • G
      e86980ee
    • 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
    • T
  2. 26 2月, 2016 3 次提交
  3. 25 2月, 2016 3 次提交
  4. 17 2月, 2016 5 次提交
  5. 12 2月, 2016 1 次提交
  6. 10 2月, 2016 2 次提交
  7. 02 2月, 2016 3 次提交
  8. 29 1月, 2016 1 次提交
  9. 27 1月, 2016 1 次提交
  10. 13 1月, 2016 1 次提交
  11. 11 1月, 2016 2 次提交
  12. 05 1月, 2016 2 次提交
  13. 04 1月, 2016 1 次提交
  14. 19 12月, 2015 2 次提交
  15. 12 12月, 2015 1 次提交
  16. 30 11月, 2015 2 次提交
  17. 27 11月, 2015 1 次提交
    • J
      Fix UsedNamespaceOrType::Equals · b40e1bba
      Jared Parsons 提交于
      The Equals method was using reference equality to compare ITypeReference instances.  Correct comparison of that type must use .Equals as equivalent generic values can be different objects.
      
      This surfaced as a bug in determinism.  In the case we had an alias'd using where the target type was generic this Equals method came into play.  Based on whether we got a generic cache hit or not ended up changing the PDB output and as an effect the determinism id of the resulting assembly.
      
      closes #7015
      b40e1bba
  18. 16 11月, 2015 1 次提交
  19. 14 11月, 2015 1 次提交
    • A
      Add support for public sign to csc · ca61bad2
      Andy Gocke 提交于
      Sometimes called "fake sign" or "OSS sign" public signing is including
      the public key in an output assembly and setting the "signed" flag, but
      not actually signing the assembly with a private key. This is useful for
      open source projects where people want to build assemblies which are
      compatible with the released "fully signed" assemblies, but don't have
      access to the private key used to sign the assemblies. Since almost no
      consumers actually need to check if the assembly is fully signed, these
      publicly built assemblies are useable in almost every scenario that the
      fully signed one would be used in.
      
      This PR implements support only for C# -- VB will be added soon. If
      being used at the command line, the /publicsign flag can be passed to
      csc and the /keyfile flag can specify the public key. Unlike fully
      signing, a full key pair encoded in the SNK file format is not currently
      supported. When using /publicsign, just the public key must be in the
      /keyfile file.
      
      When using the API, the public key can be passed directly using the
      CryptoPublicKey CompilationOption.
      ca61bad2
  20. 11 11月, 2015 3 次提交
  21. 10 11月, 2015 1 次提交
    • T
      Some tests only run on english cultures · 8b1189a8
      Ty Overby 提交于
      Adds conditional culture execution condition for tests that depend
      on the culture of the machine that they are running on.  Because
      we expect this culture to be in english, this patch adds a
      conditional fact attribute that only runs a specified test
      on a machine with the en-us culture.
      8b1189a8