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