1 write to _lazyExpressionAndDiagnostics
Microsoft.CodeAnalysis.CSharp (1)
Binder\LockOrUsingBinder.cs (1)
93
Interlocked.CompareExchange(ref
_lazyExpressionAndDiagnostics
, new ExpressionAndDiagnostics(boundExpression, expressionDiagnostics.ToReadOnlyAndFree()), null);
4 references to _lazyExpressionAndDiagnostics
Microsoft.CodeAnalysis.CSharp (4)
Binder\LockOrUsingBinder.cs (4)
80
if (
_lazyExpressionAndDiagnostics
== null)
95
Debug.Assert(
_lazyExpressionAndDiagnostics
!= null);
99
diagnostics.AddRange(
_lazyExpressionAndDiagnostics
.Diagnostics, allowMismatchInDependencyAccumulation: true);
102
return
_lazyExpressionAndDiagnostics
.Expression;