Skip to content

Instantly share code, notes, and snippets.

@jacksonh
Created August 12, 2010 19:25
Show Gist options
  • Save jacksonh/521554 to your computer and use it in GitHub Desktop.
Save jacksonh/521554 to your computer and use it in GitHub Desktop.
diff --git a/class/tuning/SecurityAttributes/automatic/System.auto.ssc b/class/tuning/SecurityAttributes/automatic/System.auto.ssc
index 801837d..3aea142 100644
--- a/class/tuning/SecurityAttributes/automatic/System.auto.ssc
+++ b/class/tuning/SecurityAttributes/automatic/System.auto.ssc
@@ -1,15 +1,12 @@
# [SecuritySafeCritical] needed inside System to call all [SecurityCritical] methods
-# 12 methods
+# 9 methods
+SSC-M: System.Net.Authorization Mono.Http.NtlmClient::Authenticate(System.String,System.Net.WebRequest,System.Net.ICredentials)
+SSC-M: System.Net.Authorization Mono.Http.NtlmSession::Authenticate(System.String,System.Net.WebRequest,System.Net.ICredentials)
+SSC-M: System.Void Mono.Security.Protocol.Ntlm.Type1Message::.ctor()
+SSC-M: System.Void Mono.Security.Protocol.Ntlm.Type3Message::.ctor()
-+SSC-M: System.Void Mono.Security.Protocol.Tls.ClientSessionInfo::.cctor()
+SSC-M: System.Void Mono.Security.Protocol.Tls.HttpsClientStream::.ctor(System.IO.Stream,System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Net.HttpWebRequest,System.Byte[])
-+SSC-M: System.Boolean Mono.Security.Protocol.Tls.HttpsClientStream::RaiseServerCertificateValidation(System.Security.Cryptography.X509Certificates.X509Certificate,System.Int32[])
+SSC-M: System.Int32 Mono.Security.Protocol.Tls.SslStreamBase::EndRead(System.IAsyncResult)
+SSC-M: System.Void Mono.Security.Protocol.Tls.SslStreamBase::EndWrite(System.IAsyncResult)
+SSC-M: System.Threading.SynchronizationContext System.ComponentModel.AsyncOperationManager::get_SynchronizationContext()
-+SSC-M: System.Boolean System.Net.DefaultCertificatePolicy::CheckValidationResult(System.Net.ServicePoint,System.Security.Cryptography.X509Certificates.X509Certificate,System.Net.WebRequest,System.Int32)
+SSC-M: System.Void System.Net.Sockets.SocketException::.ctor()
diff --git a/class/tuning/SecurityAttributes/automatic/mscorlib.auto.sc b/class/tuning/SecurityAttributes/automatic/mscorlib.auto.sc
index 481d588..5156787 100644
--- a/class/tuning/SecurityAttributes/automatic/mscorlib.auto.sc
+++ b/class/tuning/SecurityAttributes/automatic/mscorlib.auto.sc
@@ -1,5 +1,5 @@
# [SecurityCritical] needed to execute code inside 'mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'.
-# 450 methods needs to be decorated.
+# 451 methods needs to be decorated.
# internal call
+SC-M: System.AppDomain System.AppDomain::getCurDomain()
@@ -241,6 +241,9 @@
# internal call
+SC-M: System.Char System.IO.MonoIO::get_VolumeSeparatorChar()
+# using 'System.Char*' as a parameter type
++SC-M: System.Char[] System.Text.UTF8Encoding::GetFallbackChars(System.Char*,System.Char*,System.Text.EncoderFallback,System.Text.EncoderFallbackBuffer&)
+
# implements 'System.Collections.IDictionary System.Runtime.Remoting.Messaging.IMessage::get_Properties()'.
+SC-M: System.Collections.IDictionary System.Runtime.Remoting.Messaging.ConstructionCall::get_Properties()
@@ -470,10 +473,10 @@
+SC-M: System.Int32 System.Text.UTF8Encoding::GetBytes(System.Char*,System.Int32,System.Byte*,System.Int32)
# using 'System.Char*' as a parameter type
-+SC-M: System.Int32 System.Text.UTF8Encoding::InternalGetByteCount(System.Char*,System.Int32,System.Char&,System.Boolean)
++SC-M: System.Int32 System.Text.UTF8Encoding::InternalGetByteCount(System.Char*,System.Int32,System.Text.EncoderFallback,System.Char&,System.Boolean)
# using 'System.Char*' as a parameter type
-+SC-M: System.Int32 System.Text.UTF8Encoding::InternalGetBytes(System.Char*,System.Int32,System.Byte*,System.Int32,System.Char&,System.Boolean)
++SC-M: System.Int32 System.Text.UTF8Encoding::InternalGetBytes(System.Char*,System.Int32,System.Byte*,System.Int32,System.Text.EncoderFallback,System.Text.EncoderFallbackBuffer&,System.Char&,System.Boolean)
# using 'System.Byte*' as a parameter type
+SC-M: System.Int32 System.Text.UTF8Encoding::InternalGetCharCount(System.Byte*,System.Int32,System.UInt32,System.UInt32,System.Object,System.Text.DecoderFallbackBuffer&,System.Byte[]&,System.Boolean)
diff --git a/class/tuning/SecurityAttributes/automatic/mscorlib.auto.ssc b/class/tuning/SecurityAttributes/automatic/mscorlib.auto.ssc
index f17e6f3..00aaa89 100644
--- a/class/tuning/SecurityAttributes/automatic/mscorlib.auto.ssc
+++ b/class/tuning/SecurityAttributes/automatic/mscorlib.auto.ssc
@@ -385,8 +385,8 @@
+SSC-M: System.Int32 System.Text.UnicodeEncoding::GetChars(System.Byte[],System.Int32,System.Int32,System.Char[],System.Int32)
+SSC-M: System.String System.Text.UnicodeEncoding::GetString(System.Byte[],System.Int32,System.Int32)
+SSC-M: System.Int32 System.Text.UnicodeEncoding/UnicodeDecoder::GetChars(System.Byte[],System.Int32,System.Int32,System.Char[],System.Int32)
-+SSC-M: System.Int32 System.Text.UTF8Encoding::InternalGetByteCount(System.Char[],System.Int32,System.Int32,System.Char&,System.Boolean)
-+SSC-M: System.Int32 System.Text.UTF8Encoding::InternalGetBytes(System.Char[],System.Int32,System.Int32,System.Byte[],System.Int32,System.Char&,System.Boolean)
++SSC-M: System.Int32 System.Text.UTF8Encoding::InternalGetByteCount(System.Char[],System.Int32,System.Int32,System.Text.EncoderFallback,System.Char&,System.Boolean)
++SSC-M: System.Int32 System.Text.UTF8Encoding::InternalGetBytes(System.Char[],System.Int32,System.Int32,System.Byte[],System.Int32,System.Text.EncoderFallback,System.Text.EncoderFallbackBuffer&,System.Char&,System.Boolean)
+SSC-M: System.Int32 System.Text.UTF8Encoding::GetBytes(System.String,System.Int32,System.Int32,System.Byte[],System.Int32)
+SSC-M: System.Int32 System.Text.UTF8Encoding::InternalGetCharCount(System.Byte[],System.Int32,System.Int32,System.UInt32,System.UInt32,System.Object,System.Text.DecoderFallbackBuffer&,System.Byte[]&,System.Boolean)
+SSC-M: System.Int32 System.Text.UTF8Encoding::InternalGetChars(System.Byte[],System.Int32,System.Int32,System.Char[],System.Int32,System.UInt32&,System.UInt32&,System.Object,System.Text.DecoderFallbackBuffer&,System.Byte[]&,System.Boolean)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment