~ubuntu-branches/ubuntu/oneiric/monodevelop/oneiric-updates

« back to all changes in this revision

Viewing changes to src/core/NRefactory/Project/Src/EnvironmentInformationProvider.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2009-02-18 08:40:51 UTC
  • mfrom: (1.2.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090218084051-gh8m6ukvokbwj7cf
Tags: 1.9.2+dfsg-1ubuntu1
* Merge from Debian Experimental (LP: #330519), remaining Ubuntu changes:
  + debian/control:
    - Update for Gnome# 2.24
    - Add libmono-cairo1.0-cil to build-deps to fool pkg-config check

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
//     <copyright see="prj:///doc/copyright.txt"/>
3
3
//     <license see="prj:///doc/license.txt"/>
4
4
//     <owner name="Daniel Grunwald" email="daniel@danielgrunwald.de"/>
5
 
//     <version>$Revision: 1965 $</version>
 
5
//     <version>$Revision: 2195 $</version>
6
6
// </file>
7
7
 
8
8
using System;
11
11
{
12
12
        public interface IEnvironmentInformationProvider
13
13
        {
14
 
                bool HasField(string fullTypeName, string fieldName);
 
14
                bool HasField(string fullTypeName, int typeParameterCount, string fieldName);
15
15
        }
16
16
        
17
 
        class DummyEnvironmentInformationProvider : IEnvironmentInformationProvider
 
17
        sealed class DummyEnvironmentInformationProvider : IEnvironmentInformationProvider
18
18
        {
19
 
                public bool HasField(string fullTypeName, string fieldName)
 
19
                internal static readonly IEnvironmentInformationProvider Instance = new DummyEnvironmentInformationProvider();
 
20
                
 
21
                public bool HasField(string fullTypeName, int typeParameterCount, string fieldName)
20
22
                {
21
23
                        return false;
22
24
                }