public override ImmutableArray<AttributeData> GetAttributes()
{
// [ScriptAttribute(RelativeFilePath)] // TODO: LastWriteTime
if (_lazyScriptAttribute == null)
{
_lazyScriptAttribute = new SynthesizedAttributeData(
DeclaringCompilation.CoreMethods.Ctors.ScriptAttribute_string,
ImmutableArray.Create(new TypedConstant(DeclaringCompilation.CoreTypes.String.Symbol, TypedConstantKind.Primitive, this.RelativeFilePath)),
ImmutableArray<KeyValuePair<string, TypedConstant>>.Empty);
}
//
return ImmutableArray.Create<AttributeData>(_lazyScriptAttribute);
}