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

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