40 references to FileBasedProgramsResources
Microsoft.CodeAnalysis.CSharp.Workspaces (40)
src\74cae5d01e88a8f3\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)));
1150
context.ReportError(string.Format(
FileBasedProgramsResources
.MissingDirectiveName, context.DirectiveKind));
1205
string.Format(
FileBasedProgramsResources
.InvalidRefDirective,
1206
string.Format(
FileBasedProgramsResources
.CouldNotFindRefFile, resolvedFilePath)));
1301
string.Format(
FileBasedProgramsResources
.IncludeOrExcludeDirectiveUnknownFileType,
1383
ReportError(string.Format(
FileBasedProgramsResources
.InvalidIncludeExcludeMappingEntry, pair));
1392
ReportError(string.Format(
FileBasedProgramsResources
.InvalidIncludeExcludeMappingExtension, extension, pair));
1398
ReportError(string.Format(
FileBasedProgramsResources
.InvalidIncludeExcludeMappingItemType, itemType, pair));
1448
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 (3)
162
throw new InvalidOperationException(
FileBasedProgramsResources
.EmptyTempPath);
427
reportError(EntryPointSourceFile.Text, EntryPointSourceFile.Path, default, string.Format(
FileBasedProgramsResources
.IncludedFileNotFound, filePath));
600
string.Format(
FileBasedProgramsResources
.ExperimentalFeatureDisabled, flagName));