88 references to GeneratorSupport
PresentationBuildTasks (3)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (3)
665
if (codeProvider.Supports(
GeneratorSupport
.PartialTypes) && _ccRoot.SubClass.Length == 0)
3091
if (codeProvider.Supports(
GeneratorSupport
.EntryPointMethod))
3162
if (codeProvider.Supports(
GeneratorSupport
.AssemblyAttributes))
System (60)
compmod\microsoft\csharp\csharpcodeprovider.cs (28)
115
private const
GeneratorSupport
LanguageSupport =
GeneratorSupport
.ArraysOfArrays |
116
GeneratorSupport
.EntryPointMethod |
117
GeneratorSupport
.GotoStatements |
118
GeneratorSupport
.MultidimensionalArrays |
119
GeneratorSupport
.StaticConstructors |
120
GeneratorSupport
.TryCatchStatements |
121
GeneratorSupport
.ReturnTypeAttributes |
122
GeneratorSupport
.AssemblyAttributes |
123
GeneratorSupport
.DeclareValueTypes |
124
GeneratorSupport
.DeclareEnums |
125
GeneratorSupport
.DeclareEvents |
126
GeneratorSupport
.DeclareDelegates |
127
GeneratorSupport
.DeclareInterfaces |
128
GeneratorSupport
.ParameterAttributes |
129
GeneratorSupport
.ReferenceParameters |
130
GeneratorSupport
.ChainedConstructorArguments |
131
GeneratorSupport
.NestedTypes |
132
GeneratorSupport
.MultipleInterfaceMembers |
133
GeneratorSupport
.PublicStaticMembers |
134
GeneratorSupport
.ComplexExpressions |
136
GeneratorSupport
.Win32Resources |
138
GeneratorSupport
.Resources|
139
GeneratorSupport
.PartialTypes |
140
GeneratorSupport
.GenericTypeReference |
141
GeneratorSupport
.GenericTypeDeclaration |
142
GeneratorSupport
.DeclareIndexerProperties;
3133
public bool Supports(
GeneratorSupport
support) {
compmod\microsoft\visualbasic\VBCodeProvider.cs (28)
117
private const
GeneratorSupport
LanguageSupport =
GeneratorSupport
.EntryPointMethod |
118
GeneratorSupport
.GotoStatements |
119
GeneratorSupport
.ArraysOfArrays |
120
GeneratorSupport
.MultidimensionalArrays |
121
GeneratorSupport
.StaticConstructors |
122
GeneratorSupport
.ReturnTypeAttributes |
123
GeneratorSupport
.AssemblyAttributes |
124
GeneratorSupport
.TryCatchStatements |
125
GeneratorSupport
.DeclareValueTypes |
126
GeneratorSupport
.DeclareEnums |
127
GeneratorSupport
.DeclareEvents |
128
GeneratorSupport
.DeclareDelegates |
129
GeneratorSupport
.DeclareInterfaces |
130
GeneratorSupport
.ParameterAttributes |
131
GeneratorSupport
.ReferenceParameters |
132
GeneratorSupport
.ChainedConstructorArguments |
133
GeneratorSupport
.NestedTypes |
134
GeneratorSupport
.MultipleInterfaceMembers |
135
GeneratorSupport
.PublicStaticMembers |
136
GeneratorSupport
.ComplexExpressions |
137
GeneratorSupport
.Win32Resources |
138
GeneratorSupport
.Resources|
139
GeneratorSupport
.PartialTypes|
140
GeneratorSupport
.GenericTypeReference |
141
GeneratorSupport
.GenericTypeDeclaration |
142
GeneratorSupport
.DeclareIndexerProperties;
2575
protected override bool Supports(
GeneratorSupport
support) {
compmod\system\codedom\compiler\CodeDOMProvider.cs (1)
204
public virtual bool Supports(
GeneratorSupport
generatorSupport) {
compmod\system\codedom\compiler\CodeGenerator.cs (2)
382
bool ICodeGenerator.Supports(
GeneratorSupport
support) {
1869
protected abstract bool Supports(
GeneratorSupport
support);
compmod\system\codedom\compiler\ICodeGenerator.cs (1)
55
bool Supports(
GeneratorSupport
supports);
System.Runtime.Serialization (6)
System\Runtime\Serialization\CodeExporter.cs (6)
168
get { return (CodeProvider == null) ? true : CodeProvider.Supports(
GeneratorSupport
.DeclareEvents); }
176
get { return (CodeProvider == null) ? true : CodeProvider.Supports(
GeneratorSupport
.DeclareValueTypes); }
184
get { return (CodeProvider == null) ? true : CodeProvider.Supports(
GeneratorSupport
.GenericTypeReference); }
192
get { return (CodeProvider == null) ? true : CodeProvider.Supports(
GeneratorSupport
.AssemblyAttributes); }
200
get { return (CodeProvider == null) ? true : CodeProvider.Supports(
GeneratorSupport
.PartialTypes); }
208
get { return (CodeProvider == null) ? true : CodeProvider.Supports(
GeneratorSupport
.NestedTypes); }
System.Web (1)
Compilation\BaseTemplateCodeDomTreeGenerator.cs (1)
1789
_codeDomProvider.Supports(
GeneratorSupport
.Win32Resources);
System.Web.Services (14)
System\Web\Services\Description\HttpProtocolImporter.cs (4)
173
ServiceImporter.CodeGenerator.Supports(
GeneratorSupport
.DeclareEvents) &&
174
ServiceImporter.CodeGenerator.Supports(
GeneratorSupport
.DeclareDelegates);
272
ServiceImporter.CodeGenerator.Supports(
GeneratorSupport
.PartialTypes)));
357
ServiceImporter.CodeGenerator.Supports(
GeneratorSupport
.PartialTypes));
System\Web\Services\Description\MimeTextImporter.cs (1)
59
ImportContext.ServiceImporter.CodeGenerator.Supports(
GeneratorSupport
.PartialTypes));
System\Web\Services\Description\ProtocolImporter.cs (2)
429
ServiceImporter.CodeGenerator.Supports(
GeneratorSupport
.DeclareEvents) &&
430
ServiceImporter.CodeGenerator.Supports(
GeneratorSupport
.DeclareDelegates);
System\Web\Services\Description\SoapProtocolImporter.cs (7)
440
ServiceImporter.CodeGenerator.Supports(
GeneratorSupport
.PartialTypes));
735
if ((param.IsOut || param.IsByRef) && !ServiceImporter.CodeGenerator.Supports(
GeneratorSupport
.ReferenceParameters)) {
796
if (paramsMetadata[j].Count > 0 && !ServiceImporter.CodeGenerator.Supports(
GeneratorSupport
.ParameterAttributes)) {
824
if (mainCodeMethod.ReturnTypeCustomAttributes.Count != 0 && !ServiceImporter.CodeGenerator.Supports(
GeneratorSupport
.ReturnTypeAttributes)) {
835
ServiceImporter.CodeGenerator.Supports(
GeneratorSupport
.DeclareEvents) &&
836
ServiceImporter.CodeGenerator.Supports(
GeneratorSupport
.DeclareDelegates);
957
ExtraCodeClasses.Add(WebCodeGenerator.CreateArgsClass(delegateInfo.handlerArgs, asyncReturnTypes, asyncReturnNames, ServiceImporter.CodeGenerator.Supports(
GeneratorSupport
.PartialTypes)));
System.Xml (4)
System\Xml\Serialization\Mappings.cs (1)
882
if (IsNeedNullable && codeProvider.Supports(
GeneratorSupport
.GenericTypeReference)) {
System\Xml\Serialization\SoapCodeExporter.cs (1)
132
codeClass.IsPartial = CodeProvider.Supports(
GeneratorSupport
.PartialTypes);
System\Xml\Serialization\XmlCodeExporter.cs (2)
498
codeClass.IsPartial = CodeProvider.Supports(
GeneratorSupport
.PartialTypes);
781
if (isNullable != null && (bool)isNullable && typeDesc.IsValueType && !typeDesc.IsMappedType && CodeProvider.Supports(
GeneratorSupport
.GenericTypeReference)) {