1. 13 2月, 2016 1 次提交
  2. 10 2月, 2016 1 次提交
  3. 09 1月, 2016 1 次提交
  4. 25 11月, 2015 1 次提交
  5. 16 10月, 2015 1 次提交
  6. 19 9月, 2015 1 次提交
  7. 08 9月, 2015 1 次提交
  8. 15 7月, 2015 1 次提交
  9. 03 5月, 2015 1 次提交
  10. 01 5月, 2015 1 次提交
  11. 25 2月, 2015 1 次提交
  12. 01 2月, 2015 1 次提交
    • B
      Complete the style update to the rest of Open\src directory · 995eb372
      beep boop 提交于
           Background:
      
           As discussed in the dev team all hands all code under the GitHub dotnet foundation is using a single process for contribution, API review, infrastructure and coding style. The idea is to present a unified view to our customer and give them a single story for contributing to any project under the dotnet foundation.
      
           https://github.com/dotnet/corefx/wiki/Contributing#c-coding-style
      
           The coding style transition is automated using a Roslyn based rewrite tool:
      
           https://github.com/dotnet/codeformatter
      
           This will be applied in stages across our developer tree. Right now the focus is on the Open directory as this is what is being presented on github. Code owners will be contacted before the transition happens.
      
           Note: this is a soft style requirement. There are no build errors that come from this change.
       (changeset 1408227)
      995eb372
  13. 15 1月, 2015 1 次提交
  14. 14 1月, 2015 1 次提交
  15. 07 1月, 2015 4 次提交
  16. 24 12月, 2014 1 次提交
  17. 17 10月, 2014 1 次提交
  18. 02 10月, 2014 2 次提交
    • V
      Implements a spec refinement to how autoprops behave in constructors. · 1a7ebab9
      VSadov 提交于
      For accesses to an autoprop in a corresponding [static|instance] constructor -
      
      (a) It should bind to the property, but the property should be treated as a readable/writable even if it is a readonly autoprop.
      (b) The definite assignment behavior should be as if directly accessing the backing field.
      (c) It should code gen to the property accessor (if one exists) or a field access (if not).
      
      The most observable outcome of all this is that it is possible to assign a readonly autoprop in the constructor and that
      in a struct instance constructor you no longer need to initialize whole struct before using any of its autoprops.
      
      The following code is now valid and does what you think it does:
      
      public struct S
      {
          public int X{get;}
          public int Y{get;}
      
          public S()
          {
              X = 42;
              Y = X;
          }
      
          public static void Main()
          {
              S s = new S();
              System.Console.WriteLine(s.Y);
          }
      }
      
      .
      
       (changeset 1346315)
      1a7ebab9
    • V
      Fix bug 1032724: Do not give error CS0842: 'C.X': Automatically implemented... · 464487b4
      vladres 提交于
      Fix bug 1032724: Do not give error CS0842: 'C.X': Automatically implemented properties cannot be used inside a type marked with StructLayout(LayoutKind.Explicit) for static auto-properties (changeset 1345941)
      464487b4
  19. 15 8月, 2014 1 次提交
  20. 20 6月, 2014 2 次提交
    • A
      Implements the rest of expression-bodied members. · 0c96c4c9
      angocke 提交于
      An expression body is an alternative to a block on certain members (properties, methods, operators, and conversions), which uses the lambda => to define an expression as the body of the member. (changeset 1281748)
      0c96c4c9
    • T
      Splits Microsoft.CodeAnalysis, Microsoft.CodeAnalysis.CSharp and... · fc3b332f
      TomasMatousek 提交于
      Splits Microsoft.CodeAnalysis, Microsoft.CodeAnalysis.CSharp and Microsoft.CodeAnalysis.VisualBasic into portable and desktop assemblies.
      
      Existing Core\Source, CSharp\Source and VisualBasic\Source directories are renamed to Core\Portable, CSharp\Portable and VisualBasic\Portable.
      New sibling Desktop folders are added and non-portable source is moved there.
      "System.Runtime" references has to be removed in order for the portable project system magic to automatically add facade references.
       (changeset 1281686)
      fc3b332f
  21. 29 5月, 2014 1 次提交
    • A
      Implementation of expression-bodied properties. · d9c684bf
      angocke 提交于
      An expression-bodied property is a property with an expression instead of accessors, i.e. syntax st. a property P written as
      
      ... type P { get { return e; } }
      
      is equivalent to
      
      ... type P => e;
      
      This feature is experimental and keyed on the Experimental LanguageVersion. (changeset 1263330)
      d9c684bf
  22. 07 5月, 2014 1 次提交
  23. 03 5月, 2014 1 次提交
    • T
      In C# lowering of async method stored the state machine type on... · 073242b0
      TomasMatousek 提交于
      In C# lowering of async method stored the state machine type on SourceMethodSymbol so it can later be used when emitting synthesized attributes of the method. This may cause issues when emitting the same compilation twice with different options that affect the state machine type.
           Instead we should store the state machine type to the current PEModuleBuilder. Rather then actually storing it there and adding a dependency on PEModuleBuilder to the attribute generation this change introduces ModuleCompilationState (similar to TypeCompilationState) and threads that one.
           This type is designed to be mutable during compilation (lowering) and immutable during emit. The idea is that all data currently stored in PEModuleBuilder that are produced during compilation and only read in emit could be moved there. Only emit specific data would remain on PEModuleBuilder.
      
           Also refactors Compilation.Compile to remove some duplication and make it cleaner.
       (changeset 1249664)
      073242b0
  24. 01 4月, 2014 1 次提交
  25. 27 3月, 2014 1 次提交
  26. 23 3月, 2014 1 次提交
  27. 19 3月, 2014 1 次提交