27 references to Format
Microsoft.Build.Tasks.Core (27)
GenerateResource.cs (27)
2638
Format
inFileFormat = GetFormat(inFile);
2639
if (inFileFormat ==
Format
.Error)
2644
if (inFileFormat !=
Format
.Assembly) // outFileOrDir is a directory when the input file is an assembly
2646
Format
outFileFormat = GetFormat(outFileOrDir);
2647
if (outFileFormat ==
Format
.Assembly)
2652
else if (outFileFormat ==
Format
.Error)
2740
if (GetFormat(inFile) ==
Format
.Assembly)
2817
&& GetFormat(inFile) !=
Format
.Assembly
2819
&& GetFormat(outFileOrDir) !=
Format
.Assembly)
2840
if (GetFormat(currentOutputFile) !=
Format
.Assembly)
2981
private
Format
GetFormat(string filename)
2991
return
Format
.Error;
2997
return
Format
.Text;
3002
return
Format
.XML;
3008
return
Format
.Assembly;
3012
return
Format
.Binary;
3017
return
Format
.Error;
3045
Format
format = GetFormat(filename);
3047
if (format ==
Format
.Assembly) // Multiple input .resources files within one assembly
3061
case
Format
.Text:
3065
case
Format
.XML:
3109
case
Format
.Binary:
3390
Format
format = GetFormat(filename);
3393
case
Format
.Text:
3397
case
Format
.XML:
3405
case
Format
.Assembly:
3409
case
Format
.Binary: