如果我有以下代碼...ReSharper的 - 條件編譯XML註釋錯誤
#if PocketPC
/// <summary>Indicates whether usage of the Windows Mobile 5.0+ GPS intermediate driver is allowed.</summary>
private static bool allowGpsIntermediateDriver = true;
/// <summary>Indicates whether the device detection thread is currently active.</summary>
private static bool isDetectionThreadAlive;
#endif
... ReSharper的給我「XML註釋沒有放在有效的語言元素」的錯誤。有時候這些可以用#pragma壓制,但大多數不能。有沒有辦法解決?
另請參見:http://youtrack.jetbrains.net/issue/RSRP-181007 – AakashM 2010-12-22 08:46:31