c# - CA2109 - ignore or not ignore - that is the question -
in program writing friend warning: ca2109. after looking @ msdn quite puzzled if need concern or not.
msdn vs2008: http://msdn.microsoft.com/en-us/library/ms182312(v=vs.90).aspx
msdn vs2010: http://msdn.microsoft.com/en-us/library/ms182312.aspx
the difference between these 2 versions section taken vs2008 msdn doesn't exist in vs2010 msdn:
note rule applies versions of before .net framework version 2.0. can suppress warning in .net framework version 2.0 , later versions. in these later versions, runtime automatically makes sure creator of delegate in callstack during stack walk security demand.
any suggestions?
edit: clarify after reading dgh answer - described in note in msdn2008 can ignore because compiler dealing this. question going on in vs2010 note doesn't exist.
it potential security concern. if code still compiles , runs (which warnings shouldn't prevent), can ignore move on. however, if wish have highest possible level of security program, should consider addressing issue recommended msdn articles.
Comments
Post a Comment