This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// RTCSSLCertificateVerifier.swift | |
// | |
import Foundation | |
import WebRTC | |
import Security | |
final class CertificateVerifier: NSObject, RTCSSLCertificateVerifier { | |
private let policies: [SecPolicy] = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type RTCStatsType = | |
"codec" | | |
"inbound-rtp" | | |
"outbound-rtp" | | |
"remote-inbound-rtp" | | |
"remote-outbound-rtp" | | |
"media-source" | | |
"csrc" | | |
"peer-connection" | | |
"data-channel" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import akka.actor.ActorSystem; | |
import akka.http.javadsl.*; | |
import akka.http.javadsl.model.HttpRequest; | |
import com.typesafe.sslconfig.akka.AkkaSSLConfig; | |
import javax.net.ssl.SSLContext; | |
import javax.net.ssl.TrustManager; | |
import javax.net.ssl.X509TrustManager; | |
import java.security.KeyManagementException; | |
import java.security.NoSuchAlgorithmException; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3> 2) AD0001: CSC(0,0): Analyzer 'Microsoft.CodeAnalysis.CSharp.Analyzers.FixAnalyzers.CSharpFixerWithFixAllAnalyzer' threw an exception of type 'System.TypeInitializationException' with message 'The type initializer for 'Microsoft.CodeAnalysis.Analyzers.FixAnalyzers.FixerWithFixAllAnalyzer`1' threw an exception.'. (TaskId:605) | |
3> 3) AD0001: CSC(0,0): Analyzer 'Microsoft.CodeAnalysis.CSharp.Analyzers.FixAnalyzers.CSharpFixerWithFixAllAnalyzer' threw an exception of type 'System.TypeInitializationException' with message 'The type initializer for 'Microsoft.CodeAnalysis.Analyzers.FixAnalyzers.FixerWithFixAllAnalyzer`1' threw an exception.'. (TaskId:605) | |
3> 4) AD0001: CSC(0,0): Analyzer 'Microsoft.CodeAnalysis.CSharp.Analyzers.FixAnalyzers.CSharpFixerWithFixAllAnalyzer' threw an exception of type 'System.TypeInitializationException' with message 'The type initializer for 'Microsoft.CodeAnalysis.Analyzers.FixAnalyzers.FixerWithFixAllAnalyzer`1' threw an exception.'. (TaskId:605) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Threading.Tasks; | |
namespace AwaitAndElvis | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Run(null).Wait(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Runtime.Remoting.Proxies; | |
namespace CtorReturningNull | |
{ | |
class Program | |
{ | |
static void Main() | |
{ | |
new Devil().SayHello(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System.Windows.Markup.XamlParseException: [Line: 0 Position: 0] | |
at unknown location | |
Caused by: System.Windows.Markup.XamlParseException: [Line: 0 Position: 0] | |
at MS.Internal.XcpImports.CheckHResult(UInt32 hr) | |
at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize) | |
at System.Windows.FrameworkElement.MeasureOverride(Size availableSize) | |
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Double inWidth, Double inHeight, Double& outWidth, Double& outHeight) | |
Caused by: System.Windows.Markup.XamlParseException: [Line: 0 Position: 0] | |
at MS.Internal.XcpImports.CheckHResult(UInt32 hr) |