aboutsummaryrefslogtreecommitdiff
path: root/src/ProtoGen/ProgramPreprocess.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ProtoGen/ProgramPreprocess.cs')
-rw-r--r--src/ProtoGen/ProgramPreprocess.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ProtoGen/ProgramPreprocess.cs b/src/ProtoGen/ProgramPreprocess.cs
index a1ebdf62..5bcf7cfe 100644
--- a/src/ProtoGen/ProgramPreprocess.cs
+++ b/src/ProtoGen/ProgramPreprocess.cs
@@ -14,8 +14,8 @@ namespace Google.ProtocolBuffers.ProtoGen
/// </summary>
public class ProgramPreprocess
{
- const string ProtocExecutable = "protoc.exe";
- const string ProtocDirectoryArg = "--protoc_dir=";
+ private const string ProtocExecutable = "protoc.exe";
+ private const string ProtocDirectoryArg = "--protoc_dir=";
private static int Main(string[] args)
{
@@ -154,7 +154,7 @@ namespace Google.ProtocolBuffers.ProtoGen
foreach (string path in searchPath)
{
- string exeFile = Path.Combine(path, ProtocExecutable);
+ string exeFile = Path.Combine(path, ProtocExecutable);
if (File.Exists(exeFile))
{
return exeFile;