30 instantiations of ProxyGenerationError
System.Web.Extensions (30)
Compilation\WCFModel\MapFileLoader.cs (1)
76
new
ProxyGenerationError
(ProxyGenerationError.GeneratorState.LoadMetadata,
Compilation\WCFModel\SchemaMerger.cs (2)
161
new
ProxyGenerationError
(
175
new
ProxyGenerationError
(
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (23)
447
proxyGenerationErrors.Add(new
ProxyGenerationError
(
564
new
ProxyGenerationError
(
580
new
ProxyGenerationError
(
593
importErrors.Add(new
ProxyGenerationError
(
694
proxyGenerationErrors.Add(new
ProxyGenerationError
(error));
878
new
ProxyGenerationError
(
900
new
ProxyGenerationError
(
912
importErrors.Add(new
ProxyGenerationError
(
931
importErrors.Add(new
ProxyGenerationError
(
942
importErrors.Add(new
ProxyGenerationError
(
1137
importErrors.Add(new
ProxyGenerationError
(
1152
importErrors.Add(new
ProxyGenerationError
(
1171
importErrors.Add(new
ProxyGenerationError
(
1202
new
ProxyGenerationError
(
1214
importErrors.Add(new
ProxyGenerationError
(
1464
generationError = new
ProxyGenerationError
(ProxyGenerationError.GeneratorState.LoadMetadata, metadataItem.FileName, (XmlSchemaException)ex);
1468
generationError = new
ProxyGenerationError
(ProxyGenerationError.GeneratorState.LoadMetadata, metadataItem.FileName, (XmlException)ex);
1475
generationError = new
ProxyGenerationError
(ProxyGenerationError.GeneratorState.LoadMetadata, metadataItem.FileName, schemaException);
1482
generationError = new
ProxyGenerationError
(ProxyGenerationError.GeneratorState.LoadMetadata, metadataItem.FileName, xmlException);
1486
generationError = new
ProxyGenerationError
(ProxyGenerationError.GeneratorState.LoadMetadata, metadataItem.FileName, (InvalidOperationException)ex);
1492
generationError = new
ProxyGenerationError
(ProxyGenerationError.GeneratorState.LoadMetadata, metadataItem.FileName, ex);
1632
generationErrors.Add(new
ProxyGenerationError
(ProxyGenerationError.GeneratorState.GenerateCode, wsdlServiceDescription.RetrievalUrl, ex));
1647
generationErrors.Add(new
ProxyGenerationError
(error));
Compilation\WCFModel\WsdlInspector.cs (4)
303
importErrors.Add(new
ProxyGenerationError
(
323
importErrors.Add(new
ProxyGenerationError
(
343
importErrors.Add(new
ProxyGenerationError
(
363
importErrors.Add(new
ProxyGenerationError
(
66 references to ProxyGenerationError
System.Web.Extensions (66)
Compilation\WCFBuildProvider.cs (4)
257
foreach (
ProxyGenerationError
generationError in errors)
265
generationError.ErrorGeneratorState != WCFModel.
ProxyGenerationError
.GeneratorState.GenerateCode)
281
foreach (
ProxyGenerationError
generationError in errors)
300
private static string ConvertToBuildProviderErrorMessage(
ProxyGenerationError
generationError)
Compilation\WCFModel\MapFile.cs (4)
25
private List<
ProxyGenerationError
> _loadErrors;
30
public IEnumerable<
ProxyGenerationError
> LoadErrors
34
return _loadErrors != null ? _loadErrors : Enumerable.Empty<
ProxyGenerationError
>();
38
_loadErrors = new List<
ProxyGenerationError
>(value);
Compilation\WCFModel\MapFileLoader.cs (3)
69
var proxyGenerationErrors = new List<
ProxyGenerationError
>();
76
new ProxyGenerationError(
ProxyGenerationError
.GeneratorState.LoadMetadata,
349
private void SetMapFileLoadErrors(MapFile mapFile, IEnumerable<
ProxyGenerationError
> proxyGenerationErrors)
Compilation\WCFModel\SchemaMerger.cs (4)
69
internal static void MergeSchemas(IEnumerable<XmlSchema> schemaList, IList<
ProxyGenerationError
> importErrors, out IEnumerable<XmlSchema> duplicatedSchemas)
136
IList<
ProxyGenerationError
> importErrors)
162
ProxyGenerationError
.GeneratorState.MergeMetadata,
176
ProxyGenerationError
.GeneratorState.MergeMetadata,
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (44)
103
private IEnumerable<
ProxyGenerationError
> proxyGenerationErrors;
108
private IList<
ProxyGenerationError
> importErrors;
164
public IEnumerable<
ProxyGenerationError
> ProxyGenerationErrors
178
public IEnumerable<
ProxyGenerationError
> ImportErrors
287
List<
ProxyGenerationError
> importErrors,
295
IEnumerable<
ProxyGenerationError
> proxyGenerationErrors)
374
List<
ProxyGenerationError
> importErrors = new List<
ProxyGenerationError
>();
375
List<
ProxyGenerationError
> proxyGenerationErrors = new List<
ProxyGenerationError
>();
448
ProxyGenerationError
.GeneratorState.GenerateCode,
505
IList<
ProxyGenerationError
> importErrors)
565
ProxyGenerationError
.GeneratorState.GenerateCode,
581
ProxyGenerationError
.GeneratorState.GenerateCode,
594
ProxyGenerationError
.GeneratorState.GenerateCode,
630
IList<
ProxyGenerationError
> proxyGenerationErrors,
773
IList<
ProxyGenerationError
> importErrors)
833
ClientOptions proxyOptions, IContractGeneratorReferenceTypeLoader typeLoader, int targetFrameworkVersion, IList<
ProxyGenerationError
> importErrors)
879
ProxyGenerationError
.GeneratorState.GenerateCode,
901
ProxyGenerationError
.GeneratorState.GenerateCode,
913
ProxyGenerationError
.GeneratorState.GenerateCode,
932
ProxyGenerationError
.GeneratorState.GenerateCode,
943
ProxyGenerationError
.GeneratorState.GenerateCode,
1122
private static IEnumerable<Assembly> LoadReferenedAssemblies(ClientOptions proxyOptions, IContractGeneratorReferenceTypeLoader typeLoader, IList<
ProxyGenerationError
> importErrors)
1138
ProxyGenerationError
.GeneratorState.GenerateCode,
1153
ProxyGenerationError
.GeneratorState.GenerateCode,
1172
ProxyGenerationError
.GeneratorState.GenerateCode,
1189
protected static IEnumerable<Type> LoadSharedCollectionTypes(ClientOptions proxyOptions, IContractGeneratorReferenceTypeLoader typeLoader, IList<
ProxyGenerationError
> importErrors)
1203
ProxyGenerationError
.GeneratorState.GenerateCode,
1215
ProxyGenerationError
.GeneratorState.GenerateCode,
1244
IList<
ProxyGenerationError
> importErrors,
1425
protected static List<MetadataSection> CollectMetadataDocuments(IEnumerable<MetadataFile> metadataList, IList<
ProxyGenerationError
> importErrors)
1459
internal static
ProxyGenerationError
ConvertMetadataErrorToProxyGenerationError(MetadataFile metadataItem, Exception ex)
1461
ProxyGenerationError
generationError = null;
1464
generationError = new ProxyGenerationError(
ProxyGenerationError
.GeneratorState.LoadMetadata, metadataItem.FileName, (XmlSchemaException)ex);
1468
generationError = new ProxyGenerationError(
ProxyGenerationError
.GeneratorState.LoadMetadata, metadataItem.FileName, (XmlException)ex);
1475
generationError = new ProxyGenerationError(
ProxyGenerationError
.GeneratorState.LoadMetadata, metadataItem.FileName, schemaException);
1482
generationError = new ProxyGenerationError(
ProxyGenerationError
.GeneratorState.LoadMetadata, metadataItem.FileName, xmlException);
1486
generationError = new ProxyGenerationError(
ProxyGenerationError
.GeneratorState.LoadMetadata, metadataItem.FileName, (InvalidOperationException)ex);
1492
generationError = new ProxyGenerationError(
ProxyGenerationError
.GeneratorState.LoadMetadata, metadataItem.FileName, ex);
1501
private static void RemoveDuplicatedSchemaItems(List<MetadataSection> metadataCollection, IList<
ProxyGenerationError
> importErrors)
1556
private static void CheckDuplicatedWsdlItems(IList<MetadataSection> metadataCollection, IList<
ProxyGenerationError
> importErrors)
1585
IList<
ProxyGenerationError
> generationErrors,
1632
generationErrors.Add(new ProxyGenerationError(
ProxyGenerationError
.GeneratorState.GenerateCode, wsdlServiceDescription.RetrievalUrl, ex));
Compilation\WCFModel\WsdlInspector.cs (7)
32
private IList<
ProxyGenerationError
> importErrors;
40
private WsdlInspector(IList<
ProxyGenerationError
> importErrors)
53
internal static void CheckDuplicatedWsdlItems(ICollection<ServiceDescription> wsdlFiles, IList<
ProxyGenerationError
> importErrors)
304
ProxyGenerationError
.GeneratorState.MergeMetadata,
324
ProxyGenerationError
.GeneratorState.MergeMetadata,
344
ProxyGenerationError
.GeneratorState.MergeMetadata,
364
ProxyGenerationError
.GeneratorState.MergeMetadata,