public void FindOrLoad5() { NativeSymbolBag bag = new NativeSymbolBag(); bag.AddTypeDef(new NativeTypeDef("foo", new NativeNamedType("struct", "foo"))); bag.AddDefinedType(new NativeStruct("foo")); NativeType nt = null; Assert.True(bag.TryResolveNamedType(new NativeNamedType("struct", "foo"), out nt)); Assert.Equal(NativeSymbolKind.StructType, nt.Kind); }