internal static EnvDTE80.CodeElement2 CreateUnknown(
     CodeModelState state,
     FileCodeModel fileCodeModel,
     int nodeKind,
     string name)
 {
     var element = new CodeOptionsStatement(state, fileCodeModel, nodeKind, name);
     return (EnvDTE80.CodeElement2)ComAggregate.CreateAggregatedObject(element);
 }
Beispiel #2
0
        internal static EnvDTE80.CodeElement2 CreateUnknown(
            CodeModelState state,
            FileCodeModel fileCodeModel,
            int nodeKind,
            string name)
        {
            var element = new CodeOptionsStatement(state, fileCodeModel, nodeKind, name);

            return((EnvDTE80.CodeElement2)ComAggregate.CreateAggregatedObject(element));
        }
Beispiel #3
0
        internal static EnvDTE80.CodeElement2 Create(
            CodeModelState state,
            FileCodeModel fileCodeModel,
            string name,
            int ordinal)
        {
            var element = new CodeOptionsStatement(state, fileCodeModel, name, ordinal);
            var result  = (EnvDTE80.CodeElement2)ComAggregate.CreateAggregatedObject(element);

            return(result);
        }
        internal static EnvDTE80.CodeElement2 Create(
            CodeModelState state,
            FileCodeModel fileCodeModel,
            string name,
            int ordinal)
        {
            var element = new CodeOptionsStatement(state, fileCodeModel, name, ordinal);
            var result = (EnvDTE80.CodeElement2)ComAggregate.CreateAggregatedObject(element);

            return result;
        }