コード例 #1
0
 void AddDebuggerStepThroughAttribute(CodeTypeDeclaration codeType)
 {
     if (codeType.IsClass)
     {
         codeType.CustomAttributes.Add(new CodeAttributeDeclaration(parent.GetCodeTypeReference(typeof(DebuggerStepThroughAttribute))));
     }
 }