Suppress some PC0001 related to Pipes (#121)

Adjusting the rules related to IO.Pipes
This commit is contained in:
Paulo Janotti 2018-06-01 17:00:34 -07:00 коммит произвёл GitHub
Родитель ee28a21fd3
Коммит 532b760d5e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
5 изменённых файлов: 25 добавлений и 33 удалений

Просмотреть файл

@ -48,6 +48,21 @@ M:System.Diagnostics.Process.GetProcessesByName(System.String),System.Diagnostic
M:System.Diagnostics.Process.Kill,System.Diagnostics,Process,Kill(),Throws if remote but can't create remote instance,X,X,
M:System.Diagnostics.Process.Start,System.Diagnostics,Process,Start(),Only if UseShellExecute true and Windows version does not support it,,,X
M:System.Diagnostics.Process.Start(System.Diagnostics.ProcessStartInfo),System.Diagnostics,Process,Start(ProcessStartInfo),Only if UseShellExecute true and Windows version does not support it,,,X
M:System.IO.Pipes.NamedPipeClientStream.#ctor(System.String),System.IO.Pipes,NamedPipeClientStream,.ctor(String),PNSE on invalid path chars on Unix,X,X,
"M:System.IO.Pipes.NamedPipeClientStream.#ctor(System.String,System.String)",System.IO.Pipes,NamedPipeClientStream,".ctor(String, String)",PNSE on invalid path chars on Unix,X,X,
"M:System.IO.Pipes.NamedPipeClientStream.#ctor(System.String,System.String,System.IO.Pipes.PipeDirection)",System.IO.Pipes,NamedPipeClientStream,".ctor(String, String, PipeDirection)",PNSE on invalid path chars on Unix,X,X,
"M:System.IO.Pipes.NamedPipeClientStream.#ctor(System.String,System.String,System.IO.Pipes.PipeDirection,System.IO.Pipes.PipeOptions)",System.IO.Pipes,NamedPipeClientStream,".ctor(String, String, PipeDirection, PipeOptions)",PNSE on invalid path chars on Unix,X,X,
"M:System.IO.Pipes.NamedPipeClientStream.#ctor(System.String,System.String,System.IO.Pipes.PipeDirection,System.IO.Pipes.PipeOptions,System.Security.Principal.TokenImpersonationLevel)",System.IO.Pipes,NamedPipeClientStream,".ctor(String, String, PipeDirection, PipeOptions, TokenImpersonationLevel)",PNSE on invalid path chars on Unix,X,X,
"M:System.IO.Pipes.NamedPipeClientStream.#ctor(System.String,System.String,System.IO.Pipes.PipeDirection,System.IO.Pipes.PipeOptions,System.Security.Principal.TokenImpersonationLevel,System.IO.HandleInheritability)",System.IO.Pipes,NamedPipeClientStream,".ctor(String, String, PipeDirection, PipeOptions, TokenImpersonationLevel, HandleInheritability)",PNSE on invalid path chars on Unix,X,X,
M:System.IO.Pipes.NamedPipeServerStream.#ctor(System.String),System.IO.Pipes,NamedPipeServerStream,.ctor(String),PNSE unreachable,X,X,
"M:System.IO.Pipes.NamedPipeServerStream.#ctor(System.String,System.IO.Pipes.PipeDirection)",System.IO.Pipes,NamedPipeServerStream,".ctor(String, PipeDirection)",PNSE unreachable,X,X,
"M:System.IO.Pipes.NamedPipeServerStream.#ctor(System.String,System.IO.Pipes.PipeDirection,System.Int32)",System.IO.Pipes,NamedPipeServerStream,".ctor(String, PipeDirection, Int32)",PNSE unreachable,X,X,
"M:System.IO.Pipes.NamedPipeServerStream.#ctor(System.String,System.IO.Pipes.PipeDirection,System.Int32,System.IO.Pipes.PipeTransmissionMode)",System.IO.Pipes,NamedPipeServerStream,".ctor(String, PipeDirection, Int32, PipeTransmissionMode)",PNSE only for PipeTransmissionMode.Message,X,X,
"M:System.IO.Pipes.NamedPipeServerStream.#ctor(System.String,System.IO.Pipes.PipeDirection,System.Int32,System.IO.Pipes.PipeTransmissionMode,System.IO.Pipes.PipeOptions)",System.IO.Pipes,NamedPipeServerStream,".ctor(String, PipeDirection, Int32, PipeTransmissionMode, PipeOptions)",PNSE only for PipeTransmissionMode.Message,X,X,
"M:System.IO.Pipes.NamedPipeServerStream.#ctor(System.String,System.IO.Pipes.PipeDirection,System.Int32,System.IO.Pipes.PipeTransmissionMode,System.IO.Pipes.PipeOptions,System.Int32,System.Int32)",System.IO.Pipes,NamedPipeServerStream,".ctor(String, PipeDirection, Int32, PipeTransmissionMode, PipeOptions, Int32, Int32)",PNSE only for PipeTransmissionMode.Message,X,X,
M:System.IO.Pipes.NamedPipeServerStream.GetImpersonationUserName,System.IO.Pipes,NamedPipeServerStream,GetImpersonationUserName(),PNSE unreachable,X,X,
M:System.IO.Pipes.PipeStream.get_InBufferSize,System.IO.Pipes,PipeStream,get_InBufferSize(),PNSE unreachable on Linux,X,,
M:System.IO.Pipes.PipeStream.get_OutBufferSize,System.IO.Pipes,PipeStream,get_OutBufferSize(),PNSE unreachable on Linux,X,,
"M:System.Net.Sockets.Socket.BeginConnect(System.Net.EndPoint,System.AsyncCallback,System.Object)",System.Net.Sockets,Socket,"BeginConnect(EndPoint, AsyncCallback, Object)",see ValidateForMultiConnect to understand when PNSE can happen,X,X,
"M:System.Net.Sockets.Socket.BeginConnect(System.Net.IPAddress,System.Int32,System.AsyncCallback,System.Object)",System.Net.Sockets,Socket,"BeginConnect(IPAddress, Int32, AsyncCallback, Object)",see ValidateForMultiConnect to understand when PNSE can happen,X,X,
"M:System.Net.Sockets.Socket.BeginConnect(System.Net.IPAddress[],System.Int32,System.AsyncCallback,System.Object)",System.Net.Sockets,Socket,"BeginConnect(IPAddress[], Int32, AsyncCallback, Object)",see ValidateForMultiConnect to understand when PNSE can happen,X,X,

1 DocId Namespace Type Member Reason linux osx win
48 M:System.Diagnostics.Process.Kill System.Diagnostics Process Kill() Throws if remote but can't create remote instance X X
49 M:System.Diagnostics.Process.Start System.Diagnostics Process Start() Only if UseShellExecute true and Windows version does not support it X
50 M:System.Diagnostics.Process.Start(System.Diagnostics.ProcessStartInfo) System.Diagnostics Process Start(ProcessStartInfo) Only if UseShellExecute true and Windows version does not support it X
51 M:System.IO.Pipes.NamedPipeClientStream.#ctor(System.String) System.IO.Pipes NamedPipeClientStream .ctor(String) PNSE on invalid path chars on Unix X X
52 M:System.IO.Pipes.NamedPipeClientStream.#ctor(System.String,System.String) System.IO.Pipes NamedPipeClientStream .ctor(String, String) PNSE on invalid path chars on Unix X X
53 M:System.IO.Pipes.NamedPipeClientStream.#ctor(System.String,System.String,System.IO.Pipes.PipeDirection) System.IO.Pipes NamedPipeClientStream .ctor(String, String, PipeDirection) PNSE on invalid path chars on Unix X X
54 M:System.IO.Pipes.NamedPipeClientStream.#ctor(System.String,System.String,System.IO.Pipes.PipeDirection,System.IO.Pipes.PipeOptions) System.IO.Pipes NamedPipeClientStream .ctor(String, String, PipeDirection, PipeOptions) PNSE on invalid path chars on Unix X X
55 M:System.IO.Pipes.NamedPipeClientStream.#ctor(System.String,System.String,System.IO.Pipes.PipeDirection,System.IO.Pipes.PipeOptions,System.Security.Principal.TokenImpersonationLevel) System.IO.Pipes NamedPipeClientStream .ctor(String, String, PipeDirection, PipeOptions, TokenImpersonationLevel) PNSE on invalid path chars on Unix X X
56 M:System.IO.Pipes.NamedPipeClientStream.#ctor(System.String,System.String,System.IO.Pipes.PipeDirection,System.IO.Pipes.PipeOptions,System.Security.Principal.TokenImpersonationLevel,System.IO.HandleInheritability) System.IO.Pipes NamedPipeClientStream .ctor(String, String, PipeDirection, PipeOptions, TokenImpersonationLevel, HandleInheritability) PNSE on invalid path chars on Unix X X
57 M:System.IO.Pipes.NamedPipeServerStream.#ctor(System.String) System.IO.Pipes NamedPipeServerStream .ctor(String) PNSE unreachable X X
58 M:System.IO.Pipes.NamedPipeServerStream.#ctor(System.String,System.IO.Pipes.PipeDirection) System.IO.Pipes NamedPipeServerStream .ctor(String, PipeDirection) PNSE unreachable X X
59 M:System.IO.Pipes.NamedPipeServerStream.#ctor(System.String,System.IO.Pipes.PipeDirection,System.Int32) System.IO.Pipes NamedPipeServerStream .ctor(String, PipeDirection, Int32) PNSE unreachable X X
60 M:System.IO.Pipes.NamedPipeServerStream.#ctor(System.String,System.IO.Pipes.PipeDirection,System.Int32,System.IO.Pipes.PipeTransmissionMode) System.IO.Pipes NamedPipeServerStream .ctor(String, PipeDirection, Int32, PipeTransmissionMode) PNSE only for PipeTransmissionMode.Message X X
61 M:System.IO.Pipes.NamedPipeServerStream.#ctor(System.String,System.IO.Pipes.PipeDirection,System.Int32,System.IO.Pipes.PipeTransmissionMode,System.IO.Pipes.PipeOptions) System.IO.Pipes NamedPipeServerStream .ctor(String, PipeDirection, Int32, PipeTransmissionMode, PipeOptions) PNSE only for PipeTransmissionMode.Message X X
62 M:System.IO.Pipes.NamedPipeServerStream.#ctor(System.String,System.IO.Pipes.PipeDirection,System.Int32,System.IO.Pipes.PipeTransmissionMode,System.IO.Pipes.PipeOptions,System.Int32,System.Int32) System.IO.Pipes NamedPipeServerStream .ctor(String, PipeDirection, Int32, PipeTransmissionMode, PipeOptions, Int32, Int32) PNSE only for PipeTransmissionMode.Message X X
63 M:System.IO.Pipes.NamedPipeServerStream.GetImpersonationUserName System.IO.Pipes NamedPipeServerStream GetImpersonationUserName() PNSE unreachable X X
64 M:System.IO.Pipes.PipeStream.get_InBufferSize System.IO.Pipes PipeStream get_InBufferSize() PNSE unreachable on Linux X
65 M:System.IO.Pipes.PipeStream.get_OutBufferSize System.IO.Pipes PipeStream get_OutBufferSize() PNSE unreachable on Linux X
66 M:System.Net.Sockets.Socket.BeginConnect(System.Net.EndPoint,System.AsyncCallback,System.Object) System.Net.Sockets Socket BeginConnect(EndPoint, AsyncCallback, Object) see ValidateForMultiConnect to understand when PNSE can happen X X
67 M:System.Net.Sockets.Socket.BeginConnect(System.Net.IPAddress,System.Int32,System.AsyncCallback,System.Object) System.Net.Sockets Socket BeginConnect(IPAddress, Int32, AsyncCallback, Object) see ValidateForMultiConnect to understand when PNSE can happen X X
68 M:System.Net.Sockets.Socket.BeginConnect(System.Net.IPAddress[],System.Int32,System.AsyncCallback,System.Object) System.Net.Sockets Socket BeginConnect(IPAddress[], Int32, AsyncCallback, Object) see ValidateForMultiConnect to understand when PNSE can happen X X

Просмотреть файл

@ -1,4 +1,5 @@
DocId,Namespace,Type,Member,linux,osx,win
F:System.IO.Pipes.PipeTransmissionMode.Message,System.IO.Pipes,PipeTransmissionMode,Message,X,X,
F:System.Net.Sockets.TransmitFileOptions.Disconnect,System.Net.Sockets,TransmitFileOptions,Disconnect,X,X,
F:System.Net.Sockets.TransmitFileOptions.ReuseSocket,System.Net.Sockets,TransmitFileOptions,ReuseSocket,X,X,
F:System.Net.Sockets.TransmitFileOptions.UseKernelApc,System.Net.Sockets,TransmitFileOptions,UseKernelApc,X,X,

1 DocId Namespace Type Member linux osx win
2 F:System.IO.Pipes.PipeTransmissionMode.Message System.IO.Pipes PipeTransmissionMode Message X X
3 F:System.Net.Sockets.TransmitFileOptions.Disconnect System.Net.Sockets TransmitFileOptions Disconnect X X
4 F:System.Net.Sockets.TransmitFileOptions.ReuseSocket System.Net.Sockets TransmitFileOptions ReuseSocket X X
5 F:System.Net.Sockets.TransmitFileOptions.UseKernelApc System.Net.Sockets TransmitFileOptions UseKernelApc X X

Просмотреть файл

@ -2169,20 +2169,7 @@ M:System.IO.MemoryMappedFiles.MemoryMappedFile.CreateFromFile(System.String),Sys
M:System.IO.MemoryMappedFiles.MemoryMappedFile.OpenExisting(System.String),System.IO.MemoryMappedFiles,MemoryMappedFile,OpenExisting(String),X,X,
"M:System.IO.MemoryMappedFiles.MemoryMappedFile.OpenExisting(System.String,System.IO.MemoryMappedFiles.MemoryMappedFileRights)",System.IO.MemoryMappedFiles,MemoryMappedFile,"OpenExisting(String, MemoryMappedFileRights)",X,X,
"M:System.IO.MemoryMappedFiles.MemoryMappedFile.OpenExisting(System.String,System.IO.MemoryMappedFiles.MemoryMappedFileRights,System.IO.HandleInheritability)",System.IO.MemoryMappedFiles,MemoryMappedFile,"OpenExisting(String, MemoryMappedFileRights, HandleInheritability)",X,X,
M:System.IO.Pipes.NamedPipeClientStream.#ctor(System.String),System.IO.Pipes,NamedPipeClientStream,.ctor(String),X,X,
"M:System.IO.Pipes.NamedPipeClientStream.#ctor(System.String,System.String)",System.IO.Pipes,NamedPipeClientStream,".ctor(String, String)",X,X,
"M:System.IO.Pipes.NamedPipeClientStream.#ctor(System.String,System.String,System.IO.Pipes.PipeDirection)",System.IO.Pipes,NamedPipeClientStream,".ctor(String, String, PipeDirection)",X,X,
"M:System.IO.Pipes.NamedPipeClientStream.#ctor(System.String,System.String,System.IO.Pipes.PipeDirection,System.IO.Pipes.PipeOptions)",System.IO.Pipes,NamedPipeClientStream,".ctor(String, String, PipeDirection, PipeOptions)",X,X,
"M:System.IO.Pipes.NamedPipeClientStream.#ctor(System.String,System.String,System.IO.Pipes.PipeDirection,System.IO.Pipes.PipeOptions,System.Security.Principal.TokenImpersonationLevel)",System.IO.Pipes,NamedPipeClientStream,".ctor(String, String, PipeDirection, PipeOptions, TokenImpersonationLevel)",X,X,
"M:System.IO.Pipes.NamedPipeClientStream.#ctor(System.String,System.String,System.IO.Pipes.PipeDirection,System.IO.Pipes.PipeOptions,System.Security.Principal.TokenImpersonationLevel,System.IO.HandleInheritability)",System.IO.Pipes,NamedPipeClientStream,".ctor(String, String, PipeDirection, PipeOptions, TokenImpersonationLevel, HandleInheritability)",X,X,
M:System.IO.Pipes.NamedPipeClientStream.get_NumberOfServerInstances,System.IO.Pipes,NamedPipeClientStream,get_NumberOfServerInstances(),X,X,
M:System.IO.Pipes.NamedPipeServerStream.#ctor(System.String),System.IO.Pipes,NamedPipeServerStream,.ctor(String),X,X,
"M:System.IO.Pipes.NamedPipeServerStream.#ctor(System.String,System.IO.Pipes.PipeDirection)",System.IO.Pipes,NamedPipeServerStream,".ctor(String, PipeDirection)",X,X,
"M:System.IO.Pipes.NamedPipeServerStream.#ctor(System.String,System.IO.Pipes.PipeDirection,System.Int32)",System.IO.Pipes,NamedPipeServerStream,".ctor(String, PipeDirection, Int32)",X,X,
"M:System.IO.Pipes.NamedPipeServerStream.#ctor(System.String,System.IO.Pipes.PipeDirection,System.Int32,System.IO.Pipes.PipeTransmissionMode)",System.IO.Pipes,NamedPipeServerStream,".ctor(String, PipeDirection, Int32, PipeTransmissionMode)",X,X,
"M:System.IO.Pipes.NamedPipeServerStream.#ctor(System.String,System.IO.Pipes.PipeDirection,System.Int32,System.IO.Pipes.PipeTransmissionMode,System.IO.Pipes.PipeOptions)",System.IO.Pipes,NamedPipeServerStream,".ctor(String, PipeDirection, Int32, PipeTransmissionMode, PipeOptions)",X,X,
"M:System.IO.Pipes.NamedPipeServerStream.#ctor(System.String,System.IO.Pipes.PipeDirection,System.Int32,System.IO.Pipes.PipeTransmissionMode,System.IO.Pipes.PipeOptions,System.Int32,System.Int32)",System.IO.Pipes,NamedPipeServerStream,".ctor(String, PipeDirection, Int32, PipeTransmissionMode, PipeOptions, Int32, Int32)",X,X,
M:System.IO.Pipes.NamedPipeServerStream.GetImpersonationUserName,System.IO.Pipes,NamedPipeServerStream,GetImpersonationUserName(),X,X,
M:System.IO.Pipes.NamedPipeServerStream.RunAsClient(System.IO.Pipes.PipeStreamImpersonationWorker),System.IO.Pipes,NamedPipeServerStream,RunAsClient(PipeStreamImpersonationWorker),X,X,
"M:System.IO.Pipes.PipeAccessRule.#ctor(System.Security.Principal.IdentityReference,System.IO.Pipes.PipeAccessRights,System.Security.AccessControl.AccessControlType)",System.IO.Pipes,PipeAccessRule,".ctor(IdentityReference, PipeAccessRights, AccessControlType)",X,X,
"M:System.IO.Pipes.PipeAccessRule.#ctor(System.String,System.IO.Pipes.PipeAccessRights,System.Security.AccessControl.AccessControlType)",System.IO.Pipes,PipeAccessRule,".ctor(String, PipeAccessRights, AccessControlType)",X,X,
@ -2210,10 +2197,11 @@ M:System.IO.Pipes.PipeSecurity.RemoveAuditRuleSpecific(System.IO.Pipes.PipeAudit
M:System.IO.Pipes.PipeSecurity.ResetAccessRule(System.IO.Pipes.PipeAccessRule),System.IO.Pipes,PipeSecurity,ResetAccessRule(PipeAccessRule),X,X,
M:System.IO.Pipes.PipeSecurity.SetAccessRule(System.IO.Pipes.PipeAccessRule),System.IO.Pipes,PipeSecurity,SetAccessRule(PipeAccessRule),X,X,
M:System.IO.Pipes.PipeSecurity.SetAuditRule(System.IO.Pipes.PipeAuditRule),System.IO.Pipes,PipeSecurity,SetAuditRule(PipeAuditRule),X,X,
M:System.IO.Pipes.PipeStream.get_InBufferSize,System.IO.Pipes,PipeStream,get_InBufferSize(),X,X,
M:System.IO.Pipes.PipeStream.get_OutBufferSize,System.IO.Pipes,PipeStream,get_OutBufferSize(),X,X,
M:System.IO.Pipes.PipeStream.get_InBufferSize,System.IO.Pipes,PipeStream,get_InBufferSize(),,X,
M:System.IO.Pipes.PipeStream.get_OutBufferSize,System.IO.Pipes,PipeStream,get_OutBufferSize(),,X,
M:System.IO.Pipes.PipeStream.set_ReadMode(System.IO.Pipes.PipeTransmissionMode),System.IO.Pipes,PipeStream,set_ReadMode(PipeTransmissionMode),X,X,
M:System.IO.Pipes.PipeStream.WaitForPipeDrain,System.IO.Pipes,PipeStream,WaitForPipeDrain(),X,X,
F:System.IO.Pipes.PipeTransmissionMode.Message,System.IO.Pipes,PipeTransmissionMode,Message,X,X,
M:System.IO.Ports.SerialDataReceivedEventArgs.get_EventType,System.IO.Ports,SerialDataReceivedEventArgs,get_EventType(),X,X,
M:System.IO.Ports.SerialErrorReceivedEventArgs.get_EventType,System.IO.Ports,SerialErrorReceivedEventArgs,get_EventType(),X,X,
M:System.IO.Ports.SerialPinChangedEventArgs.get_EventType,System.IO.Ports,SerialPinChangedEventArgs,get_EventType(),X,X,

Не удается отобразить этот файл, потому что он слишком большой.

Просмотреть файл

@ -2169,20 +2169,7 @@ M:System.IO.MemoryMappedFiles.MemoryMappedFile.CreateFromFile(System.String),Sys
M:System.IO.MemoryMappedFiles.MemoryMappedFile.OpenExisting(System.String),System.IO.MemoryMappedFiles,MemoryMappedFile,OpenExisting(String),"M:System.IO.MemoryMappedFiles.MemoryMappedFile.OpenCore(System.String,System.IO.HandleInheritability,System.IO.MemoryMappedFiles.MemoryMappedFileRights,System.Boolean)",X,X,
"M:System.IO.MemoryMappedFiles.MemoryMappedFile.OpenExisting(System.String,System.IO.MemoryMappedFiles.MemoryMappedFileRights)",System.IO.MemoryMappedFiles,MemoryMappedFile,"OpenExisting(String, MemoryMappedFileRights)","M:System.IO.MemoryMappedFiles.MemoryMappedFile.OpenCore(System.String,System.IO.HandleInheritability,System.IO.MemoryMappedFiles.MemoryMappedFileRights,System.Boolean)",X,X,
"M:System.IO.MemoryMappedFiles.MemoryMappedFile.OpenExisting(System.String,System.IO.MemoryMappedFiles.MemoryMappedFileRights,System.IO.HandleInheritability)",System.IO.MemoryMappedFiles,MemoryMappedFile,"OpenExisting(String, MemoryMappedFileRights, HandleInheritability)","M:System.IO.MemoryMappedFiles.MemoryMappedFile.OpenCore(System.String,System.IO.HandleInheritability,System.IO.MemoryMappedFiles.MemoryMappedFileRights,System.Boolean)",X,X,
M:System.IO.Pipes.NamedPipeClientStream.#ctor(System.String),System.IO.Pipes,NamedPipeClientStream,.ctor(String),"M:System.IO.Pipes.PipeStream.GetPipePath(System.String,System.String)",X,X,
"M:System.IO.Pipes.NamedPipeClientStream.#ctor(System.String,System.String)",System.IO.Pipes,NamedPipeClientStream,".ctor(String, String)","M:System.IO.Pipes.PipeStream.GetPipePath(System.String,System.String)",X,X,
"M:System.IO.Pipes.NamedPipeClientStream.#ctor(System.String,System.String,System.IO.Pipes.PipeDirection)",System.IO.Pipes,NamedPipeClientStream,".ctor(String, String, PipeDirection)","M:System.IO.Pipes.PipeStream.GetPipePath(System.String,System.String)",X,X,
"M:System.IO.Pipes.NamedPipeClientStream.#ctor(System.String,System.String,System.IO.Pipes.PipeDirection,System.IO.Pipes.PipeOptions)",System.IO.Pipes,NamedPipeClientStream,".ctor(String, String, PipeDirection, PipeOptions)","M:System.IO.Pipes.PipeStream.GetPipePath(System.String,System.String)",X,X,
"M:System.IO.Pipes.NamedPipeClientStream.#ctor(System.String,System.String,System.IO.Pipes.PipeDirection,System.IO.Pipes.PipeOptions,System.Security.Principal.TokenImpersonationLevel)",System.IO.Pipes,NamedPipeClientStream,".ctor(String, String, PipeDirection, PipeOptions, TokenImpersonationLevel)","M:System.IO.Pipes.PipeStream.GetPipePath(System.String,System.String)",X,X,
"M:System.IO.Pipes.NamedPipeClientStream.#ctor(System.String,System.String,System.IO.Pipes.PipeDirection,System.IO.Pipes.PipeOptions,System.Security.Principal.TokenImpersonationLevel,System.IO.HandleInheritability)",System.IO.Pipes,NamedPipeClientStream,".ctor(String, String, PipeDirection, PipeOptions, TokenImpersonationLevel, HandleInheritability)","M:System.IO.Pipes.PipeStream.GetPipePath(System.String,System.String)",X,X,
M:System.IO.Pipes.NamedPipeClientStream.get_NumberOfServerInstances,System.IO.Pipes,NamedPipeClientStream,get_NumberOfServerInstances(),M:System.IO.Pipes.NamedPipeClientStream.get_NumberOfServerInstances,X,X,
M:System.IO.Pipes.NamedPipeServerStream.#ctor(System.String),System.IO.Pipes,NamedPipeServerStream,.ctor(String),"M:System.IO.Pipes.NamedPipeServerStream.Create(System.String,System.IO.Pipes.PipeDirection,System.Int32,System.IO.Pipes.PipeTransmissionMode,System.IO.Pipes.PipeOptions,System.Int32,System.Int32,System.IO.HandleInheritability)",X,X,
"M:System.IO.Pipes.NamedPipeServerStream.#ctor(System.String,System.IO.Pipes.PipeDirection)",System.IO.Pipes,NamedPipeServerStream,".ctor(String, PipeDirection)","M:System.IO.Pipes.NamedPipeServerStream.Create(System.String,System.IO.Pipes.PipeDirection,System.Int32,System.IO.Pipes.PipeTransmissionMode,System.IO.Pipes.PipeOptions,System.Int32,System.Int32,System.IO.HandleInheritability)",X,X,
"M:System.IO.Pipes.NamedPipeServerStream.#ctor(System.String,System.IO.Pipes.PipeDirection,System.Int32)",System.IO.Pipes,NamedPipeServerStream,".ctor(String, PipeDirection, Int32)","M:System.IO.Pipes.NamedPipeServerStream.Create(System.String,System.IO.Pipes.PipeDirection,System.Int32,System.IO.Pipes.PipeTransmissionMode,System.IO.Pipes.PipeOptions,System.Int32,System.Int32,System.IO.HandleInheritability)",X,X,
"M:System.IO.Pipes.NamedPipeServerStream.#ctor(System.String,System.IO.Pipes.PipeDirection,System.Int32,System.IO.Pipes.PipeTransmissionMode)",System.IO.Pipes,NamedPipeServerStream,".ctor(String, PipeDirection, Int32, PipeTransmissionMode)","M:System.IO.Pipes.NamedPipeServerStream.Create(System.String,System.IO.Pipes.PipeDirection,System.Int32,System.IO.Pipes.PipeTransmissionMode,System.IO.Pipes.PipeOptions,System.Int32,System.Int32,System.IO.HandleInheritability)",X,X,
"M:System.IO.Pipes.NamedPipeServerStream.#ctor(System.String,System.IO.Pipes.PipeDirection,System.Int32,System.IO.Pipes.PipeTransmissionMode,System.IO.Pipes.PipeOptions)",System.IO.Pipes,NamedPipeServerStream,".ctor(String, PipeDirection, Int32, PipeTransmissionMode, PipeOptions)","M:System.IO.Pipes.NamedPipeServerStream.Create(System.String,System.IO.Pipes.PipeDirection,System.Int32,System.IO.Pipes.PipeTransmissionMode,System.IO.Pipes.PipeOptions,System.Int32,System.Int32,System.IO.HandleInheritability)",X,X,
"M:System.IO.Pipes.NamedPipeServerStream.#ctor(System.String,System.IO.Pipes.PipeDirection,System.Int32,System.IO.Pipes.PipeTransmissionMode,System.IO.Pipes.PipeOptions,System.Int32,System.Int32)",System.IO.Pipes,NamedPipeServerStream,".ctor(String, PipeDirection, Int32, PipeTransmissionMode, PipeOptions, Int32, Int32)","M:System.IO.Pipes.NamedPipeServerStream.Create(System.String,System.IO.Pipes.PipeDirection,System.Int32,System.IO.Pipes.PipeTransmissionMode,System.IO.Pipes.PipeOptions,System.Int32,System.Int32,System.IO.HandleInheritability)",X,X,
M:System.IO.Pipes.NamedPipeServerStream.GetImpersonationUserName,System.IO.Pipes,NamedPipeServerStream,GetImpersonationUserName(),M:System.IO.Pipes.NamedPipeServerStream.GetImpersonationUserName,X,X,
M:System.IO.Pipes.NamedPipeServerStream.RunAsClient(System.IO.Pipes.PipeStreamImpersonationWorker),System.IO.Pipes,NamedPipeServerStream,RunAsClient(PipeStreamImpersonationWorker),M:System.IO.Pipes.NamedPipeServerStream.RunAsClient(System.IO.Pipes.PipeStreamImpersonationWorker),X,X,
"M:System.IO.Pipes.PipeAccessRule.#ctor(System.Security.Principal.IdentityReference,System.IO.Pipes.PipeAccessRights,System.Security.AccessControl.AccessControlType)",System.IO.Pipes,PipeAccessRule,".ctor(IdentityReference, PipeAccessRights, AccessControlType)","M:System.IO.Pipes.PipeAccessRule.#ctor(System.Security.Principal.IdentityReference,System.IO.Pipes.PipeAccessRights,System.Security.AccessControl.AccessControlType)",X,X,
"M:System.IO.Pipes.PipeAccessRule.#ctor(System.String,System.IO.Pipes.PipeAccessRights,System.Security.AccessControl.AccessControlType)",System.IO.Pipes,PipeAccessRule,".ctor(String, PipeAccessRights, AccessControlType)","M:System.IO.Pipes.PipeAccessRule.#ctor(System.String,System.IO.Pipes.PipeAccessRights,System.Security.AccessControl.AccessControlType)",X,X,
@ -2210,10 +2197,11 @@ M:System.IO.Pipes.PipeSecurity.RemoveAuditRuleSpecific(System.IO.Pipes.PipeAudit
M:System.IO.Pipes.PipeSecurity.ResetAccessRule(System.IO.Pipes.PipeAccessRule),System.IO.Pipes,PipeSecurity,ResetAccessRule(PipeAccessRule),M:System.IO.Pipes.PipeSecurity.ResetAccessRule(System.IO.Pipes.PipeAccessRule),X,X,
M:System.IO.Pipes.PipeSecurity.SetAccessRule(System.IO.Pipes.PipeAccessRule),System.IO.Pipes,PipeSecurity,SetAccessRule(PipeAccessRule),M:System.IO.Pipes.PipeSecurity.SetAccessRule(System.IO.Pipes.PipeAccessRule),X,X,
M:System.IO.Pipes.PipeSecurity.SetAuditRule(System.IO.Pipes.PipeAuditRule),System.IO.Pipes,PipeSecurity,SetAuditRule(PipeAuditRule),M:System.IO.Pipes.PipeSecurity.SetAuditRule(System.IO.Pipes.PipeAuditRule),X,X,
M:System.IO.Pipes.PipeStream.get_InBufferSize,System.IO.Pipes,PipeStream,get_InBufferSize(),M:System.IO.Pipes.PipeStream.GetPipeBufferSize,X,X,
M:System.IO.Pipes.PipeStream.get_OutBufferSize,System.IO.Pipes,PipeStream,get_OutBufferSize(),M:System.IO.Pipes.PipeStream.GetPipeBufferSize,X,X,
M:System.IO.Pipes.PipeStream.get_InBufferSize,System.IO.Pipes,PipeStream,get_InBufferSize(),M:System.IO.Pipes.PipeStream.GetPipeBufferSize,,X,
M:System.IO.Pipes.PipeStream.get_OutBufferSize,System.IO.Pipes,PipeStream,get_OutBufferSize(),M:System.IO.Pipes.PipeStream.GetPipeBufferSize,,X,
M:System.IO.Pipes.PipeStream.set_ReadMode(System.IO.Pipes.PipeTransmissionMode),System.IO.Pipes,PipeStream,set_ReadMode(PipeTransmissionMode),M:System.IO.Pipes.PipeStream.set_ReadMode(System.IO.Pipes.PipeTransmissionMode),X,X,
M:System.IO.Pipes.PipeStream.WaitForPipeDrain,System.IO.Pipes,PipeStream,WaitForPipeDrain(),M:System.IO.Pipes.PipeStream.WaitForPipeDrain,X,X,
F:System.IO.Pipes.PipeTransmissionMode.Message,System.IO.Pipes,PipeTransmissionMode,Message,,X,X,
M:System.IO.Ports.SerialDataReceivedEventArgs.get_EventType,System.IO.Ports,SerialDataReceivedEventArgs,get_EventType(),M:System.IO.Ports.SerialDataReceivedEventArgs.get_EventType,X,X,
M:System.IO.Ports.SerialErrorReceivedEventArgs.get_EventType,System.IO.Ports,SerialErrorReceivedEventArgs,get_EventType(),M:System.IO.Ports.SerialErrorReceivedEventArgs.get_EventType,X,X,
M:System.IO.Ports.SerialPinChangedEventArgs.get_EventType,System.IO.Ports,SerialPinChangedEventArgs,get_EventType(),M:System.IO.Ports.SerialPinChangedEventArgs.get_EventType,X,X,

Не удается отобразить этот файл, потому что он слишком большой.

Просмотреть файл

@ -192,7 +192,7 @@ namespace Microsoft.DotNet.Analyzers.Compatibility.Tests
public void ExceptionAnalyzer_Triggers_ForConstructors()
{
var source = @"
using System.IO.Pipes;
using System.Reflection;
namespace ConsoleApp1
{
@ -200,14 +200,14 @@ namespace Microsoft.DotNet.Analyzers.Compatibility.Tests
{
static void Main(string[] args)
{
var e = {{new NamedPipeClientStream(""SomeName"")}};
var e = {{new StrongNameKeyPair(""SomeName"")}};
}
}
}
";
var expected = @"
PC001: NamedPipeClientStream.NamedPipeClientStream(string) isn't supported on Linux and macOS
PC001: StrongNameKeyPair.StrongNameKeyPair(string) isn't supported on Linux, macOS, and Windows
";
AssertMatch(source, expected);