Examples of errors detected by the V3070 diagnostic

V3070. Uninitialized variables are used when initializing the 'A' variable.


Mono

V3070 Uninitialized variable 'schema' is used when initializing the 'ResourceSchema' variable. ResXResourceWriter.cs 59


class ResXResourceWriter : IResourceWriter, IDisposable
{
  ....
  public static readonly string ResourceSchema = schema;  // <=
  ....
  static string schema = ....;                            // <=
  ....
}


Do you make errors in the code?

Check your code
with PVS-Studio

Static code analysis
for C, C++ and C#

goto PVS-Studio;