public Constructor GetOrCreateStaticConstructorFor(TypeDefinition type) { return type.GetStaticConstructor() ?? CreateStaticConstructor(type); }
Constructor GetStaticConstructor(TypeDefinition type) { Constructor constructor = type.GetStaticConstructor(); if (null == constructor) { constructor = CodeBuilder.CreateStaticConstructor(type); } return constructor; }