Esempio n. 1
0
        static IUnresolvedMethod CreateDummyConstructor()
        {
            var m = new DefaultUnresolvedMethod
            {
                SymbolKind    = SymbolKind.Constructor,
                Name          = ".ctor",
                Accessibility = Accessibility.Public,
                IsSynthetic   = true,
                ReturnType    = KnownTypeReference.Void
            };

            m.Freeze();
            return(m);
        }
Esempio n. 2
0
 public DefaultResolvedMethod(DefaultUnresolvedMethod unresolved, ITypeResolveContext parentContext)
     : this(unresolved, parentContext, unresolved.IsExtensionMethod)
 {
 }