private static GUIContent GetOptionName(DisplayedType type, bool addSkipCtorMessage) { if (addSkipCtorMessage && type.Type.IsValueType == false && type.Type.GetConstructor(fsPortableReflection.EmptyTypes) == null) { return(new GUIContent(type.DisplayName + " (skips ctor)")); } return(new GUIContent(type.DisplayName)); }
private static GUIContent GetOptionName(DisplayedType type, bool addSkipCtorMessage) { if (addSkipCtorMessage && type.Type.IsValueType == false && type.Type.GetConstructor(fsPortableReflection.EmptyTypes) == null) { return new GUIContent(type.DisplayName + " (skips ctor)"); } return new GUIContent(type.DisplayName); }