void MarkMarshalSpec(IHasMarshalSpec spec) { CustomMarshalerSpec marshaler = spec.MarshalSpec as CustomMarshalerSpec; if (marshaler == null) { return; } TypeDefinition type = _context.GetType(marshaler.ManagedType); MarkType(type); }
public static MethodDefinition GetMethod(this LinkContext context, string assemblyName, string typeName, string name, string [] parameters) { var type = context.GetType(assemblyName, typeName); if (type == null) { return(null); } return(GetMethod(type, name, parameters)); }
public void OnAttribute(XPathNavigator nav) { string name = GetName(nav); TypeDefinition type = _context.GetType(name); if (type != null) { MarkType(type); } }