Example #1
0
        internal void EnrollType(ITypeDefinition typeDefinition)
        {
            TypeApi type = new TypeApi(typeDefinition);

            if (!_types.ContainsKey(type.Signature))
            {
                _types[type.Signature] = type;
            }
        }
Example #2
0
 internal bool TryMatchType(string sig, out TypeApi sketch)
 {
     sketch = null;
     return(_types.TryGetValue(sig, out sketch));
 }