27 references to Format
Microsoft.Build.Tasks.Core (27)
GenerateResource.cs (27)
2638Format inFileFormat = GetFormat(inFile); 2639if (inFileFormat == Format.Error) 2644if (inFileFormat != Format.Assembly) // outFileOrDir is a directory when the input file is an assembly 2646Format outFileFormat = GetFormat(outFileOrDir); 2647if (outFileFormat == Format.Assembly) 2652else if (outFileFormat == Format.Error) 2740if (GetFormat(inFile) == Format.Assembly) 2817&& GetFormat(inFile) != Format.Assembly 2819&& GetFormat(outFileOrDir) != Format.Assembly) 2840if (GetFormat(currentOutputFile) != Format.Assembly) 2982private Format GetFormat(string filename) 2992return Format.Error; 2998return Format.Text; 3003return Format.XML; 3009return Format.Assembly; 3013return Format.Binary; 3018return Format.Error; 3046Format format = GetFormat(filename); 3048if (format == Format.Assembly) // Multiple input .resources files within one assembly 3062case Format.Text: 3066case Format.XML: 3110case Format.Binary: 3391Format format = GetFormat(filename); 3394case Format.Text: 3398case Format.XML: 3406case Format.Assembly: 3410case Format.Binary: