1 implementation of LockedValue
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
4701public IOperation LockedValue { get; }
10 references to LockedValue
Microsoft.CodeAnalysis (6)
Generated\Operations.Generated.cs (1)
427/// Represents a <see cref="Body" /> of operations that are executed while holding a lock onto the <see cref="LockedValue" />.
Operations\ControlFlowGraphBuilder.cs (5)
4234if (operation.LockedValue.Type?.IsWellKnownTypeLock() == true) 4236if (operation.LockedValue.Type.TryFindLockTypeInfo() is { } lockTypeInfo) 4239resources: operation.LockedValue, 4267IOperation? underlying = Visit(operation.LockedValue); 4326IOperation lockedValue = VisitRequired(operation.LockedValue);
Microsoft.CodeAnalysis.NetAnalyzers (4)
Microsoft.NetCore.Analyzers\Runtime\DoNotLockOnObjectsWithWeakIdentity.cs (1)
53context => ReportOnWeakIdentityObject(((ILockOperation)context.Operation).LockedValue, context),
Microsoft.NetCore.Analyzers\Security\SourceTriggeredTaintedDataAnalyzerBase.cs (2)
379case ILockOperation lockOperation when lockOperation.LockedValue.Type is ITypeSymbol lockedType && 555case ILockOperation lockOperation when lockOperation.LockedValue.Type is ITypeSymbol lockedType &&
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\PropertySetAnalysis.cs (1)
260case ILockOperation lockOperation when lockOperation.LockedValue.Type is ITypeSymbol lockedType &&