6 references to NotNullWhen
Microsoft.Build.Framework (1)
Logging\LoggerParametersHelper.cs (1)
22
public static bool TryParseVerbosityParameter(string parameterValue, [
NotNullWhen
(true)] out LoggerVerbosity? verbosity)
Microsoft.Build.Tasks.Core (5)
SolutionConfiguration.cs (5)
127
public bool TryGetProjectByGuid(string projectGuid, [
NotNullWhen
(true)] out XmlElement? projectElement) => _cachedProjectElements.TryGetValue(projectGuid, out projectElement);
129
public bool TryGetProjectByAbsolutePath(string projectFullPath, [
NotNullWhen
(true)] out XmlElement? projectElement) => _cachedProjectElementsByAbsolutePath.TryGetValue(projectFullPath, out projectElement);
131
public bool TryGetProjectGuidByAbsolutePath(string projectFullPath, [
NotNullWhen
(true)] out string? projectGuid) => _cachedProjectGuidsByAbsolutePath.TryGetValue(projectFullPath, out projectGuid);
133
public bool TryGetProjectDependencies(string projectGuid, [
NotNullWhen
(true)] out List<string>? dependencyProjectGuids) => _cachedDependencyProjectGuidsByDependingProjectGuid.TryGetValue(projectGuid, out dependencyProjectGuids);
135
public bool TryGetProjectPathByGuid(string projectGuid, [
NotNullWhen
(true)] out string? projectPath) => _cachedProjectAbsolutePathsByGuid.TryGetValue(projectGuid, out projectPath);