1 write to _type
ILCompiler.Compiler (1)
Compiler\DependencyAnalysis\NonGCStaticsNode.cs (1)
30_type = type;
28 references to _type
ILCompiler.Compiler (28)
Compiler\DependencyAnalysis\NonGCStaticsNode.cs (28)
43else if (_preinitializationManager.IsPreinitialized(_type)) 52foreach (FieldDesc field in _type.GetFields()) 82sb.Append(nameMangler.NodeMangler.NonGCStatics(_type)); 94return GetClassConstructorContextStorageSize(_type.Context.Target, _type); 119public bool HasCCtorContext => TypeHasCctorContext(_preinitializationManager, _type); 121public bool HasLazyStaticConstructor => _preinitializationManager.HasLazyStaticConstructor(_type); 123public override bool IsShareable => EETypeNode.IsTypeNodeShareable(_type); 125public MetadataType Type => _type; 153int fieldAlignment = _type.NonGCStaticFieldAlignment.AsInt; 157public override bool HasConditionalStaticDependencies => _type.ConvertToCanonForm(CanonicalFormKind.Specific) != _type; 164new CombinedDependencyListEntry(factory.NecessaryTypeSymbol(_type), 165factory.NativeLayout.TemplateTypeLayout(_type.ConvertToCanonForm(CanonicalFormKind.Specific)), 173if (factory.PreinitializationManager.HasEagerStaticConstructor(_type)) 175sink.Add(factory.EagerCctorIndirection(_type.GetStaticConstructor()), "Eager .cctor"); 177ModuleUseBasedDependencyAlgorithm.AddDependenciesDueToModuleUse(sink, factory, _type.Module); 191int classConstructorContextStorageSize = GetClassConstructorContextStorageSize(factory.Target, _type); 194Debug.Assert(classConstructorContextStorageSize >= GetClassConstructorContextSize(_type.Context.Target)); 197builder.EmitZeros(classConstructorContextStorageSize - GetClassConstructorContextSize(_type.Context.Target)); 211MethodDesc cctorMethod = _type.GetStaticConstructor(); 220if (_preinitializationManager.IsPreinitialized(_type)) 222TypePreinit.PreinitializationInfo preinitInfo = _preinitializationManager.GetPreinitializationInfo(_type); 224foreach (FieldDesc field in _type.GetFields()) 239int pad = _type.NonGCStaticFieldSize.AsInt - builder.CountBytes + initialOffset; 245builder.EmitZeros(_type.NonGCStaticFieldSize.AsInt); 257return comparer.Compare(_type, ((NonGCStaticsNode)other)._type);