Mono.CSharp.TypeInfo.StructInfo.GetStructInfo C# (CSharp) Method

GetStructInfo() public static method

public static GetStructInfo ( System.TypeSpec type, IMemberContext context ) : StructInfo
type System.TypeSpec
context IMemberContext
return StructInfo
			public static StructInfo GetStructInfo (TypeSpec type, IMemberContext context)
			{
				if (type.BuiltinType > 0)
					return null;

				StructInfo info;
				if (field_type_hash.TryGetValue (type, out info))
					return info;

				return new StructInfo (type, context);
			}
		}