Skip to content

Commit 8d5c19e

Browse files
committed
More crap
1 parent 0061c1b commit 8d5c19e

10 files changed

Lines changed: 20 additions & 68 deletions

File tree

vsintegration/tests/MockTypeProviders/DefinitionLocationAttribute/TypeProviderInCSharp.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ class Namespace1 : IProvidedNamespace
3333
// Type myType = new myType(typeof(N.S), "Bad.Name", typeof(Action), true);
3434
Type myType = new ArtificialType(_Namespace, _Name, false, basetype: typeof(object), isValueType: false, isByRef: false, isEnum: false, IsPointer: false);
3535

36+
string IProvidedNamespace.NamespaceName => throw new NotImplementedException();
37+
3638
public IProvidedNamespace[] GetNestedNamespaces()
3739
{
3840

@@ -54,11 +56,6 @@ public Type ResolveTypeName(string typeName)
5456
}
5557
return null;
5658
}
57-
58-
string IProvidedNamespace.get_NamespaceName()
59-
{
60-
throw new NotImplementedException();
61-
}
6259
}
6360

6461
[TypeProvider()]

vsintegration/tests/MockTypeProviders/DefinitionLocationAttributeFileDoesnotExist/TypeProviderInCSharp.cs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace TypeProviderInCSharp
2525
// }
2626
//}
2727

28-
class Namespace1 : IProvidedNamespace
28+
class Namespace1
2929
{
3030
const string _Namespace = "N";
3131
const string _Name = "T";
@@ -54,11 +54,6 @@ public Type ResolveTypeName(string typeName)
5454
}
5555
return null;
5656
}
57-
58-
string IProvidedNamespace.get_NamespaceName()
59-
{
60-
throw new NotImplementedException();
61-
}
6257
}
6358

6459
[TypeProvider()]
@@ -134,7 +129,7 @@ public FSharpExpr GetInvokerExpression(System.Reflection.MethodBase syntheticMet
134129
public IProvidedNamespace[] GetNamespaces()
135130
{
136131

137-
return new IProvidedNamespace[] { new Namespace1() };
132+
return new IProvidedNamespace[] { };
138133
}
139134

140135
public System.Reflection.ParameterInfo[] GetStaticParameters(Type typeWithoutArguments)

vsintegration/tests/MockTypeProviders/DefinitionLocationAttributeLineDoesnotExist/TypeProviderInCSharp.cs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace TypeProviderInCSharp
2525
// }
2626
//}
2727

28-
class Namespace1 : IProvidedNamespace
28+
class Namespace1
2929
{
3030
const string _Namespace = "N";
3131
const string _Name = "T";
@@ -54,11 +54,6 @@ public Type ResolveTypeName(string typeName)
5454
}
5555
return null;
5656
}
57-
58-
string IProvidedNamespace.get_NamespaceName()
59-
{
60-
throw new NotImplementedException();
61-
}
6257
}
6358

6459
[TypeProvider()]
@@ -124,7 +119,7 @@ public FSharpExpr GetInvokerExpression(System.Reflection.MethodBase syntheticMet
124119
public IProvidedNamespace[] GetNamespaces()
125120
{
126121

127-
return new IProvidedNamespace[] { new Namespace1() };
122+
return new IProvidedNamespace[] { };
128123
}
129124

130125
public System.Reflection.ParameterInfo[] GetStaticParameters(Type typeWithoutArguments)

vsintegration/tests/MockTypeProviders/DefinitionLocationAttributeWithSpaceInTheType/TypeProviderInCSharp.cs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace TypeProviderInCSharp
2525
// }
2626
//}
2727

28-
class Namespace1 : IProvidedNamespace
28+
class Namespace1
2929
{
3030
const string _Namespace = "N";
3131
const string _Name = "T T";
@@ -54,11 +54,6 @@ public Type ResolveTypeName(string typeName)
5454
}
5555
return null;
5656
}
57-
58-
string IProvidedNamespace.get_NamespaceName()
59-
{
60-
throw new NotImplementedException();
61-
}
6257
}
6358

6459
[TypeProvider()]
@@ -125,7 +120,7 @@ public FSharpExpr GetInvokerExpression(System.Reflection.MethodBase syntheticMet
125120
public IProvidedNamespace[] GetNamespaces()
126121
{
127122

128-
return new IProvidedNamespace[] { new Namespace1() };
123+
return new IProvidedNamespace[] { };
129124
}
130125

131126
public System.Reflection.ParameterInfo[] GetStaticParameters(Type typeWithoutArguments)

vsintegration/tests/MockTypeProviders/EditorHideMethodsAttribute/TypeProviderInCSharp.cs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace TypeProviderInCSharp
2525
// }
2626
//}
2727

28-
class Namespace1 : IProvidedNamespace
28+
class Namespace1
2929
{
3030
const string _Namespace = "N";
3131
const string _Name = "T";
@@ -54,11 +54,6 @@ public Type ResolveTypeName(string typeName)
5454
}
5555
return null;
5656
}
57-
58-
string IProvidedNamespace.get_NamespaceName()
59-
{
60-
throw new NotImplementedException();
61-
}
6257
}
6358

