mirror of
https://github.com/github/codeql.git
synced 2026-04-27 09:45:15 +02:00
C#: Fix violations
This commit is contained in:
@@ -56,7 +56,7 @@ namespace Semmle.Extraction.CIL
|
||||
}
|
||||
|
||||
#if DEBUG_LABELS
|
||||
Dictionary<string, ILabelledEntity> debugLabels = new Dictionary<string, ILabelledEntity>();
|
||||
private readonly Dictionary<string, ILabelledEntity> debugLabels = new Dictionary<string, ILabelledEntity>();
|
||||
#endif
|
||||
|
||||
public IExtractedEntity Create(Handle h)
|
||||
@@ -66,7 +66,7 @@ namespace Semmle.Extraction.CIL
|
||||
}
|
||||
|
||||
// Lazily cache primitive types.
|
||||
PrimitiveType[] primitiveTypes = new PrimitiveType[(int)PrimitiveTypeCode.Object + 1];
|
||||
private readonly PrimitiveType[] primitiveTypes = new PrimitiveType[(int)PrimitiveTypeCode.Object + 1];
|
||||
|
||||
public PrimitiveType Create(PrimitiveTypeCode code)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user