namespace Mono.CSharp
{
- public enum SourceFileType
- {
- CSharp = 0,
- PlayScript
- }
-
//
// This is one single source file.
//
public readonly string FullPathName;
public readonly int Index;
public bool AutoGenerated;
- readonly SourceFileType FileType;
SourceFileEntry file;
byte[] algGuid, checksum;
this.Index = index;
this.Name = name;
this.FullPathName = path;
-
- if (name.EndsWith (".play", StringComparison.Ordinal) || name.EndsWith (".asx", StringComparison.Ordinal))
- FileType = SourceFileType.PlayScript;
}
public byte[] Checksum {
}
}
- public bool IsPlayScript {
- get {
- return FileType == SourceFileType.PlayScript;
- }
- }
-
public SourceFileEntry SourceFileEntry {
get {
return file;
// </summary>
static public void Initialize (List<SourceFile> files)
{
-#if NET_4_0 || MONODROID
+#if NET_4_0 || MOBILE_DYNAMIC
source_list.AddRange (files);
#else
source_list.AddRange (files.ToArray ());