10 references to RecordDuplicateButNotCircularImports
Microsoft.Build (3)
Definition\Project.cs (1)
2277
ErrorUtilities.VerifyThrowInvalidOperation((_loadSettings & ProjectLoadSettings.
RecordDuplicateButNotCircularImports
) != 0, "OM_MustSetRecordDuplicateInputs");
Evaluation\Evaluator.cs (2)
2093
if ((_loadSettings & ProjectLoadSettings.RejectCircularImports) != 0 || (_loadSettings & ProjectLoadSettings.
RecordDuplicateButNotCircularImports
) != 0)
2155
if ((_loadSettings & ProjectLoadSettings.
RecordDuplicateButNotCircularImports
) != 0)
Microsoft.Build.Engine.OM.UnitTests (2)
Instance\ProjectInstance_Tests.cs (1)
463
var loadSettings = ProjectLoadSettings.
RecordDuplicateButNotCircularImports
ObjectModelRemoting\LinkedEvaluationReadOnly_Tests.cs (1)
24
var projReal = this.Remote[0].LoadProjectWithSettings(this.BigFile, ProjectLoadSettings.IgnoreMissingImports | ProjectLoadSettings.
RecordDuplicateButNotCircularImports
);
Microsoft.Build.Engine.UnitTests (5)
Evaluation\Evaluator_Tests.cs (2)
921
using ProjectFromString projectFromString = new(content, null, null, pc, ProjectLoadSettings.
RecordDuplicateButNotCircularImports
);
1006
using ProjectFromString projectFromString = new(manifest, null, null, pc, ProjectLoadSettings.
RecordDuplicateButNotCircularImports
);
Instance\ProjectInstance_Internal_Tests.cs (3)
828
[InlineData(false, ProjectLoadSettings.
RecordDuplicateButNotCircularImports
)]
830
[InlineData(true, ProjectLoadSettings.
RecordDuplicateButNotCircularImports
)]
870
string[] expectedImportPathsIncludingDuplicates = projectLoadSettings.HasFlag(ProjectLoadSettings.
RecordDuplicateButNotCircularImports
)