1. 01 5月, 2014 3 次提交
    • T
      We need to be more conscious about producing synthesized symbols during... · 211b47ed
      TomasMatousek 提交于
      We need to be more conscious about producing synthesized symbols during lowering in order to enable EnC of method bodies whose lowering produce such symbols (e.g. lambdas, iterators, dynamic sites, etc.).
      
           This change refactors synthesized symbols in C# so that all symbols produced during lowering phase implement an interface (ISynthesizedMethodBodyImplementationSymbol) that can be used in the emit phase to retrieve information necessary for updating the corresponding metadata entities should they enter EnC.
      
           I also attempted to somewhat improve and increase consistency of the naming of synthesized symbols involved in this change.
      
           No new functionality is added by this change. (changeset 1247789)
      211b47ed
    • A
      DevDiv #924473: Inherited interface members in crefs · ac4666fe
      acasey 提交于
      Crefs ignore inherited members, but I missed a few cases.
      
      1) Binder lookup dropped them, but semantic model lookup (totally separate code path) did not.
      2) Base interface members were dropped, but System.Object members were not (except with recovery code during binding). (changeset 1245954)
      ac4666fe
    • C
  2. 30 4月, 2014 2 次提交
  3. 29 4月, 2014 1 次提交
  4. 28 4月, 2014 2 次提交
    • K
      This fixes #90 (https://roslyn.codeplex.com/workitem/90). · 36e6576a
      Kevin_H 提交于
      There were issues with the PE headers generated by the compiler when emitting assemblies with no win32 resources (default behavior when you call Compilation.Emit).
      
      If the size of a section is zero, then the relative virtual address should also be zero.  Previously, we would unconditionally set the address of the resource section to the end of the most recently preceding section that contained any data.  This was wrong in and of itself, but it also had the knock-on effect of breaking the logic in PeWriter.WriteRelocSection that is supposed to pad the last section to align with the file alignment boundary. (changeset 1240642)
      36e6576a
    • S
      WarnAsError shouldn't turn info\hidden diagnostics into errors · d5ad581f
      srivatsn 提交于
      When warnaserror is set for a project, we set the GeneralDiagnosticOption on CompilationOptions to be error and that turns any diagnostic that doesn't have a specific option set to an error. This means diagnostcs from simplify typename etc. get turned into errors and squiggles everything. The consensus from the diagnostic team meeting was this:
      * When doing warn-as-error, don't raise severity for anything *below* warning (info or hidden).
      * When doing suppress-all-warnings, don't lower severity for anything *above* warning (error).
      
      Implementing this in C# and VB. Tests will follow.
       (changeset 1239863)
      d5ad581f
  5. 25 4月, 2014 5 次提交
  6. 24 4月, 2014 8 次提交
    • J
      Tweak SimplificationOptions to use separate feature names for per-language and global options. · 1b3f7ce7
      jasonmalinowski 提交于
      Without this, the option service couldn't distinguish between the two, and so it was loading the feature-specific option serializers for non-feature-specific options. This not only was a waste of resources (the VB serializers don't need to be loaded if all you have is C# open), but also risked deadlocks due to the subtleties in how serializers in VS must be created. (changeset 1238958)
      1b3f7ce7
    • T
      Handle DirectoryNotFound and other exceptions when parsing a rule set. · 7fbb7343
      tmeschter 提交于
      Currently the compilers raise an error if a FileNotFoundException occurs while trying to load the ruleset file. However, DirectoryNotFoundExceptions are not handled, causing the compiler to crash.
      
      Here we update RuleSet.LoadFromFile to utilize methods from FileUtilities. These already catch a number of exceptions related to reading files, and repackage them as IOExceptions. RuleSet.GetDiagnosticOptionsFromRuleSetFile can then handle them all by catching IOException. (changeset 1238689)
      7fbb7343
    • S
      Ruleset parser was parsing only the rules from the managed analyzer. This was... · 20079b67
      srivatsn 提交于
      Ruleset parser was parsing only the rules from the managed analyzer. This was our original design but we recently changed it so that each custom analyzer will have it's own analyzer id but i forgot to remove this restrcition when I made that change. Removing the restriction. (changeset 1238580)
      20079b67
    • H
      fixed typo. (changeset 1238204) · 3e3d4f89
      heejaechang 提交于
      3e3d4f89
    • T
      A bit of refactoring of DefinitionMap: · 26c4e850
      TomasMatousek 提交于
      - Rename C# and VB subclasses to CSharpDefinitionMap and VisualBasicDefinitionMap, so that it's obvious that one is dealing with language specific subclass rather than the common superclass.
      - Move some code that can easily be shared between C# and VB to the common superclass.
      - Move local visitors to a separate file, make then nested in the DefinitionMap, so that C# impl matches VB.
       (changeset 1238157)
      26c4e850
    • S
      Codeplex bug - fixes #22 · 7900d097
      skytribe 提交于
       Static Local : Additional Error for Duplicate Declarations (changeset 1238123)
      7900d097
    • A
      Project file cleanup. (changeset 1237884) · 6416bb48
      acasey 提交于
      6416bb48
    • S
      Make compiler perf tests independent of VS by deleting dead code. · d98807d8
      shyamn 提交于
      Note: There is a bunch more code that could be deleted from the compiler perf tests. However, this is all I had appetite for at the moment and is the minimum that I required to get rid of for the experiement I am working on. (changeset 1237733)
      d98807d8
  7. 23 4月, 2014 11 次提交
  8. 22 4月, 2014 8 次提交