2 writes to Root
Microsoft.Maui.Controls.Build.Tasks (2)
CreateObjectVisitor.cs (1)
264
Context.
Root
= vardef;
SetPropertiesVisitor.cs (1)
1803
Root
= root,
10 references to Root
Microsoft.Maui.Controls.Build.Tasks (10)
SetPropertiesVisitor.cs (10)
1245
if (context.
Root
is VariableDefinition)
1246
foreach (var instruction in (context.
Root
as VariableDefinition).LoadAs(context.Cache, ctor.Parameters[0].ParameterType.ResolveGenericParameters(ctor), module))
1248
else if (context.
Root
is FieldDefinition)
1251
yield return Create(Ldfld, context.
Root
as FieldDefinition);
1788
var vdefRoot = parentContext.
Root
as VariableDefinition;
1791
var fdefRoot = parentContext.
Root
as FieldDefinition;
1851
if (parentContext.
Root
is VariableDefinition)
1852
parentIl.Append((parentContext.
Root
as VariableDefinition).LoadAs(parentContext.Cache, module.TypeSystem.Object, module));
1853
else if (parentContext.
Root
is FieldDefinition)
1856
parentIl.Emit(OpCodes.Ldfld, parentContext.
Root
as FieldDefinition);