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)
2982
private
Format
GetFormat(string filename)
2992
return
Format
.Error;
2998
return
Format
.Text;
3003
return
Format
.XML;
3009
return
Format
.Assembly;
3013
return
Format
.Binary;
3018
return
Format
.Error;
3046
Format
format = GetFormat(filename);
3048
if (format ==
Format
.Assembly) // Multiple input .resources files within one assembly
3062
case
Format
.Text:
3066
case
Format
.XML:
3110
case
Format
.Binary:
3391
Format
format = GetFormat(filename);
3394
case
Format
.Text:
3398
case
Format
.XML:
3406
case
Format
.Assembly:
3410
case
Format
.Binary: