JetBrains.Annotations
ReSharperã¯ã³ã¼ãåæãã¦nullåç §ãçºçããå¯è½æ§ãããã¨ãããææããæ©è½ãããã¾ãã
ãã®ããã«è©²å½ç®æã«æ³¢ç·ãåºã¦ä¾¿å©ã§ãã
ããããã¡ã½ããã®æ»ãå¤ãnullã®å ´åã¯ãæ®å¿µãªãããã§ãã¯ããã¾ããã
ãã ããã®æ©è½ã¯ã«ã¹ã¿ã å±æ§ã使ããã¦ããã®ã§ãnullãã§ãã¯ããããã¡ã½ããã«ã«ã¹ã¿ã å±æ§ãä»ãããã¨ã§å¯¾å¿å¯è½ã§ãã
ä¸è¨ã®ããã«ReSharperã®ãªãã·ã§ã³è¨å®ãããCode Annotationsã表示ãããã¨ãã«ã¹ã¿ã å±æ§ã®ããã©ã«ãå®è£
ãã¯ãªãããã¼ãã¸ã³ãã¼åºæ¥ãã®ã§ããããèªåã®ããã¸ã§ã¯ãã«åãè¾¼ã¿ã¾ãã
ããã§ReSharperå´ã§ä½¿ã£ã¦ããã«ã¹ã¿ã å±æ§ãå©ç¨ã§ããããã«ãªãã¾ãããã§ã¯ãæ©éã
CanBeNullå±æ§ãä»ãããã¨ã§ã³ã¼ãåæãnullåç
§ãæ¤åºã§ããããã«ãªãã¾ãããã