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