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