public void 泛型关键字() { GenericKeyword genericKeyword = GenericKeyword.Unmanaged; var output = EnumCache.GetGenericKeyword(genericKeyword); Assert.Equal("unmanaged", output); output = EnumCache.GetValue(genericKeyword); Assert.Equal("unmanaged", output); }
public static string GetGenericKeyword(GenericKeyword value) { return(_GenericKeyword.Value[value]); }
public GenericeConstraintInfo(GenericKeyword keyword, ConstraintLocation location, string value) { Keyword = keyword; Location = location; Value = value; }