39 references to FileBasedProgramsResources
Microsoft.CodeAnalysis.CSharp.Workspaces (39)
src\981475f6d87f0007\Microsoft.DotNet.FileBasedPrograms.FileBasedProgramsResources.cs (1)
10internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(FileBasedProgramsResources)));
SyncedSource\FileBasedPrograms\FileLevelDirectiveHelpers.cs (33)
77errorReporter(sourceFile.Text, sourceFile.Path, trivia.Span, FileBasedProgramsResources.CannotConvertDirective); 385context.ReportError(string.Format(FileBasedProgramsResources.UnrecognizedDirective, context.DirectiveKind)); 450context.ReportError(FileBasedProgramsResources.InvalidQuoteInDirective); 466context.ReportError(FileBasedProgramsResources.UnterminatedQuoteInDirective); 470context.ReportError(string.Format(FileBasedProgramsResources.InvalidStringLiteralInDirective, errors[0].GetMessage())); 481context.ReportError(string.Format(FileBasedProgramsResources.ExpectedSimpleStringLiteralInDirective, token.Text)); 534context.ReportError(FileBasedProgramsResources.InvalidQuoteInDirective); 686context.ReportError(string.Format(FileBasedProgramsResources.MissingDirectiveName, context.DirectiveKind)); 699context.ReportError(string.Format(FileBasedProgramsResources.MissingDirectiveName, context.DirectiveKind)); 706context.ReportError(string.Format(FileBasedProgramsResources.InvalidDirectiveName, context.DirectiveKind, separator)); 742context.ReportError(string.Format(FileBasedProgramsResources.InvalidDirectiveMetadata, text)); 751context.ReportError(string.Format(FileBasedProgramsResources.DirectiveMetadataInvalidName, name, nameError)); 757context.ReportError(string.Format(FileBasedProgramsResources.ConflictingDirectiveMetadata, name)); 763context.ReportError(string.Format(FileBasedProgramsResources.DuplicateDirectiveMetadata, name)); 788context.ReportError(string.Format(FileBasedProgramsResources.MissingDirectiveName, context.DirectiveKind)); 794context.ReportError(string.Format(FileBasedProgramsResources.UnexpectedDirectiveText, context.DirectiveKind)); 847context.ReportError(string.Format(FileBasedProgramsResources.UnexpectedDirectiveText, context.DirectiveKind)); 882context.ReportError(string.Format(FileBasedProgramsResources.UnexpectedDirectiveText, context.DirectiveKind)); 893context.ReportError(FileBasedProgramsResources.PropertyDirectiveMissingParts); 899context.ReportError(string.Format(FileBasedProgramsResources.PropertyDirectiveInvalidName, nameError)); 906context.ReportError(FileBasedProgramsResources.StaticGraphRestoreNotSupported); 1016context.ReportError(string.Format(FileBasedProgramsResources.MissingDirectiveName, context.DirectiveKind)); 1082ReportError(string.Format(FileBasedProgramsResources.InvalidProjectDirective, error)); 1087ReportError(string.Format(FileBasedProgramsResources.InvalidProjectDirective, string.Format(FileBasedProgramsResources.CouldNotFindProjectOrDirectory, resolvedProjectPath))); 1148context.ReportError(string.Format(FileBasedProgramsResources.MissingDirectiveName, context.DirectiveKind)); 1203string.Format(FileBasedProgramsResources.InvalidRefDirective, 1204string.Format(FileBasedProgramsResources.CouldNotFindRefFile, resolvedFilePath))); 1299string.Format(FileBasedProgramsResources.IncludeOrExcludeDirectiveUnknownFileType, 1381ReportError(string.Format(FileBasedProgramsResources.InvalidIncludeExcludeMappingEntry, pair)); 1390ReportError(string.Format(FileBasedProgramsResources.InvalidIncludeExcludeMappingExtension, extension, pair)); 1396ReportError(string.Format(FileBasedProgramsResources.InvalidIncludeExcludeMappingItemType, itemType, pair)); 1446string.Format(FileBasedProgramsResources.DuplicateDirective, typeAndName));
SyncedSource\FileBasedPrograms\ProjectLocator.cs (3)
33error = string.Format(FileBasedProgramsResources.CouldNotFindProjectOrDirectory, projectDirectory); 40error = string.Format(FileBasedProgramsResources.CouldNotFindAnyProjectInDirectory, projectDirectory); 46error = string.Format(FileBasedProgramsResources.MoreThanOneProjectInDirectory, projectDirectory);
SyncedSource\FileBasedPrograms\VirtualProjectBuilder.cs (2)
161throw new InvalidOperationException(FileBasedProgramsResources.EmptyTempPath); 426reportError(EntryPointSourceFile.Text, EntryPointSourceFile.Path, default, string.Format(FileBasedProgramsResources.IncludedFileNotFound, filePath));