}
}
- [Obsolete]
public int DefineNamespace (string name, string[] using_clauses, int parent)
{
if (!creating)
LIB_MCS_FLAGS = /r:System.dll \
/r:System.Messaging.dll \
/r:Mono.Messaging.dll \
- /r:RabbitMQ.Client
+ /r:RabbitMQ.Client \
+ -nowarn:618
TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:0618 -nowarn:219 -nowarn:169 \
/r:nunit.mocks.dll
public UnixFileSystemInfo GetContents ()
{
- string path = ReadLink ();
+ ReadLink ();
return UnixFileSystemInfo.GetFileSystemEntry (
UnixPath.Combine (UnixPath.GetDirectoryName (FullPath),
ContentsPath));
include ../../build/rules.make
LIBRARY = Mono.Security.dll
-LIB_MCS_FLAGS = -r:System.dll -unsafe
+LIB_MCS_FLAGS = -r:System.dll -unsafe -nowarn:618,1033
LIBRARY_USE_INTERMEDIATE_FILE = yes
TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:169,219,618,672
$(RESX_RES:%=/res:%)
else
LIB_MCS_FLAGS = \
- -warn:1 \
+ -warn:1 -nowarn:612 \
-r:$(corlib) \
-r:System.dll \
-r:Mono.Security.dll \
include ../../../../build/rules.make
LIBRARY = RabbitMQ.Client.dll
-LIB_MCS_FLAGS = -r:System.dll -r:System.Xml.dll
+LIB_MCS_FLAGS = -r:System.dll -r:System.Xml.dll -nowarn:618
NO_TEST = yes
include ../../../../build/library.make
LIBRARY = System.Configuration.dll
LIBRARY_USE_INTERMEDIATE_FILE = yes
-LIB_MCS_FLAGS = -r:$(corlib) -r:System.dll -r:System.Xml.dll -r:System.Security.dll
+LIB_MCS_FLAGS = -r:$(corlib) -r:System.dll -r:System.Xml.dll -r:System.Security.dll -nowarn:618
TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
# This is a .NET 2.0+ only assembly
public static class ConfigurationManager
{
- static bool systemWebInUse;
+// static bool systemWebInUse;
static InternalConfigurationFactory configFactory = new InternalConfigurationFactory ();
static IInternalConfigSystem configSystem = new ClientConfigurationSystem ();
static object lockobj = new object ();
// KLUDGE!! We need that when an assembly loaded inside an ASP.NET
// domain does OpenExeConfiguration ("") - we must return the path
// to web.config in that instance.
+ /*
string t = newSystem.GetType ().ToString ();
if (String.Compare (t, "System.Web.Configuration.HttpConfigurationSystem", StringComparison.OrdinalIgnoreCase) == 0)
systemWebInUse = true;
else
systemWebInUse = false;
-
+ */
IInternalConfigSystem old = configSystem;
configSystem = newSystem;
return old;
{
public class ConfigurationSectionGroup
{
- bool require_declaration, declared;
+ bool require_declaration;
string name, type_name;
ConfigurationSectionCollection sections;
ForceDeclaration (true);
}
+ [MonoTODO]
public bool IsDeclared {
- get { return declared; }
+ get { return false; }
}
[MonoTODO]
bool require_permission;
string config_source = String.Empty;
- bool force_update, is_declared, is_locked;
+ bool force_update;
string name, type_name;
string raw_xml;
[MonoTODO]
public bool IsDeclared {
- get { return is_declared; }
+ get { return false; }
}
[MonoTODO]
public bool IsLocked {
- get { return is_locked; }
+ get { return false; }
}
public bool IsProtected {
/r:System.Data.dll \
/r:System.Runtime.Serialization.dll \
/resource:./src/DbLinq/Schema/Dbml/DbmlSchema.xsd,DbLinq.Schema.Dbml.DbmlSchema.xsd \
- /d:MONO_STRICT /d:MONO_DEPLOY
+ /d:MONO_STRICT /d:MONO_DEPLOY -warn:1
ifeq (2.0, $(FRAMEWORK_VERSION))
# This is a .NET 3.5 only assembly, but built during the 2.0 build
{
TextReader r;
int line = 1, column = 0;
- bool raise_on_number_error; // FIXME: use it
+// bool raise_on_number_error; // FIXME: use it
public JavaScriptReader (TextReader reader, bool raiseOnNumberError)
{
if (reader == null)
throw new ArgumentNullException ("reader");
this.r = reader;
- raise_on_number_error = raiseOnNumberError;
+// raise_on_number_error = raiseOnNumberError;
}
public object Read ()
int exp = 0;
if (PeekChar () < 0)
throw new ArgumentException ("Invalid JSON numeric literal; incomplete exponent");
- bool negexp = false;
+
c = PeekChar ();
if (c == '-') {
ReadChar ();
- negexp = true;
}
else if (c == '+')
ReadChar ();
void Expect (string expected)
{
- int c;
for (int i = 0; i < expected.Length; i++)
- if ((c = ReadChar ()) != expected [i])
+ if (ReadChar () != expected [i])
throw JsonError (String.Format ("Expected '{0}', differed at {1}", expected, i));
}
this.root = instance;
sctx = schemaContext;
- this.settings = settings;
+// this.settings = settings;
// check type validity. Note that some checks also needs done at Read() phase. (it is likely FIXME:)
if (instance != null) {
bool is_eof;
object root, root_raw;
XamlSchemaContext sctx;
- XamlObjectReaderSettings settings;
+// XamlObjectReaderSettings settings;
IValueSerializerContext value_serializer_context;
IEnumerator<NamespaceDeclaration> ns_iterator;
XamlObjectWriterInternal intl;
- int line, column;
+ //int line, column;
bool lineinfo_was_given;
internal XamlObjectWriterSettings Settings {
public void SetLineInfo (int lineNumber, int linePosition)
{
- line = lineNumber;
- column = linePosition;
+// line = lineNumber;
+// column = linePosition;
lineinfo_was_given = true;
}
get { return started ? source.Value : null; }
}
- public void Close ()
- {
- Dispose (true);
- }
-
protected override void Dispose (bool disposing)
{
while (nest > 0)
Name = unknownTypeName;
PreferredXamlNamespace = unknownTypeNamespace;
TypeArguments = typeArguments != null && typeArguments.Count == 0 ? null : typeArguments;
- explicit_ns = unknownTypeNamespace;
+// explicit_ns = unknownTypeNamespace;
}
protected XamlType (string typeName, IList<XamlType> typeArguments, XamlSchemaContext schemaContext)
Type type, underlying_type;
- string explicit_ns;
+// string explicit_ns;
// populated properties
XamlType base_type;
: base (schemaContext, manager)
{
this.w = w;
- this.sctx = schemaContext;
+// this.sctx = schemaContext;
}
XmlWriter w;
- XamlSchemaContext sctx;
+// XamlSchemaContext sctx;
// Here's a complication.
// - local_nss holds namespace declarations that are written *before* current element.
#endif
return false;
}
- return true; // do not use remote endpoint
#else
return false; // < NET_4_0 -> use remote endpoint
#endif
return DateTime.ParseExact (date, "r", CultureInfo.InvariantCulture).ToLocalTime ();
}
set {
- if (value == null) {
- webHeaders.RemoveInternal ("Date");
- } else {
- webHeaders.RemoveAndAdd ("Date", value.ToUniversalTime ().ToString ("r", CultureInfo.InvariantCulture));
- }
+ webHeaders.RemoveAndAdd ("Date", value.ToUniversalTime ().ToString ("r", CultureInfo.InvariantCulture));
}
}
#endif