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

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -