4 references to DiagDescriptors
Microsoft.Gen.ContextualOptions (4)
Parser.cs (4)
32
.Select(modifier => Diagnostic.Create(
DiagDescriptors
.ContextCannotBeStatic, modifier.GetLocation(), type.Name)));
46
.Select(modifier => Diagnostic.Create(
DiagDescriptors
.ContextCannotBeRefLike, modifier.GetLocation(), type.Name)));
57
type.Definitions.Select(def => Diagnostic.Create(
DiagDescriptors
.ContextMustBePartial, def.Identifier.GetLocation(), type.Name)));
68
type.Definitions.Select(def => Diagnostic.Create(
DiagDescriptors
.ContextDoesNotHaveValidProperties, def.Identifier.GetLocation(), type.Name)));