1 write to _methodBodyFactory
Microsoft.CodeAnalysis.CSharp (1)
Lowering\Instrumentation\CodeCoverageInstrumenter.cs (1)
120
_methodBodyFactory
= methodBodyFactory;
20 references to _methodBodyFactory
Microsoft.CodeAnalysis.CSharp (20)
Lowering\Instrumentation\CodeCoverageInstrumenter.cs (20)
253
ArrayTypeSymbol.CreateCSharpArray(
_methodBodyFactory
.Compilation.Assembly, TypeWithAnnotations.Create(_payloadType));
262
_methodBodyFactory
.Assignment(
263
_methodBodyFactory
.Local(_methodPayload),
264
_methodBodyFactory
.ArrayAccess(
265
_methodBodyFactory
.InstrumentationPayloadRoot(analysisKind, modulePayloadType),
266
ImmutableArray.Create(
_methodBodyFactory
.MethodDefIndex(_method))));
268
BoundExpression mvid =
_methodBodyFactory
.ModuleVersionId();
269
BoundExpression methodToken =
_methodBodyFactory
.MethodDefIndex(_method);
272
_methodBodyFactory
.ArrayAccess(
273
_methodBodyFactory
.InstrumentationPayloadRoot(analysisKind, modulePayloadType),
274
ImmutableArray.Create(
_methodBodyFactory
.MethodDefIndex(_method)));
286
_methodBodyFactory
,
290
_methodBodyFactory
.Binary(
292
_methodBodyFactory
.SpecialType(SpecialType.System_Boolean),
293
_methodBodyFactory
.Local(_methodPayload),
294
_methodBodyFactory
.Null(_payloadType));
296
BoundStatement payloadIf =
_methodBodyFactory
.If(payloadNullTest, createPayloadCall);
314
prologue =
_methodBodyFactory
.StatementList(prologueStatements.ToImmutableAndFree());
444
SyntheticBoundNodeFactory statementFactory = new SyntheticBoundNodeFactory(_method, whenClause,
_methodBodyFactory
.CompilationState, _diagnostics);
472
SyntheticBoundNodeFactory statementFactory = new SyntheticBoundNodeFactory(_method, original.Syntax,
_methodBodyFactory
.CompilationState, _diagnostics);