2 references to AddLocalScopes
Microsoft.CodeAnalysis.CSharp (2)
Binder\RefSafetyAnalysis.cs (2)
101
_analysis.
AddLocalScopes
(local, refEscapeScope: _analysis._localScopeDepth, valEscapeScope: SafeContext.CallingMethod);
1103
AddLocalScopes
(local, refEscapeScope: local.RefKind == RefKind.None ? _localScopeDepth : collectionEscape, valEscapeScope: collectionEscape);