1 write to Context
Microsoft.Maui.Controls.Build.Tasks (1)
SetFieldVisitor.cs (1)
11
Context
= context;
8 references to Context
Microsoft.Maui.Controls.Build.Tasks (8)
SetFieldVisitor.cs (8)
24
var parentVar =
Context
.Variables[(IElementNode)node];
33
var field =
Context
.Body.Method.DeclaringType.Fields.SingleOrDefault(fd => fd.Name == (string)node.Value);
36
Context
.IL.Emit(OpCodes.Ldarg_0);
37
Context
.IL.Append(
Context
.Variables[(IElementNode)parentNode].LoadAs(
Context
.Cache, field.FieldType,
Context
.Module));
38
Context
.IL.Emit(OpCodes.Stfld, field);