Merge master to features/param-nullchecking#36145
Merged
29 commits merged intofeatures/param-nullcheckingfrom Jun 4, 2019
Merged
Merge master to features/param-nullchecking#3614529 commits merged intofeatures/param-nullcheckingfrom
29 commits merged intofeatures/param-nullcheckingfrom
Conversation
…sible, and add a caching strategy to the snapshotter to reduce garbage creation for every node. Addressed minor PR feedback items as well.
…ed things, and turned it into an immutable structure backed by a builder used by nullable walker.
…of the SnapshotManager.Builder implementation, and updated some documentation.
…evert some changes in this PR to original state.
(DisposableFieldsShouldBeDisposed) We will now flag disposable creations in methods that do not escape the method body (return value, out/ref params, assign to field/property, add to collection, etc.). Additionally, we also flag disposable fields of disposable types that are not disposed in the type's Dispose method. Ported analyzers share the core dataflow analysis computation with the analyzers in the roslyn-analyzers repo (Microsoft.CodeAnalysis.FlowAnalysis.Utilities). This PR does not add any code fixes. We already have a code refactoring that offers wrapping a disposable creation within a using statement. I am hoping to extend that to handle more cases and also possibly convert it to a code fix in follow-up PR(s).
… assembly load lazy and revert reference add to the FlowAnalysis assembly in Workspaces (only referenced in Features now).
Additionally, we do not mark the package reference to in Features.csproj as PrivateAsset as this leads to the assembly not getting included in the Features NuGet package and causes Omnisharp's analyzer execution to throw missing dependency assembly load errors. Also update ExpectedDependency in DevDivInsertionFiles.csproj
…eview2 Port DisposeAnalyzers to release/dev16.2-preview2
…for LazyNoneOperation
…-to-master Merge release/dev16.2-preview2 to master
* Cleanup style * Remove BlueSquiggleForBuildDiagnostic * TableDataSource refactoring * Remove DiagnosticData.Workspace * Fix workspace reference * Simplify GetTrackingPoints * Simplify deduplication * EqualsModuloLocation * Simplify navigate to * Specialize table item * Fix assert * Feedback * Dedup TryNavigateTo * Couple of renames
Don't read the same property twice in pattern matching when accessed through the same underlying object, but references of different types. Fixes #34933
Specify the version number in pieces so we can generate the assembly version using just the major and minor version numbers.
Don't capture BoundNode when creating a LazyNoneOperation
Add initial checkpointing to the nullable walker.
Generate assembly version without using the patch version.
This pull request was closed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is an automatically generated pull request from master into features/param-nullchecking.
git fetch --all git checkout merges/master-to-features/param-nullchecking git reset --hard upstream/features/param-nullchecking git merge upstream/master # Fix merge conflicts git commit git push upstream merges/master-to-features/param-nullchecking --forceOnce all conflicts are resolved and all the tests pass, you are free to merge the pull request.