2 writes to m_sourceLocation
System.Data.Entity (2)
System\Data\Mapping\StorageMappingItemLoader.cs (2)
108
this.
m_sourceLocation
= fileName;
112
this.
m_sourceLocation
= null;
155 references to m_sourceLocation
System.Data.Entity (155)
System\Data\Mapping\StorageMappingItemLoader.cs (155)
219
, (int)StorageMappingErrorCode.XmlSchemaParsingError, EdmSchemaErrorSeverity.Error,
m_sourceLocation
, xmlException.LineNumber, xmlException.LinePosition);
239
m_sourceLocation
,
343
m_sourceLocation
, navLineInfo, m_parsingErrors);
355
StorageMappingErrorCode.AlreadyMappedStorageEntityContainer,
m_sourceLocation
, navLineInfo, m_parsingErrors);
364
entityContainerName, StorageMappingErrorCode.InvalidEntityContainer,
m_sourceLocation
,
372
StorageMappingErrorCode.InvalidEntityContainer,
m_sourceLocation
, navLineInfo, m_parsingErrors);
430
StorageMappingErrorCode.SetMappingExpected,
m_sourceLocation
, xmlLineInfoNav, m_parsingErrors);
441
this.
m_sourceLocation
, xmlLineInfoNav, m_parsingErrors);
451
entityContainerMapping.SourceLocation =
m_sourceLocation
;
522
m_sourceLocation
,
539
m_sourceLocation
,
598
m_sourceLocation
, (IXmlLineInfo)nav, m_parsingErrors);
669
StorageMappingErrorCode.MissingSetClosureInModificationFunctionMapping,
m_sourceLocation
, (IXmlLineInfo)nav
776
StorageMappingErrorCode.MissingSetClosureInQueryViews,
m_sourceLocation
, (IXmlLineInfo)nav
816
StorageMappingErrorCode.InvalidEntitySet,
m_sourceLocation
, navLineInfo, m_parsingErrors);
856
StorageMappingErrorCode.TableNameAttributeWithQueryView,
m_sourceLocation
, navLineInfo, m_parsingErrors);
870
StorageMappingErrorCode.InvalidContent,
m_sourceLocation
, navLineInfo, m_parsingErrors);
886
StorageMappingErrorCode.EmptySetMapping,
m_sourceLocation
, navLineInfo, m_parsingErrors);
919
StorageMappingErrorCode.MissingModificationFunctionMappingForEntityType,
m_sourceLocation
, (IXmlLineInfo)nav
952
StorageMappingErrorCode.InvalidEntityType,
m_sourceLocation
, xmlLineInfoNav, m_parsingErrors);
971
StorageMappingErrorCode.InvalidEntityType,
m_sourceLocation
, xmlLineInfoNav, m_parsingErrors);
980
StorageMappingErrorCode.InvalidEntityType,
m_sourceLocation
, xmlLineInfoNav, m_parsingErrors);
995
StorageMappingErrorCode.MappingOfAbstractType,
m_sourceLocation
, xmlLineInfoNav, m_parsingErrors);
1002
StorageMappingErrorCode.MappingOfAbstractType,
m_sourceLocation
, xmlLineInfoNav, m_parsingErrors);
1077
StorageMappingErrorCode.TableMappingFragmentExpected,
m_sourceLocation
, xmlLineInfoNav
1087
StorageMappingErrorCode.DistinctFragmentInReadWriteContainer,
m_sourceLocation
, xmlLineInfoNav, m_parsingErrors);
1107
m_sourceLocation
, xmlLineInfoNav
1114
StorageMappingErrorCode.DistinctFragmentInReadWriteContainer,
m_sourceLocation
, xmlLineInfoNav, m_parsingErrors);
1147
m_sourceLocation
, xmlLineInfoNav, m_parsingErrors);
1155
StorageMappingErrorCode.MappingOfAbstractType,
m_sourceLocation
, xmlLineInfoNav, m_parsingErrors);
1165
entityType.Name, StorageMappingErrorCode.RedundantEntityTypeMappingInModificationFunctionMapping,
m_sourceLocation
, xmlLineInfoNav
1230
StorageMappingErrorCode.InvalidModificationFunctionMappingMultipleEndsOfAssociationMapped,
m_sourceLocation
, xmlLineInfoNav, m_parsingErrors);
1271
m_sourceLocation
, (IXmlLineInfo)nav, m_parsingErrors);
1279
m_sourceLocation
, (IXmlLineInfo)nav, m_parsingErrors);
1293
m_sourceLocation
, (IXmlLineInfo)nav, m_parsingErrors);
1327
StorageMappingErrorCode.TypeNameContainsMultipleTypesForQueryView,
m_sourceLocation
, (IXmlLineInfo)nav, m_parsingErrors);
1335
StorageMappingErrorCode.IsTypeOfQueryViewForBaseType,
m_sourceLocation
, (IXmlLineInfo)nav, m_parsingErrors);
1345
m_sourceLocation
, (IXmlLineInfo)nav, m_parsingErrors);
1352
m_sourceLocation
, (IXmlLineInfo)nav, m_parsingErrors);
1371
(int)StorageMappingErrorCode.QueryViewExistsForEntitySetAndType, EdmSchemaErrorSeverity.Error,
m_sourceLocation
,
1379
(int)StorageMappingErrorCode.QueryViewExistsForEntitySetAndType, EdmSchemaErrorSeverity.Error,
m_sourceLocation
,
1417
StorageMappingErrorCode.InvalidAssociationSet,
m_sourceLocation
, navLineInfo, m_parsingErrors);
1429
StorageMappingErrorCode.InvalidAssociationSet,
m_sourceLocation
, navLineInfo, m_parsingErrors);
1436
StorageMappingErrorCode.InvalidAssociationSet,
m_sourceLocation
, navLineInfo, m_parsingErrors);
1446
StorageMappingErrorCode.DuplicateSetMapping,
m_sourceLocation
, navLineInfo, m_parsingErrors);
1461
StorageMappingErrorCode.EmptySetMapping,
m_sourceLocation
, navLineInfo, m_parsingErrors);
1473
StorageMappingErrorCode.TableNameAttributeWithQueryView,
m_sourceLocation
, navLineInfo, m_parsingErrors);
1496
StorageMappingErrorCode.InvalidAssociationType,
m_sourceLocation
, navLineInfo, m_parsingErrors);
1505
StorageMappingErrorCode.InvalidContent,
m_sourceLocation
, navLineInfo, m_parsingErrors);
1545
m_sourceLocation
, lineInfo, m_parsingErrors);
1552
m_sourceLocation
, lineInfo, m_parsingErrors);
1580
StorageMappingErrorCode.FunctionResultMappingCountMismatch,
m_sourceLocation
, lineInfo, m_parsingErrors);
1598
StorageMappingErrorCode.MappingFunctionImportTVFExpected,
m_sourceLocation
, lineInfo, m_parsingErrors);
1661
resultMapping.ValidateTypeConditions(/*validateAmbiguity: */false, m_parsingErrors,
m_sourceLocation
);
1673
functionImport.Identity, StorageMappingErrorCode.MappingOfAbstractType,
m_sourceLocation
, lineInfo, m_parsingErrors);
1696
m_sourceLocation
, xmlLineInfoNav, m_parsingErrors);
1703
m_sourceLocation
, xmlLineInfoNav, m_parsingErrors);
1737
m_sourceLocation
, xmlLineInfoNav, m_parsingErrors);
1747
m_sourceLocation
, xmlLineInfoNav, m_parsingErrors);
1765
m_sourceLocation
, xmlLineInfoNav, m_parsingErrors);
1774
m_sourceLocation
, xmlLineInfoNav, m_parsingErrors);
1791
m_sourceLocation
, xmlLineInfoNav, m_parsingErrors);
1814
m_sourceLocation
, xmlLineInfoNav, m_parsingErrors);
1827
m_sourceLocation
, xmlLineInfoNav, m_parsingErrors);
1860
m_sourceLocation
, functionImportMappingLineInfo, m_parsingErrors);
1880
m_sourceLocation
, functionImportMappingLineInfo, m_parsingErrors);
1900
m_sourceLocation
, functionImportMappingLineInfo, m_parsingErrors);
1945
StorageMappingErrorCode.InvalidComplexType,
m_sourceLocation
, xmlLineInfoNav, m_parsingErrors);
1954
StorageMappingErrorCode.InvalidComplexType,
m_sourceLocation
, xmlLineInfoNav, m_parsingErrors);
2037
m_sourceLocation
, lineInfo, m_parsingErrors);
2060
m_sourceLocation
, lineInfo, m_parsingErrors);
2069
m_sourceLocation
, lineInfo, m_parsingErrors);
2100
StorageMappingErrorCode.MappingOfAbstractType,
m_sourceLocation
, lineInfo, m_parsingErrors);
2131
if (!functionImportKB.ValidateTypeConditions(/*validateAmbiguity: */true, m_parsingErrors,
m_sourceLocation
))
2162
StorageMappingErrorCode.MappingFunctionImportCannotInferTargetFunctionKeys,
m_sourceLocation
, lineInfo, m_parsingErrors);
2191
m_sourceLocation
,
2273
StorageMappingErrorCode.MappingFunctionImportScalarMappingToMulticolumnTVF,
m_sourceLocation
, lineInfo, m_parsingErrors);
2286
StorageMappingErrorCode.MappingFunctionImportScalarMappingTypeMismatch,
m_sourceLocation
, lineInfo, m_parsingErrors);
2296
m_sourceLocation
,
2328
StorageMappingErrorCode.ConditionError,
m_sourceLocation
, lineInfo, m_parsingErrors);
2333
StorageMappingErrorCode.ConditionError,
m_sourceLocation
, lineInfo, m_parsingErrors);
2404
m_sourceLocation
, condition.LineInfo, m_parsingErrors);
2411
m_sourceLocation
, condition.LineInfo, m_parsingErrors);
2427
m_sourceLocation
, condition.LineInfo, m_parsingErrors);
2460
m_sourceLocation
, navLineInfo.LineNumber, navLineInfo.LinePosition);
2497
m_sourceLocation
, columnMappingLineInfo.LineNumber, columnMappingLineInfo.LinePosition);
2508
m_sourceLocation
, columnMappingLineInfo, m_parsingErrors);
2516
m_sourceLocation
, columnMappingLineInfo.LineNumber, columnMappingLineInfo.LinePosition);
2555
StorageMappingErrorCode.InvalidAssociationType,
m_sourceLocation
, navLineInfo, m_parsingErrors);
2565
StorageMappingErrorCode.DuplicateTypeMapping,
m_sourceLocation
, navLineInfo, m_parsingErrors);
2577
m_sourceLocation
, navLineInfo, m_parsingErrors);
2645
StorageMappingErrorCode.PropertyMapsWithQueryView,
m_sourceLocation
, navLineInfo, m_parsingErrors);
2656
StorageMappingErrorCode.InvalidTable,
m_sourceLocation
, navLineInfo, m_parsingErrors);
2709
m_sourceLocation
, navLineInfo, m_parsingErrors);
2715
StorageMappingErrorCode.InvalidContent,
m_sourceLocation
, navLineInfo, m_parsingErrors);
2751
StorageMappingErrorCode.InvalidTable,
m_sourceLocation
, navLineInfo, m_parsingErrors);
2773
StorageMappingErrorCode.PropertyMapsWithQueryView,
m_sourceLocation
, navLineInfo, m_parsingErrors);
2784
StorageMappingErrorCode.InvalidEdmMember,
m_sourceLocation
, navLineInfo, m_parsingErrors);
2794
StorageMappingErrorCode.PropertyMapsWithQueryView,
m_sourceLocation
, navLineInfo, m_parsingErrors);
2807
m_sourceLocation
, navLineInfo, m_parsingErrors);
2817
StorageMappingErrorCode.InvalidContent,
m_sourceLocation
, navLineInfo, m_parsingErrors);
2863
StorageMappingErrorCode.InvalidEdmMember,
m_sourceLocation
, xmlLineInfoNav, m_parsingErrors);
2875
StorageMappingErrorCode.InvalidStorageMember,
m_sourceLocation
, xmlLineInfoNav, m_parsingErrors);
2890
m_sourceLocation
,
2932
StorageMappingErrorCode.InvalidEdmMember,
m_sourceLocation
, navLineInfo, m_parsingErrors);
2939
StorageMappingErrorCode.InvalidEdmMember,
m_sourceLocation
, navLineInfo, m_parsingErrors);
2959
StorageMappingErrorCode.InvalidEdmMember,
m_sourceLocation
, navLineInfo, m_parsingErrors);
2967
StorageMappingErrorCode.InvalidComplexType,
m_sourceLocation
, navLineInfo, m_parsingErrors);
3056
StorageMappingErrorCode.InvalidComplexType,
m_sourceLocation
, (IXmlLineInfo)nav, m_parsingErrors);
3108
m_sourceLocation
, (IXmlLineInfo)nav, m_parsingErrors);
3157
StorageMappingErrorCode.InvalidEdmMember,
m_sourceLocation
, navLineInfo, m_parsingErrors);
3193
StorageMappingErrorCode.ConditionError,
m_sourceLocation
, navLineInfo, m_parsingErrors);
3199
StorageMappingErrorCode.ConditionError,
m_sourceLocation
, navLineInfo, m_parsingErrors);
3228
StorageMappingErrorCode.ConditionError,
m_sourceLocation
, navLineInfo, m_parsingErrors);
3251
m_sourceLocation
, navLineInfo, m_parsingErrors);
3268
m_sourceLocation
, navLineInfo, m_parsingErrors);
3273
if(!StorageMappingItemLoader.TryGetTypedAttributeValue(nav.Clone(), StorageMslConstructs.ConditionValueAttribute, clrMemberType,
m_sourceLocation
, m_parsingErrors, out value))
3281
value = StorageMappingItemLoader.GetEnumAttributeValue(nav.Clone(), StorageMslConstructs.ConditionValueAttribute, (EnumType)edmType,
m_sourceLocation
, m_parsingErrors);
3288
StorageMappingErrorCode.ConditionError,
m_sourceLocation
, navLineInfo, m_parsingErrors);
3296
StorageMappingErrorCode.ConditionError,
m_sourceLocation
, navLineInfo, m_parsingErrors);
3302
StorageMappingErrorCode.ConditionError,
m_sourceLocation
, navLineInfo, m_parsingErrors);
3316
StorageMappingErrorCode.ConditionError,
m_sourceLocation
, navLineInfo, m_parsingErrors);
3612
columnMember, lineInfo,
m_sourceLocation
, m_parsingErrors, StoreItemCollection);
3622
m_sourceLocation
, lineInfo.LineNumber,
3645
m_sourceLocation
,
3656
m_sourceLocation
, lineInfo.LineNumber,
3841
StorageMappingErrorCode.InvalidEdmMember, m_parentLoader.
m_sourceLocation
,
3868
m_parentLoader.
m_sourceLocation
, xmlLineInfoNav,
3898
m_parentLoader.
m_sourceLocation
, (IXmlLineInfo)nav,
4015
m_parentLoader.
m_sourceLocation
, xmlLineInfoNav,
4029
m_parentLoader.
m_sourceLocation
, xmlLineInfoNav, m_parentLoader.m_parsingErrors);
4041
m_parentLoader.
m_sourceLocation
, xmlLineInfoNav, m_parentLoader.m_parsingErrors);
4051
m_parentLoader.
m_sourceLocation
, xmlLineInfoNav, m_parentLoader.m_parsingErrors);
4062
m_parentLoader.
m_sourceLocation
, xmlLineInfoNav, m_parentLoader.m_parsingErrors);
4073
toRole, StorageMappingErrorCode.InvalidModificationFunctionMappingAssociationEndForeignKey, m_parentLoader.
m_sourceLocation
,
4104
m_parentLoader.
m_sourceLocation
, (IXmlLineInfo)nav, m_parentLoader.m_parsingErrors);
4131
m_parentLoader.
m_sourceLocation
, xmlLineInfoNav, m_parentLoader.m_parsingErrors);
4143
m_parentLoader.
m_sourceLocation
, xmlLineInfoNav
4154
m_parentLoader.
m_sourceLocation
, xmlLineInfoNav
4188
StorageMappingErrorCode.MissingVersionInModificationFunctionMapping, m_parentLoader.
m_sourceLocation
,
4205
m_parentLoader.
m_sourceLocation
, xmlLineInfoNav
4215
m_parentLoader.
m_sourceLocation
, xmlLineInfoNav
4230
m_parentLoader.
m_sourceLocation
, xmlLineInfoNav
4245
m_parentLoader.
m_sourceLocation
, xmlLineInfoNav, m_parentLoader.m_parsingErrors);
4259
m_parentLoader.
m_sourceLocation
, xmlLineInfoNav, m_parentLoader.m_parsingErrors);
4270
m_parentLoader.
m_sourceLocation
, xmlLineInfoNav, m_parentLoader.m_parsingErrors);
4278
m_parentLoader.
m_sourceLocation
,
4296
m_parentLoader.
m_sourceLocation
,
4357
StorageMappingErrorCode.InvalidModificationFunctionMappingUnknownFunction, m_parentLoader.
m_sourceLocation
,
4365
StorageMappingErrorCode.InvalidModificationFunctionMappingAmbiguousFunction, m_parentLoader.
m_sourceLocation
,
4376
StorageMappingErrorCode.InvalidModificationFunctionMappingNotValidFunction, m_parentLoader.
m_sourceLocation
,
4391
m_parentLoader.
m_sourceLocation
, xmlLineInfoNav, m_parentLoader.m_parsingErrors);
4400
m_parentLoader.
m_sourceLocation
, xmlLineInfoNav, m_parentLoader.m_parsingErrors);
4411
m_parentLoader.
m_sourceLocation
, xmlLineInfoNav, m_parentLoader.m_parsingErrors);
4424
m_parentLoader.
m_sourceLocation
, xmlLineInfoNav, m_parentLoader.m_parsingErrors);