86 references to CodeGenerationOptions
System.Data (4)
fx\src\data\System\Data\DataSet.cs (2)
3494
public override string ImportSchemaType(string name, string schemaNamespace, XmlSchemaObject context, XmlSchemas schemas, XmlSchemaImporter importer, CodeCompileUnit compileUnit, CodeNamespace mainNamespace,
CodeGenerationOptions
options, CodeDomProvider codeProvider) {
3509
public override string ImportSchemaType(XmlSchemaType type, XmlSchemaObject context, XmlSchemas schemas, XmlSchemaImporter importer, CodeCompileUnit compileUnit, CodeNamespace mainNamespace,
CodeGenerationOptions
options, CodeDomProvider codeProvider) {
fx\src\data\System\Data\SQLTypes\SqlTypesSchemaImporter.cs (2)
75
CodeGenerationOptions
options,
94
CodeGenerationOptions
options,
System.ServiceModel (3)
System\ServiceModel\Channels\XmlSerializerImportOptions.cs (3)
28
static
CodeGenerationOptions
defaultCodeGenerationOptions =
CodeGenerationOptions
.GenerateProperties |
CodeGenerationOptions
.GenerateOrder;
System.Web (6)
Compilation\WebReferencesBuildProvider.cs (3)
135
options.CodeGenerationOptions =
CodeGenerationOptions
.GenerateProperties |
CodeGenerationOptions
.GenerateNewAsync |
CodeGenerationOptions
.GenerateOldAsync;
Compilation\WsdlBuildProvider.cs (3)
53
importer.CodeGenerationOptions =
CodeGenerationOptions
.GenerateProperties |
54
CodeGenerationOptions
.GenerateNewAsync |
CodeGenerationOptions
.GenerateOldAsync;
System.Web.Extensions (3)
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (3)
717
webReferenceOptions.CodeGenerationOptions = System.Xml.Serialization.
CodeGenerationOptions
.GenerateProperties | System.Xml.Serialization.
CodeGenerationOptions
.GenerateOrder;
721
webReferenceOptions.CodeGenerationOptions |= System.Xml.Serialization.
CodeGenerationOptions
.EnableDataBinding;
System.Web.Services (37)
System\Web\Services\Description\HttpProtocolImporter.cs (2)
171
bool oldAsync = (ServiceImporter.CodeGenerationOptions &
CodeGenerationOptions
.GenerateOldAsync) != 0;
172
bool newAsync = (ServiceImporter.CodeGenerationOptions &
CodeGenerationOptions
.GenerateNewAsync) != 0 &&
System\Web\Services\Description\MimeTextImporter.cs (2)
52
void GenerateCode(MimeTextReturn importedReturn,
CodeGenerationOptions
options) {
56
void GenerateCode(string typeName, MimeTextMatchCollection matches,
CodeGenerationOptions
options) {
System\Web\Services\Description\ProtocolImporter.cs (1)
428
bool newAsync = (ServiceImporter.CodeGenerationOptions &
CodeGenerationOptions
.GenerateNewAsync) != 0 &&
System\Web\Services\Description\ServiceDescriptionImporter.cs (3)
113
CodeGenerationOptions
options =
CodeGenerationOptions
.GenerateOldAsync;
167
public
CodeGenerationOptions
CodeGenerationOptions {
System\Web\Services\Description\SoapProtocolImporter.cs (2)
833
bool oldAsync = (ServiceImporter.CodeGenerationOptions &
CodeGenerationOptions
.GenerateOldAsync) != 0;
834
bool newAsync = (ServiceImporter.CodeGenerationOptions &
CodeGenerationOptions
.GenerateNewAsync) != 0 &&
System\Web\Services\Description\WebCodeGenerator.cs (2)
104
internal static CodeTypeMember AddMember(CodeTypeDeclaration codeClass, string typeName, string memberName, CodeExpression initializer, CodeAttributeDeclarationCollection metadata, CodeFlags flags,
CodeGenerationOptions
options) {
106
bool generateProperty = (options &
CodeGenerationOptions
.GenerateProperties) != 0;
System\Web\Services\Description\WebReferenceOptions.cs (25)
27
CodeGenerationOptions
codeGenerationOptions =
CodeGenerationOptions
.GenerateOldAsync;
37
[DefaultValue(
CodeGenerationOptions
.GenerateOldAsync)]
38
public
CodeGenerationOptions
CodeGenerationOptions {
163
string Write1_CodeGenerationOptions(System.Xml.Serialization.
CodeGenerationOptions
v) {
166
case System.Xml.Serialization.
CodeGenerationOptions
.@GenerateProperties: s = @"properties"; break;
167
case System.Xml.Serialization.
CodeGenerationOptions
.@GenerateNewAsync: s = @"newAsync"; break;
168
case System.Xml.Serialization.
CodeGenerationOptions
.@GenerateOldAsync: s = @"oldAsync"; break;
169
case System.Xml.Serialization.
CodeGenerationOptions
.@GenerateOrder: s = @"order"; break;
170
case System.Xml.Serialization.
CodeGenerationOptions
.@EnableDataBinding: s = @"enableDataBinding"; break;
175
@"enableDataBinding" }, new System.Int64[] { (long)System.Xml.Serialization.
CodeGenerationOptions
.@GenerateProperties,
176
(long)System.Xml.Serialization.
CodeGenerationOptions
.@GenerateNewAsync,
177
(long)System.Xml.Serialization.
CodeGenerationOptions
.@GenerateOldAsync,
178
(long)System.Xml.Serialization.
CodeGenerationOptions
.@GenerateOrder,
179
(long)System.Xml.Serialization.
CodeGenerationOptions
.@EnableDataBinding }, @"System.Xml.Serialization.CodeGenerationOptions"); break;
211
if (((
CodeGenerationOptions
)o.@CodeGenerationOptions) != (
CodeGenerationOptions
.@GenerateOldAsync)) {
212
WriteElementString(@"codeGenerationOptions", @"http://microsoft.com/webReference/", Write1_CodeGenerationOptions(((
CodeGenerationOptions
)o.@CodeGenerationOptions)));
251
h.Add(@"properties", (long)System.Xml.Serialization.
CodeGenerationOptions
.@GenerateProperties);
252
h.Add(@"newAsync", (long)System.Xml.Serialization.
CodeGenerationOptions
.@GenerateNewAsync);
253
h.Add(@"oldAsync", (long)System.Xml.Serialization.
CodeGenerationOptions
.@GenerateOldAsync);
254
h.Add(@"order", (long)System.Xml.Serialization.
CodeGenerationOptions
.@GenerateOrder);
255
h.Add(@"enableDataBinding", (long)System.Xml.Serialization.
CodeGenerationOptions
.@EnableDataBinding);
262
System.Xml.Serialization.
CodeGenerationOptions
Read1_CodeGenerationOptions(string s) {
263
return (System.Xml.Serialization.
CodeGenerationOptions
)ToEnum(s, CodeGenerationOptionsValues, @"System.Xml.Serialization.CodeGenerationOptions");
System.Xml (33)
System\Xml\Serialization\Advanced\SchemaImporterExtension.cs (3)
26
CodeCompileUnit compileUnit, CodeNamespace mainNamespace,
CodeGenerationOptions
options, CodeDomProvider codeProvider) {
32
CodeCompileUnit compileUnit, CodeNamespace mainNamespace,
CodeGenerationOptions
options, CodeDomProvider codeProvider) {
38
CodeCompileUnit compileUnit, CodeNamespace mainNamespace,
CodeGenerationOptions
options, CodeDomProvider codeProvider) {
System\Xml\Serialization\CodeExporter.cs (4)
36
CodeGenerationOptions
options;
40
internal CodeExporter(CodeNamespace codeNamespace, CodeCompileUnit codeCompileUnit, CodeDomProvider codeProvider,
CodeGenerationOptions
options, Hashtable exportedMappings) {
92
get { return (options &
CodeGenerationOptions
.GenerateProperties) != 0; }
345
get { return (options &
CodeGenerationOptions
.EnableDataBinding) != 0; }
System\Xml\Serialization\SchemaImporter.cs (4)
35
CodeGenerationOptions
options;
44
internal SchemaImporter(XmlSchemas schemas,
CodeGenerationOptions
options, CodeDomProvider codeProvider, ImportContext context) {
134
internal
CodeGenerationOptions
Options {
206
if ((options &
CodeGenerationOptions
.EnableDataBinding) != 0)
System\Xml\Serialization\SoapCodeExporter.cs (6)
33
public SoapCodeExporter(CodeNamespace codeNamespace) : base(codeNamespace, null, null,
CodeGenerationOptions
.GenerateProperties, null) {}
38
public SoapCodeExporter(CodeNamespace codeNamespace, CodeCompileUnit codeCompileUnit) : base(codeNamespace, codeCompileUnit, null,
CodeGenerationOptions
.GenerateProperties, null) {}
44
public SoapCodeExporter(CodeNamespace codeNamespace, CodeCompileUnit codeCompileUnit,
CodeGenerationOptions
options) : base(codeNamespace, codeCompileUnit, null,
CodeGenerationOptions
.GenerateProperties, null) {}
50
public SoapCodeExporter(CodeNamespace codeNamespace, CodeCompileUnit codeCompileUnit,
CodeGenerationOptions
options, Hashtable mappings)
57
public SoapCodeExporter(CodeNamespace codeNamespace, CodeCompileUnit codeCompileUnit, CodeDomProvider codeProvider,
CodeGenerationOptions
options, Hashtable mappings)
System\Xml\Serialization\SoapSchemaImporter.cs (5)
30
public SoapSchemaImporter(XmlSchemas schemas) : base(schemas,
CodeGenerationOptions
.GenerateProperties, null, new ImportContext()) {}
36
public SoapSchemaImporter(XmlSchemas schemas, CodeIdentifiers typeIdentifiers) : base(schemas,
CodeGenerationOptions
.GenerateProperties, null, new ImportContext(typeIdentifiers, false)) {}
42
public SoapSchemaImporter(XmlSchemas schemas, CodeIdentifiers typeIdentifiers,
CodeGenerationOptions
options) : base(schemas, options, null, new ImportContext(typeIdentifiers, false)) {}
48
public SoapSchemaImporter(XmlSchemas schemas,
CodeGenerationOptions
options, ImportContext context) : base(schemas, options, null, context){}
54
public SoapSchemaImporter(XmlSchemas schemas,
CodeGenerationOptions
options, CodeDomProvider codeProvider, ImportContext context) : base(schemas, options, codeProvider, context){}
System\Xml\Serialization\XmlCodeExporter.cs (5)
33
public XmlCodeExporter(CodeNamespace codeNamespace) : base(codeNamespace, null, null,
CodeGenerationOptions
.GenerateProperties, null) {}
39
public XmlCodeExporter(CodeNamespace codeNamespace, CodeCompileUnit codeCompileUnit) : base(codeNamespace, codeCompileUnit, null,
CodeGenerationOptions
.GenerateProperties, null) {}
45
public XmlCodeExporter(CodeNamespace codeNamespace, CodeCompileUnit codeCompileUnit,
CodeGenerationOptions
options)
52
public XmlCodeExporter(CodeNamespace codeNamespace, CodeCompileUnit codeCompileUnit,
CodeGenerationOptions
options, Hashtable mappings)
59
public XmlCodeExporter(CodeNamespace codeNamespace, CodeCompileUnit codeCompileUnit, CodeDomProvider codeProvider,
CodeGenerationOptions
options, Hashtable mappings)
System\Xml\Serialization\XmlSchemaImporter.cs (6)
39
public XmlSchemaImporter(XmlSchemas schemas) : base(schemas,
CodeGenerationOptions
.GenerateProperties, null, new ImportContext()) {}
45
public XmlSchemaImporter(XmlSchemas schemas, CodeIdentifiers typeIdentifiers) : base(schemas,
CodeGenerationOptions
.GenerateProperties, null, new ImportContext(typeIdentifiers, false)) {}
51
public XmlSchemaImporter(XmlSchemas schemas, CodeIdentifiers typeIdentifiers,
CodeGenerationOptions
options) : base(schemas, options, null, new ImportContext(typeIdentifiers, false)) {}
57
public XmlSchemaImporter(XmlSchemas schemas,
CodeGenerationOptions
options, ImportContext context) : base(schemas, options, null, context){}
63
public XmlSchemaImporter(XmlSchemas schemas,
CodeGenerationOptions
options, CodeDomProvider codeProvider, ImportContext context) : base(schemas, options, codeProvider, context){
75
get { return (Options &
CodeGenerationOptions
.GenerateOrder) != 0; }