40 references to FileBasedProgramsResources
Microsoft.CodeAnalysis.CSharp.Workspaces (40)
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 (34)
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));
791
context.ReportError(string.Format(
FileBasedProgramsResources
.MissingDirectiveName, context.DirectiveKind));
797
context.ReportError(string.Format(
FileBasedProgramsResources
.UnexpectedDirectiveText, context.DirectiveKind));
856
context.ReportError(string.Format(
FileBasedProgramsResources
.UnexpectedDirectiveText, context.DirectiveKind));
891
context.ReportError(string.Format(
FileBasedProgramsResources
.UnexpectedDirectiveText, context.DirectiveKind));
902
context.ReportError(
FileBasedProgramsResources
.PropertyDirectiveMissingParts);
908
context.ReportError(string.Format(
FileBasedProgramsResources
.PropertyDirectiveInvalidName, nameError));
915
context.ReportError(
FileBasedProgramsResources
.StaticGraphRestoreNotSupported);
1025
context.ReportError(string.Format(
FileBasedProgramsResources
.MissingDirectiveName, context.DirectiveKind));
1091
ReportError(string.Format(
FileBasedProgramsResources
.InvalidProjectDirective, error));
1096
ReportError(string.Format(
FileBasedProgramsResources
.InvalidProjectDirective, string.Format(
FileBasedProgramsResources
.CouldNotFindProjectOrDirectory, resolvedProjectPath)));
1157
context.ReportError(string.Format(
FileBasedProgramsResources
.MissingDirectiveName, context.DirectiveKind));
1212
string.Format(
FileBasedProgramsResources
.InvalidRefDirective,
1213
string.Format(
FileBasedProgramsResources
.CouldNotFindRefFile, resolvedFilePath)));
1288
context.ReportError(string.Format(
FileBasedProgramsResources
.ConflictingDirectiveMetadata, name));
1322
string.Format(
FileBasedProgramsResources
.IncludeOrExcludeDirectiveUnknownFileType,
1412
ReportError(string.Format(
FileBasedProgramsResources
.InvalidIncludeExcludeMappingEntry, pair));
1421
ReportError(string.Format(
FileBasedProgramsResources
.InvalidIncludeExcludeMappingExtension, extension, pair));
1428
var message = string.Format(
FileBasedProgramsResources
.InvalidIncludeExcludeMappingItemType, itemType, pair);
1484
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)
167
throw new InvalidOperationException(
FileBasedProgramsResources
.EmptyTempPath);
432
reportError(EntryPointSourceFile.Text, EntryPointSourceFile.Path, default, string.Format(
FileBasedProgramsResources
.IncludedFileNotFound, filePath));