35 references to ComReferenceTypes
Microsoft.Build.Tasks.Core (35)
ComReferenceTypes.cs (4)
25return string.Equals(refType, ComReferenceTypes.tlbimp, StringComparison.OrdinalIgnoreCase); 33return string.Equals(refType, ComReferenceTypes.aximp, StringComparison.OrdinalIgnoreCase); 41return string.Equals(refType, ComReferenceTypes.primary, StringComparison.OrdinalIgnoreCase); 49return string.Equals(refType, ComReferenceTypes.primaryortlbimp, StringComparison.OrdinalIgnoreCase);
ResolveComReference.cs (30)
374if ((pass == 0 && ComReferenceTypes.IsPia(wrapperType)) || 375(pass == 1 && ComReferenceTypes.IsTlbImp(wrapperType)) || 376(pass == 2 && ComReferenceTypes.IsPiaOrTlbImp(wrapperType)) || 377(pass == 3 && ComReferenceTypes.IsAxImp(wrapperType))) 782if (ComReferenceTypes.IsAxImp(axRefInfo.taskItem.GetMetadata(ComReferenceItemMetadataNames.wrapperTool))) 790if (ComReferenceTypes.IsTlbImp(tlbWrapperType) || ComReferenceTypes.IsPia(tlbWrapperType) || ComReferenceTypes.IsPiaOrTlbImp(tlbWrapperType)) 828newTlbRef.taskItem.SetMetadata(ComReferenceItemMetadataNames.wrapperTool, ComReferenceTypes.primaryortlbimp); 950if ((pass == 0 && (ComReferenceTypes.IsPia(neededRefType) || neededRefType == null)) || 951(pass == 1 && (ComReferenceTypes.IsTlbImp(neededRefType) || neededRefType == null)) || 952(pass == 2 && (ComReferenceTypes.IsAxImp(neededRefType)))) 959if ((pass == 0 && ComReferenceTypes.IsPia(wrapperType)) || 960(pass == 1 && ComReferenceTypes.IsTlbImp(wrapperType)) || 961(pass == 2 && ComReferenceTypes.IsAxImp(wrapperType))) 1014if (ComReferenceTypes.IsPia(wrapperType)) 1019else if (ComReferenceTypes.IsTlbImp(wrapperType)) 1024else if (ComReferenceTypes.IsAxImp(wrapperType)) 1029else if (wrapperType == null || ComReferenceTypes.IsPiaOrTlbImp(wrapperType)) 1090if (wrapperType == null || ComReferenceTypes.IsPiaOrTlbImp(wrapperType)) 1095wrapperType = ComReferenceTypes.primary; 1099wrapperType = ComReferenceTypes.tlbimp; 1332if (ComReferenceTypes.IsTlbImp(projectRefInfo.taskItem.GetMetadata(ComReferenceItemMetadataNames.wrapperTool))) 1486if ((!ComReferenceTypes.IsAxImp(wrapperTool)) && 1487(!ComReferenceTypes.IsTlbImp(wrapperTool)) && 1488(!ComReferenceTypes.IsPia(wrapperTool))) 1524reference.SetMetadata(ComReferenceItemMetadataNames.wrapperTool, ComReferenceTypes.tlbimp); 1538reference.SetMetadata(ComReferenceItemMetadataNames.wrapperTool, ComReferenceTypes.tlbimp); 1560if ((pass == 0 && ComReferenceTypes.IsAxImp(wrapperType)) || 1561(pass == 1 && ComReferenceTypes.IsTlbImp(wrapperType)))
ResolveNativeReference.cs (1)
323itemTypeLib.SetMetadata(ComReferenceItemMetadataNames.wrapperTool, ComReferenceTypes.tlbimp);