3 instantiations of RefSafetyAnalysis
Microsoft.CodeAnalysis.CSharp (3)
13 references to RefSafetyAnalysis
Microsoft.CodeAnalysis.CSharp (13)
Binder\RefSafetyAnalysis.cs (11)
20var visitor = new RefSafetyAnalysis(
91private readonly RefSafetyAnalysis _analysis;
94public LocalScope(RefSafetyAnalysis analysis, ImmutableArray<LocalSymbol> locals)
117private readonly RefSafetyAnalysis _analysis;
120public UnsafeRegion(RefSafetyAnalysis analysis, bool inUnsafeRegion)
135private readonly RefSafetyAnalysis _analysis;
138public PatternInput(RefSafetyAnalysis analysis, SafeContext patternInputValEscape)
153private readonly RefSafetyAnalysis _analysis;
156public PlaceholderRegion(RefSafetyAnalysis analysis, ArrayBuilder<(BoundValuePlaceholderBase, SafeContext)> placeholders)
312var analysis = new RefSafetyAnalysis(_compilation, localFunction, _inUnsafeRegion || localFunction.IsUnsafe, _useUpdatedEscapeRules, _diagnostics);
321var analysis = new RefSafetyAnalysis(_compilation, lambda, _inUnsafeRegion, _useUpdatedEscapeRules, _diagnostics);