2 references to IsUnsafe
Microsoft.CodeAnalysis.CSharp (2)
Binder\ExecutableCodeBinder.cs (1)
129if (((iterator as SourceMemberMethodSymbol)?.IsUnsafe == true || (iterator as LocalFunctionSymbol)?.IsUnsafe == true)
Binder\RefSafetyAnalysis.cs (1)
317var analysis = new RefSafetyAnalysis(_compilation, localFunction, _inUnsafeRegion || localFunction.IsUnsafe, _useUpdatedEscapeRules, _diagnostics, _localEscapeScopes);