我继承了一些代码,但对某些东西不熟悉......即在属性名称之前使用括号的语法以及在属性之后的附加名称:
<fmc_Flight>e__FixedBuffer1 fmc_Flight;
然后再次使用 fmc_Flight 跟踪该属性的目的是什么?
public <fmc_Flight>e__FixedBuffer1 fmc_Flight;
[FixedBuffer(typeof(char), 5)]
public <fmc_ICAO_arr_arpt>e__FixedBuffer2 fmc_ICAO_arr_arpt;
[FixedBuffer(typeof(char), 5)]
public <fmc_ICAO_dep_arpt>e__FixedBuffer3 fmc_ICAO_dep_arpt;
[StructLayout(LayoutKind.Sequential, Size=20), UnsafeValueType, CompilerGenerated]
public struct <fmc_Flight>e__FixedBuffer1
{
public char FixedElementField;
}
[StructLayout(LayoutKind.Sequential, Size=10), CompilerGenerated, UnsafeValueType]
public struct <fmc_ICAO_arr_arpt>e__FixedBuffer2
{
public char FixedElementField;
}
[StructLayout(LayoutKind.Sequential, Size=10), UnsafeValueType, CompilerGenerated]
public struct <fmc_ICAO_dep_arpt>e__FixedBuffer3
{
public char FixedElementField;
}