c# - code analysis warning to make a collection read only -
i getting warning below:
ca2227 : microsoft.usage : change
addionaluserlist
read-only removing property setter
my code won't allow me make read only. setting property ajax call. can 1 tel me how rid of warning?
right click on warning in code analysis or error view , add exclusion. add annotation either in file next property or in global suppression file depending on option choose prevent warning showing up.
Comments
Post a Comment