- 11 12月, 2015 1 次提交
-
-
由 Neal Gafter 提交于
Remove caching of declaring syntax references for symbols in analyzer…
-
- 10 12月, 2015 14 次提交
-
-
由 Dustin Campbell 提交于
Watson: Fix crash when accessing CodeProperty.OverrideKind property for property not contained by a type
-
由 Heejae Chang 提交于
add ResultDir to TestResult rather than retrieving it from ResultsFil…
-
由 David Kean 提交于
Upgrade NuGet to 3.4.0.247 and increase restore timeout
-
由 David Kean 提交于
NuGet's timeout for restoring us is too short, causing a timeout on our internal build machines when the CPU is under high load. We need to upgrade to 3.4 to control this. Increase this to 20 minutes from the default 5 minutes.
-
由 Jason Malinowski 提交于
Delete build/ToolsetPackages/project.lock.json
-
由 Dustin Campbell 提交于
Code Model shouldn't expose code elements for invalid members (e.g. methods in namespaces) or fire events for them This change ensures that Code Model never considers members that are un-supported, such as methods declared directly inside of namespaces. It's possible that we may eventually add support in code model for top-level methods specifically within script code, but we don't support today.
-
由 Matt Warren 提交于
Add support for NotInheritable and NotOverridable
-
由 Jason Malinowski 提交于
Merge update 1 branch to master
-
由 David Kean 提交于
Disable FullQualifiedTests.TestCaseSensitivity3 due to flakiness
-
由 Jason Malinowski 提交于
Whereas other project.lock.json files are checked in because other tools consume them, this is consumed by nothing. All it does is make merging between branches more annoying.
-
由 Matt Warren 提交于
-
由 David Kean 提交于
-
由 Dustin Campbell 提交于
Watson: Fix crash when accessing CodeProperty.OverrideKind property for property not contained by a type The root cause is based on analysis of a Watson crash dump with ~300 hits. The call stack looks like this: ``` microsoft_visualstudio_languageservices_csharp_ni!Microsoft.VisualStudio.LanguageServices.CSharp.CodeModel.CSharpCodeModelService.GetOverrideKind microsoft_visualstudio_languageservices_implementation_ni!Microsoft.VisualStudio.LanguageServices.Implementation.CodeModel.InternalElements.AbstractCodeMember.get_OverrideKind envdte80!EnvDTE80.CodeProperty2.get_OverrideKind microsoft_visualstudio_modeling_artifactmapper_vshost!Microsoft.VisualStudio.Modeling.ArtifactMapper.VSHost.CodeController+AllLanguages+AttributeIsNew.GetAttribute microsoft_visualstudio_modeling_artifactmapper_vshost!Microsoft.VisualStudio.Modeling.ArtifactMapper.VSHost.CodeController.GetAttribute microsoft_visualstudio_modeling_artifactmapper_vshost!Microsoft.VisualStudio.Modeling.ArtifactMapper.VSHost.CodeController.GetProperties microsoft_visualstudio_modeling_artifactmapper_vshost!Microsoft.VisualStudio.Modeling.ArtifactMapper.VSHost.CodeHandler+CodeModelCache.FireAddEvent microsoft_visualstudio_modeling_artifactmapper_vshost!Microsoft.VisualStudio.Modeling.ArtifactMapper.VSHost.CodeHandler+CodeModelCache.AddElement microsoft_visualstudio_modeling_artifactmapper_vshost!Microsoft.VisualStudio.Modeling.ArtifactMapper.VSHost.CodeHandler.WalkCodeElement microsoft_visualstudio_modeling_artifactmapper_vshost!Microsoft.VisualStudio.Modeling.ArtifactMapper.VSHost.CodeHandler+CodeModelCache.AddElementWithChildren microsoft_visualstudio_modeling_artifactmapper_vshost!Microsoft.VisualStudio.Modeling.ArtifactMapper.VSHost.CodeHandler+CodeModelCache.RebindChildren microsoft_visualstudio_modeling_artifactmapper_vshost!Microsoft.VisualStudio.Modeling.ArtifactMapper.VSHost.CodeHandler+CodeModelCache.ChangeElementUnknown microsoft_visualstudio_modeling_artifactmapper_vshost!Microsoft.VisualStudio.Modeling.ArtifactMapper.VSHost.CodeHandler+CodeModelCache.ChangeElement microsoft_visualstudio_modeling_artifactmapper_vshost!Microsoft.VisualStudio.Modeling.ArtifactMapper.VSHost.CodeHandler.codeModelEvents_Changed ``` After analysis of the dump, I was able to reproduce the call stack using the following steps: 1. Create new Class Library 2. In the Solution Explorer, right-click on Class1.cs and choose View->View Class Diagram from the context menu. 3. Add a new property inside Class1. 4. Copy and paste that property *twice* inside the enclosing namespace of Class1. This causes an "Unknown" code model event to fire which the Class Designer responds to by digging through its elements and accessing various properties. One of those properties (`OverrideKind`) retrieves the containing type of the element, but that's null for the properties contained in a namespace and the call throws. So, the fix is to add a couple of simple null checks. Note that this affects all members, so I added tests for fields, events and methods as well.
-
由 Manish Vasani 提交于
Gracefully handle analyzer diagnostics with location outside the current compilation
-
- 09 12月, 2015 25 次提交
-
-
由 Manish Vasani 提交于
-
由 Heejae Chang 提交于
ResultsFilePath can be null in cases where xunit failed to save one. so rather than using ResultsFilePath to figure out ResultDir, we will save the dir in the TestResult along with the filepath.
-
由 Dustin Campbell 提交于
Fix VB outlining banner text to not break onto multiple lines
-
由 Dustin Campbell 提交于
Fix C# cast simplification issue where removal of a cast can break an implicitly-typed array
-
由 Kevin Halverson 提交于
Revert "Merge pull request #6903 from mavasani/MakeAnalyzerExecutorAsync"
-
由 Kevin Halverson 提交于
This reverts commit 268e7d38, reversing changes made to 98790c02. Conflicts: src/Compilers/Core/Portable/DiagnosticAnalyzer/AnalyzerDriver.cs
-
由 Manish Vasani 提交于
Code cracker recently added an analyzer that accidentally reports diagnostics with a location in a syntax tree outside of the current compilation. We were not handling this case gracefully and causing VS to crash. Code cracker fixed their analyzer and released an updated package. This change guards against such cases by ignoring such diagnostics and reporting an analyzer exception diagnostic about invalid diagnostic. Fixes #7173
-
由 Gen Lu 提交于
Fix VB using `ISingleValueCaseClause` as `ElseCaseClause`'s corresponding node in IOperation tree
-
由 Tomáš Matoušek 提交于
Fix a compiler crash when generating debug info for erroneous alias imports
-
由 Jonathon Marolf 提交于
Update Microsoft.DiaSymReader to 1.0.7-beta1
-
由 Jonathon Marolf 提交于
Fix nuspec file to point to the correct path
-
由 Jonathon Marolf 提交于
-
由 Matt Warren 提交于
-
由 Matt Warren 提交于
-
由 CyrusNajmabadi 提交于
Find 'Add Using' results with the same Fuzzy-match algorithm used by the spell-checker. Fixes: #7036
-
由 David Kean 提交于
Disable CodeGenAsyncTests.Return07_2 due to flakiness
-
由 Tomas Matousek 提交于
-
由 Cyrus Najmabadi 提交于
-
由 Cyrus Najmabadi 提交于
-
由 David Kean 提交于
-
由 Cyrus Najmabadi 提交于
-
由 John Hamby 提交于
Bad operations
-
由 David Kean 提交于
Update restore.ps1
-
由 Cyrus Najmabadi 提交于
-
由 Dustin Campbell 提交于
-