1 write to Info
Microsoft.CodeAnalysis.CSharp.Features (1)
SyncedSource\FileBasedPrograms\FileLevelDirectiveHelpers.cs (1)
141
Info
= new()
12 references to Info
Microsoft.CodeAnalysis.CSharp.Features (12)
SyncedSource\FileBasedPrograms\FileLevelDirectiveHelpers.cs (12)
156
reportError(sourceFile, context.
Info
.Span, FileBasedProgramsResources.QuoteInDirective);
312
context.ReportError(context.SourceFile, context.
Info
.Span, string.Format(FileBasedProgramsResources.UnrecognizedDirective, context.DirectiveKind));
325
context.ReportError(context.SourceFile, context.
Info
.Span, string.Format(FileBasedProgramsResources.MissingDirectiveName, directiveKind));
332
context.ReportError(context.SourceFile, context.
Info
.Span, string.Format(FileBasedProgramsResources.InvalidDirectiveName, directiveKind, separator));
382
return new Sdk(context.
Info
)
408
context.ReportError(context.SourceFile, context.
Info
.Span, FileBasedProgramsResources.PropertyDirectiveMissingParts);
418
context.ReportError(context.SourceFile, context.
Info
.Span, string.Format(FileBasedProgramsResources.PropertyDirectiveInvalidName, ex.Message));
425
context.ReportError(context.SourceFile, context.
Info
.Span, FileBasedProgramsResources.StaticGraphRestoreNotSupported);
428
return new Property(context.
Info
)
452
return new Package(context.
Info
)
498
context.ReportError(context.SourceFile, context.
Info
.Span, string.Format(FileBasedProgramsResources.MissingDirectiveName, directiveKind));
502
return new Project(context.
Info
, directiveText);