1
Vote

CA1802: mark NetflixUrls.BaseUrl field as Const rather than Static ReadOnly

description

FxCop reports "Warning CA1802 : Field 'NetflixUrls.BaseUrl' is declared as 'static readonly' but is initialized with a constant value 'http://api.netflix.com/'. Mark this field as 'const' instead." in wrapnetflix\DEV\WrapNetflix\NetflixUrls.vb
 
I don't see any reason not to do this, but as this code was authored by someone other than myself, and because there may be a good reason for it, I thought I'd document this so other developers are aware of the change and can back it out if appropriate.

comments

MikeSL wrote Jul 20, 2009 at 12:49 AM

Assigned to Grauenwolf (on the assumption he's the developer responsible).

wrote Feb 14, 2013 at 12:33 AM