27 references to Format
Microsoft.Build.Tasks.Core (27)
GenerateResource.cs (27)
2565
Format
inFileFormat = GetFormat(inFile);
2566
if (inFileFormat ==
Format
.Error)
2571
if (inFileFormat !=
Format
.Assembly) // outFileOrDir is a directory when the input file is an assembly
2573
Format
outFileFormat = GetFormat(outFileOrDir);
2574
if (outFileFormat ==
Format
.Assembly)
2579
else if (outFileFormat ==
Format
.Error)
2666
if (GetFormat(inFile) ==
Format
.Assembly)
2747
&& GetFormat(inFile) !=
Format
.Assembly
2749
&& GetFormat(outFileOrDir) !=
Format
.Assembly)
2770
if (GetFormat(currentOutputFile) !=
Format
.Assembly)
2911
private
Format
GetFormat(string filename)
2921
return
Format
.Error;
2927
return
Format
.Text;
2932
return
Format
.XML;
2938
return
Format
.Assembly;
2942
return
Format
.Binary;
2947
return
Format
.Error;
2975
Format
format = GetFormat(filename);
2977
if (format ==
Format
.Assembly) // Multiple input .resources files within one assembly
2991
case
Format
.Text:
2995
case
Format
.XML:
3037
case
Format
.Binary:
3317
Format
format = GetFormat(filename);
3320
case
Format
.Text:
3324
case
Format
.XML:
3332
case
Format
.Assembly:
3336
case
Format
.Binary: