3 instantiations of Property
dotnet (1)
FileLevelDirectiveHelpers.cs (1)
423return new Property(context.Info)
dotnet.Tests (2)
CommandTests\Run\RunTelemetryTests.cs (2)
134new CSharpDirective.Property(default) { Name = "TargetFramework", Value = "net8.0" }, 135new CSharpDirective.Property(default) { Name = "Nullable", Value = "enable" }
7 references to Property
dotnet (7)
Commands\Run\RunTelemetry.cs (1)
224return directives.OfType<CSharpDirective.Property>().Count();
Commands\Run\VirtualProjectBuildingCommand.cs (2)
1156var propertyDirectives = directives.OfType<CSharpDirective.Property>(); 1309foreach (var property in propertyDirectives)
FileLevelDirectiveHelpers.cs (4)
309"property" => Property.Parse(context), 396public static new Property? Parse(in ParseContext context) 405return context.Diagnostics.AddError<Property?>(context.SourceFile, context.Info.Span, FileBasedProgramsResources.PropertyDirectiveMissingParts); 414return context.Diagnostics.AddError<Property?>(context.SourceFile, context.Info.Span, string.Format(FileBasedProgramsResources.PropertyDirectiveInvalidName, ex.Message), ex);