5
5
// Changes to this file must follow the http://aka.ms/api-review process.
6
6
// ------------------------------------------------------------------------------
7
7
8
- using System ;
9
-
10
8
namespace Microsoft . VisualBasic
11
9
{
12
10
public enum CallType
@@ -46,11 +44,6 @@ void System.Collections.IList.RemoveAt(int index) { }
46
44
public void Remove ( int Index ) { }
47
45
public void Remove ( string Key ) { }
48
46
}
49
- public enum CompareMethod
50
- {
51
- Binary = 0 ,
52
- Text = 1 ,
53
- }
54
47
[ System . AttributeUsageAttribute ( ( System . AttributeTargets ) ( 4 ) , Inherited = false , AllowMultiple = false ) ]
55
48
public sealed partial class ComClassAttribute : System . Attribute
56
49
{
@@ -63,11 +56,17 @@ public ComClassAttribute(string _ClassID, string _InterfaceID, string _EventId)
63
56
public string InterfaceID { get { throw null ; } }
64
57
public bool InterfaceShadows { get { throw null ; } set { } }
65
58
}
59
+ public enum CompareMethod
60
+ {
61
+ Binary = 0 ,
62
+ Text = 1 ,
63
+ }
66
64
[ Microsoft . VisualBasic . CompilerServices . StandardModuleAttribute ]
67
65
public sealed partial class Constants
68
66
{
69
67
internal Constants ( ) { }
70
68
public const string vbBack = "\b " ;
69
+ public const Microsoft . VisualBasic . CompareMethod vbBinaryCompare = Microsoft . VisualBasic . CompareMethod . Binary ;
71
70
public const string vbCr = "\r " ;
72
71
public const string vbCrLf = "\r \n " ;
73
72
public const string vbFormFeed = "\f " ;
@@ -77,9 +76,8 @@ internal Constants() { }
77
76
public const string vbNullChar = "\0 " ;
78
77
public const string vbNullString = null ;
79
78
public const string vbTab = "\t " ;
79
+ public const Microsoft . VisualBasic . CompareMethod vbTextCompare = Microsoft . VisualBasic . CompareMethod . Text ;
80
80
public const string vbVerticalTab = "\v " ;
81
- public const CompareMethod vbBinaryCompare = CompareMethod . Binary ;
82
- public const CompareMethod vbTextCompare = CompareMethod . Text ;
83
81
}
84
82
public sealed partial class ControlChars
85
83
{
@@ -99,25 +97,15 @@ public ControlChars() { }
99
97
public sealed partial class DateAndTime
100
98
{
101
99
internal DateAndTime ( ) { }
102
- public static DateTime Now { get ; }
103
- public static DateTime Today { get ; }
100
+ public static System . DateTime Now { get { throw null ; } }
101
+ public static System . DateTime Today { get { throw null ; } }
104
102
}
105
103
[ System . AttributeUsageAttribute ( ( System . AttributeTargets ) ( 4 ) , AllowMultiple = false , Inherited = false ) ]
106
104
[ System . ComponentModel . EditorBrowsableAttribute ( ( System . ComponentModel . EditorBrowsableState ) ( 1 ) ) ]
107
105
public sealed partial class HideModuleNameAttribute : System . Attribute
108
106
{
109
107
public HideModuleNameAttribute ( ) { }
110
108
}
111
- [ System . AttributeUsageAttribute ( ( System . AttributeTargets ) ( 4 ) , AllowMultiple = false , Inherited = false ) ]
112
- [ System . ComponentModel . EditorBrowsableAttribute ( ( System . ComponentModel . EditorBrowsableState ) ( 2 ) ) ]
113
- public sealed partial class MyGroupCollectionAttribute : System . Attribute
114
- {
115
- public MyGroupCollectionAttribute ( string typeToCollect , string createInstanceMethodName , string disposeInstanceMethodName , string defaultInstanceAlias ) { }
116
- public string CreateMethod { get { throw null ; } }
117
- public string DefaultInstanceAlias { get { throw null ; } }
118
- public string DisposeMethod { get { throw null ; } }
119
- public string MyGroupName { get { throw null ; } }
120
- }
121
109
[ Microsoft . VisualBasic . CompilerServices . StandardModuleAttribute ]
122
110
public sealed partial class Information
123
111
{
@@ -134,9 +122,19 @@ internal Information() { }
134
122
public static int RGB ( int Red , int Green , int Blue ) { throw null ; }
135
123
public static string SystemTypeName ( string VbName ) { throw null ; }
136
124
public static int UBound ( System . Array Array , int Rank = 1 ) { throw null ; }
137
- public static VariantType VarType ( object VarName ) { throw null ; }
125
+ public static Microsoft . VisualBasic . VariantType VarType ( object VarName ) { throw null ; }
138
126
public static string VbTypeName ( string UrtName ) { throw null ; }
139
127
}
128
+ [ System . AttributeUsageAttribute ( ( System . AttributeTargets ) ( 4 ) , AllowMultiple = false , Inherited = false ) ]
129
+ [ System . ComponentModel . EditorBrowsableAttribute ( ( System . ComponentModel . EditorBrowsableState ) ( 2 ) ) ]
130
+ public sealed partial class MyGroupCollectionAttribute : System . Attribute
131
+ {
132
+ public MyGroupCollectionAttribute ( string typeToCollect , string createInstanceMethodName , string disposeInstanceMethodName , string defaultInstanceAlias ) { }
133
+ public string CreateMethod { get { throw null ; } }
134
+ public string DefaultInstanceAlias { get { throw null ; } }
135
+ public string DisposeMethod { get { throw null ; } }
136
+ public string MyGroupName { get { throw null ; } }
137
+ }
140
138
[ Microsoft . VisualBasic . CompilerServices . StandardModuleAttribute ]
141
139
public sealed partial class Strings
142
140
{
@@ -147,8 +145,8 @@ internal Strings() { }
147
145
public static int AscW ( string String ) { throw null ; }
148
146
public static char Chr ( int CharCode ) { throw null ; }
149
147
public static char ChrW ( int CharCode ) { throw null ; }
150
- public static string [ ] Filter ( object [ ] Source , string Match , bool Include = true , [ Microsoft . VisualBasic . CompilerServices . OptionCompareAttribute ] CompareMethod Compare = CompareMethod . Binary ) { throw null ; }
151
- public static string [ ] Filter ( string [ ] Source , string Match , bool Include = true , [ Microsoft . VisualBasic . CompilerServices . OptionCompareAttribute ] CompareMethod Compare = CompareMethod . Binary ) { throw null ; }
148
+ public static string [ ] Filter ( object [ ] Source , string Match , bool Include = true , [ Microsoft . VisualBasic . CompilerServices . OptionCompareAttribute ] Microsoft . VisualBasic . CompareMethod Compare = ( Microsoft . VisualBasic . CompareMethod ) ( 0 ) ) { throw null ; }
149
+ public static string [ ] Filter ( string [ ] Source , string Match , bool Include = true , [ Microsoft . VisualBasic . CompilerServices . OptionCompareAttribute ] Microsoft . VisualBasic . CompareMethod Compare = ( Microsoft . VisualBasic . CompareMethod ) ( 0 ) ) { throw null ; }
152
150
public static string Left ( string str , int Length ) { throw null ; }
153
151
public static string LTrim ( string str ) { throw null ; }
154
152
public static string Mid ( string str , int Start ) { throw null ; }
@@ -232,6 +230,11 @@ public sealed partial class Conversions
232
230
{
233
231
internal Conversions ( ) { }
234
232
public static object ChangeType ( object Expression , System . Type TargetType ) { throw null ; }
233
+ [ System . ObsoleteAttribute ( "do not use this method" , true ) ]
234
+ public static object FallbackUserDefinedConversion ( object Expression , System . Type TargetType ) { throw null ; }
235
+ public static string FromCharAndCount ( char Value , int Count ) { throw null ; }
236
+ public static string FromCharArray ( char [ ] Value ) { throw null ; }
237
+ public static string FromCharArraySubset ( char [ ] Value , int StartIndex , int Length ) { throw null ; }
235
238
public static bool ToBoolean ( object Value ) { throw null ; }
236
239
public static bool ToBoolean ( string Value ) { throw null ; }
237
240
public static byte ToByte ( object Value ) { throw null ; }
@@ -265,12 +268,15 @@ internal Conversions() { }
265
268
public static string ToString ( char Value ) { throw null ; }
266
269
public static string ToString ( System . DateTime Value ) { throw null ; }
267
270
public static string ToString ( decimal Value ) { throw null ; }
271
+ public static string ToString ( decimal Value , System . Globalization . NumberFormatInfo NumberFormat ) { throw null ; }
268
272
public static string ToString ( double Value ) { throw null ; }
273
+ public static string ToString ( double Value , System . Globalization . NumberFormatInfo NumberFormat ) { throw null ; }
269
274
public static string ToString ( short Value ) { throw null ; }
270
275
public static string ToString ( int Value ) { throw null ; }
271
276
public static string ToString ( long Value ) { throw null ; }
272
277
public static string ToString ( object Value ) { throw null ; }
273
278
public static string ToString ( float Value ) { throw null ; }
279
+ public static string ToString ( float Value , System . Globalization . NumberFormatInfo NumberFormat ) { throw null ; }
274
280
[ System . CLSCompliantAttribute ( false ) ]
275
281
public static string ToString ( uint Value ) { throw null ; }
276
282
[ System . CLSCompliantAttribute ( false ) ]
@@ -292,8 +298,8 @@ internal Conversions() { }
292
298
public sealed partial class BooleanType
293
299
{
294
300
internal BooleanType ( ) { }
295
- public static Boolean FromObject ( object Value ) { throw null ; }
296
- public static Boolean FromString ( string Value ) { throw null ; }
301
+ public static System . Boolean FromObject ( object Value ) { throw null ; }
302
+ public static System . Boolean FromString ( string Value ) { throw null ; }
297
303
}
298
304
[ System . ComponentModel . EditorBrowsableAttribute ( ( System . ComponentModel . EditorBrowsableState ) ( 1 ) ) ]
299
305
public sealed partial class DecimalType
@@ -332,8 +338,36 @@ public IncompleteInitialization() { }
332
338
public sealed partial class NewLateBinding
333
339
{
334
340
internal NewLateBinding ( ) { }
341
+ [ System . ComponentModel . EditorBrowsableAttribute ( ( System . ComponentModel . EditorBrowsableState ) ( 1 ) ) ]
342
+ [ System . ObsoleteAttribute ( "do not use this method" , true ) ]
343
+ public static object FallbackCall ( object Instance , string MemberName , object [ ] Arguments , string [ ] ArgumentNames , bool IgnoreReturn ) { throw null ; }
344
+ [ System . ComponentModel . EditorBrowsableAttribute ( ( System . ComponentModel . EditorBrowsableState ) ( 1 ) ) ]
345
+ [ System . ObsoleteAttribute ( "do not use this method" , true ) ]
346
+ public static object FallbackGet ( object Instance , string MemberName , object [ ] Arguments , string [ ] ArgumentNames ) { throw null ; }
347
+ [ System . ComponentModel . EditorBrowsableAttribute ( ( System . ComponentModel . EditorBrowsableState ) ( 1 ) ) ]
348
+ [ System . ObsoleteAttribute ( "do not use this method" , true ) ]
349
+ public static void FallbackIndexSet ( object Instance , object [ ] Arguments , string [ ] ArgumentNames ) { }
350
+ [ System . ComponentModel . EditorBrowsableAttribute ( ( System . ComponentModel . EditorBrowsableState ) ( 1 ) ) ]
351
+ [ System . ObsoleteAttribute ( "do not use this method" , true ) ]
352
+ public static void FallbackIndexSetComplex ( object Instance , object [ ] Arguments , string [ ] ArgumentNames , bool OptimisticSet , bool RValueBase ) { }
353
+ [ System . ComponentModel . EditorBrowsableAttribute ( ( System . ComponentModel . EditorBrowsableState ) ( 1 ) ) ]
354
+ [ System . ObsoleteAttribute ( "do not use this method" , true ) ]
355
+ public static object FallbackInvokeDefault1 ( object Instance , object [ ] Arguments , string [ ] ArgumentNames , bool ReportErrors ) { throw null ; }
356
+ [ System . ComponentModel . EditorBrowsableAttribute ( ( System . ComponentModel . EditorBrowsableState ) ( 1 ) ) ]
357
+ [ System . ObsoleteAttribute ( "do not use this method" , true ) ]
358
+ public static object FallbackInvokeDefault2 ( object Instance , object [ ] Arguments , string [ ] ArgumentNames , bool ReportErrors ) { throw null ; }
359
+ [ System . ComponentModel . EditorBrowsableAttribute ( ( System . ComponentModel . EditorBrowsableState ) ( 1 ) ) ]
360
+ [ System . ObsoleteAttribute ( "do not use this method" , true ) ]
361
+ public static void FallbackSet ( object Instance , string MemberName , object [ ] Arguments ) { }
362
+ [ System . ComponentModel . EditorBrowsableAttribute ( ( System . ComponentModel . EditorBrowsableState ) ( 1 ) ) ]
363
+ [ System . ObsoleteAttribute ( "do not use this method" , true ) ]
364
+ public static void FallbackSetComplex ( object Instance , string MemberName , object [ ] Arguments , bool OptimisticSet , bool RValueBase ) { }
335
365
public static object LateCall ( object Instance , System . Type Type , string MemberName , object [ ] Arguments , string [ ] ArgumentNames , System . Type [ ] TypeArguments , bool [ ] CopyBack , bool IgnoreReturn ) { throw null ; }
366
+ [ System . ComponentModel . EditorBrowsableAttribute ( ( System . ComponentModel . EditorBrowsableState ) ( 1 ) ) ]
367
+ public static object LateCallInvokeDefault ( object Instance , object [ ] Arguments , string [ ] ArgumentNames , bool ReportErrors ) { throw null ; }
336
368
public static object LateGet ( object Instance , System . Type Type , string MemberName , object [ ] Arguments , string [ ] ArgumentNames , System . Type [ ] TypeArguments , bool [ ] CopyBack ) { throw null ; }
369
+ [ System . ComponentModel . EditorBrowsableAttribute ( ( System . ComponentModel . EditorBrowsableState ) ( 1 ) ) ]
370
+ public static object LateGetInvokeDefault ( object Instance , object [ ] Arguments , string [ ] ArgumentNames , bool ReportErrors ) { throw null ; }
337
371
public static object LateIndexGet ( object Instance , object [ ] Arguments , string [ ] ArgumentNames ) { throw null ; }
338
372
public static void LateIndexSet ( object Instance , object [ ] Arguments , string [ ] ArgumentNames ) { }
339
373
public static void LateIndexSetComplex ( object Instance , object [ ] Arguments , string [ ] ArgumentNames , bool OptimisticSet , bool RValueBase ) { }
@@ -379,6 +413,8 @@ internal Operators() { }
379
413
public static bool ConditionalCompareObjectNotEqual ( object Left , object Right , bool TextCompare ) { throw null ; }
380
414
public static object DivideObject ( object Left , object Right ) { throw null ; }
381
415
public static object ExponentObject ( object Left , object Right ) { throw null ; }
416
+ [ System . ObsoleteAttribute ( "do not use this method" , true ) ]
417
+ public static object FallbackInvokeUserDefinedOperator ( object vbOp , object [ ] arguments ) { throw null ; }
382
418
public static object IntDivideObject ( object Left , object Right ) { throw null ; }
383
419
public static object LeftShiftObject ( object Operand , object Amount ) { throw null ; }
384
420
public static object ModObject ( object Left , object Right ) { throw null ; }
0 commit comments