/// <nodoc /> public PublicSurfaceParser(BuildXL.Utilities.PathTable pathTable, [NotNull] byte[] serializedAstContent, int serializedAstLength) : base(pathTable) { Contract.Requires(serializedAstContent != null); Contract.Requires(serializedAstLength <= serializedAstContent.Length); m_serializedAstContent = serializedAstContent; m_serializedAstLength = serializedAstLength; }
/// <summary> /// Internal constructor /// </summary> /// <param name="pip">The pip that executed that process that reported the file access</param> /// <param name="reportedFileAccesse">Reported file access descriptor</param> /// <param name="pathTable">Path table used to expand path strings</param> internal ReportedFileAccessDescriptor(PipDescriptor pip, ref ReportedFileAccess reportedFileAccess, BuildXL.Utilities.PathTable pathTable) { Pip = pip; ReportedFileAccess = new ReportedFileAccess( operation: reportedFileAccess.Operation, process: reportedFileAccess.Process, requestedAccess: reportedFileAccess.RequestedAccess, status: reportedFileAccess.Status, explicitlyReported: reportedFileAccess.ExplicitlyReported, error: reportedFileAccess.Error, usn: reportedFileAccess.Usn, desiredAccess: reportedFileAccess.DesiredAccess, shareMode: reportedFileAccess.ShareMode, creationDisposition: reportedFileAccess.CreationDisposition, flagsAndAttributes: reportedFileAccess.FlagsAndAttributes, manifestPath: reportedFileAccess.ManifestPath, path: reportedFileAccess.GetPath(pathTable), enumeratePatttern: reportedFileAccess.EnumeratePattern); }