public MetadataInfo(Type type, IExodataDeclaration declaration, MethodInfo method, Expression memberExpression) { Type = type; Declaration = declaration; Method = method; MemberExpression = memberExpression; }
private string GetMetadataName(IExodataDeclaration info) { string name; if (!_metadataNames.TryGetValue(info, out name)) { name = string.Format("md{0}", _nextMetadataName++); _metadataNames[info] = name; } return name; }