Exemplo n.º 1
0
        public override string ToString()
        {
            string stateString =
                State == Tristate.False ? "Always Disabled" :
                State == Tristate.True ? "Always Enabled" :
                "Varying";

            return(string.Format("{0}({1}): \"{2}\" : {3}",
                                 StartDirective.SyntaxTree.FilePath,
                                 Location.GetLineSpan().StartLinePosition.Line,
                                 StartDirective.ToString(),
                                 stateString));
        }
Exemplo n.º 2
0
 public void StartDirectiveSupported()
 {
     StartDirective.AddSupport();
     Utility.AssertSerialization <StartDirective>("StartDirective.json");
 }