Merge pull request #7247 from Hellhake/stylecop-game
Fix StyleCop warnings in OpenRA.Game
This commit is contained in:
@@ -18,6 +18,11 @@ namespace OpenRA.Support
|
||||
{
|
||||
public sealed class PerfTimer : IDisposable
|
||||
{
|
||||
// Tree settings
|
||||
const int Digits = 6;
|
||||
const string IndentationString = "| ";
|
||||
const string FormatSeperation = " ms ";
|
||||
static readonly string FormatString = "{0," + Digits + ":0}" + FormatSeperation + "{1}";
|
||||
readonly string name;
|
||||
readonly float thresholdMs;
|
||||
readonly byte depth;
|
||||
@@ -27,12 +32,6 @@ namespace OpenRA.Support
|
||||
|
||||
static ThreadLocal<PerfTimer> Parent = new ThreadLocal<PerfTimer>();
|
||||
|
||||
// Tree settings
|
||||
const int Digits = 6;
|
||||
const string IndentationString = "| ";
|
||||
const string FormatSeperation = " ms ";
|
||||
static readonly string FormatString = "{0," + Digits + ":0}" + FormatSeperation + "{1}";
|
||||
|
||||
public PerfTimer(string name, float thresholdMs = 0)
|
||||
{
|
||||
this.name = name;
|
||||
|
||||
Reference in New Issue
Block a user