1. 09 2月, 2015 10 次提交
    • T
      Move Roslyn.DebuggerVisualizers to open. This project contains VS debugger... · 3a2d10ed
      TomasMatousek 提交于
      Move Roslyn.DebuggerVisualizers to open. This project contains VS debugger visualizers of IL, PDB and metadata blobs helful for debugging Roslyn issues. (changeset 1411991)
      3a2d10ed
    • A
      Disable... · c793aa06
      acasey 提交于
      Disable Microsoft.VisualStudio.LanguageServices.Implementation.EditAndContinue.VsENCRebuildableProjectImpl.TrackingSpansChanged(bool) pending perf investigation (issue #291). (changeset 1411936)
      c793aa06
    • R
      Renames namespaces for the interactive window · 4712f8bf
      RoslynTeam 提交于
       (changeset 1411873)
      4712f8bf
    • C
      EE: Minor cleanup (changeset 1411863) · 601f19c6
      ChuckStoner 提交于
      601f19c6
    • N
    • C
      Provide advanced matching for dotted names in NavigateTo. · f04c7901
      cyrusn 提交于
      No, if you search for something like CS.SK we'll find Microsoft.CodeAnalysis.CSharp.SyntaxKind
      
      We do this by breaking up the original pattern by dots (so, in this case, we'd have "CS" and "SK").  We then do our normal search, looking for symbols that match the last name piece (in this case "SK").  When we find one, we then walk up it's container seeing if each parent container name matches each respective preceding pattern component.  If all pattern parts match, then the symbol is a match and it is returned.
      ***NO_CI***
       (changeset 1411849)
      f04c7901
    • A
      Enable data tips on conditional access expressions · f3eb8280
      acasey 提交于
      Update the helpers that recognize member access and DataTipSpanGetters.
      
      Fixes DevDiv #1077843.
      
      CR: JasonMal, VladRes (changeset 1411839)
      f3eb8280
    • A
      Handle additional exception type from DkmClrModuleInstance.GetLocalSignatureToken · d2de8375
      acasey 提交于
      As part of hardening code in the debugger to handle module resolution failure, DkmClrModuleInstance.GetLocalSignatureToken can now throw FileNotFoundException when the module cannot be resolved.  This can happen when debugging dumps without heap.
      
      Fixes DevDiv #1118606.
      CR: PaNelson (changeset 1411814)
      d2de8375
    • T
      Show line information for diagnostics in PublicAPI.txt. · 663b3a9a
      tmeschter 提交于
      If a PublicAPI.txt file includes a symbol that is not found in the assembly we will create an error stating that an API has been deleted. We put this error in the PublicAPI.txt file, but do not currently include the line number.
      
      With this change we now search for the proper line, and include it in the diagnostic. (changeset 1411808)
      663b3a9a
    • S
      Fix a couple of regressions I introduced when I checked in my recent preview pane changes - · 58a2587e
      shyamn 提交于
      1. I had changed the preview pane service to just return the preview object that was passed in in cases where we have no additional information to display (e.g. in the case of refactorings, there is no diagnostic and so there is no need to add a diagnostic header). Unfortunately, the passed in object (IWpfDifferenceViewer) is not a wpf control that the platform can display - so this change ended up causing us to stop showing a preview in such cases. I changed the code back to do what it was doing before my change (i.e. get the visual control from from the passed in IWpfDifferenceViewer and wrap that with the preview pane). We'll need this later anyways once refactorings get headers...
      
      2. In cases where header was absent, we were still displaying a spurious separator between non-existent header and the preview diff view. Changed the code to only display the separator when required. (changeset 1411804)
      58a2587e
  2. 07 2月, 2015 12 次提交
  3. 06 2月, 2015 18 次提交
    • N
      Merge pull request #278 from gafter/master · c844dcc2
      Neal Gafter 提交于
      Include the actual license text.
      c844dcc2
    • N
      Include the actual license text. · 1ff27b04
      Neal Gafter 提交于
      1ff27b04
    • B
      Move Expression Evaluator to Open (changeset 1411117) · 6f53207a
      beep boop 提交于
      6f53207a
    • J
      Background: · ccb1afd7
      jaredpar 提交于
      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 1411068)
      ccb1afd7
    • T
      Warn if analyzers have dependencies with the same identity but different contents. · 04e4d15d
      tmeschter 提交于
      Consider what happens if you have two analyzers, A and B, that each depend on an assembly named C.
      
        Directory 1:
          A.dll
          C.dll
      
        Directory 2:
          B.dll
          C.dll
      
      If both copies of C have the same identity (name, version, culture, public key token, etc.) then only one of them is actually going to be loaded into VS. If both copies are identical then it doesn't matter, but if their contents differ the analyzers may not work the way they are supposed to or may fail outright.
      
      Here we attempt to let the user know that this might happen. Whenever an analyzer is added or removed we identify the transitive set of assemblies the analyzers' may load and identify assemblies that have the same identity. We then hash the file contents of these assemblies and compare. If they are different we surface a conflict in the Error List.
      
      In solutions with many different analyzers or dependencies this is a potentially expensive operation. To limit the impact on the system we only allow one of these operations to run at a time. If an analyzer is added or removed while a check is in progress we immediately signal for cancellation, wait for the existing task to finish up, and only then start the new one. (changeset 1411056)
      04e4d15d
    • T
      Enable the DeclarePublicAPI analyzer for VB projects · 9065cff1
      tmeschter 提交于
      When the DeclarePublicAPI analyzer was first put to use there were a couple of bugs in the compiler and IDE analyzer drivers for VB projects; this effectively limited the analyzer to C# projects. These have now been fixed, and it can be turned on for VB. (changeset 1411047)
      9065cff1
    • C
      Expose the compiler's helper to find ConditionalAccessExpressions at the... · 4045852b
      chandera 提交于
      Expose the compiler's helper to find ConditionalAccessExpressions at the Workspace layer. 1113971 tracks making this a public API in the compiler. (changeset 1411035)
      4045852b
    • C
      DescriptionModifyingCompletionItem should use the default task scheduler when... · fcac7546
      chandera 提交于
      DescriptionModifyingCompletionItem should use the default task scheduler when computing the snippet text. Use of "TaskScheduler.Current" will deadlock if the UI thread is blocking waiting for a description."TaskScheduler.Current" would deadlock if the UI thread was blocking waiting for a description.
      
      Note that this was previously checked into Dev14CTP as changeset 1350549 but somehow didn't get included when that branch RIed to Roslyn\Main. (changeset 1410908)
      fcac7546
    • A
    • T
    • V
      Fix bug 1042696. Changing shape of syntax nodes representing XML document... · 81f86053
      vladres 提交于
      Fix bug 1042696. Changing shape of syntax nodes representing XML document literals, as was planned initially, proved to be risky and time-consuming approach. After discussing this issue with KevinPi, I decided to apply a simpler fix on the compiler side (basically, a rollback of the changeset 1071554 that introduced this breaking change -- approved by the triage at that time). With this fix, the trailing whitespace is accepted and parsed as trailing trivia on the last token in the XML document. This fixes the compat break in the compiler, and extends the set of valid VB programs. But it requires reactivating IDE bug 602208, because some of the newly valid programs are not automatically supported by all refactorings (nothing that was previously working is being broken by this changeset - it just was OK that those programs were not supported because they were invalid). (changeset 1410876)
      81f86053
    • S
      This change addresses five issues around light bulb preview pane - · bbcf7241
      shyamn 提交于
      1. Stop displaying superfluous 'No Preview' under the header section of the preview pane for fixes such as 'rename tracking' and 'generate type dialog' that don't provide any visual preview.
      
      2. Make preview pane header font use the VS 'Environment' font settings so that user can change /scale the font.
      
      3. We were not displaying the preview header in the case of hidden diagnostics (which don't show up in the error list) - start displaying the header for hidden diagnostics (except if the diagnostic is a 'trigger' diagnostic).
      
      4. Disable tab stop / focus in the code diff view portion of the preview pane. When using keyboard, we were allowing user to stop in the diff view portion - this ended up causing confusion since we would display a blinking cursor in the code diff view portion giving users the impression that they could type something there.
      
      5. Set Focusable=true on the preview pane control. Light bulb checks for this before shifting keyboard focus to the preview pane in the case where there are no 'flavored' actions under the preview pane (such as 'Preview Changes' and 'Fix All Occurrences'). (changeset 1410707)
      bbcf7241
    • T
      Change MetadataReferenceProperties.Aliases to never return default array. · 663995d6
      TomasMatousek 提交于
      Makes it easier to use the property and fixes a couple of bugs, where the code didn't check for either IsDefault or IsEmpty. Now all use-sites just need to check for IsEmpty.
      
      Fixes 1119812. (changeset 1410494)
      663995d6
    • H
      rollback DiagnosticData.cs · 4671249e
      heejaechang 提交于
      the file belongs to different changes accidentally got checked in with telemetry change
      
      I rolling back the change. (changeset 1410406)
      4671249e
    • H
      call data type specific API for VS telemetry · e6775635
      heejaechang 提交于
      VS telemetry now has data type specific APIs that can be used to reprot various data type to server. once used, data can be manipulated better by reporting side. (changeset 1410375)
      e6775635
    • D
      Two dialog improvements: · afaec75e
      dpoeschl 提交于
      - Explicitly set HasDialogFrame="True" in all dialogs to maintain current behavior when the platform changes the default to False.
      - Add a resize grip to the GenerateType dialog (changeset 1410362)
      afaec75e
    • J
      Remove CopyLocal from Microsoft.VisualStudio.Composition.Configuration... · 035fe505
      jasonmalinowski 提交于
      Remove CopyLocal from Microsoft.VisualStudio.Composition.Configuration references (changeset 1410325)
      035fe505
    • M
      Skip failing CompilerServer test. (changeset 1410313) · 076b5679
      manishv 提交于
      076b5679