1 write to HasUnsafeModifier
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
3314
this.
HasUnsafeModifier
= hasUnsafeModifier;
14 references to HasUnsafeModifier
Microsoft.CodeAnalysis.CSharp (14)
Binder\RefSafetyAnalysis.cs (1)
251
using var _1 = new UnsafeRegion(this, _inUnsafeRegion || node.
HasUnsafeModifier
);
Compiler\MethodCompiler.cs (1)
1058
body = body.Update(body.Locals, body.LocalFunctions, body.
HasUnsafeModifier
, body.Instrumentation, body.Statements.Insert(insertAt, analyzedInitializers));
FlowAnalysis\FlowAnalysisPass.cs (3)
162
return body.Update(body.Locals, body.LocalFunctions, body.
HasUnsafeModifier
, body.Instrumentation, body.Statements.Insert(index: 0, initializations));
176
return body.Update(body.Locals, ImmutableArray<LocalFunctionSymbol>.Empty, body.
HasUnsafeModifier
, body.Instrumentation, builder.ToImmutableAndFree());
204
return body.Update(body.Locals, body.LocalFunctions, body.
HasUnsafeModifier
, body.Instrumentation, body.Statements.Add(ret));
Generated\BoundNodes.xml.Generated.cs (4)
3328
if (locals != this.Locals || localFunctions != this.LocalFunctions || hasUnsafeModifier != this.
HasUnsafeModifier
|| instrumentation != this.Instrumentation || statements != this.Statements)
11287
return node.Update(node.Locals, node.LocalFunctions, node.
HasUnsafeModifier
, instrumentation, statements);
13357
return node.Update(locals, localFunctions, node.
HasUnsafeModifier
, instrumentation, statements);
15710
new TreeDumperNode("hasUnsafeModifier", node.
HasUnsafeModifier
, null),
Lowering\ClosureConversion\ClosureConversion.cs (1)
1195
return node.Update(newLocals.ToImmutableAndFree(), node.LocalFunctions, node.
HasUnsafeModifier
, newInstrumentation, newStatements.ToImmutableAndFree());
Lowering\Instrumentation\DebugInfoInjector.cs (1)
126
return block.Update(block.Locals, block.LocalFunctions, block.
HasUnsafeModifier
, block.Instrumentation, ImmutableArray.Create(InstrumentFieldOrPropertyInitializer(block.Statements.Single(), syntax)));
Lowering\LocalRewriter\LocalRewriter.cs (1)
720
return block.Update(locals, block.LocalFunctions, block.
HasUnsafeModifier
, block.Instrumentation, ImmutableArray.Create(statement));
Lowering\LocalRewriter\LocalRewriter_Block.cs (1)
58
return new BoundBlock(node.Syntax, locals, node.LocalFunctions, node.
HasUnsafeModifier
, instrumentation, builder.ToImmutableAndFree(), node.HasErrors);
Lowering\MethodToClassRewriter.cs (1)
159
return node.Update(newLocals, newLocalFunctions, node.
HasUnsafeModifier
, newInstrumentation, newStatements);