소스 검색

Fix error in MDDefScopeElems.cs KeyTokenBytes()

k_john_gough_cp 14 년 전
부모
커밋
dee552a8c6
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      PERWAPI/MDDefScopeElems.cs

+ 1 - 0
PERWAPI/MDDefScopeElems.cs

@@ -193,6 +193,7 @@ namespace QUT.PERWAPI
         public byte[] KeyTokenBytes()
         {
             if (this.publicKey != null &&
+                this.publicKey.Length != 0 &&
                 this.hashAlgId == HashAlgorithmType.SHA1)
             {
                 int ix, ofst;