1 write to Definitions
Microsoft.Gen.ContextualOptions (1)
Model\OptionsContextType.cs (1)
31Definitions = definitions;
6 references to Definitions
Microsoft.Gen.ContextualOptions (6)
Model\OptionsContextType.cs (1)
17public string Keyword => Definitions[0].Keyword.Text;
Parser.cs (5)
29type.Definitions 43type.Definitions 54if (!type.Definitions.Any(def => def.Modifiers.Any(static token => token.IsKind(SyntaxKind.PartialKeyword)))) 57type.Definitions.Select(def => Diagnostic.Create(DiagDescriptors.ContextMustBePartial, def.Identifier.GetLocation(), type.Name))); 68type.Definitions.Select(def => Diagnostic.Create(DiagDescriptors.ContextDoesNotHaveValidProperties, def.Identifier.GetLocation(), type.Name)));