6459
[TypeProvider()]
@@ -134,7 +129,7 @@ public FSharpExpr GetInvokerExpression(System.Reflection.MethodBase syntheticMet
134129
public IProvidedNamespace[] GetNamespaces()
135130
{
136131

137-
return new IProvidedNamespace[] { new Namespace1() };
132+
return new IProvidedNamespace[] { };
138133
}
139134

140135
public System.Reflection.ParameterInfo[] GetStaticParameters(Type typeWithoutArguments)

vsintegration/tests/MockTypeProviders/XmlDocAttributeWithAdequateComment/TypeProviderInCSharp.cs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace TypeProviderInCSharp
2525
// }
2626
//}
2727

28-
class Namespace1 : IProvidedNamespace
28+
class Namespace1
2929
{
3030
const string _Namespace = "N";
3131
const string _Name = "T";
@@ -53,11 +53,6 @@ public Type ResolveTypeName(string typeName)
5353
}
5454
return null;
5555
}
56-
57-
string IProvidedNamespace.get_NamespaceName()
58-
{
59-
throw new NotImplementedException();
60-
}
6156
}
6257

6358
[TypeProvider()]
@@ -133,7 +128,7 @@ public FSharpExpr GetInvokerExpression(System.Reflection.MethodBase syntheticMet
133128
public IProvidedNamespace[] GetNamespaces()
134129
{
135130

136-
return new IProvidedNamespace[] { new Namespace1() };
131+
return new IProvidedNamespace[] { };
137132
}
138133

139134
public System.Reflection.ParameterInfo[] GetStaticParameters(Type typeWithoutArguments)

vsintegration/tests/MockTypeProviders/XmlDocAttributeWithEmptyComment/TypeProviderInCSharp.cs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace TypeProviderInCSharp
2525
// }
2626
//}
2727

28-
class Namespace1 : IProvidedNamespace
28+
class Namespace1
2929
{
3030
const string _Namespace = "N";
3131
const string _Name = "T";
@@ -54,11 +54,6 @@ public Type ResolveTypeName(string typeName)
5454
}
5555
return null;
5656
}
57-
58-
string IProvidedNamespace.get_NamespaceName()
59-
{
60-
throw new NotImplementedException();
61-
}
6257
}
6358

6459
[TypeProvider()]
@@ -134,7 +129,7 @@ public FSharpExpr GetInvokerExpression(System.Reflection.MethodBase syntheticMet
134129
public IProvidedNamespace[] GetNamespaces()
135130
{
136131

137-
return new IProvidedNamespace[] { new Namespace1() };
132+
return new IProvidedNamespace[] { };
138133
}
139134

140135
public System.Reflection.ParameterInfo[] GetStaticParameters(Type typeWithoutArguments)

vsintegration/tests/MockTypeProviders/XmlDocAttributeWithLocalizedComment/TypeProviderInCSharp.cs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace TypeProviderInCSharp
2525
// }
2626
//}
2727

28-
class Namespace1 : IProvidedNamespace
28+
class Namespace1
2929
{
3030
const string _Namespace = "N";
3131
const string _Name = "T";
@@ -54,11 +54,6 @@ public Type ResolveTypeName(string typeName)
5454
}
5555
return null;
5656
}
57-
58-
string IProvidedNamespace.get_NamespaceName()
59-
{
60-
throw new NotImplementedException();
61-
}
6257
}
6358

6459
[TypeProvider()]
@@ -134,7 +129,7 @@ public FSharpExpr GetInvokerExpression(System.Reflection.MethodBase syntheticMet
134129
public IProvidedNamespace[] GetNamespaces()
135130
{
136131

137-
return new IProvidedNamespace[] { new Namespace1() };
132+
return new IProvidedNamespace[] { };
138133
}
139134

140135
public System.Reflection.ParameterInfo[] GetStaticParameters(Type typeWithoutArguments)

vsintegration/tests/MockTypeProviders/XmlDocAttributeWithLongComment/TypeProviderInCSharp.cs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace TypeProviderInCSharp
2525
// }
2626
//}
2727

28-
class Namespace1 : IProvidedNamespace
28+
class Namespace1
2929
{
3030
const string _Namespace = "N";
3131
const string _Name = "T";
@@ -54,11 +54,6 @@ public Type ResolveTypeName(string typeName)
5454
}
5555
return null;
5656
}
57-
58-
string IProvidedNamespace.get_NamespaceName()
59-
{
60-
throw new NotImplementedException();
61-
}
6257
}
6358

6459
[TypeProvider()]
@@ -134,7 +129,7 @@ public FSharpExpr GetInvokerExpression(System.Reflection.MethodBase syntheticMet
134129
public IProvidedNamespace[] GetNamespaces()
135130
{
136131

137-
return new IProvidedNamespace[] { new Namespace1() };
132+
return new IProvidedNamespace[] { };
138133
}
139134

140135
public System.Reflection.ParameterInfo[] GetStaticParameters(Type typeWithoutArguments)

vsintegration/tests/MockTypeProviders/XmlDocAttributeWithNullComment/TypeProviderInCSharp.cs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace TypeProviderInCSharp
2525
// }
2626
//}
2727

28-
class Namespace1 : IProvidedNamespace
28+
class Namespace1
2929
{
3030
const string _Namespace = "N";
3131
const string _Name = "T";
@@ -54,11 +54,6 @@ public Type ResolveTypeName(string typeName)
5454
}
5555
return null;
5656
}
57-
58-
string IProvidedNamespace.get_NamespaceName()
59-
{
60-
throw new NotImplementedException();
61-
}
6257
}
6358

6459
[TypeProvider()]
@@ -134,7 +129,7 @@ public FSharpExpr GetInvokerExpression(System.Reflection.MethodBase syntheticMet
134129
public IProvidedNamespace[] GetNamespaces()
135130
{
136131

137-
return new IProvidedNamespace[] { new Namespace1() };
132+
return new IProvidedNamespace[] { };
138133
}
139134

140135
public System.Reflection.ParameterInfo[] GetStaticParameters(Type typeWithoutArguments)

0 commit comments

Comments
 (0)