UPGRADE: 翻訳漏れしていたルール名を翻訳
@@ -114,7 +114,7 @@ | ||
114 | 114 | </Resolution> |
115 | 115 | </Rule> |
116 | 116 | <Rule CheckId="CA1415" Category="Microsoft.Interoperability"> |
117 | - <Name>Declare P/Invokes correctly</Name> | |
117 | + <Name>P/Invokes 宣言には適切な型を使用する</Name> | |
118 | 118 | <Resolution> |
119 | 119 | <Content>{0} の引数 {1} の型を System.Threading.NativeOverlapped に変更してください。</Content> |
120 | 120 | <Pattern>^Change the declaration of (.+?) so that parameter (.+?) is a pointer to System\.Threading\.NativeOverlapped\.$</Pattern> |
@@ -8,7 +8,7 @@ | ||
8 | 8 | </Resolution> |
9 | 9 | </Rule> |
10 | 10 | <Rule CheckId="CA2103" Category="Microsoft.Security"> |
11 | - <Name>Review imperative security</Name> | |
11 | + <Name>可変な情報を使用して強制セキュリティ確認要求を行わない</Name> | |
12 | 12 | <Resolution> |
13 | 13 | <Content>型のメンバー {1} を {2} のコンストラクタに渡さないよう、{0} を修正してください。</Content> |
14 | 14 | <Pattern>^Review the following for a possible security vulnerability: In (.+?), the class member (.+?) is being passed to a (.+?) constructor\.$</Pattern> |
@@ -8,7 +8,7 @@ | ||
8 | 8 | </Resolution> |
9 | 9 | </Rule> |
10 | 10 | <Rule CheckId="CA1901" Category="Microsoft.Portability"> |
11 | - <Name>P/Invoke declarations should be portable</Name> | |
11 | + <Name>P/Invoke 宣言には 32bit でも 64bit でも正しく動作する型を使用する</Name> | |
12 | 12 | <Resolution> |
13 | 13 | <Content>メソッド {1} の引数 {0} の型を変更してください。プラットフォーム呼び出しメソッド {1} の引数 {0} の型は {3} プラットフォームでは {2} バイトですが、アンマネージ API は {5} プラットフォーム上の {4} バイトの型として宣言されています。どの型を代わりに使用すべきかは、MSDN プラットフォーム SDK のヘルプを参照してください。</Content> |
14 | 14 | <Pattern>^As it is declared in your code, parameter (.+?) of P/Invoke (.+?) will be (.+?) bytes wide on (.+?) platforms\. This is not correct, as the actual native declaration of this API indicates it should be (.+?) bytes wide on (.+?) platforms\. Consult the MSDN Platform SDK documentation for help determining what data type should be used instead of (.+?)\.$</Pattern> |