3 instantiations of Property
dotnet (1)
Commands\Run\VirtualProjectBuildingCommand.cs (1)
1823return new Property(context.Info)
dotnet.Tests (2)
CommandTests\Run\RunTelemetryTests.cs (2)
133new CSharpDirective.Property(default) { Name = "TargetFramework", Value = "net8.0" }, 134new CSharpDirective.Property(default) { Name = "Nullable", Value = "enable" }
7 references to Property
dotnet (7)
Commands\Run\RunTelemetry.cs (1)
219return directives.OfType<CSharpDirective.Property>().Count();
Commands\Run\VirtualProjectBuildingCommand.cs (6)
1146var propertyDirectives = directives.OfType<CSharpDirective.Property>(); 1269foreach (var property in propertyDirectives) 1717"property" => Property.Parse(context), 1796public static new Property? Parse(in ParseContext context) 1805return context.Diagnostics.AddError<Property?>(context.SourceFile, context.Info.Span, CliCommandStrings.PropertyDirectiveMissingParts); 1814return context.Diagnostics.AddError<Property?>(context.SourceFile, context.Info.Span, string.Format(CliCommandStrings.PropertyDirectiveInvalidName, ex.Message), ex);