12 references to Shared
Microsoft.Build (9)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
1435FileClassifier.Shared.RegisterKnownImmutableLocations(project.GetPropertyValue);
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (2)
403FileClassifier.Shared.RegisterFrameworkLocations(getPropertyValue); 404FileClassifier.Shared.RegisterKnownImmutableLocations(getPropertyValue);
BuildCheck\Infrastructure\CheckScopeClassifier.cs (4)
13static CheckScopeClassifier() => FileClassifier.Shared.OnImmutablePathsInitialized += SubscribeImmutablePathsInitialized; 17internal static bool IsScopingInitialized => FileClassifier.Shared.IsImmutablePathsInitialized; 53&& !FileClassifier.Shared.IsNonModifiable(filePathOfEvent) 67FileClassifier.Shared.OnImmutablePathsInitialized -= () => NotifyOnScopingReadiness?.Invoke();
Definition\ToolsetReader.cs (1)
422FileClassifier.Shared.RegisterFrameworkLocations(p =>
Evaluation\ProjectRootElementCache.cs (1)
179if (!Traits.Instance.EscapeHatches.AlwaysDoImmutableFilesUpToDateCheck && FileClassifier.Shared.IsNonModifiable(projectFile))
Microsoft.Build.Framework (2)
FileClassifier.cs (1)
72/// Single, static <see cref="Lazy{T}"/> instance of shared file FileClassifier for <see cref="Shared"/> member.
NativeMethods.cs (1)
1162bool isNonModifiable = FileClassifier.Shared.IsNonModifiable(fullPath);
Microsoft.Build.Framework.UnitTests (1)
FileClassifier_Tests.cs (1)
18FileClassifier.Shared.ShouldNotBeNull();