Welcome to mirror list, hosted at ThFree Co, Russian Federation.

EmptyAttributeParserContext.cs « Updater « Mono.Documentation « mdoc - github.com/mono/api-doc-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 71b638fd70f436712d38285065646828e2824f51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
namespace Mono.Documentation.Updater
{
    public class EmptyAttributeParserContext : IAttributeParserContext
    {
        private static readonly EmptyAttributeParserContext singletonInstance = new EmptyAttributeParserContext();

        private EmptyAttributeParserContext()
        {
        }

        public static IAttributeParserContext Empty()
        {
            return singletonInstance;
        }

        public void NextDynamicFlag()
        {
        }

        public bool IsDynamic()
        {
            return false;
        }

        public bool IsNullable()
        {
            return false;
        }

        public string GetTupleElementName()
        {
            return null;
        }
    }
}