We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lock
Proposal: dotnet/csharplang#7104 Speclet: https://github.com/dotnet/csharplang/blob/main/proposals/csharp-13.0/lock-object.md Runtime API proposal: dotnet/runtime#34812
-langversion
lock (expr)
EnterLockScope
finally
Scope.Dispose
Monitor
dynamic
as
Obsolete
async
await
lock
yield
IAsyncEnumerable
struct
ref struct
interface
Scope
class
params
void
static
lock (expr) { }
expr
null
SyncLock
Dispose()
Enter
Exit
Try
Finally
The text was updated successfully, but these errors were encountered:
Lock.EnterScope
jjonescz
Successfully merging a pull request may close this issue.
Proposal: dotnet/csharplang#7104
Speclet: https://github.com/dotnet/csharplang/blob/main/proposals/csharp-13.0/lock-object.md
Runtime API proposal: dotnet/runtime#34812
-langversion
checklock (expr)
EnterLockScope
finally
block callsScope.Dispose
Monitor
APIs used for convertedLock
expressiondynamic
Lock
as
Obsolete
(no diagnostics)async
await
inlock
bodyawait
inlock
bodyasync
local functionasync
lambdayield
inlock
bodyyield
inlock
bodyasync
iterator that returnsIAsyncEnumerable
Lock
defined asstruct
Lock
defined asref struct
Lock
defined asinterface
Scope
defined asclass
Scope
defined asstruct
EnterLockScope
missingScope
missingScope.Dispose
missingLock
inaccessibleScope
inaccessibleEnterLockScope
inaccessibleScope.Dispose
inaccessibleLock
genericScope
genericEnterLockScope
genericScope.Dispose
genericScope
not a member ofLock
EnterLockScope
with parametersEnterLockScope
with optional orparams
parametersEnterLockScope
returnsvoid
EnterLockScope
returns type other thanScope
Scope.Dispose
with parametersScope.Dispose
with optional orparams
parametersScope.Dispose
returns typeEnterLockScope
isstatic
Scope.Dispose
isstatic
EnterLockScope
overloadsScope.Dispose
overloadsEnterLockScope
defined on base classScope
defined on base classEnterLockScope
as virtual, override, hiddenScope.Dispose
as virtual, override, hiddenEnterLockScope
as explicit implementationScope.Dispose
as explicit implementationEnterLockScope
use-site errorsScope
use-site errorsScope.Dispose
use-site errorslock (expr) { }
body,expr
is treated as notnull
(not specific toLock
)Lock
membersLock
membersLock
membersLock
membersSyncLock
Lock
Dispose()
is invoked after editinglock
bodyEnter
/Exit
andTry
/Finally
when net9 is available. See Handle Lock type in VB #71927 (comment).EnterLockScope
name in particular) and rename if necessary.Productivity
The text was updated successfully, but these errors were encountered: