27 references to Format
Microsoft.Build.Tasks.Core (27)
GenerateResource.cs (27)
2635
Format
inFileFormat = GetFormat(inFile);
2636
if (inFileFormat ==
Format
.Error)
2641
if (inFileFormat !=
Format
.Assembly) // outFileOrDir is a directory when the input file is an assembly
2643
Format
outFileFormat = GetFormat(outFileOrDir);
2644
if (outFileFormat ==
Format
.Assembly)
2649
else if (outFileFormat ==
Format
.Error)
2736
if (GetFormat(inFile) ==
Format
.Assembly)
2813
&& GetFormat(inFile) !=
Format
.Assembly
2815
&& GetFormat(outFileOrDir) !=
Format
.Assembly)
2836
if (GetFormat(currentOutputFile) !=
Format
.Assembly)
2977
private
Format
GetFormat(string filename)
2987
return
Format
.Error;
2993
return
Format
.Text;
2998
return
Format
.XML;
3004
return
Format
.Assembly;
3008
return
Format
.Binary;
3013
return
Format
.Error;
3041
Format
format = GetFormat(filename);
3043
if (format ==
Format
.Assembly) // Multiple input .resources files within one assembly
3057
case
Format
.Text:
3061
case
Format
.XML:
3103
case
Format
.Binary:
3383
Format
format = GetFormat(filename);
3386
case
Format
.Text:
3390
case
Format
.XML:
3398
case
Format
.Assembly:
3402
case
Format
.Binary: