Commit f60ff7e
authored
Prevent potential deadlocks when reading/writing assets (#47864)
* Prevent potential deadlocks when reading/writing assets
* Fix
* Handle cancellation during reading version bytes
* Fix
* Make sure to complete the pipe reader/writer even when canceling
* Fix
* Feedback
* Always complete reader, complete writer on error
* Fix comment
* Reorder conditions in exception handler
* Feedback
* Only treat OCE triggred by incorrect token as critical error in debug builds
* Feedback
* Logging1 parent d77f160 commit f60ff7e
File tree
152 files changed
+1150
-82
lines changed- eng
- src
- Analyzers/CSharp/Tests
- AddBraces
- AddRequiredParentheses
- ConvertAnonymousTypeToTuple
- ConvertTypeOfToNameOf
- InlineDeclaration
- InvokeDelegateWithConditionalAccess
- MakeFieldReadonly
- MakeLocalFunctionStatic
- MisplacedUsingDirectives
- NamingStyles
- OrderModifiers
- PopulateSwitch
- QualifyMemberAccess
- RemoveUnnecessaryCast
- RemoveUnnecessaryImports
- RemoveUnnecessaryParentheses
- RemoveUnreachableCode
- RemoveUnusedParametersAndValues
- SimplifyBooleanExpression
- SimplifyInterpolation
- UseAutoProperty
- UseCoalesceExpression
- UseCollectionInitializer
- UseCompoundAssignment
- UseConditionalExpression
- UseDeconstruction
- UseDefaultLiteral
- UseExplicitTupleName
- UseExpressionBody
- UseImplicitOrExplicitType
- UseInferredMemberName
- UseIsNullCheck
- UseLocalFunction
- UseNullPropagation
- UseObjectInitializer
- UsePatternMatching
- UseSimpleUsingStatement
- UseSystemHashCode
- UseThrowExpression
- ValidateFormatString
- Compilers/Core/Portable/Serialization
- EditorFeatures
- CSharpTest
- AddAnonymousTypeMemberName
- AddParameter
- AddUsing
- AliasAmbiguousType
- Diagnostics
- AddExplicitCast
- ConditionalExpressionInStringInterpolation
- FixAllProvider
- FixReturnType
- GenerateEnumMember
- GenerateMethod
- GenerateType
- HideBase
- Iterator
- MakeMethodAsynchronous
- MakeStatementAsynchronous
- Nullable
- PreferFrameworkType
- RemoveInKeyword
- RemoveNewModifier
- SpellCheck
- Suppression
- UpdateProjectToAllowUnsafe
- UpgradeProject
- DisambiguateSameVariable
- DisposeAnalysis
- DocumentationComments/CodeFixes
- EmbeddedLanguages
- Formatting
- FullyQualify
- GenerateConstructor
- GenerateVariable
- ImplementAbstractClass
- ImplementInterface
- MakeClassAbstract
- MakeLocalFunctionStatic
- MakeMemberStatic
- MakeRefStruct
- RemoveUnnecessaryCast
- RemoveUnusedLocalFunction
- RemoveUnusedVariable
- ReplaceDefaultLiteral
- SimplifyThisOrMe
- SimplifyTypeNames
- UnsealClass
- UseExplicitTypeForConst
- UseExpressionBodyForLambda
- UseInterpolatedVerbatimString
- UsePatternCombinators
- UsePatternMatching
- DiagnosticsTestUtilities
- CodeActions
- Diagnostics
- VisualBasicTest/Diagnostics
- Suppression
- Test/Utilities/Portable/Assert
- Workspaces
- CoreTestUtilities/Remote
- CoreTest/Remote
- Core/Portable
- Remote
- Remote
- Core
- ServiceHub
- Host
- Services/Host
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
152 files changed
+1150
-82
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| 211 | + | |
211 | 212 | | |
212 | 213 | | |
213 | 214 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
20 | 26 | | |
21 | 27 | | |
22 | 28 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
19 | 25 | | |
20 | 26 | | |
21 | 27 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
19 | 25 | | |
20 | 26 | | |
21 | 27 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
17 | 23 | | |
18 | 24 | | |
19 | 25 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
17 | 23 | | |
18 | 24 | | |
19 | 25 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
21 | 27 | | |
22 | 28 | | |
23 | 29 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
18 | 24 | | |
19 | 25 | | |
20 | 26 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
19 | 25 | | |
20 | 26 | | |
21 | 27 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
21 | 27 | | |
22 | 28 | | |
23 | 29 | | |
| |||
0 commit comments