3 references to PropertyDirectiveInvalidName
dotnet (1)
FileLevelDirectiveHelpers.cs (1)
414return context.Diagnostics.AddError<Property?>(context.SourceFile, context.Info.Span, string.Format(FileBasedProgramsResources.PropertyDirectiveInvalidName, ex.Message), ex);
dotnet.Tests (2)
CommandTests\Project\Convert\DotnetProjectConvertTests.cs (2)
1227expectedWildcardPattern: RunFileTests.DirectiveError("/app/Program.cs", 1, FileBasedProgramsResources.PropertyDirectiveInvalidName, """ 1292(4, string.Format(FileBasedProgramsResources.PropertyDirectiveInvalidName, "The ''' character, hexadecimal value 0x27, cannot be included in a name.")),